AnsweredAssumed Answered

Some question about the MPC5643L Reference manual and driver for the MPC5643L dual motor control program

Question asked by Du on Aug 1, 2017

Some question about the MPC5643L Reference manual and driver for the MPC5643L dual motor control program

一、About CTR0 RegisterPage154 of SPC5643L RM):

1

How to understand the OFFSHIFT in this register? What's the meaning of setting up the two bit?

二、About the setting of ADC transiton time

1)In the configuration of the driver of the MPC5643L NXP dual motor control program, does the ADC sampling cycle pass Register MCR->ADCLKSEL to set up?

 2)The ADCLKSEL bit reference manual reads as follows:

Problem 1: if this bit is set to 1, then the AD clock frequency is equal to the motor's control clock frequency. The question is, is the motor clock frequency the PWM cycle?

Question two: is the AD CLK frequency mentioned above the ADC sampling cycle?

 三、The function void FOC_Fast_ISR(void

Void FOC Fast_ISR (void), that is, IRQ_206, that is, the interrupt trigger for ADC, the question: is the frequency triggered by this interrupt the ADC sampling cycle? If not, how do you set it up?

Outcomes