Board ID
7 years 2 months ago #29531411
by djyelee
Please Log in or Create an account to join the conversation.
7 years 2 months ago #29531412
by niko
You can use the command UID (?uid). There are six fields in uid:
?uid 1 => MCU type: 300 if STM32F30X, 100 if STM32F10X.
?uid 2 => DEVICE ID: 0x422 => STM32F30X
0x412 => STM32F10X_LD
0x410 => STM32F10X_MD
0x414 => STM32F10X_HD
0x418 => STM32F10X_CL
?uid 3
?uid 4
?uid 5 => The unique id of each MCU. You can use these values in order to discriminate the boards.
An easier way would be to configure the CAN node id (no matter if you use it or not). The respective command is CNOD (~cnod, ^cnod X)
?uid 1 => MCU type: 300 if STM32F30X, 100 if STM32F10X.
?uid 2 => DEVICE ID: 0x422 => STM32F30X
0x412 => STM32F10X_LD
0x410 => STM32F10X_MD
0x414 => STM32F10X_HD
0x418 => STM32F10X_CL
?uid 3
?uid 4
?uid 5 => The unique id of each MCU. You can use these values in order to discriminate the boards.
An easier way would be to configure the CAN node id (no matter if you use it or not). The respective command is CNOD (~cnod, ^cnod X)
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
Time to create page: 0.050 seconds