S32K344 UART0 Issue: Junk Bytes

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

S32K344 UART0 Issue: Junk Bytes

Jump to solution
1,632 Views
aadyaa
Contributor II

I'm facing an issue with the UART0 module on the S32K344 microcontroller. When attempting to send data, I'm encountering the transmission of junk bytes. I have provided the relevant details below:

Microcontroller: S32K344
UART0 pins: PTA3 (UART0_TX) and PTA2 (UART0_RX)
I have attached the Teraterm console output demonstrating the received junk bytes. Additionally, I made the necessary LPUART0 settings in S32 Design Studio, but the issue persists.

It's worth noting that LPUART3 in the same code functions correctly, highlighting the specific problem with UART0.

I kindly request assistance from the NXP community in addressing this issue. If anyone has experience with the S32K344 UART0 module or can provide guidance on DMA usage, your insights would be greatly appreciated.

0 Kudos
Reply
1 Solution
1,578 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

LPUART_0 is clocked by AIPS_PLAT_CLK. But the LPUART3 is clocked by AIPS_SLOW_CLK. Please change the setting of Mcu Clock Frequency Select.

Mcu Clock Frequency Select AIPS_PLAT_CLK LPUART0 LPUART3.png


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.
-------------------------------------------------------------------------------

View solution in original post

2 Replies
1,560 Views
aadyaa
Contributor II

@Robin_Shen Thank you for your support. The issue got resolved with your input.

0 Kudos
Reply
1,579 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

LPUART_0 is clocked by AIPS_PLAT_CLK. But the LPUART3 is clocked by AIPS_SLOW_CLK. Please change the setting of Mcu Clock Frequency Select.

Mcu Clock Frequency Select AIPS_PLAT_CLK LPUART0 LPUART3.png


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.
-------------------------------------------------------------------------------