Downloadable Scripts for PE0002

Introduction
This script language has been developed for evaluating CML's new generation ICs including FirmASIC®-based products, and greatly simplifies the approach to the evaluation and design-in process.
A host PC-based GUI loads, compiles and controls scripts, which are plain text files, and executes them on the PE0002. The scripts use a simple syntax to allow the user to read and write up to 2 C-BUS ports on the PE0002 and includes flexible program flow control, data manipulation and message display.
The result is much better real-time performance than when executing the script on the host PC. The script language also provides debugging, tracing and I/O control facilities.

Note
CML does not assume any responsibility for the use of any script programmes described. No IPR or circuit patent licences are implied.
CML reserves the right at any time without notice to change the said scripting specification/s.

[ Download PE0002 Script Language Reference Document ]


General Scripts

Script Download Link Description
General Reset To send a C-BUS General Reset command to all CML devices that use C-BUS.
GPIO Read Read GPIO at J6. A test is included to display the switch state on the LEDs.
GPIO Write Writes the state to GPIO pins at J6.
LED ON/OFF This simple script is used to turn on and off an LED on the PE0002 without affecting the other port pin states.
Poll IRQ Demonstrates a poll of the Interrupt pin (IRQN) used in most CML devices.
Poll Programming Flag Demonstrates a poll of the Programming Flag (PF flag) used in most CML devices to signal that they are ready to accept commands or data.
Set PE0401 for 6.144MHz Operation Changes the PE0401 programming block to allow operation at 6.144MHz
Note that some Function Images cannot operate at 6.144MHz
Switch Read on J6 - GPIO Uses 'GPIO Read.pes' with switches on J6.
Switch status is reported in ButtonStat[n].
How to Use Bit Masking For those not familiar with bit masking. This type of function will be used regularly in PE0002 scripts and in code where 'bit set' and 'bit clear' operations are not available.

 

CMX6x8, EV6180 and EV6380

Script Download Link Description
EV6180 Record and Playback Two (pes) scripts that are designed to allow evaluation of the CMX608 in the EV6180 kit. [see ReadMe file in Zip File] - updated: 5th August 2008.
Optimising the Speech Input Level on the CMX6x8 Demonstration scripts for the PE0002 and EV6180 kits.
Please refer to "ReadMe.txt" for a description and supporting Application Note information.

 

CMX7032 7032FI-1.2 - [PE0201]

Script Download LinkDescription
Dual Channel AIS Burst Reception Receives AIS data bursts on RX1 and RX2 using the PE0201 and PE0002 board.
Saves data length, dc offset, Time of Arrival, AIS data and RX State errors to file.
Channel 1 AIS Burst Reception Receive AIS data bursts on RX1 using the PE0201 and PE0002 boards.
Saves data length, dc offset, Time of Arrival, AIS data and Rx State errors to file.
Channel 2 AIS Burst Reception Receive AIS data bursts on RX2 using the PE0201 and PE0002 boards.
Saves data length, dc offset, Time of Arrival, AIS data and Rx State errors to file.

 

CMX7041 - [PE0401]

Script Download LinkDescription
CMX7041 (PE0401) FI EEPROM Programmer This suite of (zipped) files allows an FI to be programmed into EEPROM via a CMX7xxx.
The target is a PE0401 but the scripts can be readily adapted to a customer product for in-system programming.

 

CMX865A

Script Download LinkDescription
Ademco Contact ID Audacity Project files for Ademco emulation.
DTMF Decode To Set the CMX865A into DTMF decode mode.
Programmable Tone Decode To set up the CMX865A Programmable Tone Detectors (PTD) for decoding the Ademco handshake and kissoff tones.