q 20MHz 16-bit Microcontroller compatible with industry
standard’s MCS-96 ISA
- Register to Register Architecture
- 1000 Byte Register RAM
q Three 8-bit I/O Ports
q On-board Interrupt Controller
q Three Pulse-Width Modulated Outputs
q High Speed I/O
q UART Serial Port
q Dedicated Baud Rate Generator
q Software and Hardware Timers
- 16-Bit Watchdog Timer, Four 16-Bit Software Timers
- Three 16-Bit Counter/Timers
q Radiation-hardened process and design; total dose
irradiation testing to MIL-STD-883 Method 1019
- Total-dose: 100K rads(Si)
- Effective LET threshold: 25 MeV-cm2/mg
- Saturated cross section: 3.66e-7cm2/bit
- Latchup immune (LET > 128 MeV-cm2/mg)
q Error detection and correction for external memory accesses
q QML Q and QML V compliant part
INTRODUCTION
The UT80CRH196KD is compatible with industry standard’s
MCS-96 instruction set. The UT80CRH196KD is supported
by commercial hardware and software development tools.
Built on UTMC’s Commercial RadHardTM epitaxial CMOS
technology, the microcontroller is hardened against ionizing
dose and charged particles. The microcontroller’s on-board
1000 byte scratch-pad SRAM and flip-flops can withstand
charged particles with energies up to 25 MeV-cm2/mg.
The UT80CRH196KD accesses instruction code and data via
a 16-bit address and data bus. The 16-bit bus allows the
microcontroller to access 128K bytes of instruction/data
memory. Integrated software and hardware timers, high speed
I/O, pulse width modulation circuitry, and UART make the
UT80CRH196KD ideal for control type applications. The
CPU’s ALU supports byte and word adds and subtracts, 8 and
16 bit multiplies, 32/16 and 16/8 bit divides, as well as
increment, decrement, negate, compare, and logical
operations. The UT80CRH196KD’s interrupt controller
prioritizes and vectors 18 interrupt events. Interrupts include
normal interrupts and special interrupts. To reduce power
consumption, the microcontroller supports software invoked
idle and power down modes. The UT80CRH196KD is
packaged in a 68-lead quad flatpack.
q Standard Microcircuit Drawing 5962-98583
1000 Bytes
RAM
Register File
Watchdog
Timer
PWM
ALU
MicroCode
Engine
Serial
Port
PORT2
Figure 1. UT80CRH196KD Microcontroller
CPU
HSIO and
Timers
HSI HSO
Interrupt
Controller
Alternate
Functions
PORT0
EXTINT
ECB0-
ECB5
PTS
Memory
Controller
Queue
Alternate
Functions
PORT1
s
as
P
t
rs
IP
e
Fi
r
Co
Control
Signals
Address /Data Bus
HOLD
HLDA
BREQ
PWM1
PWM2
1.0 SIGNAL DESCRIPTION
Port 0 (P0.0 - P0.7): Port 0 is an 8-bit input only port when used
in its default mode. When configured for their alternate function,
five of the bits are bi-directional EDAC check bits as shown in
Table 1.
Port 1 (P1.0 - P1.7): Port 1 is an 8-bit, quasi-bidirectional, I/O
port. All pins are quasi-bidirectional unless the alternate
function is selected per Table 2. When the pins are configured
for their alternate functions, they act as standard I/O, not quasibidirectional.
Port 2 (P2.0 - P2.7): Port 2 is an 8-bit, multifunctional, I/O port.
These pins are shared with timer 2 functions, serial data I/O and
PWM0 output, per Table 3.
AD0-AD7: The lower 8-bits of the multiplexed address/data
bus. The pins on this port are bidirectional during the data phase
of the bus cycle.
AD8-AD15: The upper 8-bits of the multiplexed address/data
bus. The pins on this port are bidirectional during the data phase
of the 16-bit bus cycle. When running in 8-bit bus width, these
pins are non-multiplexed, dedicated upper address bit outputs.
HSI: Inputs to the High Speed Input Unit. Four HSI pins are
available: HSI.0, HSI.1, HSI.2, and HSI.3. Two of these pins
(HSI.2 and HSI.3) are shared with the HSO Unit. Two of these
pins (HSI.0 and HSI.1) have alternate functions for Timer 2.
equals count up.
P2.7T2CAPTUREA rising edge on P2.7 causes
the value of Timer 2 to be
captured into this register, and
generates a Timer 2 Capture
interrupt (INT11).
2
1.1 Hardware Interface
1.1.1 Interfacing with External Memory
The UT80CRH196KD can interface with a variety of external
memory devices. It supports either a fixed 8-bit bus width or a
dynamic 8-bit/16-bit bus width, internal READY control for
slow external memory devices, a bus-hold protocol that enables
external devices to take over the bus, and several bus-control
modes. These features provide a great deal of flexibility when
interfacing with external memory devices.
1.1.1.1 Chip Configuration Register
The Chip Configuration Register (CCR) is used to initialize the
UT80CRH196KD immediately after reset. The CCR is fetched
from external address 2018H (Chip Configuration Byte) after
removal of the reset signal. The Chip Configuration Byte (CCB)
is read as either an 8-bit or 16-bit word depending on the value
of the BUSWIDTH pin. The composition of the bits in the CCR
are shown in Table 4.
There are 8 configuration bits available in the CCR. However,
bits 7 and 6 are not used by the UT80CRH196KD. Bits 5 and 4
comprise the READY mode control which define internal limits
for waitstates generated by the READY pin. Bit 3 controls the
definition of the ALE/ADV pin for system memory controls
while bit 2 selects between the different write modes. Bit 1
selects whether the UT80CRH196KD will use a dynamic 16bit bus or whether it will be locked in as an 8-bit bus. Finally,
Bit 0 enables the Power Down mode and allows the user to
disable this mode for protection against inadvertent power
downs.
1.1.1.2 Bus Width and Memory Configurations
The UT80CRH196KD external bus can operate as either an 8bit or 16-bit multiplexed address/data bus (see figure 2) . The
value of bit 1 in the CCR determines the bus operation. A logic
low value on CCR.1 locks the bus controller in 8-bit bus mode.
If, however, CCR.1 is a logic high, then the BUSWIDTH signal
is used to decide the width of the bus. The bus is 16 bits wide
when the BUSWIDTH signal is high, and is 8 bits when the
BUSWIDTH signal is low.
Table 4. Chip Configuration Register
BitFunction
7N/A
6N/A
5IRC1 - Internal READY Mode Control
4IRC0 - Internal READY Mode Control
3Address Valid Strobe Select (ALE/ADV)
2Write Strobe Mode Select (WR and BHE/WRL and WRH)
1Dynamic Bus Width Enable
0Enable Power Down Mode
1.1.2 Reset
To reset the UT80CRH196KD, hold the RESET pin low for at
least 16 state times after the power supply is within tolerance
and the oscillator has stabilized. Resets following the power-up
reset may be asserted for at least one state time, and the device
will turn on a pull-down transistor for 16 state times. This
enables the RESET signal to function as the system reset. The
reset state of the external I/O is shown in Table 9, and the register
reset values are shown in Table 8.
1.1.3 Instruction Set
The instruction set for the UT80CRH196KD is compatible with
the industry standard MCS-96 instruction set used on the
8XC196KD.
Table 5. Memory Map
Memory DescriptionBeginEnd
External Memory
1
02080H0FFFFH
Reserved0205EH0207FH
PTS Vectors02040H0205DH
Upper Interrupt Vectors02030H0203FH
Reserved02020H0202FH
Reserved02019H0201FH
Chip Configuration Byte02018H02018H
Reserved02014H02017H
Lower Interrupt Vectors02000H02013H
External Memory00400H1FFFH
Internal Memory (RAM)0001AH003FFH
Special Function Registers00000H00019H
Notes:
1.The first instruction read following reset will be from location 2080h. All other external memory can be used as instruction and/or data memory.
3
Table 6. Interrupt Vector Sources, Locations, and Priorities
Priority
(0 is the
Lowest
Priority)
NumberInterrupt VectorSource(s)
SpecialUnimplemented
Unimplemented Opcode2012hN/AN/A
Interrupt
Vector
Location
PTS
Vector
Location
Opcode
SpecialSoftware TrapSoftware Trap2010hN/AN/A
INT 15
NMI
2
NMI203EhN/A15
INT 14HSI FIFO FullHSI FIFO Full203Ch205Ch14
INT 13
EXTINT 1
2
Port 2.2203Ah205Ah13
INT 12Timer 2 OverflowTimer 2 Overflow2038h2058h12
INT 11
Timer 2 Capture
INT 10HSI FIFO 4HSI FIFO
2
Timer 2 Capture2036h2056h11
2034h2054h10
Fourth Entry
INT 9Receive
INT 8Transmit
RI Flag
TI Flag
3
3
2032h2052h9
2030h2050h8
1
INT 7
EXTINT
INT 6Serial PortRI Flag and
INT 5Software TimerSoftware Timer 0-3
2
Port 2.2 or Port 0.7200Eh204Eh7
200Ch204Ch6
4
TI Flag
200Ah204Ah5
Timer 2 Reset
INT 4
INT 3High Speed
INT 2HSI Data AvailableHSI FIFO Full or
2
HSI.0
Outputs
HSI.0 Pin2008h2048h4
Events on HSO.0 thru
2006h2046h3
HSO.5 Lines
2004h2044h2
HSI Holding Reg.
Loaded
INT 1EDAC Bit ErrorSingle Bit Error
2002h2042h1
Single Bit Error OVF
Double Bit Error
INT 0Timer OverflowTimer 1 or Timer 22000h2040h0
All of the previous maskable interrupts can be assigned to the PTS.
Any PTS interrupt has priority over all other maskable interrupts.
4
Notes:
1.The Unimplemented Opcode and Software Trap interrupts are not prioritized. The Interrupt Controller immediately services these interrupts when they are
asserted. NMI has the highest priority of all prioritized interrupts. Any PTS interrupt has priority over lower priority interru pts, and over all other maskable
interrupts. The standard maskable interrupts are serviced according to their priority number with INT0 has the lowest priority of all interrupts.
2.These interrupts can be configured to function as independent, external interrupts.
3.If the Serial interrupt is masked and the Receive and Transmit interrupts are enabled, the RI flag and TI flag generate separate Receive and Transmit interrupts.
4.If the Receive and Transmit interrupts are masked and the Serial interrupt is enabled, both RI flag and TI flag generate a Serial Port interrupt.
1. For some functions that share a register address in HWindow0, the opposite access type (read/write) is available in HWindow 15 if
indicated by the three asterisks (***).
2. These registers are not available in the industry standard 8XC196KD. Therefore, industry standard development software will not recognize these
mnemonics, and you will only be able to access them via their physical addresses.
(INT_PEND1)
Serial Port Status Register (SP_STAT)0000 10110B
Port 2 Register (PORT2)110X XXX1XX
Port 1 Register (PORT1)1111 1111FF
Port 0 Register (PORT0)XXXX XXXXXX
Timer 2 Value Register (TIMER2)0000 0000 0000 00000000
Timer 1 Value Register (TIMER1)0000 0000 0000 00000000
0000 000000
Hexadecimal Reset
Value
Interrupt Pending Register (INT_PEND)0000 000000
Interrupt Mask Register (INT_MASK)0000 000000
Receive Serial Port Register (SBUF
(RX))
HSI Status Register (HSI_status)X0X0 X0X0XX
HSI Time Register (HSI_time)XXXX XXXX XXXX XXXXXXXX
Zero Register (ZERO_REG)0000 0000 0000 00000000
PWM0 Control Register (PWM0_CTRL)0000 000000
I/O Control Register 1 (IOC1)0010 000121
I/O Control Register 0 (IOC0)0000 00X00X
Serial Port Control Register (SP_CON)0000 10110B
Baud Rate Register (BAUD_RATE)0000 0000 0000 00010001
I/O Control Register 2 (IOC2)X00X X000XX
Watch Dog Timer Register (WATCH-
DOG)
0000 000000
0000 000000
7
Table 8: Special Function Register Reset Values
Internal RegisterBinary Reset State
Transmit Serial Port Buffer (SBUF (TX))0000 000000
HSO Command Register
(HSO_command)
HSO Time Register (HSO_time)0000 0000 0000 00000000
HSI Mode Register (HSI_mode)1111 1111FF
PWM2 Control Register (PWM2_CTRL)0000 000000
PWM1 Control Register (PWM1_CTRL)0000 000000
EDAC Control and Status Register
---Digital supply voltage (+5V). There are 2 VDD pins, both of
which must be connected.
2TB
ECB5
1
---EDAC Check Bit 5. Asserting the EDACEN pin will cause the
error detection and correction engine to pass the EDAC Check
Bit 5 through pin 2 of the UT80CRH196KD.
3TDINMIHighNon-Maskable Interrupt. A positive transition causes a vector
through the NMI interrupt at location 203Eh. Assert NMI for at
least 1 state time to guarantee acknowledgment by the interrupt
controller.
4TIP0.3---Port 0 Pin 3. An input only port pin that is read at location 0Eh
in HWindow 0.
TB
ECB4
1
---EDAC Check Bit 4. Asserting the EDACEN pin will cause the
error detection and correction engine to pass the EDAC Check
Bit 4 through pin 4 of the UT80CRH196KD.
5TIP0.1---Port 0 Pin 1. An input only port pin that is read at location 0Eh
in HWindow 0.
TB
ECB3
1
---EDAC Check Bit 3. Asserting the EDACEN pin will cause the
error detection and correction engine to pass the EDAC Check
Bit 3 through pin 5 of the UT80CRH196KD.
6TIP0.0---Port 0 Pin 0. An input only port pin that is read at location 0Eh
in HWindow 0.
TB
ECB2
1
---EDAC Check Bit 2. Asserting the EDACEN pin will cause the
error detection and correction engine to pass the EDAC Check
Bit 2 through pin 6 of the UT80CRH196KD.
13
Loading...
+ 30 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.