Serin timeout and clock-speed

Circuit

Senior Member
Is the timeout period (stated in milliseconds) affected by the clock-speed in the manner of pause etc.? I have searched around the manuals etc. for the information but I cannot find it. If I use the form "serin [65535,noack], c.1,2400_8,b1,b2" will I get the same real time timeout as using "serin [65535,noack], c.1,2400_4,b1,b2"; with the clock-speed adjusted accordingly, of course. I am using an 18M2+ chip.
 

Circuit

Senior Member
I thought that might be the case; nuisance! I was hoping for a one minute time-out at 8MHz - now I will have to do a loop. It would be helpful if this was documented clearly under the SERIN reference, or am I missing something that I should have seen? Thanks for the rapid reply and info, though.
 

Technical

Technical Support
Staff member
You could use a setfreq m4 before the serin command and a setfreq m8 again after?
 
Top