Specifications
SKU: 11658585
Parameter | Symbol | Min | Typical | Max | Unit | Description |
---|---|---|---|---|---|---|
Operating Voltage | Vcc | 1.6 | - | 5.5 | V | Supply voltage range |
Operating Temperature | Toper | -40 | - | 85 | °C | Operating temperature range |
Storage Temperature | Tstg | -40 | - | 85 | °C | Storage temperature range |
Clock Accuracy | - | - | ±2 ppm | - | ppm | Clock accuracy at 25°C, 3.3V, no load |
Load Capacitance | CL | 6 | - | 12 | pF | External crystal load capacitance |
Oscillator Frequency | fosc | 32768 | - | 32768 | Hz | Crystal oscillator frequency |
Power Consumption | Icc | - | 200 | 500 | nA | Current consumption in power-down mode (3.3V, 25°C) |
Power Consumption | Icc | - | 300 | 700 | nA | Current consumption in active mode (3.3V, 25°C) |
Output Drive Capability | IOL | - | 3 | 5 | mA | Output low level current (SQW/INT) |
Output Drive Capability | IOH | - | -2.4 | -3 | mA | Output high level current (SQW/INT) |
Interrupt Output Type | - | - | Open-drain | - | - | Interrupt output type |
Square Wave Output Type | - | - | Open-drain | - | - | Square wave output type |
Square Wave Frequency | fSQW | 1 | 1, 4096, 8192, 32768 | - | Hz | Selectable square wave frequencies |
Timekeeping Registers | - | - | 14 | - | bytes | Number of timekeeping registers |
Alarm Registers | - | - | 4 | - | bytes | Number of alarm registers |
Timer Registers | - | - | 3 | - | bytes | Number of timer registers |
I2C Bus Speed | - | - | 100 | 400 | kbps | Standard and fast-mode I2C bus speed |
I2C Bus Address | - | - | 0x68 | - | - | Default I2C bus address |
Instructions for Using the PCF8523T
Power Supply:
- Ensure the supply voltage is within the specified range (1.6V to 5.5V).
- Connect the Vcc pin to the power supply and GND to ground.
Crystal Connection:
- Connect a 32.768 kHz crystal between the X1 and X2 pins.
- Use external load capacitors of 6 pF to 12 pF for optimal performance.
I2C Communication:
- Connect the SDA and SCL pins to the I2C bus.
- Configure the I2C bus speed to either 100 kbps (standard mode) or 400 kbps (fast mode).
- Use the default I2C address 0x68 unless otherwise configured.
Time Setting:
- Write the desired time values to the timekeeping registers (seconds, minutes, hours, day, date, month, year).
Alarm Configuration:
- Set the alarm time by writing to the alarm registers (seconds, minutes, hours, day/date).
- Enable the alarm by setting the appropriate bits in the control register.
Timer Configuration:
- Set the timer value by writing to the timer registers.
- Enable the timer by setting the appropriate bits in the control register.
Interrupt Handling:
- The INT pin can be used to generate interrupts based on alarms or timers.
- Configure the interrupt source and enable it in the control register.
Square Wave Output:
- Select the desired square wave frequency (1 Hz, 4096 Hz, 8192 Hz, 32768 Hz) by writing to the control register.
- The SQW pin will output the selected frequency.
Power-Down Mode:
- To reduce power consumption, set the device to power-down mode by writing to the control register.
- In power-down mode, only the clock continues to run, and the current consumption is minimized.
Reading Time and Status:
- Read the current time from the timekeeping registers.
- Check the status registers for any flags indicating alarms, timers, or other events.
Resetting the Device:
- If necessary, reset the device by writing to the reset register or cycling the power.
By following these instructions, you can effectively configure and use the PCF8523T real-time clock (RTC) in your application.
(For reference only)Inquiry - PCF8523T