Control task not working since the HRTIM revision, and TWIST V1.3 support is missing
The control task seems to not work properly since the last merge request introducing generic power driver. In hrtim.c, The function returning the master timer period in µs use frequency which is uint32 instead of period which is uint16 :
uint16_t hrtim_period_Master_get()
{
return timerMaster.pwm_conf.frequency;
}
uint32_t hrtim_period_Master_get_us()
{
return timerMaster.pwm_conf.frequency * HRTIM_CLK_RESOLUTION;
}
And twist V1.3 is not compatible with the current power driver, we need to add the support.