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.

RTOS/ADS1220: ADS1220

Part Number: ADS1220
Other Parts Discussed in Thread: CC1350, , ENERGIA, LAUNCHXL-CC1350

Tool/software: TI-RTOS

HI...

can any one help me  how to port ADS1220 ARDUINO library to cc1350 with spi communication?

  • Hi Sai,

    Are you using the LAUNCHXL-CC1350 LaunchPad?  TI uses Energia, and many of the same protocol between Arduino and Energia are the same.  Are you using code composer studio (CCS)?  There is a cloud version on:

    https://dev.ti.com/

    You can create an Energia project in CCS and integrate the ADS1220 Aurduino code into the project.  TI did not develop the Arduino code for the ADS1220 and I'm only slightly aware of it, but from what I remember you should be able to easily integrate the code into the Energia project.

    Best regards,

    Bob B

  • hi Bob..

    thanks for replay..

    I am using code composer studio (ccs).
    Energia is for msp430 controller want to port it into cc1350.

    -> can i get any bare metal code for spi for cc1350.

    thanks ,
    sai
  • Hi Sai,

    I suggest using CCS on dev.ti.com. You can use Energia for more than just MSP430 devices. From CCS you can create an Energia sketch from the File drop down menu and select New Energia Sketch. The dialog box for creating the project will open so you can select the CC13XX board and CC1350 device LaunchPad. To see an SPI example, you can choose from the start examples the 'BarometricPressureSensor.ino' under SPI in the lower half of the projects dialog box in the folder 'Platform Library Examples'. This example should show how to setup and use the SPI. For the CC1350 you would have to change the pin assignments appropriately.

    Best regards,
    Bob B