Re: Beginner question: 320LF2407 header file
- From: "Korenje" <korenje@xxxxxxxxxxx>
- Date: 2 Oct 2005 22:28:13 -0700
Hi Alex,
> 1. The proc. specific variables sometimes have different names in the
> documentation and the header file.
> 2. the x24x_app.h file mixes in definitions for the 240 as well as the
> 240x! These are not protected with any conditional assembly, and some
> of the 240 variables have the same name as the documentation for the
> 2407 variables! I figured this out the more-or-less hard way.
change the header file, or I can send you mine. It is probably not
perfect but it works for me
> Where can I get a good, official include file for the 2407/2406?
You should have some examples included in EzDSP package or look on TI
web site
http://focus.ti.com/general/docs/university/univ.tsp?templateId=5807&navigationId=11083&path=templatedata/cm/univgen/data/univ_exchange_dsp
> Another question I have is that something in the assy or link process
> seems to automagically shift a user defined "variable name" right 7 in
> a ldp instruction, but if a constant is defined with equ or set, it
> behaves as documented (you have to do the >>7)
>
> I pored over the assy tools docs but cannot see where they tell you
> that the ldp instruction is treated differently.. can anyone point me
> to a clear explanation of this somewhere?
..bss tells the preprocesor and the assembler how to handle it, .set or
..equ is basicly just alias. If you use .set or .equ for variable
declaration beware, because you don't reserve space in RAM (the linker
is not aware of any variables). I prefer using .bss for variable
declaration
Regards,
Mitja
.
- Prev by Date: Re: similar sounds need to be identified.... ideas?
- Next by Date: Re: About DFT
- Previous by thread: Simple FFT
- Next by thread: Interpolation Jitter
- Index(es):
Relevant Pages
|