Author Topic: CSI2 "bridge", "switch", "duplicator" and "merger"  (Read 3280 times)

0 Members and 1 Guest are viewing this topic.

Offline gregoiregTopic starter

  • Contributor
  • Posts: 26
  • Country: us
CSI2 "bridge", "switch", "duplicator" and "merger"
« on: June 10, 2016, 09:35:57 pm »
This is a short follow-up thread after https://www.eevblog.com/forum/microcontrollers/machxo3-mipi-csi2-pair-input-connected-to-mipi-csi2-pair-output/

With a Lattice MachXO3L, it's possible to "bridge", "switch", "duplicate" and "merge" CSI2 camera signals.

- bridge: this consist of a SPST, single pole - single throw. The camera signal is received in the FPGA and outputs. This enables for instance to modify the content of the frame.

- switch: this consists of a SPDT, single pole - double throw. It's equivalent to Fairchild FSA642 (https://www.fairchildsemi.com/products/analog-mixed-signal/switches/mipi-switches/FSA642.html), except it's digital and not analogic (see below). This enables for instance to have two CSI2 cameras linked to a single CSI2 processor input and switch between the two cameras.

- duplicate: this consists of receiving a single CSI2 camera signal and outputs it identically to 2 processors. For instance, you might want to have one processor doing encoding and the other processor doing computer vision. The advantage is both processors receive the exact same signal, as if it was linked to the camera alone, none of the two processors needs to be a proxy of the other.

- merger: this consists of receiving 2 synchronized CSI camera signals and outputs the merge side-by-side of the two frames into a single frame (double width) towards a processor. This enables to have a stereo camera system towards a single processor CSI2 input.


The key point of the architecture is that a FPGA is by design digital: all inputs signals need to be deserialized and reserialized before being outputted as explained here: This is a short follow-up thread after https://www.eevblog.com/forum/microcontrollers/machxo3-mipi-csi2-pair-input-connected-to-mipi-csi2-pair-output/

Note that all of this could also apply to DSI screen signals.
 

Offline Scrts

  • Frequent Contributor
  • **
  • Posts: 797
  • Country: lt
Re: CSI2 "bridge", "switch", "duplicator" and "merger"
« Reply #1 on: June 13, 2016, 03:21:37 pm »
A very interesting approach! Is it going to be open? Did you have to get CSI-2 specs from somewhere? Do you need frame buffer for side-by-side image?
 

Offline antti

  • Contributor
  • Posts: 14
  • Country: de
Re: CSI2 "bridge", "switch", "duplicator" and "merger"
« Reply #2 on: August 01, 2016, 03:36:55 pm »
I have the Lattice MIPI kits on my desk, and I did see the dual camera demo live too.

funny: when I asked how it is done, none of the Lattice personal was able to answer it.

There was a little trick: the demo uses 2 Rasperry cameras, that are glued together - for a good reason - when I forced the magnetic fixture of the dual camera block off the desk (and causing the system to reboot and crash) then  I discovered that one of the RPi cameras had the OSCILLATOR removed and there was a wire coming from the first camera. I suspect they had also a fix for simultanueos trigger, this I could not spot that qucikly.

so answer is: by TRICKS the cameras are in SYNC !! :)
 

Offline antti

  • Contributor
  • Posts: 14
  • Country: de
Re: CSI2 "bridge", "switch", "duplicator" and "merger"
« Reply #3 on: August 14, 2016, 08:32:09 am »
duplication is very easy, this can be done.

the only thing more problematic is merger where the sources need to be syncronized to avoid storage requirements for the full frame
 

Offline hgsenel

  • Newbie
  • Posts: 1
  • Country: tr
Re: CSI2 "bridge", "switch", "duplicator" and "merger"
« Reply #4 on: August 29, 2016, 02:20:50 pm »
Hello Antii,

Are you using MachO3L breakout board or MachO3L starter kit?

thanks
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf