cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to detect if running on a STM32f103VC as opposed to a STM32F101VC.

Trev
Associate II

Customer has fitted both to different rev boards and wants to detect the hardware rev based on the processor type that was fitted. both run the same firmware without issue. I'm looking for a way (in firmware) to detect which processor is fitted.

2 REPLIES 2
SofLit
ST Employee

Hello,

I think debug registers cannot help you since the devices you are using are very similar from that standpoint.

You may play on the differences from peripheral instances.

For example F103 features a CAN module while F101 does not. In that case for example you may use CAN module in loopback mode and send receive a frame: if you are receiving the Frame -> it's a F103 device, otherwise it's F101!

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.
Uwe Bonnes
Principal III

There is no way. Both devices are the same die, with some parts in the F101 not tested.