ST62GP-EMU2 STMicroelectronics, ST62GP-EMU2 Datasheet - Page 33

no-image

ST62GP-EMU2

Manufacturer Part Number
ST62GP-EMU2
Description
KIT EMULATOR FOR ST6 MCU SER
Manufacturer
STMicroelectronics
Series
ST6-EMU2r
Type
Microcontrollerr
Datasheet

Specifications of ST62GP-EMU2

Contents
Emulator, Set of Probes, Power Supply, Parallel Cable, and ST6-RIDE Software
For Use With/related Products
ST62x
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ST62GP-EMU2 Emulator User Manual
Note:
Note:
In the Watch window, the contents of the TSCR register is EFh in hexadecimal notation.
18 In the Control Bar click the Step button. This resets the 7th bit of the TSCR
19 In the Control Bar click the Cont button. This runs the rest of the instructions
20 After the program stops running (note that it stops at the same breakpoint that
21 Click the Step button again, this loads the hexadecimal value 00h into the
22 Click the Step button again - this loads the hexadecimal value 00h into the DRB
In the Watch window that the contents of the TSCR register is EF in hexadecimal notation.
23 In the Control Bar click the Step button. This resets the 7th bit of the TSCR
Push-Pull with a “0” in its data register to Output Push-Pull with a “1” in its data
register.
register, making its value change to 6Fh.
and does not stop until a breakpoint is encountered.
The Cont button runs the code from the current Program Counter location (the
last instruction that was executed).
was set before) click the Step button in the Control Bar. It executes the jrs
0,drbcopy,lowbit instruction which tests the zero bit of the drbcopy register
to see if it is a “1” or a “0”. If it is a “1” then it will jump to the label referred to as
lowbit, otherwise it will not jump and the next instruction will be executed, but
since the zero bit of the drbcopy register is a “1” it will jump to the lowbit label.
drbcopy register.
Results: Look at the oscilloscope which is displaying the voltage level of pin
PB0 and note that it is high (5 V). The voltage level of PB0 is 5 V because PB0
is configured as Output Push-Pull with a “1” in its data register (DRB).
register.
Results: Look at the oscilloscope which is displaying the voltage level of pin
PB0 and note that it has changed to low (0 V). The reason why it changed is
because the last instruction that was executed changed PB0 from Output
Push-Pull with a “1” in its data register to Output Push-Pull with a “0” in its data
register.
register, making its value change to 6Fh.
If we carry on clicking the Cont button and stepping through the code we can
see that PB0 changes from a logic “0” (low - 0 V) to a logic “1” (high - 5 V) and
vice-versa. But, instead of doing that we will stop “Stepping” through the code
and “Run” through it instead.
4 - Tutorial
33/57

Related parts for ST62GP-EMU2