S32K144 UART problem

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

S32K144 UART problem

Jump to solution
540 Views
Andrew101
Contributor II

Hello everyone,

I have a prolblem when using the UART example code. I just plugged and flashed the example code but nothing happend. The IDE is S32DS version 3.6.3, the board I use is S32K144 EVB Q100, the RTD I use is version 4.4 and Hercules for display data (baurate in both side is 19200) Thanks for reading.

Tags (1)
0 Kudos
Reply
1 Solution
516 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Andrew101,

S32K144 UART example from RTD uses UART0 and FlexIO to test communication:

Julin_AragnM_0-1758222822476.png

You can scope these pins to see the transmission. Or you can wait for the example to compare verify the transmissions. From the description.txt file:

- The first welcome message is sent via UART: "Hello, This message is sent via Uart!"

- The second welcome message is sent via UART: "Have a nice day!"

- User need to check return status of Send_Data() function for verifying example.

 

Julin_AragnM_1-1758223021047.png

It uses Lpuart instance 0, comunicates with Flexio instance 0 channel 0 for Rx and channel 1 for Tx (connect PTC3 (J4.16) - PTD2(D6)(J6.3) and PTB0 (J4.5) - PTE5(D7)(J6.18)).

 

Best regards,
Julián

View solution in original post

0 Kudos
Reply
1 Reply
517 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Andrew101,

S32K144 UART example from RTD uses UART0 and FlexIO to test communication:

Julin_AragnM_0-1758222822476.png

You can scope these pins to see the transmission. Or you can wait for the example to compare verify the transmissions. From the description.txt file:

- The first welcome message is sent via UART: "Hello, This message is sent via Uart!"

- The second welcome message is sent via UART: "Have a nice day!"

- User need to check return status of Send_Data() function for verifying example.

 

Julin_AragnM_1-1758223021047.png

It uses Lpuart instance 0, comunicates with Flexio instance 0 channel 0 for Rx and channel 1 for Tx (connect PTC3 (J4.16) - PTD2(D6)(J6.3) and PTB0 (J4.5) - PTE5(D7)(J6.18)).

 

Best regards,
Julián

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2171799%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K144%20UART%20problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2171799%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CU%3EHello%20everyone%2C%3C%2FU%3E%3C%2FP%3E%3CP%3E%3CU%3EI%20have%20a%20prolblem%20when%20using%20the%20UART%20example%20code.%20I%20just%20plugged%20and%20flashed%20the%20example%20code%20but%20nothing%20happend.%20The%20IDE%20is%20S32DS%20version%203.6.3%2C%20the%20board%20I%20use%20is%20S32K144%20EVB%20Q100%2C%20the%20RTD%20I%20use%20is%20version%204.4%20and%20Hercules%20for%20display%20data%20(baurate%20in%20both%20side%20is%2019200)%20Thanks%20for%20reading.%3C%2FU%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2172229%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K144%20UART%20problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2172229%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F254964%22%20target%3D%22_blank%22%3E%40Andrew101%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3ES32K144%20UART%20example%20from%20RTD%20uses%20UART0%20and%20FlexIO%20to%20test%20communication%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Julin_AragnM_0-1758222822476.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_0-1758222822476.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F357586i7230F424B7863CC5%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Julin_AragnM_0-1758222822476.png%22%20alt%3D%22Julin_AragnM_0-1758222822476.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EYou%20can%20scope%20these%20pins%20to%20see%20the%20transmission.%20Or%20you%20can%20wait%20for%20the%20example%20to%20compare%20verify%20the%20transmissions.%26nbsp%3BFrom%20the%20%3CSTRONG%3Edescription.txt%3C%2FSTRONG%3E%20file%3A%3C%2FP%3E%0A%3CDIV%20style%3D%22background-color%3A%20%23ffffff%3B%20padding%3A%200px%200px%200px%202px%3B%22%3E%0A%3CDIV%20style%3D%22color%3A%20%23000000%3B%20background-color%3A%20%23ffffff%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%2010pt%3B%20white-space%3A%20pre%3B%22%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E-%20The%20first%20welcome%20message%20is%20sent%20via%20UART%3A%20%22Hello%2C%20This%20message%20is%20sent%20via%20%3CSPAN%3EUart%3C%2FSPAN%3E!%22%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E-%20The%20second%20welcome%20message%20is%20sent%20via%20UART%3A%20%22Have%20a%20nice%20day!%22%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E-%20User%20need%20to%20check%20return%20status%20of%20Send_Data()%20function%20for%20verifying%20example.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Julin_AragnM_1-1758223021047.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_1-1758223021047.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F357589i325D11864CFD5476%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Julin_AragnM_1-1758223021047.png%22%20alt%3D%22Julin_AragnM_1-1758223021047.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3EIt%20uses%20Lpuart%20instance%200%2C%20comunicates%20with%20Flexio%20instance%200%20channel%200%20for%20Rx%20and%20channel%201%20for%20Tx%20(connect%20PTC3%20(J4.16)%20-%20PTD2(D6)(J6.3)%20and%20PTB0%20(J4.5)%20-%20PTE5(D7)(J6.18)).%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EJuli%C3%A1n%3C%2FP%3E%3C%2FLINGO-BODY%3E