Simulink F28335 ADC block can not work
조회 수: 2 (최근 30일)
이전 댓글 표시
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/247618/image.png)
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/247619/image.png)
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?
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Texas Instruments C2000 Processors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!