FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6130 Discussions

i2C read - unable to receive register data

TNdun
Beginner
723 Views

Hi

We are working on a solution that involves i2C communication between the FPGA and FX3 development kit and are experiencing problems reading data from the FPGA registers.

What we are trying to do is to read a single byte of data from a register (0x40) from the FPGA, using the FX3. The transaction should be as shown in the first image, where the FX3 does this steps:

  1. Send start condition
  2. Send the device address followed by a write bit
  3. Receive an ACK from FPGA
  4. Send register address (0x40)
  5. Receive an ACK from FPGA
  6. Send repeated start condition
  7. Send device address followed by read bit
  8. Receive ACK from FPGA
  9. Receive byte from FPGA register
  10. Send ACK to FPGA
  11. Send stop condition to FPGA

The issue is that the FX3 does not release the Bus after sending the read address to the FPGA (step 7). This prevents the FPGA from sending the register data to the FX3 board. What could cause this problem?

I have attached a second image that shows the result we get on the signal analyzer

0 Kudos
1 Reply
Hazlina_R_Intel
Moderator
691 Views

Hi,

Thanks for your question. It appears to me that you are inquiring about Xilinx's FPGA. Can you please post this question in Xilinx forums instead? This community portal is reserved for Intel products including Intel FPGA (previously known as Altera FPGA).


Thanks.


0 Kudos
Reply