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 |
|
Simulink to EzkitLite... Help needed
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! Jaime Andr Aranguren Cardona |