* [U-Boot-Users] MX31ADS: I2C1 bus
@ 2008-06-06 8:46 llandre
2008-06-09 20:14 ` Robert Schwebel
0 siblings, 1 reply; 2+ messages in thread
From: llandre @ 2008-06-06 8:46 UTC (permalink / raw)
To: u-boot
Hi Sascha,
I downloaded current u-boot repo to perform a simple test on MX31ADS: I
just have to verify that an I2C component connected to JP13 is detected
by U-Boot (iprobe).
So I enabled the I2C support in MX31ADS config file:
/* I2C */
#define CONFIG_HARD_I2C 1
#define CONFIG_I2C_MXC 1
#define CFG_I2C_MX31_PORT1 1
#define CFG_I2C_SPEED 100000
#define CFG_I2C_SLAVE 0xfe
U-Boot builds and boots fine however, when issuing iprobe command, SDA
and SCL lines are stuck at ~2.1V. JP6 and JP7 are both in 2-3 position.
Am I missing something?
TIA,
llandre
DAVE Electronics System House - R&D Department
web: http://www.dave.eu
email: r&d2 at dave-tech.it
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] MX31ADS: I2C1 bus
2008-06-06 8:46 [U-Boot-Users] MX31ADS: I2C1 bus llandre
@ 2008-06-09 20:14 ` Robert Schwebel
0 siblings, 0 replies; 2+ messages in thread
From: Robert Schwebel @ 2008-06-09 20:14 UTC (permalink / raw)
To: u-boot
On Fri, Jun 06, 2008 at 10:46:16AM +0200, llandre wrote:
> I downloaded current u-boot repo to perform a simple test on MX31ADS: I
> just have to verify that an I2C component connected to JP13 is detected
> by U-Boot (iprobe).
> So I enabled the I2C support in MX31ADS config file:
>
> /* I2C */
> #define CONFIG_HARD_I2C 1
> #define CONFIG_I2C_MXC 1
> #define CFG_I2C_MX31_PORT1 1
> #define CFG_I2C_SPEED 100000
> #define CFG_I2C_SLAVE 0xfe
>
> U-Boot builds and boots fine however, when issuing iprobe command, SDA
> and SCL lines are stuck at ~2.1V. JP6 and JP7 are both in 2-3 position.
>
> Am I missing something?
That looks like u-boot-v1. Sascha maintains the u-boot-v2 tree, which
hopefully doesn't have any such #define cruft any more :-)
The v1 port was done by Guennadi Liakhovetski.
rsc
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hannoversche Str. 2, 31134 Hildesheim, Germany
Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-09 20:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-06 8:46 [U-Boot-Users] MX31ADS: I2C1 bus llandre
2008-06-09 20:14 ` Robert Schwebel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox