LINFlexD with UART+DMA caused Reset

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

LINFlexD with UART+DMA caused Reset

2,034 次查看
Siyan
Contributor III

Hi, NXP,

On EB Tresos with 'SW32G_RTD_4.4_S32CC_4.0.1\eclipse\plugins\Uart_TS_T40D11M40I1R0' module, configure the 'Uart Asynchronous Method' to 'LINFLEXD_UART_IP_USING_DMA' and assign accordance DMA channel.

When the program execute Uart_Init(); and change the LINFlexD mode from Init to Normal, the SOC will reset immediately.

Please give some advices on how to solve this issue.

Figure 1: Configuration Page of UART

Siyan_0-1695174644646.png

Figure 2: Register of LINFlexD0 before change mode to Normal

Siyan_1-1695175482987.png

 

标记 (4)
0 项奖励
回复
4 回复数

1,085 次查看
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @Siyan,

I am sorry for this late reply. Are you still experiencing this issue?

If so, please share the DMA general configuration and the configuration of the logical channels you are using for the UART configuration?

 

Sorry again and thanks for the information. 

0 项奖励
回复

1,106 次查看
ssimpson
Contributor II

Late reply: The S32G has a limitation where UART 0 does not support DMA, it is noted in one of the UART manuals.
This manifests in the S32G being nonresponsive when setting uart 0 for dma (at least from my observations).
The other UART interfaces I believe do support DMA.

0 项奖励
回复

1,219 次查看
mabduljawad
Contributor I

Hello All

I am facing the same issue, were you able to solve it ?

 

@Siyan @ssimpson 

 

0 项奖励
回复

1,382 次查看
ssimpson
Contributor II

I've experienced a similar problem. Curious if there was a solution.

0 项奖励
回复