2016-05-23 05:00 AM
Hi,
I need to distinguish between diffrent types of STM32 devices during runtime .Specifically between F2 and F4 and their sub types. Can this information be parssed from the Unique ID?Is there a way to get at runtime the RAM size of a device?Thanks,Ari2016-05-23 05:55 AM
For mcu type, see DBGMCU_IDCODE register in RM. Read also errata - F2 and F4 could be confused in early revisions, to be distinguished by the core's CPUID register content. RAM size can't be determined directly but FLASH size can be, see ''Flash size'' chapter in RM.
JW2016-05-23 06:13 AM
Thanks!