ADUC7022 Analog Devices, ADUC7022 Datasheet - Page 80

no-image

ADUC7022

Manufacturer Part Number
ADUC7022
Description
Manufacturer
Analog Devices
Datasheet

Specifications of ADUC7022

Mcu Core
ARM7 TDMI
Mcu Speed (mips)
40
Sram (bytes)
8192Bytes
Gpio Pins
13
Adc # Channels
10

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADUC7022BCPZ32
Manufacturer:
ADI/亚德诺
Quantity:
20 000
ADuC7019/20/21/22/24/25/26/27/28/29
When using an asynchronous clock-to-clock timer, the
interrupt in the timer block may take more time to clear
than the time it takes for the code in the interrupt routine to
execute. Ensure that the interrupt signal is cleared before
leaving the interrupt service routine. This can be done by
checking the IRQSTA MMR.
Timer0 (RTOS Timer)
Timer0 is a general-purpose, 16-bit timer (count down) with a
programmable prescaler (see Figure 65). The prescaler source is
the core clock frequency (HCLK) and can be scaled by factors
of 1, 16, or 256.
Timer0 can be used to start ADC conversions as shown in the
block diagram in Figure 65.
The Timer0 interface consists of four MMRs: T0LD, T0VAL,
T0CON, and T0CLRI.
Table 169. T0LD Register
Name
T0LD
T0LD is a 16-bit load register.
Table 170. T0VAL Register
Name
T0VAL
T0VAL is a 16-bit read-only register representing the current
state of the counter.
Table 171. T0CON Register
Name
T0CON
T0CON is the configuration MMR described in Table 172.
Table 172. T0CON MMR Bit Descriptions
Bit
31:8
7
6
5:4
3:2
1:0
HCLK
Value
00
01
10
11
PRESCALER
/1, 16 OR 256
Address
0xFFFF0300
Address
0xFFFF0304
Address
0xFFFF0308
Figure 65. Timer0 Block Diagram
Description
Reserved.
Timer0 enable bit. Set by user to enable Timer0.
Cleared by user to disable Timer0 by default.
Timer0 mode. Set by user to operate in
periodic mode. Cleared by user to operate
in free-running mode. Default mode.
Reserved.
Prescale.
Core Clock/1. Default value.
Core Clock/16.
Core Clock/256.
Undefined. Equivalent to 00.
Reserved.
COUNTER
TIMER0
VALUE
DOWN
16-BIT
16-BIT
LOAD
Default Value
0x0000
Default Value
0xFFFF
Default Value
0x0000
TIMER0 IRQ
ADC CONVERSION
Access
R/W
Access
R
Access
R/W
Rev. D | Page 80 of 96
Table 173. T0CLRI Register
Name
T0CLRI
T0CLRI is an 8-bit register. Writing any value to this register
clears the interrupt.
Timer1 (General-Purpose Timer)
Timer1 is a general-purpose, 32-bit timer (count down or count
up) with a programmable prescaler. The source can be the
32 kHz external crystal, the core clock frequency, or an external
GPIO (P1.0 or P0.6). The maximum frequency of the clock
input is 44 Mhz). This source can be scaled by a factor of 1, 16,
256, or 32,768.
The counter can be formatted as a standard 32-bit value or as
hours: minutes: seconds: hundredths.
Timer1 has a capture register (T1CAP) that can be triggered by
a selected IRQ source initial assertion. This feature can be used
to determine the assertion of an event more accurately than the
precision allowed by the RTOS timer when the IRQ is serviced.
Timer1 can be used to start ADC conversions as shown in the
block diagram in Figure 66.
32kHz OSCILLATOR
The Timer1 interface consists of five MMRs: T1LD, T1VAL,
T1CON, T1CLRI, and T1CAP.
Table 174. T1LD Register
Name
T1LD
T1LD is a 32-bit load register.
Table 175. T1VAL Register
Name
T1VAL
T1VAL is a 32-bit read-only register that represents the current
state of the counter.
Table 176. T1CON Register
Name
T1CON
T1CON is the configuration MMR described in Table 177.
HCLK
P0.6
P1.0
Address
0xFFFF030C
Address
0xFFFF0320
Address
0xFFFF0324
Address
0xFFFF0328
Figure 66. Timer1 Block Diagram
IRQ[31:0]
PRESCALER
OR 32,768
/1, 16, 256
Default Value
0xFF
Default Value
0x00000000
Default Value
0xFFFFFFFF
Default Value
0x0000
COUNTER
UP/DOWN
CAPTURE
32-BIT
32-BIT
LOAD
TIMER1
VALUE
TIMER1 IRQ
ADC CONVERSION
Access
W
Access
R/W
Access
R
Access
R/W

Related parts for ADUC7022