SC2200 NSC [National Semiconductor], SC2200 Datasheet - Page 116
![no-image](/images/no-image-200.jpg)
SC2200
Manufacturer Part Number
SC2200
Description
Thin Client On a Chip
Manufacturer
NSC [National Semiconductor]
Datasheet
1.SC2200.pdf
(433 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
SC2200A-00
Manufacturer:
MAXIM/美信
Quantity:
20 000
Company:
Part Number:
SC2200A-00A00
Manufacturer:
MAXIM
Quantity:
15
Company:
Part Number:
SC2200UCL-266
Manufacturer:
NSC
Quantity:
5 510
Company:
Part Number:
SC2200UCL-266
Manufacturer:
AMD
Quantity:
648
Part Number:
SC2200UCL-266
Manufacturer:
NS/国半
Quantity:
20 000
Part Number:
SC2200UCL-266 D2
Manufacturer:
NS/国半
Quantity:
20 000
Company:
Part Number:
SC2200UFH-266
Manufacturer:
SIERRA
Quantity:
1 238
Company:
Part Number:
SC2200UFH-266
Manufacturer:
AMD
Quantity:
996
Part Number:
SC2200UFH-266
Manufacturer:
NS/国半
Quantity:
20 000
- Current page: 116 of 433
- Download datasheet (4Mb)
www.national.com
SuperI/O Module
4.5.2.4
Data Format
Time is kept in BCD or binary format, as determined by bit
2 (DM) of Control Register B (CRB), and in either 12 or 24-
hour format, as determined by bit 1 of this register.
Note:
Daylight Saving
Daylight saving time exceptions are handled automatically,
as described in Table 4-20 on page 121.
Leap Years
Leap year exceptions are handled automatically by the
internal calendar function. Every four years, February is
extended to 29 days.
Updating
The time and calendar registers are updated once per sec-
ond regardless of bit 7 (SET) of CRB. Since the time and
calendar registers are updated serially, unpredictable
results may occur if they are accessed during the update.
Therefore, you must ensure that reading or writing to the
time storage locations does not coincide with a system
update of these locations. There are several methods to
avoid this contention.
Method 1
1)
2)
3)
Set bit 7 of CRB to 1. This takes a “snapshot” of the
internal time registers and loads them into the user
copy registers. The user copy registers are seen when
accessing the RTC from outside, and are part of the
double buffering mechanism. You may keep this bit set
for up to 1 second, since the time/calendar chain con-
tinue to be updated once per second.
Read or write the required registers (since bit 1 is set,
you are accessing the user copy registers). If you per-
form a read operation, the information you read is cor-
rect from the time when bit 1 was set. If you perform a
write operation, you write only to the user copy regis-
ters.
Reset bit 1 to 0. During the transition, the user copy
registers update the internal registers, using the dou-
ble buffering mechanism to ensure that the update is
performed between two time updates. This mecha-
nism enables new time parameters to be loaded in the
RTC.
When changing the above formats, re-initialize all
the time registers.
Timekeeping
(Continued)
116
Method 2
1)
2)
Method 3
Poll bit 7 of CRA. The update occurs 244 s after this bit
goes high. Therefore, if a 0 is read, the time registers
remain stable for at least 244 s.
Method 4
Use a periodic interrupt routine to determine if an update
cycle is in progress, as follows:
1)
2)
3)
4.5.2.5
The timekeeping function can be set to generate an alarm
when the current time reaches a stored alarm time. After
each RTC time update (every 1 second), the seconds, min-
utes, hours, date of month and month counters are com-
pared with their corresponding registers in the alarm
settings. If equal, bit 5 of CRC is set. If the Alarm Interrupt
Enable bit was previously set (CRB bit 5), interrupt request
pin is also active.
Any alarm register may be set to “Unconditional Match” by
setting bits [7:6] to 11. This combination, not used by any
BCD or binary time codes, results in a periodic alarm. The
rate of this periodic alarm is determined by the registers
that were set to “Unconditional Match”.
For example, if all but the seconds and minutes alarm reg-
isters are set to “Unconditional Match”, an interrupt is gen-
erated every hour at the specified minute and second. If all
but the seconds, minutes and hours alarm registers are set
to “Unconditional Match”, an interrupt is generated every
day at the specified hour, minute and second.
— Poll bit 4 of CRC.
— Use the following interrupt routine:
Access the RTC registers after detection of an Update
Ended interrupt. This implies that an update has just
been completed and 999 msec remain until the next
update.
To detect an Update Ended interrupt, you may either:
Set the periodic interrupt to the desired period.
Set bit 6 of CRB to enable the interrupt from periodic
interrupt.
Wait for the periodic interrupt appearance. This indi-
cates that the period represented by the following
expression remains until another update occurs:
[(Period of periodic interrupt 2) + 244 s]
– Set bit 4 of CRB.
– Wait for an interrupt from interrupt pin.
– Clear the IRQF flag of CRC before exiting the
interrupt routine.
Alarms
Revision 3.0
Related parts for SC2200
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![sc243012gnk](/images/no-image3.png)
Part Number:
Description:
Sc Series Nema 1 Screw Cover Wall Mount
Manufacturer:
Automation Direct
Datasheet:
![SC24115W](/images/no-image3.png)
Part Number:
Description:
SC Strobes and PC Horn/Strobes
Manufacturer:
GAMEWELL-FCI [Gamewell-FCI by Honeywell]
Datasheet:
![SFTB](/images/no-image3.png)
Part Number:
Description:
Thin SOT23 1A Load Step-Down DC-DC Regulator
Manufacturer:
NSC [National Semiconductor]
Datasheet:
![DS3603N](/images/no-image3.png)
Part Number:
Description:
TRI-STATE Dual Receiver
Manufacturer:
NSC [National Semiconductor]
Datasheet:
![DS36149N](/images/no-image3.png)
Part Number:
Description:
Hex MOS Drivers
Manufacturer:
NSC [National Semiconductor]
Datasheet:
![DS3654N](/images/no-image3.png)
Part Number:
Description:
Printer Solenoid Driver
Manufacturer:
NSC [National Semiconductor]
Datasheet:
![DS3669N](/images/no-image3.png)
Part Number:
Description:
Quad High Current Peripheral Driver
Manufacturer:
NSC [National Semiconductor]
Datasheet:
![DS3691N](/images/no-image3.png)
Part Number:
Description:
(RS-422/RS-423) Line Drivers with TRI-STATE Outputs
Manufacturer:
NSC [National Semiconductor]
Datasheet:
![DS3695TJ](/images/no-image3.png)
Part Number:
Description:
Multipoint RS485/RS422 Transceivers/Repeaters
Manufacturer:
NSC [National Semiconductor]
Datasheet:
![DS36C279TM](/images/no-image3.png)
Part Number:
Description:
Low Power EIA-RS-485 Transceiver with Sleep Mode
Manufacturer:
NSC [National Semiconductor]
Datasheet:
![DS3884AVF](/images/no-image3.png)
Part Number:
Description:
BTL Handshake Transceiver
Manufacturer:
NSC [National Semiconductor]
Datasheet:
![MM5034N](/images/no-image3.png)
Part Number:
Description:
Octal 80-Bit Static Shift Register
Manufacturer:
NSC [National Semiconductor]
Datasheet:
![MM53143J](/images/no-image3.png)
Part Number:
Description:
PUSH BUTTON PULSE DIALER CIRCUITS
Manufacturer:
NSC [National Semiconductor]
Datasheet:
![MM54C914J](/images/no-image3.png)
Part Number:
Description:
Hex Schmitt Trigger with Extended Input Voltage
Manufacturer:
NSC [National Semiconductor]
Datasheet:
![MM58167](/images/no-image3.png)
Part Number:
Description:
Microprocessor Real Time Clock
Manufacturer:
NSC [National Semiconductor]
Datasheet: