How to work with c6748 blocks for matlab 2015 ?

4 Ansichten (letzte 30 Tage)
sajad rather
sajad rather am 12 Dez. 2017
Kommentiert: Julio Ruiz am 6 Jun. 2018
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
sajad rather
sajad rather am 6 Jun. 2018
Hello Julio, Yes using CCS,we have implemented the same project using programming.
You can follow up with the following link to get start. http://processors.wiki.ti.com/index.php/C6000_Embedded_Design_Workshop
Thank you
Julio Ruiz
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.

Melden Sie sich an, um zu kommentieren.

Antworten (4)

Venkatesh Chilapur
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

sajad rather
sajad rather am 13 Dez. 2017
Hi Venkatesh,
i think it is compatibility issue only then. I wish someday it to get solved. Also please let me know ,can we create own blocks for C6000 boards using S-function. Is that allowed.

Venkatesh Chilapur
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

sajad rather
sajad rather am 13 Dez. 2017
Hi Venkatesh Chilapur
Thank You for the support.

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!

Translated by