pin modes on pocketbeagle 2

Dear forum,

What is the method for setting the pin mode(s) on the pocketbeagle 2? The setup guide does provide how to set GPIO pins but there is no clarification on setting pin modes. The old pin-mode command does not seem to work so I guess the overlays won’t work either.

Best, Hans.

i did SPI2 as an overlay and it worked.
as for using gpio pin mode, i’ve not tested yet.

Thanks.
You made your own I guess?

1 Like

kind of, someone else posted the basic here about a week or so ago. i just added the second chip select and tested it.

I do have a pinctl command at fpp/capes/drivers/bb64/src at master · FalconChristmas/fpp · GitHub that FPP uses to flip between GPIO/uart/pruin/pruout. Doesn’t do SPI yet, but it would be fairly quick to add.