when i try to configure spi1 i am getting error, so how can i configure different spi ?
when i try to configure spi1 i am getting error, so how can i configure different spi ?
when i configure spi like that clock was not generated at all
Hi,
I took the liberty to format your C code for improved readability.
You write that the clock was not generated. That means that no SPI transaction was started, so I expect an error has occured. I notice in your code that you ignore most return values. That is a very bad idea, and the first thing you should do is to improve your code so that you check all return values using APP_ERROR_CHECK (particularly the return values from nrf_drv_spi_transfer()). Are there any errors here? What else do you see from debugging?
code was hanged here
while (!nrf_spim_event_check(p_spim, NRF_SPIM_EVENT_END))
How to transfer a data in blocking mode?
i need details regarding the library structure what is nrf_spi.h nrfx_drv_spi.h what are all the files i am suppose to include for spi?