| Electronic Components Datasheet Search |
|
LS1024ASE7MLA Datasheet(PDF) 85 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
LS1024ASE7MLA Datasheet(HTML) 85 Page - NXP Semiconductors |
|
85 / 198 page ![]() QorIQ LS1024A Data sheet, Rev 0 Real Time Clock Freescale Semiconductor 82 • Read Operation — Since there is no flow control on the APB bus and the RTC APB interface is running at a slower clock, the read operation for RTC on APB bus is divided into two operations 8.2 Function Description 8.2.1 Leap Year Generator The leap year generator calculates the last date of each month as 28, 29, 30 or 31 based on the data from BCDDAY, BCDMON, and BCDYEAR. This also considers leap years in deciding the last date. A 16-bit counter can just represent four BCD digits, so it can decide whether any year is a leap year or not. 8.2.2 Clock Function It is required to set to "1" of the RTCCON[1] register for interfacing between CPU and RTC logic. One second error can occur when the CPU reads or writes data into BCD counters and this can cause the change of the higher time units. When the CPU reads/writes data to/from the BCD counters, another time unit may be changed if BCDSEC register is overflowed. To avoid this problem, the CPU should reset BCDSEC register to 00h. The reading sequence of the BCD counters is BCDYEAR, BCDMON, BCDDATE, BCDDAY, BCDHOUR, BCDMIN, and BCDSEC. It is required to read it again from BCDYEAR to BCDSEC if BCDSEC is zero. 8.2.3 Backup Battery Operation The RTC logic is driven by backup battery if the system power turns off. The interfaces of the CPU and RTC logic are blocked and the battery drives the oscillation circuit, clock divider (DIVIDER), and BCD counters (RTCFCN) to minimize power dissipation. The RTC_VDD pin must never be left floating. If the RTC is not used, the RTC_VDD pin can be connected to 3.3V. If the RTC function is used, logic should be included to allow RTC_VDD to connect to 3.3V while powered up and a 3V battery when powered down. 8.2.4 Alarm Function The RTC generates an alarm signal at a specified time. The RTC alarm register, RTCALM, determines the alarm enable and the condition of the alarm time setting. 8.3 RTC Operation 8.3.1 Initial Settings of Registers after Power-on All the registers should be set after the power is turned on. 8.3.2 Setting the Time Figure 8-2 shows how to set the time when clock is stopped. This works when the entire calendar or clock is to be set. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |