Is there any i.MXRT example code using LPUART_SendEDMA / LPUART_ReceiveEDMA ?

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

Is there any i.MXRT example code using LPUART_SendEDMA / LPUART_ReceiveEDMA ?

ソリューションへジャンプ
955件の閲覧回数
np
Contributor IV

I'm writing code for i.MX RT106x processors, and would like to use NXP's LPUART_SendEDMA() / LPUART_ReceiveEDMA() library functions (in drivers/fsl_lpuart_edma.c/.h) to handle writes to (and reads from) the various UARTs.

However, the only example code I've found for this is for the NXP Kinetis K22F and KV11 processors, that uses a slightly different NXP DMA manager - DMAMGR_Init() / DMAMGR_RequestChannel() :

https://github.com/kylemanna/kinetis-sdk2/blob/master/boards/frdmk22f/driver_examples/lpuart/edma_tr...

Is there any i.MXRT example code out there using LPUART_SendEDMA / LPUART_ReceiveEDMA ? This may well need nothing more than a handful of i.MXRT DMA initialisation lines to get it working.

Thanks, Nick

ラベル(1)
0 件の賞賛
1 解決策
950件の閲覧回数
jay_heng
NXP Employee
NXP Employee

You can refer to below demos:

\SDK_2.11.1_EVK-IMXRT1060\boards\evkimxrt1060\driver_examples\lpuart\edma_rb_transfer

\SDK_2.11.1_EVK-IMXRT1060\boards\evkimxrt1060\driver_examples\lpuart\edma_transfer

元の投稿で解決策を見る

2 返答(返信)
951件の閲覧回数
jay_heng
NXP Employee
NXP Employee

You can refer to below demos:

\SDK_2.11.1_EVK-IMXRT1060\boards\evkimxrt1060\driver_examples\lpuart\edma_rb_transfer

\SDK_2.11.1_EVK-IMXRT1060\boards\evkimxrt1060\driver_examples\lpuart\edma_transfer

943件の閲覧回数
np
Contributor IV

Thanks! Perfect answer!

0 件の賞賛