Hello Pablo Luis,
> I also thought that CSL and DSP/BIOS were
> the same thing, because in the DSP/BIOS
configuration
> theres is an appendix called CSL, where you can
find
> all the peripherals of the device you are
> working with; so, what are the differences??
CSL and DSP/BIOS are different things. In my case, the
CSL is located in C:\CCStudio_v3.1\C6000\csl\lib\, and
DSP/BIOS is located in
C:\CCStudio_v3.1\C6000\bios\lib. If you are using a
different CCS vesrion, the paths may be slightly
different. You should read CSL and DSP/BIOS
documentation from TI and know that the two things are
different in concept.
Yes, in old DSP/BIOS version, the configuration
included CSL expansion. I think the reason is the
combination of CSL and DSP/BIOS is valuable for
developing on TI C6000 DSP. But in CCS3.1, CSL has no
longer existed in DSP/BIOS configuration tool.
Technically, I can create a tiny DSP/BIOS application
without linking with CSL or create another tiny
application using CSL wihout BIOS. Futhermore, I think
someone may use her own CSL with DSP/BIOS or use CSL
with her own kernel, if she has reason to do so. In my
case, I use both and it's the most valuable
combination for me. Between 2 cases: DSP/BIOS without
CSL and CSL without DSP/BIOS, I think the second case
is more likely possible or useful. I found this
document http://www.ece.sunysb.edu/~ese347/CSL.pdf .
There is a topic "Using CSL APIs Without DSP/BIOS
ConfigTool" in Appendix A.
> I have been reviewing the information you
> recommend to me but it seems that programming
> peripherals without DSP/BIOS is very
> difficult, because you have to set the handler and
> all those parameters. Therefore, is better the usage
> of DSP/BIOS for programming peripherals instead of
> the usage of CSL library??
Yes, I think it was TI men's opinion that it is easier
to program the internal peripharals through graphical
interface of DSP/BIOS configuraiton tool so they
included CSL tree in the tool. But I don't have
experience in that old CCS version. I am using the new
one now, without CSL in configuration tool. And I
guess, if you configured CSL in DSP/BIOS config tool,
that means you had linked with CSL lib already. What
did you see? Did you have a look in your *.cmd file
which is generated by CCS when compiling?
> If I program with CSL library, is normal
> to copy directly from another program all those
lines
> with the information of the
> peripheral (handler, ...), to my program or it has
> to be re-write because it is totally different?? (I
> what he is doing, because I did it in assembly
> language with a 8051 and it was quite difficult, XD)
CSL API reference guide will show you how to do it.
I see that the traffic is low in this code-comp group.
I recommend that you post this question, which is also
C6x related, to C6x group at c... to
verify my idea and to receive more help.
Best regards,
Tien