r/ECE•
zarthrag

A question about MIPI-CSI

Hi, I'm looking into implementing a pair of stereo cameras, and have run into an interesting documentation problem. There are lots of application notes covering the data stream itself, but not much on interconnect. (impedance, etc.)

​

...Do I really need to become an adopter in the MIPI alliance to (properly) connect two devices that implement CSI2?

Posted May 16, 2019, 5:04 PM UTC

108
DJ027X•

As far as I know, yes. I've done schematics for boards with CSI2 before; the matching networks were just copied from a design one of our senior engineers made a while ago. I think to create that network, he more or less guessed and checked until the signal was stable (good eye diagram). We had a different engineer do layout; I don't know if he did any impedance calculations, or just copied previous designs. Is this for a personal project or is it for work? If it's personal, you should be able to copy the design from other boards easily enough.

Edit: If you find interconnect docs without becoming a member, please pm me a link!

Edit edit: You may be able to find some layout guidelines in the datasheets for your serializer/deserializer.

3
ReversedGif•

Edit: If you find interconnect docs without becoming a member, please pm me a link!

MIPI CSI-2 spec: first link here

MIPI D-PHY spec: first link here

2
zarthragOP•

It's for work, (we're a startup), thanks for the advice!

1
[deleted]•

[deleted]

1
thousandparadox•

I made a MIPI-CSI2 stereo camera system for the robotics start up that I work for. I answered a reddit question like this many months ago. Read though our conversation here: https://www.reddit.com/r/AskElectronics/comments/8yc981/csi2_circuit_design/.

Reply to me here if you have any questions. :)

3
PeverseRolarity•

Intel has an app note that seems to cover your questions.

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an754.pdf

I'm pretty sure joining mipi is insanely expensive. It would be cheaper to use something like the IP Xilinx, Intel, Northwest Logic, etc has to interface with them. Perhaps you can do what you need during the eval period of the Xilinx tools? Not knowing what your application is, maybe this $200 device will do what you need without all the hassle of design work?

https://store.intelrealsense.com/buy-intel-realsense-tracking-camera-t265.html

2
zarthragOP•

That app note is exactly what I was looking to find!

​

I've looked into the realsense before, but this is for use in an embedded platform.

​

Yeah, MIPI wants $4000 a year for access to specifications.... So an FPGA implementation could actually be competitive. (Vivado is actually cheaper...Xilinx has an MIPI-CSI controller and even an image signal processor block IP.)

3
PeverseRolarity•

Glad I could help.

1
Grippentech•

I don't understand why this is getting downvoted. I'm not trying to do anything with CSI2 right now but this is a really good thread to start and just... Exist. So thanks for asking the question in the first place, I can say I've learned a bunch from the answers below.

2