XVME-400/40l/490/491 Manual
October, 1989
*
*
*
This routine will initialize the specified SCC channel to asynchronous
operation.
A hardware reset is assumed before code is executed.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
IN:
A0.1 = SCC Control Register Address
D7.W = [ WR13 I WR12 ] Baud Rate Time Constant
OUT:
Transmitter and receiver enabled.
All channel interrupts disabled.
IACK Vector Register set to $40, MIE bit set, DLC bit reset.
Variable IACK Vector enabled, low status
Xl6 Clock mode, 1 stop bit, odd parity enabled
Transmitter and receiver set to 8 bits/character
No auto enables
DTR/TR and RTS/RS asserted
Receive clock, transmit clock, and TXC/TT programed for
BRG Output
BRG clock = PCLK
*********************************************************************************
ASYNC-INIT:
M0VE.B #4,(A0)
M0VE.B
#%01000101,(A0)
M0VE.B
M0VE.B
M0VE.B
M0VE.B
M0VE.B
M0VE.B
M0VE.B
M0VE.B
M0VE.B
M0VE.B
M0VE.B
M0VE.B
M0VE.B
M0VE.B
#3,(A0)
#$l 1 OOOOOO,(AO)
#5,(A0)
#%11l000l0,(A0)
#1,(A0)
#%01000100,(A0)
#9,(A0)
#%00001001,(A0)
#l0,(A0)
#l0,(A0)
#l l,(A0)
#%0l0l0l l0,(A0)
*
*
*
*
*
*
*
*
*
*
*
*
*
*
lit
*
*
Set WR4: Xl6 clock, 1 stop bit
Odd parity enabled
Set WR3: 8 RX bits
No auto enable, RX disabled
Set WR5: DTR & RTS asserted,
8 TX bits, TX disabled
Set WRI: DMA/WAIT pins,
RX, TX, EXT INT disabled,
Parity = Special condition
WR2
IACK Vector = $40
Set WR9: Status Low, MIE set,
DLC=O, IACK Vector variable
Set WRl0 to NRZ
Set WRll: No XTAL,
RX, TX Clock = BRG,
TRXC = BRG
3-16
Summary of Contents for XVME-400
Page 1: ......
Page 2: ......
Page 3: ......
Page 4: ......
Page 5: ......
Page 8: ......
Page 9: ......
Page 13: ......
Page 14: ......
Page 15: ......
Page 16: ......
Page 18: ......
Page 21: ......
Page 32: ......
Page 61: ......
Page 62: ......
Page 63: ......
Page 64: ......
Page 65: ......
Page 66: ......
Page 67: ......
Page 68: ......
Page 69: ......
Page 70: ......
Page 71: ......
Page 72: ......
Page 73: ......
Page 74: ......
Page 75: ......
Page 76: ......
Page 77: ......
Page 78: ......
Page 79: ......
Page 80: ......
Page 81: ......
Page 82: ......
Page 83: ......