TWR-K60N512-KEIL Freescale Semiconductor, TWR-K60N512-KEIL Datasheet - Page 76

no-image

TWR-K60N512-KEIL

Manufacturer Part Number
TWR-K60N512-KEIL
Description
K60N512 Keil Tower Kit
Manufacturer
Freescale Semiconductor
Series
Kinetisr
Type
MCUr

Specifications of TWR-K60N512-KEIL

Rohs Compliant
YES
Contents
4 Boards, Documentation, DVD
Peak Reflow Compatible (260 C)
Yes
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
For Use With/related Products
Freescale Tower System, K60N512
Example—PIT-gated DMA requests
7.5 Example—PIT-gated DMA requests
In this example, the eDMA is used to supply the analog-to-digital converter with a
command word and move the result of AD to a location in the internal SRAM. The AD
command word stores all the information that the AD module requires for a conversion,
so by using the DMA to provide the command words, the module can be instructed to
perform conversions without any CPU intervention. After the result is transferred by the
eDMA to internal SRAM, the application can make further analysis on the data.
7.5.1 Requirements
The input to the ADC0 must be sampled every 1 ms. To achieve this, a 32-bit AD
command word must be supplied to the ADC0_SC1A (0x4003B000) every 1 ms, when
the module is able to accept the command. The command word is located in the internal
SRAM. This example only requires a single command word to be provided to the AD. It
is stored in a variable labeled "command." After the AD has completed the conversion,
the result is moved from the AD result register ADC0_RA, located at 0x4003B010, to
address 0x1FFF9000 in internal SRAM.
Figure 7-7
illustrates the functionality of this
example.
Figure 7-7. Example 2 overview
Kinetis Quick Reference User Guide, Rev. 0, 11/2010
76
Freescale Semiconductor

Related parts for TWR-K60N512-KEIL