AnsweredAssumed Answered

UART receiver not ready

Question asked by Rahul Sanghavi on Apr 30, 2014
Latest reply on Apr 30, 2014 by TomE

I am trying to enable UART receive interrupt using "UIMRn" register & “UCR”.

 

   // Enable Serial Port 0 receiver event interrupt

   CurrentUIMR |= MCF52xx_UART_UIMR_FFULL;

   MCF52xx_UART0_UIMR = CurrentUIMR;

 

   // Enable Serial Port 0 receiver.

   MCF52xx_UART0_UCR = MCF52xx_UART_UCR_RX_ENABLED;

 

When I am reading UIMR & UISR contains, value is 0, in special condition (when I received noise on UnRXD line).

 

I encounter this issue in special condition, when I received noise (30 uS) signal on UnRXD line. In normal, condition my code is working as expected.

 

I am using MCF5275 processor.

Outcomes