Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).
Dear all,
I'm new in DSP. I am working on a TMS320F2812 DSP (on a Spectum
Digital eZdsp board).
I have to write an application that do the following tasks (or
parallel execution paths):
1 - read data from external ADCs (then apply on this data an
algorithm) connected to GPIO ports
2 - send periodically elaborated data on SCI UART interface
3 - read other data from on-chip ADC (like temperature), with a very
lower frequency respect to point 1.
The first thing I would like to define is the global architecture of
my application. Reading TI documentation I know there are mainly two
type of application: non-DSP/BIOS and DSP/BIOS. I think my application
should be a DSP/BIOS one because this enable concurrent thread
execution and enable different type of thread (interrupt based,
periodic etc..). For example the task 2 and task 3 could be periodic
thread (PRD). Do you thing this is the right solution or I will have
to prefer non-DSP/BIOS application for some reason?
Then, I have to use the GPIO and SCI ports. I have read some
documentation and looked inside source code example ("C281x C/C++
Header Files and Peripheral Examples" and "Interfacing the ADS8364 to
the TMS320F2812"). My question is about the memory and section
management ni a DSP/BIOS application. When I create a new project I
create also a new DSP/BIOS configuration that create also a new .cmd
file. When I import the "Header File" of the peripheral example I have
also to import other .cmd file (like DSP281x_Headers_BIOS.cmd and
F2812_EzDSP_RAM_lnk.cmd). Compiling the code I have many errors due to
multiple definition of some memoty section (between the .cmd file
created automatically by DSP/BIOS configuration tool and the
F2812_EzDSP_RAM_lnk.cmd). I tried to remove then the
F2812_EzDSP_RAM_lnk.cmd bu a warning report that the "ramfuncs" is non
defined. "ramfuncs is defined into F2812_EzDSP_RAM_lnk.cmd as:
ramfuncs : > H0SARAM PAGE = 0 )
So, I have re-imported the F2812_EzDSP_RAM_lnk.cmd file into the
project but cleaning all the multiple memory section definition (as
H0SARAM that is already defined into the .cmd file created
automatically by DSP/BIOS configuration tool ). Is this operation
right or am I wronging something?Is there a TI documentation that
explain clearly the memory usage (page and section definition) fot
TMS320F2812 DSP?
Thank you in advance,
Enrico
You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php
_____________________________________