comparison libs/STM32F10x_StdPeriph_Lib_V3.5.0/Project/STM32F10x_StdPeriph_Examples/USART/Printf/readme.txt @ 0:c59513fd84fb

Initial commit of STM32 test code.
author Daniel O'Connor <darius@dons.net.au>
date Mon, 03 Oct 2011 21:19:15 +1030
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c59513fd84fb
1 /**
2 @page USART_Printf USART Printf example
3
4 @verbatim
5 ******************** (C) COPYRIGHT 2011 STMicroelectronics *******************
6 * @file USART/Printf/readme.txt
7 * @author MCD Application Team
8 * @version V3.5.0
9 * @date 08-April-2011
10 * @brief Description of the USART Printf example.
11 ******************************************************************************
12 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
13 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
14 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
15 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
16 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
17 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
18 ******************************************************************************
19 @endverbatim
20
21 @par Example Description
22
23 This example shows how to retarget the C library printf function to the USART.
24 This implementation output the printf message on the Hyperterminal using USARTx.
25 USARTx can be USART1 or USART2 depending on the EVAL board you are using.
26
27 The USARTx is configured as follow:
28 - BaudRate = 115200 baud
29 - Word Length = 8 Bits
30 - One Stop Bit
31 - No parity
32 - Hardware flow control disabled (RTS and CTS signals)
33 - Receive and transmit enabled
34
35
36 @par Directory contents
37
38 - USART/Printf/stm32f10x_conf.h Library Configuration file
39 - USART/Printf/stm32f10x_it.h Interrupt handlers header file
40 - USART/Printf/stm32f10x_it.c Interrupt handlers
41 - USART/Printf/main.c Main program
42 - USART/Printf/system_stm32f10x.c STM32F10x system source file
43
44 @par Hardware and Software environment
45
46 - This example runs on STM32F10x Connectivity line, High-Density, High-Density
47 Value line, Medium-Density, XL-Density, Medium-Density Value line, Low-Density
48 and Low-Density Value line Devices.
49
50 - This example has been tested with STMicroelectronics STM32100E-EVAL (High-Density
51 Value line), STM32100B-EVAL (Medium-Density Value line), STM3210C-EVAL (Connectivity line),
52 STM3210E-EVAL (High-Density and XL-Density) and STM3210B-EVAL (Medium-Density)
53 evaluation boards and can be easily tailored to any other supported device
54 and development board.
55 To select the STMicroelectronics evaluation board used to run the example,
56 uncomment the corresponding line in stm32_eval.h file (under Utilities\STM32_EVAL)
57
58 - STM32100E-EVAL Set-up
59 - Connect a null-modem female/female RS232 cable between the DB9 connector
60 CN10 and PC serial port.
61
62 - STM32100B-EVAL Set-up
63 - Connect a null-modem female/female RS232 cable between the DB9 connector
64 CN10 and PC serial port.
65
66 - STM3210C-EVAL Set-up
67 - Connect a null-modem female/female RS232 cable between the DB9 connector
68 CN6 (USART2) and PC serial port.
69 @note Make sure that jumpers JP19 and JP18 are open.
70
71 - STM3210E-EVAL Set-up
72 - Connect a null-modem female/female RS232 cable between the DB9 connector
73 CN12(when USART1 is used) and PC serial port.
74
75 - STM3210B-EVAL Set-up
76 - Connect a null-modem female/female RS232 cable between the DB9 connector
77 CN6(when USART1 is used) and PC serial port.
78
79 - Hyperterminal configuration:
80 - Word Length = 8 Bits
81 - One Stop Bit
82 - No parity
83 - BaudRate = 115200 baud
84 - flow control: None
85
86 @par How to use it ?
87
88 In order to make the program work, you must do the following :
89 - Copy all source files from this example folder to the template folder under
90 Project\STM32F10x_StdPeriph_Template
91 - Open your preferred toolchain
92 - Rebuild all files and load your image into target memory
93 - Run the example
94
95 @note
96 - Low-density Value line devices are STM32F100xx microcontrollers where the
97 Flash memory density ranges between 16 and 32 Kbytes.
98 - Low-density devices are STM32F101xx, STM32F102xx and STM32F103xx
99 microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes.
100 - Medium-density Value line devices are STM32F100xx microcontrollers where
101 the Flash memory density ranges between 64 and 128 Kbytes.
102 - Medium-density devices are STM32F101xx, STM32F102xx and STM32F103xx
103 microcontrollers where the Flash memory density ranges between 64 and 128 Kbytes.
104 - High-density Value line devices are STM32F100xx microcontrollers where
105 the Flash memory density ranges between 256 and 512 Kbytes.
106 - High-density devices are STM32F101xx and STM32F103xx microcontrollers where
107 the Flash memory density ranges between 256 and 512 Kbytes.
108 - XL-density devices are STM32F101xx and STM32F103xx microcontrollers where
109 the Flash memory density ranges between 512 and 1024 Kbytes.
110 - Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers.
111
112 * <h3><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h3>
113 */