Home
STM32F103ZE ARM-CM3 Board User Manual V1.0
Contents
1. The Development Specialist Of Embedded System 19 20 81 PD12 1O A17 82 PD13 LO A18 83 VSS8 GND 84 VDD8 3V3 85 PD14 LO DO 86 PD15 LO DI 87 PG2 LO A12 88 PG3 I O A13 89 PG4 LO A14 90 PG5 I O A15 91 PG6 1O FSMC INT2 92 PG7 VO JOY_SEL 93 PG8 I O USER 94 VSS9 GND 95 VDD9 43V3 96 PC6 I O PC6 97 PC7 1 0 PC7 98 PC8 I O SD DATAO 99 PC9 I O SD DATAI 100 PA8 LO BL CN 101 PA9 LO TXDI 102 PA10 LO RXDI 103 PAII LO USB DM 104 PA12 LO USB DP 105 PA13 vo TMS 106 NC 107 VSS2 GND 108 VDD2 43V3 109 PAI4 1 O TCK 110 PAIS VO TDI 111 PC10 LO SD DATA2 112 PCII LO SD DATA3 113 PC12 vo SD CLK 114 PDO LO D2 115 PDI LO D3 116 PD2 LO SD CMD 117 PD3 LO JOY DOWN 118 PD4 vo FSMC NOE 119 PDS vo FSMC NWE 120 VSS10 GND 121 VDD10 3V3 122 PD6 vo FSMC_NWAIT 123 PD7 VO FSMC NCE2 124 PG9 vo FSMC NE2 125 PG10 vo FSMC NE3 Pa EMBEST CO LIMITED Em 126 PGII vO PGII 127 PG12 vO FSMC_NE4 128 PG13 VO JOY_RIGHT 129 PG14 vO JOY_LEFT 130 VSS11 GND 131 VDDII 3V3 132 PGIS Vo JOY_UP 133 PB3 VO TDO 134 PB4 VO TRST 135 PBS vO TEMP_INT 136 PB6 VO TEMP_SCL 137 PB7 VO TEMP_SDA 138 BOOTO SWI 139 PB8 Vo CAN RX 140 PB9 VO CAN_TX 141 PEO VO FSMC_NBLO 142 PEI VO FSMC_NBLI 143 VSS3 GND 144 VDD3 3V3 The Development Specialist Of Emb
2. 19 PF7 VO LED2 20 PF8 VO LED3 21 PF9 VO LED4 22 PF10 VO PF10 23 OSC IN OSC IN 24 OSC OUT OSC OUT 25 NRST Input RESET Button 26 PCO VO PCO 27 PCI VO PCI 28 PC2 IO PC2 29 PC3 VO PC3 30 VSSA GND 31 VREF GND 32 VREF 3V3 33 VDDA 3V3 34 PAO WKUP VO WAKEUP 35 PAI VO PAI The Development Specialist Of Embedded System 17 20 e EMBEST CO LIMITED www embedinfo com en 36 PA2 T O TXD2 37 PA3 VO RXD2 38 VSS4 GND 39 VDD4 3V3 40 PA4 VO DAC OUTI 41 PA5 VO SPII_CLK 42 PA6 VO SPII_MISO 43 PA7 VO SPI1_MOSI 44 PC4 VO PC4 45 PC5 VO PC5 46 PBO VO PBO 47 PB VO PB 48 PB2 VO SPI1_CS 49 PF11 T O SD_NCD 50 PF12 VO A6 51 VSS6 GND 52 VDD6 3V3 53 PF13 VO A7 54 PF14 VO A8 55 PF15 VO A9 56 PGO VO A10 57 PGI VO All 58 PE7 VO D4 59 PE8 T O D5 60 PE9 VO D6 61 VSS7 GND 62 VDD7 3V3 63 PE10 VO D7 64 PEIl VO D8 65 PEI2 VO D9 66 PE13 VO D10 67 PE14 VO D11 68 PEI5 VO D12 69 PB10 VO PB10 70 PB11 T O PB11 71 VSSI GND 72 VDDI 3V3 73 PB12 VO PB12 74 PB13 VO PB13 15 PB14 T O USB_DIS 76 PB15 T O PB15 77 PD8 VO D13 78 PD9 VO D14 79 PD10 VO D15 80 PDII VO Al6 The Development Specialist Of Embedded System V t EMBEST CO LIMITED 7 www embedinfo com en
3. 2 7 Audio STM32F103ZE Board can play audio files through external Speaker The JP6 is used to control the connection between DAC output and the Speaker 2 8 Flash STM32F103ZE evaluation board expanded 8MB of SPI flash Through the SPI1 port the chip election of this FLASH is controlled by PB2 port 2 9 NAND Flash STM32F103ZE evaluation board expanded 128MB of NAND Flash For further details see schematic 2 10 NOR Flash STM32F103ZE evaluation board expanded 2MB of NOR Flash For further details see schematic 2 11 SRAM STM32F103ZE evaluation board expanded 128KB of SRAM For further details see schematic 2 12 Serial port STM32F103ZE evaluation board has two UART UARTI COMI and UART2 COM2 Two serial ports are connected to the public DB9 connector UART2 is support to the RTS CTS handshake signals UART2 RS232 the signal definition of Male DB9 connector The Development Specialist Of Embedded System 2 70 PEE EMBEST CO LIMITED Em 1 d 4 5 Q QOO 0 90 0 6 T 2 59 Pin No Functional Pin No Functional Description Description 1 NC 6 Connect to pin 4 2 UART2_RXD 7 UART2_RTS 3 UART2_TXD 8 UART2_CTS 4 Connect to pin 6 9 NC 5 GND UARTI RS232 the signal definition of public DB9 connector T 2 3d 4 9 0 T 6 8 Pin No Functional Pin No Functional Description Description 1 NC 6 Connect to pin 4 2 UARTI RXD 7 Connect to pin 8 3 UAR
4. Short access To connect the DAC output and SPEAKER JP6 DAC related To disconnect the DAC output and disconnection SPEAKER 2 3 Power STM32F103ZE Board has two power supplies you can choose one of the following ways to supply power through JP5 1 Through the motherboard power CN1 supply 5V DC 2 Through the motherboard USB port CONI supply power the power current is less than 500mA The DC5V on the motherboard input CNI signal is negative as follows The outside signal of DCSV input side CNI is negative the inside is the opposite please see the following figure DC 5V 2 4 Start selection STM32F103ZE Board can get started thought following three ways m Start from the user s flash memory m Start from the system memory m Start from the embedded SRAM Setting the sub panel DIP switches SW1 and SW2 to select the start up mode SW1 SW2 Start up mode x 0 Start from the user s flash memory The Development Specialist Of Embedded System 7 20 PARRA EMBEST CO LIMITED EE 0 1 Start from the system memory 1 Start from the embedded SRAM 2 5 Clock source STM32F103ZE evaluation board has two clock sources m 32KHz as the RTC clock source m 8MHz as the MCU clock source 2 6 Reset STM32F103ZE evaluation board has two ways to reset m Use the reset button s1 on Evaluation Board m If short connected JP4 then use the JTAG debug port to reset
5. Butt Pin OxO8000E24 F7FFFF8 BL U 56 GPIO EXTILineConfig 57s 58 Configure Key Bu Ox08000E28 2108 Movs Ox08000E2a 2006 Movs OxO8000E2C F FFFB5A BL W 59 EXTI_InitStructure fhxnannnean Faar7nan MOV There will show source codes 6 We can make use of the shortcut debug icon in window execute the Debug process the icon as follows File Edit View Project Debug Flash Peripherals Tools SVCS Window Help Osse spe n2cle 4 Rasa IO PIN SOURCE KEY BUTTON terrupt on falling edge fW n A A AAA hn ZZ ZZ a 2 u 8 034 Function Name main 035 Description Main progres c 036 Input None x000000 037 Output None 038 Return None K222i 039 040 int main void Dank The Development Specialist Of Embedded System 16 20 de EMBEST CO LIMITED Appendix A The IO Distribution of STM32F103ZE www embedinfo com en Evaluation Board gt Pins Type Level The IO assign of STM32F103ZE Evaluation 5 Input Output Board lan 1 PE2 VO A23 2 PE3 VO A19 3 PE4 VO A20 4 PES VO A21 5 PE6 VO A22 6 VBAT Input VBAT 7 PC13 VO Tamper Button 8 PC14 VO X1 OSC32 IN 9 PC15 VO X1 OSC32 OUT 10 PFO VO AO 11 PFI VO Al 12 PF2 IO A2 13 PF3 VO A3 14 PF4 IO A4 15 PF5 IO AS 16 VSS5 GND 17 VDD5 3V3 18 PF6 VO LEDI
6. Description 8LED Control the 8 Nixie tubes through GPIO ADC When the conversion value of ADC CHANNELI14 beyond the simulative watchdog s upper limit or lower limit it will enter into AWD interrupt and control LEDI in interrupt processing function AUDIO The program writes the audio file wave format into SPI The Development Specialist Of Embedded System Bb de EMBEST CO LIMITED 7 www embedinfo com en Flash reads the audio file from SPI Flash and output it through SPEAKER BKP Read or write the backup register check if it is correct or not and trigger the relevant LED at the same time CAN In experiment CAN communication works in loopback mode transmit or receive a group data at the speed of 100Kb s and when the speed reaches to 500Kb s it will transmit or receive data using interrupt mode This implements the CAN interface s self check function CortexM3 The program demonstrates how to use CortexM3 s bit management to execute read write and the variable control of reading SRAM CRC Generate CRC error detecting code through CRC module DAC Implement DA conversion through DAC module DEBUG The program simulates the condition when the fault parameter is transmitted the fault source will be printed in USARTI and LCD and it implements the debug simulation function DMA The program demonstrates how to transmit a group data with DMA channel from FLASH memory to RAM mem
7. 8 DS HASH E 8 2 9 NAND Flash UD 8 2 10 NOR A E a A ETT A 8 PAS SRAM E E T A E R E 8 DNA SUPR TT TT T TE 8 2 13 SD Card Interface M P 9 ACEO Wat 10 2 15 Temperature Senior 10 2 16 USB MD 10 Nri 10 2 18 LCD InterfaCe A 11 CHAPTER 3 SOFTWARE DEVELOPMENT AND RELEVANT PROGRAM EXAMPLES eee ecce ee eeens 12 3 1 MDK introduction 12 3 2 ocurrir een 12 amp XEDCcundgrcuoMmet 15 APPENDIX A THE IO DISTRIBUTION OF STM32F103ZE EVALUATION BOARD eee 17 The Development Specialist Of Embedded System 2 70 PEE EMBEST CO LIMITED P wurs embedinte comlen Chapter 1 Overview The STM32F103ZE is an ARM embedded evaluation board produced by Embest integrate the ST Microelectronic ARM Cortex M3 core based processor STM32F103ZE operating at a 72 MHz frequency with 512KB Flash memory and 64KB SRAM The board features USB CAN SD Card interface TFT LCD RS232 serial interface four 26 pin user extended interface etc Plenty of software examples which can be used in Keil MDK environment are accompanied in CDROM Features Processor STM32F103ZE Frequency 72M
8. Click Flash Download to download the program as follows WwW E Fie Edit View Project Debug Flash Peripherals Tools SVCS Window Help LORD ck g 3 35 ses W a LIT nnn This example shows how to configure an extern In this example an EXTI line is configured t falling edge In the interrupt routine a led toggled Or click this shortcut icon E Eile Edit view Project D This example shows how to configure an extern In this example an EXTI line is configured t falling edge In the interrupt routine a led toggled 5 After download execute Debug Start Stop Debug Session Ctrl F5 to have a debug as follows BEK TEN MN E Ele Edit view proje g Flash Peripherals Tools how to configure an extern EXTI line is configured t e interrupt routine a led Or shortcut icon to enter into debug After click the main displaying area will show assembly code if you want to see source codes you can The Development Specialist Of Embedded System 1520 Pa EMBEST CO LIMITED CEE right click mouse before Step choose Show Source Code for current Address As follows 43 debug i 44 endif System Clocks Configuration RCC Configuration NVIC configurati OxOSDODEi1C F7FFFFCi BL U 50 NVIC Configuration 51 52 Configure the GP OxOSDODE20 F7FFFFA6 BL W 53 GPIO Configuration 54 55 Connect Key
9. Hz 2MB NOR FLASH 128KB SRAM 128MB NAND FLASH 8M byte SPI Flash RTC Including back up battery Start jumper settings Optional two way power 5VDC and USB an SD memory card interface TFT LCD interface A temperature sensor An audio DAC output 20Pin JTAG debug interface Two RS232 serial port A USB Device interface A rocker handle with four functions to control the direction Four keys with functions Reset Wakeup Temper and User button four Led lights Four LED lighter Four 8 LED output a CAN bus interface which lead by the DB9 interface a AD input 99999 SH Four user s interface with 26Pin The Development Specialist Of Embedded System 3 20 2I EMBEST CO LIMITED J www embedinfo com en Chapter 2 Hardware Introduction 2 0 STM32F103ZE function module 512Kbyte Flash STM32F103xx RTC NN Ei Signal Fixed 3 3V USB Type B LED Kev SLED Joystick SD card Extension Connector for GPIOs RS232 UART DB9 RS232 UART DB9 CAN CAN DB9 E transceiver connector mc Audio C ircuit ll La Base Board V100 SPI Flash Tem perature sensor I2C1 20 pins JTAG connector LCD M odule 8 m i z 5 The Development Specialist Of Embedded System 470 RR EMBEST co LIMITED FETTE 2 1 Interface overview DC power interface Power choose j 9 N Y Five dimension s al r
10. TI TXD 8 Connect to pin 7 4 Connect to pin 6 9 NC 5 GND 2 13 SD Card Interface STM32F103ZE evaluation board integrates SD card interface supports for read write function of SD cards Their connection signals are as follows Pin No SD card interface Functional Description The counterpart of signal STM32 pin 1 CD DAT3 SD_DAT3 PC11 2 CMD SD_CMD PD2 3 VSSI GND 4 VDD 3V3 5 CLK SD CLK PC12 The Development Specialist Of Embedded System 9 20 PARSE EMBEST CO LIMITED qum 6 VSS2 GND 7 DATO SD DATO PC8 8 DATI SD_DATI PC9 9 DAT2 SD DAT2 PC10 10 WP NC 11 NCD SD NCD PF11 12 PADI GND 13 PAD2 GND 2 14 CAN Interface The STM32F103ZE board uses SN65HVD230 U10 as CAN driver CAN interface uses a DB9 connector in which pin 2 provides CANL signal and pin 7 provides CANH signal These pins connect to the driver chip of SN65HVD230 CAN 12 3 4 5 OO OO OOOO B T 8 8 The definition of CAN DB9 connector Pin No Functional Pin No Functional Description Description 1 4 8 9 NC 7 CANH 2 CANL 3 5 6 GND 2 15 Temperature Senior The STLM75M2E temperature sensors of I2C interface is connected to the I2C1 interface at STM32F103ZE development board Two separately N channel enhanced MOS FET is used for the levels conversion making the different voltage devices can access to the same I2C bus 2 16 USB STM32F103ZE supports
11. edded System 2020
12. for USB2 0 through the USB B type interface it can do the USB full speed communication Meanwhile through this USB interface we can provide 5V DC 500mA current limited for the board 2 17 Debug Interface STM32F103ZE evaluation board has two debug interfaces m CONS the standard 20 pin JTAG debug interface m 7 pin SWDIO 9 pin SWCLK are used for SWD debug interface in CON3 and support the new ARM The Development Specialist Of Embedded System 1020 PEE EMBEST CO LIMITED TEE Cortex M3 serial debug The definition of JTAG debug interface as follows v 19 171513 119 7 5 3 1 E El EL DI EBLPERET Bl pbi EI EI A B ERKENDE EI Bl 20 181614 1210 8 6 4 2 Pin No Functional Pin No Functional Description Description 1 3 3V 2 3 3V 3 TRST 4 GND 5 TDI 6 GND 7 TMS 8 GND 9 TCK 10 GND 11 RTCK 12 GND 13 TDO 14 GND 15 RESET 16 GND 17 DBGRQ 18 GND 19 DBGACK 20 GND 2 18 LCD Interface Color TFT LCD Pin No Functional Description I O port 1 CS PG12 2 RS PFO 3 WR SCL PDS 4 RD PD4 5 RESET RESET 22 BL GND GND 23 BL Control 3V3 24 VDD 3V3 25 VCI 3V3 26 GND GND 27 GND GND 28 BL VDD 3V3 29 SDO NC 30 SDI NC The Development Specialist Of Embedded System 11 20 em EMBEST CO LIMITED 7 www embedinfo com en Chapter 3 Software development and relevant program examples 3 1 MDK introduc
13. ically between internal clock and external clock RTC Use for clock manage when startup if it has not set clock s time it will have a tip to set time then it can show time and the clock s time can hold when power down because of on board battery SDIO Implement read and write operation of SD card through SDIO SPI SPI mode can control the read and write operation on M25P64 FLASH SRAM Implement the read and write operation of external SRAM through FSMC and the result of operation is shown by LED USARTI and LCD SYSTICK It shows how to configure SYSTICK to get 1ms output TIMI Through configuration it can output clock waveform with different duty cycle TIM Configure the clock function output different frequency value trigger four LEDs respectively Tsensor Get temperature data through hyper sensitivity digital temperature sensor the result shows by USARTI and LCD it gathers the real time temperature data USART Communicate with PC through crossover serial port line 115200b s USB JoyStickMouse Communicate with PC through USB protocol it can control the position of the mouse in screen by direction keys in rocker key press USB Mass Storage Implement the conversion between USB data and SD card storage interface through USB interface after plug SD card and the board is power on the PC system can identify the storage device automatically then we can read and write the file
14. ne EMBEST CO LIMITED P www embedinfo com en STM32F103ZE ARM CM3 Board User Manual V1 0 reren EMBEST CO LIMITED Address Room 509 Luohu Science amp Technology Building 85 Taining Road Shenzhen Guangdong China 518020 Telephone 0086 755 25621715 or 25635626 ext 1715 Fax 0086 755 25616057 E mail sales en embedinfo com support en embedinfo com Website http www embedinfo com en The Development Specialist Of Embedded System 1 20 PEE EMBEST CO LIMITED P wuns embedinto comien Content CHAPTER OVERVIEW sense neren ids 3 CHAPTER 2 HARDWARE INTRODUCTION cicssicecssssseossesssoseoossansvesscesssesoassonsonsdonsseoscneseessnsvensoassoess 4 2 0 STM32F103ZE function module sussrsonsonssossnssonsnnssnssnnsnnsnnssnssnnsnnsnnssnssnnsnnssnssnnsnnsnnssnssnnsnnssnssnssnnsnnssnnee 4 2 1 Interface overview ssnssanseonveorveonsenveonveonveonveonvennsennvennvennvennvennvennvennvennvennvennvennvennvennvennvennvennvennvennvennveennvenn 5 PAM JaErm e 6 DD POWEN csarssccssaussecssensscnssacssonssacssanssoasosnsseasseasseusssdsseasssasseuseessseadesassedseousseasosassoasesusseasesasseusestsseusssousssrssevssetesetesss 7 2 4 rusa 7 2 5 Clock SOUTCE 8 PA IllI 8 PP WIDE M
15. ocker button instructions LED temperature sensor LCD interface NAND FLASH RTC battery under lcd screen Peripherals Description CNI Power JACK P1 UARTI Male DB9 COM2 P2 UARTI Male DB9 COMI P3 CAN Male DB9 S1 RESET KEY S2 WAKEUP KEY S3 TAMPER KEY S4 USER KEY The Development Specialist Of Embedded System 5 20 PARSE EMBEST CO LIMITED Em CONI USB Device B Interface CON2 SD Card Interface CON3 JTAG Interface CONS FSMC LCD Interface JI break out pads 1 J2 break out pads 2 J3 break out pads 3 J4 break out pads 4 U3 NAND FLASH U4 SPIFLASH U5 NOR FLASH U6 SRAM U8 JOYSTICK 2 2 Jumper List No s description Set options Setting description jumper 1 2 Disconnect the USB signal connection JP1 USB related 2 3 connect the USB signal connection 1 2 CAN work in the high speed mode JP2 CAN related 2 3 CAN work in the Standby mode JP3 CAN related Short access CAN load Connect the TRST line of the Rest and the JP4 Debug related Short access debug port The Development Specialist Of Embedded System 6 20 PARTA EMBEST CO LIMITED Em Not connect the TRST line of the Rest and Cut Off the debug port 1 2 Choose USB power supply Power JP5 supply options Note only one of the group 3 4 Choose Power Jack DC power supply can be short access
16. ory and the transmission state EXTI This program shows how to configure an interrupt line to get an interrupt and trigger the interrupt processing program FLASH Implement the Erase Read and Write operation on Flash s definite address and checkout the written data lastly read it to FLASH and print it through USARTI and LCD GPIO This program has set a variety of ways to control GPIO it also simulates the transport control line which is used to control JTAG by kernel it will disconnect the JTAG when trigger an external interrupt IWDG Using SYSTICK interrupt to reload IWDG counter every time 350MS LCD Control LCD to show chars and colorful picture through FSMC interface NandFlash Implement the read and write operation to NandFlash through FSMC and the result of operation is shown by LED USARTI and LCD NorFlash Implement the read and write operation of external NorFlash through FSMC and the result of operation is shown by LED USARTI and LCD NVIC Nested Vector Interrupt Control it links with three clocks and trigger the LED using interrupt PWR Control system into STOP mode and system woke up by EXTI interrupt RCC This program demonstrates how to configure the clocks of all kinds of interface using chip clock s manage function and it The Development Specialist Of Embedded System BED de EMBEST CO LIMITED 7 www embedinfo com en implements the switch automat
17. s USB Virtual Com This program demonstrates the virtual COM port through USB port users can output data through normal COM 1 or 0 and this data can be shown by virtual COM port but it need to configure the drive program of virtual COM port before experiment USB Device Firmware Upgrade Download this program to FLASH after update the drive program it will add a USB hardware device in PC then we can control this device through the software in PC WWDG This program demonstrates how to set and update the count value of watchdog counter when this value is 0 it will trigger the corresponding interrupt The Development Specialist Of Embedded System 1420 2I EMBEST CO LIMITED P www embedinto com en 3 3 Example Operation Operating sequence of one program take the case of EXTI Test Open EXTI Test folder There are 6 files Project store project files Inc store head files Src store source files Listing store link files Run In Flash store compile files Read Me store document description Enter into Project folder double click EXTI Uv2 projectfile then will open this project file 2 This project file includes StartUp storage area of startup codes Application File storage area of main source program codes Common File source program s files library ReadMe the program s document description folders 3 Link the power line and emulator line between ULINK2 and JTAG
18. tion RealView MDK Development Suite is the latest software development tool of ARM Limited Corporation for all kinds of Embedded Processors It integrates the most advanced technology in this industry including uVision3 IDE and RealView Compiler RealView MDK supports ARM7 ARMO and the latest Cortex M3 Core Processor It has a configuration wizard for startup code and integrates flash program module powerful device simulation performance analyzer and so on You can obtain MDK software from the CD released with STM32F103ZE Board or you can download the latest version from Keil website www keil com Double click the installation file setup exe finish Keil uVision3 installation under the guidance of the installation wizard The installation interface as follows Setup Real iew Microcontroller Development Kit 93 10 PRC 1 Welcome to Keil 11 Vision3 D KE i L Release 5 2007 An ARM Company This SETUP program installs RealView Microcontroller Development Kit V3 10 PRC 1 This SETUP program may be used to update a previous product installation However you should make a backup copy before proceeding It is recommended that you exit all windows programs before continuing with SETUP Follow the instructions to complete the product installation 3 2 Example Introduction STM32F103ZE Evaluation Board has provided abundant examples they can be compiled and run in Keil uVision3 directly Experiment Name Function
Download Pdf Manuals
Related Search
Related Contents
PATGuard Pro 2 User Manual Rev1_5 A4 user MANuAL Staywell Pet Door Display Solution MBX Series Embedded Controller Version C Programmer`s Techno Source Bicycle Illuminated 2 in 1 Solitaire User's Manual User Manual ARK-3400 User Manual MANUEL D`UTILISATEUR Copyright © All rights reserved.
Failed to retrieve file