Hello ,
I am using the LPC54628 (OM13098 board). I am using PWM using the SCTimer.
I am able create custom PWM waveform using "SCTIMER_CreateAndScheduleEvent"
I intent to change the duty cycle/period based on condition in the system.
When I try to update the MATCH register, I get a hard fault.
I have stopped the counter by setting "HALT_L" in CONFIG register before updating MATCH value.
Are there any other condition need to checked/updated before updating MATCH register
I suspect some condition which is not allowing to write to MATCH register.
regards,
Hemanth