Clusterboard i2c and Linux
#1
Hello all,

I'm trying to connect an MCP23017 to the i2c bus on one of the Clusterboard's headers (J4) and I'm unable to see it from Linux using i2cdetect:

Code:
jjg@pine64so:~$ sudo i2cdetect -y 0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --                         
jjg@pine64so:~$ sudo 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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --                    
    

I had the same problem interfacing this same chip to a full-size A64 board and resolved it by adding some pull-up resistors to the i2c pins (connecting them to the 3.3v supply as suggested in this thread: https://forum.pine64.org/showthread.php?tid=2079&page=2).  However the Clusterboard doesn't supply 3.3v at this header.

I'm not sure how best to proceed.  Assuming the pull-ups are required on the Clusterboard as they are on the A64, do I need to provide a 3.3v supply (perhaps stepping the 5v supply down to 3.3v) or is there a better way to achieve the same thing?

It seems weird to me that the header would supply the i2c pins if they couldn't work without external regulation but then again I'm pretty new to working with i2c and maybe this is normal?

Any pointers are appreciated, thanks!


Messages In This Thread
Clusterboard i2c and Linux - by jgullickson - 04-11-2018, 09:45 AM
RE: Clusterboard i2c and Linux - by jgullickson - 04-11-2018, 12:23 PM
RE: Clusterboard i2c and Linux - by pfeerick - 04-19-2018, 10:04 PM
RE: Clusterboard i2c and Linux - by jgullickson - 04-20-2018, 08:22 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Managed Ethernet switch on the Clusterboard dsimic 6 11,056 01-16-2024, 02:05 AM
Last Post: hazcam
  Selling Clusterboard + 4 sopine xblack86 7 10,112 09-26-2022, 03:09 AM
Last Post: poVoq
  clusterboard availability? linear 1 3,301 07-17-2022, 06:44 AM
Last Post: poVoq
  Clusterboard not getting IP address after network fix Norlark 14 20,258 08-30-2021, 05:00 PM
Last Post: poVoq
  When would be the Clusterboard back on stock? __kzl__ 5 8,541 08-16-2021, 03:52 AM
Last Post: poVoq
  Schematics for customising the Clusterboard TechDragon 0 3,407 05-25-2021, 10:28 AM
Last Post: TechDragon
Information Clusterboard Guide AZClusterboard 9 29,862 04-06-2021, 06:32 AM
Last Post: poVoq
Brick Clusterboard CAD drawings TeaPack 1 5,492 03-31-2021, 01:38 PM
Last Post: Pine
  New Clusterboard Setup wargfn 5 10,722 01-01-2021, 10:10 AM
Last Post: poVoq
  Clusterboard does not even turn on? poVoq 3 8,768 08-15-2020, 07:31 AM
Last Post: poVoq

Forum Jump:


Users browsing this thread: 1 Guest(s)