Hi Shai,
I have been checking your CTIMER configuration. Remember the matchValue is the value where the counter is gonna trigger the interruption.
The bus timer, in this case, is 16MHz because the default configuration is not setting a divider. Also, remember that this value should have a count of the period.
You are looking for a frequency of 28.5Khz, so it should be 16Mhz/28.5Khz=561 and could the period it should be 280.
ctimer_match_config_t matchConfig;
matchConfig.enableCounterReset = true;
matchConfig.enableCounterStop = false;
matchConfig.matchValue = BUS_CLK_FREQ / 280;
matchConfig.outControl = kCTIMER_Output_Toggle;
matchConfig.outPinInitState = false;
matchConfig.enableInterrupt = false;
Please let me know if you are still facing this issue.
Regards,
Mario