This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2541 to ARM micro controller data transfer sample code

Other Parts Discussed in Thread: CC2541

Dear all,

We are working on an embedded design using the CC2541 connected to a Cortex M0 ARM micro controller and an ADC through an SPI line. We have used the sample code from the 'Heart Rate Sensor' project (BLE stack v 1.4.1) to successfully setup communication from the ADC to Micon to BLE and further to the paired Android smartphone (ADC->Micon->BLE->Android). 

We are struggling with our next objective: Enable reverse communication between the CC2541 and the ARM micro controller (BLE->Micon). Specifically, when we try to send even a single byte of data from the CC2541 to the micon, we receive junk values on the micon. We have tried setting up the data transfer with and without DMA, but the same data corruption issue persists. 

Can anyone on this forum point us to BLE sample code that allows us to setup this communication. We may not be setting up the stack communication within BLE correctly.

Please note that we are running BLE as slave and the micro controller as Master. 

We will be happy to share further information as needed.

Your help is highly appreciated.