Posting this to migrate from an email to e2e for support:
Where in the code could we change the outputs for the PWMs on pin 86, 83, and 10 on the processor?
We have some problems with these signals on our custom board and would like to see if there is a way to change the output signals of these pins.
---------------------------
This is all done through the HAL interface.
I recommend you read this tutorial
C:\ti\motorware\motorware_1_01_00_13\docs\tutorials\motorware_hal_tutorial.pdf
---------------------------
Our goal is to make the PWM B-side independent due to our hardware design. I try to follow your suggestion and make the following changes:
In the function: HAL_setupPwms(), we comment out
// setup the Action-qualifier Continuous Software Force Register (AQCSFRC)
// PWM_setActionQualContSWForce_PwmB(obj->pwmHandle[cnt],PWM_ActionQualContSWForce_Set);
And replace it with:
if(cnt == 0)
{
PWM_setActionQual_CntUp_CmpB_PwmB(obj->pwmHandle[cnt],PWM_ActionQual_Clear);
PWM_setActionQual_CntDown_CmpB_PwmB(obj->pwmHandle[cnt],PWM_ActionQual_Set);
}
We verify with the scope that it does not work; we still have a constant high signal on the B side.
can you tell us if we miss anything ?