Docsity

Microcontroller Applications: Modes of Operation and MODE Setting - Prof. Bradley J. Bazui, Exams of Microcomputers

Toggle sidebar
bg1
ECE 4510/5530
Microcontroller Applications
Microcontroller
Applications
Mi ll St ff
Mi
sce
ll
aneous
St
u
ff
Dr. Bradley J. Bazuin
Associate Professor
Department of Electrical and Computer Engineering
College of Engineering and Applied Sciences
College
of
Engineering
and
Applied
Sciences
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Microcontroller Applications: Modes of Operation and MODE Setting - Prof. Bradley J. Bazui and more Exams Microcomputers in PDF only on Docsity!

ECE 4510/

Microcontroller ApplicationsMicrocontroller Applications

Mi

ll

St ff

Miscellaneous Stuff

Dr. Bradley J. BazuinAssociate Professor

Department of Electrical and Computer Engineering

College of Engineering and Applied SciencesCollege of Engineering and Applied Sciences

Miscellaneous

-^

MODE–

Document S12MEBIV

Modes of Operation (2 of 2)

p

-^

Emulation Expanded Wide Mode–

Developers use this mode for emulation systems in which the users target application is NormalExpanded Wide Mode.

-^

Emulation Expanded Narrow Mode–

Developers use this mode for emulation systems in which the users target application is Normal

p^

y^

g^

pp

Expanded Narrow Mode.

-^

Special Test Mode–

Ports A and B are configured as a 16-bit multiplexed address and data bus and Port E providesbus control and status signals In special test mode the write protection of many control bits isbus control and status signals. In special test mode, the write protection of many control bits islifted so that they can be thoroughly tested without needing to go through reset.

-^

Special Peripheral Mode–

This mode is intended for Motorola factory testing of the system. The CPU is inactive and anexternal (tester) bus master drives address data and bus control signalsexternal (tester) bus master drives address, data, and bus control signals.

MODE Setting

g

-^

BKGD/MODC/TAGHI–

At the rising edge on RESET, the state of this pin is registered intothe MODC bit to set the mode. (This pin always has an internalpullup.)p^

p )

-^

PE6/IPIPE1/MODB/CLKTO–

At the rising edge of RESET, the state of this pin is registered intoth

MODB bit t

t th

d

the MODB bit to set the mode.

-^

PE5/IPIPE0/MODA–

At the rising edge on RESET, the state of this pin is registered into

g^

g^

p^

g

the MODA bit to set the mode.

Access E-Clock on PE.

-^

Port E serves as general-purpose I/O or as system and bus

g

p

p

y

control signals.

-^

The PEAR register is used to choose between the general-

I/O f

ti

d th

lt

t^

t^

l f

ti

purpose I/O function and the alternate control functions.

-^

When an alternate control function is selected, theassociated DDRE bits are overridden.assoc ated

b ts a e ove

dde.

Port E Assignment Register

g

g

Background Debug Module

g

g

-^

BKGD/MODC/TAGHI–

Pseudo open-drain communication pin for the single-wirebackground debug mode. There is an internal pull-up resistor onthis pin.

p

–^

From S12MEBIV

-^

Describe in S12BDMV

BDM

-^

Bypasses other pins and code operation

yp

p

p

-^

Allows direct access to registers and memory

-^

When Debug12 was “not right”–

Load (flash) a boot loader using the BDMSwitch to the boot loader program running through the SCI0 port

-^

Switch to the boot loader program running through the SCI0 port

-^

Load (flash) the desired program.

-^

One HCS12 Module can act as a BDM for another!