2024-07-01 11:53 PM - edited 2024-07-01 11:56 PM
When choosing a crystal for STM32, the essential information is in table 5 and table 7 of AN2867. Table 7 is ordered by crystal: if you have a crystal, table 7 of AN2867 lists the stm32 processors where the crystal works.
STM32CubeMX already knows what STM32 processor is used. The STM32CubeMX "clock configuration" knows what crystals are needed.
Imagine a tool within STM32CubeMX, where one selects
- Temperature range: commercial or industrial
- Crystal size in mm
- Frequency tolerance in ppm
and is given a list of crystals that work, with their gain margin.