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.

CC2564MODNEM: CC2564MODNEM Bluetooth connection problem with Arduino due

Part Number: CC2564MODNEM
Other Parts Discussed in Thread: CC2564

Hello,

We are making EEG and PPG technology-based wearable devices, need to stream the bio signal data through the Bluetooth continuously 

We are trying to connect the CC2564MODNEM evaluation board with Arduino due (ATSAM3X8E).

We are not able to get proper start guide to make connection with Arduino due and sample program to initiate.

Note: We gave power connection using debug header (pin1 - GND and Pin2 - +3.3V), but we are not able to see any Bluetooth name to connect

Thanks,

Varsha S

  • Hi Varsha,

    To send data over Bluetooth from the Arduino Due to the CC2564MODNEM, you'll need to wire the two together via UART 4-wire protocol (H4). These four pins will consist of RX, TX, CTS, and RTS. This will allow the Bluetooth stack residing on the Arduino to send HCI commands over UART to the CC2564. Additionally, you'll also need to connect +3.3V power, GND, and a reset wire to enable Bluetooth on the CC2564. You should be able to use any GPIO on the Arduino to connect to the nSHUTD pin for reset.

    You may want to use the BOOST-CCEMADAPTER board to better access the CC2564MODNEM pins. 

    Best regards,

    Jacob

  • Hi Jacob,

    We followed your instructions and connected H4 protocol, +3.3V and GND as per datasheet. But we aren't able to see any Bluetooth name to connect.

    NOTE: RTS and CTS are connected together.

    Debug header - Arduino Due

    Pin 1               -  GND

    Pin2                -  3.3V

    Pin11              -  Rx

    Pin12              - Tx

    Pin16              - GPIO (D7) pin

    May I also know how we can send HCI commands from Arduino?

    Thanks,

    Varsha S.

  • Hi Varsha,

    I'll double check these pins tomorrow. RTS from the CC2564 should be connected to the CTS of the Arduino. The same is true for CTS.

    You will need a Bluetooth stack hosted on the Arduino to send HCI commands to the CC2564. TI offers a Bluetooth stack, but not for the Arduino. You may want to look into some open source options.

    Thanks,
    Jacob

  • Hi Varsha,

    I think these are all the pins you should need:

    CC2564MODNEM Debug Header Arduino Due
    Pin 1 GND
    Pin 2 +3.3V
    Pin 11 RX
    Pin 12 TX
    Pin 13 RTS
    Pin 14 CTS
    Pin 16 Any GPIO

    For the HCI commands, you'll need a Bluetooth stack hosted on the Arduino. TI does not provide a BT stack compatible with Arduino, so you will need to find one that works.

    Best regards,
    Jacob

  • Hi Jacob,

    Thank you for your reply. We searched for BT stack that will be compatible with Arduino but couldn't find any. So, can you please send some documents related to BT stack of any other microcontrollers through which we may get a basic idea of what it is and try to code our own?

    Thank you.

    Best regards,

    Varsha S.

  • Hi Varsha,

    It will not be a trivial effort to build your own BT stack from scratch. It also may not be possible to port a Bluetooth stack built for a certain microcontroller (this is the case with TI's stacks; they are not portable for customers as they are built for a certain core). 

    I would recommend either choosing a microcontroller with a Bluetooth stack such as the MSP432, or looking for an open-source Bluetooth stack port for Arduino.

    Best,
    Jacob