HomeElectronicsEmbeddedSetting Up PCM and I2S Formats for Reliable SCO Loopback Transmission

    Setting Up PCM and I2S Formats for Reliable SCO Loopback Transmission

    In the contemporary wireless audio industry, providing crystal-clear uninterrupted sound is such a major and recurrently faced problem. Depending on the nature of Bluetooth headsets ethereally connecting with other apparatus modules over wireless ambience or in the car for in-roads communication purposes, or in gaming devices, it is imperative that, from the engineers’ standpoint, audio signals need to stay unstuck from distortion. To validate and optimize further, SCO (Synchronous Connection-Oriented) loopback transmissions can be put to use.

    In this manual, loopback mode is described. Why do we need loopback testing in Bluetooth audio? And how does one configure PCM or I2S for an SCO loopback using the Infineon AIROC Bluetooth controllers?

    What is a Loopback Mode?

    Loopback mode is a constraint and verification method for wireless audio. Rather than train the audio signal back to a set destination (e.g., speakers, headphones, etc.), the signal is looped back to the originating source. This allows the developers to check the signal quality, such as verifying hardware configurations and troubleshooting towards identifying any mismatch, without dependence on external devices for tests.

    Normal vs. Loopback Mode:

    Normal Mode: Audio is transmitted to the output device.

    Loopback Mode: Audio is redirected back to the source for testing.

    Test Environment

    To configure SCO loopback transmission, you’ll need:

    AIROC CYW20706 headset demo (PCM_OUT source) → GitHub demo project

    Linux mbt tool for HCI command input → GitHub mbt tool

    AIROC CYW89072 (or any supported Infineon Bluetooth controller) with firmware

    Step-by-Step Setup for SCO Loopback Transmission

    Step 1: Program the CYW20706 and Bring Up the Demo

    1. Flash the CYW20706 using ModusToolbox.
    2. Use the client control tool to run the demo.
    3. Pair a phone with the CYW20706 and start playback.

    Step 2: Connect Hardware

    Wire the CYW20706 PCM_OUT pin to the CYW89072 PCM_IN pin.

    Step 3: Download Firmware

    ./mbt download [filename].hcd –minidriver

    Step 4: Enable Loopback Mode

    ./mbt input_command 24fc0101

    PCM Configuration

    8K PCM

    ./mbt input_command 1cfc050001000101

    ./mbt input_command 24fc0101

    16K PCM

    ./mbt input_command 7efc03010200

    ./mbt input_command 6dfc0400010102

    ./mbt input_command 1cfc050002000101

    ./mbt input_command 1efc050000030000

    ./mbt input_command 24fc0101

    I2S Configuration

    8K I2S

    ./mbt input_command 7efc03000200

    ./mbt input_command 6dfc0401010001

    ./mbt input_command 24fc0101

    16K I2S

    ./mbt input_command 7efc03010200

    ./mbt input_command 6dfc0401010102

    ./mbt input_command 24fc0101

    Pin Configuration Notes

    For controllers like CYW555xx or CYW43xx, an additional command may be required to route PCM/I2S to default pins:

    ./mbt input_command 61fc0501b9b8b8b8

    By default, the setup assumes TDM2 pins are in use. If you are using alternative pins, adjust the commands accordingly.

    Key Takeaway

    SCO loopback transmission is an invaluable tool for validating wireless audio performance. By configuring PCM or I2S formats with Infineon’s AIROC Bluetooth controllers, engineers can easily verify signal integrity, fine-tune system performance, and ensure a smooth end-user audio experience.

    (This article has been adapted and modified from content on Infineon Technologies.)

    Related News

    Must Read

    20 Years of EEPROM: Why It Matters, Needed, and Its Future

    ST has been the leading manufacturer of EEPROM for the 20th...

    Modern Cars Will Contain 600 Million Lines of Code by 2027

    Courtesy: Synopsys The 1977 Oldsmobile Toronado was ahead of its...

    Advancement in waveguides to progress XR displays, not GPUs

    Across emerging technology domains, a familiar narrative keeps repeating...

    Powering AI: How Power Pulsation Buffers are transforming data center power architecture

    Courtesy: Infineon Technologies Microsoft, OpenAI, Google, Amazon, NVIDIA, etc. are...

    Can the SDV Revolution Happen Without SoC Standardization?

    Speaking at the Auto EV Tech Vision Summit 2025,...

    ElevateX 2026, Marking a New Chapter in Human Centric and Intelligent Automation

    Teradyne Robotics today hosted ElevateX 2026 in Bengaluru -...

    The Architecture of Edge Computing Hardware: Why Latency, Power and Data Movement Decide Everything

    Courtesy: Ambient Scientific Most explanations of edge computing hardware talk...