| Contents | Index |
Embedded Coder/ Embedded Targets/ Processors/ Texas Instruments C6000/ C6455 EVM
The C6455 processor supports the serial RapidI/O (SRIO) peripheral from Texas Instruments for high-speed packet-switched chip-to-chip and board-to-board communications. This block provides the parameters you use to configure the SRIO peripheral on your hardware to communicate between different processors.
The dialog box parameters that you set provide values to initialize the registers on the processor relevant to SRIO processing.
Because SRIO handles communications between two platforms, it requires two models or sets of code—one running on the local device and one running on the remote device. Both models must include the SRIO Config block to configure their SRIO communications capability, and the blocks must have the correct device IDs to refer to one another.
SRIO blocks implement both direct I/O and doorbell interrupt forms of SRIO communications. Direct I/O provides data transfer directly between two processors. With direct I/O you have burst-write and burst-read access with the remote device. The block configures the SRIO peripheral as a 4x SRIO, meaning that all four links of SRIO are bundled together for the fastest link. Direct I/O uses the Load/Store Unit (LSU) and Direct Memory Access (DMA) Engine to control and monitor the data transfer.
Doorbell interrupt enables the local device to initiate CPU interrupts on the remote device if burst-write access is enabled. Such interrupts signal that data is ready to transfer. Both devices, local (source) and remote (destination) include doorbell message queues. The destination device reads its queue to determine the interrupt source and to process the doorbell INFO field.
To see the SRIO blocks in use, refer to the Interprocessor Communications via Serial Rapid I/O (SRIO) demo, located in the online help system demos for Embedded Coder software.

Enter the ID of the local device to configure the device ID field in the generated code. Use a 16-bit hexadecimal format. When you configure SRIO Transmit and SRIO Receive blocks in models, the local device ID in this field must match the remote device ID for the Transmit and Receive block in each model.
In the generated code, you see the input device ID as a constant mapped to the following program code entry.
#define SRIO_LARGE_DEV_ID 0xCAFE
Set the operating frequency of the SRIO serializer/deserializer (SERDES). Two variables determine the primary operating frequency of the SERDES, the reference clock frequency and PLL multiplication factor. Select Full, Half, or Quarter from the list.
Full takes two data samples for each PLL output clock cycle.
Half takes one data sample for each PLL output clock cycle.
Quarter takes one data sample and a delay for two PLL output cycles
This value defaults to Full.
Assigns an interrupt number to initiate for SRIO events. After you select a value from the list, you see a constant similar to the following defined in the generated code
#define SRIO_INTR_NUMBER 4
For more information about SRIO, refer to TMS320TCI648x Serial RapidIO User's Guide, Literature Number: SPRUE13. Texas Instruments Incorporated.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |