PWM duty cycle =A/B, where:
A = PWM value in decimal
B = 2^ (PWM_SIZE)
PWM frequency = (master clock frequency )/ (B*C*D) , where:
Master clock frequency = 1.024 kHz, 32.764 kHz, 19.2 MHz, or off
C = Divide ratio (1, 3, 5, or 6)
D = 2M (M = 0 through 7)
When PWM APIs are used, the PWM driver calculates and configures the
master clock, divides ratio, M, and resolution to best fit the requested
period.
Use PWM frequency > 100 Hz to avoid flickering.
Use a slow PWM frequency to see blinking.
高通平台PWM calculation
最新推荐文章于 2025-06-17 14:41:05 发布