Hi,
We are using ADSP-SC593.
Is it possible to write raw data to SPI flash through memory mapped mode?
Regards,
Vetrivel.
Hi,
We are using ADSP-SC593.
Is it possible to write raw data to SPI flash through memory mapped mode?
Regards,
Vetrivel.
Hi Vetrivel,
No, You can’t write to SPI flash through memory mapped mode.
Please refer “Table 21-6: Types of Operations” for the permitted operations in the non-memory-mapped and memory-mapped modes supported by the SPI controller.
https://www.analog.com/media/en/dsp-documentation/processor-manuals/adsp-2159x-sc591-592-594-hrm.pdf
Regards,
Nandini C
Hi Nadini,
Thanks for the clarification. I have additional question. Is it possible to do write through memory mapped mode thorugh OSPI DAC mode. I see the following info in the Hardware reference mannual.
Hi Vetrivel,
Yes, you can write OSPI memory space using Direct Access mode. We have examples which illustrate the Direct access mode of the OSPI controller to do the direct read and write accesses to the flash device.
Please download BSP package from the below link:
download.analog.com/.../ADI_EV-SC59x_EZ-KIT-Rel4.0.0.exe
After installation examples available in the below path:
C:\Analog Devices\EV-SC59x_EZ-KIT-Rel4.0.0\EV-SC59x_EZ-KIT\Examples\drivers\ospi
Regards,
Nandini.C