Hi Jean-Pierre,
If RTW hardly creates optimized, fast and light C code for your application
based on your Simulink model, it is close to impossible to make it create
code to handle the hardware specific intrinsics of your dev board.
What you can do is to generate the C code for the algorithm itself, and once
validated, hand-tune it for speed and size. Then, by hand, write the subroutines
to initialize the onboard codec.
However, if you have the time, the willingness and the knowledge, you could
dive deep into Simulink and write your mex files, s functions or wathever, to
handle the EzKit Lite directly from Simulink. That's not impossible,
indeed, there are commercial tools which do that, with other kits, but should be
similar. Have a look to http://www.sdltd.com/dspdeveloper/ Those tools are
for SHARCs, ADI's 32 bit floating point DSPs.
Cheers,
JaaC
jpgiusto <j...@yahoo.com> wrote: Hello
people! I need some help from you:
My name is Jean-Pierre Giusto
and I'm from Chile. I'm working in a feedback eliminator system
based in a LMS algorithm. For this purpose, I have a model made with
Simulink.
First of all, if the system works with external signals and
I add a "From Wave Device" input block and a "To Wave Device" output block
in the simulink file, for default, the simulink of Matlab should work with the soundboard ports of PC. If I utilize the real-time workshop tool
for build the C-code and I use the VisualDSP++ 2.0 to run the algorithm in
an external DSP board (Analog Devices ADSP-2181 Ez-LITE) connected in COMM
port. What should I do so that the system recognizes the input port and
the output port inside the DSP?
Any help will be highly
appreciated. Kind Regards.
Jean-Pierre Giusto
------------------------ Yahoo! Groups Sponsor ---------------------~--> Save on REALTOR Fees http://us.click.yahoo.com/Xw80LD/h1ZEAA/Ey.GAA/wHYolB/TM ---------------------------------~->
_____________________________________ Note: If you do a simple "reply"
with your email client, only the author of this message will receive your
answer. You need to do a "reply all" if you want your answer to be distributed
to the entire group.
_____________________________________ About
this discussion group:
To Join: m...@yahoogroups.com
To
Post: m...@yahoogroups.com
To Leave: m...@yahoogroups.com
Archives: http://www.yahoogroups.com/group/matlab
More DSP-Related
Groups: http://www.dsprelated.com/groups.php3
Jaime Andr Aranguren Cardona j...@ieee.org jaime.arangure...@computer.org
|