The S32K312 UART+DMA driver cannot work properly

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

The S32K312 UART+DMA driver cannot work properly

831 次查看
guochuan
Contributor III

We are using S32K312 chip to configure UART driver. The configuration mode is UART+DMA. The configuration process is as follows:

uart config:

guochuan_0-1676529696206.png

 

dma config

guochuan_1-1676529745540.png

uart and dma Initializes 

guochuan_2-1676529816189.png

Please tell me what is wrong with the configuration process and why TX cannot send data.

THANKS

0 项奖励
回复
3 回复数

829 次查看
guochuan
Contributor III

After the configuration is complete, the power-on device can only send one frame of data. Please guide the configuration process

0 项奖励
回复

820 次查看
Senlent
NXP TechSupport
NXP TechSupport
0 项奖励
回复

813 次查看
guochuan
Contributor III

hanks for your reply. Now we have encountered new problems. The baud rate we designed is 115200. After the device is powered on, a normal frame will be printed, but garbled codes will appear again. I have checked the initialization process of the routine you provided and it is the same as our call here, please help to guide, thank you.

guochuan_0-1676538528369.png

 

0 项奖励
回复