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.

TI-RTOS ADC driver on MSP430

Other Parts Discussed in Thread: CC3200

Hello, 

TI-RTOS user guide does not mention ADC driver.

Is there any other resource on how to use ADC in a multi threaded environment ?

Thanks

  • Unfortunately we do not have a write-up for this yet. We are working on a "How to move bare-metal code to TI-RTOS" but it is not completed yet.

    Todd
  • Understood.

    In the mean time can you give some guidelines/recommendations/references/demos/anything else  as how to interface the ADC ?

    Would you recommend to follow 'standard' driverlib demos ? What should be modified in these demos to be 'TI-RTOS compliant' ?

    Thanks for any advice.

  • The main things are
    1. The TI-RTOS kernel manages the interrupts, so don't use the driverlib interrupt management APIs.
    2. The kernel, by default, uses a timer to drive it's internal timing (e.g. Semaphore_pend with a timeout). If you need timing things, you might be able to utilize the kernel's Clock module.
    3. The kernel sets up much of the system stuff (e.g. plls, etc.) so you don't have to.

    I know this is for a different device (cc3200), but we have this project were we did ADC driver in an TI-RTOS application. processors.wiki.ti.com/.../ZumoRemote

    Todd