PI4IOE5V9536

Document overview

  • Manufacturer or author: Diodes Incorporated
  • PDF pages: 19

Technical content

Features

Description

Table 1. Basic Functions of PT7C4563BQ

1 Oscillator

2 Time

3 Interrupt Alarm Interrupt 

5 Communication 2-Wire I2C Bus 

  1. No purposely added lead. Fully EU Directive 2002/95/EC (RoHS), 2011/65/EU (RoHS 2) & 2015/863/EU (RoHS 3) compliant.
  2. See https://www.diodes.com/quality/lead-free/ for more information about Diodes Incorporated’s definitions of Halogen - and Antimony-free, "Green" and Lead-free.
  3. Halogen- and Antimony-free "Green” products are defined as those which contain <900ppm bromine, <900ppm chlorine (<1500ppm total Br + Cl) and <1000 ppm

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 2 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ Pin Configuration SOIC-8 Pin Description Pin# Pin Type Description 1 X1 I Oscillator Circuit Input. Together with X2, the 32.768kHz crystal is connected between them. 2 X2 O Oscillator Circuit Output. Together with X1, the 32.768kHz crystal is connected between them. INT O Interrupt Output. Open drain, active low. 4 GND P Ground. 5 SDA I/O Serial Data Input/Output. SDA is the input/output pin for the 2-wire serial interface. The SDA pin is open-drain output and requires an external pull-up resistor. 6 SCL I Serial Clock Input. SCL is used to synchronize data movement on the I2C serial interface. 7 SQW O Clock Output. Open drain. Four frequencies selectable: 32.768k, 1.024k, 32, 1Hz when SQWE bit is set to 1. 8 VCC P Power. INT GND VCC SQW SCL 6 4 5SDA PT7C4363 DIP-8 SOIC-8 TSSOP-8

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 3 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ Function Block Alarm Interrupt Control Square Wave Output Control Comparator Alarm Register (Min, Hour, Day, Date) Shift Register Address Decoder Address Register INT SCL SDA PT7C4363 OSC CD CG 32.768 kHz Control Register Counter Chain I /O Interface (I2C) SQW Time Counter (Sec,Min,Hour,Day,Date,Month,Year) Note: Built in CD = CG= 12pF

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 4 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ Maximum Ratings Recommended Operating Conditions Symbol Description Min. Typ. Max. Unit VCC Power Voltage 1.3 — 5.5 V VIH Input High Level 0.7 VCC — VCC+0.3 VIL Input Low Level -0.3 — 0.3 VCC TA Operating Temperature -40 — 125 °C Unless otherwise specified, GND =0V, VCC = 1.3 ~ 5.5 V, TA = -40°C to +125°C, fOSC = 32.768kHz. Sym. Description Pin Conditions Min. Typ. Max. Unit VCC Supply Voltage VCC Interface Inactive. TA = 25°C1) 1.1 — 5.5 V Interface Active. fSCL = 400kHz , TA = 25°C1) 1.3 — 5.5 Supply Voltage for Clock Data Integrity VCC — 1.1 — 5.5 ICC Supply Current VCC Interface Active fSCL = 400kHz — — 35 A fSCL = 100kHz — — 15 Interface Inactive (fSCL = 0Hz), Pin 7 Disabled VCC = 5.0V — 450 1300 nA VCC = 3.0V — 400 1000 Interface Inactive (fSCL = 0Hz), Pin 7 Enabled at 32kHz VCC = 5.0V — 650 1500 nA VCC = 3.0V — 600 1200 VIL1 Low-Level Input Voltage SCL — 0 — 0.3VCC V VIH1 High-Level Input Voltage SCL — 0.7VCC — VCC IOL Low-Level Output Voltage SDA VOL = 0.4V, VCC = 5V -3 — — mA /INT, SQW VOL = 0.4V, VCC = 5V -1 — — IIL Input Leakage Current SCL — -1 — 1 A IOZ Output Current When OFF — — -1 — 1 A Note: 1. For reliable oscillator start-up at power-up: VCC(min)power-up = VCC(min) + 0.3 V. Sym Description Value Unit VHM Rising and Falling Threshold Voltage High 0.8VCC V VHL Rising and Falling Threshold Voltage Low 0.2VCC V Signal tf tr VHM VLM Note: Stresses greater than those listed under MAXIMUM RATINGS may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect reliability.

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 5 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ Typical Operation Characteristics Unless otherwise specified, VCC = 3.3V, TA = 25°C 100 200 300 400 500 600 700 800 900 1000 -40 -20 0 20 40 60 80 100 120 ICCS (nA) TE MPERATURE (℃) ICCS vs. Temperature SQWE=1 SQWE=0 Vcc=3V

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 6 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ Over the Operating Range Symbol Item Min. Typ. Max. Unit fSCL SCL Clock Frequency — — 400 kHz tSU;STA START Condition Set-Up Time 0.6 — — s tHD;STA START Condition Hold Time 0.6 — — s tSU;DAT Data Set-Up Time (RTC Read/Write) 200 — — ns tHD;DAT1 Data Hold Time (RTC Write) 35 — — ns tHD;DAT2 Data Hold Time (RTC Read) 0 — — s tSU;STO STOP Condition Setup Time 0.6 — — s tBUF Bus Idle Time Between a START and STOP Condition 1.3 — — s tLOW When SCL = "L" 1.3 — — s tHIGH When SCL = "H" 0.6 — — s tr Rise Time for SCL and SDA — — 0.3 s tf Fall Time for SCL and SDA — — 0.3 s tSP* Allowable Spike Time on Bus — — 50 ns CB Capacitance Load for Each Bus Line — — 400 pF * Note: Only reference for design. S Sr P tHD;STA tSP tSU;DATtHD;STA tHD;DAT tSU;STA tSU;STO SCL SDA tBUF tHD;STA tSU;STA fSCL tLOW tHIGH Sr S PStart condition Restart condition Stop condition

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 7 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ Recommended Layout for Crystal Built-in Capacitors Specifications and Recommended External Capacitors Parameter Symbol Typ Unit Build-in Capacitors X1 to GND CG 12 pF X2 to GND CD 12 pF Recommended External Capacitors for Crystal CL=12.5pF X1 to GND C1 10 pF X2 to GND C2 10 pF Recommended External Capacitors for Crystal CL=6pF X1 to GND C1 0 pF X2 to GND C2 0 pF The frequency of crystal can be optimized by external capacitor C1 and C2. For frequency=32.768Hz, C1 and C2 should meet the following equation: Cpar + [(C1+CG)*(C2+CD)]/ [(C1+CG) + (C2+CD)] =CL

  • Cpar = all parasitical capacitor between X1 and X2
  • CL = crystal’s load capacitance Crystal Specifications Parameter Symbol Min Typ Max Unit Nominal Frequency fO — 32.768 — kHz Series Resistance ESR — — 100 k Load Capacitance CL — 6/12.5 — pF Note: The crystal, traces and crystal input pins should be isolated from RF generating signals.

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 8 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ Function Description Overview of Functions 1. Clock Function 2. Alarm Function 3. Programmable Square Wave Output 4. Interface with CPU 5. Oscillator Fail Detect

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 9 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ Registers 1. Allocation of Registers Addr. (hex)1 Function (Time Range BCD Format) Register Definition Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

01 Control/Status 2     AF2  AIE3 

02 Seconds (00-59) OSF4 S40 S20 S10 S8 S4 S2 S1

03 Minutes (00-59)  M40 M20 M10 M8 M4 M2 M1

04 Hours (00-23)   H20 H10 H8 H4 H2 H1

05 Dates (01-31)   D20 D10 D8 D4 D2 D1

06 Days of the Week (00-06)      W4 W2 W1

07 Months (01-12)    MO10 MO8 MO4 MO2 MO1

08 Years (00-99) Y80 Y40 Y20 Y10 Y8 Y4 Y2 Y1

09 Alarm: Minutes (00-59) AE5 M40 M20 M10 M8 M4 M2 M1

0A Alarm: Hours (01-12) AE5  H20 H10 H8 H4 H2 H1 0B Alarm: Dates (01-31) AE5  D20 D10 D8 D4 D2 D1 0C Alarm: Weekday (00-06) AE5     W4 W2 W1 0D SQW Control SQWE      RS1 RS0 Caution Points: 1. PT7C4563BQ uses 8 bits for address. For excess 0FH address, PT7C4563BQ does not respond. 2. Alarm interrupts flag bits. 3. Alarm interrupt enable bits. 4. Oscillator fail indicates. Indicate clock integrity. 5. Alarm enable bit. Alarm is active when related time is matching if AE = 0. 6. All bits marked with "" are not implemented.

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 10 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ 2. Control and Status Register Addr. (hex) Description D7 D6 D5 D4 D3 D2 D1 D0 (Default) 0 Undefined 0 Undefined 1 Undefined Undefined Undefined Control/Status 2     AF  AIE  (Default) Undefined Undefined Undefined 0 Undefined Undefined 0 0 SQW Control SQWE      RS1 RS0 (Default) 1 Undefined Undefined Undefined Undefined Undefined 0 0 a) Alarm Interrupt

  • AIE: Alarm Interrupt Enable Bit. AIE Data Description Read/Write

0 Alarm Interrupt Disabled Default

1 Alarm Interrupt Enabled

  • AF: Alarm Flag AF Data Description Read

0 Alarm Flag Inactive

1 Alarm Flag Active

0 Alarm Flag is Cleared

1 Alarm flag Remains Unchanged

b) SQW Control

  • SQWE: SQW Output Clock Enable Bit. SQWE Data Description Read/Write 0 The SQW output is inhibited and SQW output is set to high-impedance. 1 The SQW output is activated. Default
  • RS1, RS0: SQW Output Frequency Select. RS1, RS0 Data SQW Output Frequency (Hz) Read/Write 00 32.768k Default 01 1.024k 10 32 11 1

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 11 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ 3. Time Counter Addr. (hex) Description D7 D6 D5 D4 D3 D2 D1 D0 Seconds OSF1 S40 S20 S10 S8 S4 S2 S1 (Default) 1 Undefined Undefined Undefined Undefined Undefined Undefined Undefined Minutes  M40 M20 M10 M8 M4 M2 M1 (Default) 0 Undefined Undefined Undefined Undefined Undefined Undefined Undefined Hours   H20 H10 H8 H4 H2 H1 (Default) 0 0 Undefined Undefined Undefined Undefined Undefined Undefined Note: 1. Indicate clock integrity. When the bit is 1, the clock integrity is no longer guaranteed and the time need be adjusted. 4. Days of the Week Counter Addr. (hex) Description D7 D6 D5 D4 D3 D2 D1 D0 Days of the Week      W4 W2 W1 (Default) 0 0 0 0 0 Undefined Undefined Undefined 5. Calendar Counter Addr. (hex) Description D7 D6 D5 D4 D3 D2 D1 D0 Dates   D20 D10 D8 D4 D2 D1 (Default) 0 0 Undefined Undefined Undefined Undefined Undefined Undefined Months    M10 M8 M4 M2 M1 (Default) Undefined 0 0 Undefined Undefined Undefined Undefined Undefined Years Y80 Y40 Y20 Y10 Y8 Y4 Y2 Y1 (Default) Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 12 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ 6. Alarm Register PT7C4563B: Alarm Register Addr. Description D7 D6 D5 D4 D3 D2 D1 D0 Alarm: Minutes AE1 M40 M20 M10 M8 M4 M2 M1 (Default) Undefined Undefined Undefined Undefined Undefined Undefined Undefined Undefined Alarm: Hours AE2  H20 H10 H8 H4 H2 H1 (Default) Undefined 0 Undefined Undefined Undefined Undefined Undefined Undefined Alarm: Dates AE3  D20 D10 D8 D4 D2 D1 (Default) Undefined 0 Undefined Undefined Undefined Undefined Undefined Undefined Alarm: Weekday AE4     W4 W2 W1 (Default) Undefined 0 0 0 0 Undefined Undefined Undefined Notes: 1. Minute alarm enable bit. 2. Hour alarm enable bit. 3. Note: Date alarm enable bit. 4. Note: Weekday alarm enable bit. Alarm Function Related Register A d d r h e x Function Register Definition Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

01 Control/status 2     AF  AIE 

02 Seconds OSF S40 S20 S10 S8 S4 S2 S1

03 Minutes  M40 M20 M10 M8 M4 M2 M1

04 Hours   H20 H10 H8 H4 H2 H1

05 Dates   D20 D10 D8 D4 D2 D1

06 Days of the week      W4 W2 W1

09 Alarm: Minutes AE M40 M20 M10 M8 M4 M2 M1

0A Alarm: Hours AE  H20 H10 H8 H4 H2 H1 0B Alarm: Dates AE  D20 D10 D8 D4 D2 D1 0C Alarm: Weekday AE     W4 W2 W1

Document Number DS41477 Rev 4-4 13 © 2024 Copyright Diodes Incorporated. All Rights Reserved. Note: When there is only one master, the MCU is ready for driving SCL to "H" and RP of SCL may not required. Figure 1. System Configuration

Document Number DS41477 Rev 4-4 14 © 2024 Copyright Diodes Incorporated. All Rights Reserved.

  • Data Transfers *Note with caution that if the SDA data is changed while the SCL line is at high level, it is treated as a START, RESTART, or STOP condition.

Figure 2. Starting and Stopping on I2C Bus

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 15 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ

  • Data Acknowledge Response (ACK Signal) e) Slave Address Operation Transfer Data Slave Address R/W bit Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 bit 0 Read A3 h 1 0 1 0 0 0 1 1 (= Read) Write A2 h 0 (= Write) SCL from Master 1 2 8 9 SDA from transmitter (sending side) SDA from receiver (receiving side) Release SDA Low active ACK signal

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 16 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ 2. I2C Bus’ Basic Transfer Format a) Write via I2C Bus b) Read via I2C Bus

  • Standard Read S Start indication P Stop indication Sr Restart indication A RTC Acknowledge A Master Acknowledge Slave address (7 bits) 1 0 1 0 0 0 1 0 write Addr. setting Slave address + write specification Address Specifies the write start address. A bit 7 6 5 4 3 2 1 0 bit bit bit bit bit bit bit A P Write data S A A C K A C K A C K Start Stop Slave address (7 bits) 1 0 1 0 0 0 1 0 write Slave address + write specification Address Specifies the read start address. Addr. setting AS Slave address (7 bits) 1 0 1 0 0 0 1 1 Read Slave address + read specification Data read (1) Data is read from the specified start address and address auto increment. A bit 7 6 5 4 3 2 1 0 bit bit bit bit bit bit bit / A PSr 7 6 5 4 3 2 1 0 bit bit bit bit bit bit bitbit Data read (2) Address auto increment to set the address for the next data to be read. A C K N O A C K A A C K A C K A C K A Start StopRestart

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 17 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ

  • Simplified Read Note: 1. The above steps are an example of transfers of one or two bytes only. There is no limit to the number of bytes transferred during actual communications. 2. 49H, 4AH are used as test mode address. Customer should not use the addresses. Part Marking Data read (2) Address register auto increment to set the address for the next data to be read. Data read (1) Data is read from the address pointed by the internal address register and address auto increment. Slave address (7 bits) 1 0 1 0 0 0 1 1 Read A bit 7 6 5 4 3 2 1 0 bit bit bit bit bit bit bit / A PS 7 6 5 4 3 2 1 0 bit bit bit bit bit bit bitbit A C K N O A C K A C K A StopStart Slave address + read specification

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 18 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ Packaging Mechanical W (SOIC-8) For latest package info.

Ordering Information

Part Number Package Code Package PT7C4563BQ1WEX W 8-Pin, 150mil-Wide (SOIC) Notes: 1. No purposely added lead. Fully EU Directive 2002/95/EC (RoHS), 2011/65/EU (RoHS 2) & 2015/863/EU (RoHS 3) compliant. 2. See https://www.diodes.com/quality/lead-free/ for more information about Diodes Incorporated’s definitions of Halogen- and Antimony-free, "Green" and Lead-free. 3. Halogen- and Antimony-free "Green” products are defined as those which contain <900ppm bromine, <900ppm chlorine (<1500ppm total Br + Cl) and <1000ppm antimony compounds. 4. Q = Automotive Compliant 5. 1 = AEC-Q100 Grade Level 6. E = Pb-free and Green 7. X suffix = Tape/Reel

PT7C4563BQ www.diodes.com April 2024 Document Number DS41477 Rev 4-4 19 © 2024 Copyright Diodes Incorporated. All Rights Reserved. PT7C4563BQ IMPORTANT NOTICE 1.DIODES INCORPORATED (Diodes) AND ITS SUBSIDIARIES MAKE NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARDS TO ANY INFORMATION CONTAINED IN THIS DOCUMENT, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON -INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION). 2.The Information contained herein is for informational purpose only and is provided only to illustrate the operation of Diodes’ products described herein and application examples. Diodes does not assume any liability arising out of the application or use of this document or any prod uct described herein. This document is intended for skilled and technically trained engineering customers and users who design with Diodes’ products. Diodes’ products may be used to facilitate safety-related applications; however, in all instances customers and users are responsible for (a) selecting the appropriate Diodes products for their applications, (b) evaluating the suitability of Diodes’ products for their intended applications, (c) ensuring their ap plications, which incorporate Diodes’ products, comply the applicable legal and regulatory requirements as well as safety and functional -safety related standards, and (d) ensuring they design with appropriate safeguards (including testing, validation, quality control techniques, redundancy, malfunction prevention, a nd appropriate treatment for aging degradation) to minimize the risks associated with their applications. 3.Diodes assumes no liability for any application-related information, support, assistance or feedback that may be provided by Diodes from time to time. Any customer or user of this document or products described herein will assume all risks and liabilities associated with such use , and will hold Diodes and all companies whose products are represented herein or on Diodes’ websites, harmless against all damages and liabilities. 4.Products described herein may be covered by one or more United States, international or foreign patents and pending patent applications. Product names and markings noted herein may also be covered by one or more United States, international or foreign trademarks and trademark applications. Diodes does not convey any license under any of its intellectual property rights or the rights of any third parties (including third parties whose products and services may be described in this document or on Diodes’ website) under this document. 5.Diodes’ products are provided subject to Diodes’ Standard Terms and Conditions of Sale (https://www.diodes.com/about/company/ terms-and- conditions/terms-and-conditions-of-sales/) or other applicable terms. This document does not alter or expand the applicable warranties provided by Diodes. Diodes does not warrant or accept any liability whatsoever in respect of any products purchased through unauthorized sales channel. 6.Diodes’ products and technology may not be used for or incorporated into any products or systems whose manufacture, use or sa le is prohibited under any applicable laws and regulations. Should customers or users use Diodes’ products in contravention of any applicable laws o r regulations, or for any unintended or unauthorized application, customers and users will (a) be solely responsible for any damages, losses or penalti es arising in connection therewith or as a result thereof, and (b) indemnify and hold Diodes and its representatives and agents harmless against any a nd all claims, damages, expenses, and attorney fees arising out of, directly or indirectly, any claim relating to any noncompliance with the applicable laws and regulations, as well as any unintended or unauthorized application. 7.While efforts have been made to ensure the information contained in this document is accurate, complete and current, it may c ontain technical inaccuracies, omissions and typographical errors. Diodes does not warrant that information contained in this document is error-free and Diodes is under no obligation to update or otherwise correct this information. Notwithstanding the foregoing, Diodes reserves the right to make modifications, enhancements, improvements, corrections or other changes without further notice to this document and any product described herein. This doc ument is written in English but may be translated into multiple languages for reference. Only the English version of this document is the final and deter minative format released by Diodes. 8.Any unauthorized copying, modification, distribution, transmission, display or other use of this document (or any portion her eof) is prohibited. Diodes assumes no responsibility for any losses incurred by the customers or users or any third parties arising from any such unauthorized use. 9. This Notice may be periodically updated with the most recent version available at https://www.diodes.com/about/company/ter ms-and- conditions/important-notice The Diodes logo is a registered trademark of Diodes Incorporated in the United States and other countries. All other trademarks are the property of their respective owners. © 2024 Diodes Incorporated. All Rights Reserved. www.diodes.com