Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button MAC7200 Datasheet HTML 866Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 867Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 868Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 869Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 870Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 871Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 872Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 873Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 874Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 870 / 976 page
background image
Initialization/Application Information
MAC7200 Microcontroller Family Reference Manual, Rev. 2
792
Freescale Semiconductor
Each conversion must define which analog channel needs to be sampled. The CWCH bits in the command
word should be programmed with a value from 0 to 31 to identify the appropriate channel number to be
sampled. If the CWSC bit is set then fixed reference voltages can be sampled (see Section 33.10.2.9, “ATD
Command Word Register (ATDCW)”).
When a conversion has been completed, the result is saved using one out of the following numeric formats:
right- justified signed, right-justified unsigned, left-justified signed and left justified unsigned. All of them
are available in four different resolutions (see Section 33.10.2.9, “ATD Command Word Register
(ATDCW)”). The default format is right-justified unsigned 8 bit.
If the CWGI bit is set the Conversion Complete flag (CC) in the ATDCTL register will be set after a
conversion finished. Otherwise the flag will not be updated after the conversion finished. This can be used
to mark the end of a conversion sequence.
E.g. a conversion complete interrupt should be set after 8 conversions were done:
•
CMD #1 .. CMD #7: CWGI = 0
•
CMD #8: CWGI = 1
•
ATDINT.CCIE = 1
The CC flag will remain unchanged after the first seven command words were executed. After the eight
conversions it will get set. If the conversion complete interrupt is enabled an interrupt is generated after
the last conversion finished.
The CWSL bits determine how long the sampling phase should be. It depends on the channel impedance
how long the sampling must last. Usually the minimum value should be enough.
The CWAR bit determines whether the raw conversion result or an adjusted result should be used (See
33.12.2 ATD Calibration / Result Adjustment).
The CWCM bits are already explained in Section 33.11.5.2, “Command Processing and DMA Requests,”
and Section 33.12.3.4, “Example 4: Edge-triggered Conversion.”
33.12.4 Reset
At reset the DMADC1032 is in Disabled mode (see Section 33.11.4, “Low Power / Operating Modes”).
For the reset state of each individual bit see Section 33.10.2, “Register Descriptions.”
33.12.5 Interrupts
The following table provides an overview of the possible ATD interrupt sources. All interrupt flags are
located in the ATDFLAG register, with their enable bits located in the ATDINT register.
CWSC
‘1’ = Sample Special Channels
CWAR
‘1’ = Adjust Result
Table 33-22. Bit Description of the Command Word (Continued)
Bit name
Function



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