Demoboard - EM Microelectronic

R
EM MICROELECTRONIC - MARIN SA
EMDB6812
EMDB6812 V2.0 MANUAL
VERSION 1.0
CONTENTS
1.
2.
INTRODUCTION ............................................................................................................................................2
HARDWARE DESCRIPTION ........................................................................................................................2
2.1
2.2
2.3
2.4
2.5
3.
PARTS ................................................................................................................................................................ 2
Hardware BOARD versionning ........................................................................................................................... 2
DEMOBOARD DESCRIPTION ........................................................................................................................... 2
2.3.1
Connector description ........................................................................................................................ 4
2.3.2
Demoboard Schematic....................................................................................................................... 7
SAMPLE BOARD DESCRIPTION ...................................................................................................................... 8
2.4.1
SampleBoard schematic .................................................................................................................... 8
Partlist ................................................................................................................................................................. 9
HARDWARE CONFIGURATION.................................................................................................................10
3.1
3.2
3.3
3.4
3.5
3.6
3.7
Power-Supply.................................................................................................................................................... 10
VPP/TEST......................................................................................................................................................... 10
Port A switches ................................................................................................................................................. 10
Port B leds ........................................................................................................................................................ 11
Oscillator ........................................................................................................................................................... 11
Programming .................................................................................................................................................... 11
Reset................................................................................................................................................................. 11
Copyright © 2008, EM Microelectronic-Marin SA
1
www.emmicroelectronic.com
R
EMDB6812
1.
INTRODUCTION
This document describes EMDB6812 Demoboard for EM6812 microcontroller.
This board contains a Flash EM6812 microcontroller and additional parts to evaluate EM6812 product and
test your application.
You will be able to :
- Program with external programmer the Flash EM6812 through the dedicated In-System-Programming
connector or by On-Socket insertion mode
- Evaluate or run your application with the help of the existing components assembled on the board
(push-button, leds, buzzer, RS232 interface, switches) and open extensions (connectors, user area).
2.
HARDWARE DESCRIPTION
2.1 PARTS
The EMDB6812 is based on two PCBs:
•
•
Main board (DemoBoard 6812)
Socket for EM6812 Flash microcontroller (SampleBoard 6812)
2.2 HARDWARE BOARD VERSIONNING
DemoBoard V2.0
SampleBoard V1.0
2.3 DEMOBOARD DESCRIPTION
PCB size : 160 mm x 100 mm
S1
CON7
DS9
…
BATTERY
CON6
DIP1-8
SWITCH
SELECTION
SampleBoard
S6
CURR
ENT
DS1
USER AREA
S7
CON1
S8
U2
SOCKET
DIP2-10
LEDS /
BUZZER
SELECTION
…
DS6
BUZ
CON8
CON2
CON4
Copyright © 2008, EM Microelectronic-Marin SA
CON3
2
www.emmicroelectronic.com
R
EMDB6812
USER AREA
S1…S6
DS1…DS6
BUZ1/BUZ2
DIP1-8
DIP2-10
BATTERY
U2
DS9
S8
S7
CON1
CON2
CON3 & CON4
CON6
CON7
Free user area (2.54 mm and 1.27 mm) with power lines (GND and VDD_IN)
6 Push-Buttons connected to PA0…PA5 through DIP1-8 switches
8 Low-power red leds connected to PB0…PB5 through DIP2-10 switches
Buzzers connected to PB0 through DIP2-10 switches
Switches for S1…S6 connections (PA0…PA5), RX (PA6), TX (PA7)
Switches for DS1…DS6 connections (PB0…PB5), Buzzers (PB0), IMEAS
Battery socket (2032)
Socket (DIL24) for Sample Board
Low-power red led connected to EXT_VDD
Switch for programming / application mode
Reset Push-Button
In-System-Programming connector
User connections (Ground, Power, Reset, …) and External oscillator connections
Port A, Port B user connector
DB9 connector for RS232
Power / Reset configuration connector
Copyright © 2008, EM Microelectronic-Marin SA
3
www.emmicroelectronic.com
R
EMDB6812
2.3.1
Connector description
2.3.1.1. CON1
In-System-Programming connector (compatibility Elnec programmer ISP cable)
Header 2x5 male – 2.54 mm
1
2
3
4
5
6
7
8
9
10
Power
X
In
X
X
Inout
Power
In
Power
Power
VDD_IN
N.C.
RST_EXT
N.C.
N.C.
SDIO
GND
SCLK
GND
VPP/TESTISP
EM6812 VDD supply
No Connect
External reset
No Connect
No Connect
Data IO program.
Ground
Clock program
Ground
VPP/TESTISP program.
2.3.1.2. CON2
User connector
Header 1x8 male – 2.54 mm
1
2
3
4
5
6
7
8
Power
Power
In
In
In
Power
Power
Power
GND
VDD_EXT
RST_EXT
OSCIN_EXT
OSCOUT_EXT
VBAT
VDD_IN
GND
Ground
External VDD supply
External reset
External OSCIN connection
External OSCOUT connection
Battery
EM6812 VDD supply
Ground
2.3.1.3. CON3
Port user connector
Header 2x8 male – 2.54 mm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
PA0
PA0
PA1
PA1
PA2
PA2
PA3
PA3
PA4
PA4
PA5
PA5
PA6
PA6
PA7
PA7
Port A bit 0
Port A bit 0
Port A bit 1
Port A bit 1
Port A bit 2
Port A bit 2
Port A bit 3
Port A bit 3
Port A bit 4
Port A bit 4
Port A bit 5
Port A bit 5
Port A bit 6
Port A bit 6
Port A bit 7
Port A bit 7
Copyright © 2008, EM Microelectronic-Marin SA
4
www.emmicroelectronic.com
R
EMDB6812
2.3.1.4. CON4
Port user connector
Header 2x8 male – 2.54 mm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
Inout
PB0
PB0
PB1
PB1
PB2
PB2
PB3
PB3
PB4
PB4
PB5
PB5
PB6
PB6
PB7
PB7
Port B bit 0
Port B bit 0
Port B bit 1
Port B bit 1
Port B bit 2
Port B bit 2
Port B bit 3
Port B bit 3
Port B bit 4
Port B bit 4
Port B bit 5
Port B bit 5
Port B bit 6
Port B bit 6
Port B bit 7
Port B bit 7
2.3.1.5. CON6
RS232 User connector
DB9 female
1
2
3
4
5
6
7
8
9
X
Out
In
X
Power
X
X
X
X
N.C.
TX
RX
N.C.
GND
N.C.
N.C.
N.C.
N.C.
No Connect
RS232 Transmitter output
RS232 Receiver input
No Connect
Ground
No Connect
No Connect
No Connect
No Connect
2.3.1.6. CON7
Configuration connector
Header 2x7 male – 2.54 mm
1
2
3
4
5
6
7
8
Power
Power
Power
Power
In
In
Power
Power
VBAT
VDD_IN
VDD_EXT
VDD_IN
RST_EXT
RST
VPP_ISP
VPP
Copyright © 2008, EM Microelectronic-Marin SA
Battery power supply
EM6812 VDD supply
External VDD supply
EM6812 VDD supply
External reset
EM6812 reset
VPP from ISP program.
EM6812 VPP/TEST
5
www.emmicroelectronic.com
R
EMDB6812
2.3.1.7. CON8
External oscillator connector
Header 2x2 male – 2.54 mm
1
2
3
4
In
In
In
In
OSCIN_EXT
OSCIN
OSCOUT_EXT
OSCOUT
Copyright © 2008, EM Microelectronic-Marin SA
External OSCIN connection
EM6812 OSCIN
External OSCOUT connection
EM6812 OSCOUT
6
www.emmicroelectronic.com
R
EMDB6812
2.3.2
Demoboard Schematic
Copyright © 2008, EM Microelectronic-Marin SA
7
www.emmicroelectronic.com
R
EMDB6812
2.4 SAMPLE BOARD DESCRIPTION
PCB size: 35.56 mm x 24.88 mm
Existing SampleBoard are one to one wired converter:
•
•
DIL24 (600 mils width) to SOIC24 (1.27 mm pitch – 300 mils body width)
DIL24 (600 mils width) to TSSOP24 (0.65 mm pitch – 4.4mm body width)
Each SampleBoard contains an EM6812 Flash Microcontroller and a Crystal 32768 Hz.
32768Hz
EM6812 MCU
2.4.1
SampleBoard schematic
Copyright © 2008, EM Microelectronic-Marin SA
8
www.emmicroelectronic.com
R
EMDB6812
2.5 PARTLIST
Designator
Description
Footprint
Value
Constructor
Ref Constructor
BT1
Battery Support for Typ 2032
BAT-2
C1
Polarized Capacitor (Surface Mount)
2917
10uF
C2
Polarized Capacitor (Surface Mount)
1206
100nF
C3
Polarized Capacitor (Surface Mount)
1206
100nF
C4
Polarized Capacitor (Surface Mount)
1411
470nF
C5
Polarized Capacitor (Surface Mount)
1411
470nF
C6
Polarized Capacitor (Surface Mount)
1411
470nF
C7
Capacitor (Semiconductor SIM Model)
1206
100nF
C8
Capacitor (Semiconductor SIM Model)
1206
470nF
C9
Capacitor (Semiconductor SIM Model)
1206
100nF
CON1
Header, 5-Pin, Dual row
HDR2X5
CON2
Header, 8-Pin
HDR1X8
CON6
DB9, Right Angle
DSUB1.385-2H9
CON7
Header, 7-Pin, Dual row
HDR2X4
DIP1-8
DIP Switch
DIP-16
Multicomp
MCNDI-08S
DIP2-10
DIP Switch
DIP-20
Multicomp
MCNDI-10S
DS1
RED GaAs LED
LED
Temic
TLMT3100
DS2
RED GaAs LED
LED
Temic
TLMT3100
DS3
RED GaAs LED
LED
Temic
TLMT3100
DS4
RED GaAs LED
LED
Temic
TLMT3100
DS5
RED GaAs LED
LED
Temic
TLMT3100
DS6
RED GaAs LED
LED
Temic
TLMT3100
DS9
RED GaAs LED
LED
Temic
TLMT3100
CON3
Header, 8-Pin, Dual row
HDR2X8
CON4
Header, 8-Pin, Dual row
HDR2X8
CON8
Header, 2-Pin, Dual row
HDR2X2
R1
Resistor
1206
27
R2
Resistor
1206
27
R3
Resistor
1206
27
R4
Resistor
1206
27
R5
Resistor
1206
100K
R8
Resistor
1206
100K
R9
Resistor
1206
47
R10
Resistor
1206
10K
R11
Resistor
1206
10K
S1
Switch
SPST-2
ITT Canon
KSC421J
S2
Switch
SPST-2
ITT Canon
KSC421J
S3
Switch
SPST-2
ITT Canon
KSC421J
S4
Switch
SPST-2
ITT Canon
KSC421J
S5
Switch
SPST-2
ITT Canon
KSC421J
S6
Switch
SPST-2
ITT Canon
KSC421J
S8
Switch
DPDTOS2020
ITT Canon
OS202011MS2QN1
U2
Low profil support 600 Mils DIL24
DIP24
U3
RS-232 Transceiver with AutoShutdown
SSO-G16/X.4
Maxim
MAX3221CAE
Copyright © 2008, EM Microelectronic-Marin SA
KEYSTONE
9
www.emmicroelectronic.com
R
EMDB6812
3.
HARDWARE CONFIGURATION
3.1 POWER-SUPPLY
EM6812 samples can be powered (VDD_IN) with two different sources:
•
•
Battery : VBAT
External Power-supply : VDD_EXT
Selection is done with a jumper configuration on CON7
Battery configuration
External configuration
Jumper CON7-1 / CON7-2
ON
OFF
Jumper CON7-3 / CON7-4
OFF
ON
VBAT:
• Requires CR2032 3V battery in socket BT1
• Can be measured on CON7-1
VDD_EXT:
• Can be applied or measured on CON2-2
• When applied will light on DS9 red led
VDD_IN / IDD_IN:
• VDD_IN is the operating power supply for the EM6812
• IDD_IN current measurement can be done by placing amperemeter between I+ and I- . in
such case be sure that DIP2-10 position 10 is put on IMEAS position
Notes: For In-System-programming step refer to ISP programming application note for powersupply details. Safe operation procedure is to apply VDD_IN EM6812 from the programmer powersupply (CON1): No other VBAT and VDD_EXT supplied and no load on the In-SystemProgramming connections.
3.2 VPP/TEST
During programming sequence a jumper is needed on CON7-7 / CON7-8
This jumper does not need to be removed after programming.
3.3 PORT A SWITCHES
S1…S6 switches can be connected to EM6812 Port A (Port A bit 0 … 5). Select ON position for the
corresponding DIP1-8 position (1…6).
When the switch is activated, corresponding Port A bit is tied to ‘0’.
RS232 transceiver (TX) can be connected to Port A bit 6. Select ON for the DIP1-8 position 7.
RS232 transceiver (RX) can be connected to Port A bit 7. Select ON for the DIP1-8 position 8.
Copyright © 2008, EM Microelectronic-Marin SA
10
www.emmicroelectronic.com
R
EMDB6812
3.4 PORT B LEDS
DS1…DS6 leds can be connected to EM6812 Port B (Port B bit 0 … 6). Select ON position for the
corresponding DIP2-10 position (1…6).
Buzzer can be connected to Port B bit 0. Select ON for the DIP2-10 position 9.
3.5 OSCILLATOR
By default, a 32768Hz crystal is assembled on each SampleBoard. Optionally crystal capacitance
can be added (2 empty footprints).
For specific EM6812 modes, it can be necessary to use OSCIN/OSCOUT for other purpose. If
necessary connect external signals on CON2-4 (OSCIN_EXT) or CON2-5 (OSCOUT_EXT) and
place jumpers on CON8-1/CON8-2 or CON8-3/CON8-4.
3.6 PROGRAMMING
During In-System-Programming it is recommended to isolate pins PB5 (SCLK) and PB7 (SDIO)
from the application connections. Refer to ISP programming application note for details.
A slide switch S8 selects the mode (programming or application) for both pins. For the current mode
to be executed, you must ensure the appropriate switch position selection.
3.7 RESET
A reset switch S7 reset the EM6812. It is also possible to add an external reset. This external reset
(RST_EXT) must be applied on CON2-3 and must be enabled by adding a jumper on CON75/CON7-6.
EM Microelectronic-Marin SA cannot assume responsibility for use of any circuitry described other than circuitry entirely
embodied in an EM Microelectronic-Marin SA product. EM Microelectronic-Marin SA reserves the right to change the
circuitry and specifications without notice at any time. You are strongly urged to ensure that the information given has not
been superseded by a more up-to-date version.
© EM Microelectronic-Marin SA, 01/08, Rev. B
Copyright © 2008, EM Microelectronic-Marin SA
11
www.emmicroelectronic.com