QSPI DMA to RAM

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

QSPI DMA to RAM

723 Views
peinal
Contributor I

Processor :

L1046A

Task :

1. Speed up current boot loader by using eDMA to read QSPI dual-flash image into RAM. There is no OS or RTOS available to the boot loader. ie it is running bare-metal.

2. Know that I need to use RX Drain DMA trigger. Configuring DMA crossbar to assign slot 60 (RFDF) to eDMA channel 4 (so as to keep timer-triggered channels open for other DMA tasks).

3. I do not know how to configure TCD to fully automate the transfer. I presume the minor-loop will be either 16 or 32 32-bit words from RX Buffer to RAM via AHB access (?). I do not know how to auto-trigger a continuous read from QSPI flash devices into the RX Buffer.

4. SPI clk is 50MHZ, processor clk is 800MHz during boot.

Can anyone provide a (detailed) outline of how to setup the TCD/DMA controller and initiate the transfer from a QSPI Flash address to a DDR RAM address?

Thanks.

0 Kudos
Reply
1 Reply

678 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hi @peinal

I am going to respond you questions in the salesforce ticket #00643542

Regards

0 Kudos
Reply