July 07, 2020, 09:54:08 am

MOD-IO board not detected

Started by vcozma, June 22, 2020, 05:32:43 pm

Previous topic - Next topic

vcozma

Hi all,

this is my first post here, nice to meet you all !

I try to use MOD-IO and Olinuxino A64, however :

1.
sudo i2cdetect -l 
i2c-0   i2c          DesignWare HDMI                    I2C adapter

( I presume I shoud not touch the i2c-0 bus )


2. and ( no more i2c devices ) :

user@vldreamcomplexturn1:~$ sudo i2cdetect -y 1
Error: Could not open file `/dev/i2c-1' or `/dev/i2c/1': No such file or directory
user@vldreamcomplexturn1:~$ sudo i2cdetect -y 2
Error: Could not open file `/dev/i2c-2' or `/dev/i2c/2': No such file or directory

I have checked the cable, connector , used another board MOD-IO ( there are 2 in this project ).


The status led is blinking each second .

MOD-IO Board is powered at 12V DC .

I there something I need to do to initialize the board ?

I have tried the suggestion from here however I could not get it to work :

https://www.olimex.com/forum/index.php?topic=2866.msg11989;topicseen#msg11989

( or maybe I don't understand it exactly )


Thank you very much !

LubOlimex

June 23, 2020, 09:57:29 am #1 Last Edit: June 23, 2020, 02:49:13 pm by LubOlimex
I tested it today. It seems that UEXT has i2c #1 which is not enabled in the suggested image.

Something shows as 0x30 with

i2cdetect -r -y 0

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

But this is not the MOD-IO.

I think some overlay from here has to be activated:

https://github.com/OLIMEX/OLIMEX-sunxi-overlays/tree/master/sun50i-a64
Technical support and documentation manager at Olimex

LubOlimex

Download the overlay for i2c and enable it with

sudo armbian-add-overlay sun50i-a64-i2c1.dts

reboot and check with

root@olinuxino:~# i2cdetect -r -y 1

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- 58 -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Technical support and documentation manager at Olimex

vcozma

Thank you very much !

Works like a charm ! Made my day !