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.

CCS/DRV8313EVM: DRV8313EVM back-emf sense and link to Insta-spin.h

Part Number: DRV8313EVM
Other Parts Discussed in Thread: DRV8313

Tool/software: Code Composer Studio

Hello;

In the DRV8313EVM given software 

How the sensed 3-phase  back emf linked to the Insta_spin.h file, to implement the insta-spin algorithm? while no adc variable defined in main.c code to pass the sensed back-emf information to Insta_spin.h

The ADC initialization code given below:

void Init_ADC ()

{
ADC10CTL0 |= SREF_1 + ADC10SHT_2 + ADC10ON + ADC10IE + REFON + REF2_5V;
ADC10CTL1 = INCH_6 + CONSEQ_1 + ADC10SSEL_2 ; // Sequence of channels upto A6
ADC10AE0 |= 0x40;
}

Reagards

Ajeet