Skip to main content
gbm
Super User
Oct 22, 2026 7:21 PM UTC
Question

STM32C5 calibration values document discrepancy

RefMan RM0522 version 1.0 seems to conflict with the datasheet DS15137 - Rev 3 and DS15136 - Rev 1.

RM0522 Table 23 says that all three calibration values (Vrefint, TS_CAL1 and TS_CAL2) are stored as 32-bit words.

Both Datasheets’ sections 5.3.5 specify the Vrefint calibration value as 24-bit. (?! - looks like a mistake)

Both Datasheets’ sections 5.3.20 show the TS_CALx values as 16-bit, as in most of other STM32 models.

5 replies

KDJEM.1
ST Technical Moderator
Oct 27, 2026 7:57 AM UTC

Hello ​@gbm ;

 

Thank you for bringing the issue to our attention. I reported this behavior internally.

Internal ticket number CDM0066890 (This is an internal tracking number and is not accessible or usable by customers).

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
KDJEM.1
ST Technical Moderator
Oct 28, 2026 9:03 AM UTC

Hello ​@gbm ;

 

The reported differences are real.

The calibration values are organized as follows:

Edit: VREFINT_CAL is located at 0x08FFF810 and contains 24 16 valid bits.
TS_CAL1 is located at 0x08FFF814 and contains 16 valid bits.
TS_CAL2 is located at 0x08FFF818 and contains 16 valid bits.

I confirm the typos are real and the Reference manual will be updated.

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
waclawek.jan
Super User
Oct 28, 2026 10:28 AM UTC

And are the outstanding bits within the 32-bits set to zero?

JW

KDJEM.1
ST Technical Moderator
Oct 28, 2026 3:28 PM UTC

Hello ​@gbm ;

 

After double checking: All factory calibration below will be changed from 31:0 to 15:0 in the Reference manual so it is effectively on 16bits not 32bits 

In the Datasheet :

The memory address of the Vrefint_cal will go from 0x08FFF810 - 0x08FFF812 to 0x08FFF810 - 0x08FFF811 as well as it is on 16bits also not 24bits.

 

The 16-bit definition refers to the storage format, not the ADC resolution. VREFINT_CAL contains the factory-measured 12-bit ADC conversion result, right-aligned in the 16-bit location:

  • Bits [11:0]: valid 12-bit calibration result
  • Bits [15:12]: unused

I apologize for any inconvience.

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.