Forum Discussion
Thanks for the reply. I will be out of office next week for a week thus response will be slower.
Regards
Kian
- greenlantern011 month ago
Occasional Contributor
Hi Kian,
I was wondering if you got a chance to have a look into this.
Any help would be highly appreciated!
Regards
- KianHinT_altera1 month ago
Frequent Contributor
Hi greenlantern01,
Really sorry for the delay in getting back, was going through my mails after back to office , missed out on the notification.
From the screenshot, seems it is resetting during kernel loading stage, probably some settings in the dts.
I was checking back on Terasic schematic and notice that there is some differences between DE10-Standard Rev C and Rev D board. Could you help confirm you board revision ( i suppose to be rev C because in schematic I still see the digital accelerometer and HPS_LTC_GPIO connected to TS3A5018, Rev D schematic all these been removed)
Anyway if you're on Rev C, disregard the DTS changes you made first, and
1. Measure the HPS_LTC_GPIO ( can probe R306 resistor and check whether it toggles or switch just to check the pin logic )

I got this from the TS3A5018 datasheet (but the table here seems to indicate the other way round for NO/NC)

From schematic, Gsensor/ digital accelerometer is connected to I2C1 which looks like it is connected to different pin all together , not via TS3A5018 , thus you always can talk to Gsensor regardless of the LTG connector.

After verifying the LTC_GPIO toggles correctly, probably can check whether Linux side have these i2C drivers already initialized, if yes maybe no need add the i2c2 in the DTS for linux-socfpga
Try this command to list the i2c : i2cdetect -l
You should see something like Synopsys DesignWare
scan the bus to see whether gsensor and your ltc shows up
i2cdetect -y -r <bus number from the list, 0,1,2>
This one to confirm that i2c has gsensor and your LTC device connected.
Thanks
Regards
Kian
- greenlantern011 month ago
Occasional Contributor
Hello Kian,
Thank you for your response.
- It is revision C. However, it seems I've been referring to the schematics of rev b all this time. I could find only rev b schematics on the Terasic website. Could direct me to where I could find data on rev c boards?
- I wrote a c code for toggling the GPIO and probed the R306, however, there's no change. It doesn't toggle. It stays high.
- When scanning the i2c bus, I see 0x53 which is the g-sensor since that is its device address. I don't see LTC connector.
Regards