EM78808
8-bit Micro-controller
TONE1(IOCC page1) 699.7Hz(0x0A0)
772.1Hz(0x091)
1
4
7
*
2
5
8
0
3
6
9
#
A
B
C
D
Low group freq.
854.6Hz(0x083)
940.8Hz(0x077)
Also TONE1 and TONE2 are an asynchronous tone generator so the both can be used to generate Caller
ID FSK signal. In FSK generator application, TONE1 or TONE2 can generate 1200Hz Mark bit and 2200Hz
Space bit for Bell202 or 1300Hz Mark bit and 2100Hz Space bit for V.23. See the following table.
TONE1(IOCC PAGE1) or
Freq. (Hz)
meaning
TONE2(IOCD PAGE1)
0x5D
0x33
0x56
0x35
1203.8
2195.2
1301.8
2112.4
Bell202 FSK Mark bit
Bell202 FSK Space bit
V.23 FSK Mark bit
V.23 FSK Space bit
IOCD (Counter1 data, TONE2 control)
PAGE0 (Counter1 data buffer)
7
6
5
4
3
2
1
0
CN17
CN16
CN15
CN14
CN13
CN12
CN11
CN10
Bit 0~Bit 7(CN10~CN17) : Counter1's data buffer
User can read and write this buffer. Counter1 is a eight bit up-counter with 8-bit prescaler that user can use
IOCD to preset and read the counter. ( write = preset) After a interruption, it will reload the preset value.
Example: write: IOW 0x0D ; write the data at accumulator to counter1 (preset)
Example: read: IOR 0x0D ;read IOCD data and write to accumulator
PAGE1 (TONE2 control register)
7
6
5
4
3
2
1
0
T27
T26
T25
T24
T23
T22
T21
T20
Bit 0~Bit 7(T20~T27) : Tone generator1‘s frequency divider and power control. Please refer to IOCC
page1 Tone1 control register for detail.
IOCE (Counter2 data, Comparator and OP control , Energy Detector )
PAGE0 (Counter2 data buffer)
7
6
5
4
3
2
1
0
CN27
CN26
CN25
CN24
CN23
CN22
CN21
CN20
Bit 0~Bit 7(CN20~CN27) : Counter2's data buffer
User can read and write this buffer. Counter2 is a eight bit up-counter with 8-bit prescaler that user can use
IOCD to preset and read the counter. ( write = preset) After a interruption, it will reload the preset value.
Example: write: IOW 0x0E ; write the data at accumulator to counter2 (preset)
Example: read: IOR 0x0E ;read IOCE data and write to accumulator
PAGE1 (Comparator reference voltage type, PORT switch, OP)
7
6
5
4
3
2
1
0
CMPREF
CMPIN3
CMPIN2
CMPIN1
P5S2
P5S1
OPEN
OPOUT
Bit 0 (OPOUT) : Schmitt trigger output for OP block
It 's read only register which from the output of operation amplifier through a Schmitt trigger.
The Schmitt trigger has hysteresis characteristic. The input voltage is come from OP- to OPO(Schmitt
trigger input). The input voltage is from 0V to 5V and from 5V to 0V have different transition curve shown in
the following.
______________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
8/1/2004 (V3.1)
40