MPC5606B UART - Receive Interrupt

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5606B UART - Receive Interrupt

1,323 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

1,095 次查看
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