Changes

Jump to navigation Jump to search
Line 23: Line 23:     
== RaspberryPi System Setup and Configuration ==
 
== RaspberryPi System Setup and Configuration ==
<br />
+
Completely consistent with : [[CS-MIPI-X for Raspberry Pi#RaspberryPi System Setup and Configuration|RaspberryPi System Setup and Configuration]].
    
== Sofware Toolkits Install ==
 
== Sofware Toolkits Install ==
<br />
+
Completely consistent with : [[CS-MIPI-X for Raspberry Pi#Sofware Toolkits Install|Sofware Toolkits Install]].
 +
 
 +
In addition, we provide a FPD-Link III script for configuring the FPD-Link board.
    
== FPD-Link III shell script manual ==
 
== FPD-Link III shell script manual ==
<br />
+
On Raspberry PI, you need to configure I2C pins, please refer to: [[CS-MIPI-X i2c#RaspberryPi Only.2C Set IO config|raspberry pie pin configuration]] part2, and then do the following.
 +
===fpdlink3_i2c.sh Usage===
 +
$ ./fpdlink3_i2c.sh
 +
 
 +
Usage:  ./fpdlink3_i2c.sh [-f] function name -b bus -p port -p1 param1 -p2 param2 -p3 param3
 +
 
 +
options:
 +
 
 +
    -f [function name]       function name
 +
 
 +
    -b [i2c bus num]               i2c bus number
 +
 
 +
    -p [fpdlink port]      fpd link port number [0,1]
 +
 
 +
    -p1 [param1]                           param1 of each function
 +
 
 +
    -p2 [param1]                           param2 of each function
 +
 
 +
    -p3 [param1]                           param3 of each function
 +
 
 +
support functions: rpi_init,sync_init,trigger_init
 +
 
 +
'''fpdlink port:[[FPD-LINK3-2RX Data Sheet index|FPD-LINK3-2RX]] board,J3 is fpllink port 0, J4 is fpdlink port 1.'''
 +
===fpdlink3_i2c.sh usage details===
 +
=====rpi_init=====
 +
<code>./fpdlink3_i2c.sh -f rpi_init -p 0/1</code>
 +
 
 +
init the FPD-Link channel of port0/1,'''must run this command before you can connect video and i2C.'''
 +
=====sync_init=====
 +
<code>./fpdlink3_i2c.sh -f sync_init -p 0 -p1 0</code>
 +
 
 +
Configure port 0 as the master of sync mode.
 +
 
 +
Connect J1 signal of [[FPD-LINK3-TX Data Sheet index|FPD-LINK3-TX]] on port 0 to J6 of [[FPD-LINK3-2RX Data Sheet index|FPD-LINK3-2RX]],direction is TX-->RX.
 +
 
 +
<code>./fpdlink3_i2c.sh -f sync_init -p 1 -p1 1</code>
 +
 
 +
Configure port 1 as the slave of sync mode.
 +
 
 +
Connect J8 signal of [[FPD-LINK3-2RX Data Sheet index|FPD-LINK3-2RX]]  to J1 of  [[FPD-LINK3-TX Data Sheet index|FPD-LINK3-TX]] on port 1 ,direction is RX-->TX.
 +
=====trigger_init=====
 +
<code>./fpdlink3_i2c.sh -f trigger_init -p 0</code>
 +
 
 +
Configure port 0 as the trigger mode.
 +
 
 +
Connect J6 signal of [[FPD-LINK3-2RX Data Sheet index|FPD-LINK3-2RX]]  to J1 of  [[FPD-LINK3-TX Data Sheet index|FPD-LINK3-TX]] on port 0 ,direction is RX-->TX.
 +
 
 +
<code>./fpdlink3_i2c.sh -f trigger_init -p 1</code>
 +
 
 +
Configure port 1 as the trigger mode.
    +
Connect J8 signal of [[FPD-LINK3-2RX Data Sheet index|FPD-LINK3-2RX]]  to J1 of  [[FPD-LINK3-TX Data Sheet index|FPD-LINK3-TX]] on port 1 ,direction is RX-->TX.
 
== Typical application ==
 
== Typical application ==
 +
 +
=== CS-FPD-CAM-IMX327 Video usage ===
 +
[[File:RaspberryPi4 connect with CS-FPD-CAM.jpg|center|thumb|600x600px|RaspberryPi4 connect with CS-FPD-CAM|link=http://wiki.veye.cc/index.php/File:RaspberryPi4_connect_with_CS-FPD-CAM.jpg]]
 +
=====Step 1:=====
 +
On Raspberry PI:
 +
 +
<code>./fpdlink3_i2c.sh -f rpi_init -p 0</code>
 +
 +
Init the FPD-Link channel of port0.
 +
=====Step 2:=====
 +
After Step 1, the stream acquisition and I2C instruction control of the camera are exactly the same as those of the camera with the MIPI interface.
 +
 +
*[[VEYE-MIPI-290/327 for Raspberry Pi|How to use VEYE-MIPI-X camera module on Raspberry Pi]]
 +
*[[CS-MIPI-X for Raspberry Pi|How to use CS-MIPI-X camera module on Raspberry Pi]]
 +
 +
*[[CS-MIPI-X i2c|CS-MIPI-CAM I2C.sh Usage]]
 +
 +
*[[VEYE-MIPI-290/327 i2c/zh|VEYE-MIPI-290/327 I2C.sh Usage]]
 +
 
<br />
 
<br />

Navigation menu