Forum Discussion

GeraldLi1's avatar
GeraldLi1
Icon for New Contributor rankNew Contributor
3 years ago

Strange behavior of Actions in State Machine Wizard with registered output

Hello,

I use Actions in State Machine Wizard with registered output

This output is OK if I give level (0 or 1) to each State

see attached pdf file

is this behavior correct ?
did i forget something ?

Thanks

7 Replies

  • It is a bit difficulty to understand the problem without looking at the code.

    Could you share the design code of these two designs?

    Btw, what is "canal" mean here? I never seen this tool before.

    Would be appreciate if you could help to clarify on this.


    Best Regards,

    Richard Tan


  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    I think "canal" is "channel."

    Yeah, seeing the code output from the State Machine Wizard would be helpful.

    • GeraldLi1's avatar
      GeraldLi1
      Icon for New Contributor rankNew Contributor

      Hi

      your State Machine Wizard store level 0 between States but NOT level 1

      I use Arduino Vigor board

      See attached files & photos

  • Sorry for the delay in response.

    I believe from design functionality, they are different.

    You may check from the RTL viewer that both design function different. The SM output is from State 2 (bad) vs state 1 (OK).

    My recommendation would be to simulate the design first in order to verify that you get the desired function.

    Best Regards,

    Richard Tan

  • May I know does my latest reply helps?

    Do you need further help in regards to this case?


    Best Regards,

    Richard Tan


  • As we do not receive any response from you on the previous question/reply/answer that we have provided. I now transition this thread to community support.


    Best Regards,

    Richard Tan


    p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.