Wiki

This version (04 Feb 2021 06:49) was approved by Sakthivel Perumal.The Previously approved version (07 Aug 2012 21:39) is available.Diff

Input

Click here to return to the IO page

The Input block receives input from the hardware's input pins and makes it available in the schematic design.

To enable/disable an input:

Check the block for the input channel(s) you with to enable. Un-check the box disable an input channel. The pin will turn blue when an input is enabled and grey when disabled. The default block has two pins enabled, for stereo connection.



If you have multiple DSP processors in your design, specify which DSP is associated with the input block by right-clicking and selecting Add Algorithm > IC # > DSP Type.

  • Every enabled input must be connected to an output, else there will be errors on compilation.
  • Only a single input block can be associated with a processor. You will receive an error if you attempt to add multiple inputs to a schematic.
  • To change the Input's Sampling Rate, Right-click the block name and select Set Sampling Rate, which will open the Sampling Rate window (default is 44.1 kHz):


Relationship Between Hardware Inputs and Input Cell Channels

For SigmaDSP products that only have digital audio inputs, the routing is quite simple. Each checkbox on the input cell corresponds to one input channel. Because TDM modes can be used, the exact mapping between a hardware pin and corresponding input channels will change based on the register configuration.

screenhunter_01_nov._29_11.20.jpg

For SigmaDSP products that contain both analog and digital inputs, the analog inputs are represented on the top portion of the input cell and the digital inputs occupy the remaining positions on the input cell. For example, on the ADAU170x and ADAU1761 devices, which have two ADC input channels, the left ADC corresponds to input channel 0, the right ADC corresponds to input channel 1, and the digital I2S/TDM channels correspond to channels 2 through 9 on the input cell.

screenhunter_02_nov._29_11.21.jpg

ADAU1701 Serial Input Port Routing

For the ADAU1701 (and ADAU1702, ADAU1401, ADAU1401A), which have 2 analog channels and up to 8 digital channels, the input channels are routed as follows:

Hardware Input, I2S modeHardware Input, TDM modeChannel Assignment in Input Block
Left ADCLeft ADC0
Right ADCRight ADC1
SDATA_IN0, 1st slotSDATA_IN0, 1st slot2
SDATA_IN0, 2nd slotSDATA_IN0, 2nd slot3
SDATA_IN1, 1st slotSDATA_IN0, 3rd slot4
SDATA_IN1, 2nd slotSDATA_IN0, 4th slot5
SDATA_IN2, 1st slotSDATA_IN0, 5th slot6
SDATA_IN2, 2nd slotSDATA_IN0, 6th slot7
SDATA_IN3, 1st slotSDATA_IN0, 7th slot8
SDATA_IN3, 2nd slotSDATA_IN0, 8th slot9

ADAU1761 Serial Input Port Routing

For the ADAU1761, the routing is dependent on the channel settings of the serial port.

I2S (2 channel) Routing

Hardware InputChannel Assignment in Input Block
Left ADC0
Right ADC1
First channel in I2S stream2
Second channel in I2S stream3

TDM4 (4 channel) Routing

Hardware InputChannel Assignment in Input Block
Left ADC0
Right ADC1
First channel in I2S or TDM stream2
Third channel in I2S or TDM stream3
Second channel in I2S or TDM stream4
Fourth channel in I2S or TDM stream5

TDM8 (8 channel) Routing

Hardware InputChannel Assignment in Input Block
Left ADC0
Right ADC1
First channel in I2S or TDM stream2
Fifth channel in I2S or TDM stream3
Second channel in I2S or TDM stream4
Sixth channel in I2S or TDM stream5
Third channel in I2S or TDM stream6
Seventh channel in I2S or TDM stream7
Fourth channel in I2S or TDM stream8
Eighth channel in I2S or TDM stream9

resources/tools-software/sigmastudio/toolbox/io/input.txt · Last modified: 04 Feb 2013 22:45 by Brett Gildersleeve