ST & T UPSD3212C User Manual
Features summary
1/163
December 2004
uPSD3212A, uPSD3212C
uPSD3212CV
Flash Programmable System Devices with
8032 MCU with USB and Programmable Logic
FEATURES SUMMARY
■
FAST 8-BIT 8032 MCU
–
40MHz at 5.0V, 24MHz at 3.3V
–
Core, 12-clocks per instruction
■
DUAL FLASH MEMORIES WITH MEMORY
MANAGEMENT
–
Place either memory into 8032 program
address space or data address space
–
READ-while-WRITE operation for In-
Application Programming and EEPROM
emulation
–
Single voltage program and erase
–
100K minimum erase cycles, 15-year
retention
■
CLOCK, RESET, AND SUPPLY
MANAGEMENT
–
SRAM is Battery Backup capable
–
Normal, Idle, and Power Down Modes
–
Power-on and Low Voltage reset
supervisor
–
Programmable Watchdog Timer
■
PROGRAMMABLE LOGIC, GENERAL
PURPOSE
–
16 macrocells
–
Implements state machines, glue-logic,
and so forth
■
COMMUNICATION INTERFACES
–
I
2
C Master/Slave bus controller
–
Two UARTs with independent baud rate
–
Six I/O ports with up to 46 I/O pins
–
8032 Address/Data bus available on
TQFP80 package
–
5 PWM outputs, 8-bit resolution
–
USB v1.1, low-speed 1.5Mbps, 3
endpoints (uPSD3212A only)
Figure 1. Packages
■
JTAG IN-SYSTEM PROGRAMMING
–
Program the entire device in as little as
10 seconds
■
A/D CONVERTER
–
Four channels, 8-bit resolution, 10µs
■
TIMERS AND INTERRUPTS
–
Three 8032 standard 16-bit timers
–
10 Interrupt sources with two external
interrupt pins
■
Single Supply Voltage
–
4.5 to 5.5V
–
3.0 to 3.6V
TQFP52 (T)
52-lead, Thin,
Quad, Flat
TQFP80 (U)
80-lead, Thin,
Quad, Flat
Document Outline
- FEATURES SUMMARY
- SUMMARY DESCRIPTION
- 52-PIN PACKAGE I/O PORT
- ARCHITECTURE OVERVIEW
- Memory Organization
- Registers
- Program Memory
- Data memory
- RAM
- XRAM-PSD
- SFR
- Addressing Modes
- Arithmetic Instructions
- Logical Instructions
- Data Transfers
- Table 6. Data Transfer Instructions that Access Internal Data Memory Space
- Table 7. Shifting a BCD Number Two Digits to the Right (using direct MOVs: 14 bytes)
- Table 8. Shifting a BCD Number Two Digits to the Right (using direct XCHs: 9 bytes)
- Table 9. Shifting a BCD Number One Digit to the Right
- Table 10. Data Transfer Instruction that Access External Data Memory Space
- Table 11. Lookup Table READ Instruction
- Boolean Instructions
- Relative Offset
- Jump Instructions
- Machine Cycles
- uPSD3200 HARDWARE DESCRIPTION
- MCU MODULE DISCRIPTION
- INTERRUPT SYSTEM
- POWER-SAVING MODE
- I/O PORTS (MCU Module)
- OSCILLATOR
- SUPERVISORY
- WATCHDOG TIMER
- TIMER/COUNTERS (TIMER 0, TIMER 1 AND TIMER 2)
- Timer 0 and Timer 1
- Timer 2
- Figure 23. Timer/Counter Mode 2: 8-bit Auto-reload
- Table 40. Timer/Counter 2 Control Register (T2CON)
- Table 41. Timer/Counter 2 Operating Modes
- Table 42. Description of the T2CON Bits
- Figure 24. Timer 2 in Capture Mode
- Figure 25. Timer 2 in Auto-Reload Mode
- Figure 26. Timer/Counter Mode 3: Two 8-bit Counters
- STANDARD SERIAL INTERFACE (UART)
- Multiprocessor Communications
- Serial Port Control Register
- Figure 27. Serial Port Mode 0, Block Diagram
- Table 43. Serial Port Control Register (SCON)
- Table 44. Description of the SCON Bits
- Table 45. Timer 1-Generated Commonly Used Baud Rates
- Figure 28. Serial Port Mode 0, Waveforms
- Figure 29. Serial Port Mode 1, Block Diagram
- Figure 30. Serial Port Mode 1, Waveforms
- Figure 31. Serial Port Mode 2, Block Diagram
- Figure 32. Serial Port Mode 2, Waveforms
- Figure 33. Serial Port Mode 3, Block Diagram
- Figure 34. Serial Port Mode 3, Waveforms
- ANALOG-TO-DIGITAL CONVERTOR (ADC)
- PULSE WIDTH MODULATION (PWM)
- I2C INTERFACE
- USB HARDWARE
- USB related registers
- Table 60. USB Address Register (UADR: 0EEh)
- Table 61. Description of the UADR Bits
- Table 62. USB Interrupt Enable Register (UIEN: 0E9h)
- Table 63. Description of the UIEN Bits
- Table 64. USB Interrupt Status Register (UISTA: 0E8h)
- Table 65. Description of the UISTA Bits
- Table 66. USB Endpoint0 Transmit Control Register (UCON0: 0EAh)
- Table 67. Description of the UCON0 Bits
- Table 68. USB Endpoint1 (and 2) Transmit Control Register (UCON1: 0EBh)
- Table 69. Description of the UCON1 Bits
- Table 70. USB Control Register (UCON2: 0ECh)
- Table 71. Description of the UCON2 Bits
- Table 72. USB Endpoint0 Status Register (USTA: 0EDh)
- Table 73. Description of the USTA Bits
- Table 74. USB Endpoint0 Data Receive Register (UDR0: 0EFh)
- Table 75. USB Endpoint0 Data Transmit Register (UDT0: 0E7h)
- Table 76. USB Endpoint1 Data Transmit Register (UDT1: 0E6h)
- Table 77. USB SFR Memory Map
- Transceiver
- Receiver Characteristics
- External USB Pull-Up Resistor
- USB related registers
- PSD MODULE
- DEVELOPMENT SYSTEM
- PSD MODULE REGISTER DESCRIPTION AND ADDRESS OFFSET
- PSD MODULE DETAILED OPERATION
- MEMORY BLOCKS
- PLDs
- I/O PORTS (PSD MODULE)
- General Port Architecture
- Port Operating Modes
- MCU I/O Mode
- PLD I/O Mode
- Address Out Mode
- Peripheral I/O Mode
- JTAG In-System Programming (ISP)
- Port Configuration Registers (PCR)
- Port Data Registers
- Ports A and B – Functionality and Structure
- Port C – Functionality and Structure
- Port D – Functionality and Structure
- External Chip Select
- POWER MANAGEMENT
- RESET TIMING AND DEVICE STATUS AT RESET
- PROGRAMMING IN-CIRCUIT USING THE JTAG SERIAL INTERFACE
- INITIAL DELIVERY STATE
- AC/DC PARAMETERS
- MAXIMUM RATING
- EMC CHARACTERISTICS
- DC AND AC PARAMETERS
- Table 109. Operating Conditions (5V Devices)
- Table 110. Operating Conditions (3V Devices)
- Table 111. AC Signal Letter Symbols for Timing
- Table 112. AC Signal Behavior Symbols for Timing
- Figure 70. Switching Waveforms – Key
- Table 113. Major Parameters
- Table 114. DC Characteristics (5V Devices)
- Table 115. DC Characteristics (3V Devices)
- Figure 71. External Program Memory READ Cycle
- Table 116. External Program Memory AC Characteristics (with the 5V MCU Module)
- Table 117. External Program Memory AC Characteristics (with the 3V MCU Module)
- Figure 72. External Data Memory READ Cycle
- Table 118. External Clock Drive (with the 5V MCU Module)
- Table 119. External Clock Drive (with the 3V MCU Module)
- Figure 73. External Data Memory WRITE Cycle
- Table 120. External Data Memory AC Characteristics (with the 5V MCU Module)
- Table 121. External Data Memory AC Characteristics (with the 3V MCU Module)
- Table 122. A/D Analog Specification
- Figure 74. Input to Output Disable / Enable
- Table 123. CPLD Combinatorial Timing (5V Devices)
- Table 124. CPLD Combinatorial Timing (3V Devices)
- Figure 75. Synchronous Clock Mode Timing – PLD
- Table 125. CPLD Macrocell Synchronous Clock Mode Timing (5V Devices)
- Table 126. CPLD Macrocell Synchronous Clock Mode Timing (3V Devices)
- Figure 76. Asynchronous RESET / Preset
- Figure 77. Asynchronous Clock Mode Timing (Product Term Clock)
- Table 127. CPLD Macrocell Asynchronous Clock Mode Timing (5V Devices)
- Table 128. CPLD Macrocell Asynchronous Clock Mode Timing (3V Devices)
- Figure 78. Input Macrocell Timing (Product Term Clock)
- Table 129. Input Macrocell Timing (5V Devices)
- Table 130. Input Macrocell Timing (3V Devices)
- Table 131. Program, WRITE and Erase Times (5V Devices)
- Table 132. Program, WRITE and Erase Times (3V Devices)
- Figure 79. Peripheral I/O READ Timing
- Table 133. Port A Peripheral Data Mode READ Timing (5V Devices)
- Table 134. Port A Peripheral Data Mode READ Timing (3V Devices)
- Figure 80. Peripheral I/O WRITE Timing
- Table 135. Port A Peripheral Data Mode WRITE Timing (5V Devices)
- Table 136. Port A Peripheral Data Mode WRITE Timing (3V Devices)
- Figure 81. Reset (RESET) Timing
- Table 137. Reset (RESET) Timing (5V Devices)
- Table 138. Reset (RESET) Timing (3V Devices)
- Table 139. VSTBYON Definitions Timing (5V Devices)
- Table 140. VSTBYON Timing (3V Devices)
- Figure 82. ISC Timing
- Table 141. ISC Timing (5V Devices)
- Table 142. ISC Timing (3V Devices)
- Figure 83. MCU Module AC Measurement I/O Waveform
- Figure 84. PSD MODULE AC Float I/O Waveform
- Figure 85. External Clock Cycle
- Figure 86. Recommended Oscillator Circuits
- Figure 87. PSD MODULE AC Measurement I/O Waveform
- Figure 88. PSD MODULEAC Measurement Load Circuit
- Table 143. Capacitance
- PACKAGE MECHANICAL INFORMATION
- PART NUMBERING
- REVISION HISTORY