2025-01-23 07:42 AM - edited 2025-01-23 07:44 AM
Hi Everyone,
I am using SPI NOR Flash (AT25SF128) with STM32F429 microcontoller. The requirement of my system are as follows: I write data to the SPI Flash using only HAL_SPI_**** statements. I want to read the data written to this flash using a USB (By creating a MSC class of USB). The USB interface is required only for data reading.
I have seen similar examples with SD card (SPI or SDIO). However, these examples cannot be applied to the SPI NOR Flash mainly due to following problems that I see. 1> The windows only see a USB when it sees a proper FAT partition, which I don't know how to configure it by using stm32 only. SD Cards can be formatted separately before plugging in with the microcontroller. 2> The FATFS middle present in the CUBEIDE doesnot have an option for a SPI NOR flash.
If anyone knows about this implementation, please guide me to the relevant post / page / link.
Note: Please refer to example with SPI NOR Flash and not the SD Card