UART receive issue

Hello,

I am facing an issue in UART receive. When i enable the receive enable bit in the control register, framming and break error bit interrupt is raised. I clear the error bit in ISR. Then whatever i transmit by my PC (hyperterminal) its not received by UART on the board.

Note: Transmit from board to PC is working fine.

Please suggest a solution of this issue. Thank you!

Regards, Mak

Reply to
mak
Loading thread data ...

On Thu, 12 Mar 2009 06:03:38 -0500, "mak" wrote in comp.arch.embedded:

Suggestion:

Post again and include more details:

What UART? There is more than one.

What microcontroller? There is more than one.

What is the baud rate? There is more than one.

How are you setting the baud rate?

With these details, somebody might actually be able to help you.

--
Jack Klein
Home: http://JK-Technology.Com
 Click to see the full signature
Reply to
Jack Klein

Processor? Extract of source code? Clock frequency and baud rate? Type of interface between RS232 and logic levels?

No details => No help!

--
Ian Malcolm.   London, ENGLAND.  (NEWSGROUP REPLY PREFERRED)
ianm[at]the[dash]malcolms[dot]freeserve[dot]co[dot]uk
 Click to see the full signature
Reply to
IanM

First, check that the UART rx input isn't stuck Low. Then check that the polarity going in isn't reversed. Either condition might cause what you are seeing.

Monte

Reply to
Monte Dalrymple

bit

raised.

Thanks for the reply. I my trying to set baudrate as 115200,parity none, DATA_BIT_8,STOP_BIT_1, no flow control. I have set the UART0 gpios to altc mode as mentioned in the datatsheet.

Strange thing is transmit is happening but the moment i set the Rx enable bit framing and break error is set. And if i do this in Symbian envirnoment then this thing happen and when i do in non OS envirnoment then it works fine.

I also have doubt on the Rx pin. But not sure whats the issue with it. Plz suggest! Thanks..

Reply to
mak

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.