Forums - Access I2C0 on LS1

4 posts / 0 new
Last post
Access I2C0 on LS1
christopher.gage
Join Date: 3 Sep 20
Posts: 3
Posted: Wed, 2020-12-16 09:05

Hello,

I am trying to access devices on a custom mezzanine board through the I2C0 signal from the LS1 connector.

Does this map to /dev/i2c-0? If not, which /dev/ device should I be using?

Using i2cdetect, none of the /dev/i2c-* devices output any signal on I2C0 when examined with a scope.

  • Up0
  • Down0
kevin.dai
Join Date: 21 Oct 20
Posts: 137
Posted: Thu, 2020-12-17 14:29

Hi christopher.gage

Accroding to Hardware Reference Platform User Guide, the GPIO pins for i2c0 are:
 
I2C0_SCL  : GPIO9
I2C0_SDA : GPIO8
 
I am checking if these two pins are connected correcttly  in i2c configure.
 
Thanks
Kevin
 

 

  • Up0
  • Down0
kevin.dai
Join Date: 21 Oct 20
Posts: 137
Posted: Mon, 2020-12-21 10:06

Hi christopher.gage

it looks like the I2C0 had not been configured correctly, we are working on it.

Thanks

Kevin

  • Up0
  • Down0
kevin.dai
Join Date: 21 Oct 20
Posts: 137
Posted: Fri, 2021-01-15 10:57

Test image is ready, please send message to get images and do test

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.