Need LPUART2 using DMA example.

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

Need LPUART2 using DMA example.

458 Views
paulffffff
Contributor III

I used provided example for LPUART0 using DMA for MR-CANHUBS32K344 board:

Solved: S32K3 LPUART using DMA in RTD 3.0.0 - NXP Community.

But I cannot configure tis example to use with LPUART2, which is routed and connected to debug connector and can be easy accessed. May you provide modified example for LPUART2 using DMA vs LPUART0 using DMA?

Labels (1)
0 Kudos
8 Replies

298 Views
paulffffff
Contributor III

can you create project DMA+ LPUART2?

0 Kudos

291 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

I tested it before sending it to you via private message last week. It can be built normally and the serial port information sent can be observed on the lpuart2_tx PTA9 pin. I'm using S32DS v3.5 + S32K3 RTD 3.0.0 D2303. 

0 Kudos

380 Views
paulffffff
Contributor III

assign channels 16 and 17 of DMA don't make it running

0 Kudos

377 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please test the modified project I sent you via private message. 

0 Kudos

427 Views
paulffffff
Contributor III

Hi Robin,

thanks for advice. I can compile now project and configuration looks correct, but nothing appears as input or output data. may you please take a look to the project attached to this post?

0 Kudos

387 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Seems that you forget change the Hardware Channel in Dma Logic Channel:

Dma Logic Channel Hardware Channel.png

0 Kudos

431 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Did you change the configuration of LPUART2 in Rm Dma Mux?

LPUART2 Rm Dma Mux.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

0 Kudos

383 Views
paulffffff
Contributor III

it does not work

0 Kudos