GigaDevice Semiconductor GD32170C-START Скачать руководство пользователя страница 8

 

 

User Guide 

GD32170C-START 

7 /11

 

 

4.6. 

 Extension 

Figure 4-6 Schematic diagram of Extension Pin 

Extension Pin

PA4

PA5

PA6

PA7

PB12

PB13

PB14

PB15

PB10

PB11

PA1

PB1

PB0

PA3

PA2

PC13

PB5

PB6

PB7

PA9

PA10

PB8

PB9

PA15

PB3

PA13

PA14

PB4

PA8

PA0

PB2

PF6

PF7

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

JP1

10×2P2.54

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

JP2

10×2P2.54

GND

GND

PA11
PA12

+5V

+5V

 

4.7. 

 MCU 

Figure 4-7 Schematic diagram of MCU Pin 

PA4
PA5
PA6
PA7

PA0
PA1

PA3

PA2

PA11
PA12

PA9
PA10

PA8

PB5
PB6
PB7

PB1

PB0

PB12
PB13
PB14
PB15

PB10
PB11

PB8
PB9

PC13

C2

50V/20pF

C3

50V/20pF

Y1

HC-49S-G20SSA-8MHz

GND

NRST

K2

K-1102B

GND

C6

50V/0.1uF

BOOT0

GND

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

20

PB3

39

PB4

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-OSC32_OUT

4

VBAT

1

VDD_1

24

PF7

36

VDD_2

48

VDDA

9

VSS_1

23

PF6

35

VSS_2

47

VSSA

8

U1

GD32F170C8T6

SWDAT

SWCLK

NRST

L_TMS/IO

L_TCK/CLK

L_TReset

GDLink

SWD

C12

50V/0.1uF

+3V3

+5V

+5V

+5V

+5V

+3V3

1

2

3

Q1

SI2302CDS

 

5. 

 Routine use guide 

5.1. 

 GPIO_Running_LED 

5.1.1. 

DEMO purpose 

This Demo includes the following functions of GD32 MCU: 

Содержание GD32170C-START

Страница 1: ...GigaDevice Semiconductor Inc GD32170C START User Guide V3 0 Nov 20 2019 ...

Страница 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...

Страница 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 ...

Страница 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 ...

Страница 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 ...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Отзывы: