vladvanderwolf
03/23/2023, 7:25 PMTeslamax
03/26/2023, 9:38 AMTeslamax
03/26/2023, 9:40 AMvladvanderwolf
03/28/2023, 6:42 PMTeslamax
03/28/2023, 6:46 PMTeslamax
03/28/2023, 7:42 PMTeslamax
03/28/2023, 7:44 PMWARNING:The register which controls the power to each board is backed by an EEPROM. Don't set all bits in there to 0, otherwise you won't be able to boot and correct it. A fix is to set register 0xF4 to 1 which would send the writes to the shadow SRAM, instead of the EEPROM. A fix for this is to connect an external raspberry pi to the I2C External pins and reset the registers
Teslamax
03/28/2023, 7:44 PMTeslamax
03/28/2023, 7:47 PMTeslamax
03/28/2023, 7:53 PMTeslamax
03/28/2023, 7:53 PMTeslamax
03/28/2023, 7:59 PMvladvanderwolf
03/29/2023, 2:11 PMvladvanderwolf
03/29/2023, 2:11 PMvladvanderwolf
03/29/2023, 2:11 PMvladvanderwolf
03/29/2023, 2:12 PMvladvanderwolf
03/29/2023, 5:31 PMvladvanderwolf
03/29/2023, 5:31 PMvladvanderwolf
03/29/2023, 5:31 PMTeslamax
03/30/2023, 4:15 AMsudo i2cdetect -y 1
on your Raspberry Pi 400, what does it output?Teslamax
03/30/2023, 4:16 AMsudo i2cdetect -y 0
?Teslamax
03/30/2023, 4:17 AMTeslamax
03/30/2023, 4:18 AMdtoverlay
settings inside /boot/config.txt
on your Raspberry Pi 400themaudalorian
04/03/2023, 11:43 PMthemaudalorian
04/03/2023, 11:44 PMthemaudalorian
04/03/2023, 11:46 PMthemaudalorian
04/03/2023, 11:49 PMthemaudalorian
04/03/2023, 11:50 PMthemaudalorian
04/03/2023, 11:50 PMthemaudalorian
04/03/2023, 11:54 PMvladvanderwolf
04/08/2023, 10:04 PMvladvanderwolf
04/08/2023, 10:05 PMvladvanderwolf
04/08/2023, 10:05 PMvladvanderwolf
04/08/2023, 10:08 PMvladvanderwolf
04/08/2023, 10:08 PMvladvanderwolf
04/08/2023, 10:09 PMvladvanderwolf
04/08/2023, 10:09 PMvladvanderwolf
04/08/2023, 10:11 PMvladvanderwolf
04/08/2023, 10:13 PMvladvanderwolf
04/08/2023, 10:13 PMvladvanderwolf
04/08/2023, 10:13 PMthemaudalorian
04/08/2023, 11:21 PMvladvanderwolf
04/09/2023, 3:02 PMvladvanderwolf
04/09/2023, 3:03 PMvladvanderwolf
04/09/2023, 3:14 PMvladvanderwolf
04/09/2023, 9:14 PMvladvanderwolf
04/09/2023, 9:17 PMTeslamax
04/10/2023, 9:13 PMI2C
myselfvladvanderwolf
04/11/2023, 7:35 AMTeslamax
04/11/2023, 9:12 PMTeslamax
04/11/2023, 9:14 PMTeslamax
04/13/2023, 4:31 AMthemaudalorian
04/14/2023, 8:24 PMthemaudalorian
04/14/2023, 8:24 PMthemaudalorian
04/14/2023, 8:25 PMthemaudalorian
04/14/2023, 8:25 PMthemaudalorian
04/14/2023, 8:26 PMthemaudalorian
04/14/2023, 8:27 PMthemaudalorian
04/14/2023, 8:28 PMthemaudalorian
04/14/2023, 8:30 PMthemaudalorian
04/14/2023, 8:32 PMthemaudalorian
04/14/2023, 8:55 PMvladvanderwolf
04/14/2023, 8:59 PMvladvanderwolf
04/14/2023, 9:02 PMvladvanderwolf
04/14/2023, 9:08 PMvladvanderwolf
04/14/2023, 9:08 PMvladvanderwolf
04/14/2023, 9:11 PMvladvanderwolf
04/14/2023, 9:11 PMthemaudalorian
04/14/2023, 9:14 PMthemaudalorian
04/14/2023, 9:14 PMvladvanderwolf
04/14/2023, 9:16 PMthemaudalorian
04/14/2023, 9:16 PMthemaudalorian
04/14/2023, 9:16 PMthemaudalorian
04/14/2023, 9:17 PMvladvanderwolf
04/14/2023, 9:17 PMthemaudalorian
04/14/2023, 9:17 PMthemaudalorian
04/14/2023, 9:17 PMthemaudalorian
04/14/2023, 9:23 PMvladvanderwolf
04/14/2023, 9:53 PMthemaudalorian
04/14/2023, 10:02 PMTeslamax
04/15/2023, 12:10 AMTeslamax
04/15/2023, 12:15 AMTeslamax
04/15/2023, 12:27 AMthemaudalorian
04/15/2023, 12:38 AMthemaudalorian
04/15/2023, 12:39 AMthemaudalorian
04/15/2023, 12:39 AMthemaudalorian
04/15/2023, 12:41 AMTeslamax
04/15/2023, 12:42 AMthemaudalorian
04/15/2023, 12:45 AMTeslamax
04/15/2023, 12:46 AMthemaudalorian
04/15/2023, 12:48 AMthemaudalorian
04/15/2023, 12:49 AMTeslamax
04/15/2023, 12:52 AMTeslamax
04/15/2023, 12:55 AMthemaudalorian
04/15/2023, 2:32 AMTeslamax
04/21/2023, 3:40 AMDhanOS
04/21/2023, 3:41 AMTeslamax
04/21/2023, 3:41 AMTeslamax
04/21/2023, 3:42 AMTeslamax
04/21/2023, 3:42 AMTeslamax
04/21/2023, 3:43 AMTeslamax
04/21/2023, 3:43 AMDhanOS
04/21/2023, 3:45 AMDhanOS
04/21/2023, 3:45 AMTeslamax
04/21/2023, 3:46 AMTeslamax
04/21/2023, 3:48 AMTeslamax
04/21/2023, 4:08 AMTeslamax
04/21/2023, 4:13 AMTeslamax
04/21/2023, 4:14 AM| 1 | 2 | 3 | 4 |
| GND | VCC | SCL | SDA |
Teslamax
04/21/2023, 4:16 AMTeslamax
04/21/2023, 4:18 AM1. GND (black)
2. VCC (red)
3. SDA (blue)
4. SCL (yellow)
Teslamax
04/21/2023, 4:18 AMTeslamax
04/21/2023, 4:19 AMTeslamax
04/21/2023, 4:20 AMTeslamax
04/21/2023, 4:29 AMTeslamax
04/21/2023, 6:30 AMTeslamax
04/21/2023, 6:30 AMTeslamax
04/21/2023, 6:31 AMTeslamax
04/21/2023, 6:31 AMTeslamax
04/21/2023, 6:33 AMTeslamax
04/21/2023, 6:37 AMTeslamax
04/21/2023, 6:38 AMTeslamax
04/21/2023, 8:55 AMTeslamax
04/21/2023, 9:46 PMTeslamax
04/25/2023, 8:11 PMTeslamax
04/25/2023, 8:12 PMdietpi@T1-BMC:~$ sudo i2cset -y -m 0x04 1 0x57 0xf2 0x00
dietpi@T1-BMC:~$ sudo i2cset -y -m 0x04 1 0x57 0xf2 0xff
Teslamax
04/25/2023, 8:12 PMTeslamax
04/25/2023, 8:12 PMthemaudalorian
04/26/2023, 4:12 AMTeslamax
04/26/2023, 4:14 AMTeslamax
04/26/2023, 4:15 AMTeslamax
04/26/2023, 4:06 PMTeslamax
04/26/2023, 4:06 PMdietpi@T1-BMC:~$ 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: -- -- -- -- -- -- -- 57 -- -- 5a -- 5c -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU
70: -- -- -- -- -- -- -- --
Teslamax
04/26/2023, 4:07 PM57
is the Turing Pi 1's I2C expander; 5c
is the Turing Pi 1's RTL8370 Ethernet switchTeslamax
04/26/2023, 4:07 PM5a
is the microcontroller on my ATX Watchdog HAT https://www.tindie.com/products/tomtibbetts/atx-watchdog-for-compute-module-4/Teslamax
04/26/2023, 4:12 PM6f
is the Turing Pi 1's RTC chip, unavailable because it's driver is loadedTeslamax
05/02/2023, 6:16 PMTeslamax
05/02/2023, 6:36 PMTeslamax
05/02/2023, 6:37 PMthemaudalorian
05/03/2023, 4:55 PMTeslamax
05/03/2023, 11:10 PMTeslamax
05/09/2023, 5:06 PMTeslamax
05/09/2023, 5:07 PMTeslamax
05/09/2023, 5:16 PMTeslamax
05/09/2023, 5:16 PMTeslamax
05/09/2023, 5:17 PMTeslamax
05/09/2023, 5:17 PMTeslamax
05/09/2023, 5:24 PMDhanOS
05/09/2023, 5:56 PMTeslamax
05/09/2023, 6:11 PMTeslamax
05/09/2023, 6:11 PMTeslamax
05/09/2023, 6:11 PMTeslamax
05/09/2023, 6:14 PMTeslamax
05/10/2023, 2:34 AMadmin@raspberrypi:~ $ ls /dev/i2c
/dev/i2c-1 /dev/i2c-20 /dev/i2c-21
Teslamax
05/10/2023, 2:35 AMTeslamax
05/10/2023, 2:35 AMMuadDib007
06/06/2023, 5:34 PMsudo i2cset -m 0xfc -y 1 0x57 0xf2 0x00
and sudo i2cset -m 0x02 -y 1 0x57 0xf2 0x00
to also turn off the master, I can use my Rpi4 connected to i2c to confirm all the nodes are down: sudo i2cget -y 1 0x57 0xf2
return: 0x01
. After that I can use the Rpi4 to start everything again issueing the command sudo i2cset -m 0xfe -y 1 0x57 0xf2 0xff
after which all the nodes turn on. What I do find to be strange is that when you only connect SDA, SDL and Gnd, i2c does not work between TP1 and RPi4. After connecting 3.3v as well the i2c started working. Is that expected behavior?MuadDib007
06/06/2023, 6:19 PMsudo i2cset -m 0xfc -y 1 0x57 0xf2 0x00
the system was in deadlock again. Unable to power up anything over i2c. although i2cget showed that the values changed, the modules did not power on. Now i removed the power cord from the AC Power brick to the TP1, left the RPi4 on i2c and waited for the power led of the Power Brick to die out. Then I removed the i2C cables and plugged the AC cable back into the power brick. NOW it really starts.... Damn what a p.i.t.a. system if you treat it wrongfully.Teslamax
06/09/2023, 6:24 AMSDA
,SCL
,GND
, and 3.3v
all connected for I2C to work correctlyvladvanderwolf
06/13/2023, 7:48 PM