am trying to use SPI with nRF 52832. So I implemented spi_master.c which was used in nRF 51822. However, it does not move hard. The length set by SCLK does not come out. Again, is not it unless you use nrf_drv_spi.c? thanks.
am trying to use SPI with nRF 52832. So I implemented spi_master.c which was used in nRF 51822. However, it does not move hard. The length set by SCLK does not come out. Again, is not it unless you use nrf_drv_spi.c? thanks.
Which SDK are you using? The spi_master.c driver was removed in SDK v10.0.0 and replaced by nrf_drv_spi.c. I suggest that you take a look at the spi_master example found in the examples\peripheral\spi_master folder in the SDK.
thank you for your comment. The SDK is nRF5_SDK_12.2.0_f012efa. Is that right, has spi_master.c gone? I forcibly tried to use spi_master.c as it was. When spi_event_handler responds with communication completion by waiting for SPI_MASTER_EVT_TRANSFER_COMPLETED, it seems that SCLK is output and communicating. Is this a bad thing?
Yes, as mentioned above the spi_master.c driver was removed in the SDK v10.0.0 release. I strongly recommend that you migrate to the nrf_drv_spi.c driver in SDK v12.1.0 as this driver is designed for the nRF52 and the spi_master.c is not.
Advice, thank you. I will try it.