Electronic Components Datasheet Search
  English  ▼

X  

MAC7200 Datasheet(PDF) 620 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) 620 Page - Freescale Semiconductor, Inc

Back Button MAC7200 Datasheet HTML 616Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 617Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 618Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 619Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 620Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 621Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 622Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 623Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 624Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 620 / 976 page
background image
The Generic FlexCAN2 Module
MAC7200 Microcontroller Family Reference Manual, Rev. 2
542
Freescale Semiconductor
Mask Registers can only be accessed in Freeze Mode, and this is still true for unused space within
this memory. Note also that reserved words within RAM cannot be used. As an example, suppose
FlexCAN is configured with 64 MBs and MAXMB is programmed with zero. The maximum
number of MBs in this case becomes one. The MB memory starts at $0060, but the space from
$0060 to $007F is reserved (for SMB usage), and the space from $0080 to $008F is used by the
one MB. This leaves us with the available space from $0090 to $047F. The available memory in
the Mask Registers space would be from $0884 to $097F.
NOTE
Unused MB space must not be used as general purpose RAM while
FlexCAN is transmitting and receiving CAN frames.
28.2.8
Initialization/Application Information
This section provide instructions for initializing the FlexCAN module.
28.2.8.1
FlexCAN Initialization Sequence
The FlexCAN module may be reset in three ways:
•
MCU level hard reset, which resets all memory mapped registers asynchronously
•
MCU level soft reset, which resets some of the memory mapped registers synchronously (refer to
Table 28-4 to see what registers are affected by soft reset)
•
SOFT_RST bit in MCR, which has the same effect as the MCU level soft reset
Soft reset is synchronous and has to follow an internal request/acknowledge procedure across clock
domains. Therefore, it may take some time to fully propagate its effects. The SOFT_RST bit remains
asserted while soft reset is pending, so software can poll this bit to know when the reset has completed.
Also, soft reset can not be applied while clocks are shut down in any of the low power modes. The low
power mode should be exited and the clocks resumed before applying soft reset.
The clock source (CLK_SRC bit) should be selected while the module is in Disable Mode. After the clock
source is selected and the module is enabled (MDIS bit negated), FlexCAN automatically goes to Freeze
Mode. In Freeze Mode, FlexCAN is un-synchronized to the CAN bus, the HALT and FRZ bits in MCR
Register are set, the internal state machines are disabled and the FRZ_ACK and NOT_RDY bits in the
MCR Register are set. The Tx pin is in recessive state and FlexCAN does not initiate any transmission or
reception of CAN frames. Note that the Message Buffers and the Rx Individual Mask Registers are not
affected by reset, so they are not automatically initialized.
•
For any configuration change/initialization it is required that FlexCAN is put into Freeze Mode
(see Section 28.2.7.8.1, “Freeze Mode”). The following is a generic initialization sequence
applicable to the FlexCAN module:Initialize the Module Configuration Register
— Enable the individual filtering per MB and reception queue features by setting the BCC bit
— Enable the warning interrupts by setting the WRN_EN bit
— If required, disable frame self reception by setting the SRX_DIS bit
•
Initialize the Control Register
— Determine the bit timing parameters: PROPSEG, PSEG1, PSEG2, RJW



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