Dear G.W.
Thank you for your response. we are unable to create the false tamper issue in lab, However this issue is happening very frequently during field usages. We have been posed few restrictions from the end- customer. We have to provide complete ideal solution in one go to resolve this issue which may be S/w or H/w improvements and send back the updated sets to field with all the improvements in one go, hoping False Tamper issue will not repeat.
So we are working for the ideal solution (S/w & H/w improvements) in one go and we need your support on urgent basis for few more clarifications. Request you to do the needful as it will help us to resolve the issue in one go.
I hope you will understand our difficulty and do the needful.
As per your reply we are working on the possibility of replacing R160 with a 0 Ohm resistor. However unable to change Pull ups do to practical difficulty. So we have to continue with 10K pull ups. Hope this may be okay for RTC and Tamper application of PCA2129T ? Kindly confirm.
Note: We are using only RTC and Tamper applications of PCA2129T.
also, We are not reading Time Stamp registers during Tamper event. Only Control registers are being read every second to find out Tamper event.
Kindly clarify the following doubts:
B). Since only one switch SW1 is used in our H/w, Hence 220KOhm resistance R2 is not required. R160 will be replaced with a 0 Ohm Resistor.
and Interrupt (INT) line is not used due to H/w constraint.
Q.2.a. So, as per datasheet (8.11.1) Only condition-2 can get generated. Condition-1 will never be generated, pls confirm ?
[gw] Unless the TS input pin is driven to an intermediate level between the power supply and ground, either on the falling edge from VDD or on the rising edge from ground. This function still be active.
[sk-Q] Why Condition-1 will be active ?
Is there any chance of intermediate level between Power Supply and Ground getting generated for our H/w ?
Is there any chance of TSF1 flag getting set on our h/w ? If yes then under which condition ?
What is the meaning of Intermediate level (between Power supply and ground) for our H/w ? Either TS may have Battery voltage (3.0 volt) or TS may have VDD (3.3V) or TS may get GND (when switch is opened). Hence TSF1 flag may never set during Tamper on our H/w ? Pls confirm ?
Q.2.b. Hence, Tamper detection status can be read by reading only TSF2 Flag of Control register-2 . Please confirm ?
[gw]No.
[sk-Q] Why ? what are the other indicator for tamper detection ? Only TSF2 or any other flag indicates Tamper detection event for our H/w ?
Q.3.c. Hence if OSF bit is set once during first time programming (after Battery is mounted), This should be sufficient and OSF bit need not be cleared every time during Power- ON and Power-OFF through external source(3.3V at Pin-16). Please confirm ?
[gw] You should clear it each power on /off.
[sk-Q] : each power on /off(VDD external power) of Master ?
OR, each power on /off of PCA2129T ?
Note: PCA2129T will get power from VDD or Battery and it will not turn off until battery voltage drops.
Q.3.b. Since PCA2129T will have Power either from external source (3.3V at Pin-16) or from Battery (3.0V at Pin-15), So, PCA2129T will be powered-ON and work reliably for Tamper and RTC functionality till the time battery voltage is equal or above 2.5V. Please confirm ?
[gw] Standard mode
[sk-Q] For our H/w : VDD=3.3V, Battery Voltage=3.0V, So For standard mode of operation, up to what level of battery voltage, PCA2129T will work reliably (when external power VDD is disconnected (VDD=0 volt)) ?
Minimum voltage level of Battery required for reliable working in Standard mode for our H/w will be how much ?
Q.6. What is meant by the statement (in datasheet) "Setting or reading seconds through to years should be made in one single access". Please explain in terms of I2C command sequence start and stop ?
[gw] That is, setting or reading seconds through to years should be made in one single
Access.
[sw-Q] What is the meaning of single access here ?
Note: There are multiple registers 03h to 09h (seconds up to years), So normal I2C read may be:
Master sends I2C Start command,
Master sends 03h,
slave(PCA2129) will send Second time info,
Master sends 04h,
slave will send Minute time info,
.......
.......
Master sends 09h,
slave will send Year info,
Master sends I2C stop command.
whether the above sequence of I2C communication is called single access ?
If not then please explain.
Q.7. As per the datasheet : If the I2C bus communication was terminated uncontrolled, the I2C bus has to be reinitialised by sending a STOP followed by a START after the device switched back from battery backup operation to VDD supply operation. So,
Q.7a. If a I2C communication is initiated and could not complete due to MASTER device POWER-OFF (external power 0v at pin-16) then during next POWER-ON, whether MASTER device should initiate a I2C STOP command or can start as usual with a I2C START command ?
[gw] Obviously need send STOP then START.
[sw-Q] Since Master may not know that the I2C bus communication was terminated uncontrolled in previous power-ON session, (because Master Power is turned off unknowingly by user)
So, whether it will be a better practice to always issue a stop command before starting any fresh I2C communication ?
Q.10. Whether there is any timeout in the I2C communication from slave(PCA2129T) side ?
[gw] what kind of timeout?
[sw-Q] Note: Slave(PCA2129T) is continuosly ON due to battery power (as long as battery is in good state) but Master power (VDD) may be turned OFF any time by user.
If previous communication is terminated uncontrolled because of Master Power-OFF then slave may not get a stop command for this session, then whether slave will time out for this session or it will expect STOP indefinitely ?
Thanking you for the support.
waiting for your response...