Wiki

This version (12 May 2021 12:17) was approved by Prasad Kamath.The Previously approved version (12 May 2021 12:17) is available.Diff

Click here to return to the Master Control Port page

Master Control Port IO



Description


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.

Usage


Click on to configure the parameters.

Targets Supported

NameADSP-214xxADSP-215xx/ADSP-SC5xxADAU145x/146x
—————————————-——————————————————————————————--——————————————-
Master Control Port IO Not Supported Not Supported Sample


Pins


None

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.txt · Last modified: 12 May 2021 12:17 by Prasad Kamath