Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 18

ECT 357

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:

1. MCU (Z8 Encore!TM)


2. Serial communication
devices (SPI and I2C)
3. Power and communication
interfaces
4. LED Array
5. Expansion Module Headers
6. IrDA Port
7. Target Module Interface
Z8F640x Product
Features
Watchdog Oscillator • Enhanced 20MHz Z8 Encore!TM Processor Core
Timer Crystal, RC
12-Channel
10-bit
A/D
• The CPU core runs at the crystal frequency
Converter

16-bit Counter/
Reset • 64KB FLASH Program Memory
Control
Timer/ Cap/ PWM

16-bit Counter/ Z8 Encore!TM • 4KB of Register Ram


Timer/ Cap/ PWM 20MHz
16-bit Counter/
CPU • Four 16-bit Timers with Capture and PWM’s
Timer/ Cap/ PWM
FLASH
16-bit Counter/ Program
Memory
• Two Full-Duplex, 9-Bit UARTs w/IrDA Support
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

Port A Port B Port C Port D Port E Port F Port G Port H


Interrupt Controller
Watchdog Oscillator
Timer Crystal, RC
12-Channel Interrupt Controller Features
10-bit
A/D
Converter • 24 Interrupt Vectors
Reset
16-bit Counter/
Control
Timer/ Cap/ PWM • 12 external GPIO interrupt sources
16-bit Counter/ Z8 Encore! TM

Timer/ Cap/ PWM 20MHz


CPU
- 4 dual-edge interrupts
16-bit Counter/
Timer/ Cap/ PWM
FLASH - 8 selectable rising or falling edge interrupts
16-bit Counter/ Program
Timer/ Cap/ PWM Memory
• 12 Internal sources
64K x 8
I22C Register File
4K x 8 • Three levels of priority
SPI DMA
Controller • Interrupt latency is max 16 system clock
UART 0
Interrupt
Controller
On Chip
Debugger
- 2 cycles for Interrupt priority
UART 1
- max of 9 cycles to complete current instruction
and acknowledge the pending interrupt request
Port A Port B Port C Port D Port E Port F Port G Port H
- 3 cycles for stacking (PC and Flags)
- 2 cycles for Vector fetching
General-Purpose I/O
(GPIO)
Watchdog Oscillator
Timer Crystal, RC
12-Channel
10-bit
• Up to 60 available GPIO pins:
A/D
Converter
Reset
- seven 8-bit ports
16-bit Counter/
Control
Timer/ Cap/ PWM
- one 4-bit port
16-bit Counter/ Z8 Encore! TM

Timer/ Cap/ PWM 20MHz • Bit programmable


16-bit Counter/
CPU
Timer/ Cap/ PWM
FLASH - Open-Drain
16-bit Counter/ Program
Timer/ Cap/ PWM Memory - High Drive Enable
64K x 8
I22C Register File
4K x 8 - Stop Mode Recovery Source Enable
SPI DMA - Data Direction
Controller
UART 0
On Chip
- Alternate function
Interrupt
Controller Debugger
UART 1 • Each pin can sink or source either
2mA or 20mA.
Port A Port B Port C Port D Port E Port F Port G Port H
UARTS
Watchdog
Timer
Oscillator
Crystal, RC UART Features
12-Channel
10-bit
A/D • Full Duplex
Converter

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

16-bit Counter/ Z8 Encore!TM • Maximum data rate of SysClk/4


Timer/ Cap/ PWM 20MHz
16-bit Counter/
CPU • Error Detection Logic
Timer/ Cap/ PWM
FLASH
16-bit Counter/ Program
Memory
• Write and Mode Collision Detection
Timer/ Cap/ PWM

I22C Register File


64K x 8 • Four Wire Interface:
4K x 8

SPI DMA - Clock,


Controller
UART 0 - Transmit,
Interrupt On Chip

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

Watchdog Oscillator I2C Features


Timer Crystal, RC
12-Channel
10-bit
A/D
• Up 100Kbps in Standard Mode and
Converter 400Kbpps in Fast Mode
Reset
16-bit Counter/
Control
Timer/ Cap/ PWM
• 7 or 10-bit addressing for slaves
16-bit Counter/ Z8 Encore! TM

Timer/ Cap/ PWM 20MHz


CPU
• Unrestricted amount of data transfer
16-bit Counter/
Timer/ Cap/ PWM
FLASH
Program
• Only Master Mode is supported
16-bit Counter/
Timer/ Cap/ PWM Memory

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

16-bit Counter/ Z8 Encore!TM


• 7-bit Pre-Scale
Timer/ Cap/ PWM 20MHz
16-bit Counter/
CPU • Timer Output Pin
Timer/ Cap/ PWM
FLASH
16-bit Counter/ Program • Timer input for Gated and Capture Modes
Timer/ Cap/ PWM Memory

I22C Register File


64K x 8 • Timer Operating Modes:
4K x 8

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

I22C Register File


64K x 8 • DMAx Transfers either a single byte or
4K x 8
two-byte word
SPI DMA
Controller
UART 0
Interrupt On Chip
Controller Debugger
UART 1

Port A Port B Port C Port D Port E Port F Port G Port H


Analog-to-Digital
Converter (ADC)
Watchdog Oscillator ADC Features
Timer Crystal, RC
12-Channel
10-bit • 10-bit resolution
A/D
Converter

16-bit Counter/
Reset • 12 Channels of Single-Ended ADC
Control
Timer/ Cap/ PWM

16-bit Counter/ Z8 Encore!TM


• Sigma-Delta converter for better accuracy
Timer/ Cap/ PWM 20MHz
16-bit Counter/
CPU • Input Signals Multiplexed with Standard I/O
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

Port A Port B Port C Port D Port E Port F Port G Port H


• 0-VDD External Reference Voltage
• Analog input range: 0 - Vref
On-Chip Debugger
(OCD) OCD Features
Watchdog Oscillator
Timer Crystal, RC
12-Channel
10-bit
• Single-pin Bi-Directional Open-drain Interface
A/D
Converter
Reset
•Data sent on single-pin using asynchronous data
16-bit Counter/
Timer/ Cap/ PWM
Control
standard as defined in RS-232
16-bit Counter/ Z8 Encore!TM
Timer/ Cap/ PWM 20MHz • Max speed of transfer SysClk/8
16-bit Counter/
CPU
Timer/ Cap/ PWM
FLASH
16-bit Counter/ Program
Timer/ Cap/ PWM Memory
OCD Advantages
64K x 8
22
IC Register File
4K x 8 • Keeps pin count low with single pin interface
SPI DMA
Controller • OCD helps read/write to registers,
UART 0
Interrupt On Chip programming Flash, setting breakpoints and
UART 1
Controller Debugger
executing code

Port A Port B Port C Port D Port E Port F Port G Port H


Reset Control
Watchdog Oscillator
Reset Features
Timer Crystal, RC
12-Channel
10-bit
• The Z8 Encore!TM can be reset with any of the
A/D
Converter following events:
Reset
16-bit Counter/
Timer/ Cap/ PWM
Control
• Reset Pin Assertion
16-bit Counter/ Z8 Encore!TM
Timer/ Cap/ PWM 20MHz • Power-on Reset
16-bit Counter/
CPU
Timer/ Cap/ PWM
FLASH • Watchdog Timer Time-out (When
16-bit Counter/
Timer/ Cap/ PWM
Program
Memory configured to initiate a reset)
I22C Register File
4K x 8
64K x 8
• Voltage Brown-out
SPI DMA • Stop Mode Recovery (SMR)
Controller
UART 0
Interrupt On Chip ­Watchdog Timer Time-out
Controller Debugger
UART 1
­GPIO port Input Pin Transition
Port A Port B Port C Port D Port E Port F Port G Port H
Microprocessor types

• 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

You might also like