LINFlexD with UART+DMA caused Reset

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

LINFlexD with UART+DMA caused Reset

1,857 Views
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

 

0 Kudos
Reply
4 Replies

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

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

1,042 Views
mabduljawad
Contributor I

Hello All

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

 

@Siyan @ssimpson 

 

0 Kudos
Reply

1,205 Views
ssimpson
Contributor II

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

0 Kudos
Reply