Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button MAC7200 Datasheet HTML 749Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 750Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 751Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 752Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 753Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 754Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 755Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 756Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 757Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 753 / 976 page
background image
Functional Description
MAC7200 Microcontroller Family Reference Manual, Rev. 2
Freescale Semiconductor
675
It is possible to force a resync of the LIN FSM, with the LRES bit in the LIN control register, however
normally the LIN hardware will automatically abort a frame after detecting a bit error.
31.10.11.4 LIN Error Handling
The LIN hardware can detect several error conditions of the LIN protocol. It will receive every byte that
was transmitted, and compare it with the intended values. If there is a mismatch, a bit error will be raised,
and the LIN FSM will return to its start state.
For a RX frame the LIN hardware can detect a slave timeout error - the exact value can be set via the
timeout bits in the TX register. If the frame is not complete within the number of clock cycles specified
there, the LIN FSM will return to its start state, and the STO (Slave Time-Out) interrupt will be raised.
The LIN protocol supports a sleep mode - after 25000 bus cycles of inactivity the bus is assumed to be in
sleep mode. Normally entering sleep mode can be avoided, if the LIN master is regularly creating some
bus activity. Otherwise the timeout state needs to be detected by the application software - e.g. by setting
a timer.
Both LIN masters and LIN slaves can cause the bus to exit sleep mode by sending a break signal. The LIN
hardware will generate such a break, when the WU bit in the LIN control register is written. After
transmitting this break the LIN hardware will not send out data (i.e. not raise the TXRDY flag) before the
Wakeup Delimiter period has expired. This period can be selected by setting the WUD bits in the LIN
control register.
Break signals sent by a LIN slave are detected by the LIN hardware, and indicated by setting the WAKE
flag in the LIN status register.
A Physical Bus Error (LIN bus is permanently stuck at a fixed value) will set several error flags. If the
input is permanently low, the eSCI will set the Framing Error Flag (FE) in the SCI status register. If the
RX input remains stuck at a fixed value for 15 cycles, after a transmission has started, the LIN hardware
will set the PBERR flag in the LIN status register. In addition a bit error may be generated.
31.10.11.5 LIN Wakeup
The LIN hardware automatically detects LIN 1.x wakeup characters and can generate them with the WU
bit in LINCTRL1. For LIN 2.0 wakeup characters the requirements are more flexible - instead of a 80h
character at the currently selected baudrate, the spec requires a low pulse of 250
μs to 5 ms. For this the
baud rate needs to be set to 32k down to 1.6k baud.
So in order to generate a valid wakeup character according to LIN 2.0, the eSCI first needs to be
programmed to a baud rate lower than 32 kBaud, then WU can be set. Should the application require a
higher baud rate, then this rate can be set once the wakeup character has been transmitted.
For wakeup detection the length of the wakeup pulse depends on the LIN slave node. A wakeup which
does not conform to LIN 1.3 will show up as a frame error FE. Provided that the low pulse is longer than
8 bit times (this can be controlled by determining the baud rate), the LWAKE flag will be also be set. The
application then needs to wait until the wakeup pulse has completed (e.g. wait until 5 ms have expired)
and clear the FE and LWAKE bits. A further 100 ms wait may be required to ensure that all connected



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