Sal Ammoniac
05-31-2010, 12:39 AM
Has anyone done any characterization of the maximum serial baud rates supported by the FullDuplexSerial object at various Propeller clock rates?
I did a quick analysis of the FullDuplexSerial code and concluded that it would support 9600 baud when running the Propeller at 5MHz (_CLKMODE = XTAL1 + PLL1X, _XINFREQ = 5_000_000).
I have an application running on a Propeller that uses FullDuplexSerial to send data, but not receive anything. After running everything at these rates for several weeks, I've noticed that at random intervals the Propeller starts dropping characters and sending random junk on the serial line. After a period of time that varies from minutes to hours, the serial stream returns to normal. I'm thinking that the serial timing at 9600 baud on a 5MHz Propeller is right on the hairy edge and occasionally drifts out of spec and transmits random crap.
(I'm running the Propeller at 5MHz to conserve power as this application is battery powered.)
I did a quick analysis of the FullDuplexSerial code and concluded that it would support 9600 baud when running the Propeller at 5MHz (_CLKMODE = XTAL1 + PLL1X, _XINFREQ = 5_000_000).
I have an application running on a Propeller that uses FullDuplexSerial to send data, but not receive anything. After running everything at these rates for several weeks, I've noticed that at random intervals the Propeller starts dropping characters and sending random junk on the serial line. After a period of time that varies from minutes to hours, the serial stream returns to normal. I'm thinking that the serial timing at 9600 baud on a 5MHz Propeller is right on the hairy edge and occasionally drifts out of spec and transmits random crap.
(I'm running the Propeller at 5MHz to conserve power as this application is battery powered.)