PCF8563TS not being detected in i2c

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

PCF8563TS not being detected in i2c

196 Views
smsujan19
Contributor I

Hi, 

We have PCF8563TS RTC on our custom board which is not being detected in i2c interface, in both i2c probe in u-boot & also i2cdetect utility. 

We are expecting 0xa2 address as mentioned in the data sheet. 

Screenshot 2024-07-18 171546.png

 

 

 

 

 

Regards, 
Sujan

Tags (1)
0 Kudos
Reply
3 Replies

149 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

Refering the device tree example, the address should be 0x51.

# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/rtc/nxp,pcf8563.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Philips PCF8563/Epson RTC8564 Real Time Clock

maintainers:
  - Alexandre Belloni <alexandre.belloni@bootlin.com>

allOf:
  - $ref: rtc.yaml#

properties:
  compatible:
    enum:
      - epson,rtc8564
      - microcrystal,rv8564
      - nxp,pca8565
      - nxp,pcf8563

  reg:
    maxItems: 1

  "#clock-cells":
    const: 0

  clock-output-names:
    maxItems: 1

  interrupts:
    maxItems: 1

  start-year: true
  wakeup-source: true

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        rtc@51 {
            compatible = "nxp,pcf8563";
            reg = <0x51>;
            #clock-cells = <0>;
        };
    };
...



Best Regards
Zhiming

0 Kudos
Reply

100 Views
smsujan19
Contributor I
Hi,
We are still unable to detect the RTC in i2c.
Any help would be appreciated.
0 Kudos
Reply

133 Views
smsujan19
Contributor I

Hi Zhiming, 

Well, even the address 0x51 is not detected in i2c probe scan. 

We have a crystal SWS2129F48-32.768K which is connected b/w OSCI & OSCO. 

Also there is a pull-up for i2c, which is working for other slaves. 

Any ideas ? 

Regards,
Sujan 

0 Kudos
Reply