Commit badb6f59 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.
Browse files

Bug-fix of Protocol Control Turn-on.

To move from off to interframe, unit must have integration finished!
Also, unit must go directly to interm-idle so that it will interpret
next DOMINANT as SOF and not as Overload condition!!
parent 4edc167e
......@@ -3178,9 +3178,10 @@ begin
----------------------------------------------------------------------------
when off =>
if (drv_ena = ENABLED) then
if (not (error_state = bus_off)) then
if (error_state /= bus_off and OP_State /= integrating) then
FSM_Preset <= '1';
PC_State <= interframe;
PC_State <= interframe;
interm_state <= interm_idle;
end if;
end if;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment