MX31ADS: I2C1 bus
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
Quoted 12 lines · llandre
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 */
#defineCONFIG_HARD_I2C1
#defineCONFIG_I2C_MXC1
#defineCFG_I2C_MX31_PORT11
#defineCFG_I2C_SPEED100000
#defineCFG_I2C_SLAVE0xfe
Quoted 4 lines
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
Signature · 5 lines
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