Skip to content

Commit 70a2988

Browse files
authored
Merge pull request #1041 from EESN-W/rock4d
feat: rock 4d mipi csi interface parameter and use tutorial
2 parents c01c2bc + 41ff808 commit 70a2988

File tree

3 files changed

+122
-2
lines changed

3 files changed

+122
-2
lines changed

docs/rock4/rock4d/hardware-use/mipi-csi.md

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,57 @@ sidebar_position: 7
1515

1616
## 支持列表
1717

18-
目前正在适配摄像头模块,后续会更新支持的摄像头模块列表。
18+
| 主板 | CSI 摄像头 | 说明 |
19+
| ------- | ----------------------------------------------------------------------- | ---------------- |
20+
| ROCK 4D | [Camera 4K](https://radxa.com/products/accessories/camera4k) | |
21+
| ROCK 4D | [Camera 13M 214](https://radxa.com/products/accessories/camera-13m-214) | 彩色预览效果较差 |
22+
| ROCK 4D | [Camera 8M 219](https://radxa.com/products/accessories/camera-8m-219) | 彩色预览效果较差 |
23+
24+
## 硬件连接
25+
26+
使用主板的 MIPI CSI 接口连接摄像头,连接方式如下:以 4-lane MIPI CSI 接口连接 Camera 4K 为例
27+
28+
①: 连接主板的 MIPI CSI 接口,金手指(金属接触点)朝向主板方向
29+
30+
②: 连接摄像头的接口,金手指(金属接触点)朝向摄像头方向
31+
32+
<div style={{textAlign: 'center'}}>
33+
<img src="/img/rock4/4d/rock4d-mipi-csi.webp" style={{width: '100%', maxWidth: '1200px'}} alt="Camera 4K MIPI CSI Interface" />
34+
</div>
35+
36+
## 软件使能
37+
38+
在终端命令行输入 `rsetup` 命令,使用 Rsetup 工具设置摄像头选项。
39+
40+
<NewCodeBlock tip="radxa@device$" type="device">
41+
42+
```
43+
rsetup
44+
```
45+
46+
</NewCodeBlock>
47+
48+
1. 通过方向键选择 Overlays 选项,然后按回车键确认选择。
49+
50+
<div style={{ textAlign: "center" }}>
51+
<img
52+
src="/img/common/radxa-os/system-config/rsetup-overlays.webp"
53+
style={{ width: "100%", maxWidth: "1200px" }}
54+
/>
55+
</div>
56+
57+
2. 通过方向键选择 Manage overlays 选项,然后按回车键确认选择。
58+
59+
<div style={{ textAlign: "center" }}>
60+
<img
61+
src="/img/common/radxa-os/system-config/rsetup-overlays-manage.webp"
62+
style={{ width: "100%", maxWidth: "1200px" }}
63+
/>
64+
</div>
65+
66+
3. 通过方向键选择对应的 Camera 选项,按空格键并出现 `*` 代表启用该功能,然后回车键确认选择。
67+
68+
4. 重启系统,配置生效。
1969

2070
## 接口规格
2171

@@ -27,6 +77,11 @@ sidebar_position: 7
2777

2878
<TabItem value="4-lane MIPI CSI">
2979

80+
- 4-lane MIPI CSI 接口规格
81+
- 型号:FH35C-31S-0.3SHW(50)
82+
- 引脚间距:0.3mm
83+
- 引脚数:31 Pin
84+
3085
| Pin# | Name | Pin# | Name | Pin# | Name |
3186
| :--: | :--------------------- | :--: | :------------------------ | :--: | :-------------------- |
3287
| 1 | GND | 12 | MIPI_DPHY_CSI1_RX_D1P | 23 | MIPI_CSI0_PDN1_H |
@@ -45,6 +100,11 @@ sidebar_position: 7
45100

46101
<TabItem value="2-lane MIPI CSI">
47102

103+
- 2-lane MIPI CSI 接口规格
104+
- 型号:FPC1030-15S-TAG
105+
- 引脚间距:1 mm
106+
- 引脚数:15 Pin
107+
48108
| Pin# | Name | Pin# | Name | Pin# | Name |
49109
| :--: | :------------------------ | :--: | :---------------------- | :--: | :-------------------- |
50110
| 1 | VCC_3V3_S0 | 11 | GND | 21 | MIPI_DPHY_CSI0_RX_D1N |

i18n/en/docusaurus-plugin-content-docs/current/rock4/rock4d/hardware-use/mipi-csi.md

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,57 @@ The two MIPI CSI interfaces include a 4-lane (4-channel) MIPI CSI and a 2-lane (
1515

1616
## Supported Cameras
1717

18-
Camera module compatibility is currently being tested. A list of supported camera modules will be updated in the future.
18+
| Board | CSI Camera | Notes |
19+
| ------- | ----------------------------------------------------------------------- | ------------------------------ |
20+
| ROCK 4D | [Camera 4K](https://radxa.com/products/accessories/camera4k) | |
21+
| ROCK 4D | [Camera 13M 214](https://radxa.com/products/accessories/camera-13m-214) | Color preview is being adapted |
22+
| ROCK 4D | [Camera 8M 219](https://radxa.com/products/accessories/camera-8m-219) | Color preview is being adapted |
23+
24+
## Hardware Connection
25+
26+
Use the board's MIPI CSI interface to connect the camera. The connection method is as follows: taking the 4-lane MIPI CSI interface connecting Camera 4K as an example
27+
28+
①: Connect to the board's MIPI CSI interface, with the gold fingers (metal contacts) facing towards the board
29+
30+
②: Connect to the camera's interface, with the gold fingers (metal contacts) facing towards the camera
31+
32+
<div style={{textAlign: 'center'}}>
33+
<img src="/en/img/rock4/4d/rock4d-mipi-csi.webp" style={{width: '100%', maxWidth: '1200px'}} alt="Camera 4K MIPI CSI Interface" />
34+
</div>
35+
36+
## Software Enable
37+
38+
Enter `rsetup` command in the terminal command line, and use the Rsetup tool to configure camera options.
39+
40+
<NewCodeBlock tip="radxa@device$" type="device">
41+
42+
```
43+
rsetup
44+
```
45+
46+
</NewCodeBlock>
47+
48+
1. Use the arrow keys to select the Overlays option, then press Enter to confirm the selection.
49+
50+
<div style={{ textAlign: "center" }}>
51+
<img
52+
src="/en/img/common/radxa-os/system-config/rsetup-overlays.webp"
53+
style={{ width: "100%", maxWidth: "1200px" }}
54+
/>
55+
</div>
56+
57+
2. Use the arrow keys to select the Manage overlays option, then press Enter to confirm the selection.
58+
59+
<div style={{ textAlign: "center" }}>
60+
<img
61+
src="/en/img/common/radxa-os/system-config/rsetup-overlays-manage.webp"
62+
style={{ width: "100%", maxWidth: "1200px" }}
63+
/>
64+
</div>
65+
66+
3. Use the arrow keys to select the corresponding Camera option, press the space key to enable the function (indicated by `*`), then press Enter to confirm the selection.
67+
68+
4. Restart the system for the configuration to take effect.
1969

2070
## Interface Specifications
2171

@@ -27,6 +77,11 @@ For detailed interface specifications, please refer to the [Hardware Design: Sch
2777

2878
<TabItem value="4-lane MIPI CSI">
2979

80+
- 4-lane MIPI CSI Interface Specifications
81+
- Model: FH35C-31S-0.3SHW (50)
82+
- Pin Pitch: 0.3mm
83+
- Pin Count: 31 Pin
84+
3085
| Pin# | Name | Pin# | Name | Pin# | Name |
3186
| :--: | :--------------------- | :--: | :------------------------ | :--: | :-------------------- |
3287
| 1 | GND | 12 | MIPI_DPHY_CSI1_RX_D1P | 23 | MIPI_CSI0_PDN1_H |
@@ -45,6 +100,11 @@ For detailed interface specifications, please refer to the [Hardware Design: Sch
45100

46101
<TabItem value="2-lane MIPI CSI">
47102

103+
- 2-lane MIPI CSI Interface Specifications
104+
- Model: FPC1030-15S-TAG
105+
- Pin Pitch: 1 mm
106+
- Pin Count: 15 Pin
107+
48108
| Pin# | Name | Pin# | Name | Pin# | Name |
49109
| :--: | :------------------------ | :--: | :---------------------- | :--: | :-------------------- |
50110
| 1 | VCC_3V3_S0 | 11 | GND | 21 | MIPI_DPHY_CSI0_RX_D1N |
75.7 KB
Loading

0 commit comments

Comments
 (0)