|
Hi!
I have some problems with programming F28335 chip by Simulink.
I opened sample project for my processor: c28335pwmtest, but it doesen't work proper: on ePWM outputs I didn't get any signals. I changed this program: timer period is set by dialog (not by input port). I set up it for constant value 10000 and I set up initial value in CMPA for 5000, but CMPA source is set to input port. For this input port I have attached constant block with 8000 value (like in example project). I can download this program and run it, but I don't get proper working program: on scope in ePWM1a pin i get PWM signal, but with filling 50% (like initial value), I can change this value in program and I get other filling, but I should get filling from input port, not from initial value... When I change value in constant block - it don't make any results in program - it looks like ePWM is initialized by initial value and later it isn't updated any time. I was trying check all
options in ePWM block, but I don't find any solution.
Does anybody had similar problem? What am I doing wrong?
About my software: I have Matlab R2008b, CCStudio 3.3 with SP12 and I have installed other updates (DSP/BIOS, CGTool etc)
Best regards!
Pawel
|