Commit 70fbb25e authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

src: Protocol control FSM fixes.

EDL/r0 EDl/r1 bits detecting recessive bits are better to mark
this as form error (not bit error) even when FD format is turned
on!
parent 327c152b
......@@ -1736,7 +1736,9 @@ begin
end if;
end if;
if (drv_can_fd_ena = FDE_DISABLE and rx_data_nbs = RECESSIVE) then
if ((drv_can_fd_ena = FDE_DISABLE or tran_frame_type = NORMAL_CAN)
and (rx_data_nbs = RECESSIVE))
then
form_err_i <= '1';
end if;
......@@ -1812,7 +1814,9 @@ begin
ssp_reset_i <= '1';
end if;
if (drv_can_fd_ena = FDE_DISABLE and rx_data_nbs = RECESSIVE) then
if ((drv_can_fd_ena = FDE_DISABLE or tran_frame_type = NORMAL_CAN)
and (rx_data_nbs = RECESSIVE))
then
form_err_i <= '1';
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