How to read SPI slave nRF52 bluefruit ADC data using beaglebone black SPI master


I am using BBB SPI0 master to read Bluefruit nRF52 ADC data configuring it as SPI slave. Is any C or python code available from BBB to do this. I have a buffer of data available in nRF52 and I want this to be transferred to BBB over SPI.

Note: BBB I could get spidev loopback test working.

Appreciate if you can point any link or pointer or sample code for reading the nRF52 SPI from BBB.