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.

CC2650 ADC triggered by timer

Other Parts Discussed in Thread: CC2650

Hi,

I am using cc2650 and I want to configure the ADC to be triggered by a timer.

Any one have an example describes how to config and init the ADC and the Timer?

Best Regards

Amir

  • Hi Amir,

    Currently, TI-RTOS does not have support for ADC drivers and examples for CC2650.

    I found this CC2650 ADC example post in the device forum: e2e.ti.com/.../1433112

    Does this help?
    Vikram
  • Hi Vikram,

    I already had a look to this example.

    It doesn't help so much, I want to trigger my ADC automatically by timer and not manually by loop and task sleep.

    Thank you.

    Amir 

  • Hi Amir,

    Unfortunately, we do not have support for ADC drivers in TI-RTOS. You can start with the example and enhance it to meet your requirements.

    I would suggest looking at TI-RTOS GPIO, UART and other drivers which can be used as a reference for the development of your ADC driver. The drivers source code are available in the path: <tirtos_dir>/products/<tidrivers_dir>/packages/ti/drivers.

    Also, you can refer to the TI-RTOS documentation (<tirtos_dir>/docs/Documentation_Overview_cc13xx_cc26xx.html) for Kernel APIs such as Timer, Hwi and Clock.

    We would be glad to help if you have any questions regarding TI-RTOS APIs. Please open a thread and post your question.

    For questions regarding CC2650 driverlib APIs, please post your question in the CC2650 device forum.

    Vikram