DS87C530/DS83C530 EPROM/ROM Microcontrollers with
PERIPHERAL OVERVIEW
The DS87C530/DS83C530 provide several of the most commonly needed peripheral functions in
SERIAL PORTS
The DS87C530/DS83C530 provide a serial port (UART) that is identical to the 80C52. In addition it includes a second hardware serial port that is a full duplicate of the standard one. This port optionally uses pins P1.2 (RXD1) and P1.3 (TXD1). It has duplicate control functions included in new SFR locations.
Both ports can operate simultaneously but can be at different baud rates or even in different modes. The second serial port has similar control registers (SCON1; C0h, SBUF1; C1h) to the original. The new serial port can only use Timer 1 for
TIMER RATE CONTROL
There is one important difference between the DS87C530/DS83C530 and 8051 regarding timers. The original 8051 used 12 clocks per cycle for timers as well as for machine cycles. The DS87C530/DS83C530 architecture normally uses 4 clocks per machine cycle. However, in the area of timers and serial ports, the DS87C530/DS83C530 will default to 12 clocks per cycle on reset. This allows existing code with
If an application needs higher speed timers or serial baud rates, the user can select individual timers to run at the
The DS87C530/DS83C530 use a precision bandgap voltage reference to decide if VCC is out of tolerance. While powering up, the internal monitor circuit maintains a reset state until VCC rises above 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
A system needs no external components to generate a
The voltage reference that sets a precise reset threshold also generates an optional early warning power- fail interrupt (PFI). When enabled by software, the processor will vector to program memory address
0033h if VCC drops below VPFW. PFI has the highest priority. The PFI enable is in the Watchdog Control SFR
25 of 47