Difference between revisions of "ORCA SOM/ORCA Hardware/Peripherals/Audio"

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "{{subst:Peripheral_hardware | nome-som=ORCA | nome-peripheral=Audio}}")
 
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"|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" |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"|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" |Feb 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 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"|...
 
 
|-
 
|-
 
|}
 
|}
<section end=History/>
+
<section end="History" />__FORCETOC__<section begin="Body" />
__FORCETOC__
 
<section begin=Body/>
 
 
 
 
==Peripheral Audio ==
 
==Peripheral Audio ==
  
''TBD: sostituire le sezioni con le informazioni sull'uso della periferica''
+
The Audio interface available on ORCA SoM is based on iMX8MPlus SoC which provides the following audio subsystems:
''Nell'esempio di seguito c'è la descrizione dell'interfaccia HDMI''
+
* Synchronous Audio Interface (SAI)
 +
** 6x I2S/SAI
 +
* Sony/Philips Digital Interface (SPDIF)
 +
* PDM microphone interface
 +
* eARC
  
 
=== Description  ===
 
=== Description  ===
  
The Audio interface available on ORCA is based on xxxxx ''TBD:SOC name'' SoC.  
+
The I2S module provides a synchronous audio interface (SAI) that supports full-duplex serial interfaces with frame synchronization such as I2S, AC97, TDM, and codec/DSP interfaces. It supports the following standards and features:
 +
* Transmitter and receiver with independent bit clock and frame sync supporting 8 data lines
 +
* Receiver with independent bit clock and frame sync supporting 8 data lines
 +
* Each data line can support a maximum Frame size of 32 words
 +
* Asynchronous 128 x 32-bit FIFO for each transmit and receive data line
 +
* Supports packing of 8-bit and 16-bit data into each 32-bit FIFO word
 +
* Supports combining multiple data line FIFOs into single data line FIFO
 +
* Independent 32-bit timestamp counters and bit counters for monitoring transmit and receive progress
 +
The Sony/Philips Digital Interface (SPDIF) audio block is a stereo transceiver that allows the processor to receive and transmit digital audio.
 +
 
 +
The PDM Microphone Interface (MICFIL) includes the following features:
 +
* Decimation filters:
 +
** Fixed filtering characteristics for audio application.
 +
** 24-bit signed filter output.
 +
** Maximum dynamic range: 120dB.
 +
** Internal clock divider for a programmable PDM clock generation.
 +
** Full or partial set of channels operation with individual enable control.
 +
** Programmable decimation rate.
 +
** Programmable DC remover.
 +
** Range adjustement capability.
 +
** FIFOs with interrupt and DMA capability.
 +
** Each FIFO with 32 entries length.
 +
* Hardware Voice Activity Detector (HWVAD).
 +
** Interrupt capability.
 +
** Zero-Crossing Detection (ZCD) option.
 +
The enhanced audio return channel (eARC) provides an advanced audio stream through the HDMI interface.
  
The Audio port supports the following standards and features:
+
The asyncronous sample rate converter (ASRC) is a digital module that converts audio from a source sample rate to a destination sample rate.
  
* High-Definition Multimedia Interface Specification, Version 1.4a
+
The primary features for the ASRC are as follows:
* Support for up to 1080p at 60Hz HDTV display resolutions and up to QXGA graphic display resolutions.
+
* 4 Contexts - groups of channels with an independent time base
* Support for 4k x 2k and 3D video formats
+
* Fully independent and concurrent context control
* Support for up to 16-bit Deep Color modes
+
* Simultaneous processing of up to 32 audio channels
 +
* Programmable filter charachteristics for each context
 +
* 32, 24, 20, and 16-bit fixed point audio sample support
 +
* 32-bit floating point audio sample support
 +
* 8kHz to 384 kHz sample rate
 +
* 1/16 to 8x sample rate conversion ratio
 +
* Software control of fine conversion ratio
  
 
===Pin mapping===
 
===Pin mapping===

Revision as of 14:58, 3 February 2021

History
Version Issue Date Notes
1.0.0 Feb 2021 First release

Peripheral Audio[edit | edit source]

The Audio interface available on ORCA SoM is based on iMX8MPlus SoC which provides the following audio subsystems:

  • Synchronous Audio Interface (SAI)
    • 6x I2S/SAI
  • Sony/Philips Digital Interface (SPDIF)
  • PDM microphone interface
  • eARC

Description[edit | edit source]

The I2S module provides a synchronous audio interface (SAI) that supports full-duplex serial interfaces with frame synchronization such as I2S, AC97, TDM, and codec/DSP interfaces. It supports the following standards and features:

  • Transmitter and receiver with independent bit clock and frame sync supporting 8 data lines
  • Receiver with independent bit clock and frame sync supporting 8 data lines
  • Each data line can support a maximum Frame size of 32 words
  • Asynchronous 128 x 32-bit FIFO for each transmit and receive data line
  • Supports packing of 8-bit and 16-bit data into each 32-bit FIFO word
  • Supports combining multiple data line FIFOs into single data line FIFO
  • Independent 32-bit timestamp counters and bit counters for monitoring transmit and receive progress

The Sony/Philips Digital Interface (SPDIF) audio block is a stereo transceiver that allows the processor to receive and transmit digital audio.

The PDM Microphone Interface (MICFIL) includes the following features:

  • Decimation filters:
    • Fixed filtering characteristics for audio application.
    • 24-bit signed filter output.
    • Maximum dynamic range: 120dB.
    • Internal clock divider for a programmable PDM clock generation.
    • Full or partial set of channels operation with individual enable control.
    • Programmable decimation rate.
    • Programmable DC remover.
    • Range adjustement capability.
    • FIFOs with interrupt and DMA capability.
    • Each FIFO with 32 entries length.
  • Hardware Voice Activity Detector (HWVAD).
    • Interrupt capability.
    • Zero-Crossing Detection (ZCD) option.

The enhanced audio return channel (eARC) provides an advanced audio stream through the HDMI interface.

The asyncronous sample rate converter (ASRC) is a digital module that converts audio from a source sample rate to a destination sample rate.

The primary features for the ASRC are as follows:

  • 4 Contexts - groups of channels with an independent time base
  • Fully independent and concurrent context control
  • Simultaneous processing of up to 32 audio channels
  • Programmable filter charachteristics for each context
  • 32, 24, 20, and 16-bit fixed point audio sample support
  • 32-bit floating point audio sample support
  • 8kHz to 384 kHz sample rate
  • 1/16 to 8x sample rate conversion ratio
  • Software control of fine conversion ratio

Pin mapping[edit | edit source]

The Pin mapping is described in the Pinout table section