Skip to main content
MasterPhi
Associate II
June 23, 2026
Question

STM32U5: UCPD manual trim disagreement

  • June 23, 2026
  • 2 replies
  • 29 views

It’s mentioned in RM0456 rev7 that manual trim must be done for device variants except STM32U535/545; U575/U585 Rev.X:

 

However in CubeMX 1.8.0 manual trim is only applied for these devices, which only applies to half of the family:

  /* This is only needed for some devices/rev. */
if (((dev_id == 0x482UL) && (rev_id == 0x3000UL)) ||
((dev_id == 0x481UL) && (rev_id == 0x2001UL)) ||
((dev_id == 0x481UL) && (rev_id == 0x3000UL)) ||
((dev_id == 0x476UL) && (rev_id == 0x1000UL)))

For example my Nucleo-U5A5ZJ-Q board has dev_id=0x0481 and rev_id=0x3001 so the manual trim is not applied.

Which one is correct ?

2 replies

ST Technical Moderator
June 24, 2026

Hi ​@MasterPhi 

I agree in my understanding, device ID and rev ID should be added here to cover STM32U5A5. An internal ticket is submitted to dedicated team CDM0063801 

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
MasterPhi
MasterPhiAuthor
Associate II
June 24, 2026

Thank you, that’s indeed what I’m thinking about.