Determination of the maximum counter depth (counter reload value)
Counter depth in delivery state
In delivery state the counter value counts in the range from 0 to the maximum counter depth (232-1). When the maximum counter depth is exceeded (counter overflow) the counter starts counting up from zero again. Counter overflow is indicated by the "Counter overflow" bits (see chapter Counter overflow / Counter underflow).
In the case of counter underflow, counting continues at the maximum counter depth. The underflow is identified with the corresponding "Counter underflow" bit.
Counter depth adjustment
To adjust the counter depth, proceed as follows:
- Enter the desired value for R = "Counter reload value" in index 0x8000:12 (factory setting: RDefault = (232-1).
- Activate the changed counter depth by setting "Enable reload" index 0x8000:09 = TRUE.
![Determination of the maximum counter depth (counter reload value) 1:](Images/png/16551366283__Web.png)