S32K358 Not Receiving UART RX Data

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K358 Not Receiving UART RX Data

34 Views
Ankita
Contributor I

I am trying to test uart communication on FRDM A S32K358 board. Used the UART6 tx and rx in this in trasmission i can see data on tera term as expected also on debugger seeing Lpuart_Uart_Ip_SyncSend api status is successful. But when i am trying to do for  receiver uart6rx pin it Lpuart_Uart_Ip_SyncReceive(UART_LPUART_INTERNAL_CHANNEL, rxData, 1, 10000) got response timeout.     

So i checked with different uart like Uart3 in that case also same behaviour then i tried to configure PTD3 & PTD2 acts as gpio and try to set both pin in that case PTD3 is not set (not change any behavior) but PTD2 set to 1. 

Please suggest how i can check rx data i am trying to do hardware loopback on pin. as i am dont have logic analyzer.

Thanks in advance!

Ankita_0-1787651884647.png

 

0 Kudos
Reply
0 Replies
%3CLINGO-SUB%20id%3D%22lingo-sub-2408170%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K358%20Not%20Receiving%20UART%20RX%20Data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2408170%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20trying%20to%20test%20uart%20communication%20on%20FRDM%20A%20S32K358%20board.%20Used%20the%20UART6%20tx%20and%20rx%20in%20this%20in%20trasmission%20i%20can%20see%20data%20on%20tera%20term%20as%20expected%20also%20on%20debugger%20seeing%26nbsp%3BLpuart_Uart_Ip_SyncSend%20api%20status%20is%20successful.%20But%20when%20i%20am%20trying%20to%20do%20for%26nbsp%3B%20receiver%20uart6rx%20pin%20it%26nbsp%3BLpuart_Uart_Ip_SyncReceive(UART_LPUART_INTERNAL_CHANNEL%2C%20rxData%2C%201%2C%2010000)%20got%20response%20timeout.%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20i%20checked%20with%20different%20uart%20like%20Uart3%20in%20that%20case%20also%20same%20behaviour%20then%20i%20tried%20to%20configure%20PTD3%20%26amp%3B%20PTD2%20acts%20as%20gpio%20and%20try%20to%20set%20both%20pin%20in%20that%20case%20PTD3%20is%20not%20set%20(not%20change%20any%20behavior)%20but%20PTD2%20set%20to%201.%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20suggest%20how%20i%20can%20check%20rx%20data%20i%20am%20trying%20to%20do%20hardware%20loopback%20on%20pin.%20as%20i%20am%20dont%20have%20logic%20analyzer.%3C%2FP%3E%3CP%3EThanks%20in%20advance!%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Ankita_0-1787651884647.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ankita_0-1787651884647.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F395302iC99234D98C93AD62%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Ankita_0-1787651884647.png%22%20alt%3D%22Ankita_0-1787651884647.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAnkita_0-1787651884647.png%3C%2Fspan%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAnkita_0-1787651884647.png%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E