cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 self-test library (testing GPIO, PWM ...)

AJT
Associate III

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

13 REPLIES 13
AJT
Associate III

Well for some cases, external components will permits to test the board.

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. :)

"How do you imagine testing ADC without external analog reference"

with internal DAC to ADC connection

es131245
Associate II

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