Forum Discussion
How Change I2C clock on Cyclone V HPS , Terasic DE10-Nano
- 2 years ago
Hi Tiwari
Thank you for the help
Link that you send me, HOWTO Create a Devicetree for Cyclone V SoC, is good, but our team found a way to do that much more simpler and faster. I described all the details in attached Word document and also other files for reference.
Note: attatched .dts file ise renamed to .dts.txt to be attached here
Bast Regards,
Yakov
Hi Tiwari,
Thank you for help.
We use i2c of HPS.
We did different experiments: started from i2c-1 (we moved its 2 pints to JP7 connector in Quartus design).
But when we encountered with its 400 KHz clock, we tryed to use i2c-0.
In our surpizing, its real clock is 50 KHz (I have photos), not 100!
This is good for us also ( less than 400), but It revealed, that i2c-0 allows one i2c address only: 0x53 (G-sensor).
Command i2cdetect shows that too.
So, we can use any i2c-0, i2c-1, but we have not experience with device tree and have no sourses