Thanks A lot! I've been trying to figure out why this was allocated in the 
mux for sometime.

You wouldn't happen to know where the program that is controlling the user 
LEDS is located I want to use them for my own purpose, so I want to remove 
control from whatever program is providing this heartbeat or whatever.
Also, would you know where I can find information on how to load a program 
at startup of debian?

Sorry for all the questions you just seem to know what your talking about,

regards,
Chris
 

On Sunday, 31 August 2014 14:59:21 UTC-4, john3909 wrote:
>
>
> From: halfbrain <adrian....@gmail.com <javascript:>>
> Reply-To: "beagl...@googlegroups.com <javascript:>" <
> beagl...@googlegroups.com <javascript:>>
> Date: Sunday, August 31, 2014 at 2:30 AM
> To: "beagl...@googlegroups.com <javascript:>" <beagl...@googlegroups.com 
> <javascript:>>
> Subject: Re: [beagleboard] Can "allocated pins" on BBB be used as GPIOs ?
>
> how do u use the i2c2 pins? it doesn't work on my bbb if i only change the 
> pinmode to mode 7 in my device tree. have u done additional changes or 
> something like that elsewhere?
>
> If you look at /arch/arm/boot/dts/am335x-bone-common.dtsi you will see the 
> i2c2 definition:
>
> &i2c2 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = 
> <&i2c2_pins>; clock-frequency = <100000>; cape_eeprom0: cape_eeprom0@54 { 
> compatible = "at,24c256"; reg = <0x54>; }; cape_eeprom1: cape_eeprom1@55 { 
> compatible = "at,24c256"; reg = <0x55>; }; cape_eeprom2: cape_eeprom2@56 { 
> compatible = "at,24c256"; reg = <0x56>; }; cape_eeprom3: cape_eeprom3@57 { 
> compatible = "at,24c256"; reg = <0x57>; };};The line “pinctrl-0 = 
> <&i2c2_pins>;” refers to the i2cs_pins label in the pinmux section:
>
>   i2c2_pins: pinmux_i2c2_pins { 
> pinctrl-single,pins = < 
> 0x178 0x73 /* uart1_ctsn.i2c2_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */ 
> 0x17c 0x73 /* uart1_rtsn.i2c2_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */ 
>  >; 
>  }; 
>
> So, as you can see, i2c2 is used to identify the capes plugged into the 
> BBB. If you don’t need this feature, simply remove or comment out this 
> section and then change the i2c2 pins to gpio pins.
>
> Regards,
> John
>
>
> Am Montag, 19. Mai 2014 12:20:03 UTC+2 schrieb Dhruv Vyas:
>>
>> Thanks John. Got it cleared. :)
>>
>> On Monday, May 19, 2014 1:49:16 AM UTC+5:30, john3909 wrote:
>>>
>>>
>>> From: Dhruv Vyas <dhruv....@gmail.com>
>>> Reply-To: <beagl...@googlegroups.com>
>>> Date: Sunday, May 18, 2014 at 2:42 AM
>>> To: <beagl...@googlegroups.com>
>>> Subject: [beagleboard] Can "allocated pins" on BBB be used as GPIOs ?
>>>
>>> Hello,
>>>
>>> I recently started working on my BBB A6A. I went through necessary 
>>> getting started guides and it works like a charm. Now as a part of my 
>>> project, I need to use some of the GPIOs on P8/P9 header. While googling 
>>> how to use them as a GPIO, and how to set pinmux and etc, I went through 
>>> this guide.  
>>> http://derekmolloy.ie/gpios-on-the-beaglebone-black-using-device-tree-overlays/
>>>  
>>> and he explained everything very clearly.
>>>
>>> Now my question is : is there any way i can use allocated pins as GPIOs 
>>> other than available pins ? If yes, how ? If no, why ? 
>>>
>>> For example, P9_19 and P9_20 are Allocated to (Group: pinmux_i2c2_pins) 
>>> and hence it can not be used as GPIOs ?
>>>
>>> If pins are also connected to circuitry on the board that cannot be 
>>> disabled then you cannot use those pins for GPIO. For example, pins used 
>>> for the eMMC can be used for GPIO as long as eMMC is disabled. Same for LCD 
>>> pins, but then you cannot use LCD or HDMI. I2C2 isn’t connected to other 
>>> circuity on the board so you can use it for GPIO. 
>>>
>>> Regards,
>>> John
>>>
>>>
>>>
>>> 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 beagleboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> -- 
> 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 beagleboard...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to