Memory, RTC & Bus Control

NXP Semiconductors PCF8523 in the datasheet corpus

Ultra-low-power 1.2 uA I2C real-time clock with battery switch-over and countdown timers.

standing: provisionalI2C0x68 (fixed, up to 1 MHz Fm+)
VendorNXP SemiconductorsMemory, RTC & Bus Control
InterfaceI2C0x68 (fixed, up to 1 MHz Fm+)
Record StatusCatalog profileDatasheet / behavioral twin

Driver oracle & capability record

Indexed in the CircuitTwin datasheet corpus (rtc class) for data-logger timestamp and battery-fail flag testing.

Driver referenceZephyr nxp,pcf8523 / Adafruit RTClib
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordGenerate or inspect locally via ct twin generate (see /docs/twin-generation).

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0x00-0x02Control_1..30x00 / 0x00 / 0xE0Clock stop, battery switch-over mode and low-battery flag
0x03SecondsOS bit [7]=1BCD seconds plus oscillator-stop integrity flag
0x04-0x09Minutes..YearsBCD calendarCalendar counters with leap-year handling

Attach with ct CLI

Shell - run firmware with PCF8523
# Run compiled firmware with PCF8523 attached on feather-nrf52840-express
ct run --json --board feather-nrf52840-express --device pcf8523 build/app.elf

# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/pcf8523.xml tests/pcf8523-fault.suite.yaml

Fault-injection test snippet (suite.yaml)

tests/pcf8523-fault.suite.yaml
version: 1
board: feather-nrf52840-express
firmware: build/app.elf
tests:
  - name: pcf8523-i2c-nack-recovery
    faults:
      - at_ms: 30
        bus: I2C1
        kind: nack
        address: 0x68
        count: 2
      - at_ms: 140
        part: pcf8523
        kind: register_override
        register: 0x02
        value: 0xFF
    expect:
      console_contains: "DRIVER_FAULT_HANDLED"
      exit_code: 0

Compatible board twins

More in Memory, RTC & Bus Control