XMC7000: Setting the Clock Supervision (CSV) parameters
Parameters related to CSV
Table 2
Target parameters
Parameters
Minimum target (Calculated reference clock count)
Target (Reference clock count for user definition)
2.3
Calculate the lower and upper limit
Calculate the lower limit with
Equation 2
= ×
Calculate the Upper limit with
Equation 3
= ×
Only for PLL400 SSCG mode:
= ×
2.4
Calculate the period
Calculate the period with
target value. To avoid the round-off error of the period value, the value should be as close to an integral value
as possible and not a decimal value. This can be achieved by adjusting the target value.
Equation 4
= Target ×
2.5
Calculate the startup delay
Calculate the Startup Delay with
unused (0). CSV should be enabled after WCO is started (BACKUP_STATUS.WCO_OK = 1).
Equation 5
= × Reference clock frequency × (1
+
Application note
Equation 2
using the CSV calculator.
Reference clock frequency × (1 −
Monitored clock frequency × (1 +
Equation 3
using the CSV calculator.
Reference clock frequency × (1 +
Monitored clock frequency × (1 −
Reference clock frequency × (1 +
Monitored clock frequency × (1 −
Equation 4
using the CSV calculator. If the period value is less than one, increase the
Equation 5
using the CSV calculator. In the case of WCO, the startup time is
)
100
Value
Unit
200
Cycles
200
Cycles
100
100
100
100
+ ℎ
6
Remarks
≥ Minimum target
)
)
)
)
)
100
100
002-34390 Rev. *A
2023-06-05
)