Forum Discussion

ETang2's avatar
ETang2
Icon for Occasional Contributor rankOccasional Contributor
5 years ago
Solved

DE10-Standard : Accessing HPS I2C bus from outside

Hello, i would like to connect an external I2C sensor to the HPS I2C bus to access it from HPS. I look carefully the DE10-Standard documentation about this but i'm a little confused. I think i can connect through the LTC port using pin 9 and 11 ? Accessing it through the built in i2c linux kernel driver using /dev/i2c-0 ?

Thanks.

Eric

  • Hi Eric,


    I am not sure which pins you are referring to, but yes you can connect and access them from HPS, but you need to connect to the right pins, please check your schematic diagram which has the I2C pins available.


    Also, you need to make sure the I2C pins are "routed to HPS" in Platform Designer.


3 Replies

  • Hi Eric,


    I am not sure which pins you are referring to, but yes you can connect and access them from HPS, but you need to connect to the right pins, please check your schematic diagram which has the I2C pins available.


    Also, you need to make sure the I2C pins are "routed to HPS" in Platform Designer.


    • ETang2's avatar
      ETang2
      Icon for Occasional Contributor rankOccasional Contributor

      Hi and thanks for the help.

      If i refer to the platform designer used :

      If i understand well only the first (Set 0) I2C controller is activated and used I2C0 and I2C1 pins

      But how to put these pins outside (GPIO) to connect a sensor from outside ?

      Best regards

      Eric