[beagleboard] Re: Help with I2C on BBB in Debian

2013-11-01 Thread smith . winston . 101
On Saturday, October 26, 2013 2:38:27 PM UTC-4, Joshua Datko wrote:


 In the default Debian imagine, can any I2C bus be used from the P9 
 expansion header, without rebuilding the kernel?  If so, which pins?  (19  
 20, or 17  18?)

 When I run i2cdetect, I have two I2C buses, but I'm not sure which buses 
 they map to on the BBB:


See:

https://groups.google.com/forum/#!msg/beagleboard/v9r8UkN7klk/h3rFKFJDLnUJ
 

-- 
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/groups/opt_out.


Re: [beagleboard] Re: Help with I2C on BBB in Debian

2013-10-31 Thread Joshua Datko
Thanks Maycon,

That did the trick.

Josh


On Sun, Oct 27, 2013 at 8:53 AM, may...@magsoft.com.br wrote:

 Sory, please read...
 echo BB-I2C1  /sys/devices/bone_capemgr.??**??/slots
 Maycon


 On Sunday, October 27, 2013 12:50:32 PM UTC-2, may...@magsoft.com.brwrote:

 The Debian maps the i2c-0 to i2c0, and i2c-1 to i2c2, if you use
 echo BB-I2C2  /sys/devices/bone_capemgr.??**??/slots
 this enables i2c-2 maped to i2c1 on BBB in all cases the bus is
 configured with pull-ups, be careful with
 capacitance in line, long wires can add...
 i2c0 - internal
 i2c1 - pins 17-18
 i2c2 - pins 19-20
 Maycon

 On Saturday, October 26, 2013 4:38:27 PM UTC-2, Joshua Datko wrote:


 In the default Debian imagine, can any I2C bus be used from the P9
 expansion header, without rebuilding the kernel?  If so, which pins?  (19 
 20, or 17  18?)

 When I run i2cdetect, I have two I2C buses, but I'm not sure which buses
 they map to on the BBB:

 i2c-0 i2c OMAP I2C adapter I2C adapter
 i2c-1 i2c OMAP I2C adapter I2C adapter

 Assuming I have a working I2C slave device, if I wire SDA to P9_20, SCL
 to P9_19, 3.3V power to P9_3, GND to P9_1, would one expect the device to
 show up on the i2c bus (the breakout board already has a pull-up resistor)?

 Josh

  --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups BeagleBoard group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/beagleboard/7reYt7Tmdjs/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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/groups/opt_out.