Skip to main content
despo.1
Associate
November 21, 2022
Question

Please can anyone show me a register that identifies the family "STM32F10x" of the MCU? I'm not interesting for a Unique device ID register "U_ID".

  • November 21, 2022
  • 2 replies
  • 1952 views

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

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
November 21, 2022

Isn't there a DBGMCU DEVID register?​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Peter BENSCH
Technical Moderator
November 21, 2022

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

  • STM32F101xC/D/E, STM32F103xC/D/E = ES0340
  • STM32F10xx8 STM32F10xxB = ES096
  • STM32F10xx4 STM32F10xx6 = ES0348

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
despo.1
despo.1Author
Associate
November 22, 2022

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?

Peter BENSCH
Technical Moderator
November 22, 2022

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.