Hello Alice,
MCUXpressoIDE 11.4.1 - MacOS version
SDK 2.10.1
I am enclosing a simple example. In the generated file peripherals.c (line 128), the CTIMER_SetupPwmPeriod function has the last argument set to false.
Another BUG: For Timer in Capture mode it is not possible to change the "mode" field (screen in the attachment) in the structure:
const ctimer_config_t CTIMER2_config = {
.mode = kCTIMER_TimerMode,
.input = kCTIMER_Capture_0,
.prescale = 0 };
Regards,
Daniel