I am study UART with "evkmimxrt1015_lpuart_interrupt_rb_transfer" SDK sample code.
The sample code is no problem.
After I modify some flow, it cannot receive any byte,
My idea is using polling to call LPUART_TransferReceiveNonBlocking, if get any byte, use tx send a debug log.
I don't know why this modification cannot receive any RX byte.
Maybe there are some constrain to using LPUART_TransferReceiveNonBlocking?
I attached the source code. I only modify this file.
Can someone give me a hint?