RTC PCF2131 example for LPC1857

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

RTC PCF2131 example for LPC1857

1,285 Views
rubensjunior
Contributor IV

Hy friends!

I need to use an RTC (Real Time Clock) model PCF2131 (NXP) with LPC1857 microcontroller. Is there any example or SDK about it?

Thankyou very much.

Rubens Júnior

Labels (1)
0 Kudos
Reply
5 Replies

1,272 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

pls refer to the attached code, which is based on SPI interface.

I get the code from the website:

https://community.nxp.com/t5/Other-NXP-Products-Knowledge/PCF2129-RTC-example-code/ta-p/1105024

 

Hope it can help you

BR

XiangJun Rong

 

1,263 Views
rubensjunior
Contributor IV
Hi @xiangjun_rong!
Thanks a lot for your attention!
I will use PCF2131. Will the PCF2129 example work well with the PCF2131?

Thank you very much!
0 Kudos
Reply

1,242 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I suppose they are similar from interface perspective and RTC registers.

BR

XiangJun Rong

1,221 Views
rubensjunior
Contributor IV
Hi @xiangjun_rong,

Is there any example with i2c interface?
0 Kudos
Reply

1,238 Views
rubensjunior
Contributor IV
Hi @xiangjun_rong ,

I will try to use this example with PCF2131.

Thanks a lot!

Rubens Júnior
0 Kudos
Reply