mfr4300 Freescale Semiconductor, Inc, mfr4300 Datasheet - Page 188

no-image

mfr4300

Manufacturer Part Number
mfr4300
Description
Flexray Communication Controllers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
FlexRay Module (FLEXRAYV2)
3.4.12.4
The application controls the generation process of the Sync Frame ID and Sync Frame Deviation Tables
into the FRM using the
summary of the copy modes is given in
The Sync Frame Table generation process is described in the following for the even cycle. The same
sequence applies to the odd cycle.
If the application has enabled the sync frame table generation by setting SFTCCSR.SIDEN to ‘1’, the
FlexRay module starts the update of the even cycle related tables after the start of the NIT of the next even
cycle. The FlexRay module checks if the application has locked the tables by reading the SFTCCSR.ELKS
lock status bit. If this bit is set, the FlexRay module will not update the table in this cycle. If this bit is
cleared, the FlexRay module locks this table and starts the table update. To indicate that these tables are
currently updated and may contain inconsistent data, the FlexRay module clears the even table valid status
bit SFTCCSR.EVAL. Once all table entries related to the even cycle have been transferred into the FRM,
the FlexRay module sets the even table valid bit SFTCCSR.EVAL and the Even Cycle Table Written
Interrupt Flag EVT_IF in the
EVT_IE is set, an interrupt request is generated.
To read the generated tables, the application must lock the tables to prevent the FlexRay module from
updating these tables. The locking is initiated by writing a ‘1’ to the even table lock trigger
SFTCCSR.ELKT. When the even table is not currently updated by the FlexRay module, the lock is granted
and the even table lock status bit SFTCCSR.ELKS is set. This indicates that the application has
successfully locked the even sync tables and the corresponding status information fields SFRA, SFRB in
the
number of the cycle that this table is related to.
The number of available table entries per channel is provided in the SFCNTR.SFEVA and
SFCNTR.SFEVB fields. The application can now start to read the sync table data from the locations given
in
After reading all the data from the locked tables, the application must unlock the table by writing to the
even table lock trigger SFTCCSR.ELKT again. The even table lock status bit SFTCCSR.ELKS is reset
immediately.
188
OPT
Figure
Sync Frame Counter Register
0
0
0
0
1
1
0
1
SFTCCSR
3-135.
SDVEN
0
0
1
1
0
0
1
1
Sync Frame ID and Sync Frame Deviation Table Generation
SIDEN
0
1
0
1
0
1
0
1
Sync Frame Table Configuration, Control, Status Register
No Sync Frame Table copy
Sync Frame ID Tables will be copied continuously
Reserved
Sync Frame ID Tables and Sync Frame Deviation Tables will be copied continuously
No Sync Frame Table copy
Sync Frame ID Tables for next even-odd-cycle pair will be copied
Reserved
Sync Frame ID Tables and Sync Frame Deviation Tables for next even-odd-cycle pair will be
copied
Table 3-108. Sync Frame Table Generation Modes
Protocol Interrupt Flag Register 1
(SFCNTR). The value in the SFTCCSR.CYCNUM field provides the
Table
MFR4300 Data Sheet, Rev. 3
3-108.
Description
(PIFR1). If the interrupt enable flag
(SFTCCSR). A
Freescale Semiconductor

Related parts for mfr4300