Advance Information
DS-TMU3132MS_E
USB Full Speed Controller
TMU3132MS
USB Full Speed Controller
Data Sheet
tenx reserves the right to change or discontinue the manual and online documentation to this product herein to improve reliability,
function or design without further notice. tenx does not assume any liability arising out of the application or use of any product or circuit
described herein; neither does it convey any license under its patent rights nor the rights of others. tenx products are not designed,
intended, or authorized for use in life support appliances, devices, or systems. If Buyer purchases or uses tenx products for any such
unintended or unauthorized application, Buyer shall indemnify and hold tenx and its officers, employees, subsidiaries, affiliates and
distributors harmless against all claims, cost, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly,
any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that tenx was
negligent regarding the design or manufacture of the part.
1
tenx technology inc.
Rev 1.2, 2012/02/06
Preliminary
Advance Information
AMENDMENT HISTORY
Version
V1.0
V1.1
V1.2
DS-TMU3132MS_E
USB Full Speed Controller
Date
Nov, 2011
Jan, 2012
Feb, 2012
Description
New release
Add Ordering Information table
1. Add PDIP/SOP 20/18Pin
2. Revise Application figure.
3. Modify Ordering Information table
2
tenx technology inc.
Rev 1.2, 2012/02/06
Preliminary
Advance Information
DS-TMU3132MS_E
USB Full Speed Controller
CONTENTS
AMENDMENT HISTORY ..................................................................................................... 2
GENERAL DESCRIPTION .................................................................................................. 4
FEATURES .......................................................................................................................... 4
Functional Block Diagram ................................................................................................. 5
PIN DESCRIPTION .............................................................................................................. 5
PACKAGE ........................................................................................................................... 6
Functional Description ...................................................................................................... 7
1. CPU Core .................................................................................................................... 7
1.1 Clock Scheme and Instruction Cycle ..................................................................... 7
1.2 CPU Clock Control Register .................................................................................. 7
1.3 Programming Counter (PC) and Stack .................................................................. 7
1.4 ALU and Working (W) Register .............................................................................. 8
1.5 Addressing Mode ................................................................................................... 8
1.6 Instruction Set ........................................................................................................ 9
2. Control Registers ..................................................................................................... 22
F-Plane ...................................................................................................................... 22
R-Plane ...................................................................................................................... 24
3. USB Engine............................................................................................................... 26
3.1 USB Device Address ........................................................................................... 26
3.2 Endpoint 0 Receive (SET0/OUT0) ....................................................................... 26
3.3 Endpoint 0 Transmit (TX0) ................................................................................... 27
3.4 Endpoint 1/2 Transmit (TX1/2) ............................................................................. 27
3.5 Endpoint 3 Transmit (TX3) ................................................................................... 27
3.6 USB Endpoint 4 Receive (RC4) ........................................................................... 27
3.7 USB Control and Status ....................................................................................... 28
3.8 Suspend and Resume ......................................................................................... 28
3.9 Interrupt Vector .................................................................................................... 28
4. Wakeup Timer and Watch Dog Timer ..................................................................... 29
5. Timer ......................................................................................................................... 29
5.1 Timer0: 8-bit Timer with Pre-scale (PSC) ............................................................ 29
6. SPI (Serial Peripheral Interface) .............................................................................. 31
7. I/O Port ...................................................................................................................... 32
7.1 PA0-7 ................................................................................................................... 32
7.2 PB0 ...................................................................................................................... 33
7.3 PB3 (DP) and PB2 (DM) ...................................................................................... 33
7.4 PE0-4 ................................................................................................................... 34
8. Application................................................................................................................ 35
9. Electrical Characteristics ........................................................................................ 35
10. Package Information ............................................................................................. 37
Ordering Information ....................................................................................................... 38
3
tenx technology inc.
Rev 1.2, 2012/02/06
Preliminary
Advance Information
GENERAL DESCRIPTION
DS-TMU3132MS_E
USB Full Speed Controller
The TMU3132MS is a 2T RISC tailored to the USB 2.0 full speed general purpose IC. It
contains 4K * 14 Mask ROM. The Internal RC Oscillator is 48 MHz +/- 0.25% for USB mode
and 12 MHz clock output for the RF 2.4G module. The USB DMA channel allows data transfer
between USB RAM with SPI interface which supports mode 0/1/2/3 master up to 6 Mbps clock
rate. The TMU3132MS also supports suspend mode, wake-up and watchdog timer. The data
memory is internal 160 bytes of RAM in F-plane and two 64 bytes in R-plane. The
TMU3132MS USB MCU is suited for USB mouse and wireless 2.4G dongle device.
FEATURES
Operation Frequency
Internal 48 MHz RC oscillator +/- 0.25% accuracy for USB with no extra component.
4k x 14 internal Mask ROM.
Internal 160 Bytes RAM at F-plane and two 64 Bytes RAM at R-plane.
Built-in five 8-byte USB Application FIFOs at R-plane.
8-level stacks for subroutine and interrupt.
37 instructions.
Two clocks per instruction except branch.
Compliance with the Universal Serial Bus specification v2.0 Full Speed.
Built-in 1.5K pull-high resistor can be set or disabled.
Built-in USB Transceiver, 3.3V regulator.
Support USB Suspend/Resume and Remote Wakeup function.
Endpoint 0: Control SETUP/IN/OUT transfer (each 8 bytes).
Endpoint 1: INTERRUPT IN transfer (8 bytes).
Endpoint 2: INTERRUPT IN transfer (8 bytes).
Endpoint 3: BULK-IN transfer with Ping-Pong feature (2*64 bytes).
Endpoint 4: BULK-OUT transfer with Ping-Pong feature (2*64 bytes).
Timer0 is 8-bit with 8-bit prescaler, Counter/Reload/Interrupt function.
Watchdog Timer clocked by built-in RC oscillator.
Wakeup Timer clocked by built-in RC oscillator.
Power On Reset is 2.0V.
Watch-Dog Timer reset period can be configured at 16 ms/32 ms/64 ms/128 ms.
4
On-Chip Memory
8-bit RISC MCU
USB interface
Timer
Reset Controller
tenx technology inc.
Rev 1.2, 2012/02/06
Preliminary
Advance Information
SPI interface
DS-TMU3132MS_E
USB Full Speed Controller
Support Mode0, 1, 2, 3.
Master only.
Clock rate up to 6 Mbps.
Read/Write DMA mode.
Max. 16 GPIOs to flexible application
Each GPIO pin supports Schmitt-trigger input, internal pull-ups and open drains output or
CMOS push-pull output
I/O Ports
PDIP/SOP 20/18 or Die Form
Application: USB full speed general purpose
Functional Block Diagram
IRC
Wakeup Int. Ctrl.
PA[7:0]
PB[3:0]
8-bit Timer0
PE[4:0]
WDT
CPU Core / Reg
USB
Controller
SPI Interface
USB
Transceiver
4K x 14
Mask ROM
160
Bytes
RAM
Two
64-Byte
RAM
USB
SIE
PIN DESCRIPTION
PIN ASSIGNMENT
5
tenx technology inc.
Rev 1.2, 2012/02/06
Preliminary