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

SPI Master while sending/receiving BLE packets

What I would like to do is run a basic SPI program that reads data from a register on a non Nordic transceiver chip. My nRF51 would have to act as the master because the transceiver can only act as a slave device. I would like to then take the data I received over SPI and send it via BLE.

After going through the SDK for hours it seems as though a serialized application is not the route to take because the connectivity board (which is handling the BLE transfers) is the slave device.

Is it possible to use one board and have an active BLE connection while being an SPI Master?

  • Of course it is. The mode the SPI is in has nothing at all to do with the bluetooth role the board is in. The nrf51 just needs to be the SPI master and it can be a BLE peripheral.

    When you read data from your chip, you update your characteristic or otherwise send the data out over bluetooth.

    i think you must have gotten yourself confused somewhere between master and slave SPI and peripheral/central bluetooth. Perhaps you can explain more about what you think is the issue and we can help get it sorted out.

Related