Wiki

This version (18 May 2021 09:01) was approved by John Joseph.The Previously approved version (07 May 2021 12:50) is available.Diff

Click here to return to the IO page

GPIO Input and GPIO Output


GPIO Input


GPIO Output


Description


The General Purpose Input block allows signals from the hardware's GPIO input pins to be used in a schmeatic design. The output pin should typcially be connected to a GPIO Conditioning block. There are 26 selectable inputs to this GPIO block.

The General Purpose Output block routes a signal to the hardware's GPIO output. Each block is linked to one output channel.

Note: The block is only available for DSPs that include GPIO. To configure the hardware's GPIO input and outputs settings, see the processors Register Control Window.


Usage


To use the GPIO Input: Select the channel desired for sending your signal using the General Purpose Input drop-down control.

  • Every enabled input must be connected to an output, else there will be errors on compilation.
  • Observe that as you drag more output blocks to your schematic, your number of input channels available in the drop-down decreases.

To use the GPIO Output:

  • Use the drop-down to select the hardware GPIO output that is assigned to the block.
  • Observe that as you drag more blocks to your schematic, your number of output channels available in the drop-down list decreases.

Targets Supported

NameADSP-214xxADSP-215xx/ADSP-SC5xxADAU145x/146x
—————————————-——————————————————————————————--——————————————-
GPIO Input Not supported Not supported Sample
GPIO Output Not supported Not supported Sample


Pins

GPIO Input

Output

NameTypeDescription
————————————-————————————-——————————-
Output0LogicOutput channel 0


GPIO Output

Input

NameTypeDescription
————————————-————————————-——————————-
Input0LogicInput channel 0


Configurable Parameters

GUI Parameter NameDefault ValueRangeFunction Description
—————————————- ———————- —————————— —————————————-
SelectedGPIOChannelGPIO_0GPIO_0 to GPIO_25Sets the GPIO channel selection


DSP Parameters

Not applicable

resources/tools-software/sigmastudiov2/modules/inputoutput/gpioinput.txt · Last modified: 12 May 2021 13:38 by Prasad Kamath