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

nrf51 SDK7.1 flash api and spi master api

  1. Does the sdk7.1 + softdevice support flash_page_erase function?

  2. Also, for the spi_master api, is the spi_master_event_handler required or optional? currently, the code below,

volatile uint32_t err_code = spi_master_send_recv(spi_master_instance, p_tx_data, len, p_rx_data, len); if (err_code != NRF_SUCCESS) { return err_code;//Module Operation failed. Take recovery action. }

sometime gives NRF_ERROR_BUSY error, any reason?

thanks.

Related