Electronic Components Datasheet Search
  English  ▼

X  

MAC7200 Datasheet(PDF) 611 Page - Freescale Semiconductor, Inc

Part # MAC7200
Description  MAC7200 Microcontroller Family Reference Manual
PDF  976 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MAC7200 Datasheet(HTML) 611 Page - Freescale Semiconductor, Inc

Back Button MAC7200 Datasheet HTML 607Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 608Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 609Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 610Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 611Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 612Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 613Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 614Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 615Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 611 / 976 page
background image
The Generic FlexCAN2 Module
MAC7200 Microcontroller Family Reference Manual, Rev. 2
Freescale Semiconductor
533
MBs have a matching ID to a received frame, and the user deactivated the first matching MB after
FlexCAN has scanned the second. The received frame will be lost even if the second matching MB
was “free to receive”.
•
If a Tx MB containing the lowest ID is deactivated after FlexCAN has scanned it, then FlexCAN
will look for another winner within the MBs that it has not scanned yet. Therefore, it may transmit
an MB with ID that may not be the lowest at the time because a lower ID might be present in one
of the MBs that it had already scanned before the deactivation.
•
There is a point in time until which the deactivation of a Tx MB causes it not to be transmitted (end
of move-out). After this point, it is transmitted but no interrupt is issued and the Code field is not
updated.
28.2.7.6.2
Message Buffer Lock Mechanism
Besides MB deactivation, FlexCAN has another data coherence mechanism for the receive process. When
the CPU reads the Control and Status word of an “active not empty” Rx MB, FlexCAN assumes that the
CPU wants to read the whole MB in an atomic operation, and thus it sets an internal lock flag for that MB.
The lock is released when the CPU reads the Free Running Timer (global unlock operation), or when it
reads the Control and Status word of another MB. The MB locking is done to prevent a new frame to be
written into the MB while the CPU is reading it.
NOTE
The locking mechanism only applies to Rx MBs which have a code different
than INACTIVE (‘0000’) or EMPTY1 (‘0100’). Also, Tx MBs can not be
locked.
Suppose, for example, that the second and the fifth MBs of the array are programmed with the same ID,
and FlexCAN has already received and stored messages into these two MBs. Suppose now that the CPU
decides to read MB number 5 and at the same time another message with the same ID is arriving. When
the CPU reads the Control and Status word of MB number 5, this MB is locked. The new message arrives
and the matching algorithm finds out that there are no “free to receive” MBs, so it decides to override MB
number 5. However, this MB is locked, so the new message can not be written there. It will remain in the
SMB waiting for the MB to be unlocked, and only then will be written to the MB. If the MB is not unlocked
in time and yet another new message with the same ID arrives, then the new message overwrites the one
on the SMB and there will be no indication of lost messages either in the Code field of the MB or in the
Error and Status Register.
While the message is being moved-in from the SMB to the MB, the BUSY bit on the Code field is asserted.
If the CPU reads the Control and Status word and finds out that the BUSY bit is set, it should defer
accessing the MB until the BUSY bit is negated.
NOTE
If the BUSY bit is asserted or if the MB is empty, then reading the Control
and Status word does not lock the MB.
1. In previous FlexCAN versions, reading the C/S word locked the MB even if it was EMPTY. This behavior will be honoured when
the BCC bit is negated.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com