Hi Frnds,
I have a DSP board which has an ADC and a DAC, a FPGA to control the flow of
signals and access the onboard memory and a TMS320C6416 DSP chip to do the
processing on it. We bought this board from Sundance Corporation Inc., a company
into making DSP boards. I need to grab input signals from a source through the
ADC, do some processing on it and get the digital outputs off the DSP chip
instead of getting the output from the DAC. I can grab input signals using a
sample code provided by the company on a software they have provided us.
Unfortunately, the software provided by them will not be able to do all the
processing I need to do. So I need to grab the input signals using the CCS from
the ADC and send it to the DSP C6416 chip for processing.
Does anyone know of any code in CCS which shows how to get the input signals
from the ADC input and either store it somewhere in some data file to be
processed later or to send it to the DSP chip directly and do some processing on
the digitized input on the chip? Does anyone know if there is any other way of
doing this? I am using the CCS v3.1 and my board can be configured as a
Simulator or as an Emulator. I probably cannot use a code for DSK settings. Any
help would be greatly appreciated.
Regards
Animesh
P.S.- I have a code which runs on the software provided by the vendor (the
software is called the 3L Diamond Server, and the name of the sample code is
Test.c) which basically sets the registers in the FPGA, captures the data and
stores the data in decimal form in a text file on the PC. I tried using the same
code in CCS (since both CCS and 3L Diamond codes are similar in nature), however
it seems that there are some register defining functions in this sample code
which are defined in the library file of 3L Diamond software only. Even when I
include this library file along with the rts.lib file in the CCS, the code,
although builds successfully, does not run at all. Iod not know exactly what is
happening and what is not. If anyone wants to see the code, I am attaching the
code also that I am using. I am in real need of a solution to this and any kind
of help will be appreciated.
<<Test.c>>