>
>"mak" <ankitmm@yahoo.com> wrote in message
>news:QvKdnXl4T46XcSXUnZ2dnUVZ_vSdnZ2d@giganews.com...
>> 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
>>
>>
>
>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
>
>
>
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 by Monte Dalrymple●March 12, 20092009-03-12
"mak" <ankitmm@yahoo.com> wrote in message
news:QvKdnXl4T46XcSXUnZ2dnUVZ_vSdnZ2d@giganews.com...
> 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
>
>
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 by IanM●March 12, 20092009-03-12
mak wrote:
> 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
>
>
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
[at]=@, [dash]=- & [dot]=. *Warning* HTML & >32K emails --> NUL:
Reply by Jack Klein●March 12, 20092009-03-12
On Thu, 12 Mar 2009 06:03:38 -0500, "mak" <ankitmm@yahoo.com> wrote in
comp.arch.embedded:
> 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!
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