device detection PCF2127 vs PCF2131

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

device detection PCF2127 vs PCF2131

439 次查看
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 回复数

241 次查看
rubensjunior
Contributor IV

@TomasVaverka Are there any news about this?

0 项奖励

424 次查看
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

240 次查看
rubensjunior
Contributor IV
Are there any news about this?
0 项奖励