Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button MAC7200 Datasheet HTML 567Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 568Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 569Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 570Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 571Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 572Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 573Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 574Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 575Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 571 / 976 page
background image
Initialization/Application Information
MAC7200 Microcontroller Family Reference Manual, Rev. 2
Freescale Semiconductor
493
— Configure error and interrupt handling for DMA Channel #0 by writing the appropriate
registers in the DMA
— Write $00 to the DMASERQ register in the DMA to enable Channel #0
2. Connect the channel from step#1 to the desired peripheral by writing the CHCONFIGxx register
in the DMA Channel Mux
— Write $87 to CHCONFIG0 to setup Channel #0 with ESCI_A Transmit
3. Enable the desired peripheral by clearing its MDIS bit
— Turn on the module by writing the MDIS bit to 0
4. Setup the DMA interface of the peripheral by writing the appropriate register(s) in the peripheral.
Please refer to the section for the particular peripheral for more information.
— Select a baud rate. Write this value to the ESCI baud registers (SCIBDH/L) to begin the baud
rate generator. Remember that the baud rate generator is disabled when the baud rate is zero.
Writing to the SCIBDH has no effect without also writing to SCIBDL
—Write to SCICR1 to configure word length, parity, and other configuration bits
(LOOPS,RSRC,M,WAKE,ILT,PE,PT)
— Enable the transmitter, interrupts, receive, and wake up as required, by writing to the SCICR2
register bits (TIE,TCIE,RIE,ILIE,TE,RE,RWU,SBK). The TXDMA bit should be set when
the ESCI is used with a DMA. A preamble or idle character will now be shifted out of the
transmitter shift register
27.7.4
Using the “Always Enabled” Feature to Periodically Drive GPIO Pins
1. Temporarily disable the desired DMA Channel in the DMA Channel Mux by writing $00 to the
corresponding CHCONFIGxx register
2. Set up the correct timer interval by writing the correct value into the TLVAL register in the PIT
The timer reload value for step PIT2) can be calculated with the following formula:
Eqn. 27-1
For example: The system clock is 66.67Mhz (TSYSCLOCK = 15ns), which gives us a bus clock of
33.33Mhz (TBUSCLOCK = 30ns). The desired trigger period is 30μs.
Eqn. 27-2
NOTE
All PIT timers, except the RTI, run off of the Bus Clock, which is 1/2 the
frequency of the System Clock.
3. Enable the PIT trigger by setting the corresponding bit in the PITEN register in the PIT
4. Configure the desired pin(s) to be General Purpose Outputs by writing $40 to the corresponding
CONFIGxx register(s) in the PIM
5. Configure the Transfer Control Descriptor (TCD) for the given DMA Channel by writing to the
TCDxx registers in the DMA. The Source Address will probably be a location in the Flash or
SRAM memories, and the Destination Address will be the PORTDATA register (with a minor
trigger period
clock period
--------------------------------
1
–
timer reload value
=
30
μs
30ns
------------
1
–
999
0x0000_03E7
==



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