Simulink F28335 ADC block can not work

2 次查看(过去 30 天)
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
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!