F28379D READING VALUES FROM GPIO INPUT AND SCI RCV

2 views (last 30 days)
Hello,
I want to see whether a digital input is HIGH or LOW but scope and display always show 0 despite of changing voltage level of related pin. How can I solve that problem?
I have attached related model. I want to see whether GPIO 104 is HIGH or LOW in Simulink? Using my model will help to identify problem.
Thanks.
  2 Comments
Yusuf Selim KARATAS
Yusuf Selim KARATAS on 30 Jan 2020
As you can see below;
I read a GPIO and sent it with CAN. Simulink display and scope shows signal as 0 but CAN sends "01000100000000" as data.
Why I can not see on Sİmulink ? Why scope and display is zero?
Untitled.png

Sign in to comment.

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!