Firefly Open Source Community

   Login   |   Register   |
New_Topic

I2C interfacing with AIO 3399J

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240
Posted at 3/5/2018 14:16:32     
We do have on-chip I2C in AIO 3399J but I don't know which I2C it is.I want the I2C number that we have on the module and which I can use directly.They simply mentioned the I2C.
Reply

Use props Report

80

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
80
Posted at 3/5/2018 23:15:49     
There is 8 I2C  on the AIO.  Each can control different parts of the circuits. What are you looking to control ? The I2C available to the user (on J47)  on the AIO carrier board is the I2C4.  I2C4 is mosly used for the USB switch, the touch panel some encryption.
Reply

Use props Report

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240
Posted at 3/7/2018 12:15:37     
big_whit Posted at 3/5/2018 23:15
There is 8 I2C  on the AIO.  Each can control different parts of the circuits. What are you looking  ...

Okay, Thanx
Can I use I2C4 for GPIO Expander?
Reply

Use props Report

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240
Posted at 3/7/2018 12:20:46     
big_whit Posted at 3/5/2018 23:15
There is 8 I2C  on the AIO.  Each can control different parts of the circuits. What are you looking  ...

And do we have any GPIO expander driver available in AIO 3399J?
If not then what can I do to interface GPIO expander using I2C4?
Reply

Use props Report

80

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
80
Posted at 3/9/2018 11:01:27     
Yes you could use I2C4 to connect a GPIO expender - I dont know if there is any driver available but you could write your own. Just make sure the IC suport 3.0V i2C signaling (there is very good chance it`s supported)
Reply

Use props Report

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240
Posted at 3/13/2018 14:20:18     
big_whit Posted at 3/9/2018 11:01
Yes you could use I2C4 to connect a GPIO expender - I dont know if there is any driver available but ...

And do I need to change anything in .dts file?Because on firefly they have mentioned that you need to add device information to .dts file. And what about device and driver registration?
See this link: http://en.t-firefly.com/doc/product/info/456.html
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list