System Clock Measurement with UPDI

It is possible to use the UPDI to get a accurate measurement of the system clock frequency, by using the UPDI event connected to TCB with Input Capture capabilities. A recommended setup flow for this feature is given by the following steps:
Figure 1. UPDI System Clock Measurement Events