uPSD3300 Series Design Guide for DK3300-ELCD Using KEIL
6 SAMPLE DESIGN EXAMPLE
6.1 Description
This simple design chosen for this example and demonstrated earlier uses the Code and the
memory maps for the PWM-ADC application supplied as a demo with the DK3300-ELCD. As
explained in the Design flow the key step is to first develop the application relationships and
configurations. Here the example demonstration is represented by the block diagram in Figure
18 and the associated memory map is shown in Figure 19. The main Flash memory is paged,
and few of the 8032 interfaces (e.g., ADC, PWM) are configured and used. The idea is to touch
several aspects of the uPSD that may be unfamiliar to a typical 8032 user and to give you an
idea of how to use the design tools as well as giving an overview of the Turbo uPSD3334 ar-
chitecture. The design is based upon DK3300-ELCD Development Board. And the application
code is developed and compiled using Keil.
Please refer to the general Users Guide for Keil, the DK3300-ELCD Quick Start, the DK3300-
ELCD User Guide and the User Guide for PSDsoft as needed.
Figure 18. Design Example Block Diagram
Jumper
PMW
ADC
pin _RESET
RESET
pin XTAL1
40 MHz
pin XTAL2
A8 - A15
8
ADDR
8 16
uPSD3334D-40U6
16
PWM
16 ADDR
ADDR
DATA 4
8
Latch
ADC
AD0-AD7
8
DATA
_RESET_IN
8032
XTAL1
XTAL2
15
256KB Main
Flash
fs0 - fs7
8
13
csboot0 -
32KB 2ndary
csboot3
Flash
4
13
8KB SRAM
Data Bus
Repeater
rs0
1
psel0 -
psel1
2
8
256 Control Regs
csiop
1
DPLD
Page Reg
(from Control
Regs)
JTAG
ISP
pins MCUA8-MCUA11
pins MCUAD0-MCUAD7
pin PC0 (tms)
pin PC1 (tck)
pin PC3 (tstat)
pin PC4 (_terr)
pin PC5 (tdi)
pin PC6 (tdo)
pin P3.0 (RxD)
RxD
pin P3.1 (TxD)
TxD
UART 0
UART1
16
ALE
Initial
count
16 PLD
MarcoCells
Down
counter
RS-232 Transceiver
P1
P2
Pin PB0
(term_count)
pin PB4(LCD_E2)
E2
pinPB3(LCD_E1) E1
pin PB2(LCD_RW)
GRAPHIC
LCD
R/W
pin PB1(LCD_A0) D/I (A0)
MODULE
(ELCD)
8
pins PA0 - PA7 (LDC_d0 - LCD_d7)
D0 - D7
27/68
1