Hi sir
I use LPC804's P0.18 to be PWM output. and use the SDK in the test, it is found that when the program is executed( base->PWMC |= (1UL << (uint32_t)matchChannel);), it will output high level.
Very strange phenomenon, this high level is not acceptable.
tks a lot for your support.
Remark:
1:SDK Version:SDK_2.9.0_LPCXpresso804
2:Project:SDK_2.9.0_LPCXpresso804\boards\lpcxpresso804\driver_examples\ctimer\simple_pwm
3:base->PWMC |= (1UL << (uint32_t)matchChannel) in status_t CTIMER_SetupPwmPeriod(CTIMER_Type *base,
const ctimer_match_t pwmPeriodChannel,
ctimer_match_t matchChannel,
uint32_t pwmPeriod,
uint32_t pulsePeriod,
bool enableInt).
Hello
Hope you´re well. Unfortunately, this is expected behavior as the User Manual suggests:
I apologize for the inconvenience this may cause you, if you have further questions do not hesitate to ask me.
Best regards,
Omar