UM0174 User manual
STR910-EVAL evaluation board
Introduction
The STR910 evaluation board (STR910-EVAL) is a complete development platform for the STMicroelectronic's ARM core-based STR91xF. Based on the ARM966ES core, the STR91xF includes Pre-fetch Queue and Branch cache, full speed USB 2.0 compatible port, Ethernet 100/10 interface, Embedded MAC, CAN2.0B compliant interface, a 2 Mbyte dual bank Flash memory, a 96 Kbyte SRAM and many peripherals. The STR910-EVAL board includes an STR910F microcontroller, pre-loaded demonstration software and a full range of hardware features to help you evaluate device peripherals (such as motor control, IrDA, USB, Ethernet, CAN) and develop your own applications. Extension headers make it possible to easily connect a daughter board or wrapping board for your specific application. Figure 1. STR910-EVAL evaluation board
Features
Three 5V power supply options: jack, USB connection or a daughter board RTC with tamper detection Audio play and record Three RS232 connectors with support of full modem control on one connector Infrared Data Access (IrDA) USB 2.0 compliant with full-speed (12 Mb/s) data transmission CAN 2.0B connection Inductor motor control connector with 6 PWM output, emergency stop and tachometer input
November 2007
Rev 3
1/46
www.st.com
UM0174
IEEE-802.3-2002 compliant Ethernet connection Debug support via 20-pin JTAG connector 38-pin ETM connector for optional trace module Dot-matrix LCD module Joystick with 4-direction control and selector Extension connectors for daughter board or wrapping board
About the user manuals...
This user manual provides information about using your STR910-EVAL and its hardware features. This product includes the STR912FAW47X6 microcontroller with a 2 Mbyte internal Flash memory. Earlier versions of the product include the STR912FAW44X6 microcontroller with a 512 Kbyte internal Flash memory. For additional information about supporting software and tools, please refer to the STR9 microcontroller families web page on www.st.com.
Ordering information
To order the STR910 evaluation board, use the order code STR910-EVAL.
2/46
UM0174
Contents
Contents
About the user manuals... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1 2
Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 2.12 2.13 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Audio features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Serial Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 RS232 and IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 RTC and tamper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Development and debugging tool support . . . . . . . . . . . . . . . . . . . . . . . . 17 Display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3
Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 Motor control connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Power supply connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 USB type B connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 CAN type D, 9-pin male connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . 22 ETM trace connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 RS232 with full modem control CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 JTAG debug connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 RS232 connectors CN10 and CN12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Ethernet RJ45 connector CN11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Daughter board extension connector CN5 and CN6 . . . . . . . . . . . . . . . . 26
3/46
Contents
UM0174
4
Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Appendix A Implemented STR912F pin functions. . . . . . . . . . . . . . . . . . . . . . . . 39 Appendix B Product support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Software updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Hardware spare parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Getting prepared before you call. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
4/46
UM0174
List of tables
List of tables
Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11. Table 12. Table 13. Table 14. Table 15. Table 16. Table 17. Table 18. Table 19. Table 20. Table 21. Table 22. Power jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Clock jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Ethernet jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Audio jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 CAN jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 RS232 and IrDA jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Motor control jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 USB jumpers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 ETM trace configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 LCD modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Motor control connector (CN1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 USB type B connector (CN3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 CAN type D, male 9-pin male connector (CN4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 ETM trace connector (CN7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 RS232 connector (CN8) with full modem support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 JTAG debug connector (CN9) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 RS232 connectors (CN10, CN12) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Ethernet RJ45 connector (CN11) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Daughter board extension connector (CN5) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Daughter board extension connector (CN6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Implemented pin functions of the STR912FAW47X6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
5/46
List of figures
UM0174
List of figures
Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. Figure 10. Figure 11. Figure 12. Figure 13. Figure 14. Figure 15. Figure 16. Figure 17. Figure 18. Figure 19. Figure 20. Figure 21. Figure 22. Figure 23. Figure 24. STR910-EVAL evaluation board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Connecting development tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 STR910-EVAL evaluation board layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Settings for two-pin jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 STR910-EVAL evaluation board connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Motor control connector (CN1, top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Power supply connector (CN2, front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 USB type B connector (CN3, front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 CAN type D, 9-pin male connector (CN4, front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 ETM trace connector (CN7, top view). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 RS232 connector (CN8, front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 JTAG debug connector (CN9, top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 RS232 connectors (CN10 and CN12, front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Ethernet RJ45 connector (CN11, front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Find the version of your evaluation board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 STR910-EVAL microcontroller connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 CAN and USB connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 UART and IrDA connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Ethernet connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Audio peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 JTAG, ETM and daughter board connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 LCD and joystick . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6/46
UM0174
Getting started
1
Getting started
Your STR910-EVAL is designed with a full range of hardware features that will help you rapidly evaluate microcontroller peripherals and develop your own applications. Descriptions of hardware features and configurations are provided in Section 2 on page 8. Demonstration software is preloaded in the board's flash memory for easy demonstration of device peripherals in stand-alone mode. For more information refer to the demonstration software getting started. Your STR910-EVAL is also designed for use as an application development platform and reference design, and supports connection to a full range of in-circuit debugging tools and integrated development environments. To start using your STR910-EVAL evaluation board for application development, you will have to set up your development tools and connect to the STR91xF. 1. Connect to your STR910-EVAL via the 20-pin JTAG connector. A 38-pin ETM connector is also provided, allowing you to connect to and use your microcontroller's Embedded Trace Macrocell during debugging. For additional configuration information, see Section 2.12 on page 17 2. Power up the evaluation board. The board can be powered by 5V from either the jack for external power supply, USB connector, or a daughter board. For additional configuration information, see Section 2.1 on page 10. 3. Connect to the device from the debugging software on your host PC. The BCD files, FME file and installation instructions that you will need to update your debugging software are available for free download at the STMicroelectronics microcontrollers support site on www.st.com. Figure 2. Connecting development tools
Host PC running your debugging software / integrated development environment
In-circuit emulator
In-circuit emulator connects via 20-pin JTAG standard connector
Trace tool / connection (optional)
Optional trace tool connects to the STR91xF via a 38-pin ETM connector.
7/46
Hardware layout and configuration
UM0174
2
Hardware layout and configuration
The STR910-EVAL is designed around the STR912FAW47X6 ARM966E-S in 128-pin LQFP package. The hardware block diagram of the STR910-EVAL (Figure 2) illustrates the layout of the board relative to the STR91xF peripherals and Figure 4 will help you locate these features on the actual evaluation board.
Figure 3.
Hardware block diagram
Peripheral implementation on the STR910-EVAL board requires the use of alternate pin functions supported by the STR912FAW47X6. A table of alternate pin functions used in this design is provided in Appendix A.
8/46
UM0174 Figure 4. STR910-EVAL evaluation board layout Speaker, U5
Hardware layout and configuration
Daughter board extension connectors, CN5, CN6 Power supply jack, CN2
Motor control connector, CN1
USB type B connector, CN3
STR912, U10 IrDA, U9
CAN D-type 9pin connector, CN4 ETM connector, CN7
RS232 with full modem support, CN8
Batter y, BT1
RS232 connectors, CN10, CN12
JTAG debug connector, CN9
Ethernet connector, CN11
Graphic LCD Module, U19
Potentiometer, RV2
General purpose key, PB3 Microphone, U21 Tamper_IN, PB1 RESET, PB2 Joystick, U20
9/46
Hardware layout and configuration The following sections provide jumper settings for configuring your STR910-EVAL evaluation board and peripherals, including:
UM0174
Power supply Clock source Reset source Ethernet Audio features Serial Flash CAN
RS232 and IrDA Motor control RTC and tamper USB Development and debugging tool support Display and input devices
Two types of jumpers are used on the STR910-EVAL evaluation board:
3-pin jumpers with two possible positions, for which settings are presented in schematics in the following sections 2-pin jumpers with two possible settings: Fitted the circuit is closed, and Not fitted the circuit is open (see Figure 5) Settings for two-pin jumpers Not fitted Fitte d
Figure 5.
2.1
Power supply
STR910-EVAL evaluation board is designed to be powered by a 5V DC power supply. It is possible to configure the evaluation board to use any of the following three sources for the power supply:
5V DC power adapter connected to the power supply jack (CN2, or PSU for Power Supply Unit on the silk screen). 5V DC power with 500mA limitation via the USB type-B connector (CN3, or USB on the silk screen). 5V DC power from the daughter board extension connectors (CN5 and CN6, DTB for Daughter Board on the silk-screen).
There is also a 3V button battery, which can be used as a backup power supply for both the RTC and the internal RAM of the STR91xF microcontroller. The power supply is configured by setting the related jumpers, JP2, JP3, JP4, JP6 and JP15 as described in Table 1.
10/46
UM0174 Table 1.
Jumper JP6
Hardware layout and configuration Power jumpers
Description Selects one of the three possible 5V DC power supply sources: PSU DTB USB For Power supply jack (CN2) to the STR910-EVAL only, JP6 is set as shown to the right: (Default setting)
PSU
DTB
USB
For Power supply jack (CN2) to both STR910-EVAL evaluation board and a daughter board connected to CN5 and CN6, JP6 is set as shown to the right:
PSU
DTB
USB
For power supply from the daughter board connectors (CN5 and CN6), JP6 is set as shown to the right:
For power supply from USB (CN3), JP6 is set as shown to the right: If a daughter board is connected on CN5 and CN6, it must not have its own power supply connected. The USB connection supplies power to both the STR910-EVAL evaluation board and the daughter board. JP2 JP4 JP3 JP15
Enables consumption measurement of 3.3V STR91xF I/O power supply (VDDQ). Default setting: Fitted Enables consumption measurement of 1.8V STR91xF CPU core power supply. Default setting: Fitted Enables consumption measurement of STR91xF analog power supply (AVDD). Default setting: Fitted Enables consumption measurement of STR91xF backup power supply (VBAT). Default setting: Fitted
The LD1 LED is lit when the STR910-EVAL evaluation board is powered correctly.
PSU
DTB
USB
2.2
Clock source
Four clock sources are available on the STR910-EVAL evaluation board for the microcontroller, USB, RTC and Ethernet PHY transceiver.
X1 25MHz crystal for STR91xF microcontroller X2 32KHz crystal for embedded RTC X3 25MHz crystal for Ethernet PHY transceiver U15 U12 48MHz oscillator for USB
USB and Ethernet PHY are also able to run using the clock from the STR91xF. The clock system can be configured by setting the jumpers JP25 and JP17 as described in Table 2.
11/46
Hardware layout and configuration Table 2.
Jumper JP25
UM0174
Clock jumpers
Description Sets the clock source for Ethernet PHY to X3 or STR91xF. MAC EXT To use the 25MHz clock from the STR91xF P52, set JP25 as shown on the right: (Default setting)
1 EXT
2 MAC
To use the 25MHz clock from X3, set JP25 as shown on the right:
1
2
JP17
Enables the external USB 48MHz clock source. To use an external oscillator via P27 of the STR91xF for the USB clock input, JP17 is fitted. To use the internal clock of the STR91xF, JP17 is not fitted. In this case P27 can be used for an alternate function. Default setting: Not fitted
2.3
Reset source
The reset signal of STR910-EVAL evaluation board is low active. The reset sources include:
Power On Reset from STM1001 (U7) Reset button (PB2) Debugging tools via the CN9 or CN7 connector Daughter board via the CN6 connector
2.4
Ethernet
The STR910-EVAL supports IEEE-802.3-2002 compliant Ethernet communication via the MII interface PHY transceiver STE100P with PHY address 10101b and integrated RJ45 connector with embedded transformer. JP24 enables/disables Ethernet support. Table 3.
Jumper JP24
Ethernet jumpers
Description PHY transceiver STE100P is in Power Down mode when JP24 is not fitted. Default setting: Fitted
Two embedded LEDs (yellow and green) for the RJ45 connector show current status of Ethernet connection:
Yellow LED blinking indicates transmission or reception via Ethernet Green LED is lit when a good link test has been detected
12/46
UM0174
Hardware layout and configuration
2.5
Audio features
STR910-EVAL evaluation board supports both audio recording and playback. This can be disabled or enabled by setting of jumpers JP5 and JP26. Audio volume can be adjusted using the potentiometer RV1. Table 4.
Jumper
Audio jumpers
Description Audio power amplifier TS4871 is forced into standby mode when JP5 (SPEAKER on the silk-screen) is not fitted. Default setting: Fitted Microphone pre-amplifier MAX4061 is forced into shutdown mode when JP26 (MIC on the silk-screen) is fitted. Default setting: Not fitted Audio FIX V Audio play circuit is connected to P46 of STR91xF when JP1 (FIX_V & Audio on the silk-screen) is set as shown on the right: (Default setting)
JP5
JP26
JP1
1 FIX V
2 Audio
Adjustable analog signal from RV2 is connected to P46 of the STR91xF when JP1 is set as shown on the right:
1
2
2.6
Serial Flash
A 64Mbit SPI interface Flash is available on the STR910-EVAL evaluation board.
2.7
CAN
The STR910-EVAL evaluation board supports CAN2.0B compliant bus communication based on the 3.3V CAN transceiver. Both high-speed mode and slope-control mode are available and can be selected by setting JP10. Table 5.
Jumper
CAN jumpers
Description SLOPE HIGH
JP10
CAN transceiver functions in slope-control mode when JP10 (HIGH or SLOPE on silk-screen) is set as shown to the right:
1 HIGH CAN transceiver functions in high-speed mode when JP10 is set as shown on the right: (Default setting)
2 SLOPE 2 13/46
1
Hardware layout and configuration Table 5.
Jumper JP12
UM0174
CAN jumpers (continued)
Description CAN terminal resistor is enabled when JP12 (CAN terminal) is fitted. Default setting: Not fitted
2.8
RS232 and IrDA
Three channels for RS232 communication are available on the STR910-EVAL board. Two channels UART2 and UART3, use the RS232 transceiver U14 and two male D-type 9pin connectors CN10 and CN12. IrDA communication is supported as a multiplex function on UART2. You can activate the IrDA transceiver and enable IrDA on UART2 by setting jumpers JP13 and JP11 as indicated in Table 6. UART1 uses the RS232 transceiver U13 with full modem control support and the male Dtype 9-pin connector CN8. For this feature, the DTR signal is multiplexed using the same pin that is otherwise used for the RXD signal on UART2. You can select between the UART2 RXD and UART1 DTR signal by setting JP14 as indicated in Table 6. Table 6.
Jumper
RS232 and IrDA jumpers
Description UART2 IrDA UART2 RXD signal is connected to RS232 transceiver when JP13 is set as shown on the right: (default setting)
JP13
1 IrDA
2 UART2
UART2 RXD signal will be connected to IrDA transceiver when JP13 is set as shown on the right:
1 JP14 Allows selection of either UART2 or UART1 with full modem control support.
2
U1DTR
U2RXD
UART1 DTR signal is used when JP14 is set as shown on the right:
1 U2RXD
2 U1DTR
UART2 RXD signal is used when JP14 is set as shown on the right:
1
2
JP11
Shuts down IrDA transceiver. IrDA is enabled when JP11 is fitted while IrDA is disabled when JP11 is Not fitted. Default setting: Fitted
14/46
UM0174 Table 6.
Jumper
Hardware layout and configuration RS232 and IrDA jumpers (continued)
Description
Jumpers JP18, JP19, JP21, JP22 and JP23 enable signals for UART1 with full modem control JP18 JP19 JP21 JP22 JP23 UART1 DCD signal is enabled when JP18 is fitted. Default setting: Fitted UART1 DSR signal is enabled when JP19 is fitted. Default setting: Fitted UART1 CTS signal is enabled when JP21 is fitted. Default setting: Fitted UART1 RI signal is enabled when JP22 is fitted. Default setting: Fitted UART1 RTS signal is enabled when JP23 is fitted. Default setting: Fitted
2.9
Motor control
STR910-EVAL board supports induction motor control via a 34-pin connector CN1, which provides all required control and feedback signals to and from a motor power-drive board. Available signals on this connector include emergency stop, motor speed, 3-phase motor current, bus voltage, Heatsink temperature from the motor drive board and 6 channels of PWM control signals going to the motor drive circuit. Emergency stop, motor current sampling and motor speed detection are enabled by setting jumpers JP16, JP7 and JP8. The potentiometer (RV2) can be used to control motor speed when JP1 is configured to connect RV2 to P46 of the STR91xF. See Table 4 on page 13. Table 7.
Jumper JP16
Motor control jumpers
Description JP16 enables the emergency stop function on P67 of the motor control connector CN1. P67 of the STR91xF is shared by both motor control and ETM trace support. ETM MC P67 is used for motor control emergency stop detection when JP16 (MC or ETM on silk-screen) is set as shown on the right: (default setting)
1 MC
2 ETM
P67 is used for external trigger of ETM tracing when JP16 is set as shown on the right:
1
2
JP7
Motor current sampling operation is enabled when JP7 is fitted (P40 connected to P43). The I/O pins P40 and P43 are disconnected and can be used by a daughter board when JP7 is not fitted. Default setting: Fitted
15/46
Hardware layout and configuration Table 7.
Jumper
UM0174
Motor control jumpers (continued)
Description STR91xF I/O pin P25 is used as external clock of timer for motor control when JP8 is fitted. P25 can be used by a daughter board when JP8 is not fitted. Default setting: Fitted
JP8
Note:
When using the motor control connector, ensure that JP9 is set to allow the use of P0.1 on the STR910F for motor control. JP9 can be configured to use P0.1 for the USB peripheral. See Table 8 on page 16.
2.10
RTC and tamper
A 32KHz crystal X2 is available for the embedded RTC inside the STR91xF. The push button PB1 can be used to simulate a tamper event on the RTC.
2.11
USB
The STR910-EVAL evaluation board offers USB 2.0 compliant communication via a USB type-B connector (CN3) with full-speed (12Mb/s) data transfer. The evaluation board and daughter board can be powered from this USB connection at 5V DC with a 500mA current limitation. Two clock sources are available for USB:
PLL generated clock from the STR91xF External oscillator U12
Clock source is selected by setting JP17. Refer to Table 2: Clock jumpers on page 12 for configuration details. The unplugging of hardware from the USB connector (CN3) can be simulated by your application software. USB hardware disconnect simulation is enabled by configuring the jumper JP9, as described in Table 8. Table 8.
Jumper JP9
USB jumpers
Description JP9 can be used to enable USB hardware disconnect simulation using P0.1 on the STR910F. P0.1 of the STR91xF can be used either for Motor Control or USB. USB hardware disconnect simulation is enabled and P0.1 of the STR910F is used by the USB peripheral when JP9 is set as shown to the right: In this case, the USB pull up resistor (R10) is connected to pin 3 of the USB connector. USB hardware disconnect simulation is disabled, and P0.1 of the STR910F is used by the Motor Control connector (C1) when JP9 is set as shown to the right: (Default setting)
1
2
1
2
16/46
UM0174
Hardware layout and configuration
2.12
Development and debugging tool support
The STR910-EVAL evaluation board supports connection to both In-Circuit Emulators (ICE) via a 20-pin standard JTAG interface and Trace tools via a 38-pin Embedded Trace Macrocell (ETM) interface. To enable the ETM trace feature, some alternate circuit functions have to be disconnected by setting the jumpers listed in Table 9. Motor control, UART1 full modem control support and USB external 48MHz clock use STR91xF I/O pins that are required for the ETM trace connection on CN7. These features will be restricted when ETM trace is used. The evaluation board can not be connected to a motor control drive board on connector CN1. To ensure the integrity of high-speed signals on the ETM trace connections, each ETM signal should have a single point-to-point connection from STR91xF microcontroller to the 38-pin ETM connector. Stub tracks ("dead-end" extensions to the signal track) should be eliminated. If you encounter problems when using ETM connector, you can remove the resistors indicated in Table 9 to avoid stub and improve signal quality on the ETM connection. Table 9.
Pin on CN7 6
ETM trace configuration
Description TRACECLK To disable alternate function Disconnect motor power drive board connected to CN1 Keep JP16 set as shown below: To avoid stub Remove R34
10
EXTTRIG
No change
1
24 26 28 30 32 34 36 38 TRACEPKT[3] TRACEPKT[2] TRACEPKT[1] TRACEPKT[0] TRACESYNC PIPESTAT[2] PIPESTAT[1] PIPESTAT[0]
2
Remove R35 Remove R36 Remove R37 Remove R38 Remove R39 Remove R40 Remove R41 Remove R42
JP22 is not fitted (UART1 RI signal is disabled) JP18 is not fitted (UART1 DCD signal is disabled) JP19 is not fitted (UART1 DSR signal is disabled) JP21 is not fitted (UART1 CTS signal is disabled) JP17 is not fitted (external USB48MHz clock P27 source is disable) No JP8 is not fitted (Motor control Encoder A pin on CN1 connector is disabled) No
17/46
Hardware layout and configuration
UM0174
2.13
Display and input devices
32x122 pixel graphic LCD and 4 general purpose LED's (LD2, 3, 4, 5) are available as display devices. A 4-direction joystick with selection key and one general purpose button (PB3) are available as input devices. STR910-EVAL also supports a second optional 2x16 character LCD that can be mounted on the U17 connector. Table 10. LCD modules
Graphic LCD U19 (default) Pin on U19 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Description GND VDD VO RS NC E2 NC E1 RW DB0 DB1 DB2 DB3 DB4 DB5 DB6 DB7 RST A K P94 P96 P80 P81 P82 P83 P84 P85 P86 P87 RESET# +5V GND P95 P97 Pin on STR91xF GND 3.3V Character LCD U17 (optional) Pin on U17 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Description GND VDD VO RS RW E DB0 DB1 DB2 DB3 DB4 DB5 DB6 DB7 A K P97 P96 P94 P80 P81 P82 P83 P84 P85 P86 P87 +5V GND Pin on STR91xF GND 3.3V
18/46
UM0174
Connectors
3
Connectors
The following sections provide pin descriptions for the STR910-EVAL evaluation board connectors shown in Figure 6. Figure 6. STR910-EVAL evaluation board connectors
CAN type D, 9-pin male connector CN4 JTAG debug connector CN9 ETM trace connector CN7 Motor control connector CN1 Ethernet RJ45 connector CN11
USB type B connector CN3
Power supply connector CN2 Daughter board extension connector CN5 and CN6 RS232 with full modem control CN8 RS232 connectors CN10 and CN12
19/46
Connectors
UM0174
3.1
Motor control connector CN1
Figure 7. Motor control connector (CN1, top view)
33 31 29 27 25 23 21 19 17 15 13 11 9 7 5
3
1
34 32 30 28 26 24 22 20 18 16 14 12 10 8 6
4
2
Top view
Table 11.
Pin number 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33
Motor control connector (CN1)
Description EMERGENCY STOP PWM-UH PWM-UL PWM-VH PWM-VL PWM-WH PWM-WL PHASE A CURRENT PHASE B CURRENT PHASE C CURRENT NTC BYPASS RELAY DISSIPATIVE BRAKE PWM +5V power PFC SYNC PFC PWM Encoder A Encoder B Pin number 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 GND GND GND GND GND GND BUS VOLTAGE GND GND GND GND GND Heatsink temperature 3.3V power GND GND Encoder index Description
20/46
UM0174
Connectors
3.2
Power supply connector CN2
Your STR910-EVAL evaluation board can be powered from a DC 5V power supply via the external power supply jack (CN2) shown in Figure 8. The central pin of CN2 must be positive. For power supply jumper configurations, refer to section Section 2.1 on page 10. Figure 8. Power supply connector (CN2, front view)
DC +5V
GND
Front view
3.3
USB type B connector CN3
Figure 9. USB type B connector (CN3, front view)
Front view
Table 12.
Pin number 1 2 3
USB type B connector (CN3)
Description VBUS (Power) DM DP Pin number 4 5, 6 GND Shield Description
21/46
Connectors
UM0174
3.4
CAN type D, 9-pin male connector CN4
Figure 10. CAN type D, 9-pin male connector (CN4, front view)
Front view
Table 13.
Pin number 1, 4, 5 2 3, 6, 8
CAN type D, male 9-pin male connector (CN4)
Description NC CANL GND Pin number 7 9 CANH CANV+ (3.3V) Description
3.5
ETM trace connector CN7
Figure 11. ETM trace connector (CN7, top view)
Top view
Table 14.
ETM trace connector (CN7)
Description 17 19 Pin number Description TMS TDI
Pin number
1, 2, 3, 4, 16, 18, 20, 22, 23, Not Connected 25, 27, 29, 13, 33, 35, 37 5 GND
22/46
UM0174 Table 14. ETM trace connector (CN7) (continued)
Description TRACECLK DBGRQ DBGACK nSRST EXTTRIG TDO Vtref RTCK Vsupply TCK 21 24 26 28 30 32 34 36 38 Pin number
Connectors
Pin number 6 7 8 9 10 11 12 13 14 15
Description TRST TRACEPKT[3] TRACEPKT[2] TRACEPKT[1] TRACEPKT[0]
PIPESTAT[2] PIPESTAT[1] PIPESTAT[0]
3.6
RS232 with full modem control CN8
Figure 12. RS232 connector (CN8, front view)
Front view
Table 15.
Pin number 1 2 3 4 5
RS232 connector (CN8) with full modem support
Description UART1_DCD UART1_RXD UART1_TXD UART1_DTR GND Pin number 6 7 8 9 Description UART1_DSR UART1_RTS UART1_CTS UART1_RI
23/46
Connectors
UM0174
3.7
JTAG debug connector CN9
Figure 13. JTAG debug connector (CN9, top view)
19 17 15 13 11 9 7 5 3 1
20 18 16 14 12 10 8 6
4
2
Top view
Table 16.
JTAG debug connector (CN9)
Description 3.3V power TRST TDI TMS TCK RTCK TDO nSRST DBGRQ DBGACK Pin number 2 4 6 8 10 12 14 16 18 20 Description 3.3V power GND GND GND GND GND GND GND GND GND
Pin number 1 3 5 7 9 11 13 15 17 19
3.8
RS232 connectors CN10 and CN12
Figure 14. RS232 connectors (CN10 and CN12, front view)
Front view
24/46
UM0174 Table 17. RS232 connectors (CN10, CN12)
Description Pin number CN10 1 3 5 7 9 NC CN12 1 3 5 7 9 NC NC UART3_TXD GND 2 4 6 8 UART3_RXD NC UART2_TXD GND 2 4 6 8 UART2_RXD
Connectors
Pin number
Description
3.9
Ethernet RJ45 connector CN11
Figure 15. Ethernet RJ45 connector (CN11, front view)
Front view
Table 18.
Pin number 1 2 3 4
Ethernet RJ45 connector (CN11)
Description TxData+ TxDataRxData+ Shield Pin number 5 6 7 8 Shield RxDataShield Shield Description
25/46
Connectors
UM0174
3.10
Daughter board extension connector CN5 and CN6
Two 50-pin male headers CN5 and CN6 can be used to connect a daughter board or standard wrapping board to the STR910-EVAL evaluation board. All 80 GPI/Os and the EMI interface control signals are available on these connectors. Each pin on CN5 and CN6 can be used by a daughter board after disconnecting it from the corresponding function block on the STR910-EVAL evaluation board. Refer to Table 19 and Table 20 on page 28 for details. Table 19.
Pin 1 3 5 7 9 11 13
Daughter board extension connector (CN5)
Description Alternate function GND P16 P76 P47 P46 P44 P42 Ethernet Joystick Microphone Motor control speaker Motor control Motor control Remove R69 Remove R68 Remove R60 JP1 is not fitted Disconnect STR910-EVAL evaluation board from motor power drive board Disconnect STR910-EVAL evaluation board from motor power drive board Disconnect STR910-EVAL evaluation board with motor power drive board. JP7 is not fitted. Remove R51 Disconnect STR910-EVAL evaluation board from ETM tracer. JP21 is not fitted. Remove R16 Remove R91 Remove R59 Disconnect STR910-EVAL evaluation board from motor power drive board Make sure the Ethernet clock is from external crystal by setting of JP25. Please refer to table2.3. Remove R71 Disconnect STR910-EVAL evaluation board from motor power drive board Remove R88 Remove R65 To disconnect from the STR910-EVAL function block
15 17 19 21 23 25 27 29 31 33 35 37 39 41 43
P40 P71 GND P20 P50 P74 P51 P63 EMI_WRL P52 P53 P60 GND P83 P84
Motor control Ethernet None ETM trace UART1 CTS CAN RX Joystick UART1 RXD Motor control None Ethernet Ethernet Motor control None LCD LCD
26/46
UM0174 Table 19.
Pin 45 47 49 2 4 6 8 10 12 14 16 18
Connectors Daughter board extension connector (CN5) (continued)
Description Alternate function P85 P86 D5V(note1) P14 P15 P17 P77 GND P45 P43 P41 P70 LCD LCD None Ethernet Ethernet Ethernet Joystick None Motor control Motor control Motor control Motor control To disconnect from the STR910-EVAL function block Remove R89 Remove R66 Remove R52 Remove R76 Remove R74 Remove R92 Disconnect STR910-EVAL evaluation board from motor power drive board JP7 is not fitted. Disconnect STR910-EVAL evaluation board from motor power drive board Disconnect STR910-EVAL evaluation board from motor power drive board Disconnect STR910-EVAL evaluation board from motor power drive board. JP8 is not fitted. Disconnect STR910-EVAL evaluation board from ETM tracer. JP19 is not fitted. Disconnect STR910-EVAL evaluation board from motor power drive board Remove R67 Disconnect STR910-EVAL evaluation board from motor power drive board Remove R63 Remove R87 Remove R64 Disconnect STR910-EVAL evaluation board from motor power drive board Disconnect STR910-EVAL evaluation board from ETM tracer. JP18 is not fitted. Disconnect STR910-EVAL evaluation board from ETM tracer. JP22 is not fitted. Disconnect STR910-EVAL evaluation board from ETM trace
20
P72
Motor control ETM trace UART1 DSR Motor control Joystick Motor control None None LCD LCD LCD Motor control ETM UART1 DCD ETM UART1 RI ETM
22 24 26 28 30 32 34 36 38 40 42 44 46
P21 P73 P75 P62 GND EMI_WRH P80 P81 P82 P61 P22 P23 P24
27/46
Connectors Table 19.
Pin 48 50
UM0174 Daughter board extension connector (CN5) (continued)
Description Alternate function P87 GND LCD To disconnect from the STR910-EVAL function block Remove R90
Table 20.
Pin 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47
Daughter board extension connector (CN6)
Description Alternate function GND P12 P11 P67 None Ethernet Ethernet ETM Motor control Remove R77 Remove R53 Place JP16 in position 1·2 and remove R105. Remove R56 Disconnect STR910-EVAL evaluation board from motor power drive board Remove R15 Remove R73 Disconnect STR910-EVAL evaluation board from motor power drive board Remove R78 Remove R75 Disconnect STR910-EVAL evaluation board from ETM racer. JP17 is not fitted. Remove R62 Remove R83 Remove R81 To disconnect from the STR910-EVAL function block
TAMPER_IN None RESET# P05 P64 P56 D5V(note1) P03 EMI_ALE P54 P37 P00 P35 P34 P33 P31 GND P27 P94 P92 P90 None Ethernet Motor control SPI Flash No Ethernet None SPI Flash Motor control Ethernet UART3 TX UART1 TX UART1 RTS UART2 TX UART3 RX None ETM trace USB clock LCD LED2 LED0
28/46
UM0174 Table 20.
Pin
Connectors Daughter board extension connector (CN6) (continued)
Description Alternate function ETM Trace Motor control Ethernet None Ethernet ETM trace Motor control None Ethernet Ethernet Motor control SPI Flash Ethernet SPI Flash None Ethernet Motor control or USB hardware disconnect simulation None CAN TX LCD LCD UART1 DTR UART2 RX LCD Motor control ETM Trace LED3 LED1 None To disconnect from the STR910-EVAL function block Disconnect STR910-EVAL evaluation board from ETM trace. JP8 is not fitted. Remove R70 Remove R54 Disconnect STR910-EVAL evaluation board from ETM trace Remove R79 Remove R72 Disconnect STR910-EVAL evaluation board from motor power drive board Remove R14 Remove R80 Remove R55 Disconnect STR910-EVAL evaluation board from motor power drive board and place JP9 in position 1·2. Remove R61 Remove R86 JP14 is not fitted. Remove R85 Disconnect STR910-EVAL evaluation board from motor power drive board Disconnect STR910-EVAL evaluation board from ETM trace Remove R84 Remove R82 -
49 2 4 6 8 10 12 14 16 18 20 22 24 26
P25 P13 RST_OUT P10 P66 GND P07 P06 P65 P57 P04 P55 EMI_RD P02
28
P01
30 32 34 36 38 40 42 44 46 48 50
GND P36 P97 P96 P32 P95 P30 P26 P93 P91 GND
Note:
The D5V pin can be used to power the STR910-EVAL board from the power supply provided by the daughter board.
29/46
Schematics
UM0174
4
Schematics
This section provides design schematics for the STR910-EVALboard key features, which are provided to help you implement these features in your own application designs. Schematics are provided for:
STR910F microcontroller connections (Figure 17) Power supply (Figure 18) CAN and USB connectors (Figure 19) UART and IrDA connectors (Figure 20) Ethernet connector (Figure 21) Audio record and playback features (Figure 22) JTAG and ETM connectors (Figure 23) LCD and joystick features (Figure 24)
Schematics have versions, as do major versions of the evaluation board. Schematic version numbers are made up of a letter number combination (for example A.0, A.1, B.0, B.1, ...), which is found in the information block in each schematic diagram. In these version numbers, the letter indicates the version of the evaluation board that the drawings correspond to, and the number indicates the revision of the schematics for a given version of the evaluation board. Zero (0) indicates that the schematics for the specified board are in their initial version (have not been revised). Figure 16. Find the version of your evaluation board The letters in the information block on the evaluation board indicate the board version (this example shows version C of an evaluation board).
Note: numbers in this block correspond to the board layers.
30/46
UM0174 Figure 17. STR910-EVAL microcontroller connections
Schematics
31/46
Schematics Figure 18. Power supply
UM0174
32/46
UM0174 Figure 19. CAN and USB connections
Schematics
33/46
Schematics Figure 20. UART and IrDA connections
UM0174
34/46
UM0174 Figure 21. Ethernet connection
Schematics
35/46
Schematics Figure 22. Audio peripherals
UM0174
36/46
UM0174 Figure 23. JTAG, ETM and daughter board connections
Schematics
37/46
Schematics Figure 24. LCD and joystick
UM0174
38/46
UM0174
Implemented STR912F pin functions
Appendix A
Implemented STR912F pin functions
The STR910-Eval peripheral implementation requires the use of several alternate pin functions. Table 21 shows primary and alternate pin functions for the STR912FAW47X6 that are used in the application board design. The table indicates the pin functions used for STR910-EVAL peripherals in blue. If you choose to implement the Embedded Trace Module (ETM) connector for your debugging tool, you will use the alternate functions for specific pins that are indicated in gray instead of the function indicated in blue. Table 21.
Pin #
Implemented pin functions of the STR912FAW47X6
Default input function MII_TX_CLK PHY Xmit clock MII_RXD0 PHY Rx data0 MII_RXD1 PHY Rx data MII_RXD2, PHY Rx data MII_RXD3 PHY Rx data MII_RX_CLK PHY Rx clock MII_RX_DV PHY data valid Alternate functions For peripheral... I n p ut 1 I2C0_CLKIN I2C clock in I2C0_DIN I2C data in I2C1_CLKIN I2C clock in I2C1_DIN I2C data in TIM0_CAPA Input Capture TIM0_CAPB Input Capture TIM2_CAPA Input Capture TIM2_CAPB Input Capture Output 1 GPIO_0.0 GP Output GPIO_0.1 GP Output GPIO_0.2 GP Output GPIO_0.3 GP Output GPIO_0.4 GP Output GPIO_0.5 GP Output GPIO_0.6 GP Output GPIO_0.7 GP Output Output 2 I2C0_CLKOUT I2C clock out I2C0_DOUT I2C data out I2C1_CLKOUT I2C clock out I2C1_DOUT I2C data out EMI_CS0n EMI Chip Select EMI_CS1n EMI Chip Select EMI_CS2n EMI Chip Select EMI_CS3n EMI Chip Select Output 3 ETM_PCK0 ETM Packet ETM_PCK1 ETM Packet ETM_PCK2 ETM Packet ETM_PCK3 ETM Packet ETM_PSTAT0 ETM pipe status Ethernet ETM_PSTAT1 ETM pipe status ETM_PSTAT2 ETM pipe status ETM_TRSYNC ETM trace sync Ethernet Motor control or USB
Pin name
67 69 71 76 78 85 88 90
P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7
98 99 101 106 109 110 114 116
P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7
MII_RX_ER PHY rcv error MII_COL PHY collision MII_CRS PHY carrier sns -
ETM_EXTRIG ETM ext. trigger UART1_RX UART rcv data SSP1_MISO SSP mstr data in UART2_RX UART rcv data I2C0_CLKIN I2C clock in CAN_RX CAN rcv data I2C0_DIN I2C data in ETM_EXTRIG ETM ext. trigger
GPIO_1.0 GP Output GPIO_1.1 GP Output GPIO_1.2 GP Output GPIO_1.3 GP Output GPIO_1.4 GP Output GPIO_1.5 GP Output GPIO_1.6 GP Output GPIO_1.7 GP Output
UART1_TX UART xmit data MII_TXD0, MAC Tx data MII_TXD1 MAC Tx data MII_TXD2 MAC Tx data MII_TXD3 MAC Tx data UART2_TX UART xmit data CAN_TX CAN Tx data MII_MDC MAC mgt dat ck
SSP1_SCLK SSP mstr clk out SSP1_MOSI SSP mstr dat out UART0_TX UART xmit data SSP1_NSS SSP mstr sel out Ethernet I2C0_CLKOUT I2C clock out ETM_TRCLK ETM trace clock I2C0_DOUT I2C data out ETM_TRCLK ETM trace clock
39/46
Implemented STR912F pin functions Table 21.
Pin #
UM0174
Implemented pin functions of the STR912FAW47X6 (continued)
Default input function UART0_CTS Clear To Send UART0_DSR Data Set Ready UART0_DCD Dat Carrier Det UART0_RI Ring Indicator EXTCLK_T0T1 Ext clk timer0/1 EXTCLK_T2T3 Ext clk timer2/3 USB_CLK48M 48MHz to USB Alternate functions For peripheral... I n p ut 1 I2C0_CLKIN I2C clock in I2C0_DIN I2C data in I2C1_CLKIN I2C clock in I2C1_DIN I2C data in SSP0_SCLK SSP slv clk in SSP0_MOSI SSP slv dat in SSP0_MISO SSP mstr data in SSP0_NSS SSP slv sel in Output 1 GPIO_2.0 GP Output GPIO_2.1 GP Output GPIO_2.2 GP Output GPIO_2.3 GP Output GPIO_2.4 GP Output GPIO_2.5 GP Output GPIO_2.6 GP Output GPIO_2.7 GP Output Output 2 I2C0_CLKOUT I2C clock out I2C0_DOUT I2C data out I2C1_CLKOUT I2C clock out I2C1_DOUT I2C data out SSP0_SCLK SSP mstr clk out SSP0_MOSI SSP mstr dat out SSP0_MISO SSP slv data out SSP0_NSS SSP mstr sel out Output 3 ETM_PCK0 ETM Packet ETM_PCK1 ETM Packet ETM_PCK2 ETM Packet ETM_PCK3 ETM Packet ETM_PSTAT0 ETM pipe status ETM_PSTAT1 ETM pipe status ETM_PSTAT2 ETM pipe status ETM_TRSYNC ETM trace sync ETM Motor Control or ETM ETM
Pin name
10 11 33 35 37 45 53
P2.0 P2.1 P2.2 P2.3 P2.4 P2.5 P2.6 USBCLK _P2.7
RS232 n1 or ETM
54
USB or ETM
55 59 60 61 63 65 66 68
P3.0 P3.1 P3.2 P3.3 P3.4 P3.5 P3.6 P3.7
DMA_RQST0 Ext DMA request DMA_RQST1 Ext DMA request EXINT2 External Intr EXINT3 External Intr EXINT4 External Intr EXINT5 External Intr EXINT6 External Intr EXINT7 External Intr
UART0_RxD UART rcv data UART2_RxD UART rcv data UART1_RxD UART rcv data CAN_RX CAN rcv data SSP1_SCLK SSP slv clk in SSP1_MISO SSP mstr data in SSP1_MOSI SSP slv dat in SSP1_NSS SSP slv select in
GPIO_3.0 GP Output GPIO_3.1 GP Output GPIO_3.2 GP Output GPIO_3.3 GP Output GPIO_3.4 GP Output GPIO_3.5 GP Output GPIO_3.6 GP Output GPIO_3.7 GP Output
UART2_TX UART xmit data UART0_TX UART xmit data CAN_TX CAN Tx data UART1_TX UART xmit data SSP1_SCLK SSP mstr clk out SSP1_MISO SSP slv data out SSP1_MOSI SSP mstr dat out SSP1_NSS SSP mstr sel out
TIM0_PWMA Out comp/PWM TIM1_PWMA Out comp/PWM UART0_DTR Data Trmnl Rdy UART0_RTS Ready To Send UART0_TX UART xmit data UART2_TX UART xmit data CAN_TX CAN Tx data TIM1_PWMA Out comp/PWM
Motor control RS232 n 3 RS232 n2 or n1 RS232 n2 or n1 RS232 n1 RS232 n3 CAN RS232 n2
3 2 1 128 127 126 125
P4.0 P4.1 P4.2 P4.3 P4.4 P4.5 P4.6
ADC0 ADC input chnl ADC1 ADC input chnl ADC2 ADC input chnl ADC3 ADC input chnl ADC4 ADC input chnl ADC5 ADC input chnl ADC6 ADC input chnl
TIM0_CAPA Input Capture TIM0_CAPB Input Capture TIM1_CAPA Input Capture TIM1_CAPB Input Capture TIM2_CAPA Input Capture TIM2_CAPB Input Capture TIM3_CAPA Input Capture
GPIO_4.0 GP Output GPIO_4.1 GP Output GPIO_4.2 GP Output GPIO_4.3 GP Output GPIO_4.4 GP Output GPIO_4.5 GP Output GPIO_4.6 GP Output
TIM0_PWMA Out comp/PWM TIM0_COMB Out comp TIM1_PWMA Out comp/PWM TIM1_COMB Out comp TIM2_PWMA Out comp/PWM TIM2_COMB Out comp TIM3_PWMA Out comp/PWM
ETM_PCK0 ETM Packet Motor control ETM_PCK1 ETM Packet ETM_PCK2 ETM Packet ETM_PCK3 ETM Packet Motor control ETM_PSTAT0 ETM pipe status ETM_PSTAT1 ETM pipe status ETM_PSTAT2 ETM pipe status Audio PWM or potentiometer
40/46
UM0174 Table 21.
Pin #
Implemented STR912F pin functions Implemented pin functions of the STR912FAW47X6 (continued)
Default input function ADC7 ADC input chnl Alternate functions For peripheral... I n p ut 1 TIM3_CAPB Input Capture Output 1 GPIO_4.7 GP Output Output 2 TIM3_COMB Out comp Output 3 ETM_TRSYNC ETM trace sync Microphone in
Pin name
124
P4.7
12 18
P5.0 P5.1 PHYCLK _P5.2 P5.3 P5.4 P5.5 P5.6 P5.7
EXINT8 External Intr EXINT9 External Intr EXINT10 External Intr EXINT11 External Intr EXINT12 External Intr EXINT13 External Intr EXINT14 External Intr EXINT15 External Intr
CAN_RX CAN rcv data UART0_RxD UART rcv data UART2_RxD UART rcv data ETM_EXTRIG ETM ext. trigger SSP0_SCLK SSP slv clk in SSP0_MOSI SSP slv dat in SSP0_MISO SSP mstr dat in SSP0_NSS SSP slv select in
GPIO_5.0 GP Output GPIO_5.1 GP Output GPIO_5.2 GP Output GPIO_5.3 GP Output GPIO_5.4 GP Output GPIO_5.5 GP Output GPIO_5.6 GP Output GPIO_5.7 GP Output
ETM_TRCLK ETM trace clock CAN_TX CAN Tx data MII_PHYCLK 25Mhz to PHY MII_TX_EN MAC xmit enbl SSP0_SCLK SSP mstr clk out SSP0_MOSI SSP mstr dat out SSP0_MISO SSP slv data out SSP0_NSS SSP mstr sel out
UART0_TX UART xmit data UART2_TX UART xmit data TIM3_PWMA Out comp/PWM
CAN RS232 n1
25
Ethernet 27 70 77 79 80 TIM2_PWMA Out comp/PWM EMI_CS0n EMI Chip Select EMI_CS1n EMI Chip Select Flash EMI_CS2n EMI Chip Select EMI_CS3n EMI Chip Select
29 31 19 20 83 84 92 93
P6.0 P6.1 P6.2 P6.3 P6.4 P6.5 P6.6 P6.7
EXINT16 External Intr EXINT17 External Intr EXINT18 External Intr EXINT19 External Intr EXINT20 External Intr EXINT21 External Intr EXINT22_TRIG Ext Intr & Tach EXINT23_STOP Ext Intr & Estop
TIM0_CAPA Input Capture TIM0_CAPB Input Capture TIM1_CAPA Input Capture TIM1_CAPB Input Capture TIM2_CAPA Input Capture TIM2_CAPB Input Capture UART0_RxD UART rcv data ETM_EXTRIG ETM ext. trigger
GPIO_6.0 GP Output GPIO_6.1 GP Output GPIO_6.2 GP Output GPIO_6.3 GP Output GPIO_6.4 GP Output GPIO_6.5 GP Output GPIO_6.6 GP Output GPIO_6.7 GP Output
TIM0_PWMA Out comp/PWM TIM0_COMB Out comp TIM1_PWMA Out comp/PWM TIM1_COMB Out comp TIM2_PWMA Out comp/PWM TIM2_COMB Out comp TIM3_PWMA Out comp/PWM TIM3_COMB Out comp
MC_UH IMC phase U hi MC_UL IMC phase U lo MC_VH IMC phase V hi MC_VL IMC phase V lo MC_WH IMC phase W hi MC_WL IMC phase W lo ETM_TRCLK ETM trace clock UART0_TX UART xmit data Motor control or ETM Motor control
5 6 7 13
P7.0 P7.1 P7.2 P7.3
EXINT24 External Intr EXINT25 External Intr EXINT26 External Intr EXINT27 External Intr
TIM0_CAPA Input Capture TIM0_CAPB Input Capture TIM2_CAPA Input Capture TIM2_CAPB Input Capture
GPIO_7.0 GP Output GPIO_7.1 GP Output GPIO_7.2 GP Output GPIO_7.3 GP Output
8b) EMI_A0 16b) EMI_A16 8b) EMI_A1 16b) EMI_A17 8b) EMI_A2 16b) EMI_A18 8b) EMI_A3 16b) EMI_A19
ETM_PCK0 ETM Packet ETM_PCK1 ETM Packet ETM_PCK2 ETM Packet ETM_PCK3 ETM Packet
Motor control Ethernet Motor control
41/46
Implemented STR912F pin functions Table 21.
Pin #
UM0174
Implemented pin functions of the STR912FAW47X6 (continued)
Default input function EXINT28 External Intr EXINT29 External Intr EXINT30 External Intr EXINT31 Alternate functions For peripheral... I n p ut 1 UART0_RxD UART rcv data ETM_EXTRIG ETM ext. trigger TIM3_CAPA Input Capture TIM3_CAPB Input Capture Output 1 GPIO_7.4 GP Output GPIO_7.5 GP Output GPIO_7.6 GP Output GPIO_7.7 GP Output Output 2 8b) EMI_A4 16b) EMI_A20 8b) EMI_A5 16b) EMI_A21 8b) EMI_A6 16b) EMI_A22 8b) EMI_A7 16b) EMI_CS0n Output 3 EMI_CS3n EMI Chip Select EMI_CS2n EMI Chip Select EMI_CS1n EMI Chip Select 16b) EMI_A23 EMI addr out Joystick
Pin name
14 15 118
P7.4 P7.5 P7.6
119
P7.7 External Intr
26 28 30 32 34 36 38 44
P8.0 P8.1 P8.2 P8.3 P8.4 P8.5 P8.6 P8.7
-
-
GPIO_8.0 GP Output GPIO_8.1 GP Output GPIO_8.2 GP Output GPIO_8.3 GP Output GPIO_8.4 GP Output GPIO_8.5 GP Output GPIO_8.6 GP Output GPIO_8.7 GP Output
8b) EMI_D0 16b) EMI_AD0 8b) EMI_D1 16b) EMI_AD1 8b) EMI_D2 16b) EMI_AD2 8b) EMI_D3 16b) EMI_AD3 8b) EMI_D4 16b) EMI_AD4 8b) EMI_D5 16b) EMI_AD5 8b) EMI_D6 16b) EMI_AD6 8b) EMI_D7 16b) EMI_AD7
-
LCD
46 47 50 51 52 58 62 64
P9.0 P9.1 P9.2 P9.3 P9.4 P9.5 P9.6 P9.7
-
-
GPIO_9.0 GP Output GPIO_9.1 GP Output GPIO_9.2 GP Output GPIO_9.3 GP Output GPIO_9.4 GP Output GPIO_9.5 GP Output GPIO_9.6 GP Output GPIO_9.7 GP Output
8b) EMI_A8 16b) EMI_AD8 8b) EMI_A9 16b) EMI_AD9 8b) EMI_A10 16b) EMI_AD10 8b) EMI_A11 16b) EMI_AD11 8b) EMI_A12 16b) EMI_AD12 8b) EMI_A13 16b) EMI_AD13 8b) EMI_A14 16b) EMI_AD14 8b) EMI_A15 16b) EMI_AD15
-
LED LED
LCD
42/46
UM0174
Product support
Appendix B
Product support
If you experience any problems with this product, or if you need spare parts or repairs, contact the distributor or the STMicroelectronics sales office where you purchased the product. On the STMicroelectronics microcontrollers support site at www.st.com, you will find a complete listing of ST sales offices and distributors, as well as documentation, software downloads and user discussion groups to help you answer questions and stay up to date with our latest product developments.
Software updates
All our latest software and related documentation are available for download from the STMicroelectronics microcontrollers support site at www.st.com. For information about firmware and hardware revisions, call your distributor or STMicroelectronics.
Hardware spare parts
Your development tool comes with the hardware you need to set it up, connect it to your PC and connect to your application. However, some components can be bought separately if you need additional ones. You can order extra components, such as sockets and adapters, from STMicroelectronics, from the component manufacturer or from a distributor. To help you find what you need, a listing of accessories for ST development tools is available on the STMicroelectronics microcontrollers support site at www.st.com.
Sockets
Complete documentation and ordering information for P/TQFP sockets from Yamaichi, Ironwood, CAB and Enplas are provided on their respective Internet sites.
Connectors
Complete documentation and ordering information for SAMTEC connectors is provided on the SAMTEC web site.
43/46
Product support
UM0174
Getting prepared before you call
Collect the following information about the product before contacting ST or your distributor: 1. 2. 3. 4. Name of the company where you purchased the product. Date of purchase. Order Code: Refer to the side your emulators box. The order code will depend on the region in which is was ordered (for example, the UK, Continental Europe or the USA). Serial Number: The serial number is found located on the rear panel of the ST Micro Connect box and is also listed on the Global Reference card provided with the emulator. TEB (Target Emulation Board) hardware and firmware versions: the hardware and firmware versions can be found by opening an STVD7 session, entering the debug context and selecting Help>About from the main menu. The TEB version numbers are given in the Target box scroll downwards until you find the TEB version (hardware) and TEB PLD version (firmware). Target Device: The sales type of the ST microcontroller you are using in your application.
5.
6.
44/46
UM0174
Revision history
Revision history
Table 22.
Date 12-Apr-2006
Document revision history
Revision 1 First draft release for review. Added explanation of schematic version numbers (Section 4). Replaced board schematics C.0 with modified schematics C.1. Changes to revision C.1 schematics include: R50 on JTAG connector changed to "Do not fit" (Figure 22), STM1001 removed from reset circuit (Figure 16). Replaced STR912FW44X6 by STR912FAW47X6 throughout the manual. Document reformatted. Changes
17-May-2006
2
2-Nov-2007
3
45/46
UM0174
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ("ST") reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST's terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST'S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER'S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
2007 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com
46/46
|