2022-11-21 12:35 AM
Hello,
I would need a register that systematically identify the family type of the micro "STM32F103ZDT6".
In the reference manual there is the Unique device ID register, but it gives a unique identifier to the chip, I would like an identifier that would specify the family type of the MCU "STM32F10x".
Please can anyone show me a register that identifies the family "STM32F10x"?
Thank you for your support
2022-11-21 12:40 AM
Isn't there a DBGMCU DEVID register?
2022-11-21 01:31 AM
...called DBGMCU_IDCODE at address 0xE0042000
RM0008 also says:
This code is accessible using the JTAG debug port (four to five pins) or the SW debug port (two pins) or by the user software. It is even accessible while the MCU is under system reset.
Edit: In all variants of the STM32F103, DBGMCU_IDCODE can only be read via the debug interface and not with user code; an attempt to read it with user code will then only result in 0x00, see:
Regards
/Peter
2022-11-22 12:58 AM
hi guys,
thanks for the response.
The goal is to differentiate the "STM32F103ZET6" from the "GD32F103ZET6" MCU. The MCUs have the same Device identifier at address 0xE0042000 (DEV_ID).
I think it is necessary to follow the JEDEC standard, but on the datasheet I can't find out the memory address that returns me the Manufacturer's Identification Code of the STMicroelectronics.
Could you kindly give me more information about this?
Where is located the JEDEC Manufacturer in the "STM32F103ZET6"?
Does it make sense to query JEDEC to differentiate STM from other manufacturers?
2022-11-22 05:49 AM
There are several suggestions on the web for reading the Manufacturer ID Code according to JEDEC JEP106 and thus identifying the manufacturer, e.g.
Good luck!
/Peter