Concepts related to DSP Development

Source: Internet
Author: User

Definition of Segment 1
. Cinit stores the initial values and constants of variables in the C program;
. Const stores character constants, floating point constants, and constants declared with const in C programs;
. Switch stores the switch statement in C program;
. Text stores the C program code;
. BSS reserves the storage space for global and static variables in the C program;
. Far reserves space for global and static variables declared by far in C Programs;
. Stack is a storage space reserved by the C program system stack. It is used to save the return address, PASS Parameters between functions, store local variables, and save intermediate results;
. Sysmem is used by the malloc, calloc, and realloc functions in C Programs to dynamically allocate buckets.

 

2 about CSL
Why design CSL?
1. The types of peripherals on DSP chip and their applications become increasingly complex
2. provides a set of standard methods for accessing and controlling on-chip peripherals
3. Eliminating the need for users to write definitions and code necessary for configuration and control of peripherals on the chip

What is CSL?
1. Used to configure, control, and manage DSP peripherals on Chip
2. Have designed their respective CSL libraries for C6000 and C5000 series DSPs
3. Most CSL library functions are written in C language and the code size and speed have been optimized.
4. CSL library is cropping: only the CSL module in use is included in the application.
5. the CSL library is scalable: The APIs of peripherals on each chip are independent of each other, and new APIs are added, which has no effect on peripherals on other chips.

CSL features
1. standard protocols for On-chip peripheral programming: define a set of standard APIs: functions, data types, macros;
2. Abstract The hardware and extract the symbolic on-chip peripheral Description: defines a set of macros for accessing and establishing registers and their domain values.
3. Basic Resource Management: manages on-chip peripherals of multiple resources;
4. It has been integrated into DSP/BIOS: Configure CSL through GUI of graphical user interface;
5. Making on-chip peripherals easy to use: shorten development time and increase portability.

3. About the CMD file
Consists of three parts:
1) Input/Output definition :. OBJ file: the target file to be linked by the linker ;. lib file: the Library file to be linked by the linker ;. map File: the cross-index file generated by the linker ;. out file: executable code generated by the linker;

2) MEMORY command: Describe the actual hardware resources of the system
3) Sections command: describes how to locate "segments"

4. Clock Circuit
Clock Circuit selection principles
1. When the system requires multiple clock signals of different frequencies, the programmable clock chip is preferred;
2. Select the Crystal Clock Circuit for a single clock signal;
3. Select the Crystal Oscillator when multiple clock signals of the same frequency exist;
4. Use the PLL in the DSP chip as much as possible to reduce the off-chip clock frequency and improve the system stability;
5. There is no oscillating circuit in the DSP chips such as C6000, c5510, c5409a, c5416, c5420, c5421, and c5441, and the crystal clock circuit cannot be used;
6, vc5401, vc5402, vc5409, f281x and other DSP clock signal levels are 1.8 V, it is recommended to use a Crystal Clock Circuit

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.