S32K312 UART

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

S32K312 UART

569 次查看
lua40927
Contributor II

Hello
I would like to ask if there are any other LPUART interrupts besides the 4 shown below?

LPUART.png

I want a receive interrupt to occur when the UART receives a character
Then store the characters in the Call back function

 

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

543 次查看
RomanVR
NXP Employee
NXP Employee

Hello @lua40927.

Those are the only events which trigger the interrupts. However, you can configure the receive buffer size to meet your specific requirements, as shown in the below image:

2025-02-04_16-01-35.jpg

I recommend to trying the "Example S32K312 UART Transmit & Receive Using Interrupt DS3.5 RTD300" to familiarize yourself with the UART driver and APIs, which are useful to configure the Rx buffer to trigger the Rx_Full event with one character and access to the configured callback. Also, please refer to de S32K3XX Reference Manual Rev. 9 for more information about the LPUART module.

Please let me know if this was helpful.

- RomanVR.

Best Regards!
0 项奖励
回复