2019-12-09 10:29 AM
Hello,
I am trying to erase/flash program an external W25X40CLSNIG flash chip with various STM32L4xx host chips using SPI protocol. Up until now I have been referencing STM32l4xx_hal_spi.c source file for ways to perform such a task but was curious if there was an alternative method to doing this. Any information or insight would be extremely helpful. Thanks.
Steve
2019-12-09 10:55 AM
The command functionality should be described in the Winbond datasheets for the part.
Most have migrated to QSPI/QuadSPI solutions.
The QSPI peripheral would work with the W25X40 in Dual mode.
Still need to implement the Erase/Write as commands to the part, and waiting for status register to report completion.