Can this layout explain missing frames?

Thread Starter

mondo90

Joined May 16, 2025
136
Hi,
I have a PCB layout for camera sensor that runs at 768 Mbps with 2 data lanes as shown below:
1794639310633.png

Unfortunately, the sensor and controller pins layout is such that no matter how I route these differential pairs, they will always cross. However I tried to do it with controlled impedance and over very short distance. Each pair is no longer than 9mm.
Despite this, I am unbale to lock even a single data frame from the sensor. Can be a software issue, but Gemini also shed some light on my layout saying "there is no stitching vias near layer to layer transitioning vias therefore signal integrity is all messed up".

Here is my stuckup:
L1: Red signals
L2: Solid ground plane (not shown)
L3: Patch of solid ground plane covering the signals shown (not shown)
L4: Blue signals

How likely is it that my layout is responsible for breaking the communication here?

Thank you.
 

Thread Starter

mondo90

Joined May 16, 2025
136
What is the IC or ICs in the picture? Is one a connector? Are the three pairs the same length?
The blue one is a sensor connector - the sensor is plugged in with it's short ribbon cable. The red one is a controller that doesn't detect any frames from the sensor. I have inspected sensor registers and they show that it outputs data. So the problem is very likely either the layout or controller side SW configuration.
 

Thread Starter

mondo90

Joined May 16, 2025
136
Do you know if the cable is good for " 768 Mbps "?
Yes the cable is absolutely good, it is part of the sensor.
Can you slow down the sensor? (for a test)
This is a good suggestion but in order to do this I would need to reconfigure the sensor itself, to run on lower spec. Now some of the registers are proprietary, so I need to ask vendor to configure it for me - that can take weeks..

Here I would like to focus on the layout I did - do you think it may be responsible for it taking into ac account I transistion 4 layers with no stitching vias?
 
mondo90, at 768 Mbps the short 9 mm run isn't the worry, the reference is. Each time a pair drops from L1 to L4, its return current has to jump from the L2 plane to the L3 patch, so put a ground via beside every signal via pair (or at least one close by) to keep that jump to a few mm. Also check the L3 patch really covers the whole L4 run, right up to the pads, with no cuts under it.

I wouldn't blame the layout alone for zero frames though. Lane order, P/N polarity and the connector pinout are more common culprits when nothing locks at all.
 

Thread Starter

mondo90

Joined May 16, 2025
136
Each time a pair drops from L1 to L4, its return current has to jump from the L2 plane to the L3 patch, so put a ground via beside every signal via pair (or at least one close by) to keep that jump to a few mm.
Yes but in this case the impedance discontinuity from nominal value is minor IMO - at every point there is ground plane nearby. IOW, when the signal enters via, even though there is no "guard via" there is always a nearby plane (L2 & L3). I noticed the HW guidance document indeed suggest the stitching vias near transition. When I routed them, I did not put these extra vias because I didn't want to mess up the impedance of nearby traces.

I wouldn't blame the layout alone for zero frames though. Lane order, P/N polarity and the connector pinout are more common culprits when nothing locks at all.
Yes, I just discovered the sensor itself could be faulty as surprisingly the data lanes are toggling but the clock pair is completely silent for some reason.
 
Top