Hi, I'd like to use my F28035 Development Kit to perform some of the Labs in the DPS Workshop v.1.2.
To this purpose I downloaded the ZIP file that include all the workshop projects (from here
http://processors.wiki.ti.com/index.php/C2000_DPSWorkshop). I'm using CCS v5.5.0.
In the Lab2 a project is proposed concerning open loop control for two buck converters with over current limitation. To simulate the same hardware setup as it is described in the lab2, I fed the ADC input ports (A0-A1-A5-A6 and B1) with voltages that simulate a specific set of voltages and currents of the bucks (I checked the .xls calculation file for this part). As a first try, I decided to set the voltages that simulate the inductor currents (ADC A1 and A5 inputs) to be 0, in order to be sure that the implemented over current protection is inactive,
In the debugging view I setted the Real Time mode with continuous refresh. At the beginning the FaultFlg1 and 2 are both 1 indicating overcurrent issues, then when I try to clear them (by setting ClearFault1=0, ClearFault2=0) I noted that FaultFlg1 remains 1, while FaultFlg2=0. So when I change the duty cycle 2 from 0.0 to 0.05 I have the right PWM from ePWM2A but nothing from ePWM1A.
So I modified the "DevitInit" and the "PWM_1ch_Cnf" files to route the PWM signal to ePWM1B instead of ePWM1A and now I can see the correct PWM signals exiting from GPIO00 and GPIO01 pins.
My question is: why ePWM1A doesn't work properly? This is for sure not an hardware problem since I built and debugged different files that exercise ePWM1A on GPIO00 and all of them generate a corrent PWM waveform. Are there anyone that experience the same problem (even for different project files) ? Is there something that I missed to insert or that I have to modify?
Thank you very much-