GPIF Timer

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MaMa_4034336
Level 3
Level 3

Hello,

Question to the State Machine from the GPIF II Designer.

is there a possibility to switch a state after a spezified time?. Something like, if you in State1 longer then 5 Seconds, goto state 2

kind regards
Matthias Macho

0 Likes
1 Solution
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello Matthias Macho,

You can use the LD_DATA_COUNT and 'Repeat' action of the GPIF II designer to implement this.

- The 'Repeat action until next transaction' check box in the state properties can be used to repeat the actions in the particular state for 'Repeat Count' clock cycles.

- The DATA_CNT_HIT parameter will indicate that the counter value is hit.

- LD_DATA_COUNT loads the data counter with the value corresponding to the delay required in the state.

Best regards,

Srinath S

View solution in original post

0 Likes
1 Reply
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello Matthias Macho,

You can use the LD_DATA_COUNT and 'Repeat' action of the GPIF II designer to implement this.

- The 'Repeat action until next transaction' check box in the state properties can be used to repeat the actions in the particular state for 'Repeat Count' clock cycles.

- The DATA_CNT_HIT parameter will indicate that the counter value is hit.

- LD_DATA_COUNT loads the data counter with the value corresponding to the delay required in the state.

Best regards,

Srinath S

0 Likes