The powerful 16-bit XA CPU core and rich feature set make the
XA-H3 and XA-H4 devices ideal for high-performance real-time
applications such as industrial control and networking. By supporting
of up to 32 MB of external memory, these devices provide a low-cost
solution to embedded applications of any complexity. Features like
DMA, memory controller and four advanced UARTs help solve I/O
intensive tasks with a minimum of CPU load.
FEA TURES
•Large Memory Support (up to 6 MB external)
•De-multiplexed Address/Data Bus
•Six Programmable Chip Selects
– Support for Unified Memory – allows easy user modification of
all code
– External ISP Flash support for easy code download
•Dynamic Bus Sizing – each of 6 Chip Selects can be programmed
for 8-bit or 16-bit bus.
The XA-H3 feature set is a subset of the XA-H4 (see Table 1). The
XA-H3/H4 devices are members of the Philips XA (eXtended
Architecture) family of high performance 16-bit microcontrollers.
The XA-H3 and XA-H4 are designed to significantly minimize the
need for external components.
•Dynamic Bus Timing – each of 6 chip selects has individual
programmable bus timing.
•32 Programmable General Purpose I/O Pins
•Four UARTs with 230.4 kbps capability
•Eight DMA Channels
Table 1. XA-H3 and XA-H4 features comparison
FeatureXA-H3XA-H4
Maximum External Memory
(Harvard Memory Mode)
Maximum External Memory (Unified Memory Mode)6 MB16 MB
Memory Controller supports both Harvard and Unified architecturesYesYes
De-multiplexed Address/Data BusYesYes
DRAM ControllerNoYes
DMA Channels88
Dynamic Bus SizingYesYes
Dynamic Bus TimingYesYes
Programmable Chip Selects66
General Purpose IO Pins3333
Potential Interrupt Pins1616
Interrupts (programmable priority)7 Standard SW
Counter/Timers2 plus Watchdog2 plus Watchdog
Baud Rate Generators
Serial Ports4 UARTS4 USARTS
Maximum Serial Data Ratesasynch to 230.4 kbps (no sync)asynch to 230.4 kbps
Match CharactersNo 4 async chars per USART
Hardware AutobaudNoup to 230.4 kbps
SCP/SPI BusNo
NOTE:
1. Can be used as additional counters if not needed as BRGs.
*In either memory architecture, the XA-H3 can support a maximum of
6 MB because each of six Chip Selects is capable of 1 MB each. In
Unified architecture, Code and Data can share the same physical
Memory Chip and address space.
Code Space + Data Space = 6 MB Maximum Total with 1 MB per Chip Select. Each CS
(and thus, 1 MB space) can support either Code or Data in Harvard architecture.
XTALOut61ICrystal 2: Output from the oscillator amplifier.
CS049O
CS148OChip Select 1*: Chip Selects 1 through 5 come out of reset disabled. They function as normal chip
CS247OChip Select 2 *: Active low Chip Selects CS1 through CS5 come out of reset disabled. They can
CS346OChip Select 3 *: See Chip Select 2 for description.
See Pins 56, 57 for 2 additional Chip Selects
WE50OWrite Enable: Goes active low during all bus write cycles only.
OE51OOutput Enable: Goes active low during all bus read cycles only.
BLE54OByte Low Enable: Goes active low during all bus cycles that access data bus lines D7 – D0, read
BHE53OByte High Enable: Goes active low during all bus cycles that access data bus lines D15 – D8,
ClkOut45OClock Output: This pin outputs a buffered version of the internal CPU clock. The clock output may
A19 – A024 – 21,
D15 – D042 – 30,
P0.090I/OP0.0_BRG0*: Port 0 Bit 0, or UART0 BRG output, or UART0 TxClk output1
P0.191I/OP0.1_RTS0: Port 0 Bit 1 , or UART0 RTS (Request T o Send) output.1
P0.292I/OP0.2_CTS0: Port 0 Bit 2, or UART0 CTS (Clear T o Send) input.1
P0.393I/OP0.3_CD0: Port 0 Bit 3, or UART0 Carrier Detect input.1
P0.494I/OP0.4_TRClk0: Port 0 Bit 4, or UART0 TR clock input.1, 2
P0.595I/OP0.5_RTClk0 : Port 0 Bit 5, or UART0 RT clock input.1, 2
P0.699I/OP0.6: Port 0 Bit 61
P0.7100I/OP0.7: Port 0 Bit 71
TxD096OTxD0: Transmit data for UART0.
Lqfp
Pin No.
1, 19, 28,
44, 59,
76, 88
2, 20, 29,
43, 62,
77, 89
52I
18 – 3
27 – 25
TypeName and Function
Ground: 0 V reference.
I
Power Supply: This is the power supply voltage for normal, idle, and power down operation.
I
Reset: A low on this pin resets the microcontroller, causing I/O ports and peripherals to take on
their default states, and the processor to begin execution at the address contained in the reset
vector.
Wait/Size16: During Reset, this input determines bus size for boot device (“1” = 16-bit boot device;
“0” = 8-bit.) During normal operation this is the Wait input (“1” = Wait; “0” = Proceed.)
Crystal 1: Input to the inverting amplifier used in the oscillator circuit and input to the internal clock
generator circuits.
Chip Select 0: This output provides the active low chip select to the boot device (usually ROM or
Flash.) From reset, it is enabled and mapped to an address range based at 000000h. It can be
remapped by software to a higher base in the address map (see the “Memory Interface” chapter in
XA-H3 User Manual
the
selects on the H3. CS1 can be “swapped” with CS0 (see the SWAP operation in the “Memory
Controller” chapter of the
after the swap, but is capable of being based anywhere in the 16 MB address space.
be programmed to function as normal chip selects. CS2 through CS5 are not used with the
“SWAP” operation (only /CS0 and CS1 can be swapped; see “Memory Controller” chapter in the
XA-H3 User Manual
or write.
read or write. Never goes active on an 8-bit bus; always goes active on Reads or Fetches on a
16-bit bus, even if the processor does not need these bits. In other words, all Reads (byte or word)
on a 16-bit bus, assert BHE
be used in conjunction with the external bus to synchronize WAIT state generators, etc. The clock
output may be disabled by software. WARNING: The capacitive loading on this output must not
exceed 40 pf.
OAddress[19:0]: These address lines output A19 – A0 during all external bus cycles.
I/OData[15:0]: Bi-directional data bus, D15 – D0; for those bus cycles that are programmed to occur
on an “8-bit bus”, D15 – D8 are unused.
.)
XA-H3 User Manual
.) They are mappable to any region of the 16 MB address space.
GPOut98OGPOut – General Purpose Output Bar: Similar to GPIO, but Push/Pull and inverted output only.
P1.068I/OP1.0_RxD2: Port 1 Bit 0, or UART2 RxD input
P1.169I/OP1.1_TxD2: Port 1 Bit 1, or UART2 TxD output
P1.270I/OP1.2_RTClk2 : Port 1 Bit 2, or UART2 RT Clock input2
P1.371I/OP1.3_TRClk2: Port 1 Bit 3, or UART2 TR Clock input2
P1.472I/OP1.4_CD2: Port 1 Bit 4, or UART2 Carrier Detect input
P1.573I/OP1.5_CTS2: Port 1 Bit 5, or UART2 Clear T o Send input
P1.674I/OP1.6_RTS2: Port 1 Bit 6, or UART2 Request T o Send output
P1.775I/OP1.7_BRG2: Port 1 Bit 7, or BRG output, or TxClk output (see UART clk diagrams in the
P2.080I/OP2.0_RxD3: Port 2 Bit 0, or UART3 Rx Data input
P2.181I/OP2.1_TxD3: Port 2 Bit 1, or UART3 Tx Data output
P2.282I/OP2.2_RTClk3 : Port 2 Bit 2, or UART3 RT Clock input2
P2.383I/OP2.3_ComClk_TRClk3: Port 2 Bit 3, or UART3 TR Clock input2
P2.484I/OP2.4_CD3: Port 2 Bit 4, or UART3 Carrier Detect input
P2.585I/OP2.5_CTS3: Port 2 Bit 5, or UART3 Clear T o Send input
P2.686I/OP2.6_RTS3: Port 2 Bit 6, or UART3 Request T o Send output
P2.787I/OP2.7_BRG3: Port 2 Bit 7, or BRG output, or TxClk output (see UART clock diagrams in the
P3.056I/OP3.0_CS4_RTClk1: Port 3 Bit 0, or CS4 output, or UART1 RT Clock input
P3.157I/O
P3.258I/O
P3.363I/OP3.3_Timer1_BRG1: Port 3 Bit 3, or Timer1 input or output, or UART1 BRG output.
P3.464I/OP3.4_CTS1: Port 3 Bit 4, or UART1 Clear T o Send input
P3.565I/OP3.5_RxD1: Port 3 Bit 5, or UART1 Receive Data input
P3.666I/OP3.6_TxD1: Port 3 Bit 6, or UART1 Transmit Data output
P3.767I/OP3.7_Int1 _TRClk1: Port 3 Bit 7, or External Interrupt 1 input, or UART1 TR Clock input2
CD1_Int278I/OCD1_Int2: UART1 Carrier Detect, or External Interrupt 2
Int079I/OExternal Interrupt 0
Lqfp
Pin No.
Name and FunctionType
WARNING: This output is inverted. The polarity of the pin is the opposite of the bit that drives it
(GPOut[7])
XA-H3
User Manual
.)
XA-H3
User Manual
Active low chip selects CS1 through CS5 come out of reset disabled. CS2 through CS5 are not
used with the “SWAP” operation (see “Memory Controller” chapter in the
They are mappable to any region of the 16 MB address space.
P3.1_CS5_RTS1: Port 3 Bit 1, or CS5 output, or UART1 Request To Send output
Active low chip selects CS1 through CS5 come out of reset disabled. CS2 through CS5 are not
used with the “SWAP” operation (see “Memory Controller” chapter in the
They are mappable to any region of the 16 MB address space.
P3.2_Timer0_ResetOut: Port 3 Bit 2, or Timer0 input or output, or ResetOut output.
ResetOut: If the ResetOut function is selected, this pin outputs a low whenever the XA-H3
processor is reset by an internal source (Watchdog Reset or the RESET instruction.)
WARNING: Unlike the other 31 GPIO pins, during power up reset, this pin can output a strongly
driven low pulse. The duration of this low pulse ranges from 0 ns to 258 system clocks, starting at
the time that VCC is valid. The state of the ResetIn
ResetIn
When used as GPIO, this pin can also be driven low by software without resetting the XA-H3.
.)
is not passed to ResetOut.
XA-H3 User Manual
XA-H3 User Manual
pin does not affect this pulse; in other words
.)
.)
See
Note
2
NOTES:
1. See
XA-H3 User Guide,
2. RTClk input is usually used for Rx Clock if an external clock is needed, but can be used for either Rx or Tx or both. TRClk is usually used for
Tx Clock, but can be used for Rx or Tx or both.
1999 Sep 24
“Pins Chapter,” for how to program selection of pin functions.
8
Page 9
Philips SemiconductorsPreliminary specification
writing BTRL
40h in that order. Follow these two writes with five NOPS. This is
There are two types of control registers in the XA-H3, these are SFRs
(Special Function Registers), and MMRs (Memory Mapped Registers.)
The SFR registers, with the exception of MRBL, MRBH, MICFG, BCR,
BRTH, BRTL, and RSTSRC are the standard XA core registers. See
WARNINGs about BCR, BRTH, and BRTL in Table 2.
SFRs are accessed by “direct addressing” only (see
Manual
for direct addressing.) The MMRs are specific to the XA-H3
46AhWARNING – Never write to the BCR register in the XA-H3 – it is initialized to 07h,
MSBLSB
the only legal value. This is not the same as for some other XA derivatives.
WARNING – Immediately after reset, always write BTRH = 51h, followed by
=
not the same as for some other XA derivatives.
on-chip peripherals, and can be accessed by any addressing mode
that can be used for off-chip data accesses. The MMRs are
implemented in a relocatable block. See the “Memory Controller”
chapter in the
MMRs by writing a new base address into the MRBL and MRBH
(MMR Base Low and High) registers.
Bit Functions and Addresses
XA-H3 User Manual
for details on how to relocate the
Reset
Value
07h
FFh
EFh
MRBL#MMR Base Address Low496hMA15MA14MA13MA12–––MRBEx0h
MRBH#MMR Base Address High497hMA23MA22MA21MA20MA19MA18MA17MA16xx
MICFG#ClkOut Tri-St Enable
P0CFGA Port 0 Configuration A470h5
P1CFGA Port 1 Configuration A471h5
P2CFGA Port 2 Configuration A472h5
P3CFGA Port 3 Configuration A473h5
P0CFGB Port 0 Configuration B4F0h5
P1CFGB Port 1 Configuration B4F1h5
P2CFGB Port 2 Configuration B4F2h5
P3CFGB Port 3 Configuration B4F3h5
PCON*Power Control Reg404h––––––PDIDL00h
PSWH*Program Status Word High401hSMTMRS1RS0IM3IM2IM1IM02
* SFRs marked with an asterisk (*) are bit addressable.
# SFRs marked with a pound sign (#) are additional SFR registers specific to the XA-H3 and XA-H4.
1. The XA-H3 implements an 8-bit SFR bus, as stated in Chapter 8 of the
8-bit operations. Attempts to write 16 bits to an SFR will actually write only the lower 8 bits. 16-bit SFR reads will return undefined data in the
upper byte.
2. SFR is loaded from the reset vector.
3. F1, F0, and P reset to “0”. All other bits are loaded from the reset vector.
4. Unimplemented bits in SFRs are “X” (unknown) at all times. “1”s should not be written to these bits since they may be used for other
purposes in future XA derivatives. The reset value shown for these bits is “0”.
5. Port configurations default to quasi-bidirectional when the XA begins execution after reset. Thus all PnCFGA registers will contain FFh and
PnCFGB register will contain 00h. See warning in
up. Basically, during this period, this pin may output a strongly-driven low pulse. If the pulse does occur, it will terminate in a transition to high
at a time no later than the 259th system clock after valid V
6. The WDCON reset value is E6 for a Watchdog reset; E4 for all other reset causes.
7. The RSTSRC register reflects the cause of the last XA reset. One bit will be set to “1”, the others will be “0”. RSTSRC[7] enables the ResetOut
function; “1” = Enabled, “0” = Disabled. See
8. The XA guards writes to certain bits (typically interrupt flags) that may be written by a peripheral function. This prevents loss of an interrupt or
other status if a bit was written directly by a peripheral action between the read and write of an instruction that performs a read-modify-write
operation. XA-H3 SFR bits that are guarded in this manner are: TF1, TF0, IE1, and IE0 (in TCON), and WDTOF (in WDCON).
Description
SFR
Address
XA-H3 User Manual
XA-H3 User Manual
MSBLSB
28F28E28D28C28B28A289288
2FF2FE2FD2FC2FB2FA2F92F8
power up.
CC
for details; RSTSRC[7] differs in function from most other XA derivatives.
Bit Functions and Addresses
IC25 Data Handbook XA User Guide
about P3.2_Timer0_ResetOut pin during first 258 clocks after power
UART0 Write Register 0R/W8800hCommand register00h
UART0 Write Register 1R/W8802hTx/Rx Interrupt & data transfer modexx
UART0 Write Register 2R/W8804hExtended Features Controlxx
UART0 Write Register 3R/W8806hReceive Parameter and Control00h
UART0 Write Register 4R/W8808hTx/Rx miscellaneous parameters & mode00h
UART0 Write Register 5R/W880AhTx parameter and control00h
Reserved – do not write880ChReserved – do not write00h
Reserved – do not write880EhReserved – do not writexx
UART0 Write Register 8R/W8810hTransmit Data Bufferxx
UART0 Write Register 9R/W8812hMaster Interrupt controlxx
UART0 Write Register 10R/W8814hMiscellaneous Tx/Rx control register00h
UART0 Write Register 11R/W8816hClock Mode Controlxx
UART0 Write Register 12R/W8818hLower Byte of Baud rate time constant00h
UART0 Write Register 13R/W881AhUpper Byte of Baud rate time constant00h
UART0 Write Register 14R/W881ChMiscellaneous Control bitsxx
UART0 Write Register 15R/W881EhExternal / Status interrupt controlf8h
Reserved – do not write8828hReserved – do not write00h
Reserved – do not write882AhReserved – do not write00h
UART0 Read Register 0RO8820hTx/Rx buffer and external status
UART0 Read Register 1RO8822hReceive condition status
Reserved – do not write824h–
UART0 Read Register 3RO8826hInterrupt Pending Bits
Reserved – do not write882ChReserved – do not write
Reserved – do not write882EhReserved – do not write
UART0 Read Register 8RO8830hReceive Buffer
Reserved – do not write832h
UART0 Read Register 10RO8834hClock status
Reserved – do not write836-83Eh–
UART1 Write Register 0R/W8840hCommand register00h
UART1 Write Register 1R/W8842hTx/Rx Interrupt & data transfer modexx
UART1 Write Register 2R/W8844hExtended Features Controlxx
UART1 Write Register 3R/W8846hReceive Parameter and Control00h
UART1 Write Register 4R/W8848hTx/Rx miscellaneous parameters & mode00h
UART1 Write Register 5R/W884AhTx. parameter and control00h
Reserved – do not write884ChReserved – do not write00h
Reserved – do not write884EhReserved – do not writexx
UART1 Write Register 8R/W8850hTransmit Data Bufferxx
UART1 Write Register 9R/W8852hMaster Interrupt controlxx
UART1 Write Register 10R/W8854hMiscellaneous Tx/Rx control register00h
UART1 Write Register 11R/W8856hClock Mode Controlxx
UART1 Write Register 12R/W8858hLower Byte of Baud rate time constant00h
UART1 Write Register 13R/W885AhUpper Byte of Baud rate time constant00h
UART1 Write Register 14R/W885ChMiscellaneous Control bitsxx
UART1 Write Register 15R/W885EhExternal / Status interrupt controlf8h
Reserved – do not write8868hReserved – do not write00h
Reserved – do not write886AhReserved – do not write00h
UART1 Read Register 0RO8860hTx/Rx buffer and external status
UART1 Read Register 1RO8862hReceive condition status
Reserved – do not write864h
UART1 Read Register 3RO8866Interrupt Pending Bits
Reserved – do not write886ChReserved – do not write
Reserved – do not write886EhReserved – do not write
UART1 Read Register 8RO8870hReceive Buffer
Reserved – do not write872h
UART1 Read Register 10RO8874hClock status
Reserved – do not write876-87Eh
UART2 Write Register 0R/W8880hCommand register00h
UART2 Write Register 1R/W8882hTx/Rx Interrupt & data transfer modexx
UART2 Write Register 2R/W8884hExtended Features Controlxx
UART2 Write Register 3R/W8886hReceive Parameter and Control00h
UART2 Write Register 4R/W8888hTx/Rx miscellaneous parameters & mode00h
UART2 Write Register 5R/W888AhTx. parameter and control00h
Reserved – do not write888ChReserved – do not write00h
Reserved – do not write888EhReserved – do not writexx
UART2 Write Register 8R/W8890hTransmit Data Bufferxx
UART2 Write Register 9R/W8892hMaster Interrupt controlxx
UART2 Write Register 10R/W8894hMiscellaneous Tx/Rx control register00h
UART2 Write Register 11R/W8896hClock Mode Controlxx
UART2 Write Register 12R/W8898hLower Byte of Baud rate time constant00h
UART2 Write Register 13R/W889AhUpper Byte of Baud rate time constant00h
UART2 Write Register 14R/W889ChMiscellaneous Control bitsxx
UART2 Write Register 15R/W889EhExternal / Status interrupt controlf8h
Reserved – do not write88A8hReserved – do not write00h
Reserved – do not write88AAhReserved – do not write00h
UART2 Read Register 0RO88A0hTx/Rx buffer and external status
UART2 Read Register 1RO88A2hReceive condition status
Reserved – do not write8A4h
UART2 Read Register 3RO88A6hInterrupt Pending Bits
Reserved – do not write88AChReserved – do not write
Reserved – do not write88AEhReserved – do not write
UART2 Read Register 8RO88B0hReceive Buffer
Reserved – do not write8B2h
UART2 Read Register 10RO88B4hClock status
UART3 Write Register 0R/W88C0hCommand register00h
UART3 Write Register 1R/W88C2hTx/Rx Interrupt & data transfer modexx
UART3 Write Register 2R/W88C4hExtended Features Controlxx
UART3 Write Register 3R/W88C6hReceive Parameter and Control00h
UART3 Write Register 4R/W88C8hTx/Rx miscellaneous parameters & mode00h
UART3 Write Register 5R/W88CAhTx. parameter and control00h
Reserved – do not write88CChReserved – do not write00h
Reserved – do not write88CEhReserved – do not writexx
UART3 Write Register 8R/W88D0hTransmit Data Bufferxx
UART3 Write Register 9R/W88D2hMaster Interrupt controlxx
UART3 Write Register 10R/W88D4hMiscellaneous Tx/Rx control register00h
UART3 Write Register 11R/W88D6hClock Mode Controlxx
UART3 Write Register 12R/W88D8hLower Byte of Baud rate time constant00h
UART3 Write Register 13R/W88DAhUpper Byte of Baud rate time constant00h
UART3 Write Register 14R/W88DChMiscellaneous Control bitsxx
UART3 Write Register 15R/W88DEhExternal / Status interrupt controlf8h
Reserved – do not write88E8hReserved – do not write00h
Reserved – do not write88EAhReserved – do not write00h
UART3 Read Register 0RO88E0hTx/Rx buffer and external status
UART3 Read Register 1RO88E2hReceive condition status
Reserved – do not write8E4h
UART3 Read Register 3RO88E6hInterrupt Pending Bits
Reserved – do not write88EChReserved – do not write
Reserved – do not write88EEhReserved – do not write
UART3 Read Register 8RO88F0hReceive Buffer
Reserved – do not write8F2h–
UART3 Read Register 10RO88F4hClock status
Reserved – do not write8F6-8FEh
DMA Control Register Ch.0 RxR/W8100hControl Register00h
FIFO Control & Status Reg Ch.0 RxR/W8101hControl & Status Register00h
Segment Register Ch.0 RxR/W8102hPoints to 64 k data segment00h
Buffer Base Register Ch.0 RxR/W8104hWrap Reload Value for A15 – A8, A7 – A0
Data FIFO Register Ch.0 Lo RxR/W1610Ch10Ch = Byte 0 = older,
Data FIFO Register Ch.0 Hi RxR/W1610Eh10Eh = Byte 2 = older,
DMA Control Register Ch.1 RxR/W8110hControl Register00h
FIFO Control & Status Register Ch.1 RxR/W8111hControl & Status Register00h
Segment Register Ch. 1 RxR/W8112hPoints to 64 k data segment00h
Data FIFO Register Ch.1 Lo RxR/W1611Ch11Ch = Byte 0 = older,
Data FIFO Register Ch.1 Hi RxR/W1611Eh11Eh = Byte 2 = older,
DMA Control Register Ch.2 RxR/W8120hControl Register00h
FIFO Control & Status Register Ch.2 RxR/W8121hControl & Status Register00h
Segment Register Ch. 2 RxR/W8122hPoints to 64 k data segment00h
Buffer Base Register Ch. 2 RxR/W8124hWrap Reload Value for A15 – A8, A7 – A0
Data FIFO Register Ch.2 Lo RxR/W1612Ch12Ch = Byte 0 = older,
Data FIFO Register Ch.2 Hi RxR/W1612Eh12Eh = Byte 2 = older,
DMA Control Register Ch.3 RxR/W8130hControl Register00h
FIFO Control & Status Register Ch.3 RxR/W8131hControl & Status Register00h
Segment Register Ch. 3 RxR/W8132hPoints to 64 k data segment00h
Buffer Base Register Ch. 3 RxR/W8134hWrap Reload Value for A15 – A8, A7 – A0
Data FIFO Register Ch.3 Lo RxR/W1613Ch13Ch = Byte 0 = older,
Data FIFO Register Ch.3 Hi RxR/W1613Eh13Eh = Byte 2 = older,
DMA Control Register Ch.0 TxR/W8140hControl Register00h
FIFO Control & Status Register Ch.0 TxR/W8141hControl & Status Register00h
Segment Register Ch. 0 TxR/W8142hPoints to 64 k data segment00h
Buffer Base Register Ch. 0 TxR/W8144hWrap Reload Value for A15 – A8, A7 – A0
Data FIFO Register Ch.0 TxR/W1614Eh14E = Byte2 = older
DMA Control Register Ch.1 TxR/W8150hControl Register00h
FIFO Control & Status Register Ch.1 TxR/W8151hControl & Status Register00h
Segment Register Ch.1 TxR/W8152hPoints to 64 k data segment00h
Buffer Base Register Ch.1 TxR/W8154hWrap Reload Value for A15 – A8, A7 – A0
Data FIFO Register Ch.1 Lo TxR/W1615ChByte0 & 10000h
Data FIFO Register Ch.1 Hi TxR/W1615EhByte2 & 30000h
DMA Control Register Ch.2 TxR/W8160hControl Register00h
FIFO Control & Status Register Ch.2 TxR/W8161hControl & Status Register00h
Segment Register Ch.2 TxR/W8162hPoints to 64 k data segment00h
Buffer Base Register Ch.2 TxR/W8164hWrap Reload Value for A15 – A8, A7 – A0
Data FIFO Register Ch.2 Lo TxR/W1616ChByte0 & 10000h
Data FIFO Register Ch.2 Hi TxR/W1616EhByte2 & 30000h
DMA Control Register Ch.3 TxR/W8170hControl Register00h
FIFO Control & Status Register Ch.3 TxR/W8171hControl & Status Register00h
Segment Register Ch. 3 TxR/W8172hPoints to 64 k data segment00h
Buffer Base Register Ch. 3 TxR/W8174hWrap Reload Value for A15 – A8,
Data FIFO Register Ch.3Lo TxR/W1617ChByte0 & 10000h
Data FIFO Register Ch.3 Hi TxR/W1617EhByte2 & 30000h
Rx Character Time Out Register Ch.0R/W8200h0 value disables counter interrupt.00h
Rx Character Time Out Register Ch.1R/W8202hSame as above, for Rx100h
Rx Character Time Out Register Ch.2R/W8204hSame as above, for Rx200h
Rx Character Time Out Register Ch.3R/W8206hSame as above, for Rx300h
Global DMA Interrupt RegisterR/W16210hDMA Interrupt Flags0000h
GPOutR/W8260hGPOut[7] drives pin 98 (GPOut) through an
Read/Write or
Read Only
R/W180-1FEhRESERVED for future DMA–
Miscellaneous DMA Registers
Size
Address
Offset
Description
14F = Byte3 = younger
reloaded to zero by hardware
interrupt if enabled and byte count exceeded.
reloaded to zero by hardware
interrupt if enabled and byte count exceeded.
A7 – A0 reloaded to zero by hardware
interrupt if enabled and byte count exceeded.
inverter.
GPOut[6-0] are unused, and must be written
B0CFGR/W8280hMIF Bank 0 Config0Fh
B0AMR/W8281hMIF Bank 0 Base Address00h
B0TMGR/W8282hMIF Bank 0 Timing Params
B1CFGR/W8284hMIF Bank 1 Config
B1AMR/W8285hMIF Bank 1 Base Address
B1TMGR/W8286hMIF Bank 1 Timing Params
B2CFGR/W8288hMIF Bank 2 Config
B2AMR/W8289hMIF Bank 2 Base Address
B2TMGR/W828AhMIF Bank 2 Timing Params
B3CFGR/W828ChMIF Bank 3 Config
B3AMR/W828DhMIF Bank 3 Base Address
B3TMGR/W828EhMIF Bank 3 Timing Params
B4CFGR/W8290hMIF Bank 4 Config
B4AMR/W8291hMIF Bank 4 Base Address
B4TMGR/W8292hMIF Bank 4 Timing Params
B5CFGR/W8294hMIF Bank 5 Config
B5AMR/W8295hMIF Bank 5 Base Address
B5TMGR/W8296hMIF Bank 5 Timing Params
MBCLR/W82BEhMIF Memory Bank Configuration Lock Register
Reserved – do not writeR/W82BFhReserved – do not write
Miscellaneous Registers
Hi-Pri Soft Ints & Pin Mux Control Reg.R/W162D0hControl bits for Hi-Priority Soft Ints, and Pin Mux 0000h
XInt2R/W82D2hExternal Interrupt 2 Control00h
FUNCTIONAL DESCRIPTION
The XA-H3 functions are described in the following sections.
Because all blocks are thoroughly documented in either the
, or the
Data Handbook
XA-H3 User Manual
, only brief descriptions
IC25 XA
are given in this datasheet, in conjunction with references to the
appropriate document.
XA CPU
The CPU is a 30 MHz implementation of the standard XA CPU core.
See the
XA Data Handbook
(IC25) for details. The CPU core is
identical to the G3 core. See caveat in next paragraph about the Bus
Interface Unit.
Bus Interface Unit (BIU)
This is the internal Bus, not the bus at the pins. This internal bus
connects the CPU to Memory Controller.
WARNING: Immediately after reset, always write BTRH = 51h,
followed by BTRL = 40h, in that order. Once written, do not change
the values in these registers. Follow these two writes with five
NOPS. Never write to the BCR register, it comes out of reset
initialized to 07h, which is the only value that will work.
Timers 0 and 1 are the standard XA-G3 timer 0 and 1. Each has an
associated I/O pin and interrupt. See the XA-G3 data sheet in the
IC25 XA Data Handbook
standard XA Timer 2. The Timer 2 block has been removed in order
to provide other functions on the XA-H3.
for details. Many XA derivatives include a
Watchdog Timer
This timer is a standard XA-G3 Watchdog Timer. See the G3
datasheet in IC25. Also, if you intend to use the Watchdog Timer to
assert the ResetOut
The Watchdog Timer is enabled at reset, and must be periodically
fed to prevent timeout. If the watchdog times out, it will generate an
internal reset; and if ResetOut
generate a ResetOut pulse (active low pulse on ResetOut
pin, see “ResetOut” in the
is enabled the internal reset will
XA-H3 User Manual
pin.)
Reset
On the XA-H3 there are two pins associated with reset. The ResetIn
pin provides an external reset into the XA-H3. The port pin
P3.2_Timer0_ResetOut
Because ResetOut
be tied directly back into the ResetIn
logic. This configuration will make all resets (internal or external)
appear to the XA as external resets. See the
a full discussion of the reset functions.
output can be configured as ResetOut.
does not reflect ResetIn, the ResetOut pin can
pin without other PC board
XA-H3 User Manual
for
ResetIn
The ResetIn function is the standard XA-G3 ResetIn function. The
ResetIn
signal does NOT get passed on to ResetOut. See the
XA-H3 User Manual
for details on reset.
ResetOut
The P3.2_Timer0_ResetOut pin provides an external indication (if the
ResetOut
low output when an internal reset occurs (internal reset is Reset
instruction or Watchdog time out.) If the ResetOut
the ResetOut
the Reset instruction is executed. This signal may be used to inform
other devices in the system that the XA-H3 has been internally reset.
The ResetIn
activated, the duration of the ResetOut
.
WARNING: At power on time, from the time that power coming up is
valid, the P3.2_Timer0_ResetOut pin may be driven low for any
period from zero nanoseconds up to 258 system clocks. This is true
independently of whether ResetIn
function is enabled in the RSRSRC register) via an active
function is enabled,
pin will be driven low when a Watchdog reset occurs or
signal does NOT get passed on to ResetOut. When
pulse is 256 system clocks.
is active or not.
Reset Source Register
The reset source identification register (RSTSRC) indicates the cause
of the most recent XA reset. The cause may have been an externally
applied reset signal, execution of the RESET instruction, or a
Watchdog reset. Figure 2 shows the fields in the RSTSRC register. If
the ResetOut
will be external resets, and will thus appear as external resets in the
reset source register. RSTSRC[7] enables the ResetOut function; 1 =
Enabled, 0 = Disabled. See
RSTSRC[7] differs in function from most other XA derivatives.
function is tied back into the ResetIn pin, then all resets
XA-H3 User Manual
for details;
RSTSRC
Not Bit Addressable
Reset Value = see below
BITSYMBOLFUNCTION
RSTSRC.7 ROENResetOut
RSTSRC.6 –Reserved for future use. Should not be set to 1 by user programs.
RSTSRC.5 –Reserved for future use. Should not be set to 1 by user programs.
RSTSRC.4 –Reserved for future use. Should not be set to 1 by user programs.
RSTSRC.3 –Reserved for future use. Should not be set to 1 by user programs.
RSTSRC.2 R_WDIndicates that the last reset was caused by a watchdog timer overflow (see WARNING.)
RSTSRC.1 R_CMDIndicates that the last reset was caused by execution of the RESET instruction (see WARNING.)
RSTSRC.0 R_EXTIndicates that the last reset was caused by the external ResetIn
WARNING:
If ResetOut
precedence over internal reset.
Reg Type and Address = SFR 463h
LSBMSB
ROEN————R_WDR_CMDR_EXT
function enable bit – see
function is tied back into ResetIn pin, RSTSRC will always show external reset ONLY, because external reset always takes
Figure 2. RSTSRC Reset Source Register
XA-H3 User Manual
for details
input.
MEMORY CONTROLLER AND I/O BUS INTERFACE
The Memory Controller and bus interface generate bus cycles that are
designed to service SRAMs, Flash, EEPROM, peripheral chips, etc.
The XA-H3 has a highly programmable memory bus interface. Most
SRAMs, Flash, ROMs, and peripheral chips can be connected to this
interface with no external decode logic or interface chips. The bus
interface provides 6 mappable chip select outputs. The bus timing for
each individual memory bank or peripheral can be programmed to
accommodate slow or fast devices, with various bus protocols.
Each memory bank and associated chip select is capable of
supporting a 1 MB address space (six chip selects can thus support
6 MB of SRAM and other generic devices.)
XA-H3
Memory Controller
SRAM Controller
Dynamic Bus Sizing
Dynamic Bus Timing
The Memory Interface can be programmed to support both Intel
style and 68000 bus style SRAMs and peripherals.
CS5 (or P3.1, RTS1)
CS4
(or P3.0, RTClk1)
CS3
CS2
CS1
CS0
A19–A0
D15–D0
ClkOut
BHE
BLE
OE
WE
WAIT, SIZE16
SU01238
Figure 3. Memory Bus Interface Signal Pins
Bus Interface Pins
For the following discussion, see Figure 3.
Chip Select Pins
There are six chip select pins (CS5 – CS0)mapped to six sets of
bank control registers. The following attributes are individually
programmable for each bank and associated chip select : bank
WARNING: On the external bus, ALL XA-H3 reads are 16-bit Reads. If the CPU instruction only specifies 8-bits, then the CPU uses the appropriate
byte, and discards the extra byte. Thus “8-Bit Reads” and “16-Bit Reads” appear to be identical on the bus. On an 8-bit bus, this will appearas two consecutive 8-bit reads even though the CPU instruction specified a byte read.
Some 8-bit I/O devices (especially FIFOs) cannot operate correctly with 2 bytes being Read for a 1 Byte Read. The most common (and least
expensive) solution is to operate these 8-bit devices on a 16-bit bus, and access them in software on all odd byte (or all even byte) boundaries.
An added benefit of this technique is that byte reads are faster than on an 8-bit bus, because only 1 word is fetched (a single read) instead of
2 consecutive bytes.
on/off, address range, external device access time, detailed bus
strobe sequence, and bus width.
Clock Output
The CLKOUT pin allows easier external bus interfacing in some
situations. This output reflects the XTALIn clock input to the XA
(referred to internally as CClk or System Clock), but is delayed to
match the external bus outputs and strobes. The default is for
CLKOUT to be output enabled at reset, but it may be turned off
(tri-state disabled) by software via the MICFG MMR.
WARNING: The capacitive loading on this output must not
exceed 40 pf.
The 16-bit wide RAM does not need the A0 pin from the processor. During byte writes to the RAM, the A0 value will cause
either BLE
Byte Reads, both BLE
or BHE pin to go active from the XA-H3, but not to both. For all Word Writes, Word Reads, Code Fetches, and
This SFR is used to relocate the MMRs. It contains address bits a23 – a16 of the
base address for the 4 kB Memory Mapped Register space. See the User Manual for
using this SFR to relocate the MMRs.
Contains address bits a15 – a12 of the base address for the 4 kB Memory Mapped
Register space.
Contains the CLKOUT Enable bit.
Contains the bits for locking and unlocking the BiCFG Registers.
Contains the size, type, bus width, and enable bits for Memory Bank i.
Contains the base address bits for Memory Bank i.
Contains the timing control bits for Memory Bank i.
EIGHT CHANNEL DMA CONTROLLER
The XA-H3/H4 has eight DMA channels; one Rx DMA channel
dedicated to each UART Receive (Rx) channel, and one Tx DMA
channel dedicated to each UART Transmit (Tx) channel. All DMA
channels are optimized to support memory efficient circular data
buffers in external memory. All DMA channels can also support
traditional linear data buffers.
Transmit DMA Channel Modes
The four Tx channels have three DMA modes specifically designed
for various applications of the attached UARTs. These modes are
summarized in the following table. Full details for all DMA functions
can be found in the DMA chapter of the
Stop on TC Processor loads Byte Count RegisterByte count completed
Periodic
Interrupt
Header in memoryOn stopDMA channel picks up header from memory at end of
(Tx DMA stops)
Loaded by processor into DMA, used by
DMA only to determine the number of
bytes between interrupts. Processor can
calculate the byte count from the DMA
address pointer.
When Byte Counter
reaches zero and is
reloaded by DMA
hardware from the byte
count register.
transmission. If byte count in header is greater than zero,
then DMA transmits the number of bytes specified in the
byte count. If byte count equals 0, then a maskable
interrupt is generated. This process repeats until byte count
in data header is zero. See
Processor loads byte count into DMA. DMA sends that
number of bytes, generates maskable interrupt, and stops.
DMA runs until commanded to stop by processor. CPU
loaded value in Byte Count Register is used to generate
an interrupt for every n bytes. Every time byte counter
rolls over, a new maskable interrupt is generated.
Receive DMA Channel Modes
The Rx DMA channels have two DMA modes specifically designed
for various applications of the attached UARTs. These modes are
summarized in the following table. For full details on implementation
and use, see the
Periodic InterruptLoaded by processor into DMA, used by
Asynchronous
with Character
Time Out
Asynchronous
without interrupt
DMA only to determine the number of
bytes between interrupts. Processor can
calculate the byte count from the DMA
address pointer.
Byte Count can be calculated by software
from the DMA address pointer.
Byte Count can be calculated by software
from the DMA address pointer.
When Byte Counter reaches
zero and is reloaded by DMA
hardware from the byte count
register.
If no character is received
within a specified time out
period, then interrupt.
No interrupt generatedWhenever a new character is received, it is
The DMA channel runs until commanded to
stop by the processor. It generates a
maskable interrupt once per n bytes, where n
is the number written once into the byte count
register by the processor, thus an interrupt is
generated once every n received bytes.
Processor specifies time out period between
incoming characters. If no character is
received within that time, a maskable
interrupt is generated.
moved into the memory buffer – no interrupt
is generated.
Data FIFO 3
Data FIFO 1
Buffer Bound
Address Pointer
Byte Count
Data FIFO 3
Data FIFO 1
Buffer Bound
Address Pointer
Byte Count
Data FIFO 2
Data FIFO 0
DMA Control
Buffer Base
FIFO Control
Rx Time Out
Data FIFO 2
Data FIFO 0
DMA Control
Buffer Base
FIFO Control
Segment
Segment
Rx Channel
Tx Channel
Figure 5. Rx and Tx DMA Registers
DMA Registers
In addition to the 16-bit Global DMA Interrupt Register (which is shared
by all eight DMA channels), each DMA channel has seven control
registers and a four-byte Data FIFO. The four Rx DMA channels have
one additional register, the Rx Character Time Out Register. All DMA
registers can be read and written in Memory Mapped Register (MMR)
space. These registers are summarized below.
1999 Sep 24
SU01240
•Global DMA Interrupt Register (not shown in figure): All DMA
interrupt flags are in this register .
•DMA Control Register: Contains the master mode select and
•Segment Register: Holds A23–A16 (the current segment) of the
24-bit data buffer address.
•Buffer Base Register: Holds a pointer (A15–A8) to the lowest byte
in the memory buffer.
•Buffer Bound Register: Points to the first out-of-bounds address
above a circular buffer.
•Address Pointer Register: Points to a single byte or word in the
data buffer in memory. The 24-bit DMA address is formed by
concatenating the contents of the Segment Register [A23–A16]
with the contents of the Address Pointer Register [A15–A0].
•Byte Count Register: Holds the initial number of bytes to be
transferred. In Tx Chaining mode, this register is not used
because the byte count is brought into the byte counter from
buffer headers in memory.
•FIFO Control & Status Register: Holds the queuing order and
full/empty status for the Data FIFO Registers.
•Data FIFO Registers: A four-byte data FIFO buffer internal to the
DMA channel.
•Rx Char Time Out Register (RxCTOR, Rx DMA channels only):
Holds the initial value for an 8-bit character timeout countdown
timer which can generate an interrupt.
Four UARTS
•Asynchronous transfers up to 230.4 kbps
•5, 6, 7, or 8 data bits per character
•1, 1.5, or 2 Stop bits per character
•Even or Odd parity generate and check
•Parity, Rx Overrun, and Framing Error detection
•Break detection
•Programmable Baud Rate Generator
•Auto Echo and Loopback Modes
I/O Port Output Configuration
Port input/output configurations are the same as standard XA ports:
open drain, quasi-bidirectional, push-pull, and off (off means tri-state
Hi-Z, and allows the pin to be used as an input. WARNING: At
power on time, from the time that power coming up is valid, the
P3.2_Timer0_ResetOut
zero nanoseconds up to 258 system clocks. This is true
independently of whether ResetIn
pin may be driven low for any period from
is active or not.
Power Reduction Modes
The XA-H3 supports Idle and Power Down modes of power
reduction. The idle mode leaves most peripherals running in order to
allow them to activate the processor when an interrupt is generated.
The power down mode stops the oscillator in order to absolutely
minimize power. The processor can be made to exit power down
mode via a reset or one of the external interrupt inputs (INT0 or
INT1). This will occur if the interrupt is enabled and its priority is
higher than that defined by IM3 through IM0. In power down mode,
the power supply voltage may be reduced to the RAM keep-alive
voltage VRAM. This retains the RAM, register, and SFR contents at
the point where power down mode was entered. WARNING: V
must be raised to within the operating range before power down
mode is exited.
DD
Interrupts
In the XA architecture, all exceptions, including Reset, are handled in
the same general exception structure. The highest priority exception is
of course Reset, and it is non-maskable. All exceptions are vectored
through the Exception Vector Table in low memory. Coming out of
Reset, these vectors must be stored in non-volatile memory based at
location 000000. Later in the boot sequence, SRAM or other memory
can be mapped into this address space if desired. There is a feature
in the XA-H3 Memory Controller called “Bank Swap” that supports
replacing the ROM vector table and other low memory with RAM. See
the
XA-H3 User Manual
The XA-H3 has a standard XA CPU Interrupt Controller,
implemented with 15 Maskable Event Interrupts. Event Interrupts
are defined as maskable interrupts usually generated by hardware
events. However, in the XA-H3, 4 of the 15 Event Interrupts are
generated by software writing directly to the interrupt flag bit. These
4 interrupts are referred to as High Priority Software Interrupts.
See the IC25 XA Data Handbook for a full explanation of the
exception structure, including event interrupts, of the XA CPU.
Because the High Priority Software Interrupts are specific to the
XA-H3, they are explained in the
PRELIMINARY AC ELECTRICAL CHARACTERISTICS (5.0 V +/–10%)
Limits
MinMax
All Cycles
F
C
t
C
t
CHCX
t
CLCX
t
CLCH
t
CHCL
t
AVSL
t
CHAH
t
CHAV
t
CHSH
t
CHSL
t
CODH
t
AHDR
t
DIS
t
DIH
t
OHDE
t
CHDV
t
DVSL
t
SHAH
t
SHDH
t
WS
t
WH
13System Clock Period = 1/FC33.33–ns
13XTALIN High TimetC* 0.5–ns
13XTALIN Low TimetC* 0.4–ns
13XTALIN Rise Time–5ns
13XTALIN Fall Time–5ns
AllAddress Valid to Strobe lowtC – 21–ns
AllAddress hold after CLKOUT rising edge
AllDelay from CLKOUT rising edge to address valid–25ns
AllDelay from CLKOUT rising edge to Strobe High
AllDelay from CLKOUT rising edge to Strobe Low
14ClkOut Duty Cycle High (into 40 pF max.) t
10Address hold (A19 – A1 only, not A0) after CS, BLE, BHE rise at end
7, 8, 10, 11Data In Valid setup to ClkOut rising edge25–ns
7, 8, 10, 11Data In Valid hold after ClkOut rising edge
10OE high to XA Data Bus Driver EnabletC – 14–ns
9Clock High to Data Valid–25ns
12Data Valid prior to Strobe LowtC – 23–ns
9, 12Minimum Address Hold Time after strobe goes inactivetC – 25–ns
9, 12Data hold after strobes (CS and BHE/BLE) hightC – 25–ns
15WAIT setup (stable high or low) to CLKOUT rising edge20–ns
15WAIT hold (stable high or low) after CLKOUT rising edge0–ns
NOTE:
1. On a 16-bit bus, if only one byte is being written, then only one of BLE
even address) accesses. BHE
2. The bus timing is designed to make meeting hold time very straightforward without glue logic. On all reads and fetches, in order to meet hold
time, the slave should hold data valid on the bus until the earliest of CS
3. To avoid 3-State fights during read cycles and fetch cycles, do not drive data bus until OE
4. WARNING: ClkOut is specified at 40 pF max. More than 40 pf on ClkOut may significantly degrade the ClkOut waveform. Load capacitance
for all outputs (except ClkOut) = 80 pF.
5. Not all combinations of bus timing configuration values result in valid bus cycles. Please refer to the
6. When code is being fetched on the external bus, a burst mode fetch is used. This burst can be from 2 to 16 bytes long. On a 16-bit bus,
A3 – A1 are incremented for each new word of the burst. On an 8-bit bus, A3 – A0 are incremented for each new byte of the burst code fetch.
7. The MIN value for this parameter is guaranteed by design and is not tested in production to the specified limit. In those cases where a
maximum value is specified in the table for this parameter, it is tested.
System Clock Frequency030MHz
7
7
7
1–ns
121ns
119ns
CHCX
–7 t
CHCX
+3ns
Data Read Only
tC – 12–ns
of Data Read Cycle (not code fetch)
Data Read and Instruction Fetch Cycles
2
0–ns
Write Cycles
Wait Input
or BHE will go active. On an 8-bit bus, BLE goes active for all (odd or
will not go active during any accesses on an 8 bit bus.
, BHE/BLE, OE, goes high (inactive), or until the address changes.
7, 8, 10, 11Data In Valid setup to ClkOut rising edge32–ns
7, 8, 10, 11Data In Valid hold after ClkOut rising edge
NOTE:
1. On a 16-bit bus, if only one byte is being written, then only one of BLE
even address) accesses. BHE
2. The bus timing is designed to make meeting hold time very straightforward without glue logic. On all reads and fetches, in order to meet hold
time, the slave should hold data valid on the bus until the earliest of CS
3. To avoid 3-State fights during read cycles and fetch cycles, do not drive data bus until OE
4. WARNING: ClkOut is specified at 40 pF max. More than 40 pf on ClkOut may significantly degrade the ClkOut waveform. Load capacitance
for all outputs (except ClkOut) = 80 pF.
5. Not all combinations of bus timing configuration values result in valid bus cycles. Please refer to the
6. When code is being fetched on the external bus, a burst mode fetch is used. This burst can be from 2 to 16 bytes long. On a 16-bit bus,
A3 – A1 are incremented for each new word of the burst. On an 8-bit bus, A3 – A0 are incremented for each new byte of the burst code fetch.
7. The MIN value for this parameter is guaranteed by design and is not tested in production to the specified limit. In those cases where a
maximum value is specified in the table for this parameter, it is tested.
= –40°C to +85°C ( industrial )
amb
Limits
MinMax
All Cycles
System Clock (internally called CClk) Frequency030MHz
13System Clock Period = 1/FC33.33–ns
13XTALIN High TimetC* 0.5–ns
13XTALIN Low TimetC* 0.4–ns
13XTALIN Rise Time–5ns
13XTALIN Fall Time–5ns
AllAddress Valid to Strobe lowtC – 21–ns
AllAddress hold after CLKOUT rising edge
7
1–ns
AllDelay from CLKOUT rising edge to address valid–30ns
AllDelay from CLKOUT rising edge to Strobe High
AllDelay from CLKOUT rising edge to Strobe Low
14ClkOut Duty Cycle High (into 40 pF max.) t
7
7
128ns
125ns
CHCX
–7 t
CHCX
+3ns
Data Read Only
10Address hold (A19 – A1 only, not A0) after CS, BLE, BHE rise at end
tC – 12–ns
of Data Read Cycle (not code fetch)
Data Read and Instruction Fetch Cycles
2
0–ns
10OE high to XA Data Bus Driver EnabletC – 19–ns
Write Cycles
9Clock High to Data Valid–30ns
12Data Valid prior to Strobe LowtC – 23–ns
9, 12Minimum Address Hold Time after strobe goes inactive
tC – 25
–ns
9, 12Data hold after strobes (CS and BHE/BLE) hightC – 25–ns
Wait Input
15WAIT setup (stable high or low)prior to CLKOUT rising edge25–ns
15WAIT hold (stable high or low) after CLKOUT rising edge0–ns
or BHE will go active. On an 8-bit bus, BLE goes active for all (odd or
will not go active during any accesses on an 8-bit bus.
, BHE/BLE, OE, goes high (inactive), or until the address changes.
Figure 9. Write ( byte write on 8-bit bus, or all writes on 16-bit bus )
A0
t
CHSL
t
AVSL
Note 3
t
DIS
Driven by XADriven by XA
Note 2
t
CHAV
t
CHSH
t
DIS
Note 2
t
DIH
t
OHDE
SU01278
t
AHDR
On all cycles on 8-bit bus, BHE remains high (inactive)
Note: On the external bus, ALL XA-H4 reads are 16-bit reads. If the CPU instruction only specifies 8-bits, then the CPU uses the appropriate byte, and discards the
WARNING: Some 8-bit I/O devices (especially FIFOS) cannot operate correctly with 2 bytes being read for a one byte read. The most common (and least expensive)
solution is to operate these 8-bit devices on a 16-bit bus, and access them in software on all odd byte (or all even byte) boundaries. An added benefit of this technique is that byte reads are faster than on an 8-bit bus, because only 1 word is fetched (a single read) instead of 2 consecutive bytes.
1999 Sep 24
extra byte. Thus, “8-Bit Reads” and “16-Bit Reads” appear to be identical on the bus. On an 8-bit bus, this will appear as two consecutive 8-bit reads even
though the CPU will only use one of the two bytes.
WARNING: ClkOut is specified into 40 pF max, do not overload.
Figure 14. ClkOut Duty Cycle
t
CLCX
t
CHCX
t
CLCH
t
C
SU01146
SU01147
ClkOut
WAIT
t
WS
tWS – Setup time of WAIT to rising edge of ClkOut.
tWH – Hold time of WAIT after ClkOut High.
Figure 15. External WAIT Pin T iming
t
WH
SU01148
1999 Sep 24
33
Page 34
Philips SemiconductorsPreliminary specification
CMOS 16-bit highly integrated microcontroller
LQFP100: plastic low profile quad flat package; 100 leads; body 14 x 14 x 1.4 mmSOT407-1
XA-H3
1999 Sep 24
34
Page 35
Philips SemiconductorsPreliminary specification
CMOS 16-bit highly integrated microcontroller
NOTES
XA-H3
1999 Sep 24
35
Page 36
Philips SemiconductorsPreliminary specification
CMOS 16-bit highly integrated microcontroller
Data sheet status
Data sheet
status
Objective
specification
Preliminary
specification
Product
specification
Product
status
Development
Qualification
Production
Definition
This data sheet contains the design target or goal specifications for product development.
Specification may change in any manner without notice.
This data sheet contains preliminary data, and supplementary data will be published at a later date.
Philips Semiconductors reserves the right to make changes at any time without notice in order to
improve design and supply the best possible product.
This data sheet contains final specifications. Philips Semiconductors reserves the right to make
changes at any time without notice in order to improve design and supply the best possible product.
[1]
XA-H3
[1] Please consult the most recently issued datasheet before initiating or completing a design.
Definitions
Short-form specification — The data in a short-form specification is extracted from a full data sheet with the same type number and title. For
detailed information see the relevant data sheet or data handbook.
Limiting values definition — Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 134). Stress above one
or more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation of the device at these or
at any other conditions above those given in the Characteristics sections of the specification is not implied. Exposure to limiting values for extended
periods may affect device reliability.
Application information — Applications that are described herein for any of these products are for illustrative purposes only. Philips
Semiconductors make no representation or warranty that such applications will be suitable for the specified use without further testing or
modification.
Disclaimers
Life support — These products are not designed for use in life support appliances, devices or systems where malfunction of these products can
reasonably be expected to result in personal injury . Philips Semiconductors customers using or selling these products for use in such applications
do so at their own risk and agree to fully indemnify Philips Semiconductors for any damages resulting from such application.
Right to make changes — Philips Semiconductors reserves the right to make changes, without notice, in the products, including circuits, standard
cells, and/or software, described or contained herein in order to improve design and/or performance. Philips Semiconductors assumes no
responsibility or liability for the use of any of these products, conveys no license or title under any patent, copyright, or mask work right to these
products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless
otherwise specified.
Philips Semiconductors
811 East Arques Avenue
P.O. Box 3409
Sunnyvale, California 94088–3409
Telephone 800-234-7381
Copyright Philips Electronics North America Corporation 1999
All rights reserved. Printed in U.S.A.
Date of release: 09-99
Document order number:9397 750 06431
1999 Sep 24
36
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.