Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button MAC7200 Datasheet HTML 814Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 815Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 816Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 817Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 818Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 819Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 820Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 821Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 822Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 818 / 976 page
background image
ATD Application Usage
MAC7200 Microcontroller Family Reference Manual, Rev. 2
740
Freescale Semiconductor
•
DMA request fo r command word is asserted immediately after module is turned on
33.7
ATD Application Usage
33.7.1
Enabling the ATD
Before the ATD can be used, it must be explicitly enabled by clearing the MDIS bit.
33.7.2
Setting up the ATD
In order to use the basic functionality of the ATD, it is only necessary to clear the MDIS bit. Since all
analog inputs on the MAC72xx are routed directly through the PIM to the ATD, it is not necessary to set
up the PIM in order to use the ATD to sample channels. In this case, you can use a pin both as an analog
input for the ATD and as digital General Purpose Input. These pins can not be used as General Purpose
Outputs.
33.7.3
Using external triggers
If you want to use the external triggering capability of the ATD, you should use the following steps:
1. Configure the appropriate pin(s) to be in Peripheral Mode, in the CONFIG register(s) in the PIM
2. Clear the MDIS bit in the ATD
3. Write the ATDETRIGCH register in the ATD to set the desired channel number
4. Write ‘11’ to the TRIGSEL bits in the ATDTRIGCTL register in the ATD
33.7.4
Using the system triggers
If the ATD should start conversions synchronous to SYSTRIG0 or SYSTRIG1 the following settings must
be done in the PIT:
1. PIT: Clear MDIS bit
2. PIT: Specify timer reload value
3. PIT: Enable timer
The timer reload value for step PIT2) can be calculated with the following formula:
Eqn. 33-1
33.7.4.1
Example — Using System Triggers
The system clock is66.67Mhz (TSYSCLOCK = 15ns), which gives us a bus clock of 40Mhz (TBUSCLOCK =
30ns). The desired trigger period is 30
μs.
Eqn. 33-2
TriggerPeriod
ClockPeriod
----------------------------------------
1
TimerReloadValue
=
–
TriggerPeriod
ClockPeriod
----------------------------------------
1
30us
30ns
-------------
=
–
1
999
0x000003e7
=
=
–



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