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

how to make the IRQn available in the ble_app_uart application?

Hello,

I just want to add SPI master module into the ble_app_uart application, and only add spi_master.c and .h into this project with no any other change, and just call the initial function. But, error, NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE, returns when the spi_master_open() called, exactly returned by APP_ERROR_CHECK(sd_nvic_ClearPendingIRQ(p_spi_instance->irq_type)). The irq_type is 0x00000003 which standby for SPI0_TWI0_IRQn. The SPI number I used is SPI 0. The instruction shows that this error means for this IRQn is not available in this ble app uart application, how to correct it?

Thanks.

Parents Reply Children
No Data
Related