Question
STM32U5: UCPD manual trim disagreement
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 ?
