MPC5606B UART - Receive Interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5606B UART - Receive Interrupt

1,293 Views
anithaa
Contributor I

Hello,

 

How we can transmit and receive 20 character based on interrupt in MPC5606B through UART. 

Should i disable RXEN after receiving  each  message. Please share the sample code. Please suggest me how i can write ISR  and how i can process the DATA in my application. 

 

Below are the details:

Linflex2-UART mode

Baud Rate - 9600 , 8 bit data no parity

Receive interrupt Enabled,

Transmit interrupt Disabled

TDFL=00, RDFL=00(1Byte),

 

 

 

Thanks & Regards

Anitha

Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

1,065 Views
martin_kovar
NXP Employee
NXP Employee

Hi Anitha,

I have just created simple example, which you can use. The example show how to send data using interrupt and also receive data using interrupt. Of course you can write your own interrupt handlers. The code which I used, serves only for demonstration how the interrupt handlers could be used. If you have any question about example, feel free to write me back.

Regards,

Martin