I need to read and write and flash 128MB FLASH - NOR (cypress semiconductor) flash from mpc5777c using DSPI (DSPI_C) . How to start with it any application note or example present for the same. kindly guide me through.
Hi, I have an example code for the device's predecessor MPC5676R:
Example MPC5676R DSPI-ext_SPI_memory-S25FL129P CW210
Hope it helps
Thanks but can the framework used for mpc5777c or it is vastly different from each other.
Here you may find some example codes for MPC5777C as well.
MPC5 software example list
DSPI module itself is the same so it should not be difficult combine it together.
Thanks for the help. One Query,
In the example the READ ID command is used (0X90) to read manufacture ID and device ID
If it has to be read with 0x9F command how to proceed with it can u kindly help.?
Thanks In Advance
A file dspi_S25FL129.h contains commands for SPI memory S25FL129. Please edit it or create your own file for the memory you are using. Command set you should find in the datasheet of specific external memory.
Thanks. I got what u said but what i wanted to ask the memory i use is very similar to one used..if u could explain how to use it for read instruction 0x9F for SPI memory S25FL129 it would be helpful for me to get a an idea for the same. I'm slightly in doubt how to read one byte of manufacture followed by 2 bytes of device id. if u could explain the same for memory thats been used in the example it would be helpful.
Thanks In Advance.
Retrieving data ...