UM1525
5
Connecting modules on the prototyping board
This section gives some examples of how to connect ready-to-use modules available from
different manufacturers to the STM32F0DISCOVERY kit via the prototyping board included
in the kit.
Software examples, based on the connections described below, are available at
www.st.com/stm32f0discovery.
5.1
Mikroelektronica accessory boards
Mikroelektronika, http://www.mikroe.com, has specified two standard connectors for their
accessory boards, named mikroBUS™ (http://www.mikroe.com/mikrobus_specs.pdf) and
IDC10.
MikroBUS™ is a 16-pin connector to connect accessory boards very quickly and easily to a
microcontroller board through SPI, USART or I2C communications, along with additional
pins such as Analog Input, PWM and Interrupt.
The set of mikroElektronika boards compatible with mikroBUS™ is called "Click boards".
IDC10 is a 10-pin connector to connect the general purpose I/O of an MCU to other
accessory boards.
The tables below are one solution for connecting mikroBUS™ and IDC boards to the
STM32F0DISCOVERY; this solution used in the different examples is available at
www.st.com/stm32f0discovery.
Table 7.
Pin
AN
RST
CS
SCK
MISO
MOSI
PWM
INT
RX
TX
SCL
SDA
5V
Connecting using mikroBUS™
Mikroelektronica mikroBUS™
Description
Analog pin
Reset pin
SPI Chip Select line
SPI Clock line
SPI Slave Output line
SPI Slave Input line
PWM output line
Hardware Interrupt line
UART Receive line
UART Transmit line
I2C Clock line
I2C Data line
VCC 5V power line
Doc ID 022910 Rev 2
Connecting modules on the prototyping board
STM32F0DISCOVERY
Pin
Description
PA4
DAC1_OUT
PB13
GPIO OUTPUT (5V tolerant)
PA11
GPIO OUTPUT (5V tolerant)
PB3
SPI1_SCK
PB4
SPI1_MISO
PB5
SPI1_MOSI
PA8
TIM1_CH1
PB12
GPIO INPUT EXTI (5V tolerant)
PA3
USART2_RX
PA2
USART2_TX
PF6
I2C2_SCL
PF7
I2C2_SDA
5V
Power line
27/41
Need help?
Do you have a question about the STM32F051R8T6 and is the answer not in the manual?