Part Number: TDA4VEN-Q1
We are using a TDA4VEN SoC and receiving video streams from three deserializers through the CSI-RX interfaces.
System Configuration
- Deserializer #1 → CSI0_RX
- Deserializer #2 → CSI1_RX
- Deserializer #3 → CSI2_RX
- Interface: MIPI CSI-2
- Configuration: 4 data lanes + 1 clock lane per port
- CSI0_RX and CSI1_RX receive RAW image data
- CSI2_RX receives YUV image data
The video streams can be received successfully by the SoC and image data appears to be available. However, we observe packet-related errors reported by the CSI-RX diagnostic registers, as shown in the attached screenshot.
From the log, we see the following error indication:
CSIRX_ERROR_IRQPAYLOAD_CRC_HEAD_ERR= NG (0x00001000)
CSIRX_IF_ERR_IRQFrame truncation error detected
Question
Could you please explain under what conditions the following errors are generated?
PAYLOAD_CRC_HEAD_ERRFrame truncation error
Specifically, we would like to understand:
- What internal CSI-2 protocol violations or packet conditions trigger these error bits?
- Can these errors occur even when image data is successfully received?
- Are there known causes related to RAW/YUV mixed usage across different CSI-RX ports?
- Are there any recommended debug steps or registers that should be checked to identify the root cause?
Our goal is to narrow down the source of the packet error and determine whether it originates from the deserializers, the CSI-2 transmission path, or the TDA4VEN CSI-RX receiver.
