- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What could the problem be?
I think I checked everything and don't know what more can I try
- Tags:
- i2c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The problem is solved.
The I2C slave device does not allow a read like I was doing. First there should be a write before the read. It has a specific pattern for each operation, concerning if it's a read or write and concerning the register that is accessed.
These details are explained in the datasheet of the I2C external device (TI TCA9534PWR): https://www.ti.com/lit/gpn/tca9534
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi gbssa,
I wonder if you are able to test the waveform with Oscilloscope.
The SignalTap waveform shows the internal signal. It would be helpful if we can know the exact signal on board both at the FPGA and the I2C slave side. There could be a situation that the signal is not correctly received by the slave, such as board-level transfer issue, I/O Pin issue, and so on.
Thanks & Regards,
Xiaoyan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi gbessa,
Any updates?
Thanks & Regards,
XY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The problem is solved.
The I2C slave device does not allow a read like I was doing. First there should be a write before the read. It has a specific pattern for each operation, concerning if it's a read or write and concerning the register that is accessed.
These details are explained in the datasheet of the I2C external device (TI TCA9534PWR): https://www.ti.com/lit/gpn/tca9534
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
Happy to hear that the problem is resolved and thanks for sharing the root cause of the problem.
Thanks & Regards,
Xiaoyan
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page