aduc7032 Analog Devices, Inc., aduc7032 Datasheet - Page 37

no-image

aduc7032

Manufacturer Part Number
aduc7032
Description
Microconverter Integrated, Precision Battery Sensor
Manufacturer
Analog Devices, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
aduc7032BSTZ
Manufacturer:
ADI
Quantity:
314
Part Number:
aduc7032BSTZ 8NS
Manufacturer:
AD
Quantity:
566
Part Number:
aduc7032BSTZ-88
Manufacturer:
CIRRUS
Quantity:
9
Part Number:
aduc7032BSTZ-88
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
aduc7032BSTZ-88
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
aduc7032BSTZ-88-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
aduc7032BSTZ-88-RL
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
aduc7032BSTZ-8V-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Preliminary Technical Data
CODE EXECUTION TIME FROM SRAM AND FLASH/EE
This chapter describes SRAM and Flash/EE access times during
execution for applications where execution time is critical.
Execution from SRAM
Fetching instructions from SRAM takes one clock cycle as the
access time of the SRAM is 2ns and a clock cycle is 49ns
minimum. However, if the instruction involves reading or
writing data to memory, one extra cycle must be added if the
data is in SRAM, or three cycle if the data is in Flash/EE, one
cycle to execute the instruction and two cycles to get the 32-bit
data from Flash/EE. A control flow instruction, for example a
branch instruction will take one cycle to fetch but also two cycle
to fill the pipeline with the new instructions.
Execution from Flash/EE
Because the Flash/EE width is 16-bit, execution from Flash/EE
cannot be done in one cycle, as from SRAM, when CD bit =0.
Also some dead time is needed before accessing data for any
value of CD bits.
In ARM mode, where instructions are 32 bits, two extra cycles
are needed to fetch any instruction when CD = 0 and in Thumb
mode, where instructions are 16 bits, one extra cycle is needed
to fetch any instruction.
Timing is identical in both modes when executing instructions
that involve using the Flash/EE for data memory. If the
instruction to be executed is a control flow instruction, an extra
cycle is needed to decode the new address of the program
counter and then four cycles are needed to fill the pipe-line. A
data processing instruction involving only core register doesn’t
require any extra clock cycle but if it involves data in Flash/EE,
Rev. PrD | Page 37 of 128
an extra clock cycle is needed to decode the address of the data
and two cycles to get the 32-bit data from Flash/EE. An extra
cycle must also be added before fetching another instruction.
Data transfer instruction are more complex and are
summarized Table 16.
With 1<N^16, N number of data to load or store in the multiple
load/store instruction.
By default, Flash/EE code execution will be suspended during
any Flash/EE erase or write cycle. A page (512 Bytes) erase cycle
will take 20 ms and a write (16 bits) word command will take
50us. However, the FLASH/EE controller allows Erase/Write
cycles to be aborted, if the ARM core receives an enabled
interrupt during the current FLASH/EE Erase/Write cycle. The
ARM7 can therefore immediately service the interrupt and then
return to repeat the FLASH/EE command. The Abort operation
will typically take 10 clock cycles. If the abort operation is not
feasible, it is possible to run FLASH/EE programming code and
the relevant interrupt routines from SRAM, allowing the core
to service the Interrupt immediately.
Instructions
LD
LDH
LDM/POP
STR
STRH
STM/PUSH
Table 16: Typical execution cycles in ARM/Thumb mode
Fetch
cycles
2/1
2/1
2/1
2/1
2/1
2/1
Dead
time
1
1
N
1
1
N
Data access
2
1
2 x N
2 x 50 s
50 s
2 x N x 50 s
ADuC7032

Related parts for aduc7032