Hi. Can you tell me how many bits is the PWM period register of PAC52xx?
Hi Winter, will be happy to help you with your question regarding PAC52xx ARM Cortex M0 PWM Timers. The MCU inside all PAC52xx devices contains four PWM Timers (TIMERA, TIMERB, TIMERC and TIMERD). All of these timers revolve around a 16 bit counter, which is what you refer to as the PERIOD register. In parallel to this, these TIMER modules contain a series of 16 bit Capture Compare Registers (CCR’s) which can be used to generate PWM outputs as well as obtain Input Capture functionality. TIMERA has 8 CCR’s, TIMERB has 3 CCR’s, TIMERC has 2 CCR’s and TIMERD has 2 CCR’s. Hope the info helps!