![NXP Semiconductors MWCT101 S Series Reference Manual Download Page 1664](http://html1.mh-extra.com/html/nxp-semiconductors/mwct101-s-series/mwct101-s-series_reference-manual_17222101664.webp)
Note that the received frame's Identifier field is always stored in the matching mailbox,
thus the contents of the ID field in a mailbox may change if the match was due to
masking. When MCR[SRXDIS] is asserted, FlexCAN will not store frames transmitted
by itself in any MB, even if it contains a matching Rx mailbox, and no interrupt flag or
interrupt signal will be generated. Otherwise, when MCR[SRXDIS] is deasserted,
FlexCAN can receive frames transmitted by itself if a matching Rx mailbox exists.
To be able to receive CAN frames through the Rx FIFO, the CPU must enable and
configure the Rx FIFO during Freeze mode (see
Available in Rx FIFO interrupt (see the description of IFLAG1[BUF5I] "Frames
available in Rx FIFO"), the CPU should service the received frame using the following
procedure:
1. Read the Control and Status word (optional: needed only if a mask was used for IDE
and RTR bits).
2. Read the ID field (optional: needed only if a mask was used).
3. Read the data field.
4. Read the RXFIR register (optional).
5. Clear the Frames Available in Rx FIFO interrupt by writing one to IFLAG1[BUF5I]
(mandatory: releases the MB and allows the CPU to read the next Rx FIFO entry).
When MCR[DMA] is asserted, upon receiving a frame in FIFO, IFLAG1[BUF5I]
generates a DMA request and does not generate a CPU interrupt (see
). The IMASK1 bits in Rx FIFO region are not used.
The DMA controller must service the received frame using the following procedure:
1. Read the Control and Status word (read 0x80 address, optional).
2. Read the ID field (read 0x84 address, optional).
3. Read all data bytes (start read at 0x88 address, optional).
4. Read the last data bytes (read 0x8C address is mandatory).
49.5.4 Matching process
The matching process scans the MB memory looking for Rx MBs programmed with the
same ID as the one received from the CAN bus. If the FIFO is enabled, the priority of
scanning can be selected between mailboxes and FIFO filters. The matching starts from
the lowest number message buffer toward the higher ones. If no match is found within the
first structure then the other is scanned subsequently. In the event that the FIFO is full,
the matching algorithm always looks for a matching MB outside the FIFO region.
.
Functional description
MWCT101xS Series Reference Manual, Rev. 3, 07/2019
1664
NXP Semiconductors
Summary of Contents for MWCT101 S Series
Page 2: ...MWCT101xS Series Reference Manual Rev 3 07 2019 2 NXP Semiconductors...
Page 42: ...MWCT101xS Series Reference Manual Rev 3 07 2019 42 NXP Semiconductors...
Page 50: ...Conventions MWCT101xS Series Reference Manual Rev 3 07 2019 50 NXP Semiconductors...
Page 70: ...Aliased bit band regions MWCT101xS Series Reference Manual Rev 3 07 2019 70 NXP Semiconductors...
Page 78: ...Pinout diagrams MWCT101xS Series Reference Manual Rev 3 07 2019 78 NXP Semiconductors...
Page 96: ...WCT101xS safety concept MWCT101xS Series Reference Manual Rev 3 07 2019 96 NXP Semiconductors...
Page 130: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 130 NXP Semiconductors...
Page 284: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 284 NXP Semiconductors...
Page 430: ...Functional Description MWCT101xS Series Reference Manual Rev 3 07 2019 430 NXP Semiconductors...
Page 472: ...Application Information MWCT101xS Series Reference Manual Rev 3 07 2019 472 NXP Semiconductors...
Page 528: ...Module clocks MWCT101xS Series Reference Manual Rev 3 07 2019 528 NXP Semiconductors...
Page 634: ...SRAM configuration MWCT101xS Series Reference Manual Rev 3 07 2019 634 NXP Semiconductors...
Page 818: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 818 NXP Semiconductors...
Page 960: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 960 NXP Semiconductors...
Page 992: ...ADC calibration scheme MWCT101xS Series Reference Manual Rev 3 07 2019 992 NXP Semiconductors...
Page 1348: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1348 NXP Semiconductors...
Page 1366: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1366 NXP Semiconductors...
Page 1514: ...Functional description MWCT101xS Series Reference Manual Rev 3 07 2019 1514 NXP Semiconductors...
Page 1726: ...Debug and security MWCT101xS Series Reference Manual Rev 3 07 2019 1726 NXP Semiconductors...
Page 1760: ...MWCT101xS Series Reference Manual Rev 3 07 2019 1760 NXP Semiconductors...