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.
Tool/software: Code Composer Studio
Hi,
I am using the example code "adc_soc_epwm_cpu01" for TMS320F28379D DSP. How can I set the sampling frequency for the ADC? I have found that the following formula is used for doing that.
Tpwm=(TBPRD+1)xTtbclk
In the example code, TBPRD is set to 4096. But what is the value of Ttbclk?
Mohammad Arifur Rahman
Hi,
Mohammad Arifur Rahman83 said:But what is the value of Ttbclk?
Depends on the pre-scalar values. Refer this post:
TMS320F28375D: PWM max freq - C2000 microcontrollers forum - C2000™︎ microcontrollers - TI E2E support...
Regards,
Gautam