The S32K312 UART+DMA driver cannot work properly

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

The S32K312 UART+DMA driver cannot work properly

829 Views
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 Kudos
Reply
3 Replies

827 Views
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 Kudos
Reply

818 Views
Senlent
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

811 Views
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 Kudos
Reply