消息内存【Message RAM】
为了避免主机访问消息 RAM 和 FlexRay™ 消息接收/传输之间的冲突,主机不能直接访问消息 RAM 中的消息缓冲区。这些访问是通过输入和输出缓冲区处理的。消息 RAM 能够存储多达 128 个消息缓冲区,具体取决于配置的有效负载长度【The Message RAM is able to store up to 128 Message Buffers depending on the configured payload length.】。消息 RAM 以 2048 个 32 位字的形式组织【The Message RAM is organized in 2048 32-bit words.】。为了针对每个 FlexRay™ 帧的不同数据字节数(0 到 254)实现所需的灵活性,消息 RAM 的结构如下图 1所示。【To achieve the required flexibility with respect to different numbers of data byte per FlexRay™ Frame (0 to 254), the Message RAM has a structure as shown in Figure 1.】
图 1 Message RAM Header 分区结构
Header Partition
存储 FlexRay™ 帧的标头段:
- 最多支持 128 个消息缓冲区
- 每个 Message Buffer 都有一个 4 个 32 位字的 Header
- 每个消息缓冲区的标头 3 包含指向数据分区中相应数据段