Olimex MSP430-5438STK User guide

MSP430-5438STK development board
Users Manual
All boards produced by Olimex are ROHS compliant
Rev.A, October 2009
Copyright(c) 2009, OLIMEX Ltd, All rights reserved
Page 1

INTRODUCTION

prototyping with MSP430F5438 mixed signal microcontroller produced by Texas Instruments. This powerful microcontroller supports various serial interfaces such as USB Device, UART, SPI. In addition you will find also audio input and output, debug interface, LCD, UEXT, two Extensions, mini SD/MMC, User Joystick, User Leds, Reset button. All this allows you to build a diversity of powerful applications to be used in a wide range of situations.

BOARD FEATURES

- CPU: MSP430F5438 mixed signal microcontroller
- LCD NOKIA 3310 black/white 84x48 pixels
- JTAG connector
- JTAG Power_In and Power_Out jumpers
- Two extension connectors
- UEXT connector
- RS232 driver and connector
- Power plug-in jack for 9V DC power supply
- Voltage regulator +3.3V – VR1(3.3V)
- 2 status LEDs
- Power on Led
- Audio In
- Audio Out
- SD/MMC mini connector
- USB device connector
- Reset button
- User joystick
- PCB: FR-4, 1.5 mm (0,062"), solder mask, silkscreen component print
- Dimensions: 100x 98mm ( 3.94x 3.85")
Page 2

ELECTROSTATIC WARNING

BOARD USE REQUIREMENTS

Cables: The cable you will need depends on the programmer/debugger you use. If
you use MSP430-JTAG, you will need LPT cable, if you use MSP430-JTAG-TINY or MSP-JTAG-ISO, you will need 1.8m A-B USB cable, if you use MSP430-JTAG-RF, you can connect it to the USB port of your computer, or via USB cable type A – female.
MSP430-JTAG-TINY, MSP430-JTAG-ISO, or MSP430-JTAG-RF.
Software: MSP430 KickStart software.

PROCESSOR FEATURES

MSP430-5438STK board use ultralow-power consumption mixed signal
microcontroller with these features:
256KB+512B Flash Memory
16KB RAM
Four Universal Serial Communication Interfaces
Low Supply Voltage Range
1.8 V to 3.6 V
Ultralow Power Consumption
Active Mode (AM): 165 mA/MHz at 8 MHz
Standby Mode (LPM3 RTC Mode): 2.60 mA
Off Mode (LPM4 RAM Retention): 1.69 mA
Shutdown Mode (LPM5): 0.1 mA
Wake-Up From Standby Mode in Less Than 5 ms
16-Bit RISC Architecture
Extended Memory
18-MHz System Clock
Flexible Power Management System
Page 3
Fully Integrated LDO With Programmable Regulated Core Supply
Voltage
Supply Voltage Supervision, Monitoring, and Brownout
Unified Clock System
FLL Control Loop for Frequency Stabilization
Low-Power/Low-Frequency Internal Clock Source (VLO)
Low-Frequency Trimmed Internal Reference Source (REFO)
32-kHz Crystals
High-Frequency Crystals up to 32 MHz
16-Bit Timer TA0, Timer_A With Five Capture/Compare Registers
16-Bit Timer TA1, Timer_A With Three Capture/Compare Registers
16-Bit Timer TB0, Timer_B With Seven Capture/Compare Shadow Registers
Up to Four Universal Serial Communication Interfaces
Enhanced UART Supporting Auto-Baudrate Detection
IrDA Encoder and Decoder
Synchronous SPI
I2C™
12-Bit Analog-to-Digital (A/D) Converter
Internal Reference
Sample-and-Hold
Autoscan Feature
12 External Channels, 4 Internal Channels
Hardware Multiplier Supporting 32-Bit Operations
Serial Onboard Programming, No External Programming Voltage Needed
Three Channel Internal DMA
Basic Timer With Real-Time Clock Feature
Page 4
BLOCK DIAGRAM
Page 5

MEMORY ORGANIZATION

Page 6
SCHEMATIC
Page 7
CLO SE
CLO SE
CLO SE
100 nF
47uF/6.3V/ TANT
100 nF
47pF
47p F
47p F
1uF
33n F 33n F
100 nF
47u F/6.3V /TANT
470 pF
2.2 uF
47u F/6.3V /TANT
2.2 uF
100nF 100nF 100nF 100nF
2.2nF
470 nF
10u F/6.3 V/TANT
100 nF
39p F
39p F
10uF/6.3V/TANT
100nF
10p F
10p F
100 nF
100 nF
100 nF
100 nF
100 nF
100 nF
1uF/ 16V/TA NT
47u F/6.3V /TANT
47uF/6.3V/TANT
470 uF/16 VDC
100 nF
100 nF
10uF/6.3V(NA)
100nF
10uF/6. 3V/TANT
100nF
100 nF
10uF/6.3V/ TANT
NA
NA
10n F
1N4148
1N5 819S
IRLML6402
DB1 04(SM D)
JOYS TICK_M T5_F
BH14 S
FB0805/600R/ 200mA(201209-601)
CL47 0nH/08 05/1.76 R/250m A
FB/6 00 OHM /1 206 (32 16 11C -60 1)
ADG 8448 G(FPA -WZA-0 8-LF)
GYX-SD-TC0805SGC(GREEN)
GYX-SD-TC0805SYC(YELLOW)
GYX-SD-TC0 805SURK(RED)
YDJ- 1134
HN1 x2
HN1 x2
Q18.000MHz/20pF
QCT32768(2x6)/6pF
100 k
560 R
10k
560 R
470 k
NA
20k 1 00k
1k 1k
20k
47k
27k
33k
33k
220 R
33k
NA
0R(NA)
0R(NA)
560 R 560 R
4.7 k 4. 7k
33k
220 R
33k 33k 33k
330 R
560 R
NA
NA
10k
1M
100 k
100 k
100 k
33k 33k 33k 33k 33k
240R/1%
330 R
330 R
560R
390R/1%
1k
0R( NA)
0R( NA)
10k
NA
T1107A(6x3.8x 2.5mm)
DB9- F
MICR O
MSP4 30F54 38IPZ
MCP6 01-I /SN
TS48 71(S O-8)
ST32 32(S O16)
FT232RL/ SSOP28
BH10S
BH10S
BH10S
BH10S
BH10S
BH10S
BH10S
BH10S
BH10S
BH10S
USB_ B
3.3 VA
3.3 V
3.3 VA
3.3 V
3.3 VA 3.3 VA
3.3 V
3.3 VA
AGN D
AGN D
3.3 V
3.3 V
AGN D
3.3 V
AGN D AG ND AGND
3.3 V
AGN D
AGN D
AGN D
AGN D AGN DAGN D AGN D
3.3 V
3.3 V
AGN D
3.3 VA
AGN D
AGN D
3.3 V
AGN D
3.3 V3.3 V
3.3 V
3.3 V
3.3 V
3.3 V
AGN DAGN D
3.3 VA
AGN D
AGN D
CLO SE
LM1 117I MPX-ADJ
BZV5 5C2V4
BZV5 5C2V4
TDI,TD O,TMS, TCK,#R ST,TEST
UCA1SOMI ,UCA1SIM O,UCA1ST E,UCA1CLK, UCB1SDA,U CB1SCL,U CA0RXD,U CA0TXD, CS_SD
UCB 0STE,UC B0SIM O,UCB 0CLK, UCB0S OMI
UCB2CLK,UCB2SIMO,UCB2SOMI,UCB2STE,LCD_D/#C,#LCD_CS,#LCD_RES
#LC D_RES
#LC D_RES
#RS T
#RST
#RS T
+5V_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1 -26
EXT1 -27
EXT1 -28
EXT1 -29
EXT1 -30
EXT1- 31
EXT1 -32
EXT1 -33
EXT1 -34
EXT2 -1
EXT2 -2
EXT2 -3
EXT2 -4
EXT2- 5
EXT2 -6
EXT2- 7
EXT2 -8
EXT2 -9
EXT2 -10
EXT2- 11
EXT2 -12
EXT2 -13
EXT2 -14
EXT2- 15
EXT2 -16
EXT2 -17
EXT2 -18
EXT2- 19
EXT2 -20
EXT2 -21
EXT2 -22
EXT2 -23
EXT2 -24
EXT2 -25
EXT2 -26
EXT2 -27
EXT2 -28
EXT2 -29
EXT2 -30
EXT2 -31
EXT2 -32
EXT2 -33
EXT2 -34
FET
G1
GND
HEAD PHON ES
SCJ 325P0 0XG0 B02G
LEFT
CENTER
DOWN
UP
COMMON
RIGHT
J1
12345678910
1112
1314
JTAG
L1
L2
L3
#RES8#SCE
5
D/#C4GND
6
SCK
2
SDIN
3
VDD
1
VOUT
7
LCD
LED1 LED2
MICR OPHO NE
SCJ 325P0 0XG0 B02G
PWR
PWR _JACK
1
2
P_IN
1
2
P_O UT
Q1
Q2
R1
R2
R3
R4
R5
R6
R7 R8
R9 R10
R11
R12
R13
R14
R15
R16
R17
R18
R19
R20
R21
R22
R23 R 24
R25
R26
R27 R 28 R2 9
R30
R31
R32
R33
R34
R35
R36
R37
R38
R39 R 40 R4 1 R42 R43
R44
R45
R46
R47
R48
R49
R50
R51
R52
R53
RESE T
12345
6789G1
G2
RS2 32
CD/DAT3/CS2CLK/SCLK5CMD/DI3DAT0/DO7DAT1/RES8DAT2/RES1VDD4VSS
6
SD/M MC
#RST/NMI/SBW/TDIO
96
AVCC11AVSS
12
DVCC116DVCC264DVCC338DVCC4
87
DVSS115DVSS263DVSS337DVSS4
88
P1.0/TA0CLK/ACLK
17
P1.1/TA0.018P1.2/TA0.119P1.3/TA0.220P1.4/TA0.321P1.5/TA0.4
22
P1.6/SMCLK
23
P1.7
24
P2.0/TA1CLK/MCLK
25
P2.1/TA1.026P2.2/TA1.127P2.3/TA1.2
28
P2.4/RTCCLK
29
P2.5
30
P2.6/ACLK
31
P2.7/ADC12CLK/DMAE0
32
P3.0/UCB0STE/UCA0CLK
33
P3.1/UCB0SIMO/UCB0SDA
34
P3.2/UCB0SOMI/UCB0SCL
35
P3.3/UCB0CLK/UCA0STE
36
P3.4/UCA0TXD/UCA0SIMO
39
P3.5/UCA0RXD/UCA0SOMI
40
P3.6/UCB1STE/UCA1CLK
41
P3.7/UCB1SIMO/UCB1SDA
42
P4.0/TB0.043P4.1/TB0.144P4.2/TB0.245P4.3/TB0.346P4.4/TB0.447P4.5/TB0.548P4.6/TB0.6
49
P4.7/TB0CLK/SMCLK
50
P5.0/VREF+/VEREF+
9
P5.1/VREF-/VEREF-
10
P5.2/XT2IN
89
P5.3/XT2OUT
90
P5.4/UCB1SOMI/UCB1SCL
51
P5.5/UCB1CLK/UCA1STE
52
P5.6/UCA1TXD/UCA1SIMO
53
P5.7/UCA1RXD/UCA1SOMI
54
P6.0/A097P6.1/A198P6.2/A299P6.3/A3
100
P6.4/A41P6.5/A52P6.6/A63P6.7/A7
4
P7.0/XIN
13
P7.1/XOUT
14
P7.2/TB0OUTH/SVMOUT
55
P7.3/TA1.2
56
P7.4/A125P7.5/A136P7.6/A147P7.7/A15
8
P8.0/TA0.057P8.1/TA0.158P8.2/TA0.259P8.3/TA0.360P8.4/TA0.461P8.5/TA1.065P8.6/TA1.166P8.767P9.0/UCB2STE/UCA2CLK68P9.1/UCB2SIMO/UCB2SDA69P9.2/UCB2SOMI/UCB2SCL70P9.3/UCB2CLK/UCA2STE71P9.4/UCA2TXD/UCA2SIMO72P9.5/UCA2RXD/UCA2SOMI73P9.674P9.775P10.0/UCB3STE/UCA3CLK76P10.1/UCB3SIMO/UCB3SDA77P10.2/UCB3SOMI/UCB3SCL78P10.3/UCB3CLK/UCA3STE79P10.4/UCA3TXD/UCA3SIMO80P10.5/UCA3RXD/UCA3SOMI81P10.682P10.783P11.0/ACLK84P11.1/MCLK85P11.2/SMCLK
86
PJ.0/TDO92PJ.1/TDI/TCLK93PJ.2/TMS94PJ.3/TCK95TEST/SBWTCK
91
VCORE
62
U1
3
2
6
7 4
U2
3
4
2 7
5
8
1 6
U3
C1+1C1-3C2+4C2-
5
R1IN
13
R1OUT
12
R2IN
8
R2OUT9T1IN
11
T1OUT
14
T2IN
10
T2OUT
7
V+
2V-6
U4
1516
GNDVCC
U4P WR
#RESET
19
3V3OUT
17
AGND
25
CBUS023CBUS122CBUS213CBUS314CBUS4
12
CTS#
11
DCD#10DSR#
9
DTR#
2
GND1
7
GND2
18
GND3
21
NC18NC224OSCI27OSCO
28
RI#
6
RTS#
3
RXD
5
TEST
26
TXD
1
USBDM16USBDP15VCC20VCCIO
4
U5
UEXT- 1
UEXT- 2
UEXT- 3
UEXT -4
UEXT- 5
UEXT- 6
UEXT- 7
UEXT- 8
UEXT- 9
UEXT- 10
123
4
USB
1 2
VDD _E
ADJ/GND
IN OUT
VR1 (3.3V )
Z1
Z2
6VA C
9VD C
MSP430-5438STK
Rev . A
COP YRIGH T(C), 2009
http ://ww w.olime x.com/ dev
+
+
+
+
+
+
+
+
+
+
+
1-L23-R
A<1>
E<2>
C<3>
B<4>
Common<5>
D<6>
Center push
RIGHT
LEFT UP
DOWN
1-L23-R
GND
0R
0R
0R
0R
VCC GND
FT232RL
US B
SHIE LD
DEBUG INTERFACE:
POWER SUPPLY
AUDIO
RS232
SD/MMC
UEXT
USER JOYSTICKUSER LEDS
RESET CIRCUIT
LCD
USB to RS232
BOARD LAYOUT

POWER SUPPLY CIRCUIT

MSP430-5438STK can take power from three sources:
PWR connector where 9 V DC or 6 V AC is applied by external power source.
+5V_USB from USB DEV
JTAG, when P_IN jumper is closed. Note that the JTAG has current limitations.
The board power consumption is: about 20 mA with all peripherals and microcontroller running at full speed.

RESET CIRCUIT

MSP430-5438STK reset circuit includes JTAG connector pin 11, EXT1 pin 3,
MSP430F5438 pin 96 and Reset button.

CLOCK CIRCUIT

Quartz crystal 32768 MHz is connected to MSP430F5438 pin 13(P7.0/XIN) and pin 14 (P7.1/XOUT).
Quartz crystal 18 MHz is connected to MSP430F5438 pin 89 (P5.2/XT2IN) and pin 90 (P5.3/XT2OUT).
Page 8

JUMPER DESCRIPTION

Power In jumper:
P_IN jumper connects power supply from JTAG connector. You have to
ensure that your circuit doesn't draw more than few milliampers current or the power supply may decrease due to the JTAG port current limitations. P_IN is useful and must be used mostly to program the microcontroller.
Power Out jumper:
P_OUT jumper connects power from MSP430-5438STK to JTAG connector. When this jumper cap is placed, the power supply of JTAG connector will follow the power supply of the board. This is useful when your board works at lower than +3,3V power supply.
Note:
P_IN and P_OUT jumper caps should not be placed at the same time.
VDD_E
Enable MSP430F5438 3.3 V power supply.
Default state is closed.
3.3V_E
Enable 3.3V board power supply. Default state is closed.
3.3VA_E
Enable 3.3V board analog power supply. Default state is closed.
AGND_E
Enable board analog ground. Default state is closed.
Input/Output
the joystick four directions switches are connected: UP, DOWN, LEFT, RIGHT ­through 33k resistors and CENTER through serial connected 330 and 33k resistors to 3.3V.
Status LED (green) with name LED1 connected to MSP430F5438 pin 83 (P10.7).
Status LED (yellow) with name LED2 connected to MSP430F5438 pin 82 (P10.6).
Power supply LED (red) with name PWR – indicates that external power source is
applied and board power supply is applied.
Reset button with name RESET, connected to MSP430F5438 pin 96.
LCD black/white 84x48 pixels
Page 9

CONNECTOR DESCRIPTIONS

JTAG
Pin # Signal Name Pin # Signal Name
1 TDO 2 VCC_IN
3 TDI 4 VCC_OUT
5 TMS 6 NC
7 TCK 8 TEST
9 GND 10 NC
11 #RST 12 NC
13 NC 14 NC
RS232
Pin # Signal Name
1 NC
2 PC_RXD
3 PC_TXD
4 PC_DTR
5 GND
6 PC_DSR
7 PC_RTS
8 PC_CTS
9 NC
Page 10
USB DEV
Pin # Signal Name
1 +5V_USB
2 USBDM
3 USBDP
4 GND
PWR_JACK
Pin # Signal Name
1 Power Input
2 GND
UEXT
Pin # Signal Name
1 3.3V
2 GND
3 UCA0TXD
4 UCA0RXD
5 UCB1SCL
6 UCB1SDA
7 UCA1SOMI
8 UCA1SIMO
9 UCA1CLK
10 UCA1STE
Page 11
EXT1
Pin # Signal Name Pin # Signal Name
1 3.3V 2 GND
3 #RST 4 TCK
5 TMS 6 TDI
7 TDO 8 P11.2
9 P11.1 10 P11.0
11 LED1 12 LED2
13 UCA3RXD 14 UCA3TXD
15 P10.3 16 P10.2
17 P10.1 18 P10.0
19 UCB2CLK 20 UCB2SOMI
21 UCB2SIMO 22 P8.7
23 P8.6 24 P8.5
25 P8.4 26 P8.3
27 P8.2 28 P8.0
29 P7.2 30 P7.3
31 P7.4 32 P7.5
33 P7.6 34 P7.7
Page 12
EXT2
Pin # Signal Name Pin # Signal Name
1
3.3VA
2
AGND
3
P1.7
4
P1.1
5
P1.0
6
P2.7
7
P2.6
8
P2.5
9
P2.4
10
P2.3
11
P2.2
12
P2.1
13
P2.0
14
UCB0CLK
15
UCB0SOMI
16
UCB0SIMO
17
UCB0STE
18
P4.7
19
P4.6
20
P4.5
21
P4.4
22
P4.3
23
P4.2
24
P4.1
25
P4.0
26
P6.6
27
P6.5
28
P6.4
29
P6.3
30
P6.2
31
P6.1
32
P6.0
33
P5.0
34
P5.1
Page 13
SD/MMC
Pin # Signal Name
1 Pull-up
2 UCB0STE
3 UCB0SIMO
4 VDD (power supply)
5 UCB0CLK
6 GND
7 UCB0SOMI
8 Pull-up
9 Not connected
10 Not connected
11 Not connected
12 Not connected
Microphone
Pin # Signal Name
1 AGND
2 NC
3 MIC
Headphone
Pin # Signal Name
1 AGND
2 IN1=IN2
3 IN2=IN1
Page 14
MECHANICAL DIMENSIONS
Page 15

AVAILABLE DEMO SOFTWARE

Display demo
LEDs and Buttons demo
SD/MMC demo
UART demo
USB UART demo
ADC and DAC demo
Page 16

ORDER CODE

MSP430-5438STK – assembled and tested (no kit, no soldering required)
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.A - October 2009
Initial release
REV. B - March 2012
Changes:
Page 13 - Changed wrong signal names in the table with the correct ones (signals #14,15,16,17)
Page 17
Disclaimer
© 2009 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.
Page 18
Loading...