device detection PCF2127 vs PCF2131

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

device detection PCF2127 vs PCF2131

431 Views
GCSI
Contributor I

is there a fairly simple way for a software driver to detect which rtc device is installed?  We started off with PCF2127 but are redesigning for other reasons and considering moving to PCF2131 due to PCF2127 status of NRND.  but software must support both devices.  

 

3 Replies

233 Views
rubensjunior
Contributor IV

@TomasVaverka Are there any news about this?

0 Kudos

416 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Todd,

Unfortunately there is no WHO_AM_I register or similar available on both RTCs, but you can read for example the PWRMNG[2:0] bits in the Control_3 register which are 0b000 by default on the PCF2127 and 0b111 on the PCF2131.

Best regards,

Tomas

232 Views
rubensjunior
Contributor IV
Are there any news about this?
0 Kudos