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

write 1/2/3 bytes into serial flash by QSPI

I use QSPI to access MT25qu512 serial flash and find the following behavior.
SDK: nRF5_SDK_15.3.0_59ac345
QSPI configuration:
// Use 4 bytes address from serial flash
#define QSPI_CONFIG_ADDRMODE 1
// <3=> Read4O
#define QSPI_CONFIG_READOC 3
// <2=> PP4O
#define QSPI_CONFIG_WRITEOC 2
// <0=> 32MHz
#define QSPI_CONFIG_FREQUENCY 0
write data with nrfx_qspi_write() api at address 0
1. Write 4 bytes
It is okay.
2. Write 3 bytes
system hang at nrf_qspi_event_check()
3. Write 2 bytes
system hang at nrf_qspi_event_check()
Is there any requirement of minimal byte? How can I write 1/2/3 bytes?
Parents Reply Children
Related