20-07-2012, 02:57 PM
DSP C5000
DSP C5000.ppt (Size: 1.21 MB / Downloads: 55)
DSP BIOS Offers the Following:
Real-time scheduler
Preemptive thread management kernel
Real-time analysis tools
Allows application to run uninterrupted while displaying debug data
Real-time data exchange (RTDX)
Allows two-way communication (target host) whiletarget is running
Programming of DSP peripherals
Graphical input to peripheral initialization through Chip Support Library (CSL)
Startup Sequence
Initialize the DSP and the hardware
The software stack pointer, memory wait states, memory configuration registers
This is part of the boot.c file that is part of the DSP/BIOS library
BIOS_init( ) is called automatically
Initializes DSP/BIOS modules
main()
System initialization that needs to be performed
Enable selected interrupts before interrupts are enabled globally
Must return to complete the program initialization!!!!
BIOS_start( ) is called automatically
Start DSP/BIOS
Enables interrupts globally
Drops into the DSP/BIOS “background loop”
Initializes communication with the host for real-time analysis
Real-time Systems
Systems that respond in a correct and timely way to events
Events are occurrences that cause a non-sequential change in the software flow of control
Driven by hardware and software events
Interrupt signals
IF-THEN and CASE statements
Audio Example
For this system to function properly, thefilter needs to calculate the correct output before the next sample arrives
What events drive this system?
Receive and Transmit Interrupts
Asynchronous Event - could happen at different points in code
Polling of Receive and Transmit conditions
Synchronous Event - always happens at the same place in code