Forum Discussion
I2C connecting
Hi,
Atlas SoC is using the Cyclone V SoC, you may want to refer here for the Mapping HPS IP Peripheral Signals to the FPGA Interface;
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an706.pdf
It might help you answer your question.
Regards.
- DChau57 years ago
New Contributor
Hi el.ign,
Thanks for you reply. I see that we can route them to FPGA domain. But I also want to know if can we access directly HPS pins without going to FPGA? As I check the schematic of Atlas-SoC board, the I2C1 is connect to LTC header while I2C0 is connected to Accelerometer and no way to access I2C0 externally. That's why I try to access I2C1 by modifying it in Qsys and connect it with jumper on LTC header.
Can I do it as I said? Do I miss something or do I understand things in a wrong way? Or else, I will try to route it to FPGA at the end but I would like to if there is any others ways ( I'm learning ).
By the way, thank you for the answer Mr. el.ign. You have answered almost every questions I made and I really appreciate that.
- EBERLAZARE_I_Intel7 years ago
Regular Contributor
Hi,
You mention about the Intel pinout file, can you share to me which is it?
I'm pretty sure according to the Atlas-SoC user manual the HPS I2C0 for SCL and SDA are as C18 and A19 respectively. Have you tried to assign this before you changing them to C19 and B16?
- DChau57 years ago
New Contributor
Hi,
Here is the pinout file I use:
https://www.intel.com/content/dam/altera-www/global/en_US/pdfs/literature/dp/cyclone-v/5csema4.pdf
Now I'm trying to use I2C1, this is in my Pin Planner:
According to the provided schematic from manufacturer, I use I2C1 because it is out to LTC header and from there I can connect it with jumper:
Those pins in circle are I2C1_SDA and I2C1_SCL on LTC header:
And for your question, I tried with C18 and A19 then I found out that they are connected to Accelerometer and I don't think I can connect to external slave device using jumper. Therefore, I changed to I2C1 because, yeah, it's connected to LTC header.
- DChau57 years ago
New Contributor
Ok, after making above description, I think I realize that I made dumb things. I will try to figure out it first and comeback.
My apology.