ST STEVAL-PCC012V1 User manual

March 2010 Doc ID 17009 Rev 1 1/43
UM0896
User manual
STEVAL-PCC012V1 STM32F107xx connectivity gateway,
demonstration board
1 Introduction
This user manual describes the implementation of the STEVAL-PCC012V1 demonstration
board. The STEVAL-PCC012V1 demonstration board is equipped with an Ethernet
interface, four digital/analog extension connectors (I2C, SPI, etc.), two footprint positions for
two different Wi-Fi modules, an OFDM PRIME power line networking extension connector
and a microSD™ Card socket with SPI interface. It also features a 5-way general purpose
joystick, four general purpose LEDs and two LEDs dedicated to user interface.
The demonstration board also includes digital/analog input/output connectors pinout
compatible with existing demonstration boards from STMicroelectronics™:
●STEVAL-CCA021V1 - audio demonstration board (stereo DAC, Class-D amplifier)
●STEVAL-MKI0xxV1 - MEMS demonstration boards (gyroscope, accelerometer) that
are compatible with 24 DIL socket
●EVALST7590-1 - ST7590 “PRIME” board - narrow-band OFDM power line networking
PRIME compliant system-on-chip.
The demonstration board can be supplied from a standard DC power supply (7 - 35 V DC)
or directly using a 24 V DC industrial mains supply.
Figure 1. STEVAL-PCC012V1
www.st.com
Downloaded from Elcodis.com electronic components distributor

Contents UM0896
2/43 Doc ID 17009 Rev 1
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 STEVAL-PCC012V1 key features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1 Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4 Demonstration board layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
5 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5.1 Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5.2 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5.3 General purpose 5-way joystick SW1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.4 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.5 SPI bus communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.6 I2C, USART signals branching for MEMS, Wi-Fi, digital audio
and PLM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.7 Analog signals branching for MEMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.8 Clock source setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.9 Reset button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.10 USB-OTG configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.11 MicroSD Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.12 Wi-Fi optional modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.12.1 Wi-Fi optional module-1 U9 settings . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.12.2 Wi-Fi optional module-2 U10 settings and signal description . . . . . . . . 16
6 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.1 JTAG connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.2 Audio extension connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.3 Analog/digital MEMS extension connector CN6 and CN8 . . . . . . . . . . . . 18
6.4 Power line networking extension connector CN7 . . . . . . . . . . . . . . . . . . . 20
6.5 Power test points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6.6 USB connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Downloaded from Elcodis.com electronic components distributor

UM0896 Contents
Doc ID 17009 Rev 1 3/43
6.7 U10 Wi-Fi module-2 debugging signals TXupd and RXupd . . . . . . . . . . . 22
6.8 Ethernet RJ45 connectors CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.9 MicroSD Card connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.10 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6.11 Power supply connectors CN2, P2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
7 Evaluation software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.1 Connectivity Gateway demonstration application
(CG demonstration) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8 BOM of the board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
9 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Downloaded from Elcodis.com electronic components distributor

List of tables UM0896
4/43 Doc ID 17009 Rev 1
List of tables
Table 1. Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 2. Default configuration of the Ethernet PHY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Table 3. Ethernet PHY configuration defined by SB1, SB2 and SB3 . . . . . . . . . . . . . . . . . . . . . . . . 10
Table 4. Logical levels on CFG0, CFG1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Table 5. Ethernet PHY configuration defined by CFG0, CFG1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Table 6. U2 DC/DC converter jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Table 7. Joystick direction mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 8. LED mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 9. MEMS, Wi-Fi, PLM I2C and USART signals branching . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 10. Digital audio I2C branching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 11. Analog signals branching of STM32 pins PA6 and PA7 to analog MEMS . . . . . . . . . . . . . 14
Table 12. Clock source setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Table 13. USB-OTG configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 14. Optional Wi-Fi modules configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 15. Wi-Fi optional module-1 U9 settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 16. Wi-Fi optional module-2 U10 settings and signal description . . . . . . . . . . . . . . . . . . . . . . . 16
Table 17. JTAG connector signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 18. Description of the I2S audio connector pins of the TS4657 audio card . . . . . . . . . . . . . . . 18
Table 19. Digital MEMS connector signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 20. GPIO and analog MEMS connector signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Table 21. Connector CN7 for PLM, USART and SPI interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Table 22. Test points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 23. USB connector CN4 signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 24. U10 Wi-Fi module-2 debugging signals TXupd and RXupd . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 25. RJ45 connectors CN5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 26. MicroSD Card connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 27. Power supply connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Table 28. Power supply connector P2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Table 29. Board function indication after reset for server/clients example . . . . . . . . . . . . . . . . . . . . . 38
Table 30. Bill of material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Table 31. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Downloaded from Elcodis.com electronic components distributor

UM0896 List of figures
Doc ID 17009 Rev 1 5/43
List of figures
Figure 1. STEVAL-PCC012V1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. STEVAL-CCA021V1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Figure 3. STEVAL-MKI0xxV1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 4. Block diagram of STEVAL-PCC012V1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 5. STEVAL-PCC012V1 - connector map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 6. SD Card formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 7. JTAG connector pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 8. I2S audio connector of the TS4657 audio card - schematic . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 9. Digital MEMS connector pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Figure 10. GPIO and analog connector pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 11. Connector CN7 for PLM, USART and SPI interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 12. Ethernet RJ45 connectors CN5 - front view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Figure 13. MicroSD Card connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Figure 14. Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Figure 15. STM32 - part 1(inputs, outputs, clock, reset) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Figure 16. STM32 - part 2 (JTAG, LEDs, audio extension connector). . . . . . . . . . . . . . . . . . . . . . . . . 26
Figure 17. STM32 - part 3 (joystick, analog decoupling, DAC_FMT signals) . . . . . . . . . . . . . . . . . . . 27
Figure 18. Ethernet - part 1 (PHY pinout) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Figure 19. Ethernet - part 2 (overvoltage protection, PHY configuration) . . . . . . . . . . . . . . . . . . . . . . 29
Figure 20. Ethernet - part 3 (magnetics) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Figure 21. USB-OTG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Figure 22. Wi-Fi module-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Figure 23. Wi-Fi module-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 24. MicroSD Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Figure 25. MEMS extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Figure 26. Power supply connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Figure 27. Power supply connector P2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Figure 28. Connectivity Gateway Webserver demonstration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Downloaded from Elcodis.com electronic components distributor

STEVAL-PCC012V1 key features UM0896
6/43 Doc ID 17009 Rev 1
2 STEVAL-PCC012V1 key features
●1 x Ethernet RJ45 connectors (ST802RT1A)
●USB-OTG with 0.5 A onboard power supply
●General purpose extension connector with GPIOs, ADC, I2C, SPI
●DC/DC converter L7986A (+24 V / +5 V)
●MicroSD Card™ socket
●Two positions for optional Wi-Fi modules
●4 + 2 LEDs, 5-way general purpose joystick and system reset button
●Digital/analog extension connectors compatible with STEVAL-MKI0xxV1
●Digital/analog extension connectors compatible with STEVAL-CCA021V1
●Extension connector for ST7590 “PRIME” board - narrow-band OFDM power line
networking PRIME compliant system-on-chip.
Figure 2. STEVAL-CCA021V1
Downloaded from Elcodis.com electronic components distributor

UM0896 STEVAL-PCC012V1 key features
Doc ID 17009 Rev 1 7/43
Figure 3. STEVAL-MKI0xxV1
Refer to user manual UM0722 for details on how to use the STEVAL-CCA021V1.
2.1 Order code
Table 1. Order code
Part number Note
STEVAL-PCC012V1 STM32F107xx connectivity gateway
STEVAL-CCA021V1 Audio demonstration board (stereo DAC, Class-D amplifier)
Downloaded from Elcodis.com electronic components distributor

Block diagram UM0896
8/43 Doc ID 17009 Rev 1
3 Block diagram
Figure 4. Block diagram of STEVAL-PCC012V1
/PTIONAL
7I&IMODULE 3424!
34-&
$#$#
6
6
WAY
JOYSTICK
2ESET
2*
*4!'
/PTIONAL
7I&IMODULE
'0)/
EXTENSION
CONNECTOR
,%$S
-ICRO3$
#ARD
53"/4'
!UDIOEXTENSION
CONNECTOR
#RYSTALS
-%-3
ANALOG
EXTENSION
CONNECTOR
-%-3
DIGITAL
EXTENSION
CONNECTOR
0OWERLINE
MODEM
EXTENSION
CONNECTOR
!-
Downloaded from Elcodis.com electronic components distributor

UM0896 Demonstration board layout
Doc ID 17009 Rev 1 9/43
4 Demonstration board layout
Figure 5. STEVAL-PCC012V1 - connector map
CN1
JTAG
CN8
analog
digital
extension
JP2, 3
I2C
Reset
Crystal
switch
Power line
network
extension
connector
SB1, 2, 3
Ethernet
options
CN6
digital
extension
Optional
Wi-Fi module-1
Wi-Fi module-2
CN9
microSD
socket
CN5
Ethernet
Debug interface
TXupd, RXupd for
optional Wi-Fi module-2
P2, CN2
power plugs
7-24 VDC
CN3
audio
extension
USB-OTG
LEDs
Joystick
Test points
Downloaded from Elcodis.com electronic components distributor

Configuration UM0896
10/43 Doc ID 17009 Rev 1
5 Configuration
5.1 Ethernet
An Ethernet PHY U5 is available on the board. It is connected through the media
independent interfaces (MII, and reduced MII, RMII) to the Ethernet MACs of the STM32™
microcontroller.
If the Ethernet PHY is used, the crystal resonator X2 must be chosen as STM32 clock
source.
The clock source for the PHY is the clock output MCO signal of the STM32 microcontroller.
To operate in MII mode, the MCO signal must be configured to output 25 MHz, for RMII,
50 MHz.
By default the MII address of the Ethernet PHY is 0x01 and the initial configuration of the
Ethernet PHY is selected as shown in Table 2.
There are two LEDs embedded in RJ45 connector (CN5) which are used to indicate the
status of the line:
●The green LED in the connector is switched on continuously when the Ethernet link is
established with the counterpart.
●The yellow LED in the connector blinks when a transmission or a reception is ongoing.
The “Serial Management Interface” (SMI) is part of the MII interface and is used to transfer
management information between MAC and PHY (access of the PHY registers).
The PHY can communicate with the STM32 microcontroller over MII or RMII. SB1, SB2 and
SB3 must be configured according to the mode chosen. MII is chosen as a default option.
Table 2. Default configuration of the Ethernet PHY
Function Default configuration
Auto negotiation Enabled
10/100 Mb 100 Mb selected for auto negotiation advertisement
Half/full duplex Full duplex selected for auto negotiation advertisement
Internal loopback Disabled
Power-down Disabled (PHY is not in power-down)
MII/RMII mode MII selected
Table 3. Ethernet PHY configuration defined by SB1, SB2 and SB3
Function MII RMII
SB1 Removed Fit 0 Ωresistor
SB2 Removed Fit 0 Ωresistor
SB3 Fit 0 Ωresistor Removed
Downloaded from Elcodis.com electronic components distributor

UM0896 Configuration
Doc ID 17009 Rev 1 11/43
This strapping option pair determines the operating mode of the MAC data interface. Default
operation (no pull-ups) will enable normal MII mode of operation. Strapping CFG0 high will
cause the device to be in RMII mode of operation, determined by the status of the CFG1
strap. Since the pins include internal pull-downs, the default values are 0.
Note: Important: To choose between MII and RMII the pin RXDV of the PHY must be pulled high
for RMII and pulled low for MII during reset or power-up of the PHY.
5.2 Power supply
The STEVAL-PCC012V1 demonstration board is designed to be powered by a 24 V DC
power supply from CN2, P2. The board is protected against overvoltage by D4 Transil™
diode (SM6T33A) and against possible reverse polarity voltage from a wrong power plug-in
by D1 Schottky diode (STPS3L40U). The input voltage is connected to the DC/DC converter
U2 (L7986A).
Table 4. Logical levels on CFG0, CFG1
Jumper Description Configuration
CFG0
(3-pin resistor)
(2.2 kΩ)
CFG0 = 0, default
The resistor must be placed as shown:
CFG0 = 1
The resistor must be placed as shown:
CFG1
(3-pin resistor)
(2.2 kΩ)
CFG1 = 0, default
The resistor must be placed as shown:
CFG1 = 1
The resistor must be placed as shown:
Table 5. Ethernet PHY configuration defined by CFG0, CFG1
Function CFG0 CFG1
MII 0 X
RMII 1 0
Table 6. U2 DC/DC converter jumpers
Jumper Description Configuration
R4
To run DC/DC U2 on higher frequency R4 must be
assembled with 102 kΩresistor. Other components
of the DC/DC must be changed accordingly.
(Default - not assembled)
Downloaded from Elcodis.com electronic components distributor

Configuration UM0896
12/43 Doc ID 17009 Rev 1
5.3 General purpose 5-way joystick SW1
A 5-way general purpose joystick is available on the top side of the board.
5.4 LEDs
4 general purpose LEDs (LD1-LD4) are available on the top side of the board. All LEDs are
switched on when the related GPIO pin is driven low.
5.5 SPI bus communication
SPI signals are connected to the MEMS connector, Wi-Fi module and PLM. Use carefully
the signal enable of the listed devices to select only one at a time. SPI signals can be also
configured as analog inputs of the STM32 microcontroller ADC for optionally attached
analog MEMS module. Please refer to Section 5.7 for details.
Table 7. Joystick direction mapping
STM32 pin mapping Joystick function
PE14 Central button
PE13 Direction right
PE12 Direction left
PE11 Direction down
PE10 Direction up
Table 8. LED mapping
STM32 pin mapping LED
PD15 LD1
PD14 LD2
PE8 LD3
PE9 LD4
Downloaded from Elcodis.com electronic components distributor

UM0896 Configuration
Doc ID 17009 Rev 1 13/43
5.6 I2C, USART signals branching for MEMS, Wi-Fi, digital audio
and PLM
Table 9. MEMS, Wi-Fi, PLM I2C and USART signals branching
Jumper Description Configuration
JP2
(3-pin resistor)
PB7 is connected to MEMS extension connector as
I2C SDA. The jumper must be set as shown:
PB7 is connected as USART1_RX to Wi-Fi 2
position 10 and PLM.
The jumper must be set as shown:
JP3
(3-pin resistor)
PB6 is connected to MEMS extension connector as
I2C SCL.
The jumper must be set as shown:
PB6 is connected as USART1_TX to Wi-Fi 2
position 10 and PLM.
The jumper must be set as shown:
Table 10. Digital audio I2C branching
Jumper Description Configuration
JP6
(3-pin resistor)
I2C SDA is connected to DAC_FTM2 signal of CN3
(audio).
The jumper must be set as shown:
GPIO PE0 is connected to DAC_FTM2 signal of
CN3 (audio).
The jumper must be set as shown:
JP7
(3-pin resistor)
I2C SCL is connected to DAC_FTM1 signal of CN3
(audio).
The jumper must be set as shown:
GPIO PE1PB6 is connected to DAC_FTM1 signal of
CN3 (audio).
The jumper must be set as shown:
Downloaded from Elcodis.com electronic components distributor

Configuration UM0896
14/43 Doc ID 17009 Rev 1
5.7 Analog signals branching for MEMS
5.8 Clock source setting
Table 12. Clock source setting
The benefit of using crystal resonator of desired frequency is described in STEVAL-
CCA021V1 user manual UM0722. The correct crystal resonator frequency must be chosen
with regard to using PHY or not. If the PHY is used, only X2 can be used.
5.9 Reset button
A manual reset button (RESET) is available on the board top side. It resets the STM32
microcontroller, both optional Wi-Fi modules U9, U10 and the Ethernet PHY U8.
Table 11. Analog signals branching of STM32 pins PA6 and PA7 to analog MEMS
Jumper Description Configuration
R63
(0 Ωresistor)
ADC_IN6 is connected to analog MEMS connector
(out1 signal)
(STM32 pin PA6 can be also configured as SPI
MISO)
R63 assembled
ADC_IN6 is disconnected to analog MEMS
connector (out1 signal) R63 not assembled
R64
(0 Ωresistor)
ADC_IN7 is connected to analog MEMS connector
(memsref signal)
(STM32 pin PA7 can be also configured as SPI
MOSI)
R64 assembled
ADC_IN7 is disconnected to analog MEMS
connector (memsref signal) R64 not assembled
Jumper Description Configuration
JP1
(3-pin resistor)
Crystal resonator X1 of 14.7456 MHz is connected
to the STM32
(Default)
Crystal resonator X2 of 25.0000 MHz is connected
to the STM32
Downloaded from Elcodis.com electronic components distributor

UM0896 Configuration
Doc ID 17009 Rev 1 15/43
5.10 USB-OTG configuration
The STM32 microcontroller can distinguish between the host and device mode of the
connected USB circuit by reading ID pin. It is possible to disconnect ID pin from USB
connector CN4 (see Ta bl e 1 3 ).
Table 13. USB-OTG configuration
5.11 MicroSD Card
The microSD Card connector connected to the SPI1 interface of the STM32 microcontroller
is available on the board. MicroSD Card detection is done through PA4 GPIO signal when
the card is inserted.
Figure 6. SD Card formats
Jumper Description Configuration
R32
When 0 Ωresistor is assembled in this position, the
ID signal of the STM32 microcontroller and the ID
signal of the connector CN4 are interconnected.
Otherwise there are disconnected.
(Default - assembled)
Downloaded from Elcodis.com electronic components distributor

Configuration UM0896
16/43 Doc ID 17009 Rev 1
5.12 Wi-Fi optional modules
There are two positions for optional Wi-Fi modules:
Table 14. Optional Wi-Fi modules configuration
5.12.1 Wi-Fi optional module-1 U9 settings
5.12.2 Wi-Fi optional module-2 U10 settings and signal description
Table 16. Wi-Fi optional module-2 U10 settings and signal description
Position Interface used Note
U9 - module-1 SPI1 + CS_Wi-Fi
U10 - module-2 USART1
These signals are shared with I2C for MEMS
extension connector, refer to Section 5.6.
JP2, JP3 must be configured accordingly.
Table 15. Wi-Fi optional module-1 U9 settings
Jumper Description Configuration
JP4
(3-pin resistor)
JTGENPB7 is pulled to GND.
The jumper with resistance of 10 kΩmust be set as
shown:
JTGENPB7 is pulled to +3.3 V.
The jumper with resistance of 10 kΩmust be set as
shown:
JP5
(3-pin resistor)
JTGRNPB6 is pulled to GND.
The jumper with resistance of 10 kΩmust be set as
shown:
JTGTN is pulled to +3.3 V.
The jumper with resistance of 10 kΩmust be set as
shown:
Signal on U10 SDIO description SPI description STM32 SPI signals
GPIO4 - SD_CMD DI MOSI MOSI
GPIO5 - SD_D0 DO MISO MISO
GPIO6 - SD_D1 IRQ — —
GPIO7 - SD_D2 NC — —
GPIO8 - SD_3 CS SS SCS_N
GPIO9 - SD_CLK SCK SCK SCK
Downloaded from Elcodis.com electronic components distributor

UM0896 Connectors
Doc ID 17009 Rev 1 17/43
6 Connectors
6.1 JTAG connector CN1
The CN1 connector allows to connect the STM32 microcontroller to a JTAG cable.
Figure 7. JTAG connector pinout
6.2 Audio extension connector CN3
The CN3 connector allows to connect an STEVAL-CAA021V1 audio demonstration board.
Figure 8. I2S audio connector of the TS4657 audio card - schematic
Table 17. JTAG connector signals
Pin Signal Pin Signal Pin Signal Pin Signal
1+3.3 V 6GND 11 JRTCK 16 GND
2+3.3 V 7JTMS 12 GND 17 DBGRQ
3JTRST 8GND 13 JTDO 18 GND
4GND 9JTCK 14 GND 19 DBGACK
5JTDI 10 GND 15 JRST 20 GND
!-
6
$!#?3$!4
$!#?"#,+
$!#?-#,+
$!#?&-4
$!#?&-4
$!#?,2#,+
34"9?2
34"9?,
'
'
30+?34"9
-)#2/?/54
-)#2/?3($.
$!#?34"9
'.$
0
6##!
'.$
'.$!
!-
Downloaded from Elcodis.com electronic components distributor

Connectors UM0896
18/43 Doc ID 17009 Rev 1
Additional information can be found in the STEVAL-CAA021V1 user manual (UM0722).
6.3 Analog/digital MEMS extension connector CN6 and CN8
The CN6 and CN8 connectors allows to connect STEVAL-MKI0xxV1 MEMS demonstration
boards (gyroscope, accelerometer) that are compatible with 24 DIL socket. The MEMS
extension must be fitted in both connectors CN6 and CD8 in the same time. The MEMS
extension when plugged uses only the right half of the CN8 connector terminals. The left
half is free even if the MEMS extension is plugged.
Figure 9. Digital MEMS connector pinout
Table 18. Description of the I2S audio connector pins of the TS4657 audio card
Pin Signal Pin Signal Pin Signal Pin Signal
1GND 6G1 gain select for
TS2012 (PD3) 11 Right channel mute for
TS2012 (PD4) 16
Data format selection
FMT2 for TS4657
(PE2)
2+ 5 V 7
VCCA +3.3 V supply
voltage for
microphone domain
12
TS4657 SDAT I2S
signal (PC12)
(SPI3MOSI)
17
Standby for TS4962
(on-board speaker
and mono jack) (PD7)
3Microphone shutdown
(PB2) 8
TS4657 LRCLK I2S
signal (PA15) (JTD)
(I2S3_WS)
13 Left channel mute for
TS2012 (PD5) 18
Data format selection
FMT1 for TS4657
(PE1)
4G0 gain select for
TS2012 (PD2) 9GNDA ground for
microphone domain 14
TS4657 MCLK I2S
signal (master clock)
(PC7) (I2S3_MCK)
19 GND
5
Analog output from
microphone
preamplifier (PB1)
(ADC12_IN9)
10
TS4657 BCLK I2S
signal (PC10)
(SPI3_SCK)
15 Standby for TS4657 20 NC
!-
#.
(EADER
(0
-)3/
-/3) 3$!?-%-3
3#+ 3#,?-%-3
#3?-%-3
0$
&3
3ELF4EST
)NT
)NT
Downloaded from Elcodis.com electronic components distributor

UM0896 Connectors
Doc ID 17009 Rev 1 19/43
Figure 10. GPIO and analog connector pinout
Table 19. Digital MEMS connector signals
Pin Signal (MEMS) Signal description
1N. C.
2HP High-pass filter reset, signal for gyroscope
3SPI1- MISO
4SPI1- MOSI Shared with I2C1- SDA
5SPI1- CLK Shared with I2C1- SCL
6CS_MEMS Chip select for the SPI1device
7PD Power-down of the device
8FS Full scale of the measured range
9SelfTest
10 Int2 Interrupt request
11 Int1 Interrupt request
12 GND
!-
6 6
#.
0$
0$
0$
0"
0"
0#
3#3?.
70ROTECT
#3?7I&I
/546OUTX
/OUT
X/6OUTY
6REFMEMSREF
X/6OUTZ
/54
OUT
/
(EADERX
Downloaded from Elcodis.com electronic components distributor

Connectors UM0896
20/43 Doc ID 17009 Rev 1
Additional information can be found in the STEVAL-MK10xxV1 user manual.
6.4 Power line networking extension connector CN7
The connector CN7 is dedicated for the interconnection with ST7590 OFDM PRIME
compliant power line modem demonstration board through UART and SPI.
Figure 11. Connector CN7 for PLM, USART and SPI interface
Table 20. GPIO and analog MEMS connector signals
Pin Signal - the left half (GPIO) Pin Signal - the right half (MEMS)
1+3.3 V 2+3.3 V
3+3.3 V 4+3.3 V
5GPIO (PD0) 6NC
7GPIO (PD1) 8X - axis, or GYRO output-1 (PC0)
(ADC12_IN10)
9GPIO (PD13) 10 NC
11 GPIO (PB5) 12 Y - axis (PC4) (ADC12_IN14)
13 GPIO (PB9) 14 NC
15 GPIO (PC8) 16 Z - axis
(PC5) (ADC12_IN15)
17 Serial chip select from host (PC9) 18 NC
19 U9 Wi-Fi module-1 write protect (PC15) 20 NC
21 U9 Wi-Fi module-1 chip enable (PE15) 22 GYRO output-2
(PB0) (ADC12_IN8)
23 GND 24 NC
Table 21. Connector CN7 for PLM, USART and SPI interface
Pin Signal Pin Signal
1USART_TXD_LV+3V3 2USART_RDX_LX
3GND 4VCC_LV
5MISO_LV 6SCLK0_LV
7MOSI_LV 8SSN0_LV
!-
Downloaded from Elcodis.com electronic components distributor
This manual suits for next models
1
Table of contents
Popular Gateway manuals by other brands

Sierra Wireless
Sierra Wireless RJ-11 user guide

Siemens
Siemens Gigaset SX686 WiMAX quick start guide

ILI DataLink
ILI DataLink GW1000 user guide

MistAway
MistAway iMist2 Setup guide

Freescale Semiconductor
Freescale Semiconductor Home Energy Gateway Reference Platform quick start guide

Cooper Lighting Solutions
Cooper Lighting Solutions EG-2 installation guide

Elan
Elan PROTECT-PSC Series instruction manual

Motorola
Motorola CG3500 user guide

Fortress Power
Fortress Power Guardian Installation and operation manual

ZyXEL Communications
ZyXEL Communications SBG3500-N Series quick start guide

Ubiquiti
Ubiquiti UniFi USG quick start guide

Gefen
Gefen EXT-DVI-FO-141 user manual