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.

Issues with TMS320F2806x

Other Parts Discussed in Thread: CONTROLSUITE

Hi

My Customer has below queries regarding the TMS320F2806x series controller. Customer has got the controlSTICK for this device and started working with this device.

 

1. Trying ADC in single conversion mode and the trigger to ADC conversion is set by timer0 interrupt . An interrupt will occur on every 100µS. Not able to link the timer0 interrupt to trigger the ADC conversion(single convertion).
 
2. How can CLA use ADC directly, with timer0 interrupt.

 

Thanks

Suman G.

  • Suman Ghosh said:
    1. Trying ADC in single conversion mode and the trigger to ADC conversion is set by timer0 interrupt . An interrupt will occur on every 100µS. Not able to link the timer0 interrupt to trigger the ADC conversion(single convertion).

    Suman,

    Things to check:

    • CPU timer 0 is configured to issue an interrupt
    • ADC trigger is configured in the ADCSOCxCTL register to be TINT0.
    • The CPU timer is running and not stopped

    Suman Ghosh said:
    2. How can CLA use ADC directly, with timer0 interrupt.

    The ADC can start a CLA task.   The flow would be:

    CPU Timer Interrupt -> Start Conversion -> ADC starts CLA task to read the ADC result

    An example is found in controlSUITE (www.ti.com/controlsuite). 

    C:\ti\controlSUITE\device_support\f2806x\v100\F2806x_examples\cla_adc_fir

    The only difference is this example uses ePWM1 interrupt to trigger the ADC.

    Regards

    Lori