Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
A compact starter kit with your favorite microcontroller and a socket for click™ add-on boards. New ideas are just a click away.
MSP432
Page 2
I want to express my thanks to you for being interested in our products and for having
confidence in MikroElektronika.
The primary aim of our company is to design and produce high quality electronic products
and to constantly improve the performance thereof in order to better suit your needs.
The PIC® and Windows® logos and product names are trademarks of Microchip Technology® and Microsoft® in the U.S.A. and other countries.
TO OUR VALUED CUSTOMERS
Nebojsa Matic
General Manager
Page 3
1. What is STM32 M4 clicker? 4
2. Power supply 7
3. STM32F415RG microcontroller 9
Key microcontroller features 9
4. Programming the microcontroller 10
Programming with mikroBootloader 11
step 1 – Connecting STM32 M4 clicker 11
step 2 – Browsing for .HEX file 12
step 3 – Selecting .HEX file 12
step 4 – Uploading .HEX file 13
step 5 – Finish upload 14
Programming with mikroProg™ programmer 15
mikroProg Suite™ for ARM® software 16
5. Buttons and LEDs 18
6. click™ boards are plug and play! 20
7. Dimensions 22
Table of contents
Page 4
1. What is MSP432 clicker?
MSP432 clicker is an amazingly compact
starter development kit which brings the
innovative mikroBUS™ socket to your favorite
microcontroller. It features MSP432, a 32-
bit ARM® Cortex®-M4 microcontroller, two
indication LEDs, two general purpose buttons,
a reset button, a USB Micro connector and a
single mikroBUS™ socket. A JTAG connector and
pads for interfacing with external electronics
are provided as well. The mikroBUS™ connector
consists of two 1x8 female headers with SPI, I2C, UART, RST, PWM, Analog and Interrupt
lines as well as 3.3V, 5V and GND power lines.
MSP432 clicker board can be powered over a
USB cable.
02
9
07
04
03
11
01Micro USB connector
3.3 Voltage Regulator
32.768 kHz Crystal 06
SWO/Jtag programmer connector
Power Indication LED
10 10Push Buttons Push Buttons
LEDs
03 Reset Button
microBUSTM socket
GPIO pinout
05 MSP432 MCU
Page 5
VCC-3.3V
1
T2 T1
ANRSTCSSCKMISOMOSI3.3VGND
PWMINTRXTX
SCLSDA
5VGND
MIKROBUS 1
MIKROBUS HOST CONN
R8
1k
R7
1k
VCC-3.3VVCC-3.3V
LD2 LD1
VCC-3.3V
VCC-3.3V
JTAG_TMS
JTAG_TDIJTAG_TDOJTAG_TCK
C10.1µF
FP1 VCC-3.3V
VCC-3.3V
AVCC
MCU_RST
C90.1µF
Y2
32.768kHzC100.1µF
C50.1µF
C60.1µFC7
0.1µF
VCC-3.3V
VCC-3.3VVCC-3.3V
R2
0R
R147k
VCC-3.3VMCU
_RST
MCU_RST
C41nF
VCC-3.3V
R1191k
C1112pF
C1212pF
OSC11
GND
2
OSC2 3
GND
4
Y1 48MHz
C212pF
C312pF
AVCC
AVCC
P8.0
_LED
1P8
.1_L
ED2
P1.0_BUTTON1P1.1_BUTTON2
P2.5_PWM
P1.6_SPI_MOSIP1.5_SPI_CLK
P1.7_SPI_MISO
P1.4_SPI_CSP5.5_AN0P5.4_AN1P5.3_AN2
P5.1_AN4
P1.2_UART_RXP1.3_UART_TX
P3.7
I2C_
SCL
P3.6
_I2C
_SD
A
JTAG
_TD
OJT
AG_T
DI
JTAG
_TCK
JTAG
_TM
S
OSC
1O
SC2
L1
10µH
C84.7µF
VCC-5V
P1.6_SPI_MOSI
P1.5_SPI_CLKP1.7_SPI_MISO
P8.0
_LED
1
P8.1
_LED
2
P2.5_PWM
P3.7I2C_SCLP3.6_I2C_SDA
P5.5_AN0P5.4_AN1P5.3_AN2
P1.0
_BU
TTO
N1
P1.1
_BU
TTO
N2
75747372717069686766
6465
63626160595857565554535251
504948474645444342414039383736353433323130292827269
1112
43
78 77
2423
181716151413
5678
10
7980
12
22212019
25
7681828384858687888990919293949596979899100
P3.3
P3.2
P3.1
P3.0
PJ.0
AVSS
3
P1.1P1.2P1.3P1.4
P5.5P5.4P5.3
P4.1
AVSS
1PJ
.1P9.1P6.0P6.1P4.0
DCO
RAV
CC1
P7.3
P7.2
P7.1
PJ.5
P7.0
AVCC
2
AVSS
2RS
Tn
P1.0P10.3
P9.6
P9.5
P9.4
SWCL
K/TC
KSW
DIO
/TM
S
PJ.4
VCORE
P7.6
P2.7P2.6P2.5P2.4P2.3P2.2
P5.7P5.6
P9.0P8.7
VSW
P1.7P1.6
P3.5
P9.7
P10.
0
P10.1P10.2
P7.5
P7.4
P10.5P10.4
P8.4
P8.5
P5.2
P4.5
P8.2
P8.3
P4.2
P3.6
P4.3
P4.6
PJ.3
P2.1P2.0DVSS1
P3.4
P3.7
P4.4
P5.1
PJ.2
P8.1
P8.0
P7.7
DVCC1
P1.5
P4.7P5.0
DVSS2
P6.4
P6.2
DVCC2P9.2P9.3
P6.3
P6.5
P6.6
P6.7
DVS
S3
P8.6
MSP432P401R
U1
T3TASTER 2-PIN
1 23 45 67 89 10
J1
HM2X5
C244.7µF
C214.7µF
C234.7µF
C224.7µF
VCC-3.3VVCC-3.3V
456
123
789
10 HD1
P3.5
_USB
_DET
P8.2
_FTD
_RST
P6.0_AN15
P6.0_AN15
P5.6_RST
P5.6_RST
P5.0_SPI_CS
P5.0_SPI_CS
P2.7_PWM
P2.7_PWM
P2.4_INT
P2.4_INT
P3.2
_UAR
T_RX
P3.3
_UAR
T_TX
P3.2_UART_RXP3.3_UART_TX
P6.4_I2C_SDAP6.5_I2C_SCL
P6.4
_I2C
_SD
AP6
.5_I
2C_S
CL
P7.5
_PW
M
P7.5_PWM
P5.1_AN4
R910k
R1010k
R310k
R410k
R510k
R610k
Figure 1-2: MSP432 clicker schematic
Page 6
VCC-USB
USB
-D_P
USB
-D_N
VCC-3.3VVCC-3.3V
USB-D_PUSB-D_N
VCC-3.3V
D_ND_P
C200.1µF
R221M
R16 27R15 27
VCCIORXDGNDCTS
CB2
RSTVCCCB1CB0
GN
D
RTS
TXD
CB3
DP
DM
3V3
GND PAD
U3 FT230x
FP2
C1710000pF
R13 8.2k
R214.7k
FP3
C191µF
GND
C180.1µF
GND
VCC-USB VCC-5V
VCC-3.3V
R18470
PWRLED GREEN
USB_RXUSB_TX
R23750
R241k
1
2
3
IN
GND
OUT5
4EN ADJ
U2
SPX3819M5
R1447k
R1727k
R201k
C1310 F
R1210k
C1510µF
VCC-3.3VVCC-USBVCC-USB
VCC-3.3V
P1.2_UART_RX
P1.3_UART_TX
12345 ID
D+D-VBUS
GND
CN1
10118192-0001LF
P3.5_USB_DET
P8.2_FTD_RST
C140.10µF
C160.10µF
R2510k
Figure 1-3:MSP432 clicker schematic
2. Power supply
When the board is powered up the power indication LED will be automatically turned on. The USB connection can provide up to
500mA of current which is more than enough for the operation of all on-board and additional modules.
Figure 2-1: Connecting USB power supply
through CN1 connector
Page 7
Page 8
Figure 2-2: Power supply schematic
FP3
C191µF
GND
C180.1µF
GND
VCC-USB VCC-5V
VCC-3.3V
R18470
PWRLED GREEN
1
2
3
IN
GND
OUT5
4EN ADJ
U2
SPX3819M5
R1447k
R1727k
R201k
C1310 F
R1210k
C1510µF
VCC-3.3VVCC-USBVCC-USB
C140.10µF
C160.10µF
Page 9
3. MSP432 microcontroller
The MSP432 clicker development tool comes with the MSP432 microcontroller. This 32-bit high performance microcontroller is rich
with on-chip peripherals and features 1024KB of Flash and 192KB
of SRAM. It has integrated full speed USB 2.0. support.
Key microcontroller features- Up to 168 MHz operation
- 32-bit ARM® Cortex®-M4 architecture
- 1024KB of Flash memory
- 192KB SRAM
- 64 pin LQFP
- 3x 16 ch, 12-bit ADC
- USB 2.0, UART, RTC, SPI, I2C, etc.
Page 10
01
02
Using USB HID mikroBootloader,
Using external mikroProg™ for MSP432 programmer.
Figure 4-1:MSP432
microcontroller
The microcontroller can be programmed in two ways:
4. Programming the microcontroller
Page 11
You can program the microcontroller with a
bootloader which is preprogrammed by default.
To transfer .hex file from a PC to MCU you need
bootloader software (mikroBootloader USB HID)
which can be downloaded from:
Programming with mikroBootloader
Figure 4-2: USB HID mikroBootloader window
step 1 – Connecting MSP432 clicker
01
01
To start, connect the USB cable, or if already connected press the Reset button on your MSP432. Click the Connect button within 5s to enter the bootloader mode, otherwise existing microcontroller program will execute.
After the mikroBootloader software is downloaded,
unzip it to desired location and start it.
https://download.mikroe.com/examples/starter-boards/clicker/msp432/clicker-msp432-bootloader zipzip
Page 12
step 3 – Selecting .HEX file step 2 – Browsing for .HEX file
Figure 4-3: Browse for HEX Figure 4-4: Selecting HEX
01 01
02
01
01
02
Click the Browse for HEX button and from a pop-up window (Figure 3.4) choose the .HEX file which will be uploaded to MCU memory.
Select .HEX file using open dialog window.
Click the Open button.
Page 13
step 4 – Uploading .HEX file
Figure 4-5: Begin uploading Figure 4-6: Progress bar
0101
01 01To start .HEX file bootloading click the Begin uploading button.
Progress bar enables you to monitor .HEX file uploading.
Page 14
step 5 – Finish upload
Figure 4-7: Restarting MCU Figure 4-8: mikroBootloader ready for next job
01
01
02
Click OK button after the uploading process is finished.
Press Reset button on MSP432 clicker board and wait for 5 seconds. Your program will run automatically.
Page 15
The microcontroller can be programmed with external mikroProg™ for MSP432 programmer and mikroProg Suite™ for ARM® software. The external programmer is connected to the development system via 2x5 JTAG connector soldered on the CN2 connector
pads, Figure 4-9. mikroProg™ is a fast USB 2.0 programmer with hardware debugger support.
Programming with mikroProg™ programmer
Figure 4-9: mikroProg™ connector
Page 16
04
On-board mikroProg™ programmer requires special programming software called mikroProg Suite™
for ARM®. This software is used for programming of all supported microcontroller families with
ARM® Cortex™-M3 and Cortex™-M4 cores. The software has an intuitive interface and SingleClick™
programming technology. To begin, first locate the installation archive on the link bellow:
mikroProg Suite™ for ARM® software
After downloading, extract the package and double click the executable setup file, to start installation.
Figure 4-10: mikroProg Suite™ for ARM® window
Quick guide
Click the Detect MCU button in order to recognize the device ID.
Click the Read button to read the entire microcontroller memory. You can click the Save button to save it to the target HEX file.
If you want to write the HEX file into the microcontroller, first make sure to load the target HEX file using the Load button. Then click the Write button to begin programming.
Click the Erase button to clear the microcontroller memory.
01
02
03
http://www.mikroe.com/downloads/get/1809/mikroprog_suite_for_arm.zip
Page 17Page 17
Before attaching the programming connector, you have to solder the provided 2x5 male header to the JTAG (CN2) pads.
Figure 4-13: mikroProg™ connection schematic
NOTE
VCC-3.3V
1
T2 T1
ANRSTCSSCKMISOMOSI3.3VGND
PWMINTRXTX
SCLSDA
5VGND
MIKROBUS 1
MIKROBUS HOST CONN
R8
1k
R7
1k
VCC-3.3VVCC-3.3V
LD2 LD1
VCC-3.3V
C90.1µF
Y2
32.768kHzC100.1µF
C50.1µF
C60.1µFC7
0.1µF
VCC-3.3V
VCC-3.3VVCC-3.3V
R2
0R
R147k
VCC-3.3VMCU
_RST
MCU_RST
C41nF
VCC-3.3V
R1191k
C1112pF
C1212pF
OSC11
GND
2
OSC2 3
GND
4
Y1 48MHz
C212pF
C312pF
AVCC
AVCC
P8.0
_LED
1P8
.1_L
ED2
P1.0_BUTTON1P1.1_BUTTON2
P2.5_PWM
P1.6_SPI_MOSIP1.5_SPI_CLK
P1.7_SPI_MISO
P1.4_SPI_CSP5.5_AN0P5.4_AN1P5.3_AN2
P5.1_AN4
P1.2_UART_RXP1.3_UART_TX
P3.7
I2C_
SCL
P3.6
_I2C
_SD
A
JTAG
_TD
OJT
AG_T
DI
JTAG
_TCK
JTAG
_TM
S
OSC
1O
SC2
L1
10µH
C84.7µF
VCC-5V
P1.6_SPI_MOSI
P1.5_SPI_CLKP1.7_SPI_MISO
P8.0
_LED
1
P8.1
_LED
2
P2.5_PWM
P3.7I2C_SCLP3.6_I2C_SDA
P5.5_AN0P5.4_AN1P5.3_AN2
P1.0
_BU
TTO
N1
P1.1
_BU
TTO
N2
75747372717069686766
6465
63626160595857565554535251
50494847464544434241403938373635343332313029282726
9
1112
43
78 77
2423
181716151413
5678
10
7980
12
22212019
25
7681828384858687888990919293949596979899100
P3.3
P3.2
P3.1
P3.0
PJ.0
AVSS
3
P1.1P1.2P1.3P1.4
P5.5P5.4P5.3
P4.1
AVSS
1PJ
.1
P9.1P6.0P6.1P4.0
DCO
RAV
CC1
P7.3
P7.2
P7.1
PJ.5
P7.0
AVCC
2
AVSS
2RS
Tn
P1.0P10.3
P9.6
P9.5
P9.4
SWCL
K/TC
KSW
DIO
/TM
S
PJ.4
VCORE
P7.6
P2.7P2.6P2.5P2.4P2.3P2.2
P5.7P5.6
P9.0P8.7
VSW
P1.7P1.6
P3.5
P9.7
P10.
0
P10.1P10.2
P7.5
P7.4
P10.5P10.4
P8.4
P8.5
P5.2
P4.5
P8.2
P8.3
P4.2
P3.6
P4.3
P4.6
PJ.3
P2.1P2.0DVSS1
P3.4
P3.7
P4.4
P5.1
PJ.2
P8.1
P8.0
P7.7
DVCC1
P1.5
P4.7P5.0
DVSS2
P6.4
P6.2
DVCC2P9.2P9.3
P6.3
P6.5
P6.6
P6.7
DVS
S3
P8.6
MSP432P401R
U1
T3TASTER 2-PIN
C244.7µF
C214.7µF
C234.7µF
C224.7µF
VCC-3.3VVCC-3.3V
456
123
789
10 HD1
P3.5
_USB
_DET
P8.2
_FTD
_RST
P6.0_AN15
P6.0_AN15
P5.6_RST
P5.6_RST
P5.0_SPI_CS
P5.0_SPI_CS
P2.7_PWM
P2.7_PWM
P2.4_INT
P2.4_INT
P3.2
_UAR
T_RX
P3.3
_UAR
T_TX
P3.2_UART_RXP3.3_UART_TX
P6.4_I2C_SDAP6.5_I2C_SCL
P6.4
_I2C
_SD
AP6
.5_I
2C_S
CL
P7.5
_PW
M
P7.5_PWM
P5.1_AN4
R910k
R1010k
Page 18
Figure 5-1: Two buttons, two LEDs and a reset button
5. Buttons and LEDs
The board also contains a 01 reset button and a pair of 02 buttons and 03 LEDs. Each of these additional peripherals are located
in the bottom area of the board. Reset button is used to manually reset the microcontroller. Pressing the reset button will generate
a low voltage level on microcontroller’s reset pin. LEDs can be used for visual indication of the logic state on two pins (P6.0 and P6.1).
An active LED indicates that a logic high (1) is present on the pin. Pressing any of these buttons can change the logic state of the
microcontroller pins (P1.0 and P1.1) from logic high (1) to logic low (0).
01
02
03
Page 19
Figure 5-2: Other modules connection schematic
VCC-3.3V
1
T2 T1
ANRSTCSSCKMISOMOSI3.3VGND
PWMINTRXTX
SCLSDA
5VGND
MIKROBUS 1
MIKROBUS HOST CONN
R8
1k
R7
1k
VCC-3.3VVCC-3.3V
LD2 LD1
VCC-3.3V
C90.1µF
Y2
32.768kHzC100.1µF
C50.1µF
C60.1µFC7
0.1µF
VCC-3.3V
VCC-3.3VVCC-3.3V
R2
0R
R147k
VCC-3.3VMCU
_RST
MCU_RST
C41nF
VCC-3.3V
R1191k
C1112pF
C1212pF
OSC11
GND
2
OSC2 3
GND
4
Y1 48MHz
C212pF
C312pF
AVCC
AVCC
P8.0
_LED
1P8
.1_L
ED2
P1.0_BUTTON1P1.1_BUTTON2
P2.5_PWM
P1.6_SPI_MOSIP1.5_SPI_CLK
P1.7_SPI_MISO
P1.4_SPI_CSP5.5_AN0P5.4_AN1P5.3_AN2
P5.1_AN4
P1.2_UART_RXP1.3_UART_TX
P3.7
I2C_
SCL
P3.6
_I2C
_SD
A
JTAG
_TD
OJT
AG_T
DI
JTAG
_TCK
JTAG
_TM
S
OSC
1O
SC2
L1
10µH
C84.7µF
VCC-5V
P1.6_SPI_MOSI
P1.5_SPI_CLKP1.7_SPI_MISO
P8.0
_LED
1
P8.1
_LED
2
P2.5_PWM
P3.7I2C_SCLP3.6_I2C_SDA
P5.5_AN0P5.4_AN1P5.3_AN2
P1.0
_BU
TTO
N1
P1.1
_BU
TTO
N2
75747372717069686766
6465
63626160595857565554535251
504948474645444342414039383736353433323130292827269
1112
43
78 77
2423
181716151413
5678
10
7980
12
22212019
25
7681828384858687888990919293949596979899100
P3.3
P3.2
P3.1
P3.0
PJ.0
AVSS
3
P1.1P1.2P1.3P1.4
P5.5P5.4P5.3
P4.1
AVSS
1PJ
.1P9.1P6.0P6.1P4.0
DCO
RAV
CC1
P7.3
P7.2
P7.1
PJ.5
P7.0
AVCC
2
AVSS
2RS
Tn
P1.0P10.3
P9.6
P9.5
P9.4
SWCL
K/TC
KSW
DIO
/TM
S
PJ.4
VCORE
P7.6
P2.7P2.6P2.5P2.4P2.3P2.2
P5.7P5.6
P9.0P8.7
VSW
P1.7P1.6
P3.5
P9.7
P10.
0
P10.1P10.2
P7.5
P7.4
P10.5P10.4
P8.4
P8.5
P5.2
P4.5
P8.2
P8.3
P4.2
P3.6
P4.3
P4.6
PJ.3
P2.1P2.0DVSS1
P3.4
P3.7
P4.4
P5.1
PJ.2
P8.1
P8.0
P7.7
DVCC1
P1.5
P4.7P5.0
DVSS2
P6.4
P6.2
DVCC2P9.2P9.3
P6.3
P6.5
P6.6
P6.7
DVS
S3
P8.6
MSP432P401R
U1
T3TASTER 2-PIN
C244.7µF
C214.7µF
C234.7µF
C224.7µF
VCC-3.3VVCC-3.3V
456
123
789
10 HD1
P3.5
_USB
_DET
P8.2
_FTD
_RST
P6.0_AN15
P6.0_AN15
P5.6_RST
P5.6_RST
P5.0_SPI_CS
P5.0_SPI_CS
P2.7_PWM
P2.7_PWM
P2.4_INT
P2.4_INT
P3.2
_UAR
T_RX
P3.3
_UAR
T_TX
P3.2_UART_RXP3.3_UART_TX
P6.4_I2C_SDAP6.5_I2C_SCL
P6.4
_I2C
_SD
AP6
.5_I
2C_S
CL
P7.5
_PW
M
P7.5_PWM
P5.1_AN4
R910k
R1010k
Up to now, MikroElektronika has released
more than 270 mikroBUS™ compatible
click Boards™. On the average, one click
board is released per week. It is our
intention to provide you with as many
add-on boards as possible, so you will
be able to expand your development
board with additional functionality.
Each board comes with a set of working
example code. Please visit the click™
boards webpage for the complete list of
currently available boards:
6. click boards are plug and play!
Figure 7-1: MSP432 clicker driving a GSM click board
Page 20
www.mikroe.com/click
Page 21
Relay click™
Gyro click™ LightHz click™7seg click™
Bluetooth2 click™
EEPROM click™THERMO click™
RFid click™ Thunder click™
Pressure click™
8x8 click™ FM click™
BarGraph click™
USB SPI click™
Page 22
7. Dimensions
67917.2 25.4 4
1000 159
297975.6
71.6
2.54
2819
100
1.663
8315
Legendmmmils
Mounting hole size
2Ø79Ø
Page 23
DISCLAIMER
All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any other copyright material. No part of this manual, including product and software described herein, may be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika. The manual PDF edition can be printed for private or local use, but not for distribution. Any modification of this manual is prohibited.
MikroElektronika provides this manual ‘as is’ without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties or conditions of merchantability or fitness for a particular purpose.
MikroElektronika shall assume no responsibility or liability for any errors, omissions and inaccuracies that may appear in this manual. In no event shall MikroElektronika, its directors, officers, employees or distributors be liable for any indirect, specific, incidental or consequential damages (including damages for loss of business profits and business information, business interruption or any other pecuniary loss) arising out of the use of this manual or product, even if MikroElektronika has been advised of the possibility of such damages. MikroElektronika reserves the right to change information contained in this manual at any time without prior notice, if necessary.
TRADEMARKS
The MikroElektronika name and logo, mikroC™, mikroBasic™, mikroPascal™, Visual TFT™, Visual GLCD™, mikroProg™, Ready™, MINI™, mikroBUS™, EasyPIC™, EasyAVR™, Easy8051™, click™ boards and mikromedia™ are trademarks of MikroElektronika. All other trademarks mentioned herein are property of their respective companies.All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies, and are only used for identification or explanation and to the owners’ benefit, with no intent to infringe.
Copyright © 2014 MikroElektronika. All Rights Reserved.
HIGH RISK ACTIVITIES
The products of MikroElektronika are not fault – tolerant nor designed, manufactured or intended for use or resale as on – line control equipment in hazardous environments requiring fail – safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life support machines or weapons systems in which the failure of Software could lead directly to death, personal injury or severe physical or environmental damage (‘High Risk Activities’). MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities.
If you want to learn more about our products, please visit our web site at www.mikroe.com
If you are experiencing some problems with any of our products or just need additional
information, please place your ticket at www.mikroe.com/support
If you have any questions, comments or business proposals,
do not hesitate to contact us at [email protected]