Download EM-32G880F128-STK

Transcript
EFM32G880F128-STK development board
Users Manual
All boards produced by Olimex are ROHS compliant
Rev. Initial, March 2010
Copyright(c) 2010, OLIMEX Ltd, All rights reserved
Page1
INTRODUCTION
EFM32G880F128-STK development board provides easy way for developing and
prototyping with the new EFM32G880F128 energy friendly microcontroller,
produced by Energy Micro AS. The combination of the powerful 32-bit ARM
Cortex-M3, innovative low energy techniques, short wake-up time from energy
saving modes, and a wide selection of peripherals, the EFM32G880F128
microcontroller is well suited for any battery operated application as well as other
systems requiring high performance and low-energy consumption.
EFM32G880F128-STK has DBG port for programming and debugging, UEXT, EXT,
four user buttons, RESET button, buzzer, LCD and some of the GPIOs are on
extension headers where you can connect your additional circuits. All this allows
you to build a diversity of powerful applications to be used in a wide range of
applications.
BOARD FEATURES
-
MCU: EFM32G880F128 32 bit Cortex-M3™ with 128K Bytes Program Flash,
16K Bytes RAM, 85 GPIO, 8 Channel DMA, 12 bit ADC 1Msps, 3xUART/SPI,
2x low power UART, I2C, 3x 16bit TIMERS, 3x2 CC-PWM, SSC, RTC, WDT, up
to 32MHz operation
-
LCD custom display
-
DEBUG connector with ARM 2x10 pin layout for programming/debugging
with ARM-JTAG-EW
-
UEXT connector
-
EXT extension connector
-
RS232 connector and driver
-
Power jack
-
Lithium coin battery holder
-
RESET circuit , RESET button
-
Four user buttons
-
Buzzer
-
On-board voltage regulator 3.3V with up to 800mA current
-
Power supply filtering capacitor
-
32 Mhz crystal
-
Extension headers for some of the uC ports + RST and power supply
-
PCB: FR-4, 1.5 mm (0,062"), soldermask, silkscreen component print
-
Dimensions: 77 x 64 mm ( 3.03 x 2.52")
Page2
ELECTROSTATIC WARNING
The EFM32G880F128-STK board is shipped in protective anti-static packaging. The
board must not be subject to high electrostatic potentials. General practice for
working with static sensitive devices should be applied when working with this
board.
BOARD USE REQUIREMENTS
Cables: The cable you will need depends on the programmer/debugger you use. If
you use ARM-JTAG-EW, you will need 1.8 m A-B USB cable.
Hardware: Programmer/Debugger – Olimex ARM Programmer: ARM-JTAG-EW.
Software: ARM C compiler and JTAG programmer.
PROCESSOR FEATURES
EFM32G880F128-STK board use High Performance ARM-based 32-bit
microcontroller EFM32G880F128 with these features:
–
Memory Protection Unit
–
Wake-up Interrupt Controller
–
Flexible Energy Management System
–
20 nA @ 3 V Shutoff Mode
–
0.6 µA @ 3 V Stop Mode, including Power-on Reset, Brown-out Detector,
RAM and CPU retention
–
0.9 µA @ 3 V Deep Sleep Mode, including Real Time Clock with 32.768 kHz
oscillator, Power-on Reset, Brown-out Detector, RAM and CPU retention
–
45 µA/MHz @ 3 V Sleep Mode
–
180 µA/MHz @ 3 V Run Mode, with code executed from flash
–
128 KB Flash
–
16 KB RAM
–
85 General Purpose I/O pins
–
Configurable Push-pull, Open-drain, pull-up/down, input filter, drive
strength
–
Configurable peripheral I/O locations
–
16 asynchronous external interrupts
–
8 Channel DMA Controller
–
8 Channel Peripheral Reflex System for autonomous inter-peripheral signaling
–
External Bus Interface for up to 64 MB of external memory mapped space
–
Hardware AES with 128/256-bit keys in 54/75 cycles
–
Timers/Counters
–
3× 16-bit Timer/Counter
–
3×3 Compare/Capture/PWM channels
Page3
–
–
16-bit Low Energy Timer
–
24-bit Real-Time Counter
–
3× 8-bit Pulse Counter
–
–
–
Watchdog Timer with dedicated RC oscillator @ 50 nA
Voltage boost, adjustable contrast adjustment and autonomous animation
feature
Communication interfaces
–
–
–
3× Universal Synchronous/Asynchronous Receiver/Transmitter
–
UART/SPI/SmartCard (ISO 7816)/IrDA
–
Triple buffered full/half-duplex operation
–
4-16 data bits
Universal Asynchronous Receiver/Transmitter
–
Triple buffered full/half-duplex operation
–
8-9 data bits
2× Low Energy UART
–
–
Autonomous operation with DMA in Deep Sleep Mode
I2C Interface with SMBus support
–
–
Asynchronous pulse counting/quadrature decoding
Integrated LCD Controller for up to 4×40 segments
–
–
Dead-Time Insertion on TIMER0
Address recognition in Stop Mode
Ultra low power precision analog peripherals
–
–
12-bit 1 Msamples/s Analog to Digital Converter
–
Single ended or differential operation
–
On-chip temperature sensor
–
Conversion tailgating for predictable latency
12-bit 500 ksamples/s Digital to Analog Converter
–
–
–
2 single ended channels/1 differential channel
2× Analog Comparator
–
Programmable speed/current
–
Capacitive sensing with up to 8 inputs
Supply Voltage Comparator
–
Ultra efficient Power-on Reset and Brown-Out Detector
–
2-pin Serial Wire Debug interface
–
1-pin Serial Wire Viewer
–
Temperature range -40 to 85 ºC
–
Single power supply 1.8 to 3.8 V
Page4
BLOCK DIAGRAM
Page5
MEMORY MAP
Page6
R14
NA
RSTN
Page7
(6-9)VDC
(4.5-6)VAC
PWR_J
+5V_JTAG
D1
GND
10uF/16V
C2
OUT
R2
390/1%
R1
240/1%
ADJ/GND
IN
VR1(3.3V)
LM1117IMPX-ADJ
C3
C4
BAT54C
D2
EXT-1
BAT
EXT-2
WF2S
1
2
+
10uF/16V
C1
BAT54C
LI_BAT
ST3232
R1OUT
R2OUT
T1IN
T2IN
BUT2
BUT1
12
9
11
10
C2-
C2+
C1-
C1+
13
8
14
7
6
100nF
C6
330R
R4
R1IN
R2IN
T1OUT
T2OUT
V-
V+
2
RS232
WWW.OLIMEX.COM/DEV
CO PYRIGHT(C) 2010
Rev. Initial
6
7
8
9
G2
G1
DB9-female
1
2
3
4
5
c
b
100nF
C7
330R
R5
BUT4
BUT3
BUTTONS
BUT3
BUT2
C13
100nF
C14
100nF
RS232
EFM32G880F128-STK
100nF
C5
330R
R3
330R
R8
5
4
3
1
GND
T1103NE -DTSM-21R(12x12x4.3mm)
G1
LEU1_RX
LEU1_TX
C11
100nF
C10
100nF
C12
100nF
U2
VCC
16U2PWR 15
T1103NE -DTSM-21R(12x12x4.3mm)
DB104(SMD)
1
SEG34
SEG35
SEG36
SEG37
VCC
2
POWER SUPPLY
3
BUT1
4
EFM32G880F128-QFP100
5
45
Q1
6
44
RS232_PWR_E
d
g
a
24
535-9080-1-ND(32MHz/18pF/20ppm)
7
43
33pF
8
42
33pF
41
C27
R13
SEG0
SEG1
SEG39
SEG38
C26
9
10pF
40
C25
DBG_SWCLK
DBG_SWDIO
SEG0
SEG1
SEG2
SEG 3
SEG24
SEG25
SEG 26
SEG27
76
77
78
79
80
81
84
85
86
87
NA(0R)
SEG26
SEG27
SEG28
SEG29
SEG30
SEG31
SEG32
SEG33
G ND
10
10pF
11
39
C24
38
9
10
11
12
13
14
15
Q2
24
32768Hz(2x6)/6pF/20ppm
25
RS232_PWR_E
37
EXT-22
38
EXT-23
39
EXT-24
40
EXT-25
42
R16
NA
43
12
NA(0R)
R12
SEG32
SEG33
SEG34
SEG 20
SEG21
SEG22
SEG23
13
37
SEG12
14
36
EXT-18
EXT-19
EXT-20
EXT-21
15
35
EXT-26
BUT1
BUT2
BUT3
BUT4
COM0
COM1
CO M2
COM3
SEG 4
SEG5
SEG6
SEG 7
SEG8
SEG9
SEG10
SEG 11
60
61
62
63
64
65
66
67
92
93
94
95
96
97
98
99
EXT-17
16
34
SEG18
SEG19
SEG20
SEG21
SEG22
SEG23
SEG24
SEG25
330R
SEG28
SEG29
SEG30
SEG 31
17
33
1
2
3
4
5
6
7
26
27
28
29
30
33
34
35
100
MO SI1
MISO1
SCK1
CS_UEXT
LEU0_TX
LEU0_RX
I2C0_SDA
I2C0_SCL
DBG_SWV
46
47
48
49
50
51
52
53
54
88
89
90
91
32
59
PD0/ADC0_CH0/PCNT2_S0IN/US1_TX
PD1/ADC0_CH1/TIM0_CC0/PCNT2_S1IN/US1_RX
PD2/ADC0_CH2/TIM0_CC1/US1_CLK
PD3/ADC0_CH3/TIM0_CC2/US1_CS
PD4/ADC0_CH4/LEU0_TX
PD5/ADC0_CH5/LEU0_RX
DECOUPLE
PD6/ADC0_CH6/LETIM0_OUT0/I2C0_SDA
PD7/ADC0_CH7/LETIM0_OUT1/I2C0_SCL
PD8/ADC0_VCM/CMU_OUT1
PA0/LCD_SEG13/EBI_AD09/TIM0_CC0/I2C0_SDA
PD9/LCD_SEG28/EBI_CS0
PA1/LCD_SEG14/EBI_AD10/TIM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_OUT0
PB6/LCD_SEG23/US2_CS
PF1/DBG_SWDIO/LETIM0_OUT1
PB7/LFXTAL_P/US1_CLK
PF2/LCD_SEG0/DBG_SWV/EBI_ARDY/ACMP1_O
PB8/LFXTAL_N/US1_CS
PF3/LCD_SEG1/EBI_ALE/TIM0_CDTI0
PB9
PF4/LCD_SEG2/EBI_WEN/TIM0_CDTI1
PB10
PF5/LCD_SEG3/EBI_REN/TIM0_CDTI2
PB11/DAC0_OUT0/LETIM0_OUT0
PF6/LCD_SEG24/TIM0_CC0/U0_TX
PB12/DAC0_OUT1/LETIM0_OUT1
PF7/LCD_SEG25/TIM0_CC1/U0_RX
PB13/HFXTAL_P/LEU0_TX
PF8/LCD_SEG26/TIM0_CC2
PB14/HFXTAL_N/LEU0_RX
PF9/LCD_SEG27
VSS
VSS
VSS
VSS
18
SEG13
SEG14
SEG15
SEG 16
SEG17
SEG18
SEG 19
SEG35
SEG36
SEG37
SEG38
SEG39
16
32
58
83
19
PT1240P
100nF
C22
20
SEG14
SEG15
SEG16
SEG17
R15
100nF
C21
21
1.0uF/10V/X5R
100nF
C20
OLIMEX
22
BUZZER
100nF
100nF
umHF
23
C23
C19
C18
EXT-10
EXT-11
EXT-12
EXT-13
EXT-14
EXT-15
EXT-16
COM0
46
COM1
47
COM2
48
COM3
OLIMEX_LTD
LCD
IOVDD
IOVDD
IOVDD
IOVDD
IOVDD
LEU1_TX
LEU1_RX
31
8
17
31
44
82
29
100nF
28
100nF
e
f
30
27
10uF/6.3V
EXT-4
EXT-5
EXT-6
EXT-7
EXT-8
EXT-9
SEG6
SEG7
SEG8
SEG9
SEG10
SEG11
SEG3
SEG2
C17
18
19
20
21
22
23
55
56
68
69
70
71
72
73
74
75
25
C16
PC0/ACMP0_CH0/PCNT0_S0IN/US1_TX
PC1/ACMP0_CH1/PCNT0_S1IN/US1_RX
PC2/ACMP0_CH2/US2_TX
PC3/ACMP0_CH3/US2_RX
PC4/ACMP0_CH4/LETIM0_OUT0/PCNT1_S0IN/US2_CLK
PC5/ACMP0_CH5/LETIM0_OUT1/PCNT1_S1IN/US2_CS
PC6/ACMP0_CH6/LEU1_TX/I2C0_SDA
PC7/ACMP0_CH7/LEU1_RX/I2C0_SCL
PC8/ACMP1_CH0/TIM2_CC0/US0_CS
PC9/ACMP1_CH1/TIM2_CC1/US0_CLK
PC10/ACMP1_CH2/TIM2_CC2/US0_RX
PC11/ACMP1_CH3/US0_TX
PC12/ACMP1_CH4/CMU_OUT0
PC13/ACMP1_CH5/TIM0_CDTI0/TIM1_CC0/PCNT0_S0IN
PC14/ACMP1_CH6/TIM0_CDTI1/TIM1_CC1/PCNT0_S1IN/U0_TX
PC15/ACMP1_CH7/DBG_SWV/TIM0_CDTI2/TIM1_CC2/U0_RX
26
VDD_DREG
AVDD
AVDD
SEG13
SEG12
SEG4
SEG5
C15
U1
RESETN
0R
57
45
41
36
EXT-3
0R
L1
FB0805/600R/200mA(201209-601)
VCC
R10
4.7k
LEU0_TX
LEU0_RX
I2C0_SCL
I2C0_SDA
MISO 1
MO SI1
SCK1
CS_UEXT
R11
4.7k
VCC
UEXT
VCC VCC
UEXT-1
UEXT-2
UEXT-3
UEXT-4
UEXT-5
UEXT-6
UEXT-7
UEXT-8
UEXT-9
UEXT-10
BH10S
BH10S
BH10S
BH10S
BH10S
BH10S
BH10S
BH10S
BH10S
BH10S
100nF
C8
330R
R6
BUT4
+5V_JTAG
DBG_SWV
RSTN
RST
DBG_SWDIO
DBG_SWCLK
VCC
1
3
5
7
9
11
13
15
17
19
330R
R7
BH20S
DBG
2
4
6
8
10
12
14
16
18
20
NA(100nF)
C9
RSTN
DEBUG INTERFACE:
R9
100k
VCC
SCHEMATIC
IT1185AU2
T1103NE -DTSM-21R(12x12x4.3mm)
T1103NE -DTSM-21R(12x12x4.3mm)
+
-
BFLATWISE
+
47uF/6.3V
100nF
+
+
BOARD LAYOUT
Page8
POWER SUPPLY CIRCUIT
EFM32G880F128-STK can take power from three sources:
–
PWR connector where (6 – 9)VDC, or (4.5 - 6)VAC is applied by external power
source.
–
+5V_JTAG from DBG connector
–
VCC (+3V) from BAT connector
RESET CIRCUIT
EFM32G880F128-STK reset circuit includes EXT pin 3, DBG connector pin 15,
EFM32G880F128 pin 36 (RESETN) and RST button.
CLOCK CIRCUIT
Quartz crystal Q1 - 32 MHz is connected to EFM32G880F128 pin 42
(PB13/HFXTAL_P/LEU0_TX) and pin 43 (PB14/HFXTAL_N/LEU0_RX).
Quartz crystal Q2 - 32 768 Hz is connected to EFM32G880F128 pin 24
(PB7/LFXTAL_P/US1_CLK) and pin 25 (PB8/LFXTAL_N/US1_CS).
JUMPER DESCRIPTION
There are no jumpers on this board.
INPUT/OUTPUT
User button with name BUT1 connected to EFM32G880F128 pin 60
(PE0/PCNT0_S0IN/U0_TX).
User button with name BUT2 connected to EFM32G880F128 pin 61
(PE1/PCNT0_S1IN/U0_RX).
User button with name BUT3 connected to EFM32G880F128 pin 62
(PE2/ACMP0_O).
User button with name BUT4 connected to EFM32G880F128 pin 63
(PE3/ACMP1_O).
Reset button with name RST connected to EFM32G880F128 pin 36 (RESETN).
LCD
Buzzer connected to EFM2G880F128 pin 33 (PA12/LCD_BCAP_P/TIM2_CC0) via
R15 (330 Ohm) and to pin 34 (PA13/LCD_BCAP_N/TIM2_CC1).
Page9
CONNECTOR DESCRIPTIONS
DBG
Pin #
Signal Name
Pin #
Signal Name
1
VCC
2
VCC
3
NC
4
GND
5
NC
6
GND
7
DBG_SWDIO
8
GND
9
DBG_SWCLK
10
GND
11
NC
12
GND
13
DBG_SWV
14
GND
15
RSTN
16
GND
17
NC
18
GND
19
+5V_JTAG
20
GND
3V_BAT
Pin #
Signal Name
1
VCC
2
GND
Page10
UEXT
Pin #
Signal Name
1
VCC
2
GND
3
LEU0_TX
4
LEU0_RX
5
I2C0_SCL
6
I2C0_SDA
7
MISO1
8
MOSI1
9
SCK1
10
CS_UEXT
RS232
Pin #
Signal Name
1
NC
2
T2OUT
3
R1IN
4
NC
5
GND
6
NC
7
NC
8
NC
9
NC
Page11
EXT
Pin #
Signal Name
Pin #
Signal Name
1
VCC
2
GND
3
RSTN
4
PC0
5
PC1
6
PC2
7
PC3
8
PC4
9
PC5
10
PC8
11
PC9
12
PC10
13
PC11
14
PC12
15
PC13
16
PC14
17
PD8
18
BUT1
19
BUT2
20
BUT3
21
BUT4
22
RS232_PWR_E
23
PB10
24
PB11
25
PB12
26
PA14
PWR_JACK
Pin #
Signal Name
1
Power Input
2
GND
Page12
MECHANICAL DIMENSIONS
Page13
AVAILABLE DEMO SOFTWARE
–
EM-32G880F128-STK Demo project for for EW-ARM 5.41
Page14
ORDER CODE
EFM32G880F128-STK – assembled and tested board, includes EFM32G880F128
microcontroller.
How to order?
You can order to us directly or by any of our distributors.
Check our web www.olimex.com/dev for more info.
Revision history:
REV. Initial
- create March 2010
Page15
Disclaimer:
© 2010 Olimex Ltd. All rights reserved. Olimex®, logo and combinations thereof, are registered trademarks of
Olimex Ltd. Other terms and product names may be trademarks of others.
The information in this document is provided in connection with Olimex products. No license, express or implied
or otherwise, to any intellectual property right is granted by this document or in connection with the sale of
Olimex products.
Neither the whole nor any part of the information contained in or the product described in this document may be
adapted or reproduced in any material from except with the prior written permission of the copyright holder.
The product described in this document is subject to continuous development and improvements. All particulars
of the product and its use contained in this document are given by OLIMEX in good faith. However all warranties
implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are
excluded.
This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for
any loss or damage arising from the use of any information in this document or any error or omission in such
information or any incorrect use of the product.
Page16