User Manual
GD32450I-EVAL
24
/
51
ADC1 stored in adc_value [0] and adc_value [1].
5.10
DAC_Output_Voltage_Value
5.10.1
DEMO Purpose
This demo includes the following functions of GD32 MCU:
Learn to use DAC to output voltage on DAC0 output
5.10.2
DEMO Running Result
Jump the JP23 to DAC with the jumper cap, download the program
<10_DAC_Output_Voltage_Value> to the EVAL board and run, all the LEDs will turn on
and turn off for test. The digital value is 0x7FF0, its converted analog voltage should be
1.65V(VREF/2), using the voltmeter to measure PA4 or JP7, its value is 1.65V.
5.11
I2C_EEPROM
5.11.1
DEMO Purpose
This demo includes the following functions of GD32 MCU:
Learn to use the master transmitting mode of I2C module
Learn to use the master receiving mode of I2C module
Learn to read and write the EEPROM with I2C interface