ipbus / ipbus-firmware

Firmware that implements a reliable high-performance control link for particle physics electronics, based on the IPbus protocol
https://ipbus.web.cern.ch
Other
41 stars 32 forks source link

IPbus slave icap_us_usp gives data_valid always zero #242

Closed mkrivda closed 5 months ago

mkrivda commented 5 months ago

Hello.

I have implemented ipbus_icap_us_usp into Kintex Utrascale. https://github.com/ipbus/ipbus-firmware/blob/master/components/ipbus_util/firmware/hdl/ipbus_icap_us_usp.vhd

I use Phyton script to read it: https://github.com/ipbus/ipbus-firmware/blob/master/projects/xilinx/scripts/example_icap.py

I am not getting data_valid bit:

IPBus ICAP interface demo

Register reading: icap_read data_valid:0 Failed to read ICAP register IDCODE icap_read data_valid:0 Failed to read ICAP register STAT icap_read data_valid:0 Failed to read ICAP register BOOTST icap_read data_valid:0 Failed to read ICAP register AXSS

I have checked an implemented design in VIVADO and there are all connections for clk, reset, .....

Is there any other setting which must be applied ?

Best regards,

Marian

mkrivda commented 5 months ago

After implementing also IPROG, it started to give the data_valid -> 1. Is it possible that ICAP took ICAPE3 from bottom ?

mkrivda commented 5 months ago

The problem solved.