It comes with a MicroSD card slot and a W25X40BVSNIG SPI Flash IC on SPI1 (4Mbit, 512x8bit, 104 MHz).
Looking at the STM32L476DISC board definition, it looks like it sets up a block device using /drivers/memory/spiflash.c, but I'm not sure if that means you can run both internal flash and SPI flash at the same time or if it's one or the other.
I'm hoping to be able to boot my ZGT6 board using the internal flash, but then have access to files on an optional SD card or the attached W25X40 SPI flash. eg.
Can anyone point me in the right direction?
Code: Select all
os.listdir('/') os.listdir('/sd') os.listdir('/spiflash')
I've also got a few of these W25Q128 modules, which could be similarly implemented:
https://www.aliexpress.com/item/1pc-W25 ... 44173.html