2020-02-27 12:59 AM
Hi,
I'm wondering if there are any libraries developed by ST that test STM32 (and STM8) hardware (a library that can test if all GPIOs can be set/reset, if PWM is as accurate as expected, if ADC is ok too etc.)
Any clue ?
regards,
AJT
2020-02-29 07:07 AM
Well for some cases, external components will permits to test the board.
2020-02-29 07:43 AM
Yes, but the connections, signal levels, timings and functions to test are board/project specific and combinations are almost endless.
Better spend a time on writing a driver library, cooperative scheduler, software timers, configuration engine and such things as these will really boost your development abilities and speed. :)
2020-03-04 12:48 AM
"How do you imagine testing ADC without external analog reference"
with internal DAC to ADC connection
2020-03-04 12:54 AM
Some STMs have internal refs. (STM32F373 SDADC, have internal ref and self calibration algorithm)
Moreover even silicon pn junction can be used as termal dependant 0.6v ref