Difference between revisions of "ORCA SOM/ORCA Evaluation Kit/Interfaces and Connectors/MIPI"

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "{{subst:EVB_Interfaces_and_Connectors | nome-som=ORCA SOM | nome-peripheral = MIPI}}")
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<section begin="History" />
+
<section begin=History/>
 
{| style="border-collapse:collapse; "
 
{| style="border-collapse:collapse; "
! colspan="4" style="width:100%; text-align:left" ; border-bottom:solid 2px #ededed" |History
+
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History
 
|-  
 
|-  
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Issue Date
+
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Version
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Notes
+
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Issue Date
 +
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Notes
 
|-
 
|-
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |2021/12/13
+
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|X.Y.Z
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |First release
+
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|Month Year
 +
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|TBD
 
|-
 
|-
 +
|-
 +
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|[TBD_link X.Y.Z]
 +
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|Month Year
 +
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|TBD
 +
|-
 +
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|...
 +
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|...
 +
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|...
 
|-
 
|-
 
|}
 
|}
<section end="History" />
+
<section end=History/>
<section begin="Body" />
+
<section begin=Body/>
  
 
==MIPI interface ==
 
==MIPI interface ==
  
There are two MIPI camera inputs and one MIPI display output available on the Evaluation Kit.
+
''TBD: sostituire le sezioni con le informazioni sull'uso della periferica e del suo connettore''
 +
''Nell'esempio di seguito c'è la descrizione dell'interfaccia UART/console''
  
 
=== Description  ===
 
=== Description  ===
  
The MIPI camera interfaces are available on the Evaluation Kit at the connectors J5 and J6.  
+
The MIPI interface available on the Evaluation Kit at the connector ''TBD:Jxxx''.  
  
The MIPI display interface is available on the Evaluation Kit at the connector J7 (and it is located at the bottom side of ORCA SBC)
+
''Jxx'' is a ''TBD:connector-type'' header connector for the RS232 two-wires UART3 port, used for debug purposes (bootloader and operating system serial console).
  
J5, J6 and J7 are a 22x1x0.5mm horizontal ZIF connectors that deliver the MIPI signals, many control signals and power.
 
  
 
+
[[File:{{{nome-som}}-EVB-MIPI-connector.png|thumb|center|500px|MIPI connector]]
[[File:ORCA-EVK-J5-connector.png|thumb|center|500px|MIPI camera J5 connector]]
 
 
 
[[File:ORCA-EVK-J6-connector.png|thumb|center|500px|MIPI camera J6 connector]]
 
 
 
[[File:ORCA-EVK-J7-connector.png|thumb|center|500px|MIPI DSI J7 connector]]
 
  
 
===Signals ===
 
===Signals ===
  
The following tables describe the interfaces signals:
+
The following table describes the interface signals:
  
==== J5 ====
 
 
{| class="wikitable"  
 
{| class="wikitable"  
! latexfontsize="scriptsize" | Pin#
+
! latexfontsize="scriptsize"| Pin#
! latexfontsize="scriptsize" | SOM Pin#
+
! latexfontsize="scriptsize"| SOM Pin#
! latexfontsize="scriptsize" | Pin name
+
! latexfontsize="scriptsize"| Pin name
! latexfontsize="scriptsize" | Pin function
+
! latexfontsize="scriptsize"| Pin function
! latexfontsize="scriptsize" | Pin Notes
+
! latexfontsize="scriptsize"| Pin Notes
 
|-
 
|-
|1, 4, 7, 10, 13
+
|1,2,4,6,,7,8,10
 
| -
 
| -
|DGND
+
| N.A.
|Ground
+
| N.C.
|
+
| Not connected
|-
 
|2
 
|J15.117
 
|MIPI_CSI1_D0_N
 
|MIPI Data 0 -
 
|
 
 
|-
 
|-
 
| 3
 
| 3
|J15.115
+
| J1.189
|MIPI_CSI1_D0_P
+
| RS232_RX
|MIPI Data 0 +
+
| Receive line
|
+
|  
|-
 
|5
 
|J15.113
 
|MIPI_CSI1_D1_N
 
|MIPI Data 1 -
 
|
 
|-
 
|6
 
|J15.111
 
|MIPI_CSI1_D1_P
 
|MIPI Data 1 +
 
|
 
|-
 
|8
 
|J15.109
 
|MIPI_CSI1_CLK_N
 
|MIPI Clock -
 
|
 
|-
 
|9
 
|J15.107
 
|MIPI_CSI1_CLK_P
 
|MIPI Clock +
 
|
 
|-
 
|11
 
|J15.105
 
|MIPI_CSI1_D2_N
 
|MIPI Data 2 -
 
|
 
|-
 
|12
 
|J15.103
 
|MIPI_CSI1_D2_P
 
|MIPI Data 2 +
 
|
 
|-
 
|14
 
|J15.101
 
|MIPI_CSI1_D3_N
 
|MIPI Data 3 -
 
|
 
|-
 
|15
 
|J15.99
 
|MIPI_CSI1_D3_P
 
|MIPI Data 3 +
 
|
 
|-
 
|16
 
| -
 
|CAM1_IO2/GND
 
|CSI_nRST/Ground
 
|Default connected to Ground
 
Can be alternatively routed to J15.233 GPIO
 
|-
 
|17
 
|J15.227
 
|CAM1_IO0
 
|CSI_MCLK
 
|
 
|-
 
|18
 
|J15.231
 
|CAM1_IO1
 
|CSI1_SYNC
 
|
 
|-
 
|19
 
| -
 
|CAM1_IO3/GND
 
|CSI_MCLK/Ground
 
|Default connected to Ground
 
Can be alternatively routed to J15.38 GPIO
 
|-
 
|20
 
|J15.230
 
|CAM1_SCL
 
|I2C2_SCL
 
|4K7 internal pull-up
 
|-
 
|21
 
|J15.232
 
|CAM1_SDA
 
|I2C2_SDA
 
|4K7 internal pull-up
 
|-
 
|22
 
| -
 
|MIPI_CSI1_PSU
 
| +3.3V
 
|Default connected to 3V3_CB
 
Can be alternatively routed to 5V_CB or VIN
 
|}
 
 
 
==== J6 ====
 
{| class="wikitable"
 
! latexfontsize="scriptsize" | Pin#
 
! latexfontsize="scriptsize" | SOM Pin#
 
! latexfontsize="scriptsize" | Pin name
 
! latexfontsize="scriptsize" | Pin function
 
! latexfontsize="scriptsize" | Pin Notes
 
|-
 
|1, 4, 7, 10, 13
 
| -
 
|DGND
 
|Ground
 
|
 
|-
 
|2
 
|J15.79
 
|MIPI_CSI2_D0_N
 
|MIPI Data 0 -
 
|
 
 
|-
 
|-
 
| 3
 
| 3
|J15.77
+
| J1.187
|MIPI_CSI2_D0_P
+
| RS232_TX
|MIPI Data 0 +
+
| Transmit line
|
+
|  
|-
 
|5
 
|J15.83
 
|MIPI_CSI2_D1_N
 
|MIPI Data 1 -
 
|
 
|-
 
|6
 
|J15.81
 
|MIPI_CSI2_D1_P
 
|MIPI Data 1 +
 
|
 
|-
 
|8
 
|J15.87
 
|MIPI_CSI2_CLK_N
 
|MIPI Clock -
 
|
 
|-
 
|9
 
|J15.85
 
|MIPI_CSI2_CLK_P
 
|MIPI Clock +
 
|
 
|-
 
|11
 
|J15.91
 
|MIPI_CSI2_D2_N
 
|MIPI Data 2 -
 
|
 
|-
 
|12
 
|J15.89
 
|MIPI_CSI2_D2_P
 
|MIPI Data 2 +
 
|
 
|-
 
|14
 
|J15.95
 
|MIPI_CSI2_D3_N
 
|MIPI Data 3 -
 
|
 
|-
 
|15
 
|J15.93
 
|MIPI_CSI2_D3_P
 
|MIPI Data 3 +
 
|
 
|-
 
|16
 
| -
 
|CAM2_IO2/GND
 
|CSI_nRST/Ground
 
|Default connected to Ground
 
Can be alternatively routed to J15.233 GPIO
 
|-
 
|17
 
|J15.227
 
|CAM2_IO0
 
|CSI_MCLK
 
|
 
|-
 
|18
 
|J15.225
 
|CAM2_IO1
 
|CSI2_SYNC
 
|
 
|-
 
|19
 
| -
 
|CAM2_IO3/GND
 
|CSI_MCLK/Ground
 
|Default connected to Ground
 
Can be alternatively routed to J15.38 GPIO
 
|-
 
|20
 
|J15.234
 
|CAM2_SCL
 
|I2C3_SCL
 
|4K7 internal pull-up
 
 
|-
 
|-
|21
+
| 9
|J15.236
 
|CAM2_SDA
 
|I2C3_SDA
 
|4K7 internal pull-up
 
|-
 
|22
 
 
| -
 
| -
|MIPI_CSI1_PSU
+
| DGND
|Power supply
+
| Ground
|Default connected to 3V3_CB
+
|  
Can be alternatively routed to 5V_CB or VIN
 
 
|}
 
|}
  
==== J7 ====
+
=== Device mapping ===
{| class="wikitable"
+
UART3 is mapped to <code>/dev/ttymxc2</code> device in Linux. The peripheral is used as the default serial console, both for the bootloader and the kernel.
! latexfontsize="scriptsize" | Pin#
 
! latexfontsize="scriptsize" | SOM Pin#
 
! latexfontsize="scriptsize" | Pin name
 
! latexfontsize="scriptsize" | Pin function
 
! latexfontsize="scriptsize" | Pin Notes
 
|-
 
|1, 4, 7, 10, 13, 20
 
| -
 
|DGND
 
|Ground
 
|
 
|-
 
|2
 
|J15.135
 
|MIPI_DSI1_D1_N
 
|MIPI Data 1 -
 
|
 
|-
 
|3
 
|J15.133
 
|MIPI_DSI1_D1_P
 
|MIPI Data 1 +
 
|
 
|-
 
|5
 
|J15.131
 
|MIPI_DSI1_CLK_N
 
|MIPI Clock -
 
|
 
|-
 
|6
 
|J15.129
 
|MIPI_DSI1_CLK_P
 
|MIPI Clock +
 
|
 
|-
 
|8
 
|J15.139
 
|MIPI_DSI1_D0_N
 
|MIPI Data 0 -
 
|
 
|-
 
|9
 
|J15.137
 
|MIPI_DSI1_D0_P
 
|MIPI Data 0 +
 
|
 
|-
 
|11
 
|J15.127
 
|MIPI_DSI1_D2_N
 
|MIPI Data 2 -
 
|
 
|-
 
|12
 
|J15.125
 
|MIPI_DSI1_D2_P
 
|MIPI Data 2 +
 
|
 
|-
 
|14
 
|J15.123
 
|MIPI_DSI1_D3_N
 
|MIPI Data 3 -
 
|
 
|-
 
|15
 
|J15.121
 
|MIPI_DSI1_D3_P
 
|MIPI Data 3 +
 
|
 
|-
 
|16
 
|J15.209
 
|DSI_EN
 
|GPIO
 
|
 
|-
 
|17
 
|J15.230
 
|DISP1_SCL
 
|I2C2_SCL
 
|4K7 internal pull-up
 
|-
 
|18
 
|J15.232
 
|DISP1_SDA
 
|I2C2_SDA
 
|4K7 internal pull-up
 
|-
 
|19
 
|J15.217
 
|DSI_BL_PWM
 
|PWM/GPIO
 
|Can be alternatively routed to Ground
 
|-
 
|21, 22
 
| -
 
|MIPI_CSI1_PSU
 
|Power supply
 
|Default connected to 3V3_CB
 
Can be alternatively routed to 5V_CB
 
|}
 
  
=== Device mapping ===
+
=== Device usage ===
The MIPI CSI peripherals are mapped to the corresponding <code>/dev/video<X></code> device in Linux.
 
  
The MIPI DSI peripherals are mapped to the corresponding <code>/dev/fb<X></code> device in Linux.
+
To connect to the debug serial port:
  
The devices mapping depends on the device tree configuration.
+
# connect the DB9 adapter bracket to the J22 connector on the SBCX board
 +
# connect a serial cable between DB9 connector and PC COM port through a NULL-modem cable (not provided)
 +
# start your favorite terminal emulator software on PC (eg: PuTTY); communication parameters are: 115200,N,8,1
  
=== Device usage ===
 
The devices are accessed in Linux through the standard graphic stack.
 
 
----
 
----
  
[[Category:ORCA]]
+
[[Category:ORCA SOM]]

Revision as of 13:53, 15 September 2021

History
Version Issue Date Notes
X.Y.Z Month Year TBD
[TBD_link X.Y.Z] Month Year TBD
... ... ...


MIPI interface[edit | edit source]

TBD: sostituire le sezioni con le informazioni sull'uso della periferica e del suo connettore Nell'esempio di seguito c'è la descrizione dell'interfaccia UART/console

Description[edit | edit source]

The MIPI interface available on the Evaluation Kit at the connector TBD:Jxxx.

Jxx is a TBD:connector-type header connector for the RS232 two-wires UART3 port, used for debug purposes (bootloader and operating system serial console).


[[File:{Template:Nome-som-EVB-MIPI-connector.png|thumb|center|500px|MIPI connector]]

Signals[edit | edit source]

The following table describes the interface signals:

Pin# SOM Pin# Pin name Pin function Pin Notes
1,2,4,6,,7,8,10 - N.A. N.C. Not connected
3 J1.189 RS232_RX Receive line
3 J1.187 RS232_TX Transmit line
9 - DGND Ground

Device mapping[edit | edit source]

UART3 is mapped to /dev/ttymxc2 device in Linux. The peripheral is used as the default serial console, both for the bootloader and the kernel.

Device usage[edit | edit source]

To connect to the debug serial port:

  1. connect the DB9 adapter bracket to the J22 connector on the SBCX board
  2. connect a serial cable between DB9 connector and PC COM port through a NULL-modem cable (not provided)
  3. start your favorite terminal emulator software on PC (eg: PuTTY); communication parameters are: 115200,N,8,1