Hi,
I am using C codes to re-write the BIST python script for my dev board, I saw there is a time.sleep(0.5) between WriteI2C, for example as below, I wonder is there any timing sequence describe what is the minimum delay time needed between commands? To my dev board, a time.sleep(0.5) (0.5 sec) is too long, I like to reduce the sleep time to minimum, or is there a register flag that I can check when a commend is finished?
## BIST_953_954_WithForcedError.py
##
## revision 1.1 June 13, 2017
##
########
######################
##
## This script file is used to check the link between the 953 and 954
##
## The Built In Self Test (BIST) generates a puesdo random sequence
## and checks for CRC errors between transmitted and received sequence.
##
## Rev. 1.1
## Added Parity Errors, restructured code
##
##
######################
...
# Digital Reset except for registers
board.WriteI2C(UB953, 0x01, 0x01) #Resets 953
time.sleep(0.5) # <======= what is the min. delay needed?
board.WriteI2C(UB954, 0x01, 0x01) #Resets 954
time.sleep(0.5) # <======= what is the min. delay needed? is there a register flag to check cmd finished, instead of using delay?
print ("Devices Reset")
Very appreciated if you can provide some info on this issue.