Hi,
I have a custom board using a NRF52832. together with a SPI NOR Flash. I am having problems with the initialisation of the flash. I already tested my board with the spi_example.
In the Sample when executing device_is_ready(), it is always return "device not ready". This is because
and therefore
returns false.
But If I modify the sample and let it continue even if the device is not ready the erasing, writing and reading of the flash is successful.
My board has the possibility to turn on and off the supply voltage of the board to save power and this problem only appears to happen when the flash is connected to the voltage that can be switched on and off. If I connect it to supply voltage that is constantly turned on device_is_ready() always returns true.
Can you help me with this issue?
I am using ncs v.2.5.0
This is my devicetree definition of the spi and the flash: