控制/MCU
FEATURE | DESCRIPTION | DALLAS | ATMEL |
Maximum Operating Frequency 4.5V to 5.5V | 33MHz (82.5MHz equivalent) | 30MHz (60MHz equivalent) | |
Maximum Operating Frequency 2.7V to 5.5V | 18MHz (45MHz equivalent) | 20MHz (40MHz equivalent) | |
MOVX Stretch | Stretch external data read/write to allow access to slower peripherals | Y | N |
External Interrupt Sources | 6 | 2 | |
Four I/O Ports | Ports 0, 1, 2, 3 | Y | Y |
Three 16-Bit Timer/Counters | Timer 0, 1, 2 | Y | Y |
256 Bytes Internal RAM | Y | Y | |
Dual Data Pointer | DPTR0, DPTR1 | Y | Y |
Power Saving Modes | Idle mode, sleep | Y | Y |
Power-Fail Reset | Brownout detector | Y | N |
Power-Fail Warning | Early power-fail warning interrupt | Y | N |
Programmable Watchdog Timer | Y | Y | |
Watchdog Interrupt | Y | N | |
Interrupt Priority Levels | Programmable interrupt levels | 2 | 4 |
Two Full-Duplex Serial UARTs | 7 or 8 data bits, 1 or 2 stop bits, parity, framing error recognition, address recognition | Y | Y |
PIN | NAME | DIFFERENCE IN DS80C320 | DESCRIPTION/COMMENT | ||||
DIP | PLCC | TQFP, VQFP | |||||
20 | 22, 23 | 16, 17 | VSS | Two ground connections provided | On TS80C51U2, PLCC pin 23 and VQFP44 pin 17 are N.C. These pins can be left floating on the DS80C320/323 without problems. | ||
9 | 10 | 4 | RST | Reset. DS80C320/323 does not require an external capacitor, however, if one is placed it does not affect behavior. | |||
Alternate | Function | Comment | |||||
3 | 4 | 42 | P1.2 | No difference (Note 1) | RXD1 | Serial port 1 Input | |
4 | 5 | 43 | P1.3 | No difference (Note 1) | TXD1 | Serial port 1 Output | |
5 | 6 | 44 | P1.4 | Can be used as external interrupt | INT2 | External Interrupt | TS80C51U2 only has two external interrupts. |
6 | 7 | 1 | P1.5 | Can be used as external interrupt (Note 1) | Active-Low INT3 | External Interrupt | TS80C51U2 only has two external interrupts. |
7 | 8 | 2 | P1.6 | Can be used as external interrupt (Note 1) | INT4 | External Interrupt | TS80C51U2 only has two external interrupts. Can be serial 1 output on TS80C51U2. |
8 | 9 | 3 | P1.7 | Can be used as external interrupt (Note 1) | Active-Low INT5 | External Interrupt | TS80C51U2 only has two external interrupts. Can be serial 1 output on TS80C51U2. |
-- | 12 | 6 | N.C. | No Connect | Optional serial port1 input on TS80C51U2 (Note 1) | ||
-- | 34 | 28 | N.C. | No Connect | Optional serial port1 output on TS80C51U2 (Note 1) | ||
-- | 1 | 39 | N.C. | No Connect | VSS on TS80C51U2, grounding pin on DS80C320/323 causes no problems | ||
Note 1: TS80C51U2 serial port 1 input/output can be located on different positions, depending on AUXR bit M1UA1 and M0UA_1 bit. |
REGISTER | BIT 7 | BIT 6 | BIT 5 | BIT 4 | BIT 3 | BIT 2 | BIT 1 | BIT 0 | ADDR | COMMENT |
DPL1 | 84H | TS80C51U2 DPL1/DPL use SFR address 82h (DPL on DS80C320/323). | ||||||||
DPH1 | 85H | TS80C51U2 DPH1/DPH use SFR address 83h (DPH on DS80C320/323). | ||||||||
DPS | 0 | 0 | 0 | 0 | 0 | 0 | 0 | SEL | 86H | TS80C51U2 uses DPS bit in AUXR1 SFR. |
CKCON DS80C320/323 |
WD1 | WD0 | T2M | T1M | T0M | MD2 | MD1 | MD0 | 8Eh | WD1,0 watchdog timeout. See Watchdog Section T2M, T1M, T0M (timer speed); See Timer Section MD2, MD1, MD0 (Stretch MOVX) TS80C51U2 does not support stretch. M1UA_1/M0UA_1 on TS80C51U2 selects UART1 pin out. |
AUXR TS80C51U2 |
M1UA_1 | M0UA_1 | -- | -- | -- | -- | -- | A0 | ||
CKCON TS80C51U2 only |
X2 | 8Fh | 12/6 clock select on TS80C51U2, register not used on DS80C320/323. | |||||||
EXIF | IE5 | IE4 | IE3 | IE2 | -- | RGMD | RGSL | BGS | 91h | IE5, 4, 3, 2 Additional external interrupts supported by DS80C320/323. |
BRL TS80C51U2 only |
BRL7 | BRL6 | BRL5 | BRL4 | BRL3 | BRL2 | BRL1 | BRL0 | 9Ah | Baud rate generator on TS80C51U2. Register not used on DS80C320/323. |
BDRCON TS80C51U2 |
-- | -- | -- | BRR | TBCK_0 | RBCK_0 | SPD | SRC | 9Bh | See serial port baud section below. |
BDRCON_1 TS80C51U2 |
SMOD1_1 | SMOD0_1 | RCLK_1 | TCLK_1 | TBCK_1 | RBCK_1 | -- | -- | 9Ch | See serial port baud section below. |
AUXR1 TS80C51U2 |
-- | -- | -- | -- | -- | -- | -- | DPS | A2h | DPS select is handled in register DPS.0 on DS80C320/323. |
WDTRST TS80C51U2 |
A6h | Watchdog reset handled in WDCON register on DS80C320/323. | ||||||||
WDTPRG TS80C51U2 |
T4 | T3 | T2 | T1 | T0 | S2 | S1 | S0 | A7h | Watchdog timeout handled in CKCON register on DS80C320/323. |
IPH TS80C51U2 |
-- | PSH_1 | PT2H | PSH_0 | PT1H | PX1H | PT0H | PX0H | B7h | Interrupt priorities handled in IP and EIP registers on DS80C320/323. |
STATUS | PIP | HIP | LIP | 1 | 1 | 1 | 1 | 1 | C5h | Interrupt status for clock control. Not present in Atmel TS80C51U2. |
TA | C7h | Timed Access Control | ||||||||
EIE | -- | -- | -- | EWD1 | EX5 | EX4 | EX3 | EX2 | E8h | Enable watchdog interrupt and enable extended interrupts. Additional features not supported on TS80C51U2. |
EIP | -- | -- | -- | PWDI | PX5 | PX4 | PX3 | PX2 | F8h | Watchdog interrupt and extended interrupts. Additional features not supported on TS80C51U2. |
WD1 | WD0 | INTERRUPT TIMEOUT | TIME (ms) (AT 33MHz) | RESET TIMEOUT | TIME (ms) (AT 33MHz) |
0 | 0 | 217 clocks | 3.97 | 217 + 512 clocks | 4 |
0 | 1 | 220 clocks | 31.76 | 220 + 512 clocks | 31.79 |
1 | 0 | 223 clocks | 254.2 | 223 + 512 clocks | 254.22 |
1 | 1 | 226 clocks | 2034 | 226 + 512 clocks | 2037 |
NAME | DALLAS LEVEL |
ATMEL LEVEL |
VECTOR | COMMENT |
Power-Fail Indicator | 1 | Not Available | 33h | Warning ATMEL serial port 1 interrupt vector |
External Interrupt 0 | 2 | 1 | 03h | |
Timer 0 Overflow | 3 | 2 | 0Bh | |
External Interrupt 1 | 4 | 3 | 13h | |
Timer 1 Overflow | 5 | 4 | 1Bh | |
Serial Port 0 | 6 | 5 | 23h | |
Timer 2 Overflow | 7 | 6 | 2Bh | |
Serial Port 1 | 8 | 7 | 3Bh | Warning ATMEL serial port 1 vector at 33h |
External Interrupt 2 | 9 | Not Available | 43h | |
External Interrupt 3 | 10 | Not Available | 4Bh | |
External Interrupt 4 | 11 | Not Available | 53h | |
External Interrupt 5 | 12 | Not Available | 5Bh | |
Watchdog Interrupt | 13 | Not Available | 63h |
全部0条评论
快来发表一下你的评论吧 !