Hi,
Go it. Meaning you need to perform PHY_serial_loopback on "slave" port before you can run 1588 test.
I don't think slave port RX channel will forever stuck in calibration. Reason being transceiver channel calibration only happen in below scenario
- during FPGA power up - it will auto perform transceiver channel calibration . Once calibration completed then cal_busy signal will de-assert
- user manually write to transceiver channel reg to trigger channel re-calibration
Either way, calibration process should complete after sometime
- Just to confirm whether do you see slave port RX channel cal_busy signal always stuck high, never de-assert ? Only de-assert after performing loopback test ?
- Or just happen your signal_tap capture during the middle of calibration process. That's why cal_busy still stay high for a while
Anyhow, would you be able to try out below experiment as suggested by me earlier.
To isolate whether this is related to "example design tcl script coding style issue" or "loopback issue"
- You can try to use external hardware equipment to send some data to port 0 and 1 Rx channel to ensure "rx_is_lockedtodata" and "rx_ready" signal asserted high for one time before running 1588 test
- If 1588 test passed, then we know somehow this is related to transceiver reset sequence requirement
- If 1588 test still failed, then we know it's related to loopback test requirement. User must performed one time loopback test before running actual Ethernet test
Also, just wonder do you see similar behaviour test result in A10 dev kit board ?
- This will also help us to isolate whether is it Quartus design issue or board design issue
Thanks.
Regards,
dlim