The digital parallel camera signal interface (J26) is reserved on the PanGu development board, which can be used to connect the Camera module of the Rex rabbit core. Here we take the i2M-CAM5640P module as an example.
| Model | Sensor | Interface | |
|---|---|---|---|
| i2M-CAM5640P | OV5640 | Parallel Digital |
Before connecting the Camera module, disconnect the power supply and connect it to the development board.
After entering the system, you can use the following command to check whether the Camera module recognizes normal.
| `# dmesg | grep ov5640<br>[ 6.877493] ov5640 1-003c: Linked as a consumer to regulator.7<br>[ 6.892253] ov5640 1-003c: 1-003c supply DVDD not found, using dummy regulator<br>[ 6.921394] ov5640 1-003c: Linked as a consumer to regulator.0<br>[ 6.926642] ov5640 1-003c: 1-003c supply AVDD not found, using dummy regulator<br># dmesg | grep dcmi<br>[ 6.917591] stm32-dcmi 4c006000.dcmi: Probe `done |
This shows that the ov5640 recognition is normal and the DCMI driver is also initialized normally.
Then click on the second application "Camera preview" in the Launcher interface of the Weston system. The screen captured by the Camera module is displayed on the screen.