PCF8563TS not being detected in i2c

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

PCF8563TS not being detected in i2c

441 次查看
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

标记 (1)
0 项奖励
回复
3 回复数

394 次查看
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 项奖励
回复

345 次查看
smsujan19
Contributor I
Hi,
We are still unable to detect the RTC in i2c.
Any help would be appreciated.
0 项奖励
回复

378 次查看
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 项奖励
回复