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

From DAVE Developer's Wiki
Jump to: navigation, search
(WIP)
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
! 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" |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" |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" |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:#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/10
+
| 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" |1.0.0
 +
| 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" |Sep 2021
 
| 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" |First release
 
|-
 
|-
Line 25: Line 27:
  
  
[[File:ORCA-EVK-J8-connector.png|thumb|center|500px|Audio connector (on J8)]]
+
[[File:{{{nome-som}}-EVB-Audio-connector.png|thumb|center|500px|Audio connector]]
  
 
===Signals ===
 
===Signals ===
Line 37: Line 39:
 
! latexfontsize="scriptsize" | Pin function
 
! latexfontsize="scriptsize" | Pin function
 
! latexfontsize="scriptsize" | Pin Notes
 
! latexfontsize="scriptsize" | Pin Notes
|-
 
|1, 17
 
| -
 
|3V3_CB
 
|Power output for transceiver supply
 
|BOARD_PGOOD driven rail
 
|-
 
|2, 4
 
| -
 
|5V_VIN
 
|Power output for transceiver supply
 
|Always ON rail
 
|-
 
|6, 9, 14, 20,
 
25, 30, 34, 39
 
| -
 
|DGND
 
|Ground
 
|
 
|-
 
|7
 
|J15.
 
| SAI2_TXFS
 
|Transmit Frame Sync
 
|
 
 
|-
 
|-
 
|8
 
|8
 
|J15.
 
|J15.
 
|SAI2_RXFS
 
|SAI2_RXFS
|Receive Frame Sync
+
|
 
|
 
|
 
|-
 
|-
Line 72: Line 49:
 
|J15.
 
|J15.
 
| SAI2_RXC
 
| SAI2_RXC
|Receive Bit Clock
+
|
 +
|
 +
|-
 +
|
 +
|J15.
 +
| SAI2_TXFS
 +
|
 
|  
 
|  
 
|-
 
|-
|11
+
|
 
|J15.
 
|J15.
 
|SAI2_RXD0
 
|SAI2_RXD0
|Receive Data 0
+
|
 
|  
 
|  
 
|-
 
|-
|12
+
|
 
|J15.
 
|J15.
 
|SAI2_TXC
 
|SAI2_TXC
|Transmit Bit Clock
+
|
 
|
 
|
 
|-
 
|-
|16
+
|
 
|J15.
 
|J15.
 
|SAI2_TXD0
 
|SAI2_TXD0
|Transmit Data 0
+
|
 
|
 
|
 
|-
 
|-
|18
+
|
 
|J15.
 
|J15.
 
|SAI2_MCLK
 
|SAI2_MCLK
|Audio Master Clock
+
|
 +
|
 +
|-
 +
|
 +
|J15.
 +
|SAI5_MCLK
 +
|
 
|
 
|
 
|-
 
|-
|13
+
|
 
|J15.
 
|J15.
|SPDIF_RX
+
|SAI5_RXC
|SPDIF Receiver
+
|
 
|
 
|
 
|-
 
|-
|15
+
|
 
|J15.
 
|J15.
|SPDIF_TX
+
|SAI5_RXD0
|SPDIF Transmitter
+
|
 
|
 
|
 
|-
 
|-
|22
+
|
 
|J15.
 
|J15.
|SAI5_MCLK
+
|SAI5_RXD1
|Audio Master Clock
+
|
 
|
 
|
 
|-
 
|-
|32
+
|
 
|J15.
 
|J15.
|SAI5_RXFS
+
|SAI5_RXD2
|Receive Frame Sync
+
|
 
|
 
|
 
|-
 
|-
|35
+
|
 
|J15.
 
|J15.
 
|SAI5_RXD3
 
|SAI5_RXD3
|Receive Data 3
+
|
 
|
 
|
 
|-
 
|-
|36
+
|
 
|J15.
 
|J15.
|SAI5_RXD2
+
|SAI5_RXFS
|Receive Data 2
+
|
 
|
 
|
 
|-
 
|-
|37
+
|
 
|J15.
 
|J15.
|SAI5_RXD1
+
|SPDIF_RX
|Receive Data 1
+
|
 
|
 
|
 
|-
 
|-
|38
+
|
 
|J15.
 
|J15.
|SAI5_RXD0
+
|SPDIF_TX
|Receive Data 0
+
|
 
|
 
|
 
|-
 
|-
|40
+
|2, 4
|J15.
+
| -
|SAI5_RXC
+
|5V_VIN
|Receive Bit Clock
+
|Power output for transceiver supply
 +
|Always ON rail
 +
|-
 +
|1, 17
 +
| -
 +
|3V3_CB
 +
|Power output for transceiver supply
 +
|BOARD_PGOOD driven rail
 +
|-
 +
|6, 9, 14, 20,
 +
25, 30, 34, 39
 +
| -
 +
|DGND
 +
|Ground
 
|
 
|
 
|}
 
|}
Please note that all the signals are 0-3.3V level.
 
  
 
=== Device mapping ===
 
=== Device mapping ===
The device mapping depends on the used device and the device tree configuration.
+
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.
  
 
=== Device usage ===
 
=== Device usage ===
  
The associated device can be accessed in Linux by standard stacks, such as ''pulse audio'' or ''alsalib''.
+
To connect to the debug serial port:
 +
 
 +
# 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
  
 
----
 
----
  
[[Category:ORCA]]
+
[[Category:ORCA SOM]]

Revision as of 15:33, 16 September 2021

History
Version Issue Date Notes
1.0.0 Sep 2021 First release


Audio interface[edit | edit source]

There is no directly available Audio interface on the Evaluation Kit, two SAI and one SPDIF full duplex interfaces are available on the expansion connector.

Description[edit | edit source]

The SAI and SPDIF interfaces are available on the Evaluation Kit at the connector J8.

J8 is a 20x2x2.54mm pin header expansion connector that delivers many interfaces unused on board.


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

Signals[edit | edit source]

The following table describes the interfaces signals:

Pin# SOM Pin# Pin name Pin function Pin Notes
8 J15. SAI2_RXFS
10 J15. SAI2_RXC
J15. SAI2_TXFS
J15. SAI2_RXD0
J15. SAI2_TXC
J15. SAI2_TXD0
J15. SAI2_MCLK
J15. SAI5_MCLK
J15. SAI5_RXC
J15. SAI5_RXD0
J15. SAI5_RXD1
J15. SAI5_RXD2
J15. SAI5_RXD3
J15. SAI5_RXFS
J15. SPDIF_RX
J15. SPDIF_TX
2, 4 - 5V_VIN Power output for transceiver supply Always ON rail
1, 17 - 3V3_CB Power output for transceiver supply BOARD_PGOOD driven rail
6, 9, 14, 20,

25, 30, 34, 39

- 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