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 CenterFile Exchange에서 Texas Instruments C2000 Processors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!