April 19, 2024, 03:36:51 AM

Using i2c to access MOD-IO

Started by BIG-L, March 06, 2014, 11:03:03 PM

Previous topic - Next topic

BIG-L

Need a little help understanding the output from i2cdetect -y

root@A20:~# i2cdetect -y 0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --                         
root@A20:~# i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 51 52 53 54 55 56 57 -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --                         
root@A20:~#
root@A20:~#

was expecting to see a bus at 58.

New to the A20, I2C and UEXT -

Need a patient mentor!!

Old Dog - new tricks etc!

:)


dave-at-axon

Hi there,

I had an issue with the MOD-IO where I could not get it to be detected.

I had to hold down the BUT switch and cycle RESET so that configures itself to 0x58. I would have though it would be set to this from the factory but apparently not and by doing the BUT, it works now.

The documentation for this board is very poor and the only information on how to communicate with it is via reading the source code. That's where I found out about the BUT on reset.

Hope this helps?