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

[NRF51822] SPI data loss during BTLE connection

Hi

SPI master is 3rd party MCU. SPI slave is nRF51822. If MCU sends a bunch of data to nRF51822 via SPI, at the same time, BTLE host like celluar phone try to connect nRF51822, is it possible to lost SPI data during the BTLE connection? If yes, did you have any suggestion to keep it from? Thanks.

Parents
  • Hi Jeffery,

    The DMA controller (not the CPU) will handler both radio and SPIS for writing into RAM. By theory, there will be no data loss if the SPI slave speed is 2Mbps.

    To be honest, I haven't tested SPIS and BLE, and currently don't have an example to provide. However, in next version of the SDK, v5.0.0, which will be released very soon, we will provide library and example for SPIS.

    Update 9.10.2014 This thread might have additional information on the subject

Reply
  • Hi Jeffery,

    The DMA controller (not the CPU) will handler both radio and SPIS for writing into RAM. By theory, there will be no data loss if the SPI slave speed is 2Mbps.

    To be honest, I haven't tested SPIS and BLE, and currently don't have an example to provide. However, in next version of the SDK, v5.0.0, which will be released very soon, we will provide library and example for SPIS.

    Update 9.10.2014 This thread might have additional information on the subject

Children
No Data
Related