2024-07-12
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
Have you ever encountered the following application scenarios: the same set of software code is expected to run in different models of GD32 MCU, but some parts need to be adjusted according to the MCU model? Or when the host computer or other MCU communicates with the GD32 MCU, it is necessary to know which MCU model is corresponding?
At this point, we need to understand how to obtain and distinguish the models of GD32 MCU.
GD32 MCU models can be distinguished by PID. The PID definition is shown in the figure below. This register is a read-only register and is programmed once at the factory. It has a total of 4 bytes. Different MCU models have different PIDs.
The address corresponding to the PID may be slightly different. The following are some PID addresses of GD32 MCU for your reference:
MoreGD32MCU related consultation:https://www.gd32bbs.com/