This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf51822: Interfacing external flash memory using SPI

We have a custom board on which we have NRF51822 SOC. We also have a small external flash memory(From Spansion) on our board. I'm trying to figure out the ways to use this external non-volatile flash memory as SPI slave. NRF51822 would act as master and will store some information on this non-volatile flash memory. I've read the documentation on SPI from the nRF51_Series_Reference_manual v3.0 (section 26) and also read the API documentation on SPI master driver. So far so good, but It would be of tremendous help If someone can point me to simple slave implementation(Preferrable a flash memory block).

Also, Are there any slave related APIs as well(something similar to spi_master_open) and if yes then how to use such API in my scenario ?

Thanks a lot.

Related