EasyManua.ls Logo

Motorola MPC823e - Page 1074

Motorola MPC823e
1353 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Development Capabilities and Interface
MOTOROLA MPC823e REFERENCE MANUAL 20-13
DEVELOPMENT
20
CAPABILITIES & INTERFACE
Byte Working Mode Example
Data size: Byte.
Address: 0x00000003.
Data value: Greater than 0x07 and less than 0x0c.
Programming options:
One L-address comparator = 0x00000003 and program for equal.
One L-data comparator = 0x00000007 and program for greater than.
One L-data comparator = 0x0000000c and program for less than.
CGBMSK and CHBMSK fields of the LCTRL1 = 0xe.
Both L-data comparators program to byte mode.
Result:
The event will be correctly detected, regardless of the load/store instruction the
compiler chooses for this access.
Half-Word Working Mode Example 1
Data size: Half-word.
Address: Greater than 0x00000000 and less than 0x0000000c.
Data value: Greater than 0x4e204e20 and less than 0x9c409c40.
Programming option:
One L-address comparator = 0x00000000 and program for greater than.
One L-address comparator = 0x0000000c and program for less than.
One L-data comparator = 0x4e204e20 and program for greater than.
One L-data comparator = 0x9c409c40 and program for less than.
CGBMSK and CHBMSK fields of the LCTRL1 = 0xe.
Both L-data comparators program to half-word mode.
Result:
The event will be correctly detected as long as the compiler does not use a
load/store instruction with a data size of byte.

Table of Contents

Related product manuals