Wiki

This version is outdated by a newer approved version.DiffThis version (07 Aug 2012 21:39) was approved by Brett Gildersleeve.The Previously approved version (20 Jun 2012 20:24) is available.Diff

This is an old revision of the document!


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 InputChannel Assignment in Input Block
Left ADC0
Right ADC1
First channel in I2S or TDM stream2
Second channel in I2S or TDM stream3
Third channel in I2S or TDM stream4
Fourth channel in I2S or TDM stream5
Fifth channel in I2S or TDM stream6
Sixth channel in I2S or TDM stream7
Seventh channel in I2S or TDM stream8
Eighth channel in I2S or TDM stream9

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.1344368352.txt.gz · Last modified: 07 Aug 2012 21:39 by Brett Gildersleeve