User`s manual

Am186™CC Microcontroller Router Reference Design Users Manual
D-3
" "
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Declarations "
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
INPUT /pcs4; "PIN 9 PCS4# used for DTMF output enable for channel 2
INPUT /pcs5; "PIN 8 PCS5# used for DTMF output enable for channel 1
INPUT mclk_c32; "PIN 1 12.288 MHz clock signal from the Am79C32A
INPUT bclk_c32; "PIN 3 BCLK signal produced by the Am79C32A
INPUT resout; "PIN 2 RESOUT output from 186CC
OUTPUT dtmf2oe; "PIN 19 DTMF Channel 2 output enable
OUTPUT dtmf1oe; "PIN 23 DTMF Channel 1 output enable
OUTPUT mclk4; "PIN 22 4.096 MHz clock signal for the DSLAC
OUTPUT pclk; "PIN 25 Modified BCLK signal
" Equations "
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
dtmf2oe = pcs5;"inverted pcs5 to create active high OE when tones are transmitted.
dtmf1oe = pcs4;"inverted pcs4 to create active high OE when tones are transmitted.
STATE_MACHINE divider CLOCKED_BY mclk_c32 RESET_BY resout;
" This state machine generates the 2MHz and the 4MHz clock signal
" for the DSLAC.
" It is a simple divide by 3 and by 6 circuit
STATE one:
mclk4=0;
goto two;
STATE two:
mclk4=0;
goto three;
STATE three:
mclk4=1;
goto one;
about.book Page 3 Wednesday, July 21, 1999 11:10 AM