PCF2129T

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

PCF2129T

1,582 次查看
niyathihere4u
Contributor I

Hi,

I am using RTC PCF2129T for my application.

I was succesfully able to set time and get time with this RTC. However, when i try to set a minute alarm,the minute alarm interrupt doesn't get generated.  So, i read all the 3 control registers. When i read them without any write i dont get the reset values for these registers. Also, even if i make a write to these registers, nothing gets changed.

0 项奖励
回复
2 回复数

1,457 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Niyathi,

Is is hard to say where the problem might be without seeing your code or scope shots illustrating write/read transactions on the bus. 

You may find useful my example code where I also use a minute interrupt.

Best regards,

Tomas

0 项奖励
回复

1,457 次查看
niyathishenoyk
Contributor I

Hi Tomas,

Thank you for the sample code.Set time and get time is already working for me. I need a functionality where an alarm function is generated based on a particular time set. Also, is there some power on sequence that needs to be followed? Because after power on when i try to read the register values its supposed to give reset values,however it is giving me garbage values.I am also not able to write anything into the rtc registers.

0 项奖励
回复