S32k344 Baud Rate Issue

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

S32k344 Baud Rate Issue

8,945件の閲覧回数
Vamsi421
Contributor II

Hi,

 I am using Nxp S32k344 board in my project . In this  sending data through UART using 115200 Baud rate is working fine but in receiving the data is corrupted in  the buffer. I am trying to receive "12345678" but i am receiving some garbage characters as provided in the below attachments.

Note: I am using LPUART instance 8 with clock frequency 80MHZ 

タグ(1)
0 件の賞賛
返信
7 返答(返信)

8,906件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please tell me the S32K3 RTD version, development board model, AUTOSAR MCAL or non-AUTOSAR. Otherwise, I can only suggest you refer to the LPUART routine in S32K3 RTD.
If you use DMA, it is recommended to refer to The S32K344 Lpuart transfer cannot receive data correctly when DMA enable


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

0 件の賞賛
返信

8,870件の閲覧回数
Vamsi421
Contributor II
Hi,
Autosar Version : 4.7.0
* Autosar Revision : ASR_REL_4_7_REV_0000
* Autosar Conf.Variant :
* SW Version : 3.0.0
* Build Version : S32K3_RTD_3_0_0_D2303_ASR_REL_4_7_REV_0000_20230331
* Development board model:S32K344HMS
0 件の賞賛
返信

8,854件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Sorry, I don't know which development board you mean by S32K344HMS. Please send me the link. If it is convenient, please upload a simple test project. Otherwise, it is difficult to find the cause quickly with so little information.

0 件の賞賛
返信

8,841件の閲覧回数
Vamsi421
Contributor II
0 件の賞賛
返信

8,819件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Did you use TTL-USB serial module to connect UART signals of S32K3 to PC? Have you used an oscilloscope or logic analyzer to measure the serial port signals sent from the PC and the signals sent from the S32K3, such as baud rate and size of the data frame\parity\Stop bits?

The information you provided is too little, so I can't help you find the cause of the problem quickly. Would you mind sending me the test project?

0 件の賞賛
返信

8,809件の閲覧回数
Vamsi421
Contributor II
send me the test project with 115200 baudrate
0 件の賞賛
返信

8,794件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Please test the example K344_UART_DMA_Working.zip (S32K3_RTD_3_0_0_D2303) that I gave you in the web link to ensure that your TTL-USB serial module and PC host computer are working properly.
PTA29(lpuart2_tx) and PTA30(lpuart2_rx)
9600 baudrate
If it can be received correctly, then only a slight modification is needed.

0 件の賞賛
返信