Maxim Dallas DS83C530 Specification Sheet Download Page 11

DS87C530/DS83C530 EPROM/ROM Microcontrollers with Real-Time Clock 

 

 

11 of 47

  

automatically to occur once per second, once per minute, once per hour, or once per day. Enabling 
interrupts with no match will generate an interrupt 256 times per second. 
 
Software enables the timekeeper oscillator using the RTC enable bit in the RTC Control register (F9h). 
This starts the clock. It can disable the oscillator to preserve the life of the backup energy-source if 
unneeded. Values in the RTC Control register are maintained by the backup source through power failure. 
Once enabled, the RTC maintains time for the life of the backup source even when V

CC

 is removed. 

 
The RTC will maintain an accuracy of 

±

2 minutes per month at 25

°

C. Under no circumstances are 

negative voltages, of any amplitude, allowed on any pin while the device is in data retention mode 
(V

CC

 < V

BAT

). Negative voltages will shorten battery life, possibly corrupting the contents of internal 

SRAM and the RTC. 

 

Figure 2. Real-Time Clock 

 

 

 
 
 

NONVOLATILE RAM 

The 1k x 8 on-chip SRAM can be nonvolatile if an external backup energy source is used. This allows the 
device to log data or to store configuration settings. Internal switching circuits will detect the loss of V

CC

 

and switch SRAM power to the backup source on the V

BAT

 pin. The 256 bytes of direct RAM are not 

affected by this circuit and are volatile. 
 

CRYSTAL AND BACKUP SOURCES 

To use the unique functions of the DS87C530/DS83C530, a 32.768kHz timekeeping crystal and a backup 
energy source are needed. The following describes guidelines for choosing these devices. 

 

Timekeeping Crystal 

The DS87C530/DS83C530 can use a standard 32.768kHz crystal as the RTC time base. There are two 
versions of standard crystals available, with 6pF and 12.5pF load capacitance. The tradeoff is that the 6pF 
uses less power, giving longer life while V

CC

 is off, but is more sensitive to noise and board layout. The 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

      

WW

W.100

Y.COM.TW

 

 

Summary of Contents for Dallas DS83C530

Page 1: ...ROM Microcontrollers with Real Time Clock The High Speed Microcontroller User s Guide must be used in conjunction with this data sheet Download it at www maxim ic com microcontrollers WWW 1 WWW 100Y...

Page 2: ...100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y CO...

Page 3: ...ted Please contact your local Dallas Semiconductor sales representative for ordering information Note The DS87C530 DS83C530 are monolithic devices A user must supply an external battery or super cap a...

Page 4: ...M TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW...

Page 5: ...own that remains on until either a 1 is written or a reset occurs Writing a 1 after the port has been at 0 will cause a strong transition driver to turn on followed by a weaker sustaining pullup Once...

Page 6: ...7 RD External Data Memory Read Strobe 42 35 EA External Access Input Active Low Connect to ground to use an external ROM Internal RAM is still accessible as determined by register settings Connect to...

Page 7: ...to 1 improved opcodes makes dramatic speed improvements likely for any code These architecture improvements produce a peak instruction cycle in 121ns 8 25 MIPs The Dual Data Pointer feature also allow...

Page 8: ...in the standard 80C52 are duplicated in this device Table 1 shows the register addresses and bit locations The High Speed Microcontroller User s Guide describes all SFRs WWW 1 WWW 100Y COM WWW 100Y C...

Page 9: ...WW 100Y COM TW WWW 100Y CO WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y CO WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM...

Page 10: ...g from 0000 The RTC features a programmable alarm condition A user selects the alarm time When the RTC reaches the selected value it sets a flag This will cause an interrupt if enabled even in Stop mo...

Page 11: ...Hz crystal as the RTC time base There are two versions of standard crystals available with 6pF and 12 5pF load capacitance The tradeoff is that the 6pF uses less power giving longer life while VCC is...

Page 12: ...otection should be added to prevent the device pin from going below 0 3V Some power supplies can give a small undershoot on power up which should be prevented Application Note 93 Design Guidelines for...

Page 13: ...is required if this feature is not used When accessing external program memory the first 16kB would be inaccessible To select a smaller effective ROM size software must alter bits RMS2 RMS0 Altering...

Page 14: ...hile enabled MOVX addresses greater than 03FFh automatically go to external memory through Ports 0 and 2 When disabled the 1kB memory area is transparent to the system memory map Any MOVX directed to...

Page 15: ...a two machine cycle MOVX A Stretch of 7 will result in a MOVX of nine machine cycles Software can dynamically change this value depending on the particular memory or peripheral On reset the Stretch v...

Page 16: ...ated instructions use the currently selected DPTR for any activity Therefore it takes only one instruction to switch from a source to a destination address Using the Dual Data Pointer saves code from...

Page 17: ...re is little reason to use Idle mode in new designs Table 4 Machine Cycle Rate CRYSTAL SPEED MHz FULL OPERATION 4 CLOCKS MHz PMM1 64 CLOCKS kHz PMM2 1024 CLOCKS kHz 11 0592 2 765 172 8 10 8 16 4 00 25...

Page 18: ...ed 0 1 4 clocks default 1 0 64 clocks 1 1 1024 clocks The selection of instruction cycle rate will take effect after a delay of one instruction cycle Note that the clock divider choice applies to all...

Page 19: ...M Alternately software can prevent an undesired exit from PMM by entering a low priority interrupt service level before entering PMM This will prevent other low priority interrupts from causing a Swit...

Page 20: ...a reduced clock divider and enables the ring a Switchback will only restore the divider speed The ring will remain as the time base until altered by software If there is serial activity Switchback us...

Page 21: ...W WWW 100Y COM TW WWW 100Y CO WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y CO WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y C...

Page 22: ...WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100...

Page 23: ...ll power PMM or Idle modes The second feature allows an additional power saving option while also making Stop easier to use This is the ability to start instantly when exiting Stop mode It is the inte...

Page 24: ...very instruction cycle NOTE DIAGRAM ASSUMES THAT THE OPERATION FOLLOWING STOP REQUIRES LESS THAN 18ms TO COMPLETE WWW 1 WWW 100Y COM WWW 100Y COM TW WWW 100Y COM TW WWW WWW 100Y COM TW WWW 100Y CO WWW...

Page 25: ...e the VRST level Once above this level the monitor enables the crystal oscillator and counts 65 536 clocks It then exits the reset state This power on reset POR interval allows time for the oscillator...

Page 26: ...33MHz 0 0 217 clocks 3 9718ms 217 512 clocks 3 9874ms 0 1 220 clocks 31 77ms 220 512 clocks 31 79ms 1 0 223 clocks 254 20ms 223 512 clocks 254 21ms 1 1 226 clocks 2033 60ms 226 512 clocks 2033 62ms A...

Page 27: ...or RI0 from Serial Port 0 23h 6 8051 TF2 Timer 2 2Bh 7 8051 SCON1 TI1 or RI1 from Serial Port 1 3Bh 8 DALLAS INT2 External Interrupt 2 43h 9 DALLAS INT3 External Interrupt 3 4Bh 10 DALLAS INT4 Externa...

Page 28: ...veforms and timing are provided in the Electrical Specifications section Program the DS87C530 as follows 1 Apply the address value 2 Apply the data value 3 Select the programming option from Table 9 u...

Page 29: ...egister have the following function Bits 7 to 4 Reserved program to 1 Bit 3 Watchdog POR default Set 1 Watchdog reset function is disabled on power up Set 0 Watchdog reset function is enabled automati...

Page 30: ...100Y COM TW WWW 100Y COM TW WWW 100Y CO WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW...

Page 31: ...COM TW WWW 100Y CO WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y CO WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 1...

Page 32: ...TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW...

Page 33: ...45 V 3 Output High Voltage Ports 1 2 3 ALE PSEN at IOH 50mA VOH1 2 4 V 3 8 Output High Voltage Ports 1 2 3 at IOH 1 5mA VOH2 2 4 V 3 9 Output High Voltage Port 0 in Bus Mode IOH 8mA VOH3 2 4 V 3 10 I...

Page 34: ...t Note 12 Ports 1 2 and 3 source transition current when being pulled down externally It reaches its maximum at approximately 2V Note 13 0 45 VIN VCC RST VCC This condition mimics operation of pins in...

Page 35: ...ll change in relation to duty cycle variation Note 2 Address is driven strongly until ALE falls and is then held in a weak latch until overdriven externally WWW 1 WWW 100Y COM WWW 100Y COM TW WWW 100Y...

Page 36: ...n The following table shows the value of tMCS for each Stretch selection WWW 1 WWW 100Y COM WWW 100Y COM TW WWW 100Y COM TW WWW WWW 100Y COM TW WWW 100Y CO WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM...

Page 37: ...WW 100Y CO WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y CO WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM...

Page 38: ...a Float after Enable tEHQZ 0 48tCLCL PROG High to PROG Low tGHGL 10 ms Note 1 All voltages are referenced to ground WWW 1 WWW 100Y COM WWW 100Y COM TW WWW 100Y COM TW WWW WWW 100Y COM TW WWW 100Y CO W...

Page 39: ...TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW...

Page 40: ...WW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y...

Page 41: ...0Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM T...

Page 42: ...100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM...

Page 43: ...WW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y...

Page 44: ...W 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y C...

Page 45: ...TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 1...

Page 46: ...TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW 100Y COM TW WWW...

Page 47: ...using external crystal 7 Changed RST pulldown resistance from 170kW to 200kW maximum 8 Corrected Data memory write with stretch diagrams to show falling edge of ALE coincident with rising edge of C3 c...

Reviews: