mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Usage of i2c_-Tools in Barebox
@ 2015-05-05 14:56 Marcel Behlau
  2015-05-05 15:54 ` Sascha Hauer
  0 siblings, 1 reply; 7+ messages in thread
From: Marcel Behlau @ 2015-05-05 14:56 UTC (permalink / raw)
  To: barebox

Hi,

i'm using a phyFLEX-i.MX6 SBC and want to communicate with an external 
µC over I2C. I only want to read/set 1 register, so i tried to use the 
builtin i2c_read and i2c_write-Commands. The µC is connected to i2c-bus 
1 of the device, so i tried to probe the hole bus with "i2c_bus 1 3 30". 
The command only answered with "i2c_probe: No such device". I tried also 
the busses 0-3, with the same result. I searched in the board.c 
sourcecode of the phyflex, but couldn't find i2c related stuff, so i 
think, i have to add the initalisation for the i2c.

Do i have to add the i2c-init in the boards/phytec-pfla02/board.c -file? 
Is there some documenation about this stuff?

Thank in advance,

Marcel

-- 
Dipl. Ing (FH) Marcel Behlau
(Software Developer)

ELFIN GmbH
Siegburger Straße 215
50679 Köln
Germany

Tel: +49 (221) 6778932-0
Fax: +49 (221) 6778932-2
marcel.behlau@elfin.de
www.elfin.de


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-05-22  6:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-05 14:56 Usage of i2c_-Tools in Barebox Marcel Behlau
2015-05-05 15:54 ` Sascha Hauer
2015-05-06  7:12   ` Uwe Kleine-König
2015-05-07 11:24     ` Marcel Behlau
2015-05-08  5:12       ` Sascha Hauer
2015-05-20  6:34         ` Marcel Behlau
2015-05-22  6:41           ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox