device detection PCF2127 vs PCF2131

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

device detection PCF2127 vs PCF2131

499件の閲覧回数
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 返答(返信)

301件の閲覧回数
rubensjunior
Contributor IV

@TomasVaverka Are there any news about this?

0 件の賞賛
返信

484件の閲覧回数
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

300件の閲覧回数
rubensjunior
Contributor IV
Are there any news about this?
0 件の賞賛
返信