QSPI DMA to RAM

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

QSPI DMA to RAM

930 次查看
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.

标记 (4)
0 项奖励
回复
1 回复

885 次查看
SebastianG
NXP TechSupport
NXP TechSupport

Hi @peinal

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

Regards

0 项奖励
回复