SBAU443 November   2023

 

  1.   1
  2.   Description
  3.   Get Started
  4.   Features
  5.   Applications
  6.   6
  7. 1Evaluation Module Overview
    1. 1.1 Introduction
    2. 1.2 Kit Contents
    3. 1.3 Specification
    4. 1.4 Device Information
  8. 2Hardware
    1. 2.1 System Overview
    2. 2.2 Hardware Overview
      1. 2.2.1 AC-MB Settings
        1. 2.2.1.1 Audio Serial Interface Settings
          1. 2.2.1.1.1 USB
          2. 2.2.1.1.2 18
          3. 2.2.1.1.3 Optical or Auxiliary Analog Audio Input
          4. 2.2.1.1.4 External
        2. 2.2.1.2 AC-MB Power Supply
      2. 2.2.2 PCMx140Q1EVM-PDK Hardware Settings
        1. 2.2.2.1 Line Inputs
        2. 2.2.2.2 Onboard Microphone Input
  9. 3Software
    1. 3.1 Software Overview
      1. 3.1.1 PurePath Console 3 Installation
      2. 3.1.2 PCMx140Q1EVM GUI Installation
        1. 3.1.2.1 Software Setup
    2. 3.2 Quick Start
      1. 3.2.1 Configuring the Audio Serial Bus for the I2S Output
      2. 3.2.2 32
      3. 3.2.3 Saving a Configuration
    3. 3.3 Matlab Audio Capture Example
  10. 4Hardware Design Files
    1. 4.1 PCMx140Q1EVM-PDK Schematic and Bill of Materials
      1. 4.1.1 PCMx140Q1EVM-PDK Schematic
      2. 4.1.2 PCB Layouts
      3. 4.1.3 PCMx140Q1EVM-PDK Bill of Materials
    2. 4.2 AC-MB Schematic and Bill of Materials
      1. 4.2.1 AC-MB Schematic
      2. 4.2.2 PCB Layouts
      3. 4.2.3 AC-MB Bill of Materials
  11. 5Additional Information
    1. 5.1 Trademarks
  12. 6Related Documentation

Configuring the Audio Serial Bus for the I2S Output

The PCMx140Q1 features a highly flexible audio serial bus that can be configured to implement a wide range of data formats. The default format is TDM, however the GUI can be used to change the data format to I2S. This section describes how to configure the PCMx140Q1EVM for a 2-channel I2S output to a USB audio at 16 bits and 48 kHz. Configure the AC-MB for USB audio as described in Section 3.2. As shown in Figure 4-10, select the audio serial bus tab.

GUID-020DD54F-A498-445A-8A25-1D3F5AA83471-low.gif Figure 3-10 Audio Serial Bus Tab

In the ASI format configuration pane (shown in Figure 4-11), change the protocol format to I2S, and the word length to 16 bits.

GUID-DF7CE503-D0CA-4426-B6B4-B175AC7404F5-low.gif Figure 3-11 ASI Format Configuration

When the protocol format is changed to I2S in the GUI, the USB audio processor on the AC-MB also changes the audio format to I2S. The GUI reads the ASI status register (page 0 register 0x15), providing the detected sampling rate and BCLK and FSYNC ratio. The ASI status register can also be read manually in the audio serial bus tab by clicking the Read button, as shown in Figure 4-12, in the clock monitor pane.

GUID-EE8771FC-D095-49FC-B176-F1411A26F78E-low.gif Figure 3-12 Clock Monitor Pane

The default slot assignment for channel 1 is left slot 0 and the default slot assignment for channel 2 is left slot 1. As shown in Figure 4-13, change the channel 2 slot assignment to right slot 0. The diagram at the top of the window updates to display the data format and slots selected.

GUID-E6072051-B389-4B84-9A7C-B0C3C6EC8F6A-low.gif Figure 3-13 Channel Output Configuration and Diagram