- If you are toggling the GPIO in software, the maximum frequency is limited by your model's step size and CPU speed.
- For accurate PWM, you should use dedicated PWM peripheral blocks provided in Simulink for the F28379D i.e, F2837xD ePWM block.
- These blocks configure the on-chip PWM peripherals, which can generate high-frequency PWM signals independent of the CPU and Simulink step size.
Why Output PWM Frequency in TMS320F28379D Controller dropping after deploying code ?
49 views (last 30 days)
Show older comments
I am using the GPIO DO Block, and the PWM Frequency is 4 kHz. After generating code from Simulink, deploying the Code to the TMS320F28379D Controller, and then observing the PWM frequency on the Oscilloscope, which shows around 1.3 kHz. Why is the PWM frequency dropping?
0 Comments
Answers (1)
Kothuri
on 8 May 2025
The GPIO DO Block which you are using is a Digital Output Block.
Please refer the below documentation for more info on ePWM block:
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!