I am working on a project that necessitates connecting two cameras to a Raspberry Pi 2 B. The cameras will not be required to take pictures/video at the same time. I have done the following research for the solution:
MIPI switching
https://www.raspberrypi.org/forums/viewtopic.php?t=67553&p=797174
Raspcam multiplexer
https://www.raspberrypi.org/forums/viewtopic.php?t=61904&p=460203
Multiple cameras
https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=50142
IVPort project
https://hackaday.io/project/2847-ivport-raspberry-pi-camera-module-multiplexer
Camera module multiplexer
https://www.raspberrypi.org/forums/viewtopic.php?t=52213&p=447084
I would like to implement the solution proposed by that last forum post.
I am using this image for a visual reference
For the CSI transmitter/receiver (top half), it appears as though I am limited to the FSA642 IC. Datasheet: https://www.fairchildsemi.com/datasheets/FS/FSA642.pdf
As for the CCI master/slave, I saw the PCA9543A being suggested. Datasheet: http://www.mouser.com/ds/2/302/PCA9543A_43B_43C-64811.pdf
To switch between cameras, I would use a GPIO pin from the Pi to switch the selection pins of the two ICs. Switching time does not matter unless it is unreasonable (>3 seconds). It will basically fulfil the same purpose as a standard smart phone switching from a front-facing camera to a rear-facing camera.
All that remains are two questions in my mind. First and foremost, would this idea work at all as I have it? Second, what would I do with the CAM_GPIO and CAM_CLK pins as shown in the Raspberry Pi schematic (page 4)? It seems from this post that I can use a standard multiplexer to switch those.
Thank you in advance for any insight you may provide.
Note: I should also mention I am not interested in paying $80 for the IVPort and I am restricted to using the official camera modules.