Preliminary specification
Supersedes data of 1999 Feb 23
IC25 Data Handbook
1999 Mar 29
Page 2
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
GENERAL DESCRIPTION
The XA-SCC device is a member of Philips’ XA (eXtended
Architecture) family of high performance 16-bit single-chip
microcontrollers.
The XA-SCC includes a complete onboard DRAM controller capable
of supporting up to 32MegaBytes of DRAM.
The XA-SCC device combines many powerful communications
oriented peripherals on one chip. 4 Full Function SCC’s, 8 DMA
channels (2 per SCC), hardware autobaud up to 921.6Kbps, IDL
TDM interface, two timers/counters, 1 watchdog timer, and multiple
general purpose I/O ports. It is suited for many high performance
embedded communications functions, including ISDN terminal
adaptors and Asynchronous Muxes.
SPECIFIC FEATURES OF THE XA-SCC
•3.3V to 5.5V operation to 30MHz over the industrial temperature
range, available in 100 pin LQFP package.
•4 onboard SCC’s for 2B+D plus Asynch port, or any combination
of 4 sync/async ports. Industry standard IDL and SCP interfaces
for glueless connection to U-Chip or S/T chip. Sync data rates to
4Mbps. Asynch data rates to 921.6Kbps with/without autobaud.
•Complete onboard DRAM controller supports 5 banks of up to
8MBytes each. Interfaces without glue chips to most industry
standard DRAMs.
•Memory controller also generates 6 chip selects to support
SRAM, ROM, Flash, EPROM, peripheral chips, etc. without
external glue.
•Supports off-chip addressing up to 32 MB (2 x 2**24 address
spaces) in Harvard architecture, or 16MB in unified memory
configuration.
•A clock output reference “ClkOut” is added to simplify external bus
interfacing.
•High performance 8-channel DMA Controller offloads the CPU for
moving data to/from SCC’s and memory .
•Two standard counter/timers with enhanced features (same as
XA-G3 T0, T1). Both timers have a toggle output capability.
•Watchdog timer .
•Seven standard software interrupts, plus four High Priority
Software Interrupts, plus 7 levels of Hardware Event Interrupts.
•Active low reset output pin indicates all internal reset occurrences
(watchdog reset and the RESET instruction). A reset source
register allows program determination of the cause of the most
recent reset.
•32 General Purpose I/O pins, each with 4 programmable output
configurations.
•Power saving operating modes: Idle and Power-Down. Wake-Up
from power-down via an external interrupt is supported.
ORDERING INFORMATION
ROMless OnlyTEMPERATURE RANGE °C AND PACKAGEFREQ (MHz)PACKAGE DRAWING NUMBER
PXASCCKFBE–40 to +85, 100-pin Low Profile Quad Flat Pkg. (LQFP)30SOT407-1
Address lines output during various DRAM CAS cycles are shown in parentheses.
See DRAM controller for details.
1999 Mar 29
3
SU01120
Page 4
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
LOGIC SYMBOL
V
V
DD
SS
MISC.SCC1PORT3
Int2
CS4, RAS4
CS5, RAS5
ResetOut, Timer0
Timer1
Int1
Int0
CD1
RTClk1
RTS1
BRG1, Sync1
CTS1
RxD1
TxD1
TRClk1
3.0
3.1
3.2
3.3
3.4
3.5
3.6
3.7
XTAL1
XTAL2
CS3, RAS3
CS2, RAS2
CS1, RAS1
CS0
L1TxD
L1RxD
L1RQ
L1GR
L1SY1
SDS1
L1Clk
SCC3
RxD3
TxD3
RTClk3
ComClk, TRClk3
CD3
CTS3
RTS3
BRG3, Sync3
SCC2
RxD2
TxD2
RTClk2
TRClk2
CD2
CTS2
RTS2
BRG2, Sync2
TxD0
RxD0
BRG0, Sync0
RTS0
CTS0
CD0
TRClk0
RTClk0
PORT2
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
PORT1
1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
PORT0SCC0IDL
0.0SDS2
0.1
0.2
0.3
0.4
0.5
A19 – A0 ( DRAM A22 – A0)
D15 – D0
ClkOut
CASH, BHE
CASL, BLE
OE
WE
Wait, Size16
ResetIn
1999 Mar 29
SCPTx
SCPRx
SCPClk
0.6
0.7
SU01121
4
Page 5
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
BLOCK DIAGRAM
XA CPU
EXTERNAL
MEMORY
and I/O
BUS
NOTE:
Main Communications Data paths shown in bold.
MIF and
DRAM
CONTROLLER
DMA
CHANNELS
x8
INTERRUPT
CONTROLLER
AUTOBAUD
SCCs x4
2047
v.54
x2
256 BYTES
RAM
x4
IDL
INTERFACE
Figure 1. XA-SCC Block Diagram
RESET
CONTROL &
STATUS
SCP
INTERFACE
TIMERS 0,1
WATCHDOG
TIMER
PORTS and
PIN
FUNCTION
MUX
SCP PORT
GPIO
IDL and
NMSI
PORTS
SU01122
1999 Mar 29
5
Page 6
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
PIN DESCRIPTIONS
MNEMONIC
V
SS
V
DD
ResetIn55IReset: A low on this pin resets the microcontroller, causing I/O ports and peripherals to take on their
WAIT/Size1652IWait/Size16: During Reset, this input determines bus size for boot device (1 = 16 bit boot device,
XTALIn60ICrystal 1: Input to the inverting amplifier used in the oscillator circuit and input to the internal clock
XTALOut61ICrystal 2: Output from the oscillator amplifier.
CS049OChip Select 0: This output provides the active low chip select to the boot device (usually ROM or
CS1_RAS148OChip Select 1 , RAS 1: Chip selects 1 through 5 come out of reset disabled. They can be programmed
CS2_RAS247OCS2 , RAS 2: Active low chip selects CS1 through CS5 come out of reset disabled. They can be
CS3_RAS346OCS3, RAS 3: See chip select 2 for description.
see pins 56,57 for 2 more chip
WE50OWrite Enable: Goes active low during all bus write cycles only.
OE51OOutput Enable: Goes active low during all bus read cycles only.
BLE_CASL54OByte Low Enable or CAS_Low_Byte: Goes active low during all bus cycles that access D7–D0, read
BHE_CASH53OByte High Enable or CAS_High_Byte: Goes active low during all bus cycles that access D15–D8,
ClkOut45OClock Output: This pin outputs a buffered version of the internal CPU clock. The clock output may be
A19–A024–21,
D15–D042–30,
1
P0.0
1
P0.1
1
P0.2
1
P0.3
1, 2
P0.4
LQFP
PIN NO.
1, 19,
TYPENAME AND FUNCTION
IGround: 0V reference.
28, 44,
59, 76,
88
2, 20,
IPower Supply: This is the power supply voltage for normal, idle, and power down operation.
29, 43,
62, 77,
89
default states, and the processor to begin execution at the address contained in the reset vector.
0 = 8 bit.) During normal operation this is the Wait input (1 = Wait, 0 = Proceed.)
generator circuits.
Flash.) It cannot be connected to DRAM. From reset, it is enabled and mapped to an address range
based at 000000h. It can be remapped to a higher base in the address map (see the Memory Interface
chapter in the XA-SCC User Manual.)
to function as normal chip selects, or as RAS strobes to DRAM. CS1 can be “swapped” with CS0
(see the SWAP operation and control bit in the Memory Controller chapter of the XA-SCC
User Manual.) CS1 is usually mapped to be based at 000000h eventually, but is capable of being based
anywhere in the 16MB space.
programmed to function as normal chip selects, or as RAS strobes to DRAM. CS2 through CS5 are
not used with the “SWAP” operation (see Memory Controller chapter in the XA-SCC User Manual.)
They are mappable to any region of the 16MB address space.
selects
or write, Generic or DRAM. Functions as CAS during DRAM cycles.
read or write, Generic or DRAM. Functions as CAS during DRAM cycles.
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 40pF.
OAddress[19:0]: These address lines output a19–a0 during generic (SRAM etc) bus cycles. DRAMs are
18–3
connected only to pins 22,21, 18–10 (pins A17 to A7; see User Manual MIF Chapter for connecting
various DRAM sizes); the appropriate address values are multiplexed onto these 11 pins for RAS and
CAS during DRAM bus cycles.
I/OData[15:0]: Bi-directional data bus, D15–D0.
27–25
90I/OP0.0_Sync0_BRG0_SDS2: Port 0 Bit 0, or SCC0 Sync input or output, or SCC0 BRG output, or SCC0
TxClk output, or IDL SDS2 output.
91I/OP0.1_RTS0_L1RQ: Port0 Bit1 , or SCC0 RTS (Request to send) output, or IDL L1RQ (D Channel
Request) output.
92I/OP0.2_CTS0_L1GR: Port 0 Bit2, or SCC0 CTS (Clear to Send) input or IDL L1GR (D Channel Grant)
input
93I/OP0.3_CD0_L1SY1: Port 0 Bit 3, or SCC0 Carrier Detect input, or IDL Sync input.
94I/OP0.4_TRClk0_SDS1: Port 0 Bit 4, or SCC0 TR clock input, or IDL SDS1 output.
1999 Mar 29
6
Page 7
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
MNEMONICNAME AND FUNCTIONTYPE
1, 2
P0.5
1
P0.6
1
P0.7
LQFP
PIN NO.
95I/OP0.5_RTClk0_L1Clk: Port 0 Bit 5, or SCC0 RT clock input, or IDL Clock input.
99I/OP0.6_SCPTx: Port 0 Bit 6, or SCP interface Transmit data output.
100I/OP0.7_SCPRx: Port 0 Bit 7, or SCP interface Receive data input.
TxD0_L1TxD96OTxD0_L1Txd: Transmit data for SCC0 in NMSI mode, or for IDL bus
RxD0_L1RxD97IRxD0_L1Rxd: Receive data for SCC0 in NMSI mode, or for IDL bus
SCPClk98OSCPClk: This output provides the gated clock for the SCP bus.
P1.068I/OP1.0_RxD2: Port 1 Bit 0, or SCC2 RxD input
P1.169I/OP1.1_TxD2: Port 1 Bit 1, or SCC2 TxD output
2
P1.2
P1.3
2
70I/OP1.2_RTClk2: Port 1 Bit 2, or SCC2 RT Clock input
71I/OP1.3_TRClk2: Port 1 Bit 3, or SCC2 TR Clock input
P1.472I/OP1.4_CD2: Port 1 Bit 4, or SCC2 Carrier Detect input
P1.573I/OP1.5_CTS2: Port 1 Bit 5, or SCC2 Clear To Send input
P1.674I/OP1.6_RTS2: Port 1 Bit 6, or SCC2 Request To Send output
P1.775I/OP1.7_BRG2_Sync2: Port 1 Bit 7, or SCC2 Sync input or output, or BRG output, or TxClk output (see
SCC clocks diagrams in User Manual Chp 5)
P2.080I/OP2.0_RxD3: Port 2 Bit 0, or SCC3 Rx Data input
P2.181I/OP2.1_TxD3: Port 2 Bit 1, or SCC3 Tx Data output
2
P2.2
P2.3
2
82I/OP2.2_RTClk3: Port 2 Bit 2, or SCC3 RT Clock input
83I/OP2.3_ComClk_TRClk3: Port 2 Bit 3, or SCC3 TR Clock input
P2.484I/OP2.4_CD3: Port 2 Bit 4, or SCC3 Carrier Detect input
P2.585I/OP2.5_CTS3: Port 2 Bit 5, or SCC3 Clear To Send input
P2.686I/OP2.6_RTS3: Port 2 Bit 6, or SCC3 Request To Send output
P2.787I/OP2.7_Sync3_BRG3: Port 2 Bit 7, or SCC3 Sync input or output, or BRG output, or TxClk output (see
SCC clocks diagrams in User Manual Chp 5)
2
P3.0
56I/OP3.0_CS4_RAS4_RTClk1: Port 3 Bit 0, or CS4 or RAS4 output, or SCC1 RT Clock input
P3.157I/OP3.1_CS5_RAS5_RTS1: Port 3 Bit 1, or CS5 or RAS5 output, or SCC1 Request To Send output
P3.258I/OP3.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-SCC 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 0ns to 258 system clocks, starting at the time that V
pin does not affect this pulse.
ResetIn
is valid. The state of the
CC
When used as GPIO, this pin can also be driven low by software without resetting the XA-SCC.
P3.363I/OP3.3_Timer1_BRG1_Sync1: Port 3 Bit 3, or Timer1 input or output, or SCC1 BRG output, or SCC1
Sync input or output
P3.464I/OP3.4_CTS1: Port 3 Bit 4, or SCC1 Clear To Send input
P3.565I/OP3.5_RxD1: Port 3 Bit 5, or SCC1 Receive Data input
P3.666I/OP3.6_TxD1: Port 3 Bit 6, or SCC1 Transmit Data output
2
P3.7
67I/OP3.7_Int1_TRClk1: Port 3 Bit 7, or External Interrupt1 input, or SCC1 TR Clock input
CD1_Int278ICD1_Int2: SCC1 Carrier Detect, or External Interrupt 2
Int0
79IExternal Interrupt 0
NOTES:
1. See XA-SCC User Guide “Pins Chapter” for how to program selection of pin functions.
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 Mar 29
7
Page 8
Philips SemiconductorsPreliminary specification
BTRL = 40h in that order. Follow these two writes with five NOPS. This is not the
XA-SCCCMOS 16-bit communications microcontroller
CONTROL REGISTER OVERVIEW
There are two types of control registers in the XA-SCC, 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 the
Table below.
SFRs are accessed by “direct addressing” only (see IC25 XA User
Manual for direct addressing.) The MMRs are specific to the
XA-SCC on board 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 MIF chapter
in the XA-SCC User Manual for details on how to relocate the
MMRs by writing a new base address into the MRBL and MRBH
(MMR Base Low and High) registers.
Table 1. Special Function Registers (SFR)
SFR
NAMEDESCRIPTION
BCRBus Configuration Reg
BTRHBus Timing Reg High469hWARNING—Immediately after reset, always write BTRH = 51h, followed by writing
BTRLBus Timing Reg Low468h
MRBL#MMR Base Address Low496hMA15MA14MA13MA12–––MRBEx0h
MRBH#MMR Base Address High497hMA23MA22MA21MA20MA19MA18MA17MA16xx
MICFG#ClkOut Tri-St Enable
* SFRs marked with an asterisk (*) are bit addressable.
# SFRs marked with a pound sign (#) are additional SFR registers specific to the XA-SCC.
1. The XA-SCC implements an 8-bit SFR bus, as stated in Chapter 8 of the IC25 Data Handbook XA User Guide. All SFR accesses must be
8-bit operations. Attempts to write 16 bits to an SFR will actually write only the lower 8 bits. Sixteen bit SFR reads will return undefined data
in the upper byte.
2. Unimplemented bits in SFRs are X (unknown) at all times. Ones 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.
3. 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-SCC SFR bits that are guarded in this manner are: TF1, TF0, IE1, and IE0 (in TCON), and WDTOF (in
WDCON).
4. 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 XA-SCC User Manual about P3.2_Timer0_ResetOut
pin during first 258 clocks after
power 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 VCC power up.
5. SFR is loaded from the reset vector.
6. F1, F0, and P reset to 0. All other bits are loaded from the reset vector.
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 XA-SCC User Manual for details; RSTSRC[7] differs in function from most other XA derivatives.
8. The WDCON reset value is E6 for a Watchdog reset, E4 for all other reset causes.
1999 Mar 29
10
Page 11
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
Table 2. Memory Mapped Registers
MMR Name
SCC0 Write Register 0R/W8800hCommand register00h
SCC0 Write Register 1R/W8802hTx/Rx Interrupt & data transfer modexx
SCC0 Write Register 2R/W8804hExtended Features Controlxx
SCC0 Write Register 3R/W8806hReceive Parameter and Control00h
SCC0 Write Register 4R/W8808hTx/Rx misc. parameters & mode00h
SCC0 Write Register 5R/W880AhTx. parameter and control00h
SCC0 Write Register 6R/W880ChSync character or SDLC address field or Match
SCC0 Write Register 7R/W880EhSync character or SDLC flag or Match Character 1xx
SCC0 Write Register 8R/W8810hTransmit Data Bufferxx
SCC0 Write Register 9R/W8812hMaster Interrupt controlxx
SCC0 Write Register 10R/W8814hMisc. Tx/Rx control register00h
SCC0 Write Register 1 1R/W8816hClock Mode Controlxx
SCC0 Write Register 12R/W8818hLower Byte of Baud rate time constant00h
SCC0 Write Register 13R/W881AhUpper Byte of Baud rate time constant00h
SCC0 Write Register 14R/W881ChMisc. Control bitsxx
SCC0 Write Register 15R/W881EhExternal/Status interrupt controlf8h
SCC0 Write Register 16R/W8828hMatch Character 2 (WR16)00h
SCC0 Write Register 17R/W882AhMatch Character 3 (WR17)00h
SCC0 Read Register 0RO8820hTx/Rx buffer and external status—
SCC0 Read Register 1RO8822hReceive condition status/residue code—
Reserved—do not write824h—
SCC0 Read Register 3RO8826hInterrupt Pending Bits—
see WR16 and 17828–82Ah see WR16 and WR17 above—
SCC0 Read Register 6RO882ChSDLC byte count low register—
SCC0 Read Register 7RO882EhSDLC byte count high & FIFO status—
SCC0 Read Register 8RO8830hReceive Buffer—
Reserved832h—
SCC0 Read Register 10RO8834hLoop/clock status—
Reserved836–83Eh—
SCC1 Write Register 0R/W8840hCommand register00h
SCC1 Write Register 1R/W8842hTx/Rx Interrupt & data transfer modexx
SCC1 Write Register 2R/W8844hExtended Features Controlxx
SCC1 Write Register 3R/W8846hReceive Parameter and Control00h
SCC1 Write Register 4R/W8848hTx/Rx misc. parameters & mode00h
SCC1 Write Register 5R/W884AhTx. parameter and control00h
SCC1 Write Register 6R/W884ChSync character or SDLC address field or Match
SCC1 Write Register 7R/W884EhSync character or SDLC flag or Match Character 1xx
SCC1 Write Register 8R/W8850hTransmit Data Bufferxx
SCC1 Write Register 9R/W8852hMaster Interrupt controlxx
SCC1 Write Register 10R/W8854hMisc. Tx/Rx control register00h
SCC1 Write Register 1 1R/W8856hClock Mode Controlxx
SCC1 Write Register 12R/W8858hLower Byte of Baud rate time constant00h
Read/Write or
Read Only
Address
Size
Offset
SCCO Registers
SCC1 Registers
Character 0
Character 0
Description
Reset
Value
00h
00h
1999 Mar 29
11
Page 12
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
MMR Name
SCC1 Write Register 13R/W885AhUpper Byte of Baud rate time constant00h
SCC1 Write Register 14R/W885ChMisc. Control bitsxx
SCC1 Write Register 15R/W885EhExternal/Status interrupt controlf8h
SCC1 Write Register 16R/W8868hMatch Character 2 (WR16)00h
SCC1 Write Register 17R/W886AhMatch Character 3 (WR17)00h
SCC1 Read Register 0RO8860hTx/Rx buffer and external status—
SCC1 Read Register 1RO8862hReceive condition status/residue code—
Reserved864h—
SCC1 Read Register 3RO8866hInterrupt Pending Bits—
see WR16 and 17868–86Ah see WR16 and WR17 above—
SCC1 Read Register 6RO886ChSDLC byte count low register—
SCC1 Read Register 7RO886EhSDLC byte count high & FIFO status—
SCC1 Read Register 8RO8870hReceive Buffer—
Reserved872h—
SCC1 Read Register 10RO8874hLoop/clock status—
Reserved876–87Eh—
SCC2 Write Register 0R/W8880hCommand register00h
SCC2 Write Register 1R/W8882hTx/Rx Interrupt & data transfer modexx
SCC2 Write Register 2R/W8884hExtended Features Controlxx
SCC2 Write Register 3R/W8886hReceive Parameter and Control00h
SCC2 Write Register 4R/W8888hTx/Rx misc. parameters & mode00h
SCC2 Write Register 5R/W888AhTx. parameter and control00h
SCC2 Write Register 6R/W888ChSync character or SDLC address field or Match
SCC2 Write Register 7R/W888EhSync character or SDLC flag or Match Character 1xx
SCC2 Write Register 8R/W8890hTransmit Data Bufferxx
SCC2 Write Register 9R/W8892hMaster Interrupt controlxx
SCC2 Write Register 10R/W8894hMisc. Tx/Rx control register00h
SCC2 Write Register 1 1R/W8896hClock Mode Controlxx
SCC2 Write Register 12R/W8898hLower Byte of Baud rate time constant00h
SCC2 Write Register 13R/W889AhUpper Byte of Baud rate time constant00h
SCC2 Write Register 14R/W889ChMisc. Control bitsxx
SCC2 Write Register 15R/W889EhExternal/Status interrupt controlf8h
SCC2 Write Register 16R/W88A8hMatch Character 2 (wr16)00h
SCC2 Write Register 17R/W88AAhMatch Character 3 (wr17)00h
SCC2 Read Register 0RO88A0hTx/Rx buffer and external status—
SCC2 Read Register 1RO88A2hReceive condition status/residue code—
Reserved8A4h—
SCC2 Read Register 3RO88A6hInterrupt Pending Bits—
see WR16 and 178A8–8AAh see WR16 and WR17 above—
SCC2 Read Register 6RO88AChSDLC byte count low register—
SCC2 Read Register 7RO88AEhSDLC byte count high & FIFO status—
SCC2 Read Register 8RO88B0hReceive Buffer—
Reserved8B2h—
SCC2 Read Register 10RO88B4hLoop/clock status—
Reserved8B6–8BEh—
Read/Write or
Read Only
Address
Size
Offset
SCC2 Registers
Description
Character 0
Reset
Value
00h
1999 Mar 29
12
Page 13
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
MMR Name
SCC3 Write Register 0R/W88C0hCommand register00h
SCC3 Write Register 1R/W88C2hTx/Rx Interrupt & data transfer modexx
SCC3 Write Register 2R/W88C4hExtended Features Controlxx
SCC3 Write Register 3R/W88C6hReceive Parameter and Control00h
SCC3 Write Register 4R/W88C8hTx/Rx misc. parameters & mode00h
SCC3 Write Register 5R/W88CAhTx. parameter and control00h
SCC3 Write Register 6R/W88CChSync character or SDLC address field or Match
SCC3 Write Register 7R/W88CEhSync character or SDLC flag or Match Character 1xx
SCC3 Write Register 8R/W88D0hTransmit Data Bufferxx
SCC3 Write Register 9R/W88D2hMaster Interrupt controlxx
SCC3 Write Register 10R/W88D4hMisc. Tx/Rx control register00h
SCC3 Write Register 1 1R/W88D6hClock Mode Controlxx
SCC3 Write Register 12R/W88D8hLower Byte of Baud rate time constant00h
SCC3 Write Register 13R/W88DAhUpper Byte of Baud rate time constant00h
SCC3 Write Register 14R/W88DChMisc. Control bitsxx
SCC3 Write Register 15R/W88DEhExternal/Status interrupt controlf8h
SCC3 Write Register 16R/W88E8hMatch Character 2 (wr16)00h
SCC3 Write Register 17R/W88EAhMatch Character 3 (wr17)00h
SCC3 Read Register 0RO88E0hTx/Rx buffer and external status—
SCC3 Read Register 1RO88E2hReceive condition status/residue code—
Reserved8E4h—
SCC3 Read Register 3RO88E6hInterrupt Pending Register—
SCC3 Read Register 6RO88EChSDLC byte count low register—
SCC3 Read Register 7RO88EEhSDLC byte count high & FIFO status—
SCC3 Read Register 8RO88F0hReceive Buffer—
Reserved8F2h—
SCC3 Read Register 10RO88F4hLoop/clock status—
Reserved8F6–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 64K data segment00h
Buffer Base Register Ch.0 RxR/W8104hWrap Reload Value for A15 –A8, A7–A0 reloaded
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 64K data segment00h
Buffer Base Register Ch. 1 RxR/W8114hWrap Reload Value for A15 –A8, A7–A0 reloaded
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 64K data segment00h
Buffer Base Register Ch. 2 RxR/W8124hWrap Reload Value for A15 –A8, A7–A0 reloaded
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 64K data segment00h
Buffer Base Register Ch. 3 RxR/W8134hWrap Reload Value for A15 –A8, A7–A0 reloaded
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 64K data segment00h
Buffer Base Register Ch. 0 TxR/W8144hWrap Reload Value for A15 –A8, A7–A0 reloaded
Data FIFO Register Ch.0 TxR/W1614Ch14C = Byte0 = older
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 64K data segment00h
Read/Write or
Read Only
Address
Size
Tx DMA Registers
Offset
Description
interrupt if enabled and byte count exceeded.
11Dh = Byte 1 = younger
11Fh = Byte 3 = younger
to zero by hardware
interrupt if enabled and byte count exceeded.
12Dh = Byte 1 = younger
12Fh = Byte 3 = younger
to zero by hardware
interrupt if enabled and byte count exceeded.
13Dh = Byte 1 = younger
13Fh = Byte 3 = younger
to zero by hardware
interrupt if enabled and byte count exceeded.
14D = Byte 1 = younger
14F = Byte3 = younger
Reset
Value
0000h
00h
00h
00h
00h
00h
0000h
00h
00h
00h
00h
00h
0000h
00h
00h
00h
00h
00h
0000h
0000h
0000h
1999 Mar 29
14
Page 15
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
MMR Name
Buffer Base Register Ch.1 TxR/W8154hWrap Reload V alue for A15–A8, A7–A0 reloaded
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 64K data segment00h
Buffer Base Register Ch.2 TxR/W8164hWrap Reload Value for A15 –A8, A7–A0 reloaded
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 64K 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
VACSR/W8240hV.54 2047 Unit A Control & Status00h
VACFGR/W8241hV.54 2047 Unit A Configuration—
VATCLR/W8242hV.54 2047 Unit A Threshold Cntr Lo—
VATCHR/W8243hV.54 2047 Unit A Threshold Cntr Hi—
VAECR/W8244hV.54 2047 Unit A Error Counter—
VBCSR/W8248hV.54 2047 Unit B Control & Status00h
VBCFGR/W8249hV.54 2047 Unit B Configuration—
VBTCLR/W824AhV.54 2047 Unit B Threshold Cntr Lo—
VBTCHR/W824BhV.54 2047 Unit B Threshold Cntr Hi—
VBECR/W824ChV.54 2047 Unit B Error Counter—
Read/Write or
Read Only
R/W180–1FEh RESERVED for future DMA—
Miscellaneous DMA Registers
V .54/2047 Registers
Size
Address
Offset
Description
to zero by hardware
interrupt if enabled and byte count exceeded.
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.
Reset
Value
00h
0000h
00h
0000h
00h
0000h
1999 Mar 29
15
Page 16
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
MMR Name
SCPCFGR/W8260hSCP Configuration8xh
SCPDR/W8262hSCP Data Bytexx
SCPCSR/W8263hSCP Control & Status00h
BDAEER/W8270hAutobaud Echo Enable00h ..
BDCSR/W8272hAutobaud Control & Status00h ..
B0CFGR/W8280hMIF Bank 0 Config—
B0AMR/W8281hMIF Bank 0 Base Address00h..
B0TMGR/W8282hMIF Bank 0 Timing Params—
B1CFGR/W8284hMIF Bank 1 Config0xh
B1AMR/W8285hMIF Bank 1 Base Addressxxh
B1TMGR/W8286hMIF Bank 1 Timing Paramsxxh
B2CFGR/W8288hMIF Bank 2 Config0xh
B2AMR/W8289hMIF Bank 2 Base Addressxx
B2TMGR/W828AhMIF Bank 2 Timing Paramsxx
B3CFGR/W828ChMIF Bank 3 Config0xh
B3AMR/W828DhMIF Bank 3 Base Addressxx
B3TMGR/W828EhMIF Bank 3 Timing Paramsxx
B4CFGR/W8290hMIF Bank 4 Config0xh
B4AMR/W8291hMIF Bank 4 Base Addressxx
B4TMGR/W8292hMIF Bank 4 Timing Paramsxx
B5CFGR/W8294hMIF Bank 5 Config0xh
B5AMR/W8295hMIF Bank 5 Base Addressxx
B5TMGR/W8296hMIF Bank 5 Timing Paramsxx
MBCLR/W82BEhMIF Memory Bank Configuration Lock Register3Fh
RFSHR/W82BFhMIF Refresh Control00h
MSI Control RegisterR/W162C0hIDL Mode Control Register0000h
DataMask RegisterR/W162C2hIDL Mask Register0000h
Hi-Pri Soft Ints & Pin Mux Control Reg.R/W162D0hControl bits for Hi-Priority Soft Ints, and Pin Mux0000h
XInt2R/W82D2hExternal Interrupt 2 Control00h
Read/Write or
Read Only
SCP Interface Registers
Autobaud Registers
Memory Interface (MIF) Registers
IDL Interface Registers
Miscellaneous Registers
Size
Address
Offset
Description
Reset
Value
1999 Mar 29
16
Page 17
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
FUNCTIONAL DESCRIPTION
The XA-SCC functions are described in the following sections.
Because all blocks are thoroughly documented in either the IC25 XA
Data Handbook, or the XA-SCC User Manual, only brief descriptions
are given in this datasheet, in conjunction with references to the
appropriate document.
XA CPU
The CPU is a 30MHz 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 the MIF (Memory and DRAM 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
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 for details. Many XA derivatives include a
standard XA Timer 2, and standard UARTs. These blocks have been
removed in order to provide other functions on the XA-SCC. There
is no Timer 2, and the UARTs have been replaced with full function
SCCs.
ResetOut
The P3.2_Timer0_ResetOut pin provides an external indication (if
the ResetOut
active low output when an internal reset occurs (internal reset is
Reset instruction or Watchdog time out.) If the ResetOut
enabled, the ResetOut
occurs or the Reset instruction is executed. This signal may be used
to inform other devices in the system that the XA-SCC has been
internally reset. The ResetIn
ResetOut
256 system clocks.
WARNING: At power on time, from the time that power coming up is
valid, the P3.2_Timer0_ResetOut
period from zero nanoseconds up to 258 system clocks. This is true
independently of whether ResetIn is active or not.
function is enabled in the RSRSRC register) via an
function is
pin will be driven low when a Watchdog reset
signal does NOT get passed on to
. When activated, the duration of the ResetOut pulse is
pin may be driven low for any
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
then all resets will be external resets, and will thus appear as
external resets in the reset source register. RSTSRC[7] enables the
ResetOut
Manual for details; RSTSRC[7] differs in function from most other
XA derivatives.
function; 1 = Enabled, 0 = Disabled. See XA-SCC User
function is tied back into the ResetIn pin,
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
pin, see ResetOut in the XA-SCC User Manual.
is enabled the internal reset will
pulse (active low pulse on ResetOut pin.)
Reset
On the XA-SCC there are two pins associated with reset. The
ResetIn
pin provides an external reset into the XA-SCC. The port
pin P3.2_Timer0_ResetOut
Because ResetOut does not reflect ResetIn, the ResetOut pin can
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 XA-SCC User Manual
for a full discussion of the reset functions.
output can be configured as ResetOut.
pin without other PC board
ResetIn
The ResetIn function is the standard XA-G3 ResetIn function. The
ResetIn
signal does NOT get passed on to ResetOut. See the
XA-SCC User Manual for details on reset.
XA CPU
BIU
INTERNAL CPU BUS
EXTERNAL
MEMORY
and I/O BUS
Figure 2. XA CPU Core BIU (Bus Interface Unit)
MIF and
DRAM
CONTROLLER
DMA
CHANNELS
x8
SU01123
1999 Mar 29
17
Page 18
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
RSTRC
BitSymbolFunction
RSTSRC.7 ROENResetOut function enable bit – see XA–SCC User Manual for details
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
DRAM Controller and Memory/IO Bus Interface
(MIF)
In the memory or system bus interface terminology, generic bus
cycles are synonymous with SRAM bus cycles, because these
cycles are designed to service SRAMs, Flash, EEPROM, peripheral
chips, etc. Chip select output pins function as either CS
depending on whether the memory bank has been programmed as
generic or DRAM.
The XA-SCC has a highly programmable memory bus interface with
a complete onboard DRAM controller. Most DRAMs (up to 8MBytes
per RAS
connected to this interface with zero glue chips. The bus interface
provides 6 mappable chip select outputs, five of which can be
programmed to function as RAS
proper address multiplexing for a wide range of DRAM sizes, and
refresh are all generated onboard. The bus timing for each individual
Reg Type and Address = SFR 463h
Not Bit Addressable
ROEN————R_WDR_CMDR_EXT
Bit:
function is tied back into ResetIn pin, RSTSRC will always show external reset ONLY, because external reset always takes precedence over internal reset.
pin), SRAMs, Flash, ROMs, and peripheral chips can be
76543210
input.
Figure 3. RSTSRC Reset Source Register
memory bank or peripheral can be programmed to accommodate
slow or fast devices.
Each memory bank and it’s associated RAS
DRAM mode) output, can be programmed to access up to an
or RAS
strobes to DRAM. CAS generation,
8MByte mappable address space in either EDO or FPM DRAM
modes (up to a total of 16MB of DRAM, or 32MB if 16MB of data
space and 16MB code space is elected. WARNING: Future
XA-SCC derivatives may not support separate code and data
spaces.)
Each memory bank and associated chip select programmed for
“generic” (SRAM, Flash, ROM, peripheral chips, etc) is capable of
supporting a 1Mbyte address space (six chip selects can thus
support 6MB of SRAM and other generic devices.)
The Memory Interface can be programmed to support both Intel
style and 68000 bus style SRAMs and peripherals.
A19–A0 (IF DRAM CYCLE, A22–A0 ARE TIME-MULTIPLEXED FOR RAS/CAS)
MIF
(MEMORY CONTROLLER)
D15–D0
ClkOut
CASH, BHE
CASL, BLE
OE
WE
WAIT, SIZE16
SU01125
Figure 4. Memory Bus Interface Signal Pins
Chip Selects and RAS 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 (or RAS
if
detailed bus strobe sequence, DRAM cycle or generic bus cycle,
DRAM size if DRAM, and bus width. Pin CS0
order to service the boot device, thus CS0
is always generic in
cannot be connected to
DRAM.
DRAM): bank on/off, address range, external device access time,
WARNING: On the external bus, ALL XA-SCC 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” appear to be identical on the bus. On an 8 bit bus, this willappear as 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.
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
1999 Mar 29
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 40pf.
19
Page 20
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
XA–SCC
CS0
CS1
CS2
OE
A19–A0
D15–D0
CS3
BLE
BHE
WE
A17–A9
D15–D0
A17–A8
CS
OE
A16–A0
D7–D0
RAS
CASL
CASH
OE
WE
A8–A0
D15–D0
RAS
CASL
CASH
OE
WE
A9–A0
D15–D0
RAS
CASL
CASH
WE
A15–A1
D15–D0
128K x 8 ROM
256K x 16 DRAM
(HM514260DI)
1M x 16 DRAM
(MT4C1M16C3)
32K x 16 SRAM
NOTE:
During DRAM cycles only, the appropriate CAS Address will be multiplexed onto pins A17–A7 after the assertion or RAS
BLE (CASL). See AC timing diagrams and the XA–SCC User Manual for complete details.
1999 Mar 29
and prior to the assertion of BHE (CASH) and
SU01126
Figure 5. Typical System Bus Configuration
20
Page 21
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
Table 3. Memory Interface Control Registers
Reg
Register Name
Type
Description
MRBH“MMR Base Address”
MRBL“MMR Base Address” LowSFR
MICFGMIF ConfigurationMMR
MBCLMemory Bank
BiCFG
BiAM
BiTMG
RFSH
High
Configuration Lock
Bank i ConfigurationMMR
Bank i Base
Address/DRAM Address
Multiplexer Control
Bank i TimingMMR
Refresh TimingMMR
SFR
8 bits
8 bits
8 bits
MMR
8 bits
8 bits
MMR
8 bits
8 bits
8 bits
This SFR is used to relocate the MMRs. It contains address bits a23–a16 of the
base address for the 4 KByte Memory Mapped Register space. See XA-SCC User
Manual for using this SFR to relocate the MMRs.
Contains address bits a15–a12 of the base address for the 4 KByte 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 and DRAM address multiplex control bits for
Memory Bank i.
Contains the timing control bits for Memory Bank i.
Contains the refresh time constant and DRAM Refresh Timer enable bit.
Eight Channel DMA Controller
The XA-SCC has eight DMA channels; one Rx DMA channel
dedicated to each SCC Receive (Rx) channel, and one Tx DMA
channel dedicated to each SCC 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 four DMA modes specifically designed
for various applications of the attached SCCs. These modes are
summarized in the following table. Full details for all DMA functions
can be found in the DMA chapter of the XA-SCC User Manual.
Header in memoryOn stopDMA channel picks up header from memory at
Header in memoryEnd of packet (not
Register (for each fragment)
Register (only once)
end of fragment)
Byte count completed
(Tx DMA stops)
Each time byte count
completed (Tx DMA
continues)
21
end of 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 XA-SCC User
manual for details.
Same as above, except DMA header
distinguishes between fragment of packet and
full pack. See XA-SCC User manual for details.
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. Everytime byte counter rolls over, a
new maskable interrupt is generated.
Page 22
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
Receive DMA Channel Modes
The Rx DMA channels have four DMA modes specifically designed
for various applications of the attached SCCs. These modes are
DMA stores byte count in header in
memory with data packet.
used only to determine the number
of bytes between interrupts.
Processor can infer 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.
At end of received
packet
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.
When matched
character is stored in
memory.
summarized in the following table. For full details on implementation
and use, see the XA-SCC User Manual.
When a complete or aborted SDLC/HDLC
packet has been received, the packet byte count
and status information are stored in memory with
the packet. A maskable interrupt is generated.
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, interrupt is generated.
There are four match registers, each incoming
character is compared to all four registers. When
a matched character is stored in memory by
DMA, a maskable interrupt is generated.
DATA FIFO 3DATA FIFO 2
DATA FIFO 1DATA FIFO 0
DMA CONTROL
SEGMENT
BUFFER BASE
BUFFER BOUND
ADDRESS POINTER
BYTE COUNT
DATA FIFO 3DATA FIFO 2
DATA FIFO 1DATA FIFO 0
BUFFER BOUND
ADDRESS POINTER
BYTE COUNT
FIFO CONTROL
Rx TIME OUT
DMA CONTROL
SEGMENT
BUFFER BASE
FIFO CONTROL
Rx CHANNEL
Tx CHANNEL
1999 Mar 29
SU01127
Figure 6. Rx and Tx DMA Registers
22
Page 23
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
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.
•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
interrupt enable bits for the channel.
•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.
Quad Serial Communications Controllers with
Autobaud
•Asynchronous features:
– Asynchronous transfers up to 921.6Kbps
– Can monitor input stream for up to four match characters per
receiver
– 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.
– Supports hardware Autobaud detection and response up to
921.6Kbps.
•SDLC/HDLC features:
– Automatic Flag and Abort Character generation and
recognition.
– Automatic CRC generation and checking (can be disabled for
“pass-thru.”)
– Automatic zero-bit insertion and stripping.
– Automatic partial byte residue code generation.
– 14-bit Packet byte count stored in memory with received packet
by DMA.
•Synchronous character oriented protocol features:
– Automatic CRC generation and checking.
– One (Monosync) or two (Bisync) sync characters option.
– External Sync option.
•Programmable Baud Rate Generator, and 7/8 Clock Prescaler
option.
•Auto Echo and Local Loopback modes.
•Supports hardware V.54/2047 generation and checking.
•IDL (2B + D) supported on three SCC channels. Supports both “8
bit” and “10 bit” IDL.
IDL Time Division Multiplexor
SCC0, SCC1, and SCC2 can be internally connected to the on-chip
IDL Interface, a glueless industry standard interface to Layer One
devices such as U-Chips or S/T chips. Thus connected, the three
SCCs can efficiently support the ISDN B1, B2, and D channels,
while the IDL Interface time-multiplexes and demultiplexes the
outgoing and incoming serial data streams.
If software enables the IDL interface, then SCC0 is connected to
IDL. Optionally , the software can also connect SCC1 and SCC2 to
the IDL interface. SCC3 cannot be connected to the IDL interface.
See the IDL chapter in the XA-SCC User Manual.
In Figure 7, SCC0 is connected to IDL because IDL has been
enabled by software. Software, in this example has also connected
SCC1 to IDL, and has bypassed IDL for SCC2. SCC3 cannot be
connected to IDL. If there are pins not being used by any of the
SCCs, software can assign alternate functions to those pins; see the
pin steering logic in the “Pins” appendix of the XA-SCC User
Manual. For complete documentation on the IDL interface, see the
IDL chapter in the XA-SCC User Manual.
SCP Serial Interface Controller
The SCP Interface provides a full duplex, industry standard
synchronous serial communication bus, similar to SPI and
Microwire. SCP can be used to transfer control and status
information to other chips, and for accessing serial flash devices.
See the IDL interface chapter in the XA-SCC User Manual.
1999 Mar 29
23
Page 24
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
PIN
IDL
FUNCTION
MUX
IDL On
SCC 0
SCC 1
SCC 2
SCC 3
Figure 7. IDL Connection Options
Dual v.54 and 2047 Generators/Checkers
One of the two hardware generator/checkers which support the
V .54/2047 line testing standards can be attached to each SCC.
During V .54/2047 line testing sequences, the V.54/2047 units can be
programmed to generate an interrupt when certain error criteria
have been detected on the transmissions lines. The CPU can
determine the quality of the transmission line by reading the
V .54/2047 units’ status registers.
Autobaud Detectors
Each SCC has it’s own Autobaud detector, capable of baud rate
detection up to 921.6Kbaud. The detectors can be programmed to
automatically echo the industry standard autobaud sequences. They
can be programmed to update the necessary control registers in the
SCCs, and turn on the receiver; which in turn will automatically
initiate DMA into memory of received data. Thus, once the baud rate
is determined, reception begins without intervention from the
processor. When the baud rate is detected, a maskable interrupt is
sent to the processor. See the Autobaud chapter in the XA-SCC
User Manual for details.
I/O PORT OUTPUT CONFIGURA TION
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
pin may be driven low for any period from
zero nanoseconds up to 258 system clocks. This is true
independently of whether ResetIn
is active or not.
POWER REDUCTION MODES
The XA-SCC 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.
IDL On
IF IDL ON
IDL PINS,
ELSE
SCC0 PINS
SCC1 PINS
OR GPIO
SCC2 PINS
OR GPIO
SCC3 PINS
OR GPIO
The Pin Function Mux is used to enable
alternate functions on unused pins.
SU01128
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 V
. This retains the RAM, register, and SFR contents at
RAM
the point where power down mode was entered. WARNING: V
must be raised to within the operating range before power down
mode is exited.
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,
DRAM or SRAM can be mapped into this address space if desired.
There is a feature in the XA-SCC Memory Controller called “Bank
Swap” that supports replacing the ROM vector table and other low
memory with RAM. See the XA-SCC User Manual for details.
The XA-SCC 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-SCC, 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-SCC, they are explained in the XA-SCC User Manual.
DD
1999 Mar 29
24
Page 25
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
XA CORE
INTERRUPT CONTROLLER
DMAH
CTS0
CD0
CTS1
CD1_INT2
DMA
INTERRUPTS
SCC0/
SCC1
INT2
DMAL
INTERRUPT
ENABLE/
DISABLE BITS
CTS2
CD2
CTS3
CD3
INT0
INT1
SCC2/
SCC3
AUTOBAUD 3–0
v.54_2047 1–0
SCP INTERFACE
TIMER 0
TIMER 1
HIGH PRIORITY
SOFTWARE INTS
HSWR 3–0
OR
INTERRUPT
MASTER
ENABLE
“EA”
4
TO XA CPU
1999 Mar 29
SU01129
Figure 8. XA-SCC Interrupt Structure Overview
25
Page 26
Philips SemiconductorsPreliminary specification
Interru t Enable
External/Status IP
XA-SCCCMOS 16-bit communications microcontroller
Table 6. SCC0 Interrupts (Interrupt structure is the same except for bit locations for all 4 SCCs)
Software Interrupt 1SWR10100–0103SWE1(fixed at 1)
Software Interrupt 2SWR20104–0107SWE2(fixed at 2)
Software Interrupt 3SWR30108–010BSWE3(fixed at 3)
Software Interrupt 4SWR4010C–010FSWE4(fixed at 4)
Software Interrupt 5SWR50110–01 13SWE5(fixed at 5)
Software Interrupt 6SWR60114–01 17SWE6(fixed at 6)
Software Interrupt 7SWR70118–011BSWE7(fixed at 7)
1999 Mar 29
27
Page 28
Philips SemiconductorsPreliminary specification
SYMBOL
PARAMETER
TEST CONDITIONS
UNIT
I
P
I
P
Idl
XA-SCCCMOS 16-bit communications microcontroller
ABSOLUTE MAXIMUM RATINGS
PARAMETERRATINGUNIT
Operating temperature under bias–55 to +125°C
Storage temperature range–65 to +150°C
Voltage on any other pin to V
SS
Maximum IOL per I/O pin15mA
Power dissipation (based on package heat transfer, not device power consumption)1.5W
PRELIMINARY DC ELECTRICAL CHARACTERISTICS
VDD = 5.0V 10% or 3.3V 10% unless otherwise specified;
Tamb = –40°C to +85°C for industrial, unless otherwise specified.
DD
ower supply current, operating
5.0V, 30 MHz75120mA
3.3V, 30 MHz6380mA
–0.5 to VDD+0.5Vv
LIMITS
MINTYPMAX
5.0V, 30 MHz62100mA
3.3V, 30 MHz5065mA
5.0V, 3.0V500µA
DD
DD
IOL = 3.2mA, VDD = 4.5V0.5V
V
V
V
I
PDI
RAM
V
V
V
V
ID
IL
IH
IH1
OL
ower supply current,
Power supply current, Power Down mode
e mode
1
RAM keep-alive voltage1.5V
Input low voltage–0.50.22V
Input high voltage, except Xtal1, RST2.2V
Input high voltage to Xtal1, RSTFor both 3.0 & 5.0V0.7 V
Output low voltage all ports
8
IOL = 1.0mA, VDD = 3.0V0.4V
V
OH1
Output high voltage, all portsIOH = –100µA, VDD = 4.5V2.4V
IOH = –30µA, VDD = 3.0V2.0V
V
OH2
Output high voltage, all portsIOH = 3.2mA, VDD = 4.5V2.4V
IOH = 1.0mA, VDD = 3.0V2.2V
C
IO
I
IL
I
LI
I
TL
Input/Output pin capacitance15pF
Logical 0 input current, all ports
Input leakage current, all ports
Logical 1 to 0 transition current, all ports
7
6
5
VIN = 0.45V–50µA
VIN = VIL or V
IH
±10µA
At VDD = 5.5V–650µA
At VDD = 3.6V–250µA
NOTES:
must be raised to within the operating range before power down mode is exited.
1. V
DD
2. Ports in quasi-bidirectional mode with weak pullup .
3. Ports in PUSH-PULL mode, both pullup and pulldown assumed to be the same strength.
4. In all output modes.
5. Port pins source a transition current when used in quasi-bidirectional mode and externally driven from 1 to 0. This current is highest when
VIN is approximately 2V .
6. Measured with port in high impedance mode.
7. Measured with port in quasi-bidirectional mode.
8. Under steady state (non-transient) conditions, I
Maximum I
Maximum I
Maximum total I
If I
exceeds the test condition, VOL may exceed the related specification. Pins are not guaranteed to sink current greater than the listed
OL
test conditions.
per port pin:15mA (*NOTE: This is 85°C specification for VDD = 5V.)
OL
per 8-bit port:26mA
OL
for all outputs:71mA
OL
must be externally limited as follows:
OL
1999 Mar 29
28
Page 29
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
PRELIMINARY AC ELECTRICAL CHARACTERISTICS (5.0V 10%)
= 5.0V 10%, T
V
DD
= –40C to +85C (industrial)
amb
1
LIMITS
SYMBOLFIGUREPARAMETERMINMAXUNIT
All Cycles
F
t
C
t
CHCX
t
CLCX
t
CLCH
t
CHCL
t
AVSL
t
CHAH
t
CHAV
t
CHSH
t
CHSL
t
CODH
t
CPWH
t
CPWL
C
13, 14, 16,
20, 21, 22
13, 21CAS Pulse Width LowtC – 10–ns
System Clock Frequency030MHz
25System Clock Period = 1/F
C
33.33–ns
25XTALIN High TimetC* 0.5–ns
25XTALIN Low TimetC* 0.4–ns
25XTALIN Rise Time–5ns
25XTALIN Fall Time–5ns
AllAddress Valid to Strobe lowtC – 21–ns
AllAddress hold after CLKOUT rising edge
9
1–ns
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
26ClkOut Duty Cycle High (into 40pF max.)
(See Warning Note 5 on page 31.)
9
9
t
CHCX
1
1
–7 t
21ns
19ns
+3ns
CHCX
CAS Pulse Width HightC – 12–ns
All DRAM cycles
t
RP
24RAS precharge time, thus minimum RAS high time
8
(n * tC) –16
–ns
note 8
Generic Data Read Only
t
AHDR
9, 16Address hold (A19–A1 only, not A0) after CS, BLE, BHE rise at end
of Generic Data Read Cycle (not code fetch)
tC –12–ns
Data Read and Instruction Fetch Cycles
t
DIS
9, 10,
12–14, 16,
Data In Valid setup to ClkOut rising edge25–ns
17, 20, 21
t
DIH
t
OHDE
10, 12, 13,
16, 20, 21
Data In Valid hold after ClkOut rising edge
OE high to XA Data Bus Driver EnabletC – 14–ns
2
0–ns
Write Cycles
t
CHDV
t
DVSL
t
SHAH
t
SHDH
11, 16Minimum Address Hold Time after strobe goes inactive
Clock High to Data Valid– 25ns
Data Valid prior to Strobe LowtC – 23–ns
tC – 25
–ns
Data hold after strobes (CS and BHE/BLE) hightC – 25–ns
Refresh
t
CLRL
21CAS low to RAS lowtC – 15–ns
Wait Input
t
t
WS
WH
24WAIT setup (stable high or low) to CLKOUT rising edge20–ns
24WAIT hold (stable high or low) after CLKOUT rising edge0–ns
NOTE:
1. See notes after the 3.3V AC timing table.
1999 Mar 29
29
Page 30
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
AC ELECTRICAL CHARACTERISTICS (3.3V 10%)
VDD = 3.3V 10%, T
SYMBOLFIGUREPARAMETER
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
CPWH
t
CPWL
13, 14, 16,
All DRAM cycles
t
RP
Generic Data Read Only
t
AHDR
Data Read and Instruction Fetch Cycles
t
DIS
t
DIH
t
OHDE
12–14, 16,
10, 12, 13,
Write Cycles
t
CHDV
t
DVSL
t
SHAH
t
SHDH
Refresh
t
CLRL
Wait Input
t
WS
t
WH
NOTES:
1. On a 16 bit bus, if only one byte is being written, then only one of BLE
goes active for all (odd or even address) accesses. BHE_CASH will not go active during any accesses on an 8 bit bus.
2. The bus timing is designed to make meeting hold time very straightforward without glue logic. On all generic reads and fetches, in order to
meet hold time, the slave device should hold data valid on the bus until the earliest of CS, BHE/BLE, OE, goes high (inactive), or until the
address changes. On all FPM DRAM reads and fetches, hold data valid on the bus until the earliest of RAS
(inactive.) On all EDO DRAM reads and fetches, hold data valid on the bus until a new CAS
3. To avoid tri-state fights during read cycles and fetch cycles, do not drive data bus until OE
= –40C to +85C (industrial)
amb
LIMITS
MINMAX
25System Clock (internally called CClk) Frequency030MHz
25System Clock Period = 1/FC33.33–ns
25XTALIN High TimetC* 0.5–ns
25XTALIN Low TimetC* 0.4–ns
25XTALIN Rise Time–5ns
25XTALIN Fall Time–5ns
AllAddress Valid to Strobe lowtC – 21–ns
AllAddress hold after CLKOUT rising edge
9
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
26ClkOut Duty Cycle High (into 40pF max.)
(See Warning Note 5 on page 31.)
9
9
128ns
125ns
t
CHCX
–7t
+3ns
CHCX
CAS Pulse Width HightC – 12–ns
20, 21, 22
13, 21CAS Pulse Width LowtC – 10–ns
24RAS precharge time, thus minimum RAS high time
8
(n * tC) –16
–ns
note 8
9, 16Address hold (A19–A1 only, not A0) after CS, BLE, BHE rise at end
tC –12–ns
of Generic Data Read Cycle (not code fetch)
9, 10,
Data In Valid setup to ClkOut rising edge32–ns
17, 20, 21
Data In Valid hold after ClkOut rising edge
2
0–ns
OE high to XA Data Bus Driver EnabletC – 19–ns
16, 20, 21
Clock High to Data Valid–30ns
Data Valid prior to Strobe LowtC – 23–ns
11, 16Minimum Address Hold Time after strobe goes inactivetC – 25–ns
Data hold after strobes (CS and BHE/BLE) hightC – 25–ns
21CAS low to RAS lowtC – 15–ns
24WAIT setup (stable high or low) prior to CLKOUT rising edge25–ns
24WAIT hold (stable high or low) after CLKOUT rising edge0–ns
_CASL or BHE_CASH will go active. On an 8 bit bus, BLE_CASL
, CAS, or OE goes high
is asserted, or until OE goes high (inactive.)
goes active
UNIT
1999 Mar 29
30
Page 31
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
4. To meet hold time, EDO DRAM drives data onto the bus until OE
rises, or until a new falling edge of CAS.
5. WARNING: ClkOut is specified at 40pF max. More than 40pf on ClkOut may significantly degrade the ClkOut waveform. Load capacitance
for all outputs (except ClkOut) = 80pF.
6. Not all combinations of bus timing configuration values result in valid bus cycles. Please refer to the
XA-SCC User Manual
for details.
7. 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.
is specified as the minimum high time (thus inactive) on each of the 5 individual CS_RAS[5:1] pins when such pin is programmed in the
8. t
RP
memory controller to service DRAM. The number of CClks (system clocks) in t
equation in the AC tables. Regardless of what value is programmed into the control register, n will never be less than 2 clocks. Thus at
30MHz system clock, the minimum value for RAS precharge is t
frequency F
9. 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
, is slowed down, tC (system clock period) of course becomes greater, and thus tRP becomes greater.
C
= ((2 * tC) –16) = ((2 * 33.33) – 16) = 50.6ns. As the system clock
RP
is programmable, and is represented by n in the t
RP
RP
maximum value is specified in the table for this parameter, it is tested.
1999 Mar 29
31
Page 32
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
CLKOUT
A0
t
CHAV
A19–A1
t
CHSL
t
CS
BHE/BLE
OE
D15–D0
AVSL
NOTE 3
t
CHSH
t
DIS
NOTE: On Generic Data Reads, A0 can terminate a full clock period before A19–A1,
and therefore should not be used on some peripheral devices.
Figure 9. Generic (SRAM, ROM, Flash, IO Devices, etc.) Read on 16 Bit Bus
CLKOUT
A[19:0]
t
CHAV
ADDRESSADDRESS + 2
t
CHAV
t
AHDR
t
DIH
(NOTE 2)
t
CHAV
t
CHAH
(DOES NOT INCLUDE A0)
ADDRESS + 4
SU01130
t
CHSL
t
NOTE 3
AVSL
t
t
DIS
DIH
NOTE 2
t
DIS
t
DIH
NOTE 2
CS
/BLE
BHE
OE
D[15:0]
NOTE: The processor can prefetch from one to eight words.
NOTE 2: To meet the required Data In Hold time, data should be held on the bus at least until the earliest of CS, BHE, BLE, OE goes high, or until the address changes,
whichever comes first.
DRIVEN BY XA
t
CHSH
t
(NOTE 2)
t
DIS
DIH
Figure 10. Generic Memory (SRAM, ROM, Flash, etc.) Burst Code Fetch on 16 Bit Bus
1999 Mar 29
32
t
OHDE
DRIVEN
BY XA
SU01131
Page 33
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
CLKOUT
t
CS
CHAV
A
t
CHSL
t
AVSL
t
CHSH
t
SHAH
CLKOUT
RAS (CS)
CAS
A
t
CHAV
(BHE/BLE)
BHE/BLE
WE
NOTE 1
t
t
CHDV
D
SHDH
SU01132
Figure 11. Generic (SRAM, IO Devices, etc.) W rite
t
CHAH
RAS ADDRESSCAS ADDRESS
t
CHAV
t
AVSL
t
CHSL
t
CHSH
t
CHSH
t
AVSL
t
CHSL
OE
1999 Mar 29
t
OHDE
t
t
DIS
D
VALID DATA
DIH
NOTE 2
SU01133
Figure 12. DRAM Single Read Cycle
33
Page 34
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
CLKOUT
t
CHAV
CAS ADDRESS + 2
t
CHSH
t
CHAH
t
CHSH
t
CHAV
RAS (CS)
t
CHAH
A
RAS ADDRESSCAS ADDRESS
t
CHAV
tAVSL
t
CHSL
t
CHAH
t
CHSL
CAS (BHE/BLE)
D[15:0]
CLKOUT
RAS
CASL/CASH
D[15:0]
OE
DRIVEN BY XADRIVEN BY SLAVE DEVICE
NOTE 3
t
AVSL
t
CPWH
t
DIS
WORD
(from CAS ADDR)
4 Byte Fetch (1 word = 2 bytes) is shown on 16 bit bus, burst can be 2 to 16 bytes (1 to 8 words.)
Note 4: To meet hold time, EDO DRAM drives valid Data until OE
rises, or until new falling edge of CAS.
Figure 13. DRAM EDO Burst Code Fetch on 16 Bit Bus
t
CHAV
t
CHAH
t
DIS
INSTRUCTION
OE
t
CHAV
A
t
CHSL
t
AVSL
t
CHAV
RAS ADDRESS
t
CHSL
t
CHAH
t
CHSL
t
CAS ADDRESSCAS ADDRESS + 2
AVSL
NOTE 4
t
CHSH
NOTE 2
t
CPWL
t
CPWH
t
DIS
WORD
(from CAS ADDR + 2)
t
OHDE
NOTE 4
SU01134
t
CHAV
t
CHAH
t
CHSH
t
DIS
INSTRUCTION
NOTE 2
NOTE: The processor can prefetch from one to eight words (1 word = 2 bytes)
Figure 14. DRAM FPM (Fast Page Mode) Burst Code Fetch
1999 Mar 29
SU01135
34
Page 35
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
CLKOUT
t
CHAV
A
t
CHDV
t
AVSL
(CS)
RAS
(BHE/BLE)
CAS
WE
D
NOTE: If only one byte is being written, then only the corresponding CAS
both even and odd addressed bytes.
:OE is inactive during all writes.
t
CHAH
RAS ADDRESSCAS ADDRESS
t
CHSL
Figure 15. DRAM Write (on 16 Bit Bus, also 8 Bit Write on 8 Bit Bus)
CLKOUT
t
CHAV
A19–A1
CS
A0
t
EVEN BYTE ADDRESSODD BYTE ADDRESS
t
AVSL
CHSL
t
CHSL
t
AVSL
VALID DATA
t
CHAH
t
CHSH
NOTE 1
t
CHSH
signal goes active. On 8 bit bus, CASH is inactive, and CASL goes active for
t
CHAV
t
AHDR
t
CHSH
SU01136
BLE
OE
D7–D0
On all cycles on 8 bit bus, BHE remains high (inactive).
WARNING: On the external bus, ALL XA–SCC 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 appear as two consecutive 8 bit reads even though the CPU will only use one
of the two bytes.
WARNING: 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.
DRIVEN BY XA
NOTE 3
t
t
DIS
NOTE 2
t
DIS
DIH
NOTE 2
t
OHDE
DRIVEN
BY XA
Figure 16. Generic (SRAM, Flash, I/O Device, etc.) Read (16 Bit or 8 Bit) on 8 Bit Bus
1999 Mar 29
35
SU01137
Page 36
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
ClkOut
t
CHAV
t
CHAV
EVEN ADDRESSADDRESS + 1ADDRESS + 2ADDRESS + 3
t
CHAV
OE, BLE, CS
D[7:0]
NOTES: BHE remains high (inactive) for all accesses on an 8 bit bus.
A burst code fetch can be from 1 to 8 words (1 word = 2 bytes), a 2 word fetch is shown here.
To meet the required Data In Hold time, data should be held on the bus at least until the earliest of CS
first.
NOTE 3
t
t
DIS
DIH
Note 2
t
DIS
t
DIH
Note 2
LS BYTEMS BYTELS BYTEMS BYTE
Figure 17. Burst Code Fetch on 8 bit bus, Generic Memory
ClkOut
t
t
A19–A1
CHAV
A0
CHSL
t
SHAH
t
CHAV
t
CHAV
t
CHSH
t
t
DIS
DIH
Note 2
t
DIS
t
DIH
Note 2
, BLE, OE goes high, or until the address changes, whichever occurs
t
SHAH
t
CHSH
SU01138
CS
BLE, WE
D7–D0
t
OE
is inactive during all writes.
AVSL
t
CHSL
t
SHDH
Figure 18. Generic 16 Bit Write on 8 Bit Bus
t
AVSL
t
DVSL
SU01139
1999 Mar 29
36
Page 37
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
CLKOUT
A
RAS
CASL
(CASH STAYS HIGH)
OE
D[7:0]
t
CHAV
t
CHAV
RAS ADDRESSCAS ADDRESS EVENCAS ADDRESS ODD
t
t
CHSL
t
AVSL
CHAH
t
CHSL
t
CHSL
t
AVSL
t
t
CHAH
t
DIS
LS BYTE
CHAV
t
CHSH
t
DIH
t
CPWH
(NOTE 2)
t
CHAV
t
CHAH
t
DIS
MS BYTE
t
CHSH
NOTE 2
Figure 19. 16 Bit Read on 8 Bit Bus, DRAM (both FPM and EDO)
1 23456789101112131415
ClkOut
t
t
CHSL
CHSL
t
AVSL
CHAH
CAS ADDR
(EVEN)
t
DIS
t
CHSH
(NOTE 2)
DIH
CAS ADDR
(ODD)
t
CPWH
CAS ADDR
(EVEN)
LS BYTEMS BYTELS BYTEMS BYTE
t
CHAV
CASL
D7–D0
RAS
OE
A
RAS ADDR
t
AVSL
t
4 Byte Fetch is shown on 8 bit bus, burst can be 2 to 16 bytes.
Data bus is sampled on the rising edge of clock 6, and every three clocks thereafter (clocks 6, 9, 12, and 15 in this example).
NOTE 2: If data is held valid on the bus until the earliest of CAS
, RAS, or OE rises, then the hold time is met.
Figure 20. DRAM FPM (Fast Page Mode) Burst Code Fetch on 8 Bit Bus
CAS ADDR
(ODD)
(NOTE 2)t
t
DIH
t
CHSH
t
CHSH
SU01140
t
OHDE
SU01141
1999 Mar 29
37
Page 38
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
123456789101112
ClkOut
t
CHAH
RAS ADDRESS
t
AVSL
CAS ADDR
(EVEN)
t
CHSL
t
AVSL
t
CHSH
t
CHSL
t
DIS
DRIVEN BY SLAVELS BYTE
CAS ADDR
(ODD)
t
CPWL
CAS ADDR
t
CPWH
(EVEN)
CAS ADDR
(ODD)
NOTE 4
MS BYTELS BYTEMS BYTE
t
CHSH
t
CHSH
NOTE 4
t
OHDE
CASL
D7–D0
t
RAS
OE
CHAV
A
NOTE 3
DRIVEN
BY XA
4 Byte Fetch is shown on 8 bit bus, burst can be 2 to 16 bytes.
NOTE 4: To meet hold time, EDO DRAM drives Data until OE rises, or until a new falling edge of CAS.
Data Bus is sampled on rising edge of clock 6, and every 2 clocks thereafter (clocks 6, 8, 10, and 12 in this example).
Figure 21. EDO DRAM Burst Code Fetch on 8 Bit Bus
CLKOUT
RAS
(CS)
CASL
t
CHAV
A
RAS ADDRESSCAS ADDRESS (EVEN)CAS ADDRESS (ODD)
t
CHSL
t
AVSL
t
CHSL
t
CHAV
t
t
CHAH
CHSL
t
AVSL
t
CHAH
t
CHAV
WE
t
DVSL
D[7:0]
LS BYTE
Figure 22. DRAM 16 Bit Write on 8 Bit Bus (FPM or EDO DRAMs)
t
CHSH
t
CPWH
t
DVSL
MS BYTE
t
CHAH
t
CHSH
t
CHAV
SU01142
SU01143
1999 Mar 29
38
Page 39
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
CLKOUT
t
CHSL
t
RAS
t
CLRL
CHSH
CASH, CASL
RAS and CAS terminate together. The active low portion of RAS can be programmed to last from 3 to 6 clock cycles.
The high portion of RAS
after Refresh can be programmed to last from 2 to 4 clock cycles. See Chapter 3 of
Figure 23. REFRESH
t
RP
RAS
NOTE: tRP min. is specified for each of the 5 individual RAS pins (CS_RAS[5:1]).
It is the minimum high time (thus RAS
inactive) between two DRAM bus cycles on the same RAS pin.
Figure 24. RAS Precharge Time
VDD – 0.5
XTALIN
0.45 V
0.2 V
0.7 V
DD
DD
– 0.1
t
CHCL
t
CLCX
XA–SCC User Manual
t
CHCX
t
CLCH
.
SU01144
SU01145
1999 Mar 29
ClkOut
Figure 25. External Clock Input Drive
t
CODH
WARNING: ClkOut is specified into 40 pF max, do not overload.
Figure 26. ClkOut Duty Cycle
39
t
C
SU01146
SU01147
Page 40
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
ClkOut
WAIT
t
WS
tWS – Setup time of WAIT to riasing edge of ClkOut.
tWH – Hold time of WAIT after ClkOut High.
Figure 27. External WAIT Pin T iming
t
WH
SU01148
1999 Mar 29
40
Page 41
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications microcontroller
LQFP100: plastic low profile quad flat package; 100 leads; body 14 x 14 x 1.4 mmSOT407-1
mold mark
mold mark
1999 Mar 29
41
Page 42
Philips SemiconductorsPreliminary specification
XA-SCCCMOS 16-bit communications 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 chages 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]
[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: 03-99
Document order number:9397 750 05491
1999 Mar 29
42
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.