4

Good morning.

I am attempting some low-level assembly coding for Raspberry Pi. Using the BCM2835 Peripherals Doc, I have successfully been able to work with the GPIO controller on my RPi Model B rev. 2.0 to turn the "ACT" LED on (which I know is raw pin number 16), but I want to use this to interact with physical GPIO pins on the board. Seeing as there is no way the physical pin numbers are the same as the raw pin numbers for the BCM2835, I was hoping there would be a resource explaining what the raw pin numbers would be. Sadly, I haven't found one yet. Could someone point me toward a resource like this or potentially list them out?

Thanks!

1 Answer 1

3

After doing a bit of research, as well as testing things out, I discovered that I was misinterpreting what I was hearing about physical pin numbers. The GPIO Pin numbers listed in official pinouts as GPIO## or BCM## do actually correspond to the raw GPIO pin numbers for the Broadcom SoC.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.