Application Note 67 of 80 002-26071 Rev. *B
2021-09-07
Clock configuration setup in TRAVEO™ T2G family CYT4D series MCUs
Supplementary information
Start
Configure ECO and ILO0
End
Set ILO0 to Counter 2
Set ECO to Conuter 1
Calibration counter done
No
Yes
Get ILO frequency
Check completion of clock calibration
counter operation
Set count value and start counter
(1)
(2)
(3)
(4)
(5)
(6)
Figure 23 Example of the clock calibration counter with ILO0 and ECO
6.2.1.1 Use case
• Measurement clock: ILO0 clock frequency 32.768 kHz
• Reference clock: ECO clock frequency 16 MHz
• Reference clock count value: 40000ul
6.2.1.2 Configuration
Table 31 lists the parameters and Table 32 lists the functions of the configuration part of in the SDL for the
clock calibration counter with ILO0 and ECO settings.
Table 31 List of clock calibration counter with ILO0 and ECO settings parameters
Define the ILO_0 setting parameter
Define the ILO_1 setting parameter
Define the measurement clock.
CY_SYSCLK_MEAS_CLK_ILO0 =
1ul
clockMeasuredInfo[].measuredFreq
Store the measurement clock
frequency.
Reference clock count value