Welcome, Guest

Author Topic: CS-E9302 connect to MOD-IO via i2c  (Read 4766 times)

lambim

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
CS-E9302 connect to MOD-IO via i2c
« on: July 15, 2013, 03:01:46 PM »
Hi ,
I am doing a project with Olimex CS-E9302 board.My main purpose is to connect the board (9302) with Olimex MOD-IO board (the one with 4 Relays) and control the Relays.I decided to use i2c bus to connect the two boards(I am using UEXT cable). I have successfully installed and boot Linux on 9302 board(I've download last stable kernel from kernel.org ,then added all i2c modules in kernel config and then built the kernel).Default address of the MOD-IO should be 0x58. Using the command i2cdetect -y 0   I am checking the status of bus 0 but noting appears.:

                0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
           00:          -- -- -- -- -- -- -- -- -- -- -- -- --
           10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
           20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
           30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
           40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
           50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
           60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
           70: -- -- -- -- -- -- -- --       

When I try to check status of bus 1 using i2cdetect -y I get an error ( Error: Could not open file `/dev/i2c-1' or `/dev/i2c/1': No such file or directory).
I checked again user manual for EP9302 (in the Olimex web site) and I saw on page 13 (where UEXT is described) that pins 5 and 6 have signal name H2 and H3 and that i2c is not supported , but in the BOARD FEATURES on page 2 is described that there is i2c :
(UEXT connector with I2C, SPI, RS232 and power supply for
connecting add-on modules like RF link, MP3, etc available from
Olimex;)

 I will be grateful if someone you give me some idea or guide me what to do to enable i2c for 9302?
 Thanks.
 Best regards,
 Dimitar.