Problem At Sistem On Chip (SOC,PIL) Example Application

4 ビュー (過去 30 日間)
Burak Caykenari
Burak Caykenari 2021 年 12 月 15 日
コメント済み: Burak Caykenari 2021 年 12 月 17 日
Hello Everyone,
I have tried SoC (system on chip) basic 'closed loop control system' application using TI Delfino F28379D Launchpad
via MATLAB 2021b version. ( https://www.mathworks.com/help/soc/ug/get-started-with-soc-blocks-on-mcus.html)
All instructions (end of document , 1-6) were applied step by step. At the end of load and run provess, I didn't encounter any important errors on the Soc Builder and matlab command window like a following figures.Only warnings were observed. I think these warnings do not affect working principle of the system too much.
Mainly, I did not see the expected Sampled ADC Value results.
Expected Waveform
Actual(measured) Waveform
As you can see, In Actual (measured) Sampled ADC value(red) differs from expected ADC value. ADC measurement isn't observed.
What is the main problem ? Can you explain ? Manythanks for your helps.
Burak
Sincerely.

採用された回答

Joel Van Sickel
Joel Van Sickel 2021 年 12 月 15 日
If the software recommendations made by above commenters don't work, consider a hardware/connection issue.
Can you send a photo of the hardware setup you used to create the RC circuit? The fact that you are seeing a step response and reference go high, but no ADC results would indiciate a possible lack of connection. Either the RC circuit could be built incorrectly or the ADC sense was not connected tot he correct spot of the circuit. Do you have access to an oscilloscope to determine that the PWM signal is being generated as expected and connected to the RC circuit as expected?
  1 件のコメント
Burak Caykenari
Burak Caykenari 2021 年 12 月 17 日
Sorry for late response. Thank you. Problem is solved.

サインインしてコメントする。

その他の回答 (3 件)

Arun Munuswamy Sambandham
Arun Munuswamy Sambandham 2021 年 12 月 15 日
編集済み: Arun Munuswamy Sambandham 2021 年 12 月 15 日
Hi Burak
I am assuming you are trying External Mode, in that case you had to connect the actual HW connection with F28379D launchpad (HW driving analog values to ADC pin of F28379D).
For PIL workflow the recommended steps are captured here https://in.mathworks.com/help/supportpkg/tic2000soc/ug/pil-simulation.html. And you need to setup your models differently and use SIL/PIL Manager app. Parent page for SoC Blockset C2000 PIL simulation can be found here https://in.mathworks.com/help/supportpkg/tic2000soc/setup-and-configuration-1.html
  1 件のコメント
Burak Caykenari
Burak Caykenari 2021 年 12 月 17 日
I will try example application using SIL/PIL app. This exacty what i want to do.
Manythanks.

サインインしてコメントする。


Dr Narayanaswamy P R Iyer
Dr Narayanaswamy P R Iyer 2021 年 12 月 15 日
Check your PC RAM memory with that specified by MATHWORKS for the MATLAB version used.
  1 件のコメント
Burak Caykenari
Burak Caykenari 2021 年 12 月 15 日
Hi Sir,
Thank you for answering.
Do you think it is due to not enough PC RAM? Did I get it wrong?
How Can I control and fix it ? Can you explain briefly , if it is possible.
Manythanks.

サインインしてコメントする。


Dr Narayanaswamy P R Iyer
Dr Narayanaswamy P R Iyer 2021 年 12 月 15 日
Most probably it could be due to insufficient RAM memory. Please check your PC RAM with the version of MATLAB specific requirement.

コミュニティ

製品


リリース

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by