We want to use PAD_GPIO01 (PWM2) to generate 2MHz output
We use memtool set register to generate 2MHz
1.Set CCM_CCGR4 to enable pwm2 clock
2.Set PAD_GPIO01 to PWM mode
3.Set PWM2 register, I try to set PWM Sample Register and PWM Period Register to generate output,but I can't understand how to generate 2MHz output
here are my questions1.Can imx6 PWM support 2MHz output?
2.How to set?