background image

 

 

User Guide 

GD32E507R-START 

15/17 

 

 

5.7.2. 

DEMO Running Result 

Download the program < 07_USB_HID_Host > to the start board and run. 

If a mouse has been attached, the user will see the information of mouse enumeration. First 

pressing the USER key will see the inserted device is mouse, and then moving the mouse 

will show the position of mouse in the HyperTerminal. 

If a keyboard has been attached, the user will see the information of keyboard enumeration. 

First pressing the USER key will see the inserted device is keyboard, and then pressing the 

keyboard will show the state of the button in the HyperTerminal 

 

 

 

 

Summary of Contents for GD32E507R-START

Page 1: ...GigaDevice Semiconductor Inc GD32E507R START User Guide V1 0 ...

Page 2: ... MCU 10 5 ROUTINE USE GUIDE 11 5 1 GPIO_Running_LED 11 5 1 1 DEMO purpose 11 5 1 2 DEMO running result 11 5 2 GPIO_Key_Polling_mode 11 5 2 1 DEMO purpose 11 5 2 2 DEMO running result 11 5 3 EXTI_Key_Interrupt_mode 12 5 3 1 DEMO purpose 12 5 3 2 DEMO running result 12 5 4 USART_HyperTerminal_Interrupt 12 5 4 1 DEMO purpose 12 5 4 2 DEMO running result 12 5 5 TIMER_Key_EXTI 13 5 5 1 DEMO purpose 13 ...

Page 3: ...User Guide GD32E507R START 2 17 5 7 1 DEMO Purpose 14 5 7 2 DEMO Running Result 15 6 REVISION HISTORY 16 ...

Page 4: ...6 Figure 4 3 Schematic diagram of LED function 6 Figure 4 4 Schematic diagram of Key function 7 Figure 4 5 Schematic diagram of USART 7 Figure 4 6 Schematic diagram of USB 7 Figure 4 7 Schematic diagram of Extension 8 Figure 4 8 Schematic diagram of GD Link 8 Figure 4 9 Schematic diagram of Arduino 9 Figure 4 10 Schematic diagram of MCU 10 ...

Page 5: ...User Guide GD32E507R START 4 17 List of Tables Table 2 1 Function pin assignment 5 Table 6 1 Revision history 16 ...

Page 6: ...D Link Mini USB connecter to get power DC 5V which is the hardware system normal work voltage A GD Link on board is necessary in order to download and debug programs Select the correct boot mode and then power on the LEDPWR will turn on which indicates the power supply is OK There are Keil version and IAR version of all projects Keil version of the projects are created based on Keil MDK ARM 5 26 u...

Page 7: ...F AVX C17 50V 0 1uF C18 50V 0 1uF 3V3 LEDPWR LED0603 R7 470Ω U5V P1 SMD1210P005TF 5V0 4 2 Boot option Figure 4 2 Schematic diagram of boot option R4 10KΩ 1 2 3 JP2 BOOT0 GND R5 10KΩ 1 2 3 JP3 BOOT1 GND BOOT0 PB2 3V3 3V3 4 3 LED Figure 4 3 Schematic diagram of LED function PA10 PA8 PA7 LED1 LED0603 LED2 LED0603 LED3 LED0603 LED GND R1 470Ω R2 470Ω R8 470Ω PC13 LED4 LED0603 R10 470Ω ...

Page 8: ... K2 K 1102B 4 5 USART Figure 4 5 Schematic diagram of USART UD 1 UD 2 GND 3 RTS 4 CTS 5 TNOW 6 VCC 7 TXD 8 RXD 9 V3 10 U3 CH340E D D 3V3 3V3 UART4_TX UART4_RX C11 50V 0 01uF C12 50V 0 1uF D D C13 50V 4700pF R9 1MΩ USART To USB PC12 PD2 VCC 1 D 2 D 3 ID 4 GND 5 SHELL 6 CN3 Mini_USB 4 6 USB Figure 4 6 Schematic diagram of USB ...

Page 9: ...PA12 1 2 3 Q1 S8550 R62 1MΩ C49 50V 4700pF 5V0 USB_VBUS USB_DM USB_DP VBUS 1 DM 2 DP 3 ID 4 GND 5 Shield 6 USB_MiniAB receptacle CN2 Mini_USB PA9 4 7 Extension Figure 4 7 Schematic diagram of Extension Extension Pin 1 2 3 4 5 6 JP1 HEADER 6 PC0 PC1 PC2 PC3 PC4 PC5 4 8 GD Link Figure 4 8 Schematic diagram of GD Link ...

Page 10: ...NTRST 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 VDD_2 36 VDD_3 48 VDDA 9 VSS_1 23 VSS_2 35 VSS_3 47 VSSA 8 U0 GD32F103C8T6 L_TReset L_LED1 L_LED2 L_LED1 LED0603 L_LED2 LED0603 R109 470Ω R110 470Ω GND GND R105 22R R106 22R R108 1MΩ C104 50V 4700pF L_USB_DM L_USB_DP GND R107 1 5KΩ L_USB_Ctr...

Page 11: ...V3 GND BOOT0 OSC_IN OSC_OUT NRST PD2 PA15 PA13 PA14 PB3 JTDI JTMS SWDIO JTCK SWDCLK JTDO L_TMS IO L_TCK CLK L_TDO SWO L_TDI L_TReset GDLink JTAG NRST BOOT0 60 NRST 7 OSC_IN PD0 5 OSC_OUT PD1 6 PA0 WKUP 14 PA1 15 PA2 16 PA3 17 PA4 20 PA5 21 PA6 22 PA7 23 PA8 41 PA9 42 PA10 43 PA11 44 PA12 45 PA13 JTMS 46 PA14 JTCK 49 PA15 JTDI 50 PB0 26 PB1 27 PB2 BOOT1 28 PB3 JTDO 55 PB4 JNTRST 56 PB5 57 PB6 58 PB...

Page 12: ...cludes the following functions of GD32 MCU Learn to use GPIO control the LED and the KEY Learn to use SysTick to generate 1ms delay GD32E507R START V1 1 board has 2 keys and four LEDs The keys are User Key and Reset Key The LEDs are controlled by GPIO This demo will show how to use the User Key to control the LED2 When press down the User Key it will check the input value of the IO port If the val...

Page 13: ...Press down the User Key again LED2 will be turned off 5 4 USART_HyperTerminal_Interrupt 5 4 1 DEMO purpose This demo includes the following functions of GD32 MCU Learn to use the USART transmit and receive interrupts to communicate with the HyperTerminal 5 4 2 DEMO running result Download the program 04_USART_HyperTerminal_Interrupt to the START board connect serial cable to UART Firstly all the L...

Page 14: ... User Key it will produce an interrupt In the interrupt service function the demo will toggle LED1 5 5 2 DEMO running result Download the program 05_TIMER_Key_EXTI to the START board all the LED1 and LED2 are flashed once for test press down the User Key LED1 will be turned on Press down the User Key again LED1 will be turned off Connect PA6 TIMER2_CH0 and PA4 with DuPont line The LED2 will be tog...

Page 15: ...tion please refer to the standard of their agreement 5 6 2 DEMO Running Result Download the program 06_USB_MSC_Device to the EVAL board and run When the start board is connected to the PC you will find a USB large capacity storage device is in the universal serial bus controller and there is 1 more disk drives in the equipment manager of PC Then after opening the resource manager you will see more...

Page 16: ...umeration First pressing the USER key will see the inserted device is mouse and then moving the mouse will show the position of mouse in the HyperTerminal If a keyboard has been attached the user will see the information of keyboard enumeration First pressing the USER key will see the inserted device is keyboard and then pressing the keyboard will show the state of the button in the HyperTerminal ...

Page 17: ...User Guide GD32E507R START 16 17 6 Revision history Table 6 1 Revision history Revision No Description Date 1 0 Initial Release Aug 14 2020 ...

Page 18: ...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:

Related manuals for GD32E507R-START