AnsweredAssumed Answered

Can't correctly read/write to the FMCOMMS (I2C transactions)

Question asked by elektron2002 on Aug 20, 2013
Latest reply on Aug 21, 2013 by elektron2002

I have a boards Avnet ZedBoard and AD-FMC)MMS1-EBZ. I connecting the AD-FMCOMMS1-EBZ FMC board to the Xilinx FPGA board on the LPC FMC connector. I wrote a simple project, which only read chip ID (one byte) from AD9643. I do next four transactions (I2C):

 

0x58(write)|0x03|0x00|0x48|0x00|0x02

0x58(write)|0x04|0x00|0x01

0x58(write)|0x03|0x04|0x68|0x00|0x02

0x58(read)|read one byte (X)

 

But X byte is not 0x82 (Chip ID AD9643=0x82). I look by oscilloscope on SPI interface on a FMCOMMS1, but SPI transactions not starting. What I do wrong? 

 

When I trying to read firmware version - I do next transactions:

 

0x58(write)|0x01

0x58(read)|AD-FMCOMMS1-EBZ RevB000000000000

 

Firmware version consists of 20 bytes (AD-FMCOMMS1-EBZ RevB) and 12 null bytes. Is it normally?

Outcomes