Download ZWIR4501

Transcript
ZWIR4501
5.16 CLKO Configuration
The ZWIR4501 can provide a clock signal on its CLKO pin. It is enabled by default.
Register: CLKO Output Configuration [7:0]
mnemonic: ClkOutConfig, address 0xB8, access R/W, C code-based constant address definition:
CLK_OUT_CONFIG
Addr.
0xB8
Register
Bit
Description
ClkOutConfig [1:0] SleepModeClock
Reset
1
[3:2] NormalModeClock
2
[5:4] Clk24Div, N
2
[7:6] RtcDiv, M
0
This register configures the clock output on the CLKO pad. The clock output depends upon the operation. It can
be set up differently for the Sleep/Global Power Down mode and the Normal mode. By default, the 24 MHz
divided by 4 is selected in Normal mode, and the 32.768 kHz RTC clock is selected in Sleep/Global Power Down
mode.
Note that if the CLKO is configured to drive a clock derived from the 24 MHz in Sleep or Global Power Down
mode, the 24 MHz crystal oscillator is not powered down and therefore the low Sleep/Global Power Down
current consumption is not achieved in these modes.
SleepModeClock – clock configuration in Sleep and Global Power Down mode
0 = OFF
1 = 32.768 kHz / M
(default configuration)
2 = 24 MHz / N
NormalModeClock – clock configuration in other than Sleep or Gobal Power Down mode
0 = OFF
1 = 32.768 kHz / M
2 = 24 MHz / N
(default configuration)
Clk24Div, N – 24 MHz clock divider
0 = divide by 1
1 = divide by 2
2 = divide by 4
(default configuration)
3 = divide by 8
RtcDiv, M – 32.768 kHz clock divider
0 = divide by 1
(default configuration)
1 = divide by 2
2 = divide by 4
3 = divide by 8
To reduce the power consumption, it is recommended that the clock output signal be switched off if it is not in
use.
Copyright © 2009, ZMD AG, ZWIR4501 Data Sheet and User Manual v.1.3 - August 19, 2009
Page 118 of 124