English
Language : 

EV9902A Datasheet, PDF (16/23 Pages) CML Microcircuits – Measures Bit Error Rate
Interface Kit for EV9900A
EV9902
The script files should be ASCII text files with each line containing one of the following
commands:
• Register write -
• Register read -
• Delay -
• IRQ -
• IRQ with time-out -
• Comment line -
AA_DD
AA
DELAY_X..X
IRQ
IRQTO_X..X
//C..C
Where AA is the 2 digit (one byte) register address in hexadecimal, _ is a single space character,
DD is the 2 digit (one byte) register value in hexadecimal, X..X is a time to delay by in 10ms units
and C..C is an ASCII string. The delay and IRQ commands stop any following script commands
from being executed until the delay or time-out period has passed or an IRQ has been detected.
The script files can also contain jump commands that cause the execution of the script to branch
forward the specified number of lines. There are two types of jump commands, unconditional and
conditional. When an unconditional jump command is executed, the branch is always performed.
For conditional jumps, the branch is only performed if the condition is true. The jump commands
must be in the following format:
• Unconditional Jump - JMP_L..L
• Jump if equal -
JEQ_AA_VV_L..L
• Jump if < -
JLT_AA_VV_L..L
• Jump if > -
JGT_AA_VV_L..L
• Jump if bit set -
JBS_AA_MM_L..L
Where L..L is a decimal number representing the number of lines to branch forward in the script.
For the conditional jump commands, AA is the 2 digit (one byte) register address, in hexadecimal,
of the register to be read and the value used to calculate the jump condition and VV is the 2 digit
(one byte) hexadecimal value to be compared. In the "jump if bit set" command (JBS), MM is a 2
digit (one byte) hexadecimal value used as a mask; a logical ‘AND‘ is performed with it and the
value of the register with the address AA. If the result of the logical ‘AND’ is non-zero then the
branch is performed.
Each line must contain only one command and no other characters.
The results window will display the value returned by register read commands and ‘IRQ Detected’
when an IRQ has occurred after an IRQ command. These results can be saved to an ASCII text
file, by clicking on the ‘Save Results..’ button, or discarded, by clicking on ‘Clear Results’ button.
The ES9902 application will update the displayed register values to reflect those of any register
read or write commands contained in an executed script file. When script file is being executed
the ‘Run Script...’ button will change to be the ‘Stop’ button, the rest of the tab will be disabled and
the other tabs can not be selected. A script file can be executed once, repeatedly until the ‘Stop’
button is pressed or a specified number of times. The execution of a script file can be stopped or
paused at any time by clicking the appropriate button.
6.1.7. The BER Measurement Tab
To measure Bit Error Rate performance, a specific tab is provided in the GUI application. By
duplicating the hardware, i.e. 2 x hyBoard-XS, 2 x EV9902 and 2 x EV9900A, one set of hardware
can function as the transmitter and the other as the receiver. Receiving and transmitting boards
are controlled by two instances of the ES9902 application: both instances can be run on the same
host PC or each instance can be run on separate PCs. If both instances of the software are run
on the same host machine then that machine must be equipped with two USB ports.
© 2009 CML Microsystems Plc
16
UM9902/3