ADUC7121 Analog Devices, ADUC7121 Datasheet - Page 52

no-image

ADUC7121

Manufacturer Part Number
ADUC7121
Description
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU
Manufacturer
Analog Devices
Datasheet

Specifications of ADUC7121

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADUC7121BBCZ
Manufacturer:
AD
Quantity:
416
Part Number:
ADUC7121BBCZ
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ADUC7121BBCZ-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
ADuC7121
In H-bridge mode, HMODE = 1 and Table 69 determine the
PWM outputs, as listed in Table 70.
Table 70. PWM Output Selection
ENA
0
X
1
1
1
1
1
On power-up, PWMCON1 defaults to 0x12 (HOFF = 1 and
HMODE = 1). All GPIO pins associated with the PWM are
configured in PWM mode by default (see Table 71).
Table 71. Compare Register (Default Value = 0x0000, Access
is Read/Write)
Name
PWM1COM1
PWM1COM2
PWM1COM3
PWM2COM1
PWM2COM2
PWM2COM3
PWM3COM1
PWM3COM2
PWM3COM3
The PWM trip interrupt can be cleared by writing any value to
the PWMICLR MMR. Note that when using the PWM trip inter-
rupt, users should make sure that the PWM interrupt has been
cleared before exiting the ISR. This prevents generation of multiple
interrupts.
PWM CONVERT START CONTROL
The PWM can be configured to generate an ADC convert start
signal after the active low side signal goes high. There is a program-
mable delay between when the low-side signal goes high and the
convert start signal is generated.
This is controlled via the PWMCON2 MMR. If the delay
selected is higher than the width of the PWM pulse, the
interrupt remains low.
HS is high side, LS is low side, X is a don’t care bit.
1
PWMCOM1 MMR
HOFF
0
1
0
0
0
0
POINV
X
X
0
0
1
1
1
1
Address
0xFFFF0F84
0xFFFF0F88
0xFFFF0F8C
0xFFFF0F94
0xFFFF0F98
0xFFFF0F9C
0xFFFF0FA4
0xFFFF0FA8
0xFFFF0FAC
DIR
X
X
0
1
0
1
1
1
PWM1
1
1
0
HS
HS
1
1
1
Default Value
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
PWM2
1
0
LS
LS
0
1
PWM Outputs
1
1
PWMR3
1
1
HS
0
1
HS
1
1
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PWM4
1
0
LS
0
1
LS
1
1
Rev. 0 | Page 52 of 96
Table 72. PWMCON2 MMR Bit Designations (Address =
0xFFFF0FB4, Default Value = 0x00)
Bit
7
3:0
When calculating the time from the convert start delay to the
start of an ADC conversion, the user needs to take account of
internal delays. The following example shows the case for a
delay of four clocks. One additional clock is required to pass the
convert start signal to the ADC logic. When the ADC logic
receives the convert start signal, an ADC conversion begins on
the next ADC clock edge (see Figure 34).
SIGNAL PASSED
TO ADC LOGIC
PWM SIGNAL
TO CONVST
Name
CSEN
CSD3 to
CSD0
LOW SIDE
UCLOCK
COUNT
Value
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
Figure 34. ADC Conversion
Set to 1 by the user to enable the PWM to
generate a convert start signal.
Cleared by the user to disable the PWM
convert start signal.
Convert start delay. Delays the convert start
signal by a number of clock pulses.
4 clock pulses.
8 clock pulses.
12 clock pulses.
16 clock pulses.
20 clock pulses.
24 clock pulses.
28 clock pulses.
32 clock pulses.
36 clock pulses.
40 clock pulses.
44 clock pulses.
48 clock pulses.
52 clock pulses.
56 clock pulses.
60 clock pulses.
64 clock pulses.
Description

Related parts for ADUC7121