Variable duty cycle PWM from ADC input using TI C2000 Embedded coder for F28069M Launchpad

조회 수: 18(최근 30일)
I am trying to generate a variable duty cycle PWM controlled by a potentiometer. I am using the "Embedded Coder Support Package for Texas Instruments C2000 Processors" hardware support package in Simulink. The ADC is reading zero even though there is a signal at the analog input port. The images below show the system that I have.
I have also tried the "c280xx_adcpwmasynctest_ert" example file command which results in an unstable output.
How should I resolve this issue? Thanks





Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by