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

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "{{subst:EVB_Interfaces_and_Connectors | nome-som=AXEL ULite | nome-peripheral = Audio}}")
 
Line 7: Line 7:
 
!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"|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"|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"|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"|Jul 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"|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"|First DESK 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"|[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"|...
 
 
|-
 
|-
 
|}
 
|}
Line 25: Line 16:
  
 
==Audio interface ==
 
==Audio interface ==
 
''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 Audio interface available on the Evaluation Kit at the connector ''TBD:Jxxx''.  
+
The ''optional'' audio interface available on the Evaluation Kit at the connector J14.
  
''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).
+
J14 is a [https://www.molex.com/molex/products/part-detail/pcb_headers/0533750610 Molex 53375-0610] header connector. The audio codec is a TLV320AIC3100 device connected to the I²S interface.
  
 
+
[[File:AXEL_ULite-EVB-audio-connector.png|thumb|center|500px|Audio connector]]
[[File:{{{nome-som}}-EVB-Audio-connector.png|thumb|center|500px|Audio connector]]
 
  
 
===Signals ===
 
===Signals ===
Line 44: Line 31:
 
{| class="wikitable"  
 
{| class="wikitable"  
 
! latexfontsize="scriptsize"| Pin#
 
! latexfontsize="scriptsize"| Pin#
! latexfontsize="scriptsize"| SOM Pin#
+
! latexfontsize="scriptsize"| Codec 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,2,4,6,,7,8,10
+
|J14.1 || 27 || HSOL || Left channel Headphone/line output || -
| -
 
| N.A.
 
| N.C.
 
| Not connected
 
 
|-
 
|-
| 3
+
|J14.2 || 30 || HSOR || Right channel Headphone/line output || -
| J1.189
 
| RS232_RX
 
| Receive line
 
|  
 
 
|-
 
|-
| 3
+
|J14.3 || 22 || SPKP || Speaker +  output || -
| J1.187
+
|-
| RS232_TX
+
|J14.4 || 23 || SPKM || Speaker -  output || -
| Transmit line
+
|-
|  
+
|J14.5 || 11 || MIC IN || Microphone input || -
 +
|-
 +
|J14.6 || 12 || MIC BIAS || Microphone bias || -
 
|-
 
|-
| 9
 
| -
 
| DGND
 
| Ground
 
|
 
 
|}
 
|}
 
 
=== Device mapping ===
 
=== Device mapping ===
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.
+
The Audio interface is mapped to <code>card0</code> ALSA device in Linux. The ALSA peripheral <code>#0: sfczg-audio-tlv320aic3100</code> can be accessed via alsa-utils with hardware address 0.
  
 
=== Device usage ===
 
=== Device usage ===
  
To connect to the debug serial port:
+
For example, it is possible to play a file using <code>aplay -D hw:0,0</code> device access.
  
# 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:AXEL ULite]]
 
[[Category:AXEL ULite]]

Revision as of 14:07, 19 July 2021

History
Version Issue Date Notes
1.0.0 Jul 2021 First DESK release


Audio interface[edit | edit source]

Description[edit | edit source]

The optional audio interface available on the Evaluation Kit at the connector J14.

J14 is a Molex 53375-0610 header connector. The audio codec is a TLV320AIC3100 device connected to the I²S interface.

Audio connector

Signals[edit | edit source]

The following table describes the interface signals:

Pin# Codec Pin# Pin name Pin function Pin Notes
J14.1 27 HSOL Left channel Headphone/line output -
J14.2 30 HSOR Right channel Headphone/line output -
J14.3 22 SPKP Speaker + output -
J14.4 23 SPKM Speaker - output -
J14.5 11 MIC IN Microphone input -
J14.6 12 MIC BIAS Microphone bias -

Device mapping[edit | edit source]

The Audio interface is mapped to card0 ALSA device in Linux. The ALSA peripheral #0: sfczg-audio-tlv320aic3100 can be accessed via alsa-utils with hardware address 0.

Device usage[edit | edit source]

For example, it is possible to play a file using aplay -D hw:0,0 device access.