The S32K312 UART+DMA driver cannot work properly

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

The S32K312 UART+DMA driver cannot work properly

830件の閲覧回数
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 返答(返信)

828件の閲覧回数
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 件の賞賛
返信

819件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信

812件の閲覧回数
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 件の賞賛
返信