Hello
I want to use the Radxa Zero for teaching robotic and i build a camera guided robot with this board.
I went in trouble with the PWM to control the DC motor via an optocoupled driver (DFrobot DRI0041).
One PWM work well but the level is low: 1.12V high: 3.2V it is on pin 40 - GPIOAO_11. The other is on pin 18 - GPIOX_8, when nothing is connected the level is good (0-3.3V) but when connecting the driver levels are : low 1.4V and it is not detected as 0.
I have inverted the 2 inputs of the driver. They work well with pin40 but not pin18.
I try to play with drive strength but the devicetree is not my cup of tea… I try this ( but doing that don’t change anything).
/dts-v1/;
/ {
compatible = “radxa,zero\0amlogic,g12a”;fragment@0 { target = < 0xffffffff >; __overlay__ { status = "okay"; pinctrl-0 = < 0xffffffff >; pinctrl-names = "default"; clocks = < 0xffffffff >; clock-names = "clkin2"; }; }; fragment@1 { target = <0x95>; __overlay__ { mux { groups = "pwm_c_x8"; function = "gpio_periphs"; bias-disable; drive-strength-microamp = <4000>; }; }; }; __fixups__ { pwm_cd = "/fragment@0:target:0"; pwm_c_x8_pins = "/fragment@0/__overlay__:pinctrl-0:0"; xtal = "/fragment@0/__overlay__:clocks:0"; };
};
The amlogic documentation is to leak to find the trouble.
Have you an idea to solve the issue ?
Thanks for your work on this amazing board, best regards