This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BeagleBone GPIO example

Hello,

I try to understand GPIO example to change LED (GPIO1_23) to GPIO1_6.

I stop on "GPIO1Pin23PinMuxSetup();" function

I found it in GPIO.C and i have "HWREG(SOC_CONTROL_REGS + CONTROL_CONF_GPMC_A(7)) = CONTROL_CONF_MUXMODE(7);"

with hw_control_am335x.h and soc_am335x.h I find "0x44E10000+0x868 = 7"

In AM335x datasheet (http://www.ti.com/lit/ug/spruh73j/spruh73j.pdf) page 1171 I understand we put 7 in this register so bit0,1,2. Is it correct and what is order to do this ?

On page 1115 I have for offset 868h conf_gpmc_a10. What is a10 ?

Thanks