Popular Keywords

MIPI Soundwire

Soundwire, a hardware interface and transport protocol crafted by MIPI, serves as a versatile solution for seamless communication in audio systems. Engineered for efficiency, it boasts a straightforward design, low-power consumption, and minimal latency. Operating on a dual-lead (clock and data) bus, Soundwire facilitates the transfer of multiple audio streams, accommodating devices like amplifiers and microphones. Beyond its audio capabilities, it also supports embedded control commands. With a maximum clock rate of 12.288MHz, Soundwire ensures a reliable and expandable platform for diverse audio applications.

Settings

CLK: Clock signal

Data: Data signal 

Range: Analysis Range

 

Report Settings

Hide all Ping OpCode: Hide the Ping Opcode frame data. Easy for checking Read/Write OpCode

Startup Setting

Enable Payload Data: Enable to Import & Display

Payload settings

Show Packet Table: Show the Frame Data in report.

Ignore SCP Frame Ctrl CMD: SCP Frame won’t change

Delay: Set up time value

Bank: Select Bank for parameter

Frame Shape: Input Column & Row (Bank 0 & 1)

Play & Draw Audio

Type: Select audio format

Bank: Select bank

Device: Select Device

DPn: Select Data Port

PDM Sample Rate: PDM data sample rate per bit

Audio Frequence: PCM audio frequence

Display: Draw the audio wave

Playback: Play the selected audio

A Data Port is a subset of a Device that is either a source or sink of one Payload Stream on the SoundWire bus. Data Ports provide an abstraction of a Payload Stream being divided into one or more channels which, in the audio application space will correspond to individual audio channels.

CSV File:

  • [PayLoad] is the keyword to start reading settings “;” is the end of the settings
  • The sample file (Soundwire_DP.csv) will be stored in your working directory

1. Bank: 0~1

2. Device Number: 0~11

3. Data Port: DP0~DP15

4. HStart: HStart is a 4-bit number identifying the lowest numbered column in the SoundWire Frame that contains BitSlots for this Payload Stream.

5. HStop: HStop is a 4-bit number identifying the highest numbered column in the SoundWire Frame that might contain BitSlots for this Payload Stream.

6. Word Length: WordLength is a 6-bit number that controls the size of a Payload Channel Sample.

7. Sample Interval: Sample Interval is an integer in the range 2 to 65535 that controls the spacing from one Sample Event to the next, and the size of a Sample Window.

8. Block Package Mode:

    Block per port: Block Offset = Offset1 + (256 * Offset2)

    Block per channel: Block Offset = Offset1, Sub-Block Offset = Offset2.

    *Block Offset is an integer in the range 0 ~ 65535

    *Sub-Block Offset is an integer in the range 0 to 255

    *Offset1 is an integer in the range 0~65535

    *Offset2 is an integer in the range 0~255

9. Channel: Divide a Data Port into different parts, which are often used for data distribution of left and right audio channel etc. It can select up to 8 channels, and can be selected without order. (Input Format: 0xFF or 25510)

10. Port Flow Mode: Isochronous, Tx-Controlled, Rx-Controlled and Full-Asynchronous modes

    *Isochronous: ‘Normal’ mode No Valid data is transported in every Payload Data Block.

    *Tx-Controlled: ‘Push’ mode,A flow-control bit driven by the Source Data Port controls whether or not valid data is transported in the Payload Data Block.

    *Rx-Controlled: ‘Pull’ mode,A flow-control bit driven by the Sink Data Port controls whether or not valid data is transported in the Payload Data Block.

    *Full-Asynchronous: Flow-control bits driven by both the Source and Sink Data Ports control whether or not valid data is transported in the Payload Data Block.

11. Audio settings:

    A. Save as Wav:

        Save the audio data to .wav format. (It will be saved in your working directory.)

        1: Save audio data in wav format

        0: Only display data in hex in the report. 

    B. Audio Type:

         PDM & PCM format supported.

    C. Audio Sample Rate:

        This is the audio sample rate for the PCM. (Unit: Hz)

    D. PDM Sample Rate:

        This is the parameter for PDM to PCM calculation. (Unit: Hz)

Result:

Control Word + Report (Control Word & Payload):

We use cookies to elevate your user experience and enhance the quality of our site. To find out more or adjust cookie settings, click here .