Professional Documents
Culture Documents
Lecture 19 Other Microprocessors
Lecture 19 Other Microprocessors
Other Processors
Today’s Quote:
You can’t take your money with
you, but you can send it on
ahead.
Lay not up for yourselves treasures upon earth,
where rust and moth doth corrupt, and where
thieves break through and steal: But lay up for
yourselves treasures in heaven, where neither
moth nor rust doth corrupt, and where thieves
do not break through nor steal.
Matthew 6:19-20
Major Z8F64 Eval
Board Blocks
The Eval Board consists of
five
major blocks:
16-bit Counter/
Reset • 64KB FLASH Program Memory
Control
Timer/ Cap/ PWM
64K x 8
I22C Register File
4K x 8
• SPI and I2C Ports
SPI DMA
Controller
• Up to 12-Channel, 10-Bit, A/D Conversion
UART 0
Interrupt On Chip
UART 1
Controller Debugger • Up to 60 Available I/O Pins
• Built-in Debugger
Port A Port B Port C Port D Port E Port F Port G Port H
• In-Circuit FLASH Programming (ICFP)
• Watch Dog Timer
• Up to 24-Vectored, Priority Based Interrupts
• Available in 40, 44, 64, 68 and 80-pin packages
New Z8 Encore! TM
Soft Core
Watchdog Oscillator Soft Core Features
Timer Crystal, RC
12-Channel
10-bit
A/D
• 76 instructions (runs existing Z8TM instructions)
Converter
16-bit Counter/
Reset • Linear Address Instructions to operate on the
Control
Timer/ Cap/ PWM
4K Register Space
16-bit Counter/ eZ8
Timer/ Cap/ PWM 20MHz
CPU
• Adds LDX for data movement between register
16-bit Counter/
Timer/ Cap/ PWM
FLASH
pages
16-bit Counter/ Program
Timer/ Cap/ PWM Memory • Adds on-chip debug instructions: BRK, TRAP
64K x 8
I22C Register File
4K x 8 • Adds instructions for improved performance
SPI DMA and code efficiency
Controller
UART 0
On Chip
• Improved performance over the Z8TM
Interrupt
Controller Debugger
UART 1 – 20MHz operating speed
– 2-9 cycles per instruction
Port A Port B Port C Port D Port E Port F Port G Port H
– Instruction fetch unit
– up to 10-MIPS Operation
FLASH Program
Memory Flash Features
Watchdog Oscillator
Timer Crystal, RC
12-Channel
10-bit
• Up to 64KB of Flash
A/D
Converter
Reset
• Page erase capability: 512 bytes/page
16-bit Counter/
Control
Timer/ Cap/ PWM
• Endurance: 20,000 Cycles (min)
16-bit Counter/ Z8 Encore!TM
Timer/ Cap/ PWM 20MHz
16-bit Counter/
CPU • Up to 100 years of Data Retention
Timer/ Cap/ PWM
16-bit Counter/
FLASH
Program • Byte Program Time: 20uS (min)
Timer/ Cap/ PWM Memory
Register File
64K x 8 • Page Erase Time: 10-12ms (min)
I22C
4K x 8
SPI DMA
• Mass Erase Time: 200-220ms (min)
Controller
UART 0 • Write Protective mechanism to prevent
On Chip
Interrupt
Controller Debugger accidental programming or erasure
UART 1
16-bit Counter/
Reset
Control • 8 and 9-bit Asynchronous Data transfers
Timer/ Cap/ PWM
16-bit Counter/
Timer/ Cap/ PWM
Z8 Encore!TM • Even/Odd parity Generation and detection
20MHz
CPU
16-bit Counter/
Timer/ Cap/ PWM • 1–2 STOP bit selection
FLASH
16-bit Counter/ Program
Timer/ Cap/ PWM Memory • Separate Transmit and Receive Interrupts
64K x 8
I22C Register File
4K x 8
• Framing, Parity, Overrun, and Break Detect
SPI DMA
Controller
• 16-bit Reload Baud Rate Generator
UART 0
Interrupt On Chip • Separate transmit and receive enables
Controller Debugger
UART 1
• Receive & transmit data buffer
Port A Port B Port C Port D Port E Port F Port G Port H • Selectable Multi-processor Mode (9-bit UART)
• Built-in IrDA Encoder-Decoder
• Max data rate SysClk/8
Serial Peripheral
Interface (SPI)
Watchdog Oscillator SPI Features
Timer Crystal, RC
12-Channel
10-bit • Full-Duplex, Synchronous, Channel
A/D
Converter
16-bit Counter/
Reset • Data Transfer in Master and Slave modes
Control
Timer/ Cap/ PWM
UART 1
Controller Debugger
- Receive,
- Slave Select
Port A Port B Port C Port D Port E Port F Port G Port H
• Dedicated BRG
Inter-IC (I C) 2
64K x 8
• Automatic configuration for open drain
I22C Register File
4K x 8
• Support for slave clock stretching
SPI DMA
Controller
• Dedicated BRG
UART 0
Interrupt On Chip
UART 1
Controller Debugger • Two bi-directional bus lines:
- serial data (SDA) line
Port A Port B Port C Port D Port E Port F Port G Port H
- serial clock (SCL) line
Timers
Watchdog Oscillator Timer Features
Timer Crystal, RC
12-Channel
10-bit • Four 16-bit Reload/Up-counting Timers
A/D
Converter
16-bit Counter/
Reset • Vectored Timer Interrupt
Control
Timer/ Cap/ PWM
SPI DMA
- One-Shot
Controller
UART 0
- Continuous
Interrupt On Chip
UART 1
Controller Debugger - Counter
- PWM
Port A Port B Port C Port D Port E Port F Port G Port H
- Capture
- Compare
- Gated
- Capture/Compare
Direct Memory
Access (DMA)
Watchdog Oscillator DMA Features
Timer Crystal, RC
12-Channel
10-bit • There are three DMA Channels
A/D
Converter
Reset - Two DMA channels are used for transfer
16-bit Counter/
Timer/ Cap/ PWM
Control between register RAM and peripherals.
16-bit Counter/ Z8 Encore!TM
Timer/ Cap/ PWM 20MHz
- The third DMA is used for continuous ADC
16-bit Counter/
CPU updates.
Timer/ Cap/ PWM
16-bit Counter/
FLASH
Program • Vectored DMA Interrupts
Timer/ Cap/ PWM Memory
16-bit Counter/
Reset • 12 Channels of Single-Ended ADC
Control
Timer/ Cap/ PWM
16-bit Counter/
FLASH
Program
pads to reduce pin count
Timer/ Cap/ PWM Memory
64K x 8
• Capable of sampling up to 40KHz in
I22C Register File
4K x 8 continuous mode and 4KHz in single-step mode
SPI DMA
Controller
• Vectored ADC Interrupts on conversion
UART 0
On Chip
completion
Interrupt
Controller Debugger
UART 1 • 2.1V Internal Reference Voltage
• PROM
• EPROM
• EEPROM
• FLASH
• Pin sizes
• Surface mount, DIP etc.
Initial System Selection
• 40% extra space
• Programmability
• Memory
• Local vs. Multipoint
• Special Function
• Operator Interface
• Documentation
• 70% input 30% output