My rk3566 development board has two more pwm, respectively pwm11(PWM11_M0),pwm14(PWM14_M0);
wiringPi.h seems to define only RK3566_PWM2_BASE, RK3566_PWM3_BASE; How to make it support other pwm?
error log
[root@Nscreen64p:/home]# gpio pwm 2 1
wiringPi: wiringPiSetup called
piBoardId: Revision string: BOARD=nscreen64p-sbc
piBoardId: Board string: nscreen64p-sbc.
piBoardId: model = 42
read 0xbf from [0xfdc20144]
read 0 from [0]
>>functionsunxi_pwm_set_mode,no:2691,mode? :0x0
write 0 to [0]
read 0 from [0]
read 0 from [0]
SUNXI_PWM_CTRL_REG: [0]
SUNXI_PWM_PERIOD: [0]
read 0 from [0]
gpio: CCR should be less than or equal to ARR (0)
It is possible that I understand wrong, but now the pwm does not work properly, how should this be solved?
My pwm11 is PWM11_IR_M0 which is gpio nubmer for 110, if I change gpio nubmer to 144 and it is PWM11_IR_M1 then I can control the pwm normally
error log