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.

[SOLVED] UART prints "????" when kept on hold on reset

Status
Not open for further replies.

Raady Here

Full Member level 5
Full Member level 5
Joined
Jun 8, 2013
Messages
242
Helped
26
Reputation
52
Reaction score
26
Trophy points
28
Location
India
Visit site
Activity points
1,571
Hi,

I have configured UART, sending and receiving data is absolutely fine.
But it prints '?' mark continuously (see attachment) if it is kept in
1. 'hold on reset ' condition
2. while dumping the code to processor
3. press reset button

I just want to know is it a common phenomenon or a problem so that corrections can be made with my hardware or software.

MPLAB 8.8/dspic30f5011

Regards,
Raady.

1.jpg
 

Hi,

I think, there is noise in your hardware.
1) check your hardware for any loose connection or dry solder
2) Add some electrolyte filter capacitor between VCC and GND.

Hope this is help you
 

Vcc and GND w.r.t RS232 IC or any thing else ? or where exactly ?

Can we observe that noise through oscilloscope ?
 

I have been using ports for UART and programming chip separately.
 
Last edited:

Hi,

One 100uF/16V electrolyte capacitor connect near RS232 IC and
one 47uF/16 electrolyte capacitor connect near micro. You can also connect one 0.1uF in paraller with 47uF capacitor near micro.

Regards,
 
?'s ascii value is 0x3F that is 0b0011 1111 with start and stop bit 0 1111 1100 1.. so you are getting a square wave on that pin at that time check out for it... Try to embed a parity bit on your communication and see...
 

Hi,

One 100uF/16V electrolyte capacitor connect near RS232 IC and
one 47uF/16 electrolyte capacitor connect near micro. You can also connect one 0.1uF in paraller with 47uF capacitor near micro.

Regards,

Is it possible to measure the noise at the port using an oscilloscope ?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top