If you wanna take a control on your software (secure your software by selecting package you want, device you want and others) you can identify STM32Fxxx device. This library allows you to read several things from device, like unique ID, flash size, package type, device type and maybe more. I’ve ported my old library to HAL based drivers, which now supports STM32F0xx, STM32F4xx and STM32F7xx series.
- Read device type with software,
- Read flash size in kB,
- Read device package type
- Not supported on all devices!
- Read unique ID in BYTE, HALF-WORD and WORD modes,
- Read device revision
- STM32Fxxx HAL
- defines.h configuration file
Functions and enumerations
Full functions and enumerations can be found on ID API site.
Examples for receiver and transmitter with or without interrupt pin are available on my Github account, where you can take a look at main.c file for more informations.
Download all libraries below.