I/O Mapping Panel

Overview

There is one I/O Mapping panel for each project.

This panel is used to map Sensor Controller I/O functions to I/O pins. I/O functions are enabled in the Task Panel(s) .

Select Board

To ease I/O mapping when working on TI development kits, select the board in the drop-down list to display the board I/O functions.

It is also possible to specify custom board definitions when working with own hardware.

Custom Board Definitions

Board names, board function for each DIO pin, and chips associated with each board, are specified in XML documents called board definition files (*.brd).

Custom board definition files are stored under <My Documents>/Texas Instruments/Sensor Controller Studio/board_defs . These are loaded when Sensor Controller Studio is started. Note that Sensor Controller Studio will not start if this directory contains incorrectly formatted board definition files.

For specification of the board definition file format and examples, see board_def.dtd and board definition files, respectively, in the board_defs installation subdirectory (typically C:\Program Files (x86)\Texas Instruments\Sensor Controller Studio\board_defs ).

I/O Mapping

I/O functions can be mapped to I/O pins either by selecting I/O pins from drop-down lists for each I/O function, or by clicking on cells in a two-dimensional grid.

The I/O mapping is used when:

  • Sensor Controller task code accesses I/O pins
  • The generated SCIF driver initializes and uninitializes I/O pins

List-Based Mapping

Use the Select List Mode command in the I/O Mapping menu or the tool-bar button (in the top-right corner of the I/O mapping panel) to select this view. Alternatively, press Ctrl + Tab to switch view.

Select I/O pins from the drop-down lists to map I/O functions (listed for each task, one row per I/O function) to CC26xx/CC13xx I/O pins.

Colored icons indicate status for each I/O pin selection:

  • Weak neutral color: The I/O function has not been mapped
  • Strong neutral color: The I/O function is mapped to a valid I/O pin. Only one I/O function is mapped to this I/O pin.
  • Yellow color (warning): The I/O function is mapped to a valid I/O pin. The I/O pin is shared with compatible I/O function(s) in other task(s).
    • See the criteria for I/O Pin Sharing below.
  • Red color (error): The I/O function is mapped to an I/O pin that conflicts with another I/O function.

The view is empty if a target chip has not been selected in the Project panel.

Grid-Based Mapping

Use the Select Grid Mode command in the I/O Mapping menu or the tool-bar button (in the top-right corner of the I/O mapping panel) to select this view. Alternatively, press Ctrl + Tab to switch view.

Click on the grid cells to map I/O functions (listed for each task, one row per I/O function) to CC26xx/CC13xx I/O pins. Note that unsupported combinations are disabled for clicking, so that for example analog I/O functions cannot be mapped to digital-only I/O pins.

The grid cells indicate status for each I/O function - I/O pin combination:

  • Weak neutral color: This combination is not supported
  • Neutral color: The I/O function is currently not mapped to this I/O pin
  • Strong neutral color: The I/O function is mapped to this I/O pin. The mapping is valid. Only one I/O function is mapped to this I/O pin.
  • Yellow color (warning): The I/O function is mapped to this I/O pin. The mapping is valid. The I/O pin is shared with compatible I/O function(s) in other task(s).
    • See the criteria for I/O pin sharing below.
  • Red color (error): The I/O function is mapped to an I/O pin that conflicts with another I/O function, or is mapped to an unsupported I/O pin.

The view is empty if a target chip has not been selected in the Project panel.

Shared I/O Pins

Sensor Controller I/O functions can share I/O pins if:

  • The I/O functions are in different tasks
  • The I/O functions are associated with the same resource in both tasks
  • Any I/O usage configuration settings (in the Task panel) are identical, except for pin count
  • It is the same I/O function (for example, the I2C Master resource has an SCL I/O function and an SDA I/O function)

It is also possible to let the System CPU application borrow I/O pins temporarily from the Sensor Controller:

  • The System CPU application is responsible for borrowing and returning the I/O pins. The SCIF driver provides API for returning I/O pins to Sensor Controller tasks.
  • For details and code snippets, see the tailored “SCIF driver how-to-use document” that is generated together with the SCIF driver

I/O Overview

The I/O overview lists all I/O pins available for the Sensor Controller on the selected target chip. This information includes:

  • Pin name (MCU domain mapping), used when accessing I/O pins through registers in the MCU domain
  • AUX domain mapping, used when accessing I/O pins through registers in the AUX domain
  • Package pin number
  • Board function, depending on the board selection (see above)
  • I/O function(s) currently mapped to the pin

Use the Show I/O Pin Overview command in the I/O Mapping menu or the tool-bar button (in the top-right corner of the I/O mapping panel) to show/hide the overview.