- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, @MotooTanaka san,
Apologies for bothering you again.
The current thread is an extension to the earlier thread where I was seeking your assistance link.
As mentioned in the earlier thread, I am trying to get the PCF 8563 RTC module to work with the PSOC 5LP over the I2C interface, but sadly, I am not able to do so.
I have tried the I2C write and read operations as mentioned in the I2C component datasheet with the slave address changed, but that didn't help.
Also, I tried the implementation mentioned in the thread which is DS1307, but that implementation didn't work out either.
The datasheet of the PCF 8563 can be accessed from the link:https://www.waveshare.com/w/upload/5/5d/PCF8563.pdf
(To read the time, the seconds register 0x02 is to be accessed and a buffer of 6 bytes can be read to display the time and date.)
I have tried the same RTC with STM32F407, and it worked out just fine. The implementation and API working is a bit different and I am not able to figure out what is going wrong with PSOC.
I will really appreciate any help on this.
Regards,
Yash
Solved! Go to Solution.
- Labels:
-
PSOC5 LP MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
To test basic components, I posted sample projects below
(CY8CKIT-059)
(CY8CKIT-050)
Please try one close to your environment and access I2C via a serial terminal, such as Tera Term.
If it works, you can refer to my i2c_utils.[ch] source to access I2C.
If it does not work, may be you are having some problem with hardware.
moto