PWM with DSP 28335
Submitted by diosjireh on Mon, 11/19/2012 - 07:53
I have a problem I created a small program using a DSP Spectrum pwm Dgital F28335, I attached a picture of the internal settings of VisSim Delfino F2833. My problem is that I see my pulse on the oscilloscope for this PWM and connect the tip of the oscilloscope to GPIO0_EPWM1A (PIN 9) and GPIO0_EPWM1B (PIN 10) and I can not see any PWM pulse on the oscilloscope. Please tell me if there is a problem in my configuration of the DSP or in my program VisSim. The DSP I'm using is the F28335 eZdsp.
Thank you.
Answers
-
Submitted by Anders89 on Mon, 11/19/2012 - 19:26.
Please attach your .vsm program.
0 -
Submitted by diosjireh on Mon, 11/19/2012 - 21:00.
Ok, this is my program VisSim.
Thanks
0 -
Submitted by Anders89 on Mon, 11/19/2012 - 21:31.
Sorry, but I don't see an attachment. You can send it to support@vissol.com if that is easier.
0 -
Submitted by diosjireh on Mon, 11/19/2012 - 21:49.
ok I will send you an email with the program. vsm, my email is joga033@hotmail.com
0 -
Submitted by Anders89 on Wed, 11/21/2012 - 04:57.
OK, it works fine for us. We did make a small change. You did not turn on System > System Properties... > Run in Real Time
You also did not have Auto Restart enabled, so he diagram would only run for a short time, then turn off the MCU and put the PWMs in reset.
The attached file below has Run in Real Time, Auto Restart, and Retain State enabled. This should give you the PWM signals on your scope.0