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.

intergrating CC2540 with an exteral microcontroller

Other Parts Discussed in Thread: CC2540

Hi,

I am a beginner in embedded programming and working and struggling to find a starting point

I am working on project where I am required to use CC2540DK as the master which sends and recieves data from an external microcontroller (with Modbus).

Please suggest me which BLE examples would be helpful in guiding me to start.

Is this going to be a Dual Device configuration?

Thank you,

Smriti

  • Hi Smriti,

    Btool is PC application that drives CC2540 master with serial commands. You can look at the log there and see if your controller can send those commands. In this case just load CC2540 with hostTestRelease hex file.

    Another option is start with SimpleBleCentral and add in custom serial API. 

    http://processors.wiki.ti.com/index.php/SimpleBLEPeripheral_SerialInterface

    There is overview of some options here

    http://processors.wiki.ti.com/index.php/CC254X_WITH_EXT_MCU

    Dual Mode Bluetooth is a chip which support both bluetooth classic and bluetooth LE.  CC254x is single mode only - BLE.

    BR,

    Greg

  • Hi Greg,

    Thank you for your reply.

    I have started working with SimpleBLECentral project but have an issue while compiling. It gives an error "Fatal Error[e72]: Segment SLEEP_CODE must be defined in a segment definition option (-Z, -b or -P) "

    what can I do to fix it?

    I am using "IAR ver 8.3" and am using "CC2540DK ver 1.8.1.3"  with "CC2540F256_banked " is the linker file .

    Please help me with this.

    Thank you,

    Smriti