CP2400 SILABS [Silicon Laboratories], CP2400 Datasheet - Page 71

no-image

CP2400

Manufacturer Part Number
CP2400
Description
128/64 SEGMENT LCD DRIVER
Manufacturer
SILABS [Silicon Laboratories]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CP2400-GM
Manufacturer:
SIGE
Quantity:
5 000
Company:
Part Number:
CP2400-GMR
Quantity:
20 000
Company:
Part Number:
CP2400-GMR
Quantity:
50 000
Part Number:
CP2400-GQ
Manufacturer:
SILICON
Quantity:
770
Part Number:
CP2400-GQ
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
CP2400-GQ
Manufacturer:
SILICON LABS/芯科
Quantity:
20 000
Part Number:
CP2400-GQR
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
11.1.2. Using RTCADR and RTCDAT to Access SmaRTClock Internal Registers
The SmaRTClock internal registers can be read and written using RTCADR and RTCDAT. The RTCADR register
selects the SmaRTClock internal register that will be targeted by subsequent reads or writes.
A SmaRTClock Write operation is initiated by writing to the RTCDAT register. Below is an example of writing to a
SmaRTClock internal register.
A SmaRTClock Read operation is initiated by setting the SmaRTClock Interface Busy bit. This transfers the
contents of the internal register selected by RTCADR to RTCDAT. The transferred data will remain in RTCDAT until
the next read or write operation. Below is an example of reading a SmaRTClock internal register.
11.1.3. SmaRTClock Interface Autoread Feature
When Autoread is enabled, each read from RTCDAT initiates the next indirect read operation on the SmaRTClock
internal register selected by RTCADR. Software should set the BUSY bit once at the beginning of each series of
consecutive reads. Software must check if the SmaRTClock Interface is busy prior to reading RTCDAT. Autoread is
enabled by setting AUTORD (RTCADR.6) to logic 1.
11.1.4. RTCADR Autoincrement Feature
For ease of reading and writing the 32-bit CAPTURE and ALARM values, RTCADR automatically increments after
each read or write to a CAPTUREn or ALARMn register. This speeds up the process of setting an alarm or reading
the current SmaRTClock timer value by allowing all 4 CAPTURE or ALARM registers to be read or written in a
single block write. Autoincrement is always enabled.
Notes: Autoincrement should only be used with block reads/writes. When using single-byte reads/writes, RTCADR must be
written before each data read or write.
When using SMBus to perform a block read/write, the RTCADR register must be written using the REGSET command.
1. Write 0x05 to RTCADR. This selects the internal RTC0CN register at SmaRTClock Address 0x05.
2. Write 0x00 to RTCDAT. This operation writes 0x00 to the internal RTC0CN register.
1. Write 0x05 to RTCADR. This selects the internal RTC0CN register at SmaRTClock Address 0x05.
2. Write 1 to BUSY. This initiates the transfer of data from RTC0CN to RTCDAT. Note: Step 1 and Step 2
3. Read data from RTCDAT. This data is a copy of the RTC0CN register.
may be combined into a single write.
Rev. 1.0
CP2400/1/2/3
71

Related parts for CP2400