Hello,
is there a way to specify specific front end + CLA + dpwm module for the GUI?
Specifically I would need FE0 + CLA1 + DPWM3
thank you
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.
Hello,
is there a way to specify specific front end + CLA + dpwm module for the GUI?
Specifically I would need FE0 + CLA1 + DPWM3
thank you
Hello,
I had an initial discussion with some other engineers and wanted to know what you are trying to use the GUI for with regards to the configuration of the front end/cla/dpwm? Is this for compensation? which topology?
Amiel
Hello,
We do not have a way to specify those parameters for compensation, however you can use an offline sample project and click the button to see "View Coeff "C" Code" after you've completed tweaking your PID. You can then put it in your firmware with some minor modifications to the filters referenced. Sample output is as follows:
// Bin limits
Filter1Regs.FILTERNL0.bit.LIMIT0 = 8;
Filter1Regs.FILTERNL0.bit.LIMIT1 = 16;
Filter1Regs.FILTERNL1.bit.LIMIT2 = 24;
Filter1Regs.FILTERNL1.bit.LIMIT3 = 32;
Filter1Regs.FILTERNL2.bit.LIMIT4 = 40;
Filter1Regs.FILTERNL2.bit.LIMIT5 = 48;
// Bin coefficient assignments
Filter1Regs.COEFCONFIG.bit.BIN0_CONFIG = 0; //Set A
Filter1Regs.COEFCONFIG.bit.BIN0_ALPHA = 0
Filter1Regs.COEFCONFIG.bit.BIN1_CONFIG = 0; //Set A
Filter1Regs.COEFCONFIG.bit.BIN1_ALPHA = 0;
Filter1Regs.COEFCONFIG.bit.BIN2_CONFIG = 0; //Set A
Filter1Regs.COEFCONFIG.bit.BIN2_ALPHA = 0;
Filter1Regs.COEFCONFIG.bit.BIN3_CONFIG = 0; //Set A
Filter1Regs.COEFCONFIG.bit.BIN3_ALPHA = 0;
Filter1Regs.COEFCONFIG.bit.BIN4_CONFIG = 0; //Set A
Filter1Regs.COEFCONFIG.bit.BIN4_ALPHA = 0;
Filter1Regs.COEFCONFIG.bit.BIN5_CONFIG = 0; //Set A
Filter1Regs.COEFCONFIG.bit.BIN5_ALPHA = 0;
Filter1Regs.COEFCONFIG.bit.BIN6_CONFIG = 0; //Set A
Filter1Regs.COEFCONFIG.bit.BIN6_ALPHA = 0;
Amiel