MPC5606B UART - Receive Interrupt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5606B UART - Receive Interrupt

1,283件の閲覧回数
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,055件の閲覧回数
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