S32K344 UART0 Issue: Junk Bytes

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K344 UART0 Issue: Junk Bytes

ソリューションへジャンプ
1,452件の閲覧回数
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 件の賞賛
返信
1 解決策
1,398件の閲覧回数
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.
-------------------------------------------------------------------------------

元の投稿で解決策を見る

2 返答(返信)
1,380件の閲覧回数
aadyaa
Contributor II

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

0 件の賞賛
返信
1,399件の閲覧回数
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.
-------------------------------------------------------------------------------