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

SPI Master with S130 softdevice (SDK11 / nRF51)

I am having difficulties porting the SPI Master demo to an S130 Soft Device on SDK 11.0.0. From the looks of it, there seem to be some issues with interrupts but I am unsure of exactly what is going on.

Several posts on here specify that with SDK 10 (when the SPI driver was rewritten) the SPI driver was made to not need the softdevice to operate.

Is there any example code of SDK10+ SPI Master with softdevice that can be used as a reference? Looking at the driver components, spi_5W_master is included with nrf_drv_spi. Does the latter have anything to do with resolving this issue? I do not think they interface with each other and how I understand it, spi_5W_master was used with the older spi_master driver.

Parents
  • Yes, the SPI driver ( nrf_drv_spi.c ) in SDK v10.00 is independent of the SoftDevice, so there should be no issues using this in an application that uses a SoftDevice.

    I am afraid that the only examples on how to use the SPI Master driver are without a SoftDevice. However, if you could describe the issue a bit more in detail and I'll try to see if I can help you.

    Yes, they are two separate drivers. The spi_w5_master driver is a 5-Wire SPI driver that is used by the PHY layer in our BLE serialization library, i.e when the nRF51 is used as a connectivity chip and communincates with a host processor.

    -Bjørn

Reply
  • Yes, the SPI driver ( nrf_drv_spi.c ) in SDK v10.00 is independent of the SoftDevice, so there should be no issues using this in an application that uses a SoftDevice.

    I am afraid that the only examples on how to use the SPI Master driver are without a SoftDevice. However, if you could describe the issue a bit more in detail and I'll try to see if I can help you.

    Yes, they are two separate drivers. The spi_w5_master driver is a 5-Wire SPI driver that is used by the PHY layer in our BLE serialization library, i.e when the nRF51 is used as a connectivity chip and communincates with a host processor.

    -Bjørn

Children
No Data
Related