RT106x USB DMA Scatter Gather

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

RT106x USB DMA Scatter Gather

Jump to solution
110 Views
nikelect
Contributor I

Good evening,

I am working with the MIMXRT1060-EVKB development board and am trying to implement USB (Device) Bulk data transfer using DMA with scatter-gather. While looking for relevant examples, I couldn’t find anything specific to this use case.

Additionally, I noticed that enabling FSL_FEATURE_MEMORY_HAS_ADDRESS_OFFSET is not possible, as my SDK does not contain the fsl_memory.h file.

Any guidance or examples would be greatly appreciated.

Thank you in advance for your help!

Best regards,

0 Kudos
Reply
1 Solution
80 Views
nikelect
Contributor I

Hi @EdwinHz , thanks for your reply.

I have successfully performed several DMA transfers, including peripheral-to-memory and memory-to-peripheral transfers with UART, SPI, and I2S. However, the current issue lies specifically with USB. Which USB TX register should the DMA write to? 

Thanks 

View solution in original post

0 Kudos
Reply
2 Replies
90 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @nikelect,

It does not implement the USB part, but we do have a scatter/gather example code on the RT1060-EVKB SDK by the name "edma_scatter_gather". Please take a look at that example code for exemplification on how to use the scatter/gather feature of the edma, as it is a good starting point for your application.

BR,
Edwin.

0 Kudos
Reply
81 Views
nikelect
Contributor I

Hi @EdwinHz , thanks for your reply.

I have successfully performed several DMA transfers, including peripheral-to-memory and memory-to-peripheral transfers with UART, SPI, and I2S. However, the current issue lies specifically with USB. Which USB TX register should the DMA write to? 

Thanks 

0 Kudos
Reply