I have custom CM4 based board where I have 2 i3c buses. i2c0 (GPI0/1) and I2C1 (GPIO2/3). On i2c0 I have touchscreen controller. On i2c1 - RTC and EEPROM
Now my config.txtIn raspi-gpio I get I also look signals by oscilloscope on both buses. On i2c1 I see signals during i2cdetect run and see only high level on SCK0 SDA0 during i2cdetect 0.
Is it normal?
Now my config.txt
Code:
dtparam=uart0=offdtparam=spi=ondtoverlay=vc4-kms-v3d,noaudiodtoverlay=dwc2,dr_mode=peripheraldtparam=i2c_vc=ondtoverlay=i2c-rtc,ds1307,i2c1dtoverlay=i2c0,pins_0_1lcd_ignore=1dtoverlay=max98357a-no-din,sdmode-pin=6dtoverlay=uart3dtoverlay=disable-btdtoverlay=spi0-1csdtoverlay=my-nor,flash-spi0-0=ondtoverlay=spi5-2cs,cs0_pin=27,cs1_pin=26,cs0_spidev=off,cs1_spidev=offdtoverlay=mcp2515-can1,oscillator=12000000
Code:
raspi-gpio getBANK0 (GPIO 0 to 27):GPIO 0: level=1 alt=0 func=SDA0 pull=UPGPIO 1: level=1 alt=0 func=SCL0 pull=UPGPIO 2: level=1 alt=0 func=SDA1 pull=UPGPIO 3: level=1 alt=0 func=SCL1 pull=UPGPIO 4: level=0 alt=4 func=TXD3 pull=NONEGPIO 5: level=1 alt=4 func=RXD3 pull=UPGPIO 6: level=0 func=OUTPUT pull=UPGPIO 7: level=1 func=INPUT pull=UPGPIO 8: level=1 func=OUTPUT pull=UPGPIO 9: level=0 alt=0 func=SPI0_MISO pull=DOWNGPIO 10: level=0 alt=0 func=SPI0_MOSI pull=DOWNGPIO 11: level=0 alt=0 func=SPI0_SCLK pull=DOWNGPIO 12: level=0 func=INPUT pull=DOWNGPIO 13: level=0 alt=3 func=SPI5_MISO pull=DOWNGPIO 14: level=1 alt=3 func=SPI5_MOSI pull=NONEGPIO 15: level=0 alt=3 func=SPI5_SCLK pull=UPGPIO 16: level=0 func=INPUT pull=DOWNGPIO 17: level=0 func=INPUT pull=DOWNGPIO 18: level=0 alt=0 func=PCM_CLK pull=DOWNGPIO 19: level=0 alt=0 func=PCM_FS pull=DOWNGPIO 20: level=1 func=INPUT pull=DOWNGPIO 21: level=0 alt=0 func=PCM_DOUT pull=DOWNGPIO 22: level=1 func=INPUT pull=DOWNGPIO 23: level=1 func=INPUT pull=DOWNGPIO 24: level=1 func=INPUT pull=DOWNGPIO 25: level=0 func=INPUT pull=DOWNGPIO 26: level=1 func=OUTPUT pull=DOWNGPIO 27: level=1 func=OUTPUT pull=DOWNBANK1 (GPIO 28 to 45):GPIO 28: level=1 alt=5 func=RGMII_MDIO pull=UPGPIO 29: level=0 alt=5 func=RGMII_MDC pull=DOWNGPIO 30: level=1 func=INPUT pull=UPGPIO 31: level=1 func=INPUT pull=NONEGPIO 32: level=1 func=INPUT pull=DOWNGPIO 33: level=1 func=INPUT pull=DOWNGPIO 34: level=1 alt=3 func=SD1_CLK pull=NONEGPIO 35: level=1 alt=3 func=SD1_CMD pull=UPGPIO 36: level=1 alt=3 func=SD1_DAT0 pull=UPGPIO 37: level=1 alt=3 func=SD1_DAT1 pull=UPGPIO 38: level=1 alt=3 func=SD1_DAT2 pull=UPGPIO 39: level=1 alt=3 func=SD1_DAT3 pull=UPGPIO 40: level=1 func=INPUT pull=DOWNGPIO 41: level=1 func=INPUT pull=DOWNGPIO 42: level=1 func=OUTPUT pull=DOWNGPIO 43: level=1 func=INPUT pull=DOWNGPIO 44: level=1 func=INPUT pull=NONEGPIO 45: level=1 func=INPUT pull=NONEBANK2 (GPIO 46 to 53):GPIO 46: level=0 func=INPUT pull=UPGPIO 47: level=0 func=INPUT pull=UPGPIO 48: level=0 alt=0 func=SD0_CLK pull=DOWNGPIO 49: level=0 alt=0 func=SD0_CMD pull=DOWNGPIO 50: level=0 alt=0 func=SD0_DAT0 pull=DOWNGPIO 51: level=0 alt=0 func=SD0_DAT1 pull=DOWNGPIO 52: level=0 alt=0 func=SD0_DAT2 pull=DOWNGPIO 53: level=0 alt=0 func=SD0_DAT3 pull=DOWN
Code:
i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
Code:
i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- 51 -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
Is it normal?
Statistics: Posted by Kuzma30 — Thu Feb 29, 2024 4:29 pm