background image

 

 

 

 

 

 

GigaDevice Semiconductor Inc. 

 

 

GD32170C-START 

 

User Guide 

V3.0 

(Nov.20.2019) 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Summary of Contents for GD32170C-START

Page 1: ...GigaDevice Semiconductor Inc GD32170C START User Guide V3 0 Nov 20 2019 ...

Page 2: ...oot option 5 4 3 LED 5 4 4 KEY 6 4 5 GD Link 6 4 6 Extension 7 4 7 MCU 7 5 Routine use guide 7 5 1 GPIO_Running_LED 7 5 1 1 DEMO purpose 7 5 1 2 DEMO running Result 8 5 2 GPIO_Key_Polling_mode 8 5 2 1 DEMO purpose 8 5 2 2 DEMO running Result 8 5 3 EXTI_Key_Interrupt_mode 8 5 3 1 DEMO purpose 8 5 3 2 DEMO running Result 9 5 4 TIMER_Key_EXTI 9 5 4 1 DEMO purpose 9 5 4 2 DEMO running result 9 6 Revis...

Page 3: ...upply 5 Figure 4 2 Schematic diagram of boot option 5 Figure 4 3 Schematic diagram of LED function 5 Figure 4 4 Schematic diagram of Key function 6 Figure 4 5 Schematic diagram of GD Link function 6 Figure 4 6 Schematic diagram of Extension Pin 7 Figure 4 7 Schematic diagram of MCU Pin 7 ...

Page 4: ...User Guide GD32170C START 3 11 List of Tables Table 2 1 Pin assignment 4 Table 4 1 Boot configuration 5 Table 6 1 Revision history 10 ...

Page 5: ...are created based on Keil MDK ARM 4 74 uVision4 IAR version of the projects are created based on IAR Embedded Workbench for ARM 7 40 2 During use the following points should be noted 1 If you use Keil uVision4 to open the project install the GD32F1x0_AddOn 3 2 0 exe to load the associated files 2 If you use Keil uVision5 to open the project there are two ways to solve the Device Missing s problem ...

Page 6: ...uF 3V3 LED3 LED0603 R9 470Ω 1 TP1 TP 3V3 U5V P1 SMD1210P005TF 5V 4 2 Boot option Figure 4 2 Schematic diagram of boot option R7 10KΩ 1 2 3 JP4 BOOT0 GND BOOT0 3V3 Table 4 1 Boot configuration BOOT1 BOOT0 Boot Mode Default 2 3 User memory 1 2 System memory Changed by ISP 1 2 SRAM memory 4 3 LED Figure 4 3 Schematic diagram of LED function PF6 LED1 LED0603 LED R2 680Ω GND PF7 LED2 LED0603 R3 680Ω GN...

Page 7: ...CK L_SWDIO L_SWDCK 3V3 L_USB_DM BOOT0 44 NRST 7 OSC_IN PD0 5 OSC_OUT PD1 6 PA0 WKUP 10 PA1 11 PA2 12 PA3 13 PA4 14 PA5 15 PA6 16 PA7 17 PA8 29 PA9 30 PA10 31 PA11 32 PA12 33 PA13 JTMS SWDIO 34 PA14 JTCK SWCLK 37 PA15 JTDI 38 PB0 18 PB1 19 PB2 BOOT1 20 PB3 JTDO 39 PB4 JNTRST 40 PB5 41 PB6 42 PB7 43 PB8 45 PB9 46 PB10 21 PB11 22 PB12 25 PB13 26 PB14 27 PB15 28 PC13 TAMPER RTC 2 PC14 OSC32_IN 3 PC15 ...

Page 8: ... C4 50V 10pF C5 50V 10pF Y2 DT 26 C06N 32 768KHz C7 50V 0 1uF C8 50V 0 1uF C9 50V 0 1uF R5 10KΩ R6 1MΩ R4 10KΩ OSC32_IN OSC32_OUT OSC_IN OSC_OUT GND GND NRST PA13 PA14 PA15 PB2 PB3 PB4 SWCLK SWDAT PF6 PF7 BOOT0 44 NRST 7 OSC_IN PF0 5 OSC_OUT PF1 6 PA0 WKUP 10 PA1 11 PA2 12 PA3 13 PA4 14 PA5 15 PA6 16 PA7 17 PA8 29 PA9 30 PA10 31 PA11 32 PA12 33 PA13 SWDAT 34 PA14 SWCLK 37 PA15 38 PB0 18 PB1 19 PB2...

Page 9: ...to use the User key to control the LED1 and LED2 When press down the User Key it will check the input value of the IO port If the value is 0 wait for 50ms Then check the input value of the IO port again If the value is still 0 indicates that the button is pressed down successfully and toggle the state of LED1 and LED2 5 2 2 DEMO running Result Download the program 02_GPIO_Key_Polling_mode to the b...

Page 10: ...O control the LED and the KEY Learn to use EXTI to generate external interrupt Learn to use TIMER to generate PWM GD32170C START V1 0 board has two keys and two LEDs The two keys are Reset key and User key The LED1 and LED2 are controlled by GPIO This demo will show how to use the TIMER PWM to trigger EXTI interrupt to toggle the state of LED2 and EXTI interrupt line to control the LED1 When press...

Page 11: ... 10 11 6 Revision history Table 6 1 Revision history Revision No Description Date 1 0 Initial Release Jun 28 2017 2 0 Updated format across the whole document Jun 1 2019 3 0 Updated format across the whole document Nov 20 2019 ...

Page 12: ...inary business industrial personal and or household applications only The Products are not designed intended or authorized for use as components in systems designed or intended for the operation of weapons weapons systems nuclear installations atomic energy control instruments combustion control instruments airplane or spaceship instruments transportation instruments traffic signal instruments lif...

Reviews: