beagleboard / linux

The official Read Only BeagleBoard and BeagleBone kernel repository https://git.beagleboard.org/beagleboard/linux
http://beagleboard.org/source
Other
707 stars 565 forks source link

I can't get the servo outputs to work on a beaglebone blue with 5.10.168-r75 #285

Closed snppla closed 6 months ago

snppla commented 6 months ago

I have a buildroot system with 5.10.168-r75 of this kernel and using the am335x-boneblue.dts device tree file that's part of it. I'm targeting the beaglebone blue. The PRU_gpioToggle is the same way that I'm trying to toggle these pins. I am not able to pick up any signals off the servo connectors in either case using a logic analyzer.

It seems like to me that the pinmux is not being set correctly. I see the servo_pins sections of the dts file and it seems to set the 8 pins to mux_mode5 and pinoutput. It's also commented " Servo Output Pins via PRU, so that implies to me it should be ready to go. Could there be a driver or other configuration interfering the the pinmux of these pins?

snppla commented 6 months ago

I figured out what I needed to change in the device tree in the newer kernels to get the servos to work.