- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In a discussion below, the problem seemed to be complicate, so I ordered the similar PCF 8563 RTC Module to test with,
I placed my order 19-Nov-2021, but the sensors did not arrive until 1-Dec-2021.
And by that time the issue was solved, and I ended up with 5 of these modules. 😜
Fortunately there were remaining issues about using I2C_WriteBuf() and I2C_ReadBuf(),
so I tried
(1) Write a sample program to use PCF 8563 RTC Module.
(2) Use both I2C_ReadBuf() and I2C_WriteBuf() somewhere in the project.
Anyway, here is my sample of using PCF 8563 RTC Module with CY8CKIT-059.
schematic
pins
Tera Term (serial terminal)
When started, the program shows the splash and command list.
The command "get all" shows both date and time.
The command "init YYYY/MM/DD hh:mm:ss" set date and time directly to the registers
by using I2C_WriteBuf().
The command "dump" reads out all registers by using I2C_ReadBuf().
And I added some ore commands, but this time I could not afford to implement timer and/or alarm functions.
moto