I would like to generate a 32KHz with DC of ~50% PWM signal on P2.7.
If I understood correctly from DS, I need the following:
PWMCON = 0x13 (PWMCON to mode 1, counter to Selected CLK/1 and CLK = 16.777216 MHz)
PWM1H = 0x02
PWM1L = 0x00
PWM0H = 0x01
so PWM1H/L=512, and PWM0H/L = 256.