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

Data transmission using SPI interface in nRF52832

Hello everyone!

I have been working on getting data from ADS1299 ( ExG bio-signal sensing). I successfully got data from this IC using STM32F407VG (Cortex M4) and transmitted the data to PC via serial communication. I intend to use nRF52832 so that the data can be wirelessly transmitted. My question here is:

1) The ADS1299 chip is a 24-bit ADC chip with 8 channels. I want to collect the data from all 8 channels which means each data frame would has at least 24 bytes long (24*8), not to mention status bytes (3 bytes) and other bytes added for monitoring data integrity. In short, each data frame would has 30 bytes long. As far as I know, a package data is only up to 20 bytes for BLE protocol, thus do you have any suggestion in my application?

2) I suppose it is doable to send 30-byte package each time. To send the data to mobile app, I still need to partition them into 8-bit data each and use NUS service to send. As I make a quick calculation, it requires at least a baudrate of 150000 byte/second if sampling rate is 500 Hz. Will the nRF52832 be able to transmit data to mobile app with this baudrate?

P/s: SPI interface I am using is 4-wire interface.

Thank you! 

Related