72
GTXI User's Guide
Example 3: Base Address range spanning 32 addresses
with offset
This example uses a base address range of 220H-23FH (spanning a
boundary between 32 base addresses) and offset of A800H.
1. Set the base address.
The base addresses of 220H-23FH in binary become
10,0010,0000 through 10,0011,1111. This translates in settings
of (remember that A0-A3 are ignored)
A9 A8 A7 A6 A5 A4
1 0
0 0 1 0
through
A9 A8 A7 A6 A5 A4
1 0
0 0 1 1
2. Set the offset address.
The offset address of A800H in binary becomes
1010,1000,0000,0000, which means settings of:
A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4
1 0 1 0
1 0 0 0
0 0 0 0
3. Set the address mask.
Since A4 is used in the internal decoding, we will have to set
A4EN = OFF. These settings are illustrated below
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com