Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Avalon I2C core failure

Yevpator
Novice
501 Views
Hi folks
I use Avalon I2C core in Arria-ii/NIOS-ii. I wanted to test what happens in case of failure on the i2c bus. For that I connected the i2c data line to ground for a short time. I expected i2c to stop working while i2c data pin is connected to the group and then to recover. However i2c stops working as result of this experiment. Why? I tried to re-init the i2c core in the NIOS-ii SW, but that didn't resolve the problem. Resetting Nios does recover the j2c core.
I can do another experiment by disconnecting a pin of one of the i2c slaves or applying to a non-existing i2c device, but now i want also understand why this short circuit to ground is so disruptive. Do you think this issue should be addressed? How? I didn't find a reset bit in any of the core registers. I found only disable/enable core bit.
Thank you for any help!
Labels (1)
0 Kudos
3 Replies
Jeet14
Employee
388 Views

Hi,


How you have done the ground for short time, is it the wire from the I2C data line or PCB permanent?

Is it possible to share the I2C schematic diagram that you are using?


And, resetting the I2C register. I2C IP core has to be reset by the Reset manager. This I2C IP core has only the enable and disable bit registers.


Regards

Tiwari


0 Kudos
Jeet14
Employee
327 Views

Hi,


Let me know if you have any question on this.


Regards

Tiwari


0 Kudos
Jeet14
Employee
283 Views

As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


0 Kudos
Reply