How could I get alarm when MIPI CSI error occured?

hello jw.cs.park,

here’s an example of PH_WC.
there’re calc_wc (bit-31:16) and rx_wc (bit-15:0) for the PH_WC register.
both of these two should be identical to represent a good packet.
here’s formula of calc_wc, for example, calc_wc = Width in pixels * BPP / 8-bits .

and…
it’s PF_CRC to compute current packet, it must match to the CRC in PF to indicate a good packet.