Hello,
I am trying to read BMI160 outputs using SPI protocol but I am struggling to get a successful build from my code.
The build fails at the first line of my code //static nrf_drv_spi_t spi = NRF_DRV_SPI_INSTANCE( 0 ); // SPI instance//
The complier doesn't recognise NRF_DRV_SPI_INSTANCE even though it is in the libraries into nrf_drv_spi library.
I don't know what I am doing wrong? Could I get some help please?
Please find below my code.
Thanks a lot.