Test Programs — Details

Test Programs

The STM32X0G platform HAL contains some test programs which allow various aspects of the board to be tested.

ADC Test

This program tests the ADC driver for the STM32. The only device connected to the ADC on the board is the potentiometer connected to ADC3 logical channel 7. Therefore this test primarily tests that. However, in addition it also report the values of the temperature sensor, Vrefint and Vbat inputs that are sourced on-chip. The option CYGBLD_HAL_CORTEXM_STM32X0G_EVAL_TEST_ADC must be enabled to run this test since it needs human interaction.