Cypress CY14B101P manual Oscen

Page 19

 

 

 

 

 

 

 

PRELIMINARY

 

 

 

CY14B101P

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 10. Register Map Detail

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Time Keeping - Years

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0F

D7

 

 

 

D6

 

D5

D4

 

D3

D2

 

D1

 

D0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10s

Years

 

 

 

 

Years

 

 

 

 

 

 

Contains the lower two BCD digits of the year. Lower nibble

(four bits) contains the value for years; upper nibble (four

 

bits) contains the value for 10s of years. Each nibble operates from 0 to 9. The range for the register is 0–99.

 

 

 

 

 

 

 

 

Time Keeping - Months

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0E

D7

 

 

 

D6

 

D5

D4

 

D3

D2

 

D1

 

D0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

0

 

0

10s Month

 

 

 

Months

 

 

 

 

 

 

 

 

 

 

 

 

Contains the

BCD digits of the month. Lower nibble (four bits) contains the lower digit and operates from 0 to 9; upper

 

nibble (one bit) contains the upper digit and operates from 0 to 1. The range for the register is 1–12.

 

 

 

 

 

 

 

 

 

 

Time Keeping - Date

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D7

 

 

 

D6

 

D5

D4

 

D3

D2

 

D1

 

D0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0D

0

 

 

 

0

 

10s Day

of Month

 

 

Day of Month

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Contains the

BCD digits for

the date of the month. Lower nibble (four bits) contains the lower digit and operates from 0

 

to 9; upper nibble (two bits) contains the 10s digit and operates from 0 to 3. The range for the register is 1–31. Leap

 

years are automatically adjusted for.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Time Keeping - Day

 

 

 

 

 

 

 

D7

 

 

 

D6

 

D5

D4

 

D3

D2

 

D1

 

D0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0C

0

 

 

 

0

 

0

0

 

0

 

 

Day of Week

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Lower nibble

(three bits) contains a value that correlates to day of the week. Day of the week is a ring counter that

 

counts from 1 to 7 then returns to 1. The user must assign meaning to the day value, because the day is not integrated

 

with the date.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Time Keeping - Hours

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0B

D7

 

 

 

D6

 

D5

D4

 

D3

D2

 

D1

 

D0

0

 

 

 

0

 

10s

Hours

 

 

 

Hours

 

 

 

 

 

 

 

 

Contains the

BCD value of

hours in 24 hour format. Lower

nibble (four bits) contains the lower digit and operates from

 

0 to 9; upper nibble (two bits) contains the upper digit and operates from 0 to 2. The range for the register is 0–23.

 

 

 

 

 

 

 

 

Time Keeping - Minutes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x0A

D7

 

 

 

D6

 

D5

D4

 

D3

D2

 

D1

 

D0

0

 

 

 

 

 

10s Minutes

 

 

 

 

Minutes

 

 

 

 

 

 

 

Contains the

BCD value of minutes. Lower nibble (four bits)

contains the lower digit and operates from 0 to 9; upper

 

nibble (three bits) contains the upper minutes digit and operates from 0 to 5. The range for the register is 0–59.

 

 

 

 

 

 

 

 

Time Keeping - Seconds

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x09

D7

 

 

 

D6

 

D5

D4

 

D3

D2

 

D1

 

D0

 

 

 

 

 

10s

Seconds

 

 

 

 

Seconds

 

 

 

 

 

 

Contains the BCD value of seconds. Lower nibble (four bits)

contains the lower digit and operates from 0 to 9; upper

 

nibble (three bits) contains the upper digit and operates from 0 to 5. The range for the register is 0–59.

 

 

 

 

 

 

 

 

 

 

Calibration/Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0X08

D7

 

 

 

D6

 

D5

D4

 

D3

D2

 

D1

 

D0

 

OSCEN

 

 

 

0

 

Calibration

 

 

 

Calibration

 

 

 

 

 

 

 

 

 

 

 

Sign

 

 

 

 

 

 

 

 

 

OSCEN

Oscillator Enable. When set to 1, the oscillator is stopped. When set to 0, the oscillator runs. Disabling the oscillator

 

saves battery or capacitor power during storage.

 

 

 

 

 

 

 

Calibration

Determines if the calibration adjustment is applied as an addition (1) to or as a subtraction (0) from the time-base.

Sign

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Calibration

These five bits control the calibration of the clock.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Document #: 001-44109 Rev. *B

 

 

 

 

 

 

 

 

 

 

Page 19 of 32

[+] Feedback

Image 19
Contents Sram Array FeaturesLogic Block Diagram OverviewPin Definitions Pin Name Type Description PinoutsHold Store Operation Device OperationSram Write Sram ReadSerial Peripheral Interface SPI Master Commonly used terms used in SPI protocol are given belowSPI Modes System Configuration Using SPI nvSRAMSPI Functional Description SPI Operating FeaturesRead Status Register Rdsr Instruction Status RegisterWrite Status Register Wrsr Instruction Block Protection Write Enable Wren InstructionWrite Disable Wrdi Instruction Write Protection and Block ProtectionWpen WEN Memory AccessRead Sequence Read Write Sequence WriteRead RTC Rdrtc Instruction Burst Mode Read Instruction TimingSoftware Store Store AutoStore DisableNvSRAM Special Instructions Write RTC Wrtc InstructionHold Pin Operation AutoStore Disable AsdisbAutoStore Enable Asenb Software Recall RecallReal Time Clock Operation Watchdog Timer AlarmCalibrating the Clock Flags Register Power MonitorInterrupt Register InterruptsRTC Recommended Component Configuration Accessing the Real Time Clock through SPIWDF Oscf RTC Register Map1 BCD Format Data Function/RangeOscen Register Map Detail Alarm DayAlarm Hours Alarm MinutesWDF Oscf CAL Register Map Detail Alarm SecondsTime Keeping Centuries Flags 0x00Parameter Description Test Conditions Min Max Unit DC Electrical CharacteristicsMaximum Ratings Operating RangeAC Test Conditions Data Retention and EnduranceCapacitance Thermal ResistanceAC Switching Characteristics ~ ~ ~ ~ Switching Waveforms AutoStore or Power Up RecallParameters Description CY14B101P Unit Min Max CY14B101P Hardware Store Pulse Width To Output Active Time when write latch not setHardware Store Cycle Parameter DescriptionCY 14 B 101 P SF X C T Ordering Code Package Diagram Package Type Operating RangeOrdering Information Part Numbering NomenclaturePin 300 mil Soic Package Package DiagramsREV ECN no Document HistorySubmission Orig. Description of Change Date Worldwide Sales and Design Support Products PSoC Solutions Sales, Solutions, and Legal InformationUSB