Page 22
Input Connections
Page 22
Blue Chip Technology Ltd.
01271014.doc
4.4.2 Programming the Interrupt Frequency
The following code must be written to BASE+13 to select the required
frequency.
Output Frequencies of 1MHz Unit
Unit: Hz
Bit
2
0
0
0
0
1
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
5
4
3
0
0
0
1M
100K
10K
1K
100
10
1
0.1
0
0
1
100K
10K
1K
100
10
1
0.1
0.01
0
1
0
500K
50K
5K
500
50
5
0.5
0.05
0
1
1
333.3K
33.3K
3.3K
333.3
33.3
3.3
0.33
0.033
1
0
0
250K
25K
2.5K
250
25
2.5
0.25
0.025
1
0
1
200K
20K
2K
200
20
2
0.2
0.02
1
1
0
166.6K
16.6K
1.6K
166.6
16.6
1.66
1.16
0.016
1
1
1
8.3K
8.3K
833.3
83.3
8.3
0.83
0.083
0.0083
N.B.
The duty cycle will vary accordingly to the frequency selected between
33% and 50%. Consult the manufacturer’s data sheet for full details.
For example to select 2KHz:
Bit
MSB
5
4
3
2
1
0
LSB
Example
1
0
1
0
1
0
2
A
Hex
For example to select 0.016:
Bit
MSB
5
4
3
2
1
0
LSB
Example
1
1
0
1
1
1
3
7
Hex