Please enable JavaScript to view this site.

DigiView Plug-in Guide

The I2S built-in pre-parser is available beginning with DigiView Version 8.1.

 

The I2S decoder will pre-parse the data based on the configured options below. Since this protocol does not have the typical framing of multiple fields your plug-in will only receive two event types (Left Channel, Right Channel). The data for each event, the type of event and the starting of the next event is based on the Word Length and Word Select options.

 

Configuration Options provided by the pre-processor

Data Channel
Selects the channel to use for DATA.
 
Clock Channel
Selects the channel to use as the CLOCK.
 
WS Channel
Selects the channel to use as the Word Select (WS). The word select determines whether the data is for the Left or Right audio channel.
 
Convert Data to Unsigned
Selects whether the preprocessor should treat the data as signed and convert it to unsigned when showing values or plotting.
 
Word Length
Selects the bit width for the word length from 4 bits to 32 bits. This setting determines the length of each field.

Events

Event Format:

Byte[7]        =        Event Type

Bytes[3:0]        =        Value - (32 bits)

Left Channel (Byte[7] = 0):

Bytes[3:0] hold the Left Audio Channel data. Use StartField() to format.

Right Channel (Byte[7] = 1):

Bytes[3:0] hold the Right Audio Channel data. Use StartField() to format.