C90TFS with SPI flash driver

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

C90TFS with SPI flash driver

847 Views
jonathan_guinta
Contributor I

Anyone have example code on how to do this successfully? I cannot for the life of me make this work successfully.

I've tried:

Relocating FlashCommandSequence to SRAM

Enabling and Disable Interrupts - around the Flash function calls

setting MCM_PLACR |= MCM_PLACR_ESFC_MASK

I'm not sure what else to do, I'm at a loss. Please post some code that makes the SPI driver fetching 1kB sector and writing that same 1kB sector to internal flash in a loop at subsequent addresses. I can't imagine no one has done this before.

Thanks!

Jon

Labels (1)
0 Kudos
Reply
1 Reply

741 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Jon,

I think you may misunderstand the C90TFS Flash software driver. This software driver is applicable to the embedded FTFx Flash module, not to the external SPI Flash device.

Hope it hleps.
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply