Main Content

Interprocess Data Read

Receive messages from another processor using interprocess communication channel

Since R2020b

  • Block icon of interprocess data read.

Libraries:
SoC Blockset / Processor Interconnect
C2000 Microcontroller Blockset / Target Communication

Description

The Interprocess Data Read block asynchronously receives messages from another processor in an SoC using an interprocess data channel. The Interprocess Data Read block connects to an Interprocess Data Channel block that similarly connects to an Interprocess Data Write block contained in a separate processor reference model. In simulation, data from another processor is asynchronously received and processed in the processor containing the Interprocess Data Read block and associated asynchronous task. This diagram shows a generalized view of the interprocessor data channel connection.

Interprocess data channel diagram.

Ports

Input

expand all

This message port receives data messages from the connected Interprocess Data Channel block. The messages process when the Task Manager block triggers the task containing the this block. For more information on messages, see Messages.

Dependencies

This port appears only when Enable status port parameter is enabled.

Data Types: SoCData

Output

expand all

This port emits a data frame read from another processor connected via the Interprocess Data Channel block.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | Boolean | bus

The status port outputs one of these values:

  • 0—No errors

  • 1—Data not available

  • 2—Data type mismatch

  • 4—Data length mismatch

  • 6—Data type and Data length mismatch

Dependencies

This port appears when you disable the Enable simulation port parameter.

Parameters

expand all

Select this parameter to configure the msg output port to enable peripheral simulation capability.

Enter the data type used by the interprocess data channel.

You can selectively show or hide the Data Type Assistant options by clicking >> button or << button. For more information, refer to Specify Data Types Using Data Type Assistant.

Number of buffers making up the storage system.

Dependencies

This parameter is visible only when you disable the Enable simulation port parameter.

Enter the size of the data vector read from the interprocess data channel.

Select the channel where you want to send the data.

Dependencies

This parameter is visible only when you disable the Enable simulation port parameter.

Select the participating cores as per the Hardware board you select in the Configuration Parameters window.

Dependencies

This parameter is visible only when you disable the Enable simulation port parameter.

Note

Ensure that Channel number, Number of buffers and Participating cores parameters match for the corresponding Interprocess Data Read and Interprocess Data Write blocks of the model.

Enter the sample time of the block to apply to the timer-driven task subsystem.

Version History

Introduced in R2020b