STM32V100评估板用户手册

合集下载

河里基地STM32评估板用户手册说明书

河里基地STM32评估板用户手册说明书

User ManualRIVERDI STM32 Evaluation BoardRev. 1.4 2021-06-02R i v e r d i E v a l u a t i o n B o a r d U s e r M a n u a lREVISION RECORDREVNO. REVDATE CONTENTS REMARKS1.0 2020-08-17 Initial Release1.1 2020-11-06 CPU information updated1.2 2021-03-09 Pictures updated1.3 2021-03-31 Document adjusted into standard template1.4 2021-06-02 Corrections on description related to jumper P7,P8,P9CONTENTSREVISION RECORD (2)Target readers (4)Overview (4)Introduction (5)Board functionality test (5)Interfacing with EVE Displays (6)Using the SPI on the STM32 (10)Hardware features (11)7.2.1 Internal (11)7.2.2 External (12)Additional literature (14)Warranty limitation (14)Legal information (14)Appendix (15)Target readersThe aim of this document is to enable engineers using Riverdi STM32 Evaluation Board to get the tested Riverdi display running fast and easily. Further tests and development can be carried out shortly after Riverdi STM32 Evaluation Board is switched on for the first time.OverviewThe Riverdi evaluation board is designed as a complete demonstration and development platform for Riverdi’s EVE and IPS displays lines driver technology.The Riverdi evaluation board features an STM32F469II Cortex-M4 microcontroller with: LCD parallel interface including 8080/6800 modes, an LCD-TFT controller, Chrom-ART Accelerator™ for enhanced graphic content creation (DMA2D), secure digital input/output interface (SDIO), LTDC signals available on header P11 with additional MCU pins broken out on P12, external SDRAM, MicroSD slot for data/media storage, RiBUS FFC conn P3 featuring SPI, UART and LCD supply pins (SPI can be controlled by either STM32 or UBS serial bridge via jumper on P7/8/9) and configurable display backlight supply (EXT/INT).IntroductionRiverdi STM32 Evaluation Board is a tool designed to help get you started on working with Riverdi products. It not only supports EVE modules but also RGB displays (in combination with touch panels) by Riverdi.You have two primary options to drive external displays:1.Jumper between P7 & P8: FTDI serial/SPI bridge connected to RiBUS SPI:Use the FT232 serial to SPI bridge by connecting a micro USB cable to the connector labeled “Direct USB” and using the EVE Screen Editor to quickly generate graphical user interfaces with minimum effort .2.Jumper between P9 & P8: STM32 connected to RiBUS SPI:Use the onboard STM32F4 to develop and test firmware for driving a connected display or display controller, like the FT80x, FT81x and BT81x series.Board functionality testThere are firmware examples with which you can test your Riverdi STM32 Evaluation Board. You can also use those as a starting point for your own firmware development.Interfacing with EVE DisplaysUsing the FTDI SPI Bridge & EVE Screen EditorPrerequisites:•Riverdi STM32 Evaluation Board•EVE-enabled display•RiBUS flexible flat cable (FFC)EVE Screen Editor InstallationDownload and install the EVE screen Editor from the FTDI homepage:https:///Support/Utilities.htm#EVEScreenEditorSetup & ConfigurationTo connect the FTDI SPI bridge to the EVE display, the configuration jumpers need to be placed between P7 and P8, as in the picture below.Set the backlight jumper (placed over the backlight power configuration pins) to 5V BL on P4 (also refer to the picture below). Please see description on how to connect power for backlight in section “Hardware features”, subsection “Backlight power supply”.Start EVE Screen Editor and you will be greeted with the screen similar to the one below:On the lower right hand side of the window, click on the ”Devices” tab.On the lower left hand side, you will find 3 buttons:This button refreshes the devices list above it;This button opens a menu to select one from the preconfigured displays list;This button opens a menu to define your own display to be driven.Use a USB cable to connect the “USB Direct” port to your computer, when running the EVE Screen E ditor application. Click the “Refresh” button afterwards and your dev board should show up like in the picture below:Select "Single RS232-HS ()” entry by clicking on it and use the ‘Connect’ button to let EVE Screen Editor try and boot up your display.If everything works properly, your display should show a blue screen with some text.Hello WorldAfter connecting to Eval Board, to generate its first text message (e. g. 'Hello World'), we are going to use the EVE Screen Editor’s built-in drag & drop editor.(The drag operation is shown in green, the generated coprocessor commands are shown in the yellow box and the button to send the data to the EVE display is seen inside the red box.)What you see now is the preview of what will be drawn on the physical screen in a moment. Note that in the lower part of the window the coprocessor tab shows which EVE pre-processor commands were generated and will be sent to the EVE display shortly after.To send the commands also drawn in the preview pan to the physical display, press the button labeled “Upload RAM_G and RAM_DL”.Using the SPI on the STM32Prerequisites•Riverdi STM32 Evaluation Board•EVE enabled display•RiBUS flexible flat cable (FFC)•Your favorite tool to flash the onboard STM32 (assuming that you use STM32CubeProgrammer together with an STLink v2 compatible ISP Programmer)InstallationUse the provided source code or the pre-compiled binary file.ConfigurationIn order to connect the STM32 to the EVE display, the configuration jumpers need to be placed between P9 and P8. Check the jumper and the USB cable position (in ‘STM32 USB’ socket) in the picture below.Hardware featuresModule power supplyPossible to deliver from one of 2 USB ports on Eval Board (“Direct USB” or “STM32 USB”), in accordance with USB standard (5.0 VDC max.)Backlight power supply7.2.1InternalFor display sizes from 3.5” to 5.0”, the USB port gives enough power to get adequate backlight level. Such backlight power supply configuration (jumper is in higher position, connects BL to 5V on P4) is shown in the picture below.For 7.0” displays, USB minimal power capability needs to be 700mA @ 5V (this is a combined power of Eval Board, BT817Q board and backlight). Please make sure your USB source has enough current efficiency. If not, use external 5V power source in the way described in point 6.2.2.7.2.2ExternalAll the 10.1” (and rarely certain 7.0” displays) require external power supply for backlight, as the backlight voltage exceeds 5V and power consumption is over the USB standard. To provide adequate backlight power, set the jumper in P4 to lower position (it connects BL to EXT) – it must be placed in lower position and connect the external DC voltage source to neighboring connector (“BL PWR”). Refer to the picture and below.Caution! There is no reverse polarity protection on EXT_BL_PWR, incorrect connection will damage the backlight permanently. Proceed carefully.EVE4 BT817Q TFT series backlight power requirement summary:Display size Internal (from USB) External3.5”OK 3.3V-6.0V (optional)4.3”OK 3.3V-6.0V (optional)5.0”OK 3.3V-6.0V (optional)7.0”Ok, if USB has 700mA min. efficiency 3.3V-6.0V (optional)You can find exact currents for specific TFT in datasheet:https:///product-category/intelligent-displays/bt817q/MicrocontrollerSTM32F469II, Arm Cortex-M4 MCU @ up to 180MHzExternal SDRAMIS42S16400J, 64Mbit/WW/pdf/42-45S16400J.pdfFTDI serial to SPI bridgehttps:///Support/Documents/DataSheets/ICs/DS_FT232H.pdfMicroSD slotWhen functional microSD card is placed in this slot, after being formatted in FAT32 format, microSD card’s memory space can be used by microcontroller as the regular filesystem.RiBUS FFC-connectorSupport for FT80x, FT81x, BT81x (max SPI speed = 30MHz),https:///download/5318/FTDI app note AN312 contains c headers and example code for FT800User LEDs: 2 pcsThey can be configured by the user, from program level.Power LED indicating power to FTDI "Direct USB”FTDI input powers both rails.Power LED indicating power to STM32 "STM32 USB"STM32 powers its own rail only.User Buttons: 2 pcsThese may be used in future, they are not used now.Serial RGB bus headerPlease refer to Application Note: ST AN4861 (LCD-TFT display controller (LTDC) on STM32 MCUs).Additional literatureAll the below sources contain the data of four BT815/816 (EVE3) and BT817/BT818 (EVE4) ICsBT81x, General:https:///bt81x/BT81x, Datasheets:https:///wp-content/uploads/Support/Documentation/Datasheets/ICs/EVE/DS_BT81X.pdfBT81x, Programming guides:https:///wp-content/uploads/Support/Documentation/Programming_Guides/ICs/EVE/BRT_AN_033_BT81X_Serie s_Programming_Guide.pdfWarranty limitationEnd user is instructed how to connect external power sources to the unit, which brings the potential threats to the Eval Board and display. Riverdi cannot be held responsible for actions beyond its control and consequently the warranty DOES NOT cover the effects of reversed power supply polarity on backlight terminals. Refer to clause in red color in section 6.2.2 of this documentLegal informationThis document has been issued with professional care. Riverdi did their best to avoid any errors, but we do not grant full warrant it is 100% errors free. Please contact Riverdi if you find any mistakes or when you think some important information is missing in this Manual.It can be updated or altered without any written notice. Riverdi cannot be held responsible for not announcing any changes or issuing next revisions or versions of this document.AppendixHardware Pinouts# Pin Description MCU Peripheral25 PF7 User Led 1 (left) GPIO Output26 PF8 User Led 2 (right) GPIO Output53 PA7 User Button 1 GPIO Input (enable pull-up)50 PA4 User Button 2 GPIO Input (enable pull-up) 130 PH15 uSD Detect (hi: uSD present) GPIO Input (enable pull-up)40 PA0 STL_TX (UART) UART4 TX41 PA1 STL_RX (UART) UART4 RX95 PB15 R_MOSI (SPI2) SPI2 MOSI94 PB14 R_MISO SPI2 MISO93 PB13 R_CLK SPI2 SCK92 PB12 R_CS SPI2 NSS86 PH9 R_INT GPIO Input84 PH10 R_RST GPIO Output5 MOSI / IO.0 PI MISO Signal / QSPI data line 06 CS SPI Chip Select Signal7 INT Interrupt Signal (Out to MCU)8 RST / PD Reset / Power Down Signal9 - 14 NC NC15 RX UART RX / I2C16 TX UART TX / I2C17 BLVDD Backlight Power Supply, 5V18 BLVDD Backlight Power Supply, 5V19 BLGND Backlight Ground (GND on display)20 BLGND Backlight Ground (GND on display)GND 1 2 3.3V VCCMOSI 3 4 SCKnCS 5 6 MISOnRST 7 8 nINTNC 9 10 NCNC 11 12 NCNC 13 14 NCTX 15 16 RX5V Backlight 17 18 5V BacklightGND 19 20 GND。

STM32马达控制套件评估板技术手册(第二版)

STM32马达控制套件评估板技术手册(第二版)

STM32马达控制套件评估板技术手册(第二版)STM32 是基于ARM Cortex-M3内核的32位微控制器,其强大的内核及其丰富的外设使其在无刷马达控制应用领域得到了广泛的使用。

为了使用户能快速地基于STM32 开发出无刷马达控制器,我们公司推出了基于三相感应马达及PMSM马达的应用套件,该套件包含了ST马达控制软件库V2.0及相应的评估板。

基于国产第一版推出后受到网友的热捧,产品一度脱销,因此我们在参考了国外几家半导体公司的马达驱动板的设计理念后,结合网友使用第一版后提出的合理建议,我们推出了第二版,下面我们介绍第二版的基本特点:一、硬件特点:基于客户使用第一版反馈的建议,我们仍然保持控制板较大的驱动功率,但是MCU及功率板做在了一起,这是由于第二版的开发目标针对的是高精密的运动伺服控制器,所以要求驱动和采样信号尽量高速可靠的传输,减少中间容易出错及受到干扰的可能性。

根据客户的建议,MCU选择使用100脚的STM32F103VXT6芯片作为其主控芯片,功率版提供2种MOSFET选择,ST生产的75V/75A先进MOSFET,可以支持直流50V,电流到30A的低压应用,驱动功率达到600W,另一种为飞利浦生产的BUK7510,可以支持直流72V,电流到35A的低压应用,驱动功率达到800W同时高压功率驱动板正在开发中,届时将会使用600V/30A智能IPM模块或者IGBT,驱动功能将达到3KW左右。

下面是板子的硬件说明:控制电源部分:控制电源采用单独输入,目的是在使用高压驱动电源时,可以单独为控制部分供电,从而使得动力电压范围更广。

一般驱动电源在+50V以下的应用,控制和驱动可以使用同一路电源,但是高于+50V以后,建议使用单独供电,当然为了提供更大的适应不同场合的能力,我们使用特殊的高压DC BUCK芯片即使电压高达直流125V,也可以继续使用同一路电源供电,但是考虑安全因素,我们不建议您这样使用。

MINI_STM32用户手册

MINI_STM32用户手册

MINI-STM32 超牛组合学习套装用户手册MINI-STM32 超牛组合学习套装用户手册CopyRight@2009MINI-STM32 超牛组合学习套装用户手册第一章、产品简介1.1、MINI-STM32超牛组合学习套装简介MINI-STM32超牛组合学习套装是 为初学者学习STM32 Cortex M3 系列ARM 而设计的学习套件。

MINI-STM32超牛组合学习套装采用STM32F103RBT6作为核心MCU ,并外接了2.8寸彩色TFT 屏模块、UART 、USB 、ADC 电压调节、按键等硬件接口,结合目前最流行的JLINK V7仿真器和RealView MDK(Keil uVision3 )集成开发环境,构成初学者学习入门、硬件设计参考、软件编程调试的学习平台,配合本手册可以迅速帮你掌握嵌入式系统的开发流程。

1.2、MINI-STM32 开发板外观MINI_STM32开发板硬件图1.3、MINI-STM32 特性CPU :标配STM32F103RBT6,ARM Cortex-M3内核,128kB Flash, 20KB RAM (默认配置)高配STM32F103RCT6 ARM Cortex-M3内核,256kB Flash, 48KB RAM (用户可选) 最高工作时钟72MHz,64脚,同时可更换更高配置的CPUUSB 接口,可以做USB 实验RS232(ISP 下载)包括串口电平转换芯片MAX3232,可做RS232通信实验 标准ARM JTAG 20仿真下载接口MINI-STM32 超牛组合学习套装用户手册所有 IO 口均引出,方便做实验 RTC 后备电池座ADC 电压调节电位器,可以做ADC 采样实验电源指示灯、USB 状态指示灯,两个用户可编程指示灯 两个用户按键启动模式选择跳线,JTAG 方式和SWD 方式选择跳线 板载5V 、3.3V LDO 1117,最大提供 800mA 电流 USB 供电或jLink Command 输入power on 命令供电 8MHz CPU 晶振,32.768kHz RTC 晶振 超小体积 PCB 尺寸: 82mm ×55mm1.4、2.8寸彩色TFT屏模块外观和特性2.8寸彩色TFT 模块外型图MINI-STM32 超牛组合学习套装用户手册屏幕分辨率:240*320 屏幕大小:2.8寸带触摸屏,带手写输入功能 屏幕颜色:26万色 单3.3V 供电16位并行数据接口模块底板带背光PWM 亮度驱动控制模块底板带ADS7843或TSC2046触摸屏控制器屏幕尺寸:50mm*70mm,有效显示面积:45mm*59mm ,模块厚度7mm(不包括连接插针) 模块外型尺寸:82mm*55mm2.8寸彩色TFT 屏模块接脚定义脚位 功能描述 脚位 功能描述 01脚 3V3 电源正 17脚 DB14 数据线 02脚 GND 电源负 18脚 DB15 数据线03脚 DB00 数据线 19脚 CS 屏片选,低有效 04脚 DB01 数据线 20脚 RS 寄存器选择05脚 DB02 数据线 21脚 WR 写使能,低有效 06脚 DB03 数据线 22脚 RD 读使能,低有效 07脚 DB04 数据线 23脚 RESET复位,低有效 08脚 DB05 数据线 24脚 BACK_LIGHT 背光控制,高有效09脚 DB06 数据线 25脚 MISO SPI 主入从出 10脚 DB07 数据线 26脚 INT 触摸中断输出 11脚 DB08 数据线 27脚 MOSI SPI 主出从入 12脚 DB09 数据线 28脚 BUSY 触摸芯片忙检测 13脚 DB10 数据线 29脚 SCLK SPI 时钟 14脚 DB11 数据线 30脚 SDA I2C 数据线 15脚 DB12 数据线 31脚 T_CS 触摸芯片片选 16脚DB13数据线 32脚SCLI2C 时钟线1.5、jlink v7仿真器外观和特性相关特性:USB 2.0接口;支持任何ARM7/ARM9/ARM11核,支持Cortex M3 , 包括ithumb 模式;对于Cortex-M3的Serial Wire Viewer(SWV)速度是V6的12倍下载速度达到600k byte/s;DCC速度到达800k byte/s;与IAR Workbench RealView MDK可无缝集成;通过USB供电,无需外接电源;JTAG最大时钟达到12M;自动内核识别;自动速度识别;支持自适应时钟;所有JTAG信号能被监控,目标板电压能被侦测;支持JTAG链上多个设备的调试;完全即插即用;20Pin标准JTAG连接器;宽目标板电压范围:1.2V-5.0V;多核调试;包括软件:J-Mem,可查询可修改内存;J-Link Server:(可通过TCP/IP连接到J-Link);J-Flash,支持独立的Flash编程,可以作为量产解决方案;RDI插件使J-Link适合任何RDI兼容的调试器如IAR、ADS、Relview和Keil等;RDI Flash BP,可以实现在RDI下,在Flash中设置无限断点;RDI Flash DLL,可以实现在RDI下的对Flash的独立编程;GDB server,可以实现在GDB环境下的调试。

STM32中文参考手册

STM32中文参考手册
9 DMA 控制器(DMA)
9.1 DMA简介
9.2 DMA主要特性
9.3 功能描述
STM32F10xxx参考手册
75
75 75 76 76 77 77 77
78
78 78 79 79 80 80 81 82 82
83
83 83 86 86 87 87
88
89
89
89 89
91
91 92 92 92 94
108
9.4.3 DMA通道x配置寄存器(DMA_CCRx)(x = 1…7)
108
9.4.4 DMA通道x传输数量寄存器(DMA_CNDTRx)(x = 1…7)
110
9.4.5 DMA通道x外设地址寄存器(DMA_CPARx)(x = 1…7)
110
9.4.6 DMA通道x存储器地址寄存器(DMA_CPARx)(x = 1…7)
16
1.3 可用的外设
16
2 存储器和总线构架
17
2.1 系统构架
17
2.2 存储器组织
18
2.3 存储器映像
19
2.3.1 嵌入式SRAM
20
2.3.2 位段
20
2.3.3 嵌入式闪存
21
2.4 启动配置
23
3 CRC计算单元(CRC)
25
3.1 CRC简介
25
3.2 CRC主要特性
25
3.3 CRC功能描述
STM32F10xxx参考手册
38
38 39
39
39 39 40 40 42
45
45
45 45 46
46
48 48 49 49 49 50 50 50 50 50

STM32开发板使用说明

STM32开发板使用说明

STM32开发板使用说明1、开发板使用到的软件及安装说明在开始学习开发板之前需要安装的软件有:1、KEIL3.80A,2、PL-2303HX驱动,3、串口调试助手,4、下载器MCUISP。

这些软件在课件文件下面的软件文件里。

具体安装步骤如下:1.KEIL3.80A的安装,打开路径:课件\软件\KEIL3.80A\MDK3.80A安装手册,根据上面的步骤安装软件。

2.PL-2303HX驱动的安装,打开路径:课件\软件\PL-2303HX新版驱动,可根据使用电脑的操作系统来选择安装的软件,如选择安装XP驱动,可打开XP驱动,根据里面的安装说明来安装软件。

一般只要运行PL-2303 Driver Installer。

exe就可以了。

3.串口调试助手的安装,打开路径:课件\软件\串口调试助手,点击sscom33。

exe即可,也可以创建快捷方式在桌面。

4.下载器MCUISP的安装,打开路径:课件\软件\下载器MCUISP,点击mcuisp。

exe 即可,也可以创建快捷方式在桌面。

2、开发环境介绍及使用说明首先是我们之前安装的keil3.80a。

再点击Project->New uVision Project如下图所示:弹出create new project 对话框,新建一个文件夹TEST,然后把工程名字设为test。

点击保存。

弹出选择器件的对话框,因为我们的开发板使用的是STM32F103RBT6 ,所以在这里我们选择STMicroelectronics 下面的STM32F103RB( 如果使用的是其他系列的芯片,选择相应的型号就可以了)。

如下图所示:点击OK,MDK会弹出一个对话框,问你是否加载启动代码到当前工程下面,这里我们选择是。

启动代码是一段和硬件相关的汇编代码。

是必不可少的!在上面点击了是以后,MDK 就把启动代码STM32F10x。

s 加入到了我们的工程下面。

如下图所示:到这里,我们就可以开始编写自己的代码了。

STM32V100评估板用户手册

STM32V100评估板用户手册

引脚
ST8024 信号 信号描述
对应 STM32 引脚
5V/3V
Smart card 电源选择脚
PD11
I/OUC
MCU 数据输入和输出口
PB10
XTAL1
晶振或外部时钟输入
PB12
OFF
检测 Smart Card 插入,产生中断 PE14
到 MCU
RSTIN
卡复位信号输入
PB11
CMDVCC
PE7
2.12 SD 卡接口
STM32 评估板具有 SD 卡接口,支持 SD 卡的读写。SD 卡和 STM32 接口的连接信号如下:
引脚
S D 卡 接 口 信 信号描述 号
对应 STM32 引脚

CD/DAT3
片选
PE3

CMD
MOSI
PA7

VSS
GND

VDD
+3V3

CLK

VSS

DAT0

DAT1
2.15 模拟输入
BNC 接头
引脚号 1 2 3
功能描述 GND GND GND
引脚号 4 5
功能描述 GND Analog input/PC1
2.16 IrDA
STM32 开发板支持红外接收,STM32 评估板上的 IrDA 接收器连接到的UART3上,可 以通过条线JP5来设置使能或禁止红外接收。
短接
电机电流抽样控制被使能
断开
电机电流抽样控制不被使能
短接 断开
连接Reset和调试口的TRST线 不连接Reset和调试口的TRST线
供电电源选择 USB短接 选择USB供电

STM32开发板操作手册说明书

STM32开发板操作手册说明书
Resistance 100 Ω Platinum @0°C
Heavy Duty Surface Mount TC 26881
Strapon® RTD Sensors 22391, 22392 & 22393
–200°C to +760°C (–320°F to +1400°F) Leads to 480°C (900°F)
To illustrate these points Figure I shows a typical surface sensor installation. The sensor in this case is mounted on a pipe which is carrying a fluid. The point closest to the fluid where a sensor can be mounted practically is the outer wall of the pipe. If the fluid flow is adequate and the temperature fluctuations are not severe, the outer wall temperature will be very close to that of the fluid.
–200°C to +232°C (–320°F to +450°F) –200°C to260°C (–320°F to +500°F)
Thermocouple Types K, E, T or J* Grounded or Ungrounded
Resistance 100 Ω or 1000 Ω Platinum @0°C

百为STM32开发板用户手册

百为STM32开发板用户手册

兼容STM3210E-EV AL开发板采用STM32F103ZET6微控制器,带USB2.0,CAN2.0A/B,I2S,I2C,USART,SPI,DAC,FSMC,SDIO,64KB SRAM,512KB Flash,JTAG和SWD仿真下载接口。

软件代码和硬件电路兼容官方STM3210E-EV AL开发板,支持UCOS,uCLinux操作系统。

一、百为STM32开发板概述:1、硬件特性:l 两种供电方式,外部5V供电和USB供电方式l 三种启动模式,下载模式、用户程序模式、内部SRAM启动模式l AK4642 I2S音频DAC,立体声耳机l MicroSD卡接口l 8Mbit SPI FLASH,1MB SRAM,128Mbit NOR Flash,64MB NAND Flashl I2C接口温度传感器芯片LM75Al 两个串口,其中一个带RTS/CTS控制l USB2.0 device接口l CAN2.0A/B兼容接口l JTAG仿真调试下载接口l 240x320 TFT彩屏l 五向游戏杆控制l 复位按键l 4个LED指示灯l RTC电池备份l 全部IO通过双排插针引出l BNC接口2、软件特性:l 简单不带库例程l 官方带库例程l 支持ST官方DEMO程序l 支持UCOS2.86+UCGUI3.90+ILI9320+TSC2046触摸l 支持FATFS+SDIO+helix软解码MP3l uCLinux操作系统l ST GUI库二、开发板硬件框图:硬件模块图:实物功能对照图:CONNETORSTM32F103ZET6SPI FLASHBOOT SELECTAK4642TF CARDAUDIO JACKADC INPUT开发板提供外部5V供电及USB供电两种方式,可通过JP13跳帽选择任意一种。

l 外部5V供电方式,JP13跳帽接PSUl USB供电方式,JP13跳帽接USB,默认USB供电方式l JP1连接1、2,VBAT接到备份电池l JP1连接2、3,VBAT接到3.3V2、启动方式l 从用户FLASH启动l 从系统存储器启动l 从内部SRAM启动开发板上有两种时钟源l X2,32KHz晶振作为RTC时钟源l X1,8MHz晶振作为MCU的时钟源,当使用内部RC震荡器作为时钟源时,可以将8MHz 晶振去掉4、复位方式STM32复位为低电平有效,开发板上有三种复位方式:l 上电复位l 通过开发板上的RESET按键复位l JTAG调试器输入复位信号5、音频AK4642音频芯片连接到STM32F103ZET6的I2S2接口,支持立体声耳机接口输出。

DK-STM32F开发板用户手册

DK-STM32F开发板用户手册

DK-STM32F开发板⽤户⼿册UM0426User manualSTM3210B-EVALevaluation boardIntroductionThe STM3210B-EVAL is an evaluation board for STMicroelectronic’s ARM TM Cortex-M3 core-based STM32F10x 128K microcontrollers. It is designed as a complete development environment for the STM32F10x microcontrollers with full speed USB2.0, CAN2.0A/B compliant interface, two I2C channels, two SPI channels, three USART channels with smartcard support, internal 20KB SRAM and 128KB Flash, JTAG and SWD debugging. With a complete range of hardware evaluations features, the STM3210B-EVAL board is designed to help developers evaluate all device peripherals (such as USB, motor control, CAN, MicroSD card, smartcard, USART) and develop their own applications. Extension connectors make it possible to easily connect a daughter board or wrapping board for a specific application.This user manual provides information on using the STM3210B-EVAL board and its hardware features.Figure 1.STM32F10X 128K evaluation board (STM3210B-EVAL)October 2007 Rev 41/46/doc/986145873.htmlUM04262/46Features●Three 5V power supply options: power jack, USB connector or daughter board●Boot from user Flash, test Flash or SRAM●Audio play and record●64Mbyte MicroSD card●Type A and Type B smartcard support●8Mbyte serial Flash●I2C/SMBus compatible serial interface temperature sensor●Two RS232 communication channels with support for RTS/CTS handshake on one channel●IrDA transceiver●USB 2.0 full speed connection●CAN 2.0A/B compliant connection●Induction motor control connector●JTAG, SWD and trace tool support●240x320 TFT color LCD●Joystick with 4-direction control and selector●Reset, wakeup, tamper and user push buttons● 4 LEDs●RTC with backup battery●Extension connector for daughter board or wrapping boardOrder codeTo order the STM32F10x 128K evaluation board, use the order code STM3210B-EVAL. UM0426ContentsContents1Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51.1LCD configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71.2Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91.3Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101.4Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101.5Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111.6Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111.7Serial flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111.8CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111.9RS232 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121.10Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121.11Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131.12MicroSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131.13Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131.14Analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131.15IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141.16USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141.17Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141.18Display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162.1USB type B connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162.2CAN D-type 9-pin male connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . 162.3Analog input connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172.4Power supply connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172.5RS232 connector CN5 with RTS/CTS handshake support . . . . . . . . . . . 182.6RS232 connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182.7JTAG debugging connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192.8Audio jack CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192.9SWD debugging connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192.10Trace debugging connector CN10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203/46Contents UM04264/462.11Daughter board extension connectors CN12 and CN13 . . . . . . . . . . . . . 21 2.12Motor control connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2.13MicroSD connector CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.14Smartcard connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Appendix A STM3210B-EVAL IO assignments . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45UM0426Hardware layout and configuration 1 Hardware layout and configurationThe STM3210B-EVAL board is designed around a STM32F103VBT6 microcontroller in a100-pin LQFP package.The hardware block diagram Figure2 shows the connections between the STM32F10xmicrocontroller and peripherals (LCD, SPI Flash, USART, IrDA, USB, Audio, CAN bus, RTC,smartcard, MicroSD card and motor control).Figure3will help you locate these features on the evaluation board.5/46Hardware layout and configuration UM04266/46Figure 3.STM3210B-EVAL board layoutCN12Extension connectorCN5USART2U1STM32F103VBT6CN6USART1U11IrDACN1USBCN45V powerB1RESET B2WAKEUP CN16Smartcard B4T amper U18JoystickB3General purpose keyCN14Motor controlCN2CAN connectorCN9SWDCN10T raceCN7JT AGU17Color LCDCN8Audio jackRV1PotentiometerCN13Extension connectorCN15MicroSD cardUM0426Hardware layout and configuration7/46The following sections provide jumper settings for configuring your STM3210B-EVAL board and peripherals.Two types of jumpers are used on the STM3210B-EVAL board:●3-pin jumpers with two possible positions, for which the possible 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 4.) Figure 4.Settings for two-pin jumpersconfigurationThe STM3210B-EVAL can be delivered with either one of two LCDs mounted on the MB542board, depending on the board version. These two LCDs look alike and operate in the same way, however they have different control circuits, and therefore require different software drivers. Y ou must ensure that the demonstration software pre-loaded in the flash memory of the microcontroller on the evaluation board supports the LCD that you have.If your STM3210B-EVAL product includes the MB542 board version B-01 or later , it is mounted with the LCD referenceAM240320L8TNQW-00H (from Ampire). The controller reference is ILI9320 (from ILITEK,/doc/986145873.html). The products that include this LCD have a label on the daughter board (to the left of the display) as shown in Figure5.Figure 5.LCD label on MB542 board version B-01 or laterNot fittedFittedHardware layout and configurationUM04268/46The demonstration software delivered with the evaluation boards that carry this label is STM3210B-EVAL_DEMO version 1.1 or later. It automatically detects which version of the LCD is mounted on the daughter board, and it supports both.If your STM3210B-EVAL product includes the MB542 board version B-00 or earlier , it is mounted with the LCD reference AM-240320LTNQW01H. The controller reference is HX8312-A (from Himax, /doc/986145873.html ). The products that include this LCD do not have a label on the component side of the daughter board as shown in Figure 6. The label is on the solder side, therefore not visible when the MB452 board is screwed onto the MB525 board.Figure 6.No LCD label on component side of MB542 board version B-00The demonstration software delivered with the evaluation boards that do not carry a visible label is STM3210B-EVAL_DEMO version 1.0 or earlier. This software only supports the LCD reference AM-240320LTNQW01H.Note:Y ou can download the latest version of the software demonstration from theSTmicroelectronics support site, /doc/986145873.html/mcu. The STM3210B-EVAL_DEMO software is included in the STM3210B-EVAL demonstration software user manual (UM0435)download file. STM3210B-EVAL_DEMO version 1.1 and later support both types of LCD.Table 1.LCD label on MB542 board version B-01 or laterLabel markingMeaningMB542B-0120743001LCD version B-01B PCB version B 01Version 0120743001Board IDUM0426Hardware layout and configuration9/461.2 Power supplyThe STM3210B-EVAL board is designed to be powered by 5V DC power supply and to beprotected by PolyZen U6 in case of incorrect power supply configuration. It is possible to configure the evaluation board to use any of the following sources for the power supply.●5V DC power adapter connected to CN4, the power supply jack labeled “PSU” (for Power Supply Unit) on the silkscreen ●5V DC power with 500mA limitation from CN1, the type-B USB connector on the evaluation board labeled “USB” on the silkscreen●5V DC power from both CN12 and CN13, the daughter board extension connectors labeled “DTB” (for Daughter Board) on the silkscreenThe power supply is configured by setting the related jumpers JP4, JP9 and JP11 as described in T able 2.The LED LD5 is lit when the STM3210B-EVAL board is powered correctly.Hardware layout and configuration UM042610/461.3 Boot optionThe STM3210B-EVAL board is able to boot from:●Embedded user Flash●System memory with boot loader for ISP ●Embedded SRAM for debuggingThe boot option is configured by setting the switches SW1 and SW2 as shown in Table 3.The two possible positions of these micro switches are shown in Figure 7.Figure 7.Switch positions1.4 Clock sourceTwo clock sources are available on the STM3210B-EVAL board for the STM32F10Xmicrocontroller and RTC.●X1, 32KHz crystal for embedded RTC●X2, 8MHz crystal with socket for the STM32F10X microcontroller. It can be removed from the socket when the internal RC clock is used.Table 3.Boot switchesSwitchBoot fromSwitch configurationSTM3210B-EVAL boots from user Flash when SW2 is set as shown to the right (default setting).In this configuration, the position of SW1 doesn’t affect the boot process.Boot 0 = 0, Boot 1 = XSTM3210B-EVAL boots from embedded SRAM when SW1 and SW2 are set as shown to the right. Boot 0 = 1, Boot 1 = 1 STM3210B-EVAL boots from system memory when SW1 and SW2 are set as shown to the right.Boot 0 = 1, Boot 1 = 01 <> 0Switch in position “1”Switch in position “0”1 <> 0S W 1B o o t 1S W 2B o o t 01 <> 0S W 1B o o t 1S W 2B o o t 01 <> 0S W 1B o o t 1S W 2B o o t 0UM0426Hardware layout and configuration11/461.5 Reset sourceThe reset signal of the STM3210B-EVAL board is active low and the reset sources include:●Reset button B1●Debugging tools from connector CN7, CN9 and CN10●Daughter board from CN131.6 AudioThe STM3210B-EVAL board supports both audio recording and playback. This can bedisabled or enabled by setting the jumpers JP6 and JP7. The audio volume can be adjusted using the potentiometer RV2, and the microphone amplifier gain can be adjusted using the potentiometer RV3.1.7 Serial flashA 64Mbit serial flash connected to SPI1 of the STM32F10X microcontroller shares the sameSPI port with the MicroSD card using a different chip select signal. Serial Flash Chip select is managed by the standard IO port PA4.1.8 CANThe STM3210B-EVAL board supports CAN 2.0A/B compliant CAN bus communication based on 3.3V CAN transceiver. The high-speed mode, standby mode and slope control mode are available and selected by setting JP2.Table 4.Reset jumperDescriptionJP10Enables reset of the STM32F10X microcontroller embedded JT AG T AP controllereach time a system reset occurs. JP10 connects the TRST signal from the JT AG connection with the system reset signal RESET#.Default setting: Not fittedTable 5.Audio jumpersJumper DescriptionJP6Audio power amplifier TS4871 is forced into standby mode when JP6 is not fitted. Default setting: FittedJP7Microphone pre-amplifier MAX4061 is forced into shutdown mode when JP7 is fitted. Default setting: Not fittedHardware layout and configurationUM042612/461.9 RS232Two Type D 9-pin connectors, CN6 (USART1) and CN5 (USART2) are available on the STM3210B-EVAL board. The USART1 connector is connected to the RS232 transceiver U10, and the USART2 connector with RTS/CTS handshake signal support is connected to the RS232 transceiver U9.1.10 Motor controlThe STM3210B-EVAL board supports induction motor control via a 34-pin connector, CN14,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 coming from the motor drive board and 6 channels of PWM control signals going to the motor drive circuit.Special motor current sampling operation is enabled by setting jumper JP8.Table 7.Motor control jumpersJumperDescriptionJP8Enables special motor current sampling operation when JP8 is fitted (PD2 connected to PB0). The IO pins PD2 and PB0 are disconnected and can be used by the daughter board when JP8 is not fitted.Default setting: FittedJP12JP12 must be open when the digital encoder signal comes from pin31 of CN14. It must be closed when an analog signal comes from pin31 of CN14.Default setting: Not fitted (open)UM0426Hardware layout and configuration13/461.11 SmartcardThe STMicroelectronics smartcard interface device ST8024 is used on the STM3210B-EVAL board for asynchronous 3V and 5V smartcards. It performs all supply protection and control functions based on the connections with the STM32F10X microcontroller, which are listed in Table 8.An example of smartcard is provided with the board called GSM file system sample . With this board, you can play basic commands, select a file and do simple read/write operations to become familiar with this interface and the ISO/IEC 7816-3 protocol.1.12 MicroSD cardThe 64Mbyte or 128Mbyte MicroSD card, which is connected to SPI1 of the STM32F10xmicrocontroller (shared with serial Flash), is available on the board. The MicroSD card chip selection is managed by the standard IO port PC12.1.13 Temperature sensorOne I 2C interface temperature sensor STLM75 (–55°C to +125°C), which is connected toI 2C1 of the STM32F10x microcontroller, is available on the board. Two discrete N-channel enhancement MOS-FETs are used to demonstrate how different voltage level devices can be connected to the same I 2C bus.1.14 Analog inputOne BNC connector, CN3, is connected to PC1, the ADC channel 11 of the STM32F10xmicrocontroller as an external analog input.Table 8.Connection between ST8024 and STM32F10XST8024 signals DescriptionConnect to STM32F10X5V/3V Smartcard power supply selection pin PD11I/OUC MCU data I/O linePB10XT AL1Crystal or external clock inputPB12OFF Detect presence of a card, Interrupt to MCU PE14RSTIN Card reset input from MCUPB11CMDVCCStart activation sequence input (active low)PE7Hardware layout and configuration UM042614/461.15 IrDAIrDA communication is supported by the IrDA transceiver U11, which is connected to USART3 of the STM32F10x microcontroller. It can be enabled or disabled by setting the jumper JP5.1.16 USBThe STM3210B-EVAL board supports USB2.0 compliant full-speed communication via a USB type B connector (CN1). The evaluation board can be powered by this USB connection at 5V DC with a 500mA current limitation. USB disconnect simulation can be implemented by disconnecting a 1.5K pull-up register from the USB+ line. The USB disconnect simulation feature is enabled by setting JP1.1.17 Development and debug supportThe following debug connectors are available on the STM3210B-EVAL board:●CN7, an industry standard 20-pin JTAG interface connector for connection of debugging/programming tools for ARM7 and ARM9 core-based devices.●CN9, a 10-pin SWD debug connector that supports the new Serial Wire Debug feature of ARM Cortex-M3 devices.●CN10, a 20-pin connector for legacy and future JTAG tools that are compliant with ARM CoreSight.Table 9.IrDA jumpersJumper DescriptionJP5Enables/disables the IrDA transceiver. IrDA is enabled when JP5 is fitted, and disabled when JP5 is not fitted.Default setting: FittedUM0426Hardware layout and configuration15/461.18 Display and input devicesThe 240x320 TFT color LCD (U17) and 4 general purpose LEDs (LD1, 2, 3, 4) are available as display devices. A 4-direction joystick with selection key, general purpose pushbutton (B3), wakeup button (B2) and tamper detection button (B4) are available as input devices.The STM3210B-EVAL board also supports a second optional 122x32 graphic LCD that can be mounted on the U19 connector. The graphic LCD is not provided.Table 11.LCD modulesGraphic LCD U17 (default)Character LCD U19 (optional)Pin on U17Description Pin connectionPin on U19DescriptionPin connection1CS PB21Vss GND 2SCL PB132Vcc +3.3V 3SDI PB153VO -4RS PD74CLK PB135WR PD155SID PB156RD GND 6CS PB27SDO PB147A +5V 8RESET#RESET#8KGND9VDD +3V310VCI +3V311GND GND 12GND GND 13BL_VDD +3V314BL_Control PA815BL_GND GND 16BL_GNDGNDConnectors UM0426 2 Connectors2.1 USB type B connector CN1Figure /doc/986145873.htmlB type B connector CN1 (front view)Table 12. USB type B connector (CN1)Pin number Description Pin number Description1VBUS(power)4GND2DM5, 6Shield3DP2.2 CAN D-type 9-pin male connector CN2Figure 9.CAN D-type 9-pin male connector CN2 (front view)Table 13.CAN D-type 9-pin male connector (CN2)Pin number Description Pin number Description1, 4, 8, 9NC7CANH2CANL3,5,6GND16/46UM0426Connectors17/462.3 Analog input connector CN3Figure 10.Analog input connector CN3 (top view)2.4 Power supply connector CN4The STM3210B-EVAL board can be powered from a DC 5V power supply via the external power supply jack (CN4) shown in Figure 11. The central pin of CN4 must be positive.Figure 11.Power supply connector CN4 (front view)Table 14.Analog input connector CN3Pin numberDescription Pin numberDescription1GND 4GND2GND 5Analog input/PC13GND1453 2DC +5VGNDConnectors UM0426 2.5 RS232 connector CN5 with RTS/CTS handshake support Figure 12.RS232 connector CN5 with RTS/CTS handshake support (front view)Table 15.RS232 connector CN5 with full modem control supportPin number Description Pin number Description1NC6Connect to Pin 42USART2_RXD7USART2_RTS3USART2_TXD8USART2_CTS4Connect to Pin 6 9NC5GND2.6 RS232 connector CN6Figure 13.RS232 connector CN6 (front view)Table 16.RS232 connector CN6Pin number Description Pin number Description1NC6Connect to Pin 42USART1_RXD7Connect to Pin 83USART1_TXD8Connect to Pin 74Connect to Pin 69NC5GND18/46UM0426Connectors 2.7 JTAG debugging connector CN7Table 17.JTAG debugging connectorPin number Description Pin number Description1 3.3V power2 3.3V power3TRST4GND5TDI6GND7TMS8GND9TCK10GND11RTCK12GND13TDO14GND15RESET#16GND17DBGRQ18GND19DBGACK20GND2.8 Audio jack CN8A 3.5mm mono audio jack CN8 is available on the STM3210B-EVAL board. The speaker U12 is bypassed when earphones are plugged into CN8.2.9 SWD debugging connector CN919/46。

STM32使用说明

STM32使用说明

STM32F103核心模块开发板使用说明V1.0一、核心模块特点介绍1、MCU:STM32F103VB,Cortex-M3内核,128kB Flash, 20KB RAM,最高工作时钟72MHz,100脚2、USB接口,可以做USB实验3、包括CAN-BUS芯片TJA1050,可做CAN通信实验4、ARM JTAG 2x10 座5、所有 IO 口均引出6、专用复位芯片电路7、电源指示灯、状态指示灯8、两个用户按键9、启动模式选择10、板载5V、3.3V LDO 1117,最大提供 800mA 电流11、USB供电或单电源供电: +9VDC ,电容滤波12、8MHz 晶振,32.768kHz 晶振13、PCB尺寸: 90mm×64mm二、跳线说明1、启动方式选择跳线说明开发板上的启动方式选择跳线R16100KV33231SW2BOOT0R15100KV33231SW1PB2启动方式选择跳线对应的原理图SW1和SW2为STM32启动方式选择跳线,当SW2左边两个插针短接(即中间插针BOOT0与GND 短接),SW1不接任何跳线帽时,为从FLASH 启动模式,正常使用开发板时,此跳线需短接,如上图所示。

当SW1左边两个插针短接(即中间插针PB2与GND 短接,1和2短接),SW2不接任何跳线帽时,为System Memory 模式。

2、其他跳线说明 (1) JP4和JP5开发板上的JP4和JP5跳线JP4和JP5跳线对应的原理图如上图所示,JP4短接后可以通过USB接口给开发板供电,JP5用来选择是否给PA12(D+)提供1.5k电阻的上拉,做USB相关实验时,需短接。

(2) JP8跳线开发板上的JP8跳线V33VDDAJP8跳线对应的原理图JP8跳线用来给STM32芯片的模拟电源选择供电电源,通常情况下,JP8跳线需短接,用+3.3V提供电源。

(3) JP9双排针(4) JP10双排针(5) JP11双排针(6) JP12双排针三、IAR下用Jlink调试STM32核心模块开发板确认SW2,JP8,JP4,JP5跳线正确短接后,开始安装IAR软件,安装EWARM-EV-WEB-511后,在安装后的目录里\Program Files\IAR Systems\Embedded Workbench 5.0 Evaluation\ARM\examples\ST\STM32F10x\IAR-STM32-SK ,打开IAR-STM32-SK.eww文件,它里面包含多个工程,除了LCD_Demo外,其它工程均无需改动,可以直接使用JLINK下载调试。

STM3210E-EVAL评估板用户手册

STM3210E-EVAL评估板用户手册

UM0488User manualSTM3210E-EVALevaluation boardIntroductionThe STM3210E-EVAL evaluation board is designed as a complete development platform forSTMicroelectronic's ARM Cortex-M3 core-based STM32F103Z microcontroller with fullspeed USB2.0, CAN2.0A/B compliant interface, two I2S channels, two I2C channels, fiveUSART channels with smartcard support, three SPI channels, two DAC channels, FSMCinterface, SDIO, internal 64KB SRAM and 512KB Flash, JTAG and SWD debug support.The full range of hardware features on the board helps you to evaluate all peripherals (USB,motor control, CAN, MicroSD card, smartcard, USART, NOR Flash, NAND flash, SRAM)and develop your own applications. Extension headers make it possible to easily connect adaughter board or wrapping board for your specific application.Figure 1.STM3210E-EVAL evaluation boardOrder codeTo order the STM32F103Z evaluation board, use the order code STM3210E-EVAL.November 2008 Rev 31/48Contents UM0488Contents1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.1Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.2Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42.1Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62.2Boot option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.3Clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.4Reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.5Audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.6Serial Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.7CAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.8RS232 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.9Motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.10Smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102.11MicroSD card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102.12Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112.13Analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112.14IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112.15USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112.16Development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122.17Display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122.18SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132.19NAND Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132.20NOR Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153.1Motor control connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153.2Analog input connectors CN2, CN3 and CN5 . . . . . . . . . . . . . . . . . . . . . 163.3CAN D-type 9-pin male connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . 163.4QST connector CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2/48UM0488Contents3.5Trace debugging connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173.6RS232 connector CN8 with RTS/CTS handshake support . . . . . . . . . . . 183.7JTAG debugging connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183.8Daughter board extension connectors CN10 and CN11 . . . . . . . . . . . . . 193.9RS232 connector CN12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253.10MicroSD connector CN13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253.11USB type B connector CN14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263.12Audio jack CN15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263.13TFT LCD connector CN16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263.14Power connector CN17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263.15Smartcard connector CN18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 4Schematic diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Appendix A STM3210E-EVAL IO assignment. . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463/48Overview UM04884/481 Overview1.1 Features●Three 5 V power supply options: power jack, USB connector or daughter board ●Boot from user Flash, system memory or SRAM ●I2S Audio DAC, stereo audio jack ●128 Mbyte MicroSD card●Both A and B type smartcard support●64 or 128 Mbit serial Flash, 512 Kx16 SRAM, 512 Mbit or 1 Gbit NAND Flash and 128 Mbit NOR Flash●I2C/SMBus compatible serial interface temperature sensor●Two RS-232 channels with RTS/CTS handshake support on one channel ●IrDA transceiver●USB2.0 full speed connection ●CAN2.0A/B compliant connection ●Inductor motor control connector ●JTAG and trace debug support ●240x320 TFT color LCD●Joystick with 4-direction control and selector ●Reset, wakeup, tamper and user buttons ● 4 color LEDs●RTC with backup battery1.2 Demonstration softwareTo use the STM3210E-EVAL evaluation board, you must have the demonstration softwareversion 1.1 or later. If the version installed on your evaluation board is earlier than version 1.1, you must download the latest version from .2 Hardware layout and configurationThe STM3210E-EVAL evaluation board is designed around the STM32F103Zmicrocontroller in a 144-pin TQFP package. The hardware block diagram Figure2 illustratesthe connection between the STM32F103Z and peripherals (LCD, SPI Flash, USART, IrDA,USB, audio, CAN bus, smartcard, MicroSD card, NOR Flash, NAND Flash, SRAM,temperature sensor, audio DAC and motor control) and Figure3will help you locate thesefeatures on the actual evaluation board.Figure 2.Hardware block diagram5/486/482.1 PowersupplyThe STM3210E-EVAL evaluation board is designed to be powered by 5V DC power supplyand to be protected by PolyZen U15 in the event of wrong power plug-in. It is possible toconfigure the evaluation board to use any of following three sources for the power supply:●5V DC power adapter connected to CN17, the power jack on the board (PSU on silkscreen for power supply unit).●5V DC power with 500mA limitation from CN14, the type-B USB connector (USB onsilkscreen).●5V DC power from both CN10 and CN11, the extension connector for daughter board(DTB for daughter board on silkscreen).The power supply is configured by setting the related jumpers JP13, JP12 and JP1 asdescribed in T able1. The LED LD5 is lit when the STM3210E-EVAL evaluation board ispowered correctly.7/488/482.2 Boot optionThe STM3210E-EVAL evaluation board can boot from:●Embedded user Flash●System memory with boot loader for ISP ●Embedded SRAM for debuggingThe boot option is configured by setting the switches BOOT0 and BOOT1.2.3 Clock sourceTwo clock sources are available on the STM3210E-EVAL evaluation board for STM32F103and RTC.●X2, 32KHz crystal for embedded RTC.●X1, 8MHz crystal with socket for STM32F103Z microcontroller, it can be removed from socket when internal RC clock is used.2.4 Reset sourceThe reset signal of the STM3210E-EVAL evaluation board is low active and the resetsources include:●Reset button B1●Debugging tools from JT AG connector CN7 and trace connector CN9●Daughter board from CN11Table 2.Boot related switchesSwitchBoot fromSwitch configurationBOOT0BOOT1STM3210E-EVAL boots from User Flash when BOOT0 is set asshown to the right. BOOT1 is not required in this configuration.(Default setting)STM3210E-EVAL boot from Embedded SRAM when BOOT0 and BOOT1 are set as shown to the right.STM3210E-EVAL boot from System Memory when BOOT0 and BOOT1 are set as shown to the right.0 <> 1Boot 00 <> 1Boot 0Boot 10 <> 1Boot 0Boot 1Table 3.Reset related jumperJumper DescriptionJP19Enables reset of the STM32F103Z embedded JT AG TAP controller each time asystem reset occurs. JP19 connects the TRST signal from the JT AG connection with the system reset signal RESET#. Default setting: not fitted2.5 AudioThe STM3210E-EVAL evaluation board supports stereo audio play because it provides anaudio DAC AK4343 connected to both I2S port and two channels of DAC of microcontrollerSTM32F103Z. Either external slave mode or PLL slave mode (reference clock BICK orLRCK) of audio DAC can be used by setting the jumper JP18.The I2S_MCK is multiplexed with smartcard and motor control, and can be enabled bysetting the jumper JP15. Refer to Section2.9: Motor control for details. Audio DAC AK4343is in power-down mode when PDN pin is pulled-down by PG11.Flash2.6 SerialA 64 or 128Mbit serial Flash connected to SPI1of STM32F103Z, serial Flash chip select ismanaged by IO pin PB2. The SPI1_MISO is multiplexed with motor control, it can beenabled by setting the jumper JP3. Refer to Section2.9: Motor control for details.2.7 CANSTM3210E-EVAL evaluation board supports CAN2.0A/B compliant CAN buscommunication based on 3.3V CAN transceiver. The high-speed mode, standby mode andslope control mode are available and can be selected by setting JP8.9/48connectors2.8 RS232Two D-type 9-pin connectors CN12 (USART1) and CN8 (USART2) are available on theSTM3210E-EVAL evaluation board.●USART1 connector is connected to RS232 transceiver U7●USART2 connector with RTS/CTS handshake signal support is connected to RS-232transceiver U5. The USART2_CTS is multiplexed with motor control, it can be enabledby setting the jumper JP4. Refer to Section2.9: Motor control for details.control2.9 MotorThe STM3210E-EVAL evaluation board supports three-phase brushless motor control via a34-pin connector CN1, which provides all required control and feedback signals to and fromthe motor power driving board. Available signals on this connector include emergency stop,motor speed, three-phase motor current, bus voltage, heatsink temperature coming from themotor driving board and 6 channels of PWM control signals going to the motor drivingcircuit.JP 20 allows to choose between two synchronization methods for power factor correction(PFC).The I/O pins used on the motor control connector CN1 are multiplexed with someperipherals on the board; either the motor control connector or multiplexed peripherals canbe enabled by setting the jumpers JP3, JP4, JP11, JP15 and JP16 as described in Table6.10/4811/482.10 SmartcardSTMicroelectronics smartcard interface chip ST8024 is used on the STM3210E-EVAL board for asynchronous 3V and 5V smartcards. It performs all supply protection and control functions based on the connections with STM32F103Z listed in T able 7.The Smartcard_CMDVCC and Smartcard_OFF are multiplexed with motor control.They can be enabled by setting the jumpers JP15 and JP16. Refer to Section 2.9: Motor control on page 10 for details.2.11 MicroSD cardThe 128 Mbyte MicroSD card connected to SDIO of STM32F103Z is available on the board.MicroSD card detection is managed by standard IO port PF11.The MicroSD card_D3 is multiplexed with IrDA. It can be enabled by setting the jumper JP22, as explained in Section 2.14: IrDA on page 12.The MicroSD card_D0 and MicroSD card CMD are multiplexed with the motor control connector. They can be enabled by setting the jumpers JP17 and JP20.Table 7.Connection between ST8024 and STM32F103ZSignals of ST8024DescriptionConnect to STM32F10X5V/3V Smartcard power supply selection pin PB0I/OUC MCU data I/O linePB10XT AL1Crystal or external clock inputPB12OFF Detect presence of a card, interrupt to MCU, share same pin with motor controller PC7RSTIN Card reset input from MCUPB11CMDVCCStart activation sequence input (active low), share same pin with I 2S DAC and motor controlPC6Table 8.Smartcard related jumpersJumper DescriptionJP15The CMDVCC is connected to PC6 when JP15 is closed. It should be kept on open, or the SD card needs to be removed from the MicroSD card connector when PC6 is used by I 2S or motor control connector. Default setting: not fitted JP16The OFF is connected to PC7 when JP16 is closed. It has to be kept on open when PC7 is used by the motor control connector. Default setting: not fittedTable 9.MicroSD card related jumpersJumper DescriptionJP17JP17 is used to enable MicroSD card data line D0. MicroSD card D0 is enabled when JP17 is fitted. The JP17 should be kept on open when motor control connector CN1 is used. Default setting: fittedJP20JP20 is used by the motor control connector, refer to T able 6 for details. JP20 should be kept on open for MicroSD card operation. JT AG debugging is disabled when JP20 is fitted.12/482.12 Temperature sensorOne I 2C interface temperature sensor STLM75 (–55°C to +125°C) connected to I 2C ofSTM32F103Z is available on the board.2.13 Analog inputThree BNC connectors CN2,CN3 and CN5 are connected to PC3, PC2 and PC1 of theSTM32F103Z as external analog input. The 50 ohm terminal resistor can be enabled by closing the solder bridge JP23, JP24 and JP25 for each BNC connector. A low pass filter can be implemented for each BNC connector CN5, CN3 and CN2 by replacing R5 and C22, R4 and C13, R3 and C9 with the right resistor and capacitor values, depending on the requirements of your application.2.14 IrDAIrDA communication is supported by the IrDA transceiver U13 connected to USART3 of STM32F103Z. The IrDA transceiver can be enabled or disabled by setting JP21.2.15 USBSTM3210E-EVAL evaluation board support USB2.0 compliant full speed communication via a USB type B connector (CN14). The evaluation board can be powered by this USBconnection at 5V DC with 500mA current limitation. USB disconnection simulation can be implemented by disconnecting 1.5K pull-up register from USB+ line. The USB disconnection simulation feature is enabled by setting JP14.Table 10.IrDA related jumpersJumper DescriptionJP21JP21 is used to shutdown the IrDA transceiver.IrDA is enabled when JP21 is fitted while IrDA is disabled when JP21 is not fitted. Default setting: fittedJP22IrDA_RX is enabled when JP22 is closed. The IO pin PC11 is used as the data line 3 of the MicroSD card when JP22 is open. Default setting: not fitted2.16 Development and debug supportThe two debug connectors available on STM3210E-EVAL evaluation board are:●CN9, standard 20-pin JTAG interface connector, compliant with ARM7/9 debug tools.●CN7, SAMTEC 20-pin connector FTSH-110-01-L-DV for both SWD and Trace,compliant with ARM CoreSight debug tools.2.17 Display and input devicesThe 240x320 TFT color LCD connected to bank1 NOR/PSRAM4 of FSMC interface ofSTM32F103Z and four general purpose color LEDs (LD 1,2,3,4) are available as displaydevices. A 4-direction joystick with selection key, general purpose button (B4), wakeupbutton (B2) and tamper detection button (B3) are available as input devices. The jumper JP4should be kept on open to enable the wakeup button B2 which shares the same IO withUSART2 and motor control connector.The STM3210E-EVAL evaluation board also supports a second optional 122x32 graphicLCD that can be mounted on the U18 connector. By default, the graphic LCD is not present.Table 12.LCD modulesTFT LCD CN16 (default)Graphic LCD U18 (optional)Pin on CN16Description Pin connectionPin onU18Description Pin connection1CS CS of Bank3 ofFSMC1Vss GND2RS FSMC_A02Vcc 3.3V3WR/SCL FSMC_NWE3VO-4RD FSMC_NOE4CLK P A55RESET RESET#5SID P A76PD1FSMC_D06CS PF107PD2FSMC_D17A+5V8PD3FSMC_D28K GND9PD4FSMC_D310PD5FSMC_D411PD6FSMC_D512PD7FSMC_D613PD8FSMC_D714PD10FSMC_D815PD11FSMC_D916PD12FSMC_D1017PD13FSMC_D1118PD14FSMC_D1213/4814/482.18 SRAM512Kx16 SRAM is connected to bank1 NOR/PSRAM3 of the FSMC interface and both 8-bit and 16-bit access are allowed by BLN0 and BLN1 connected to BLE and BHE of SRAM respectively.2.19 NAND FlashThe 512Mbit x8 or 1Gbit x8 NAND Flash is connected to NAND bank2 of the FSMCinterface. The ready/busy signal can be connected to either WAIT signal or FSMC_INT2 signal of STM32F103Z depending on the setting of JP7.19PD15FSMC_D1320PD16FSMC_D1421PD17FSMC_D1522BL_GND GND 23BL_control 3.3V 24VDD 3.3V 25VCI 3.3V 26GND GND 27GND GND 28BL_VDD 3.3V 29SDO P A6 via JP2630SDIP A7 via JP27Table 12.LCD modules (continued)TFT LCD CN16 (default)Graphic LCD U18 (optional)Pin on CN16Description Pin connection Pin on U18DescriptionPin connection15/482.20 NOR Flash128Mbit NOR Flash is connected to bank1 NOR/PSRAM2 of the FSMC interface. The 16-bit operation mode is selected by a pull-up resistor connected to the BYTE pin of the NORFlash. Write protection can be enabled or disabled by jumper JP5.Three different NOR 128-Mbit references can be present on the evaluation board depending on component availability.These three references are not identical in terms of ID code, speed, timing or blockprotection. The demonstration firmware and the software library delivered with the board support these three NOR Flash references. However, during the development of your application software, you must verify which NOR reference is implemented on your board (component referenced as U2 on silkscreen and schematic), and take its characteristics into account.Table 14.NOR Flash related jumpersJumperDescriptionJP5Write protection is enabled when JP5 is fitted while write protection is disabled when JP5 is not fitted.Default setting: not fittedTable 15.NOR Flash referenceReference Manufacturer M29W128GL70ZA6E NUMONYX M29W128GH70ZA6E NUMONYX S29GL128P90FFIR20SP ANSIONConnectors UM048816/483 Connectors3.1Motor control connector CN1Table 16.Motor control connector CN1Description STM32F103Zpin CN1 pin #CN1 pin #STM32F103ZpinDescriptionEmergency stop P A612GND PWM-UH PC634GND PWM-UL P A756GND PWM-VH PC778GND PWM-VL PB0910GND PWM-WH PC81112GND PWM-WL PB11314PC0Bus voltage Phase A current PC11516GND Phase B current PC21718GND Phase C current PC31920GND NTC bypass relayPB122122GND Dissipative brake PWM P A3 through0ohm resisterunfitted 2324GND+5V power +5V2526PC5Heatsink temperature PFC SYNC PB4 and PD22728 3.3V power PFC PWM PB52930GND Encoder A P A03132GNDEncoder BP A13334PA2Encoder indexUM0488Connectors17/483.2 Analog input connectors CN2, CN3 and CN5Figure 5.Analog input connector CN2, CN3 and CN5 bottom view3.3 CAN D-type 9-pin male connector CN4Figure 6.CAN D-type 9-pin male connector CN4 (front view)3.4 QST connector CN6The QST connector is designed to connect the STM3210E-EVAL to the QST evaluation board to demonstrate the QST function.Table 17.Analog input connector CN2, CN3 and CN5Pin numberDescriptionPin numberDescription1GND 4GND2GND 5Analog input PC3, PC2 and PC1 for CN2,CN3 and CN5 respectively3GND12435Table 18.CAN D-type 9-pins male connector CN4Pin number DescriptionPin number Description1,4,8,9NC 7CANH 2CANL3,5,6GNDConnectors UM0488Table 19.QST connector CN6Pin number Description Pin number Description1+5V2+5V3PB64P A55PB76P A77PB18P A69PF1110PB511P A812-13GND14GND3.5 Trace debugging connector CN7Table 20.Trace debugging connector CN7Pin number Description Pin number Description1 3.3V power2TMS/P A133GND4TCK/P A145GND6TDO/PB37KEY8TDI/P A159GND10RESET#11GND12TraceCLK/PE213GND14TraceD0/PE3 or SWO/PB315GND16TraceD1/PE4 or nTRST/PB417GND18TraceD2/PE519GND20TraceD3/PE618/48UM0488Connectors 3.6 RS232 connector CN8 with RTS/CTS handshake supportFigure 9.RS232 connector CN8 with RTS/CTS handshake support (front view)Table 21.RS232 connector CN8 with RTS/CTS handshake supportPin number Description Pin number Description1NC6Connect to Pin 42USART2_P A37USART2_P A13USART2_P A28USART2_P A04Connect to Pin 6 9NC5GND3.7 JTAG debugging connector CN9Table 22.JTAG debugging connector CN9Pin number Description Pin number Description1 3.3V power2 3.3V power3PB44GND5P A156GND7P A138GND9P A1410GND11RTCK12GND13PB314GND15RESET#16GND17DBGRQ18GND19DBGACK20GND19/48Connectors UM048820/483.8 Daughter board extension connectors CN10 and CN11Two 70-pin male headers CN10 and CN11 can be used to connect a daughter board or standard wrapping board to the STM3210E-EVAL evaluation board. All total 112 GPI/Os are available on it. The space between these two connectors and the position of power, GND and RESET pins (marked in gray in Table 23 and Table 24) are defined as a standard which allows to develop common daughter boards for several evaluations boards. The standard width between CN10 pin1 and CN11 pin1 is 2700mils (68.58mm). This standard is implemented on the majority of evaluation boards.Each pin on CN10 and CN11 can be used by a daughter board after disconnecting it from the corresponding function block on the STM3210E-EVAL evaluation board, as described in Table 23 and Table 24.Table 23.Daughter board extension connector CN10Pin #Description Alternative functionHow to disconnect from function block onSTM3210E-EVAL board1GND --3PC7MC/Smartcard Disconnect STM3210E-EVAL evaluation board from motor power drive board.Keep JP16 on open.5PC9MicroSD card Remove SD card from MicroSD card connector.7P A9UASRT1_TX-9P A0MC/Wakeup/USART2_CTS Keep JP4 on open.11---13P A12USB_DP Remove R82.15P A14Debug_TCK-17PC10IrDA_TX/MicroSDcard_D2Remove SD card from MicroSD card connector.19GND --21PD0FSMC_D2-23PE2T race_CLK/FSMC_A23-25PD2MicroSDcard_CMD/MC Disconnect STM3210E-EVAL evaluation board from motor power drive board.Remove SD card from MicroSD card connector.27PD4FSMC_OEN -29PD6FSMC_WAITN -31PD7FSMC_EBAR0Remove R22.33PG10FSMC_EBAR2Remove R15.35PG12FSMC_EBAR3Remove R77.37PG14Joystick_Left Remove R102.39GND--UM0488Connectors21/4841PB4Debug_TRST/MCDisconnect STM3210E-EVAL evaluation board from motor power drive board.Keep JP19 on open.43PB6I2C_SCL/QST Disconnect STM3210E-EVAL evaluation board from QST board.45PB8CAN_RX Remove R32.47PE0FSMC_BLN0-49D5V --51PE4T race_D1/FSMC_A20-53PE6T race_D3/FSMC_A22-55PC14 OSC32_IN Remove R135, Keep JP9 (solder bridge) on close.57PF0FSMC_A0-59GND --61PF2FSMC_A2-63PF4FSMC_A4-65PF6LD2Remove R96.67PF8LD4Remove R98.69+3V3--2PC6Smartcard/MC/I2S_MCKDisconnect STM3210E-EVAL evaluation board from motor power drive board.Keep JP15 on open.4PC8MicroSDcard_D0/MCDisconnect STM3210E-EVAL evaluation board from motor power drive board.Remove SD card from MicroSD card connector.6P A8MCO/LCD_backlight/QST Disconnect STM3210E-EVAL evaluation board from QST board.8P A10USART1_RX Remove R36.10GND --12P A11USB_DM Remove R81.14P A13Debug TMS -16P A15Debug TDI-18PC11IrDA_RX/MicroSDcard_D2Remove SD card from MicroSD card connector.Remove R89.20PC12MciroSDcard_CLK Remove SD card from MciroSD card connector.22PD1FSMC_D3-24PE1FSMC_BLN1-26PD3Joystick_DownRemove R100.Table 23.Daughter board extension connector CN10 (continued)Pin #DescriptionAlternative functionHow to disconnect from function block onSTM3210E-EVAL boardConnectors UM048822/4828PD5FSMC_WEN -30GND --32PG9FSMC_EBAR1Remove R21.34PG11--36PG13Joystick_Right Remove R103.38PG15Joystick_Up Remove R104.40PB3Debug_TDO-42PB5MC/QST/Temperature sensorDisconnect STM3210E-EVAL evaluation board from motor power drive board and QST board.Remove R46.44PB7I2C_SDA/QST Disconnect STM3210E-EVAL evaluation board from QST board.46PB9CAN_TX -483V3--50GND --52PE3T race_D0/FSMC_A19-54PE5T race_D2/FSMC_A21-56PC13Anti-tamper button Remove R111.58PC15OSC32_OUT Remove R39, Keep JP10 (solder bridge) on close.60PF1FSMC_A1-62PF3FSMC_A3-64PF5FSMC_A5-66PF7LD3Remove R97.68PF9LD5Remove R99.70GND--Table 23.Daughter board extension connector CN10 (continued)Pin #Description Alternative function How to disconnect from function block onSTM3210E-EVAL boardUM0488Connectors23/48Table 24.Daughter board extension connector CN11Pin #Description Alternative functionHow to disconnect from function block onSTM3210E-EVAL board1GND --3PG7Joystick_Select Remove R101.5PG5FSMC_A15-7PG3FSMC_A13-9PC13 Button B3--11RESET#--13PD12FSMC_A17-15PD10FSMC_D15-17PD8FSMC_D13-19D5V --21PB13I2S_CLK -23PB11Smartcard_Reset -25PE15FSMC_D12-27PE13FSMC_D10-29PE11FSMC_D8-31PD15FSMC_D1-33PE9FSMC_D6-35PE7FSMC_D4-37PG1FSMC_A11-39GND --41PF14FSMC_A8-43PF12FSMC_A6-45PB2BOOT1/SPI_NSS -47PB1MC/QST Disconnect STM3210E-EVAL evaluation board from motor power drive board and QST board.49---51PB0Smartcard_3/5V/MC Disconnect STM3210E-EVAL evaluation board from motor power drive board.53PC4Potentiometer Remove R126.55P A6MC/SPI_MISO/QST Disconnect STM3210E-EVAL evaluation board from motor power drive board and QST board.Remove R37.57P A4Audio_RIN Remove R67.59GND--Connectors UM048824/4861P A1MC/USART2_RTSDisconnect STM3210E-EVAL evaluation board from motor power drive board.63PC3MC/BNC3Disconnect STM3210E-EVAL evaluation board from motor power drive board.Disconnect analog signal from BNC3.65PC1MC/BNC1Disconnect STM3210E-EVAL evaluation board from motor power drive board.Disconnect analog signal from BNC1.67PF10LCD_CS -69+3V3--2PG8User button B4Remove R106.4PG6FSMC_INT2Keep JP7 on open.6PG4FSMC_A14-8PG2FSMC_A12-10GND --12PD13FSMC_A18-14PD11FSMC_A16-16PD9FSMC_A14-18PB15I2S_DIN -20PB14USB disconnectConnect pin1 of JP14 to pin2.22PB12Smartcard_CK/MC/I2S_CMD Disconnect STM3210E-EVAL evaluation board from motor power drive board.24PB10Smartcard_IO Remove R94.26PE14FSMC_D11-28PE12FSMC_D9-30GND --32PD14FSMC_D0-34PE10FSMC_D7-36PE8FSMC_D5-38---40PG0FSMC_A10-42PF15FSMC_A9-44PF13FSMC_A7-46PF11QST / MicroSD card detection Disconnect STM3210E-EVAL evaluation board from QST board. Remove SD card from card socket CN13.48---Table 24.Daughter board extension connector CN11 (continued)Pin #Description Alternative function How to disconnect from function block onSTM3210E-EVAL board。

STM32-参考手册-中文.pdf

STM32-参考手册-中文.pdf

STM32-参考⼿册-中⽂.pdf23 串⾏外设接⼝(SPI)⼩容量产品是指闪存存储器容量在16K ⾄32K 字节之间的STM32F101xx、STM32F102xx和STM32F103xx微控制器。

中容量产品是指闪存存储器容量在64K⾄128K字节之间的STM32F101xx、STM32F102xx和STM32F103xx微控制器。

⼤容量产品是指闪存存储器容量在256K⾄512K字节之间的STM32F101xx和STM32F103xx微控制器。

互联型产品是指STM32F105xx和STM32F107xx微控制器。

除⾮特别说明,本章描述的模块适⽤于整个STM32F10xxx微控制器系列。

23.1 SPI简介在⼤容量产品和互联型产品上,SPI接⼝可以配置为⽀持SPI协议或者⽀持I2S⾳频协议。

SPI接⼝默认⼯作在SPI⽅式,可以通过软件把功能从SPI模式切换到I2S模式。

在⼩容量和中容量产品上,不⽀持I2S⾳频协议。

串⾏外设接⼝(SPI)允许芯⽚与外部设备以半/全双⼯、同步、串⾏⽅式通信。

此接⼝可以被配置成主模式,并为外部从设备提供通信时钟(SCK)。

接⼝还能以多主配置⽅式⼯作。

它可⽤于多种⽤途,包括使⽤⼀条双向数据线的双线单⼯同步传输,还可使⽤CRC校验的可靠通信。

I2S也是⼀种3引脚的同步串⾏接⼝通讯协议。

它⽀持四种⾳频标准,包括飞利浦I2S标准,MSB 和LSB对齐标准,以及PCM标准。

它在半双⼯通讯中,可以⼯作在主和从2种模式下。

当它作为主设备时,通过接⼝向外部的从设备提供时钟信号。

警告:由于 SPI3/I2S3 的部分引脚与 JTAG 引脚共享 (SPI3_NSS/I2S3_WS 与 JTDI ,SPI3_SCK/I2S3_CK与JTDO),因此这些引脚不受IO控制器控制,他们(在每次复位后)被默认保留为JTAG⽤途。

如果⽤户想把引脚配置给SPI3/I2S3,必须(在调试时)关闭JTAG并切换⾄SWD接⼝,或者(在标准应⽤时)同时关闭JTAG和SWD接⼝。

stm32核心板用户手册

stm32核心板用户手册

STM32核心板用户手册编著:产品部2013年10月4日目录1软件安装 (1)1.1JLink驱动 (1)1.2MDK3.8A (3)1.3PL-2303HX驱动 (8)1.4本章小结 (9)2工程 (10)2.1新建工程 (10)2.2编译工程 (16)2.3下载测试 (18)2.3.1串口下载 (18)2.3.2JTAG下载 (22)1软件安装本章节主要介绍几款软件的安装,打开“stm32核心板资料\软件”,就能看见如下几个文件夹(如图1.1)。

图1.1五款软件文件夹1.1JLink驱动双击“JLINK驱动”文件夹,如图1.1.1,左边为JLink软件说明,右边问软件安装包。

图1.1.1“JLINK驱动”文件夹内容现在我们开始安装JLink驱动,双击右边图标,如下图图1.1.2。

图1.1.2点击“YES”或“NEXT”就可以完成驱动安装。

图1.1.3安装进度此软件安装时间是比较短的,安装进程完成后会直接跳入下一个窗口,点击“Finish”后,此软件就安装好了。

将JLink插入电脑的USB端口,会听到提示音,打开设备管理器,就可以查看到电脑是否识别此设备了。

如图1.1.4。

图1.1.4识别J-Link查找到J-Link driver,说明驱动已近安装好。

1.2MDK3.8AMDK3.8A,我们用它作为我们的编译器,此软件安装好后需要注册,如果不注册,编译的工程过大时,编译就会出现问题。

好了,下面我们就开始软件安装与注册。

打开文件夹MDK3.8A,就可以看到下面几个文件,如图1.2.1:图1.2.1“MDK3.8A”文件夹下内容双击第一个文件,开始我们的软件安装。

双击后如图1.2.2:图1.2.2开始安装点击“Next”。

图1.2.3小方框内打“勾”,点击“Next”;图1.2.4选择软件安装路径,点击“Next”;图1.2.5安装窗口提示,填写适当内容。

点击“Next”;图1.2.6这款软件安装的时间相对长一些,请耐心等待一下。

STM32_参考手册-中文.pdf

STM32_参考手册-中文.pdf

口册23 串行外设接口(SPI)小容量产品是指闪存存储器容量在16K 至32K 字节之间的STM32F101xx、STM32F102xx和STM32F103xx微控制器。

中容量产品是指闪存存储器容量在64K至128K字节之间的STM32F101xx、STM32F102xx 和STM32F103xx微控制器。

大容量产品是指闪存存储器容量在256K至512K字节之间的STM32F101xx和STM32F103xx微控制器。

互联型产品是指STM32F105xx和STM32F107xx微控制器。

除非特别说明,本章描述的模块适用于整个STM32F10xxx微控制器系列。

23.1 SPI简介在大容量产品和互联型产品上,SPI接口可以配置为支持SPI协议或者支持I2S音频协议。

SPI接口默认工作在SPI方式,可以通过软件把功能从SPI模式切换到I2S模式。

在小容量和中容量产品上,不支持I2S音频协议。

串行外设接口(SPI)允许芯片与外部设备以半/全双工、同步、串行方式通信。

此接口可以被配置成主模式,并为外部从设备提供通信时钟(SCK)。

接口还能以多主配置方式工作。

它可用于多种用途,包括使用一条双向数据线的双线单工同步传输,还可使用CRC校验的可靠通信。

I2S也是一种3引脚的同步串行接口通讯协议。

它支持四种音频标准,包括飞利浦I2S标准,MSB 和LSB对齐标准,以及PCM标准。

它在半双工通讯中,可以工作在主和从2种模式下。

当它作为主设备时,通过接口向外部的从设备提供时钟信号。

警告:由于SPI3/I2S3 的部分引脚与JTAG 引脚共享(SPI3_NSS/I2S3_WS 与JTDI ,SPI3_SCK/I2S3_CK与JTDO),因此这些引脚不受IO控制器控制,他们(在每次复位后) 被默认保留为JTAG用途。

如果用户想把引脚配置给SPI3/I2S3,必须(在调试时)关闭JTAG并切换至SWD接口,或者(在标准应用时)同时关闭JTAG和SWD接口。

V100用户使用手册

V100用户使用手册

V100高清PTZ摄像机用户使用手册(中文版)深圳市迎风传讯科技有限公司Infor-Trans Technology Inc.前言:感谢您使用HD高清彩色摄像机。

本手册详细介绍了通讯型高清摄像机的功能、安装和使用操作的一般原则及方法。

用户在安装使用前,敬请详细阅读。

警告!●为防止本产品或与其相连接的其他的任何产品受到损坏,本产品只能在规定的范围内使用;●不要使本机受到淋雨或受潮;●为防止触电危险,不要打开机壳;只能由合格的技术人员去执行安装和维修;●不要在超出限定温度、湿度或电源规格的状态下使用;●只能使用本公司推荐的备用零件;●清洗摄像机镜头时,请使用干的软布擦拭,如污垢严重时,请使用中性清洁剂轻轻擦拭。

不要用强烈的或带有腐蚀性的清洁剂,以免镜头划伤,影响图像效果;●要特别小心,轻拿轻放,勿用力挤压摄像机各结构部件,以免造成摄像机故障。

注意!特定频率下的电磁场可能会影响本机的图像【目录】1、注意事项 (3)2、随机附件 (3)3、快速使用摄像机 (4)4、产品亮点 (7)5、摄像机接口说明 (8)6、遥控器说明 (9)7、红外遥控器控制 (10)8、VISCA RS-232接口针分配 (14)9、串口控制 (15)10. 菜单设置 (20)11. 维护及故障处理 (25)注意事项●电气安全本产品安装使用必须严格遵守当地各项电气安全标准。

●小心运输运输、保管及安装过程中要防止重压、剧烈振动、浸泡对产品造成的损坏。

●电源极性本产品采用直流+12V电源,最大电流2A,电源插头极性如下图所示。

●小心安装不要抓住摄像机头部来移动摄像机。

不要用手来旋转摄像机的头部,否则可能会引起机械故障。

本产品应放在平稳的桌面或其它水平面上,不可将本产品倾斜安装;如果将摄像机安装在TV和个人电脑上,可以在底座上用四个双面胶垫固定。

本产品外壳为有机材料,严禁与有可能造成外壳腐蚀的各种液体、气体或固体物质接触;安装时应确保云台转动范围内无任何障碍在完成全部安装前请勿通电。

(整理)ARM开发板手册.

(整理)ARM开发板手册.

火牛STM32开发板用户手册1.产品规格火牛STM32开发板采用意法半导体(ST)公司推出基于ARM CortexM3内核的STM32F103增强型系列芯片STM32F103VC组成。

板上资源丰富,具有以太网(Ethernet)、MP3、USB主机(Host)、USB从机(Device)、nand flash、TFT LCD、串口(UASRT)、I2C、SPI、AD、DA、PWM、蜂鸣器等接口。

颇具特色的设计理念加上丰富的例程(均提供源代码)使得火牛STM32开发板非常适合初学者学习入门和项目评估使用。

板上资源:●CPU:意法半导体公司(ST)基于ARM Cortex-M3的32位处理器芯片STM32F103VC LQFP100脚,片内具有256KB FLASH,48KB RAM (片上集成12Bit A/D、D/A、PWM、CAN、USB、SDIO、FSMC等资源)。

■32位RISC性能处理器■32位ARM Cortex-M3结构优化■72 MHz 运行频率,1.25 DMIPS/MHz■硬件除法和单周期乘法■快速可嵌套中断,6~12个时钟周期■具有MPU保护设定访问规则●支持一个TFT彩色液晶屏(需要另外搭配),搭配 2.8寸TFT真彩触摸屏模块或 3.2寸TFT真彩触摸屏模块(由用户选择)大屏幕320*240,26万色TFT-LCD,支持8/16位总线接口,镜面屏,超高高度,模拟IO控制,彩屏模块上配置ADS7843触摸控制器,支持一个SD卡(SPI方式)可用于存储图片、数据等,支持一个AT45DBxxx的DATA FLASH(可用于存储汉字库和图片或数据等)。

●板载128M或256M NAND FLASH模拟IO控制,可以自行更换更大容量的NAND FLASH 如:512M。

满足大容量数据采集、数据表格存储,文件管理等应用,MP3歌曲存放等要求。

●板载VS1003B 高性能MP3解码芯片,支持解码音乐格式包括MP3、WMA、WA V、MIDI、P-MIIDI,录音编码格式IMA ADPCM(单声道)。

STM32_RM_CH_V10_1中文参考手册

STM32_RM_CH_V10_1中文参考手册

STM32F10xxx参考手册
STM32系列产品命名规则
示例: STM32 F 103 C 8 T 6 A xxx
产品系列 STM32 = 基于ARM®的32位微控制器
产品类型 F = 通用类型
产品子系列 101 = 基本型 102 = USB基本型,USB 2.0全速设备 103 = 增强型 105或107 = 互联型
STM32微控制器产品中大多数功能模块都是在多个产品(或所有产品)中共有的并且是相同的,因此只有一 份STM32微控制器产品的技术参考手册对应所有这些产品。技术参考手册对每种功能模块都有专门的一 个章节对应,每章的开始申明了这个功能模块的适用范围;例如第5章”备份寄存器”适用于整个STM32微 控制器系列,第27章”以太网”只适用于STM32F107xx互联型产品。
引脚数目 T = 36脚 C = 48脚 R = 64脚 V = 100脚 Z = 144脚
闪存存储器容量 4 = 16K字节的闪存存储器 6 = 32K字节的闪存存储器 8 = 64K字节的闪存存储器 B = 128K字节的闪存存储器 C = 256K字节的闪存存储器 D = 384K字节的闪存存储器 E = 512K字节的闪存存储器

第28章:器件电子签名
第29章:调试支持(DBG)
● 表示对应的章节是必读的
◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎
◎ 表示对应的章节是选读的
注:请区分第7章的内容只适合于互联型产品,第6章的内容适合于除互联型产品以外的产品。
参照2009年12月 RM0008 Reference Manual 英文第10版 本译文仅供参考,如有翻译错误,请以英文原稿为准。请读者随时注意在ST网站下载更新版本
由于我们的水平有限以及文档篇幅的庞大,翻译的过程中难免会有错误和遗漏的地方,希望广大读者们 能够及时向我们反馈您在阅读期间所发现的错误和问题,我们会尽快在下一个版本中更正。您可以发邮 件到mcu.china@向我们提出您的意见和建议,谢谢。

alientek-战舰-stm32-开发板-用户手册说明书

alientek-战舰-stm32-开发板-用户手册说明书

用户手册多功能STM32F103嵌入式开发平台ATK-战舰STM32开发板用户手册修订历史版本日期原因V1.002013/12/26第一次发布V1.012014/08/12修正部分内容V2.02015/8/21修改为战舰V3的参数User Manual目录1.特性参数 (1)2.源码&教程&技术支持 (4)2.1程序源码 (4)2.2教程 (5)2.2.1文档教程 (5)2.2.2视频教程 (5)2.2.3应用文档 (5)2.3技术支持 (6)3.结构尺寸 (6)4.其他信息 (8)1.特性参数ATK-战舰STM32开发板-V3.0(V3.0是版本号,下面均以ATK-战舰STM32开发板表示该产品)是ALIENTEK 推出的一款多功能STM32F103嵌入式开发平台,该平台具有板载资源丰富、扩展资源多、例程完善、教程详细等众多特点。

ALIENTEK 战舰STM32F103V3的资源图如图1.1所示:图1.1战舰STM32F103资源图从图1.1.1可以看出,ALIENTEK 战舰STM32F103,资源十分丰富,并把STM32F103的内部资源发挥到了极致,基本所有STM32F103的内部资源,都可以在此开发板上验证,同时扩充丰富的接口和功能模块,整个开发板显得十分大气。

W25Q128128MFLASH 引出IO 口WIRELESS 模块接口CAN/USB 选择口JTAG/SWD 接口USB 串口/串口1USB SLAVE 后备电池接口USB 转串口OLED/摄像头模块接口STM32F103ZET6有源蜂鸣器红外接收头DS18B20/DHT11接口启动选择端口复位按钮参考电压选择端口4个按键触摸按钮电源指示灯多功能端口24C02EEPROM 录音输入接口MIC (咪头)耳机输出接口ATK 模块接口3.3V 电源输入/输出CAN 接口RS232/模块选择接口LCD 接口IS62WV512168M SRAM以太网接口(RJ45)RS232接口(母)RS485接口RS232/RS485选择接口小喇叭(在底部)电源开关DC6~24V 电源输入JOYPAD/RS232接口(公)引出IO 口引出IO 口光敏传感器5V 电源输入/输出SD 卡接口(在背面)JOYPAD/RS232选择开关2个LED2.8寸TFTLCD触摸屏×1红外遥控器×1RS232串口线×1游戏手柄×1资料光盘(DVD)×2T口USB数据线×1杜邦线×2工作温度1-20℃~+70℃外形尺寸112mm*156mm表1.1ATK-战舰STM32开发板基本特性注1:仅限战舰STM32开发板底板和2.8寸TFTLCD触摸屏模块。

STM32固件库使用手册簿地中文翻译

STM32固件库使用手册簿地中文翻译

wordUM0427用户手册32位基于ARM微控制器STM32F101xx与STM32F103xx固件函数库介绍本手册介绍了32位基于ARM微控制器STM32F101xx与STM32F103xx的固件函数库。

该函数库是一个固件函数包,它由程序、数据结构和宏组成,包括了微控制器所有外设的性能特征。

该函数库还包括每一个外设的驱动描述和应用实例。

通过使用本固件函数库,无需深入掌握细节,用户也可以轻松应用每一个外设。

因此,使用本固态函数库可以大大减少用户的程序编写时间,进而降低开发本钱。

每个外设驱动都由一组函数组成,这组函数覆盖了该外设所有功能。

每个器件的开发都由一个通用API (application programming interface 应用编程界面)驱动,API对该驱动程序的结构,函数和参数名称都进展了标准化。

所有的驱动源代码都符合“Strict ANSI-C〞标准〔项目于例文件符合扩大ANSI-C标准〕。

我们已经把驱动源代码文档化,他们同时兼容MISRA-C 2004标准〔根据需要,我们可以提供兼容矩阵〕。

由于整个固态函数库按照“Strict ANSI-C〞标准编写,它不受不同开发环境的影响。

仅对话启动文件取决于开发环境。

该固态函数库通过校验所有库函数的输入值来实现实时错误检测。

该动态校验提高了软件的鲁棒性。

实时检测适合于用户应用程序的开发和调试。

但这会增加了本钱,可以在最终应用程序代码中移去,以优化代码大小和执行速度。

想要了解更多细节,请参阅。

因为该固件库是通用的,并且包括了所有外设的功能,所以应用程序代码的大小和执行速度可能不是最优的。

对大多数应用程序来说,用户可以直接使用之,对于那些在代码大小和执行速度方面有严格要求的应用程序,该固件库驱动程序可以作为如何设置外设的一份参考资料,根据实际需求对其进展调整。

此份固件库用户手册的整体架构如下:⏹定义,文档约定和固态函数库规如此。

⏹固态函数库概述〔包的容,库的架构〕,安装指南,库使用实例。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

STM32V100评估板用户手册
V1.0
第一章:概述
STM103V100是英蓓特公司新推出的一款基于ST意法半导体STM32系列处理器(Cortex-M3内核)的全功能评估板。

STM103V100评估板有USB,Motor Control ,CAN,SD卡,Smart 卡,UART 等丰富的外设,有助于用户评估STM32的性能。

STM103V100评估板支持JTAG和SWD串行调试方式,非常方便。

STM103V100评估板主要性能:
◆处理器:STM32F103VBT6
◆RTC
◆8M byte SPI Flash
◆启动跳线设置
◆将所有的通过排针引脚引出,
◆3路可选电源,分别是外接5VDC供电,USB供电,引出排针接入供电,
◆一个SD存储卡接口
◆TFT LCD和16x2字符型液晶接口
◆外扩一个温度传感器
◆一个电机接口
◆两种类型调试接口,可选10pin SWD接口或20Pin JTAG接口
◆2个RS232串行口,其中一个支持RTS/CTS功能
◆一个USB Slave B型接口
◆一个可以具有控制四个方向和确定功能的摇杆手柄
◆四个按键分别是Reset,Wakeup,Temper和User按键
◆四个Led灯
◆一路立体声音频输出接口,一路麦克风接口
◆一个CAN总线接口,通过DB9接口引出
第二章:STM103V100X硬件介绍
STM103V100功能模块图如下图所示:
2.1接口一览表CAN
JTAG
调节声音大小电位器
耳机插孔
AD输入旋钮
五维摇杆按键
外接直流电源接口
2.2电源
STM32评估板有三种供电方式,通过JP11选择以下其中一种方式供电。

1. 通过主板电源端子J1输入5VDC。

2. 通过主板上USB 端口(CN1)供电,供电电流小于5oomA.。

3. 通过外接排针CN12,从外板供电。

主板上DC5V输入端子(CN4)信号为内正外负,如下图所示:
2.3启动方式选择
STM32评估板有以下三种启动方式:
■从用户闪存存储器启动
■从系统存储器启动
■从内嵌SRAM启动
通过设置子板上拨动开关SW1 和SW2选择启动方式
2. 4时钟源
STM32评估板上有两种时钟源:
■32KHz 晶振作为RTC的时钟源
■8MHz晶振作为MCU的时钟源,当使用内部RC时钟作为时钟源的时候,可以把8MHz晶振拔掉。

2.5 复位方式
STM32评估板有三种复位方式:
■通过子板上的复位按键B5复位
■如果短接JP10,可通过JTAG调试口输入复位信号
■通过外接排针CN13,从外板输入复位信号
2.6音频
STM32评估板有录音和回放功能。

通过条线JP6设置禁止和使能,通过可调电阻RV2调整声音大小,通过RV3调整麦克风的增益。

2.7串行flash
STM32评估板子板上外扩了64Mbit的串行SPI flash。

与SD卡共用SPI通信端口,使用不同的片选,此FLASH的片选是被PA4口控制。

2.8串口
STM32开发板引出了两路UART,UART1(CN11)和UART2(CN6)。

两路串口均连接到公的DB9连接头。

UART2支持RTS/CTS握手信号。

UART2RS232 DB9公连接头信号定义:
UART1 RS232 DB9连接头信号定义:
2.9电机控制接口
STM32开发板上有一个34pin的感应电机控制接口,该接口提供驱动板所需的控制信号,并从驱动板接收回馈信号。

这些信号包括紧急停止信号,调速信号,六路PWM控制信号,以及从驱动板反馈回来的三相电机电流,母线电压,散热器温度等信号。

电机控制接口CN14接口图:
信号定义:
2.10 Smart Card接口
通过Smart card接口芯片ST8024,STM32评估板可支持3V 和5V 的smart 卡。

ST8024和STM32评估板的接口连接信号如下:
2.11 SD卡接口
STM32评估板具有SD卡接口,支持SD卡的读写。

SD卡和STM32接口的连接信号如下:
2.12 CAN 接口
STM32 板上使用SN65HVD230 (U5) 作为CAN 驱动器。

CAN接口采用DB9链接器接线,这里针2 提供CANL 信号,针7 提供CANH信号.这些针连接到SN65HVD230 CAN 驱动器芯片。

CAN DB9连接器引脚定义:
2.13 温度传感器
I2C接口的温度传感器STLM75连接到STM32开发板的I2C1接口上,两个分立的N通道增强型MOS-FET用于转换电平,使得不同电压的器件能接入到同一I2C总线上的。

2.14模拟输入
BNC接头
2.15 IrDA
STM32开发板支持红外接收,STM32评估板上的IrDA 接收器连接到的UART3上,可以通
2.16 USB
STM32支持USB2.0,通过STM32评估板上的USB B型口(CN1)可进行USB全速通讯,也可以通过该USB口给STM32评估板提供5VDC(500mA限流)。

2.17调试接口
STM32评估板有二种调试接口:
■CN7,标准的20脚JTAG仿真调试接口,
■CN9,10针SWD调试接口,支持新的ARM Cortex-M3串行调试功能
JTAG调试接口定义如下:
SWD调试接口CN9接口定义
2.18人机界面(LCD)接口
第三章软件开发和相关例程
3.1 MDK介绍
RealView MDK开发套件是ARM公司目前最新推出的针对各种嵌入式处理器的软件开发工具。

RealView MDK集成了业内最领先的技术,包括μVision3集成开发环境与RealView编译器。

支持ARM7、ARM9和最新的Cortex-M3核处理器,自动配置启动代码,集成Flash
烧写模块,强大的Simulation设备模拟,性能分析等功能。

MDK 软件可以从STM32评估板配套光盘获取,或者从Keil网站中下载最新版本。

双击安装文件setup.exe,出现如下的安装界面,根据界面安装向导的提示,完成Keil u Vision3的安装。

3.2例程介绍
STM32
3.3
程序例程操作顺序(例LCD_1620字符显示实验)
1.首先打开LCD_1620文件夹(里面有三个文件夹:uvision-存放工程文件和源文件,obj-存放编译文件,listing-存放链接及印像文件),进入uvision文件夹中双击LCD_char.Uv2工程文件,则会打开工程文件。

2.工程文件中包含Start Up(启动代码存放区),Source Code(主要的源程序代码存放区),Library(源程序文件库),Document(程序的说明文档)文件夹。

3.连接好电源线和仿真器接线(外接仿真器连接线(JTAG))
4.点击Flash/Download进行程序下载:如图
或者点击快捷图标:
5.下载完后可执行Debug/Start/Stop Debug Session(Ctrl+F5)进行调试,如图:
或者快捷图标:来进行调试。

点击以后主显示区显示汇编程序代码,要查看源代码可以在单步之前右击鼠标选择Show Source Code for current Address.如下图:
点击下载程序
将会显示程序的源代码。

6.利用窗口上的快捷调试图标来执行调试过程,图标如下:
附录A:STM32评估板IO分配
附录B:售后服务。

相关文档
最新文档