UM2400
User manual
Getting started with the X-NUCLEO-STMODA1 expansion board for STM32
Nucleo
Introduction
The
X-NUCLEO-STMODA1
provides an easy way to expand your STM32 Nucleo board with the STMod+ connector, which
allows interaction with the new set of STM32 Nucleo development boards using this connector. It provides an easy way to
evaluate the STMod+ board solution together with other STM32 Nucleo boards.
The STMod+ is a 2x10-pin connector providing a set of interfaces such as SPI, UART, I²C and other functions such as RESET,
INTERRUPT, ADC, PWM and general purpose I/Os. The X-NUCLEO-STMODA1 has a female STMod+ connector with 2 mm
pitch.
The X-NUCLEO-STMODA1 expansion board is equipped with a set of jumpers for the added flexibility of allowing you to also
use the board with the STM32
B-L475E-IOT01A
discovery kit node board.
Figure 1.
X-NUCLEO-STMODA1 expansion board
UM2400
-
Rev 1
-
April 2018
For further information contact your local STMicroelectronics sales office.
www.st.com
UM2400
Getting started
1
Getting started
1.1
Board overview
The X-NUCLEO-STMODA1 expansion board key features are:
•
Extend the STM32 Nucleo development board power supply to the connected STMod+ daughter board,
since the current limitation are related to STM32 Nucleo development board capability, please refer to
UM1724
for details
•
15 jumpers to manage USART, I²C and SPI connections
•
Compatible with Arduino UNO V3 connector
•
Compatible with STM32 Nucleo boards
•
RoHS compliant
1.2
Hardware and software requirements
To use STM32 Nucleo development boards with the
X-NUCLEO-STMODA1
expansion board, the following
software and hardware are required:
•
a Windows PC (XP, Vista 7, Win 8, Win 10 ) to install the software package
•
an STM32 Nucleo development board
•
a type A USB to mini-B USB cable to connect the STM32 Nucleo board to the PC
•
an IDE among
–
IAR Embedded Workbench for ARM (EWARM)
–
Keil microcontroller development kit (MDK-ARM)
–
System Workbench for STM32 (SW4STM32)
•
A daughter board to be connected at STMod+ connector, like the LTE modem in the
P-L496G-CELL02
discovery pack.
You can also mount the X-NUCLEO-STMODA1 on an STM32
B-L475E-IOT01A
discovery kit node board via
Arduino connectors, as shown below.
Figure 2.
Cellular LTE board setup using the X-NUCLEO-STMODA1
UM2400
-
Rev 1
page 2/10
UM2400
Hardware description and
configuration
2
Hardware description and configuration
The figure below indicates the board connector and jumper positions.
Figure 3.
X-NUCLEO-STMODA1 connector and jumper positions
Note:
In cyan the Arduino connectors and in green the STMod+ connectors.
The jumper settings allow you to modify the USART, I²C and SPI connections. The following table lists the jumper
default settings.
Table 1.
Jumper default settings
Jumper
JP1
JP2
JP3
JP4
JP5
JP6
JP7
JP8
JP9
JP10
JP11
JP12
JP13
JP14
JP15
Default position
1-2 LEFT
1-2 LEFT
1-2 DOWN
1-2 DOWN
1-2 DOWN
ON
ON
OFF
ON
OFF
ON
OFF
ON
ON
ON
Use
USART1/2 Selection (default USART2)
USART1/2 Selection (default USART2)
SPI/UART Selection (default UART)
SPI/UART Selection (default UART)
SPI/UART Selection (default UART)
Enable/Disable INT (default Enable)
Enable/Disable RESET (default Enable)
Enable/Disable ADC (default Disable)
Enable/Disable PWM (default Enable)
Enable/Disable GPIO1 (default Disable)
Enable/Disable GPIO2 (default Enable)
Enable/Disable GPIO3 (default Disable)
Enable/Disable GPIO4 (default Enable)
Enable/Disable SPI_MISO (default Enable)
Enable/Disable SPI_MOSI (default Enable)
UM2400
-
Rev 1
page 3/10
UM2400
Connectivity map
3
Connectivity diagram
The table below shows the pin assignments and descriptions for the STMod+ connector.
Table 2.
Pin assignments and descriptions
STMod+ Pin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Function of the primary host mapped
(1)
Description
Output / Input
Output / Output
Input / Input
Output / Output
Ground Reference
Power supply
Input / Output
Output
Input / Output
Input / Output
Input
Output
Input
Output
Power supply
(5)
Ground Reference
Input / Output
Input / Output
Input / Output
Input / Output
SPIx_NSS / UARTy_CTS
(2)
SPIx_MOSIp / UARTy_TX
(3)
SPIx_MISOp / UARTy_RX
SPIx_SCK / UARTy_RTS
GND
+5 V
I2Cz_SCL
SPIx_MOSIs
(2)
SPIx_MISOs
(4)
I2Cz_SDA
INT
(6)
RESET
ADC
PWM
+5 V
GND
GPIO
GPIO
(7)
GPIO
(7)
GPIO
(7)
1. If two functions are provided on an STMod+ connector pin, you can connect two different I/O ports from STM32 and the
firmware will manage any conflicts. MOSIs means used in Serial Daisy Chained-SPI mode and MOSIp means used in
Parallel SPI mode. More alternate functions may be available from STM32, refer to the User manual of the host board and
the corresponding STM32 datasheet available on www.st.com
2. Instead of SPIx_NSS, a GPIO can be used as SPI Chip Select
3. Pins 2 and 8 are the same SPIx_MOSI signals, but they must come from two different I/Os
4. Pins 3 and 9 are the same SPIx_MISO signals, but they must come from two different I/Os
5. Power Supply is Output or Input, depending on host / daughterboard configuration
6. INT is an interrupt line
7. GPIO ports with many alternate functions (like UART, I2C, SPI and analog inputs/outputs) are privileged to offer optimum
flexibility
UM2400
-
Rev 1
page 4/10
UM2400
Schematic diagram
4
Schematic diagrams
Figure 4.
X-NUCLEO-MODA1 circuit schematics
JP10
JP11
JP12
2
1
JP13
2
1
STmod+
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
GPIO4
GPIO3
GPIO2
GPIO1
GND
+5V
PWM
ADC
RESET
INT
2
1
I2CZ_SDA
2
1
JP14
2
1
2
1
I2CZ_SCL
+5V
GND
SPIX_SCK/UARTY_RTS
SPIX_MISOP/UARTY_RX
SPIX_MOSIP/UARTY_TX
SPIX_NSS/UARTY_CTS
JP6
JP15
SPIX_MISOS
SPIX_MOSIS
6
5
4
3
2
1
2
1
JP7
A5
A4
A3
A2
A1
A0
ADC
INT
GPIO4
UART_RTS
SPIX_NSS/UARTY_CTS
2
1
2
1
JP9
JP8
2
1
CN8
8
7
6
5
4
3
2
1
USART2_TX
USART_TX
USART1_TX
1
JP1
2
3
GND
GND
+5V
USART2_RX
USART_RX
USART1_RX
1
JP2
2
3
CN6
Arduino Connector
CN9
USART2_RX
USART2_TX
USART1_RX
GPIO3
SPIX_MOSIS
SPIX_MISOS
PWM
GPIO2
1
2
3
4
5
6
7
8
USART_TX
SPIX_MOSIP/UARTY_TX
SPI1_MOSI
1
JP3
2
3
1
JP4
USART_RX
SPIX_MISOP/UARTY_RX
2
3
SPI1_MISO
D0
D1
D2
D3
D4
D5
D6
D7
UART_RTS
SPIX_SCK/UARTY_RTS
SPI1_SCK
1
JP5
2
3
CN5
USART1_TX
RESET
GPIO1
SPI1_MOSI
SPI1_MISO
SPI1_SCK
GND
I2CZ_SDA
I2CZ_SCL
1
2
3
4
5
6
7
8
9
10
D8
D9
D10
D11
D12
D13
D14
D15
UM2400
-
Rev 1
page 5/10