Simulink F28335 ADC block can not work

2 ビュー (過去 30 日間)
SIN YAN WU
SIN YAN WU 2019 年 11 月 10 日
回答済み: Srimouli Rukmabhatla 2020 年 3 月 19 日
I want to use the ADC to control the LED flashing, but the simulink ADC module has a problem, if it is replaced by a sin wave, it will work normally.
Matlab 2018b
Embedded Coder Support Package for Texas Instruments C2000 Processors v18.2.4 This version seems to have a problem
TI controlSUITE v3.4.9
TI C2000Ware v1_00_05_00
CCS v8.3.1
TI F28335
Windows 10
I suspect that SIMULINK has a problem with CODE. Has anyone encountered this problem like me?

回答 (1 件)

Srimouli Rukmabhatla
Srimouli Rukmabhatla 2020 年 3 月 19 日
Hi,
Assuming that you are facing an issue in connecting ADC block with GPIO block. In order to not to lose the data you have to select appropriate number of Input Channels in ADC Block with respect to GPIO block. Please do check the example model attached.

カテゴリ

Help Center および File ExchangeTexas Instruments C2000 Processors についてさらに検索

Community Treasure Hunt

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

Start Hunting!