UM0156
USER MANUAL
SDK-ST10F269 Quick Start Software Development Kit
Introduction
This SDK-ST10F269 Quick Start Software Development Kit User Manual provides extensive information
about the development board, including board diagrams, associated schematics, main components, and
connectors. The SDK-ST10F269 Kit includes a two-layer, low-cost development board with an ST10F269
16-bit Embedded Flash Memory Microcontroller. The board features versatile circuitry which allows the
user to develop a variety of applications. The SDK-ST10F269 is considered a general purpose
application board used for developing advanced motor control solutions and processing external data
(e.g., sensor outputs).
Three dedicated connectors for motion control allow the user to control different kinds of motors by
plugging in external power motor boards. An RS232 connector, two Controller Area Network (CAN)
connectors, and one I
2
C connector are used for additional external device management. In particular, the
I
2
C bus framework is used to connect to an EEPROM IC embedded in the board (see
Figure 3 on
page 7).
See associated datasheets and technical literature for details about the components related to the
ST10F269 development board (on the companion CD-ROM or on the web):
■
■
■
http://www.st.com/mcu/ (ST10F269 information and User Manual)
http://www.st.com/powerspin/ (L6205, L6235 information)
http://www.st.com/ (L6386 information)
SDK-ST10F269 Development Board
Figure 1.
September 2013
Rev
2
1/35
http:/www.st.com
35
UM0156 - USER MANUAL
Contents
1
Main Devices and Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.1
1.2
ST10F269Z2 16-bit Microcontroller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
M24C04 4Kbit Serial I²C Bus EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2
Main Platform Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.1
2.2
2.3
2.4
2.5
2.6
2.7
User Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Memory Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Communication Bus with External Peripheral Access . . . . . . . . . . . . . . . . . 11
Managing Interrupts (Hardware) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Timers and Pulse Width Modulation (PWM) Units . . . . . . . . . . . . . . . . . . . . 12
Analog-to-Digital Conversion (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Other General Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3
Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.1
3.2
3.3
On-board Motor Control Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Power Board Connectors (for Motor Control) . . . . . . . . . . . . . . . . . . . . . . . . 14
Additional External Device Access Connectors . . . . . . . . . . . . . . . . . . . . . . 15
4
DIP Switch Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.1
4.2
4.3
4.4
4.5
4.6
SW4 Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
SW5 Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
EA Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
User Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
I
2
C Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
I
2
C 3.3V and 5V 3-pin Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Appendix A: Strip-line Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Appendix B: SDK-ST10F269 Schematics . . . . . . . . . . . . . . . . . . . . . . . . . 23
Appendix C: Motor Board Example Schematics . . . . . . . . . . . . . . . . . . . 28
Appendix D: SDK-ST10F269 Bill Of Materials . . . . . . . . . . . . . . . . . . . . . . 31
2/35
UM0156 - USER MANUAL
Appendix E: SDK-ST10F269 CD-ROM Content . . . . . . . . . . . . . . . . . . . . . 32
Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Application Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Datasheets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Other Documents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32
32
33
33
33
5
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3/35
UM0156 - USER MANUAL
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.
SDK-ST10F269 Development Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
SYSCON Register Bits Used to Manage the Internal Memory . . . . . . . . . . . . . . . . . . . . . . . 6
SDK-ST10F269 Development Board Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
ST10F269 Connections, Top View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
ST10F269 Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
SDK-ST10F269 External Motor Control with Embedded Modular Connectors . . . . . . . . . 13
Power Board Connector and Related Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
RS232 DB9 Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
CAN Connector, 9-pin DSUB Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
SW4 (User Switch) Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
SW5 (User Switch) Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
SDK-ST10F269 Board Schematic, page 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
SDK-ST10F269 Board Schematic, page 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
SDK-ST10F269 Board Schematic, page 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
SDK-ST10F269 Board Schematic, page 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Single Motor Power Board with the L6235 (up to 150W) . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Dual Motor Power Board with the L6205 (up to 300W) . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4/35
UM0156 - USER MANUAL
List of Tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
Table 7.
Table 8.
RS232 Connector Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
CAN Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
External Bus Chip Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Chip Select Line Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Segment Address Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Selection of CPU Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Strip-line (4) Connector Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Bill Of Materials. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5/35