1.2.9.3 Configuring The Library

SPI Splitter Service Configuration

The SPI Splitter Service has no configuration options via MCC, only information. This service has a SPI dependency and provides SPI multi-capability.

Figure . SPI Splitter Service configuration options
SRV_SPISPLITTER_mcc_configuration
  • PLIB Used:

    • Indicates the SPI peripheral instance used by the SPI Splitter service.

    • The name of the peripheral will vary from device to device.

  • DMA Channel For Transmit:

    • Indicates the DMA channel used by the SPI Splitter service for SPI transmission.

  • DMA Channel For Receive:

    • Indicates the DMA channel used by the SPI Splitter service for SPI reception.

PLC Driver Configuration

When PLC Driver's SPI dependency is connected to SPI splitter, a new field appears:

Figure . PLC Driver configuration options
SRV_SPISPLITTER_mcc_configuration_plc_drv
  • PLIB Used by SPI Splitter:

    • Indicates the SPI peripheral instance used by the SPI Splitter service.

    • The name of the peripheral will vary from device to device.

RF215 Driver Configuration

When RF215 Driver's SPI dependency is connected to SPI splitter, a new field appears:

Figure . RF215 Driver configuration options
SRV_SPISPLITTER_mcc_configuration_rf215_drv
  • PLIB Used by SPI Splitter:

    • Indicates the SPI peripheral instance used by the SPI Splitter service.

    • The name of the peripheral will vary from device to device.

SPI Peripheral Configuration

If the connected SPI peripheral supports multiple chip select lines (NPCS), it is important to enable and configure the corresponding NPCS for PLC and RF215 drivers.

Figure . SPI Peripheral configuration options
SRV_SPISPLITTER_mcc_configuration_spi