Evaluation Kit for CMX838 Family Radio Processor
9
EV8380 User Manual
CMX838 Register Name
Register
CMX838
Appropriate
Address function area
C-BUS Script
Command
GENERAL RESET
01
83
89
80
81
8A
8B
8D
8C
93
94
95
8E
97
88
82
system
system
system
audio
W1
W2
W2
W2
W2
W2
W2
W3
R2
W2
R2
W2
W3
W3
W3
W2
AUDIO POWER AND BANDWIDTH CONTROL
SYNTHESIZER BASEBAND CLK CONTROL
SETUP REGISTER
AUDIO CONTROL
audio
SYNTHESIZER GENERAL CONTROL
SYNTHESIZER CHANNEL SELECT
SYNTHESIZER 1ST IF OFFSET
SYNTHESIZER STATUS
SUBAUDIO GENERAL CONTROL
SUBAUDIO STATUS
8 BIT SUBAUDIO TASK DATA
16 BIT SUBAUDIO TASK DATA
SUBAUDIO ANALOG LEVEL CONTROL
TX MOD 1&2 CONTROL
synthesizer
synthesizer
synthesizer
synthesizer
subaudio
subaudio
subaudio
subaudio
subaudio
output
RX VOLUME CONTROL
output
Table 3, CMX838 Registers and Valid C-BUS Script Commands
3.2.6.3
Pause Type Commands
Pauses are supported to allow the installed CMX838 to ‘dwell’ in a configured state for an extended period.
For example, the CMX838 may be configured to emit an audio tone and script pause commands may be used
to determine the length of the tone before it is turned off.
One pause command is of a fixed duration. The other has a maximum duration but is terminated when the
CMX838 asserts its hardware interrupt.
Script
command
T
Description
NOTE
Pause for the specified number of 10uS ‘ticks’ written in decimal
form e.g. an argument value of 6500 yields a pause duration of
65mS.
The maximum valid
argument value is 6500.
I
Pause for the specified number of 10uS ‘ticks’ in decimal form but The maximum valid
terminate the pause immediately upon receiving a CMX838
interrupt.
argument value is 6500.
Table 4, Pause Type Commands
NOTES:
1. Argument must be in decimal form without any preceding characters such as “0d”.
2. The “I” script command is the letter “i”, not the letter “L”.
3.2.6.4 Script Example
A short segment of sample script follows. Note there are tabs between each field that are not visible in this
document.
// general reset
W1
W2
T
T
T
W2
W2
W2
W2
W3
W3
01
89
6500
6500
6500
80
81
82
83
88
40
// clock control base band from XTAL 4MHz
// pause 65mS
// pause 65mS
// pause 65mS
// TX mode, Aux I/O Selected, HPF Out to LPF/Lim In
// LPF + -7.5 dB Gain
DE
61
24
56
// Bypass de-emphasis, Rx out Gain = -28.5 dB
// audio lowest current mode with Narrow Band LPF
503F // Audio & Sub-audio on Mod2 0dB, Audio on Mod1 7.5dB
97
1010 // Sub Audio Analog Levels
¤2001 MX-COM, Inc.
4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA
www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054
Doc. # 20480230.001
All trademarks and service marks are held by their respective companies.