Cam9630 c 1

From Fpga4u

Jump to: navigation, search

Some camera extension for the 20 pins connector:

- 128 x 101 pixels, B/W, global reset : Cam9630_c

The document CMOS Image is used to present the design project associated with this interface. Thus the design is actually not fully available on this site as it is an actual exercise for students.

Extension for 20 pins connector with camera LM9630_c

Module Camera on FPGA4U
Port 20 Pin Table
20Pin Num FPGA Pin FPGA function Camera Name
1 3.3V
3 PIN_U18 Ext_Clk_In (IO/PLL4_OUTn) -
5 PIN_H8 SWITCH0[1] Cam_DATA[1]
7 PIN_H9 SWITCH0[3] Cam_DATA[3]
9 PIN_F10 SWITCH0[5] Cam_DATA[5]
11 PIN_E11 SWITCH0[7] Cam_DATA[7]
13 PIN_C7 SWITCH1[1] -
15 PIN_E8 SWITCH1[3] Cam_VSync
17 PIN_H10 SWITCH1[5] Cam_SCL
19 PIN_F11 SWITCH1[7] -
20Pin Num J1 FPGA Pin FPGA function Camera Name
2 PIN_T18 Ext_Clk_Out (IO/PLL4_OUTp) Cam_MClk
4 PIN_G7 SWITCH0[0] Cam_DATA[0]
6 PIN_F8 SWITCH0[2] Cam_DATA[2]
8 PIN_E9 SWITCH0[4] Cam_DATA[4]
10 PIN_G11 SWITCH0[6] Cam_DATA[6]
12 PIN_H7 SWITCH1[0] -
14 PIN_G8 SWITCH1[2] Cam_HSync
16 PIN_F9 SWITCH1[4] Cam_SDA
18 PIN_H11 SWITCH1[6] Cam_Reset_n
20 Gnd

A small micro match with 4 pins can be used to connect the i2c interface. 2 lines could be used on the camera modules, but some of then doesn't have the lines connected.

i2c Table
Pin Num FPGA Pin FPGA function Camera Name
1 Gnd
2 3.3V
3 PIN_C13 SDA Cam_SDA
4 PIN_C16 SCL Cam_SCL


For .tcl assignment file :


# Connector J5 used for Camera LM9630_c
############################################
set_location_assignment PIN_T18 -to Cam_MClk
#set_location_assignment PIN_U18 -to
set_location_assignment PIN_G7 -to Cam_DATA[0]
set_location_assignment PIN_H8 -to Cam_DATA[1]
set_location_assignment PIN_F8 -to Cam_DATA[2]
set_location_assignment PIN_H9 -to Cam_DATA[3]
set_location_assignment PIN_E9 -to Cam_DATA[4]
set_location_assignment PIN_F10 -to Cam_DATA[5]
set_location_assignment PIN_G11 -to Cam_DATA[6]
set_location_assignment PIN_E11 -to Cam_DATA[7]
#set_location_assignment PIN_H7 -to
#set_location_assignment PIN_C7 -to
set_location_assignment PIN_G8 -to Cam_HSync
set_location_assignment PIN_E8 -to Cam_VSync
set_location_assignment PIN_F9 -to Cam_SDA
set_location_assignment PIN_H10 -to Cam_SCL
set_location_assignment PIN_H11 -to Cam_Reset_n
#set_location_assignment PIN_F11 -to
Personal tools