uart pass-through KL17

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

uart pass-through KL17

1,412件の閲覧回数
renatodutra
Contributor I

I'm trying to implement an uart pass-through using two ports: uart2 and lpuart0 on the Kinetis KL17. (using KD1.3)
To implement this pass-through I would like to use DMA. I have tried implementing it, but so far I could not make it work.

 

My code setup is attached.

 

Any help is appreciated.

 

TIA.

-rd

Original Attachment has been moved to: dma_init.c.zip

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,180件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi renatodutra,

Have you try to use the dma_transfer examples in SDK_2.1_MKL17Z256xxx4?

dma_transfer lpuart uart.png

The newer version KSDK is recommanded to use. You can build and download the SDK_2.1_MKL17Z256xxx4 from MCUXpresso Config Tools.

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
---------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,180件の閲覧回数
mjbcswitzerland
Specialist V

Hi

You can get UART<->LPUART DMA or interrupt based pass-through in the uTasker project (works for m0+ and m4 based Kinetis processors).

Also, it can do pass-through without the need for UART by transferring GPIOs from one pin to another based on port change triggered DMA.

Regards

Mark

0 件の賞賛
返信

1,180件の閲覧回数
renatodutra
Contributor I

Mark,

Thanks for the suggestion.

At this point not planning to add "middleware" to the project, however this may be explored in the future.

Regards,

-rd

0 件の賞賛
返信