I want to use the function of lpuart interrupt
The following is the way I set it, but it never enters "LPUART1_RxTx_IRQHandler"
main.c
LPUART1_RxTx_IRQHandler funciton
Pin_mux setting
When I send commands from the PC to the MCU, none of them seem to enter IRQHandler
Hi Zack_huang,
Please refer the lpuart_echo_s32k146 of S32K1xx SDK RTM v4.0.2 Example.
You can check the register value of LPUART1 during debug. Does the LPUART1_STAT[RDRF] be set? Does the signal well connect to the LUPART1_RX PTC6?
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------