I merged SPI, I2c into BLE_UART example, spi interface works fine in main() function, but when i try to write spi memory with data received from BLE UART ( in nus_data_handler )then SPI does not works.
but same SPI routines works just fine in main()
Thanks
Kamal