Tool/software: TI-RTOS
Hello,
I would like to inquire how to properly perform software reset or software power-cycle of the Fusion Board connected to a TDA2Px.
As of now, I added function in app_util_iss.c:
#define UB960_DIGITAL_RESET0 1 #define UB960_DIGITAL_RESET1 2 static int resetDeserializer(UInt32 instId) { UInt8 regAddr, regVal; int i; /* 2.5 reset DS90USB960 */ regAddr = 0x01; // RESET_CTL Register (Address 0x01) regVal = UB960_DIGITAL_RESET1; if(Bsp_deviceWrite8(UB960_ACCESSIBLE_FROM_I2C_INST, gAppUtilIssSlaveAliases[instId].slaveAddr, ®Addr, ®Val, (UInt32) 1U) != 0){ Vps_printf("can't write to Deserializer, instId=%d\n", instId); }
This function is called during initialization of ISS module, specifically in IssUtils_appInitUb960.
However, with this method, after performing software power cycle in TDA2PX, sometimes not all cameras function properly.
In a rate of 1/10, either capture channel 0 or channel 1 sometimes does not start streaming.
This issue does not occur when starting hard power cycle in TDA2px (0/25 trials).
Could you guide me to the proper way to perform power cycle of the Fusion Board through software?