Access to external flash memory for graphics [MPC5645S]

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

Access to external flash memory for graphics [MPC5645S]

458 Views
josepgorgues
Contributor II

Hello.

 

I'm Working with MPC5645S and code warrior IDE 5.9.

I write a image to external flash memory, and then I try to use the "AHB address" to set the beginning address of layer data. (DCU.LAYER[6].CTRLDESCL3.R = 0x70000000)

However, the image is not read correctly, it seems that the MPC5645 is not fast enough to read the data . Should we active the DMA mode?

Please could you send an example code that use an external flash memory to save images?

 

Thanks,

Josep Gorgues

Labels (1)
0 Kudos
1 Reply

291 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

take a look at this application note, section 3 and especially section 3.2:

http://www.nxp.com/files/microcontrollers/doc/app_note/AN4865.pdf

External Quad SPI flash memory can be relatively slow for some display resolutions.

Regards,

Lukas

0 Kudos