RTC PCF2131 example for LPC1857

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

RTC PCF2131 example for LPC1857

529 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
5 Replies

516 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

 

507 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

486 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

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

BR

XiangJun Rong

465 Views
rubensjunior
Contributor IV
Hi @xiangjun_rong,

Is there any example with i2c interface?
0 Kudos

482 Views
rubensjunior
Contributor IV
Hi @xiangjun_rong ,

I will try to use this example with PCF2131.

Thanks a lot!

Rubens Júnior
0 Kudos