![Infineon Technologies TC1784 Скачать руководство пользователя страница 1601](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_20554461601.webp)
TC1784
FlexRay™ Protocol Controller (E-Ray)
User´s Manual
20-225
V1.1, 2011-05
E-Ray, V3.13
20.6.9
Receive Process
The receive process is described in the following sections.
20.6.9.1 Frame Reception
To prepare or change a Message Buffer for reception the following steps are required:
•
Configure the Message Buffer as receive buffer by writing bit CFG = 0 in the Write
Header Section 1 register
•
Configure the receive buffer by writing the configuration data (Header Section) to the
Input Buffer
•
Transfer the configuration from Input Buffer to the Message RAM by writing the
number of the target Message Buffer to the Input Buffer Command Request register.
Once these steps are performed, the Message Buffer functions as an active receive
buffer and participates in the internal acceptance filtering process, which takes place
every time the Communication Controller receives a message. The first matching
receive buffer is updated from the received message. If the Message Buffer holds an
unprocessed Data Section (ND = 1) it is overwritten with the new message and the MLST
bit in the respective Message Buffer Status register is set.
If the payload length of a received Frame PLC is longer than the value programmed by
PLC in the Header Section of the respective Message Buffer, the data field stored in the
Message Buffer is truncated to that length.
If no Frame, a NULL Frame, or a corrupted Frame is received in a slot, the Data Section
of the Message Buffer configured for this slot is not updated. In this case only the flags
in the Message Buffer Status register are updated to signal the cause of the problem. In
addition the respective MBC flag in the Message Buffer Status Changed 1,2,3,4 registers
is set.
When the Data Section of a receive buffer has been updated from a received Frame, the
respective New Data
flag in the New Data
to
registers is set. When the Message Handler has updated the Message Buffer
status, the respective MBC flag in the Message Buffer Status Changed 1,2,3,4 registers
is set. If bit
.
in the Header Section of the respective Message Buffer is set,
the receive service request flag in the Status Service Request Register is set (RXI = 1).
If enabled an service request is generated.
To read a receive buffer from the Message RAM via the Output Buffer proceed as
described on
“Data Transfer from Message RAM to Output Buffer” on Page 20-231
.
Note: The ND and MBC flags are automatically cleared by the Message Handler when
the received message has been transferred to the Output Buffer.
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...