Tool/software: Code Composer Studio
Hi everyone,
From the training video, it illustrate the EADC module is 9 bit signed register(ERROR_VALUE) which is fed into CLA filter for compensation calculation
but in the PFC EVM , the voltage loop should produce 10 bit I ref value for DAC register( because DAC is 10 bit)
but as for current sensed result (EADC) it is still 9 bit value , I can't find where is the " shift " operation for the ERROR_VALUE.
the Current sensed value should be 10 bits for DAC subtraction.
I doubt that is the EADC module while it confront with DAC module,it is hard wired line
which take the EADC value (which is 10 bit ABS_VALUE, automatic calculate from the module ,and pass the DAC module ) instead of ERROR_VALUE?
thanks for kindly reply,
Tom Chen