Title: DSP/BIOS for C6000/C5000
1DSP/BIOS for C6000/C5000
2What is DSP/BIOS
- Real-time Environment
- Thread execution model
- Threads, Mailboxes, Semaphores
- Device independent I/O
- Logging, Streaming I/O
- RTDX (Real-time data exchange)
- Real-time Analysis
- Debug facility ( with CCS)
- Device Configuration and Management
- GUI based configuration in CCS
3DSP/BIOS Modules
4DSP/BIOS Configuration
5DSP/BIOS Configuration
6DSP/BIOS Real-time Kernel
7DSP/BIOS Task Synchronization
8DSP/BIOS Real-time Analysis
9DSP/BIOS Real-time Analysis Features
- Low overhead (formatting done in IDE)
10DSP/BIOS Execution Graph
11DSP/BIOS Statistics View
12DSP/BIOS Input/Output Capability
13DSP/BIOS I/O Example
AudioFilter( inputPipe, outputPipe )
PIP_get(inputPipe) / dequeue full frame
/ PIP_alloc(outputPipe) / dequeue empty frame
/ copy algorithm / read/write data frames
/ PIP_free(inputPipe) / recycle input frame
/ PIP_put(outputPipe) / enqueue output frame
/ return / wait for next frame pair /
14DSP/BIOS Audio I/O Example
Void audio(PIP_Obj in, PIP_Obj out) Uns
src, dst Uns size if(PIP_getReaderNumFrame
s(in) 0 PIP_getWriterNumFrames(out)0) er
ror() / get input data and allocate
output buffer / PIP_get(in)
PIP_alloc(out) / copy input data to output
buffer / src PIP_getReaderAddr(in) dst
PIP_getWriterAddr(out) size
PIP_getReaderSize(in) PIP_setWriterSize(out,siz
e) for ( size gt 0 size) dst
src / output copied data and free
input buffer / PIP_put(out) PIP_free(in)
15CSL and Peripheral Configuration
16Peripheral Configuration using IDE
17System Configuration
- Allows detailed specification of target
- Memory Data and Code location
- Generates peripheral initialization code
- Interrupts, Timers, McBSP, DMA etc.
- Generates linker configuration file (.cmd)
18Conclusions
- Royalty-free real-time kernel for production use
- Allows for rapid development of product from
concept - Can be integrated with another real-time OS
- Small footprint (can be as small as 1K words)
- Modules used are controlled by the user
- Allows for on-the-fly debug/analysis in the field
- Available with C6000 and C5000 processors