Hello Jacek,
The location is 0xFF6FU. You can use this code to trim PA16 internal clock.
if (*(uint8_t*)0xFF6FU != 0xFFU) { /* Test if the device trim value is stored on the specified address */
ICS_C3 = *(uint8_t*)0xFF6FU; /* Initialize ICS_C3 register from a non volatile memory */
ICS_C4 = (uint8_t)((*(uint8_t*)0xFF6EU) & (uint8_t)0x01U); /* Initialize ICS_C4 register from a non volatile memory */
}
And the same can be checked in_EntryPoint( ) by generating a code through Processor Expert. In this basic CPU initialization (WDOG disable and trimming) is done.
Thanks and Regards
Arpita Agarwal