[i2c] MAX1236 with smbus (CS5536 ACB0)

Andreas Seidler tetzlav at leipzig.freifunk.net
Mon Oct 13 03:20:48 CEST 2008


I want to connect a MAX1236 (ADC) [1] to a I2C/SMBus in a
PC-Engines/ALIX board to monitor some voltages.
This board have a AMD geode CPU with an an I2C companion (scx200_acb.c).

>   Installed I2C busses:
>     i2c-0       smbus           CS5536 ACB0
> root at OpenWrt:/# i2cdetect -F 0
> Functionalities implemented by /dev/i2c-0:
> I2C                              no
> SMBus Quick Command              yes
> SMBus Send Byte                  yes
> SMBus Receive Byte               yes
> SMBus Write Byte                 yes
> SMBus Read Byte                  yes
> SMBus Write Word                 yes
> SMBus Read Word                  yes
> SMBus Process Call               no
> SMBus Block Write                no
> SMBus Block Read                 no
> SMBus Block Process Call         no
> SMBus PEC                        no
> I2C Block Write                  yes
> I2C Block Read                   yes
> root at OpenWrt:/# i2cdetect -y 0
>      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
> 00:          -- -- -- -- -- -- -- -- -- -- -- -- --
> 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> 40: -- -- -- -- -- -- -- -- -- -- -- -- 4c -- -- --
> 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> 70: -- -- -- -- -- -- -- --    

but i cant access the MAX1236 on slave address 0x34.
(0x4c is the onbard LM90)

Does "I2C no" means the CS5536 is a plain smbus without i2c support?


Regards
Andreas



More information about the i2c mailing list