Serial string continuity
Andy McLeod
Posts: 40
Consider:
DO
SEROUT 9, 84, [noparse][[/noparse]16,73,1,85,134]
PAUSE 500
LOOP
This command will send the series of numbers to a hyperterminal or similar capture device where they will appear as ASCII characters without interruptions. Looking at it on an oscilloscope, however, shows an issue I've never run into before. There appears to be a bit (or two) inserted between each character other than the start and stop bits after each value. I am assuming these are inherent pauses as the microprocessor readies the next value. Does anyone know how to remove this pause so that the values are sent without any interruptions?
DO
SEROUT 9, 84, [noparse][[/noparse]16,73,1,85,134]
PAUSE 500
LOOP
This command will send the series of numbers to a hyperterminal or similar capture device where they will appear as ASCII characters without interruptions. Looking at it on an oscilloscope, however, shows an issue I've never run into before. There appears to be a bit (or two) inserted between each character other than the start and stop bits after each value. I am assuming these are inherent pauses as the microprocessor readies the next value. Does anyone know how to remove this pause so that the values are sent without any interruptions?
Comments
-Phil
SEROUT 9, 84, [noparse][[/noparse]STR my_data\5]
I know its quicker but I have no idea what you would see on a scope so you may or may not see the gaps between bytes. Worth a try?
I also agree with Mike, when the data starts to get large or the format more complex with a BS2 drop the baudrate.
Jeff T
I tried that also, and it expresses the same limitation. Thanks for your input!
Andy