Cypress CY14B256K manual RTC Register Map5 BCD Format Data Function/Range, WDF Oscf

Page 11

 

 

 

 

 

 

 

 

 

 

 

 

CY14B256K

 

 

 

 

 

 

 

 

 

 

 

 

Table 3. RTC Register Map[5, 6]

 

 

 

 

 

 

 

 

Register

 

 

 

 

 

BCD Format Data [5]

 

 

 

 

Function/Range

D7

D6

D5

D4

D3

D2

D1

 

D0

 

 

 

0x7FFF

 

10s Years

 

 

Years

 

Years: 00–99

 

 

 

 

 

 

 

 

 

 

 

 

 

0x7FFE

0

0

 

 

0

10s Months

 

Months

 

Months: 01–12

 

 

 

 

 

 

 

 

 

 

 

 

 

0x7FFD

0

0

 

 

10s Day of Month

 

Day Of Month

 

Day of Month: 01–31

 

 

 

 

 

 

 

 

 

 

 

 

 

0x7FFC

0

0

 

 

0

0

0

 

Day of Week

 

Day of Week: 01–07

 

 

 

 

 

 

 

 

 

 

 

 

 

0x7FFB

0

0

 

 

10s Hours

 

Hours

 

Hours: 00–23

 

 

 

 

 

 

 

 

 

 

 

 

 

0x7FFA

0

 

 

 

10s Minutes

 

Minutes

 

Minutes: 00–59

 

 

 

 

 

 

 

 

 

 

0x7FF9

0

 

 

 

10s Seconds

 

Seconds

 

Seconds: 00–59

 

 

 

 

 

 

 

 

 

 

 

 

 

0x7FF8

OSCEN

0

 

 

Cal Sign

 

Calibration (00000)

 

Calibration Values [7]

 

(0)

 

 

 

(0)

 

 

 

 

 

 

 

0x7FF7

WDS (0)

WDW (0)

 

 

WDT (000000)

 

 

 

Watchdog [7]

0x7FF6

WIE (0)

AIE (0)

PFE (0)

0

H/L (1)

P/L (0)

0

 

0

Interrupts [7]

0x7FF5

M (1)

0

 

 

10s Alarm Date

 

Alarm Day

 

Alarm, Day of Month: 01–31

 

 

 

 

 

 

 

 

 

 

0x7FF4

M (1)

0

 

 

10s Alarm Hours

 

Alarm Hours

 

Alarm, Hours: 00–23

 

 

 

 

 

 

 

 

 

 

 

0x7FF3

M (1)

10 Alarm Minutes

 

Alarm Minutes

 

Alarm, Minutes: 00–59

 

 

 

 

 

 

 

0x7FF2

M (1)

10 Alarm Seconds

 

Alarm, Seconds

 

Alarm, Seconds: 00–59

 

 

 

 

 

 

 

 

 

 

 

0x7FF1

 

10s Centuries

 

 

Centuries

 

Centuries: 00–99

 

 

 

 

 

 

 

 

 

 

 

0x7FF0

WDF

AF

PF

OSCF

0

CAL (0)

W (0)

 

R (0)

Flags [7]

Note

5.( ) designates values shipped from the factory.

6.The unused bits of RTC registers are reserved for future use and should be set to ‘0’.

7.Is a binary value, not a BCD value.

Document Number: 001-06431 Rev. *H

Page 11 of 28

[+] Feedback

Image 11
Contents Cypress Semiconductor Corporation 198 Champion Court FeaturesLogic Block Diagram Functional DescriptionPin Definitions Pin ConfigurationsHardware Store HSB Operation Device OperationAutoStore Operation Data Protection Hardware Recall Power UpSoftware Store Software RecallCurrent versus Cycle Time Low Average Active Power Best PracticesMode Selection A13-A0 Power Real Time Clock Operation Calibrating the Clock AlarmWatchdog Timer Flags Register Power MonitorInterrupts Interrupt RegisterInterrupt Block Diagram WDF Oscf RTC Register Map5 BCD Format Data Function/RangeTime Keeping Minutes 0x7FFA Register Map Detail Time Keeping Years 0x7FFF 10s YearsTime Keeping Months 0x7FFE 10s Month Date Time Keeping Hours 0x7FFBInterrupt Status/Control 0x7FF6 Alarm Day 0x7FF5Register Map Detail Calibration/Control 0X7FF8 0x7FF7When the Flags register is read or on power-up Register Map Detail Alarm Hours 0x7FF4 10s Alarm HoursTo ignore the hours value Alarm Minutes 0x7FF3 Alarm Seconds 0x7FF2Range DC Electrical CharacteristicsMaximum Ratings Operating RangeAC Test Conditions Data Retention and EnduranceCapacitance Thermal ResistanceParameter Sram Read Cycle AC Switching CharacteristicsDescription 25 ns 35 ns 45 ns Min Max Unit Sram Write Cycle Parameter Cypress AltParameter Description CY14B256K Unit Min Max AutoStore or Power Up RecallParameter Alt Description 25 ns 35 ns 45 ns Unit Min Max Software Controlled STORE/RECALL Cycles 20Hardware Store Cycle Soft Sequence CommandsTruth Table For Sram Operations RTC CharacteristicsInputs and Outputs Mode Power Part Numbering Nomenclature CY 14 B 256 K SP 25 X C T Ordering Information Pin Shrunk Small Outline Package Package DiagramsOrig. of Change Submission Description of Change Date Document HistoryAdded default values to RTC Register Map table Updated Features sectionUpdated Reading the clock, Backup Power, Stopping Starting the Oscillator and Alarm descriptions under RTCUSB Sales, Solutions, and Legal InformationWorldwide Sales and Design Support Products PSoC Solutions