Hi all,
We have a issues with the SPI communication and hope someone could help us. Using SDK 8.0.0 and Soft Device S110 8.0.0
code process step:
-
enable ble stack, and ble init.
-
spi_master_init(SPI_MASTER_0, spi_master_0_event_handler, false); (spi init default: 1Mbps, MsbFirst, CPOL_ActiveHigh, CPHA_Leading, interrupt priority LOW) by call api: spi_master_open() and spi_master_evt_handler_reg()
-
spi writer data using spi_master_send_recv()
-
spi writer data using spi_master_send_recv(), and error occur at //Disable interrupt SPI. APP_ERROR_CHECK(sd_nvic_DisableIRQ(p_spi_instance->irq_type)); // line: 431, error code: NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE
why the error occur on the second spi communication, and the system stops ? Many thanks! terry.