512
Chapter 14
FCAN Interface Function
Preliminary User’s Manual U15839EE1V0UM00
14.4.3 Ensuring
data
consistency
If the CPU reads data from the CAN message buffers, the consistency of data read has to be ensured.
Therefore two mechanisms are provided:
• Sequential data read
• Burst mode data read
(1)
Sequential data read
If the data is read by the CPU by sequential accesses to the CAN message buffers, the following
sequence has to be observed:
Figure 14-44:
Sequential CAN Data Read by CPU
As the DN flag
is only set by the CAN module and cleared by the CPU only, it is ensured that the
CPU can recognize that new data is stored in the message buffer during the read operation.
Remark:
If the CPU reads the data by only one read access, the data consistency is always ensured.
Therefore the check of the DN flag after reading the data is not necessary.
CPU READ
Clear DN
Read data
DN
set?
END
Yes
No
Содержание mPD703128
Страница 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 612: ......