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
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
Parameters
Description
Value
ILO_0
Define the ILO_0 setting parameter
0ul
ILO_1
Define the ILO_1 setting parameter
1ul
ILONo
Define the measurement clock.
ILO_0
clockMeasuredInfo[].name
Measurement clock
CY_SYSCLK_MEAS_CLK_ILO0 =
1ul
clockMeasuredInfo[].measuredFreq Store the measurement clock
frequency.
–
counter1
Reference clock count value
40000ul
CLK_FREQ_ECO
ECO clock frequency
16000000ul (16 MHz)