This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Step 9 Initialize required macro blocks. Edit the function “DPL_Init” in the above ISR file to
add calls to the initialization code in each macro file. Each call is invoked with a number to identify
the unique instance of that macro block. For example, to create an instance of the 2P2Z control
block with the identifier “1”:
CNTL_2P2Z_INIT 1
Step 10 Edit the assembly ISR to execute the macros in the required order. Edit the function
“DPL_Run” to add calls to the run time routine of each macro and instance being used in the
system. In the example above the first instance of a 2P2Z control macro would be executed by:
CNTL_2P2Z 1
这两步到底是什么意思啊,如何用
controlSUITE\development_kits\TemplateProjects_<ver. No.>\
DPLibTemplate-<device_name> _<ver. No.>修改呢
还有我可不可以重复调用一个函数,例如PWM DRV_1 ch
只是让他从不同的EPWM口输出?
谢谢您的解答。
关于利用sprac85\controlSUITE\development_kits\TemplateProjects\DPLibv3Template-F2802x的工程来快速建立新工程的时候
是否将函数PWM_1ch_CNF(1,600,1,0);改为PWM_1ch_CNF(2,600,1,0);就应当由ePWM2A出波形啊?为何就是不行呢?。。。