Mike: You can refer the the Pocket's pins in a couple of ways. If you are using Python or Bonescript you can refer to them as P2_2, for example. So that's the 2nd pin on the P2 header. If you look at the top side of the Pocket (the side with the parts on it), you see the P1 and P2 labels and pins 1, 2, 35 and 36 are also labeled. Be careful though, because some of the pins are multiplexed by default to other functions. If you want to use them as GPIO run "*config-pin P2_2 gpio*"
You can also refer to the pins by their */sys/class/gpio* number. Flip the Pocket over and you see P2_2 is also 59. You can use it via: bone$ *cd /sys/class/gpio* bone$ *echo 59 > export* bone$ *cd gpio59* bone$ *ls* bone$ *echo out > direction* bone$ *echo 1 > value* If there is an LED connected to GPIO 59 it should light up. GPIO59 is also referred to as GPIO*1_27*, which is pin 27 on GPIO port 1. 59 = 1*32+27. If you are using mmap you have to refer to pins this way. Does this help? --Mark On Thursday, November 9, 2017 at 7:32:02 AM UTC-5, [email protected] wrote: > > Hi, > > I'm currently evaluating if an existing BBB-design can be used on the new > PocketBeagle but have some troubles assigning the different signals on > connector to each other. > > I know the BBB Expansion Header pinout from > https://elinux.org/Beagleboard:Cape_Expansion_Headers and already found > some similar for the PocketBeagle at > https://raw.githubusercontent.com/wiki/beagleboard/pocketbeagle/images/PocketBeagle_pinout.png > > I could identify some of the signals but have troubles with the GPIOs. For > BBB they are named GPIOb_p where "b" is the GPIO-"bank" and "p" then pin > number. For the PocketBeagle they are just numbered in range 2..117. > > So my question: is there an assignment between these pin numbers available > where one can find out which PocketBeagle GPIOs belong to which AM3358 GPIO > signals? > > Thanks! > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/d36f814d-98af-441c-90df-a32638f9a4a7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
