User Guide GD32L233R-EVAL Table of Contents Table of Contents......................... 1 List of Figures ........................4 List of Tables ........................5 1. Summary......................... 6 2. Function Pin Assign...................... 7 3. Getting started ....................... 9 4. Hardware layout overview ..................10 Power supply......................10 4.1.
User Guide GD32L233R-EVAL List of Figures Figure 4-1. Schematic diagram of power supply .................10 Figure 4-2. Schematic diagram of boot option ................10 Figure 4-3. Schematic diagram of LED function................10 Figure 4-4. Schematic diagram of Key function ................11 Figure 4-5. Schematic diagram of ADC ..................11 Figure 4-6.
User Guide GD32L233R-EVAL List of Tables Table 2-1. Function pin assignment .................... 7 Table 6-1. Revision history ......................33 5/34...
User Guide GD32L233R-EVAL Summary GD32L233R-EVAL uses GD32L233RCT6 as the main controller. It uses GD-Link Mini USB interface to supply 5V power. Reset, Boot, Button key, LED, I2S, I2C-EEPROM, SLCD, QSPI- Flash, USB and USART to USB interface are also included. For more details, please refer to GD32L233R-EVAL_Rev1.1 schematic.
User Guide GD32L233R-EVAL Function Pin Assign Table 2-1. Function pin assignment Function Description LED1 LED2 LED3 PC11 LED4 RESET Reset P A0 K3(Wakeup) PC13 K2(Tamper) P A1 ADC_IN1 P A4 DAC_OUT P A2 USART1_TX USART P A3 USART1_RX PB10 I2C1_SCL PB11 I2C1_SDA PC12...
Page 9
User Guide GD32L233R-EVAL Function Description SEG22 SEG23 P A1 CMP0_IP P A11 USB_DM P A12 USB_DP 8/34...
User Guide GD32L233R-EVAL Getting started The EVAL board uses GD-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.
User Guide GD32L233R-EVAL Routine use guide 5.1. GPIO_Running_LED DEMO purpose 5.1.1. This demo includes the following functions of GD32 MCU: Learn to use GPIO control the LED Learn to use SysTick to generate 1ms delay GD32L233R-EVAL board has two user keys and four LEDs. The keys are Tamper key, and Wakeup key.
User Guide GD32L233R-EVAL 5.3. EXTI_Key_Interrupt_mode DEMO purpose 5.3.1. This demo includes the following functions of GD32 MCU: Learn to use GPIO control the LED and the KEY Learn to use EXTI to generate external interrupt GD32L233R-EVAL board has two user keys and four LEDs. The keys are Tamper key and Wakeup key.
User Guide GD32L233R-EVAL 5.5. USART_HyperTerminal_Interrupt DEMO purpose 5.5.1. This demo includes the following functions of GD32 MCU: Learn to use the USART transmit and receive interrupts to communicate with the HyperTerminal. DEMO running result 5.5.2. Download the program <05_USART_HyperTerminal_Interrupt> to the EVAL board and connect serial cable to USART.
User Guide GD32L233R-EVAL output the received data to the hyper terminal. The output information via the HyperTerminal is as following: 5.7. LPUSART_Deepsleep_Wakeup DEMO purpose 5.7.1. This demo includes the following functions of GD32 MCU: Learn to use the LPUART wakeup the MCU from DEEPSLEEP mode. DEMO running result 5.7.2.
User Guide GD32L233R-EVAL 5.8. ADC_Temperature_Vrefint DEMO purpose 5.8.1. This demo includes the following functions of GD32 MCU: Learn to use the ADC to convert analog signal to digital data Learn to get the value of inner channel 16 (temperature sensor channel) and channel 17 (Vrefint channel) DEMO running result 5.8.2.
User Guide GD32L233R-EVAL value is 1.65V. 5.10. Comparator_obtain_brightness DEMO purpose 5.10.1. This Demo includes the following functions of GD32 MCU: Learn to use comparator output compare result There are two comparators on EVAL board and each comparator has two inputs. In this demo, one input is connected to VR1, and the other one is the reference voltage (1.2V).
User Guide GD32L233R-EVAL 5.12. QSPI_FLASH DEMO purpose 5.12.1. This demo includes the following functions of GD32 MCU: Learn to use the Quad-SPI mode of SPI unit to read and write NOR Flash with the SPI interface DEMO running result 5.12.2.
User Guide GD32L233R-EVAL are written to and read from flash. Compare the data that were written to the flash and the data that were read from the flash. If they are the same, the serial port will output “SPI- GD25Q16 Test Passed!”, otherwise, the serial port will output “Err: Data Read and Write aren' t Matching.”.
User Guide GD32L233R-EVAL DEMO running result 5.13.2. Download the program<13_I2S_Audio_Player>to the EVAL board, insert the headphone into the audio port, and then listen to the audio file. 5.14. TRNG_Get_Random DEMO purpose 5.14.1. This demo includes the following functions of GD32 MCU: ...
User Guide GD32L233R-EVAL Learn to communicate with PC by USART DEMO running result 5.15.2. Download the program <15_CAU> to the EVAL board and run. When the program is running, the serial terminal tool will display the information, as shown in the following figure. Plaintext data value, the encryption algorithm, and the mode can be selected are shown.
User Guide GD32L233R-EVAL below. 5.16. RCU_Clock_Out DEMO purpose 5.16.1. This demo includes the following functions of GD32 MCU: Learn to use GPIO control the LED Learn to use the clock output function of RCU Learn to communicate with PC by USART DEMO running result 5.16.2.
User Guide GD32L233R-EVAL calibration function Learn to use clock trim controller (CTC) to trim internal 48MHz RC oscillator (IRC48M) clock The CTC unit trim the frequency of the IRC48M based on an external accurate reference signal source. It can automatically adjust the trim value to provide a precise IRC48M clock. DEMO running result 5.17.2.
User Guide GD32L233R-EVAL 5.20. TIMER_Breath_LED DEMO purpose 5.20.1. This Demo includes the following functions of GD32 MCU: Learn to use TIMER output PWM wave Learn to update TIMER channel value DEMO running result 5.20.2. Download the program <20_TIMER_Breath_LED> to the GD32L233R-EVAL board and run. When the program is running, you can see LED1 lighting from dark to bright gradually and 29/34...
User Guide GD32L233R-EVAL then gradually darken, ad infinitum, just like breathing as rhythm. LPTIMER_Deepsleep_Pwmout 5.21. DEMO purpose 5.21.1. This Demo includes the following functions of GD32 MCU: Learn to use LPTIMER output PWM wave Learn to use the LPTIMER interrupts to wake up the PMU from sleep mode DEMO running result 5.21.2.
User Guide GD32L233R-EVAL Host HID driver, as shown below. The USB Keyboard uses Tamper key and Wakeup key to output two characters (‘a’, ‘b’). In addition, the demo also supports remote wakeup which is the ability of a USB device to bring a suspended bus back to the active condition, and the ‘b’ key is used as the remote wakeup source.
User Guide GD32L233R-EVAL DEMO Running Result 5.24.2. Download the program <24_USBD_CDC_ACM> to the EVAL board and run. When user input message through computer keyboard, the HyperTerminal will receive and shown the message. For example, when you input “GigaDevice MCU”, the HyperTerminal will get and show it as below.
User Guide GD32L233R-EVAL Revision history Table 6-1. Revision history Revision No. Description Date Initial Release Aug.15, 2021 Update the format Nov.15, 2021 33/34...
Page 35
Important Notice This document is the property of GigaDevice Semiconductor Inc. and its subsidiaries (the "Company"). This document, including any product of the Company described in this document (the “Product”), is owned by the Company under the intellectual property laws and treaties of the People’s Republic of China and other jurisdictions worldwide.
Need help?
Do you have a question about the Arm Cortex M23 and is the answer not in the manual?
Questions and answers