How to work with c6748 blocks for matlab 2015 ?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello Everyone (including TI & MATHWORKS)
I am working with the Simulink (MATLAB 2015) with CCSv5.5 for Code generation for OMAPL138LCDK. After reading a lot of documents & many forums ,i Sucessfully configured the MATLAB with Simulink for code generation.I wonder why TI or Mathworks have not documented the required steps needed to be performed. Anyway I dragged an ADC block followed by a DAC block with default configurations(8khz Sampling rate and samples per frame 64) in simulink new model.All the parameter's are set ,After building the model .the .out file is generated.
After that i created a new target file in CCS and connected with my board,& loaded the simulink generated .out file.it gets loaded on the board ,resuming it gives no output from LINEOUT,when an audio source is connected to LINEIN port.
I rechecked the target configuration with a ccs version of .out generated,it was working fine.So from this i am sure that the problem is with the .out generated from Simulink. Then I connected a 2W portable Speaker at LINE OUT and audio Source at LINE IN.After building the File again the speaker output is very low ,almost negligible.I thought it might be due to ADC gain ,so after adding a gain block (12DB) in between the ADC & DAC ,it shows same response.
Tried lot of things like changing gain,sampling rate etc.but all in vain.
Also When i created an another model for C6713 DSK , ADC followed by DAC.The generated .out file from simulink for c6713 DSK is working Fine using MATLAB_SIMULINK_CCSV5.5.
Now from here i am sure that the problem is in connecting the blocks of C6748 in Simulink or maybe something else.
If anyone here have worked around it ,please a liitle help needed here.
Regards
Rather
5 Kommentare
Julio Ruiz
am 6 Jun. 2018
Thank you Sajad. I hope I can understand everything fast enough to deliver my project in time!
Best Regards. Julio.
Antworten (4)
Venkatesh Chilapur
am 13 Dez. 2017
Hi Sajad,
We are supporting the omapl138 evm board from our C6000 support package. Since the blocks are very much board specific it is unclear if the same blocks would be compatible with OMAPL138LCDK board as well.
Regards,
Venkatesh C
0 Kommentare
Venkatesh Chilapur
am 13 Dez. 2017
Hi Sajad,
The below links could help you get started in case you have a custom C-code that you found is working and can be integrated in simulink.
https://www.mathworks.com/help/simulink/sfg/building-s-functions-automatically.html
https://www.mathworks.com/help/simulink/sfg/s-function-examples.html
Regards,
Venkatesh C
0 Kommentare
Siehe auch
Kategorien
Mehr zu Code Generation and Deployment finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!