Jump to content

Hipolito

Members
  • Posts

    5
  • Joined

  • Last visited

  1. So, to all of the I2C explorers out there: - With the pristine Armbian DTB : i2cdetect -l returned only one i2c bus which was the r_I2C thus mapped on I2C-0. - If you edit the dtb on /boot/dtb-4.10.0-sun50iw2/allwinner/sun50i-h5-orangepi-pc2.dtb and change the "status" value to "okay" under the i2c@01c2ac00 you will have two I2C buses : I2C-0 which is mapped to the GPIO PA11 and PA12; I2C-1 which is the r_I2C; Hope this may help those in need!
  2. Sorry if I was unclear, that is exactly what I meant to say when I said the "I2C I am seeing" it was indeed the r-I2C. I said like that because the output of the I2C detect command output. I am about to change the status value of the i2c@01c2ac00 to "okay" to see what happens. My concern is to mess-up the regulator control.
  3. [UPDATE] According to the same sun50i-h5-orangepi-pc2.dtb DT, the i2c I am seeing should be the connected to PL0 and PL1. This is according to schematics too since the power regulator(0x65) is phisically connected like that. Now the question remains: "How to properly enable it?"
  4. Well, I just opened the /boot/dtb-4.10.0-sun50iw2/allwinner/sun50i-h5-orangepi-pc2.dtb database: Under soc/pinctrl/i2c0 you have pins = "PA11", "PA12" thus my question: "How (exactly) to enable it properly on main DT ?"...I still have to do some research to use overlays, any tips? Thanks again!
  5. I am trying to get the I2C bus on my PC2. I wired a PCF8591 @ PA11 PA12 ran "I2Cdetect -y 0" and all I can see is the power regulator at 0x65 ... I remember something about the I2C bus being disabled somewhere. Any clue about it? If its disabled, how to properly enable it? Thank you
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines