Title: DragonBall
1DragonBall VZ
- ??????????? ????????????? 43650159
- ???????????? ???????????? 43650290
2Agenda
- ????
- ???????????
- ?????????????
3????
- ????????????????????????????????????????
????????????????????????????????????
????????????????? ???? ??????????????????? - ??????????????????????? MC68VZ328 (DragonBall
TM VZ) ???????????????????????????????????????????
????????????????
4???? (2)
- ???????????????? DragonBallTM ?? 3 ??????
- MC68328 (DragonBallTM)
- MC68EZ328 (DragonBallTM EZ)
- MC68VZ328 (DragonBallTM VZ)
- DragonBall VZ ????????? ??????????? ??????????
???????? LCD ?????
5???????????
- FLX68000 CPU
- Chip-select logic ??? 8-/16-bit bus interface
- Clock generation module (CGM) ??? power control
- Interrupt controller
- 76 GPIO lines grouped into 10 ports
- 2 Pulse-width modulators (PWM 1 ??? PWM 2)
- 2 General-purpose timers
- 2 Serial peripheral interfaces (SPI 1 ??? SPI 2)
- 2 UARTs (UART 1 ??? UART 2) ??????????? infrared
communication - LCD controller
- Real-time clock
- DRAM controller ???????? EDO RAM, Fast Page Mode
??? SDRAM - In-curcuit emulation module
- Bootstrap mode
6???????????
FLX6800StaticCPU
16-Bit Timers(2)
GPIO Ports
GPIO Ports
16-Bit PWM2
8-Bit PWM1
7??????????? CPU
- ?????????? ???? 68000 (32 ???) ??????????????
- ?????????????
- ????????????? 32 ??? ??????????????? 16 ???
- ??????????????????????? ?????????????? 32 ???
????? 16 ??? - ?????????????????????????????????????? 56 ??????
- ?? addressing modes 14 ???? ????????????? 5
?????? - ???????????????????????????? 7 ?????
8???????????
CGMPower Control
Real-TimeClock
In-CircuitEmulation
InterruptController
MemoryController
BootstrapMode
8/16-Bit 68000 Bus Interface
FLX6800StaticCPU
16-Bit Timers(2)
GPIO Ports
GPIO Ports
16-Bit PWM2
8-Bit PWM1
9??????????? Memory Control
- Memory Controller ????????????????????????
???????? Flash,ROM, SRAM, DRAM (EDO RAM ??? Fast
Page Mode) - Synchronous DRAM
10???????????
CGMPower Control
Real-TimeClock
In-CircuitEmulation
InterruptController
MemoryController
BootstrapMode
8/16-Bit 68000 Bus Interface
FLX6800StaticCPU
16-Bit Timers(2)
GPIO Ports
GPIO Ports
16-Bit PWM2
8-Bit PWM1
11??????????? CGMPower Control
- Clock Generation Module ??? Power Control Module
- ???????????????????????????????????
- ???????????????????????????????????????????????
- ?????????????????????????????????? 4 ????
- Normal Mode
- Burst Mode
- Doze Mode
- Sleep Mode
12???????????
CGMPower Control
Real-TimeClock
In-CircuitEmulation
InterruptController
MemoryController
BootstrapMode
8/16-Bit 68000 Bus Interface
FLX6800StaticCPU
16-Bit Timers(2)
GPIO Ports
GPIO Ports
16-Bit PWM2
8-Bit PWM1
13??????????? CGMPower Control
- ????????????????????? ????????????????????????????
? ?????? crystal ?????????????????? 32.876 kHz.
???? 38.4 kHz. ??????????????????????????????
14???????????
CGMPower Control
Real-TimeClock
In-CircuitEmulation
InterruptController
MemoryController
BootstrapMode
8/16-Bit 68000 Bus Interface
FLX6800StaticCPU
16-Bit Timers(2)
GPIO Ports
GPIO Ports
16-Bit PWM2
8-Bit PWM1
15??????????? In-Circuit Emulation Module
- ????????????????????????????????? Emulator
??????? ??????????????????????????? 0xFFFC0000
??? 0xFFFCFFFF ??????????????????????? /EMUCS
(Emulator debug monitor)
16???????????
CGMPower Control
Real-TimeClock
In-CircuitEmulation
InterruptController
MemoryController
BootstrapMode
8/16-Bit 68000 Bus Interface
FLX6800StaticCPU
16-Bit Timers(2)
GPIO Ports
GPIO Ports
16-Bit PWM2
8-Bit PWM1
17??????????? Bootstrap Mode
- ??????????????????????????????????????????
????????????????? RAM ?????????????????????? UART
1 ???? UART 2 - ????????????????????????????? MC68VZ328 ????
????? Execute ?????????????????? Debug
???????????????? ?????????????????????????????????
??????????? flash memory
18???????????
CGMPower Control
Real-TimeClock
In-CircuitEmulation
InterruptController
MemoryController
BootstrapMode
8/16-Bit 68000 Bus Interface
FLX6800StaticCPU
16-Bit Timers(2)
GPIO Ports
GPIO Ports
16-Bit PWM2
8-Bit PWM1
19??????????? Interrupt Controller
- ??????????????????????????????????????????????????
????????????????????? - ????????????????????????????????????????
(Interrupt Request) ???????????? - ??????????????????????????????????????????????????
????????? (Interrupt Acknowledge) - ??????????????????????? ??????????????????????????
? ?????????????????? - ????????????????????????????????
??????????????????????????? ??????????????????????
???????????????
20???????????
CGMPower Control
Real-TimeClock
In-CircuitEmulation
InterruptController
MemoryController
BootstrapMode
8/16-Bit 68000 Bus Interface
FLX6800StaticCPU
LCD Controller
SPI 1
16-Bit Timers(2)
SPI 2
GPIO Ports
GPIO Ports
16-Bit PWM2
UART 1 withIrDA1.0
8-Bit PWM1
UART 2 withIrDA1.0
21??????????? LCD Controller
- ????????? LCD ???????????????????????????? LCD
Drivers ???? LCD panel ????????? LCD
???????????????????????????????????????????????
Block diagram ???????????? LCD
22???????????
CGMPower Control
Real-TimeClock
In-CircuitEmulation
InterruptController
MemoryController
BootstrapMode
8/16-Bit 68000 Bus Interface
FLX6800StaticCPU
LCD Controller
SPI 1
16-Bit Timers(2)
SPI 2
GPIO Ports
GPIO Ports
16-Bit PWM2
UART 1 withIrDA1.0
8-Bit PWM1
UART 2 withIrDA1.0
23??????????? General-Purpose Timer
- ??????????? MC68VZ328 ???????????????? 16 ???????
2 ??? ????????????????????????????????????????????
???????????? ?????????????????????????????
24???????????
CGMPower Control
Real-TimeClock
In-CircuitEmulation
InterruptController
MemoryController
BootstrapMode
8/16-Bit 68000 Bus Interface
FLX6800StaticCPU
LCD Controller
SPI 1
16-Bit Timers(2)
SPI 2
GPIO Ports
GPIO Ports
16-Bit PWM2
UART 1 withIrDA1.0
8-Bit PWM1
UART 2 withIrDA1.0
25??????????? Serial Peripheral Interface (SPI)
- ????? SPI ???? 2 ??????????? ??? SPI 1 ??? SPI 2
- SPI 1 ???????????????????????????? ????????????
?? sync ?????????????????? SPI ???????????????????
?????????????????? SPI ?????????? - SPI 2 ???????????????? master ???????? ?????????
SPI 1 ???????????????????????? master ???? slave
26???????????
CGMPower Control
Real-TimeClock
In-CircuitEmulation
InterruptController
MemoryController
BootstrapMode
8/16-Bit 68000 Bus Interface
FLX6800StaticCPU
LCD Controller
SPI 1
16-Bit Timers(2)
SPI 2
GPIO Ports
GPIO Ports
16-Bit PWM2
UART 1 withIrDA1.0
8-Bit PWM1
UART 2 withIrDA1.0
27??????????? Universal Asynchronous
Receiver/Transmitter (UART) Modules
- ????? UART ?? 2 ????? ????????????????????????????
???????????? (serial device) - UART 1 ??? UART ????????????? DragonBall EZ
?????? UART 2 ??????????????????????????? UART 1 - UART 2 ??????????????????? RxFIFO ??? TxFIFO
???????????????????????????????? ??????????? UART
???? 2 ???????????????????????????????????????????
? 33.16 MHz
28???????????
CGMPower Control
Real-TimeClock
In-CircuitEmulation
InterruptController
MemoryController
BootstrapMode
8/16-Bit 68000 Bus Interface
FLX6800StaticCPU
LCD Controller
SPI 1
16-Bit Timers(2)
SPI 2
GPIO Ports
GPIO Ports
16-Bit PWM2
UART 1 withIrDA1.0
8-Bit PWM1
UART 2 withIrDA1.0
29??????????? Pulse-Width Modulators (PWM)
- PWM 2 ??? ?????????????????? 3 ???? ??????
playback, tone ??? D/A (Digital-to-analog
conversion) - ??? PWM ??????????????????????????????????????????
?????? - ????? simple tones ???????????????????????????????
??????????????????? - ??? PWM ???? 8 ?????? ?? FIFO ???? 5 ????
??????????????????????????????????????????????????
????????????????????????? - ????????? PWM ???? 16 ??? ??????????? higher
resolution ?????????????????????????
30?????????????