Professional Documents
Culture Documents
ECE3004
Name:N. Pavan kailash
Reg no:18BEC0891
Slot:F2+TF2
Faculty:Jaya Krishna.P
School:Sense
1. a. Draw the clear Block Diagram of the Microprocessor / Micro controller/ IP
core selected.
b. Give the Internal Diagram of each and every block.
2. Provide the Instruction set of the Micro-processing element (Microprocessor/
Micro controller/ IP core) with clock cycle required/Machine cycle required,
memory required, flags affected, type of instruction based on addressing
modes, operation, etc.
INSTRUCTION SET:
Characteristics Symbol Max
Mi Ty
n p. Uni t Remar ks
Motor power supply VM 2.5 - 16.0 V -
Motor output current Iout - 1.1 2.0 A
(Note
1)
ERR pin output voltage VLO - - 5.5 V -
LOW — — 0.5 V
ERR pin output VOL(LO IOL = 5 mA, output =
voltage ) L
IM1 Output pins = — — 0.1 μA
open
Standby
Mode
Current consumption
— — 200 — mV
UVLO hysteresis voltage Vhys_u
vlo
Over current detection ISD VM = 12V 2.5 3.2 4.2 A
(ISD) threshold
(Note3)
tr — 10 20 30 ns
—
tf 10 20 30 ns
— — 840 — ns
tpLH(C
LK)
— — 900 — ns
tpHL(C
LK)
Analog noise blanking VM = 12 V
time AtBLK 340 540 740 ns
ROSC = 47 kΩ VM -15 — %
Oscillator frequency ∆fOSC = 2.5 V to 16 V +1
accuracy
M 5
fOSCM ROSC = 47 kΩ 1076
Oscillator reference
126 145 kH
frequency
6 6 z
Chopping frequency fchop Output: Active, fOSCM — 79 —
= 1266 kHz kH
z
Min
Characteristics Symbol Test condition Typ Ma Unit No.in
. x Timing
Chart
Serial CLK frequency fSCLK VIN = 3.3 V 1.0 — 25 MHz —
tw(CLK) 40 — — ns 1
Minimum CLK pulse VIN = 3.3 V
width twp(CLK 20 — — ns 2
)
twn(CLK 20 — — ns 3
)
Minimum LATCH pulse tLATCH VIN = 3.3 V 20 — — ns 4
width (H)
tsuSIN 10 — — ns 5
Data setup time CLK VIN = 3.3 V
tsuLT - 10 — — ns 6
CLK
thSIN - 10 — — ns 7
Data hold time CLK VIN = 3.3 V
thLT - 40 — — ns 8
CLK
LATCH cycle tcL VIN = 3.3 V 1.3 — — μs 9
T 2
3. Explain Micro processing element (Microprocessor / Micro controller / IP core)
Architecture.
Is there a relation between the instruction set (RISC and CISC) and the architecture of
the processor/microcontroller? I find Harvard architecture processors with RISC
instruction set and Von neumann architecture processors with CISC instruction set (I'm
not sure if this is always true). Is there a reason relating the architecture to the
instruction set?
No, there is no relationship (e.g., RISC = Harvard / CISC = von Neumann). You can
build either of them either way. The PowerPC, SPARC, and ARM are RISC and von
Neumann. Seymour Cray's machines were RISC (although the term had not yet
been invented when he designed most of them) and von Neumann. I don't believe
the Harvard Mark I was RISC as it had some rather complex instructions (e.g.,
interpolate value from function tape) and it was clearly Harvard.
The issue gets complex with modern machines that use cache. Both the Pentium and
PowerPC are considered to be von Neumann, from the point of view of the
programmer, but run internally using instruction and data caches as Harvard. The
Pentium is CISC and the PowerPC is RISC. To make it even more complex, current
Pentium implementations "translate" the CISC instructions from the instruction cache
into RISC like microinstructions, before actually executing them.
The circuitry that performs the actions defined by the microcode in many (but not all)
CISC processors is, in itself, a processor which in many ways is reminiscent in
structure to very early CPU designs. In the early 1970s, this gave rise to ideas to
return to simpler processor designs in order to make it more feasible to cope without
(then relatively large and expensive) ROM tables and/or PLA structures for
sequencing and/or decoding. The first (retroactively) RISC-labeled processor (IBM 801
– IBM's Watson Research Center, mid-1970s) was a tightly pipelined simple machine
originally intended to be used as an internal microcode kernel, or engine, in CISC
designs, but also became the processor that introduced the RISC idea to a somewhat
larger public. Simplicity and regularity also in the visible instruction set would make it
easier to implement overlapping processor stages (pipelining) at the machine code
level (i.e. the level seen by compilers). However, pipelining at that level was already
used in some high performance CISC "supercomputers" in order to reduce the
instruction cycle time (despite the complications of implementing within the limited
component count and wiring complexity feasible at the time). Internal microcode
execution in CISC processors, on the other hand, could be more or less pipelined
depending on the particular design, and therefore more or less akin to the basic
structure of RISC processors
It uses Von Neumann architecture to produce a simple and flat memory
Map
4 PGND_A ← ← Ach Power GND pin
5 OUT_A+ ← ← A channel motor output(+) pin
6 OUT_A- ← ← A channel motor output(-) pin
7 OUT_B- ← ← B channel motor output(-) pin
8 OUT_B+ ← ← B channel motor output(+) pin
9 PGND_B ← ← Bch Power GND pin
1 VREF ← ← Current threshold reference pin
0
6. Explain the type of algorithm used for signed / unsigned Calculations (Addition,
Multiplication, etc.).