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