Need LPUART2 using DMA example.

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

Need LPUART2 using DMA example.

559 次查看
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?

标签 (1)
标记 (1)
0 项奖励
8 回复数

399 次查看
paulffffff
Contributor III

can you create project DMA+ LPUART2?

0 项奖励

392 次查看
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 项奖励

481 次查看
paulffffff
Contributor III

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

0 项奖励

478 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

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

0 项奖励

528 次查看
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 项奖励

488 次查看
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 项奖励

532 次查看
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 项奖励

484 次查看
paulffffff
Contributor III

it does not work

0 项奖励