Joke Collection Website - Talk about mood - DSP algorithm transplantation problem, I hope to talk about it in detail
DSP algorithm transplantation problem, I hope to talk about it in detail
First of all, it depends on whether the code is assembly or C. It is more difficult to transplant assembly, so C code is usually transplanted.
The C code itself is relatively portable. What you need to pay attention to for different DSPs are:
1. Is the new DSP floating point or fixed point? Floating point changes There are many problems and it needs to be recalibrated.
2. What is the rate of DSP? This is very important in the control system and is directly related to the allocation of time resources (such as cycle interruption time) and the adjustment of some parameters (such as PI parameters, etc.)
3. The DSP initialization settings in the program need to be changed
4. The header files and library files need to be adjusted accordingly
5. The CMD file needs to be adjusted (related to address allocation)
6. The interrupt vector needs to be adjusted
7. When the storage space is insufficient, the code needs to be streamlined
In general, "DSP algorithm transplantation" means changing The execution environment of the algorithm and the C code itself do not need to be modified too much. What I have done is transplanting the 2812 code to 6713. I hope my experience will be helpful to you.
- Previous article:What does it mean for boys to tell girls to be good?
- Next article:Teacher Luo Xiang's tearful love words.
- Related articles
- Flower viewing and friends circle are short.
- "That's where grandma raised me." What is the song "Fight for My Children-Live"
- If you can't be a gentle girl, talk about being a woman.
- History of Eastern Han Dynasty
- Sad and desperate sentences talk about mood
- DonĄ¯t like to talk proactively
- After the teacher reported the childĄ¯s font problem
- Talking about the changing process of paper.
- What are the five elements of two people and what are they missing? Is there any expert who can talk about it?
- What's the best flower for your girlfriend?