Telephone Signalling Transceiver / Least Cost Router CMX860
© 2008 CML Microsystems Plc 19 D/860/7
1.5.12 'C-BUS' Interface
This block provides for the transfer of data and control or status information between the CMX860’s
internal registers and the µC over the 'C-BUS' serial bus. Each transaction consists of a single Register
Address byte sent from the µC which may be followed by one or more data byte(s) sent from the µC to be
written into one of the CMX860’s Write Only Registers, or one or more byte(s) of data read out from one
of the CMX860’s Read Only Registers, as illustrated in Figure 7.
Data sent from the µC on the Command Data line is clocked into the CMX860 on the rising edge of the
Serial Clock input. Reply Data sent from the CMX860 to the µC is valid when the Serial Clock is high.
The CSN line must be held low during a data transfer and kept high between transfers. The 'C-BUS'
interface is compatible with most common µC serial interfaces and may also be easily implemented with
general purpose µC I/O pins controlled by a simple software routine. Figure 13 gives detailed 'C-BUS'
timing requirements.
The following 'C-BUS' addresses and registers are used by the CMX860:
General Reset Command (address only, no data). Address $01
General Control Register, 16-bit write only. Address $E0
Transmit Mode Register, 16-bit write-only. Address $E1
Receive Mode Register, 16-bit write-only. Address $E2
Transmit Data Register, 8-bit write only. Address $E3
Receive Data Register, 8-bit read-only. Address $E5
Status Register, 16-bit read-only. Address $E6
Programming Register, 16-bit write-only. Address $E8
Analogue Signal Path Register, 8-bit write-only. Address $EC
Notes: 1. The 'C-BUS' addresses $E9, $EA and $EB are allocated for production testing and should not
be accessed in normal operation.
2. The 'C-BUS' address $E4 is allocated for internal use and should not be accessed in normal
operation.
3. In several registers there are bit patterns whose function is not specified. These modes
should not be accessed in normal operation and no guarantee is given that any use of these
bits will be supported in the future.
1.5.12.1 General Reset Command
General Reset Command (no data) 'C-BUS' address $01
This command resets the device and clears all bits of the General Control, Analogue Signal Path,
Programming, Transmit Mode and Receive Mode Registers and all bits of the Status Register except b14
and b8.
The clearing of the General Control Register will put the device into Powersave. See the description of
General Control Register b8 for the procedure on how to power-up the device.
Whenever power is applied to the CMX860, a General Reset command should be sent to the device or
the RESETN pin should be pulsed low. Either action will cause the device to enter a powersave state
(General Control Register bit 8 will be cleared to '0'). Note that the CMX860 does not automatically
perform a power-on reset when power is first applied.
To bring the device out of powersave, please refer to the description of bits 7 and 8 in the General Control
Register, section 1.5.12.2.