This version is outdated by a newer approved version.DiffThis version (12 May 2021 12:17) was approved by Prasad Kamath.The Previously approved version (19 Mar 2021 02:04) is available.Diff

This is an old revision of the document!

Click here to return to the Master Control Port page

Master Control Port IO


The master control port I/O block allows communication with one external device during DSP program initialization. Typically this block is used to configure an external device like a converter or codec. Communication (read or write) over the master control port bus (I2C or SPI) occurs only once at start-up of the DSP program, and prior to audio processing. The data transferred between host and device is defined in a SigmaStudio sequence file which can be generated using the sequence window.


Click on to configure the parameters.

Targets Supported

Flash Programmer Not Supported Not Supported Sample



Configurable Parameters

I2C configuration

GUI Control

GUI Control NameDefault ValueRangeFunction Description
—————————————————- ———————- —————————————— ———————————————————————-
Bitrate400 kHz 20 kHZ - 400 kHZI2C Speed
Device Address00 – 127I2C Slave Device Address
Sub-Address Bytes21-4 Length of the sub address
Sequence file--

SPI configuration

GUI Control

GUI Control NameDefault ValueRangeFunction Description
—————————————————- ————————— ———————————————- ———————————————————————-
Bitrate100 kHz 100 kHZ - 100000 kHZSPI Speed
SS_M Pin00 SPI Slave Select Channel
MP Slave Select ChannelDisabled(enabled by click on radio button)0 - 7 SPI Slave Select Channel
Sub-Address Bytes21-4 Length of the sub address
Command Length11-4 Length of the command sent in bytes
Write Instruction00-255Instruction value for a write operation (0x0 for ADI audio devices, typically 0x2 for eeprom/flash)
Write-Enable instruction60 - 255Instruction value for device write-enable operation (ignored for Master Control Port I/O Boot)

DSP Parameters

Not applicable

DSP Parameter Computation

Not applicable

resources/tools-software/sigmastudiov2/modules/mastercontrolport/mastercontrolportio.1620814622.txt.gz · Last modified: 12 May 2021 12:17 by Prasad Kamath