I'm designing a solution that needs to store data that comes over BLE on a flash chip.
I'm thinking of using the Adafruit BLE and the W25Q80BV (flash chip).
These two products provide a SPI interface, and I'm thinking of doing something like this -- is it enough?
Code: Select all
while there's data to read from the BLE {
read a chunk of data into a buffer
set the chip select pin of the BLE to HIGH
set the chip select pin of the W25Q80BV to LOW
write the data to the W25Q80BV
set the chip select pin of the W25Q80BV to HIGH
set the chip select pin of the BLE to LOW
}