Use Case; Configuration - Infineon XMC7000 Manual

Hide thumbs Also See for XMC7000:
Table of Contents

Advertisement

Clock configuration setup in XMC7000 MCU family
Supplementary information
(1)
(2)
(3)
(4)
(5)
(6)
Figure 41
Example of clock calibration counter with ILO0 and ECO
6.2.2

Use case

Parameter
Measurement clock
Reference clock
Reference clock count value
6.2.3

Configuration

Table 2
lists the parameters and
Peripheral Driver Library for Clock Calibration Counter with ILO0 and ECO settings.
Table 2
Configuration parameters for Clock calibration counter with ILO0 and ECO
Parameters
ILO_0
ILO_1
ILONo
clockMeasuredInfo[].name
clockMeasuredInfo[].measuredFreq
counter1
CLK_FREQ_ECO
Application note
Start
Configure ECO and ILO0
Set ECO to Conuter 1
Set ILO0 to Counter 2
Set Count value and Start Counter
Calibration Counter Done
Yes
Get ILO Frequency
End
Value
ILO0 clock frequency 32.768 kHz
ECO clock frequency 16 MHz
40000ul
Table 3
lists the functions of the configuration part in ModusToolbox™ CAT1
Description
Define the ILO_0 configuration
parameter
Define the ILO_1 configuration
parameter
Define the measurement clock
Measurement clock
Store the measurement clock
frequency
Reference clock count value
ECO clock frequency
35
Check completion of Clock Calibration
Counter operation
No
Value
0ul
1ul
ILO_0
CY_SYSCLK_MEAS_CLK_ILO0
= 1ul
40000ul
16000000ul (16 MHz)
002-34253 Rev. *C
2023-11-08

Advertisement

Table of Contents
loading

Table of Contents