Maxim Dallas DS83C530 Specification Sheet Download Page 6

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

 

 

6 of 47

  

PIN DESCRIPTION (continued)

 

PIN 

PLCC TQFP 

NAME FUNCTION 

30 23 

P2.0 

(AD8) 

31 24 

P2.1 

(AD9) 

32 25 

P2.2 

(AD10) 

33 26 

P2.3 

(AD11) 

34 27 

P2.4 

(AD12) 

35 28 

P2.5 

(AD13) 

36 29 

P2.6 

(AD14) 

37 30 

P2.7 

(AD15) 

Port 2 (A8–A15), I/O

. Port 2 is a bidirectional I/O port. The reset condition of 

Port 2 is logic high. In this state, a weak pullup holds the port high. This condition 
also serves as an input mode, since any external circuit that writes to the port will 
overcome the weak pullup. When software writes a 0 to any port pin, the device 
will activate a strong pulldown 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 the momentary strong 
driver turns off, the port again becomes both the output high and input state. As an 
alternate function Port 2 can function as MSB of the external address bus. This 
bus can be used to read external ROM and read/write external RAM memory or 
peripherals.

 

15 8  P3.0 

16 9  P3.1 

17 10  P3.2 

18 11  P3.3 

19 12  P3.4 

20 13  P3.5 

21 14  P3.6 

22 15  P3.7 

Port 3, I/O. 

Port 3 functions as both an 8-bit, bi-directional I/O port and an 

alternate functional interface for external interrupts, Serial Port 0, Timer 0 and 1 
Inputs, and 

RD

 and 

WR

 strobes. The reset condition of Port 3 is with all bits at a 

logic 1. In this state, a weak pullup holds the port high. This condition also serves 
as an input mode, since any external circuit that writes to the port will overcome 
the weak pullup. When software writes a 0 to any port pin, the device will activate 
a strong pulldown 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 the momentary strong driver 
turns off, the port again becomes both the output high and input state. The 
alternate modes of Port 3 are outlined below. 

Port

 

Alternate Function 

P3.0  

RXD0    

Serial Port 0 Input 

P3.1  

TXD0    

Serial Port 0 Output 

P3.2  

INT0

    

External Interrupt 0 

P3.3  

INT1

    

External Interrupt 1 

P3.4  

T0  

 

Timer 0 External Input 

P3.5  

T1  

 

Timer 1 External Input 

P3.6  

WR

  

 

External Data Memory Write Strobe 

P3.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 V

CC

 

to use internal ROM.

 

51 44  V

BAT 

V

BAT

 Input. 

Connect to the power source that maintains SRAM and RTC when 

V

CC

 < V

BAT

. Can be connected to a 3V lithium battery or a super cap. Connect to 

GND if battery will not be used with device.

 

27 20 RTCX2 

28 21 RTCX1 

Timekeeping Crystals

. A 32.768kHz crystal between these pins supplies the time 

base for the RTC. The devices support both 6pF and 12.5pF load capacitance 
crystals as selected by an SFR bit (described later). To prevent noise from 
affecting the RTC, the RTCX2 and RTCX1 pins should be guard-ringed with 
GND2.

 

2, 11, 13, 

14, 40, 

41 

4, 6, 7, 
33, 34, 

47 

N.C. 

Not Connected. 

These pins should not be connected. They are reserved for use 

with future devices in the family.

 

 

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: