gsg
Junior Member level 1
Hi all,
I am presently working on DSPIC33 and exploring its serial communication (UART) module. I am trying to send a single letter from PIC to PC at 9600 baud/sec 8-n-1 format.
When I checked output at the DB9 connector pins on oscilloscope it shows a perfect binary output with +10 and -10 volts . But on the Hyperterminal it is reading incorrect values.
When i send 'S' in a continuous loop, sometimes it is read as S (binary value-01010011), sometimes as M(01001101) and sometimes as 5(00110101). These letters have cyclically similar binary values. This means the start and stop of frame is not detected correctly. But I can see the start and stop bits being sent correctly with the oscilloscope.
Are there any settings needed for this? How can I correct this error?
Please help
I am presently working on DSPIC33 and exploring its serial communication (UART) module. I am trying to send a single letter from PIC to PC at 9600 baud/sec 8-n-1 format.
When I checked output at the DB9 connector pins on oscilloscope it shows a perfect binary output with +10 and -10 volts . But on the Hyperterminal it is reading incorrect values.
When i send 'S' in a continuous loop, sometimes it is read as S (binary value-01010011), sometimes as M(01001101) and sometimes as 5(00110101). These letters have cyclically similar binary values. This means the start and stop of frame is not detected correctly. But I can see the start and stop bits being sent correctly with the oscilloscope.
Are there any settings needed for this? How can I correct this error?
Please help