Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

serial communication problem

Status
Not open for further replies.

gsg

Junior Member level 1
Joined
Feb 23, 2010
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,434
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
 

Calculate your baud error first. Determine which has the less error :)
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top