Maxim Integrated 73M1966B User Manual
Page 17

UG_1x66B_002
73M1866B/73M1966B GUI User Guide
Rev. 1.1
17
This is a listing of the “ring-rev-set-up.tsf” file:
' Script - ring-rev-set-up (ON hook)
' This script is used to enable the ring/line reversal
' detection or to go ON hook, no CID
' The time slot is not affected and will remain as
' previously programmed
' Script Format (All Values in Hex)
' Write Register: W,Mode,BRCT,CID,Address,Data
' Write: W, Read: R
' Mode: 0=8-Bit, 1=16-Bit
' BRCT: Broadcast only used in Write
' Chip ID, Address, Data: Hex Value
‘
'
Enable detectors, polling ID bits
W,1,0,0,5,13
'
Set ring signal threshold to 15V
W,1,0,0,E,01
'
Enable barrier interface
W,1,0,0,F,80
'
Enable line side device analog ckts
W,1,0,0,12,04
'
All off hook functions disabled
W,1,0,0,15,00
'
All off hook functions disabled
W,1,0,0,16,00
Note that the time slot is not being programmed in this case. This still would need to be done at some
point, but it is not necessary to have a time slot selected if the PCM data is not being sent and received.
There may also be cases where a specific time slot is being used other than time slot 0, so it would not be
desirable to change to time slot zero every time the 73M1966B has a software reset.
In the following program example Caller ID can be received so the PCM receive channel must be
configured. If the time slot is not programmed it will not be possible to receive the PCM data when the
Caller ID signal is sent. It is not, however, necessary to program the PCMEN bit in register 23h since that
is only required to send PCM. The receive analog channel must be turned on for the Caller ID path to be
available, so the RXEN bit in register 16h must also be turned on. It was not really necessary to program
the transmit channel time slot at this time, but it was done anyway so it won’t need to be done separately
later.
' Script - ring-rev-CID-set-up (ON hook)
' This script is used to enable the ring/line reversal
' detection and Caller ID reception
' Script Format (All Values in Hex)
' Write Register: W,Mode,BRCT,CID,Address,Data
' Write: W, Read: R
' Mode: 0=8-Bit, 1=16-Bit
' BRCT: Broadcast only used in Write
' Chip ID, Address, Data: Hex Value
'
'
Enable detectors, polling ID bits
W,1,0,0,5,13
'
Set ring signal threshold to 15V
W,1,0,0,E,01
'
Enable barrier device interface
W,1,0,0,F,80
'
Enable line side device analog ckts
W,1,0,0,12,04
'
20dB boost on for CID
W,1,0,0,14,08
'
All off hook functions disabled; CID enabled
W,1,0,0,15,30