AN2113 Freescale Semiconductor / Motorola, AN2113 Datasheet - Page 21

no-image

AN2113

Manufacturer Part Number
AN2113
Description
AN2113 Multichannel Voice Coding System on the RTXC Operating System
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Freescale Semiconductor, Inc.
Software Description
blocks a task until a specified event occurs. The event is associated with the semaphore SSI_RISR,
which is signaled by the ESSI receive ISR. The current task thus synchronizes its execution with the
reception of a frame of data containing four audio samples, one for each of the four channels being
processed. If the ESSI ISR has already signalled the semaphore, no wait occurs nor is the task blocked.
Instead, the task resumes.
Once the application tasks are written, the remaining C source code files necessary to correctly build the
application are automatically generated by Sysgen, a utility tool provided with RTXC for entering and
editing the system configuration for the application. SYSgen accepts the definition of the configuration
data through a series of interactive dialogs relative to each type of control or data structure (see Figure 16).
SYSgen uses this information to generate header files that are then included in any application code
module that uses RTXC data element to be later compiled into the application.
Figure 16. Sysgen Semaphore and Task definition windows
7.5.1 RTXCbug
RTXCbug is the RTXC system-level debugging tool. Its provides snapshots of RTXC internal data
structures and performs some limited task control. RTXCbug operates as a task and is usually set up as the
highest-priority task. Whenever RTXCbug runs, it freezes the rest of the system, thereby permitting
coherent snapshots of RTXC components. RTXCbug is not a replacement for other debugging tools but
assists you in tuning the performance of the RTXC environment or checking out problems within it.
RTXCbug uses the input and output ports of a user-defined console device. In the application discussed
here, the host computer interfaces with RTXC using the SCI input and output drivers. Commands are given
to RTXCbug via a hyperterminal window on the host computer and transmitted to the DSP56307EVM via
an RS2323 interface and a UART connection. The RTXCbug output is also displayed on the host
computer’s hyperterminal window. RTXCbug is entered using two mechanisms:
1. The user enters an exclamation mark (!) on the console input.
2. A task calls a special function within RTXCbug.
Once the system enters RTXCbug, type
in the main menu to invoke the command menu.
K
Multichannel Voice Coding System
21
For More Information On This Product,
Go to: www.freescale.com

Related parts for AN2113