Hi experts,
My customer want to know What is the different between CLKDIV and HSPLCKDIV of EPWM module? They only need half the SYSCLK, so which register is best to use?
BR
Jim
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.
Hi experts,
My customer want to know What is the different between CLKDIV and HSPLCKDIV of EPWM module? They only need half the SYSCLK, so which register is best to use?
BR
Jim
Another question is that which supply powers voltage reference circuit of ADC module? VDDA of Vreg?
Is there a internal LDO for the voltage reference circuit?
Thanks!
Hi Jim,
To answer your first question, the EPWMCLK is equal to SYSCLK on F280013x (120 MHz). Each EPWM module has its own TBCLK that is derived from EPWMCLK, using the CLKDIV and HSPCLKDIV dividers in the TBCTL register. By default, HSPCLKDIV is 1/2 and CLKDIV is 1/1, so TBCLK will be equal to 1/2 of EPWMCLK by default. Refer to this excerpt from the TBCTL register to configure your desired TBCLK frequency:
I will loop in an ADC expert to assist with your second question.
Thank you,
Luke
Another question is that which supply powers voltage reference circuit of ADC module? VDDA of Vreg?
Is there a internal LDO for the voltage reference circuit?
The internal ADC voltage reference circuit is powered by VDDA, just like the ADC and CMPSS modules. It is a buffered fixed voltage reference circuit. This internal reference is available in all packages except the 32-pin QFN (RHB) variant, which uses VDDA directly as a voltage reference for the ADC.
To be clear - although the circuit that generates VREFHI-internal is powered by VDDA, VREFHI != VDDA, except for the 32-pin QFN package. In the case of 32QFN, the internal reference circuit is permanently turned off and VDDA is directly connected to the VREFHI line.