Yevpator
New Contributor
1 year agoAvalon I2C core failure
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!
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!