UART protocol S32K148

cancel
Showing results for 
Search instead for 
Did you mean: 

UART protocol S32K148

50 Views
Contributor I

Hello
I wanted to make an application using S32K148 to send UART frames from PC to S32K148 every 20ms and depending on these frames I send CAN messages
So I started with the example "lpuart_echo_s32k148" to receive 16 byte buffers of data
the problem is that the frames do not arrive correctly every 20 ms since I have to synchronize the sending of frames from PC with the reception of frames from S32K148
I think I must use a framing system with a CRC so that I am sure I am receiving the correct frames with the correct size
Do you have a working example for me?
Thank you for your help

0 Kudos
1 Reply

30 Views
NXP TechSupport
NXP TechSupport

Hello, 

Unfortunately, we don't have an example project that does framing system with CRC along with the UART. Could you please provide more information about the behavior that you are facing? How do the frames arrive after 20 ms? Before that, do the frames arrive correctly? You mentioned that you have to synchronize the sending of frames from PC with the reception of frames from S32K148, how are you doing this? 

Regards, 

Victor 

0 Kudos