
Embedded Solutions
Page 29
LM9_CHAN_TX
[0x1C] Channel Transmit Control Register (read/write)
Channel TX Control Register
Data Bit
Description
27-16
ClkDiv
15
TxMarkingBit
14
TxStartBit
13
TxClockSrc
12
TxClockDir
9
TxParitySel
8
TxRegPacket
7
TxClkPolarity
6
TxDataBitOrder
5
TxDataByteOrder
4
TxUnderFlowEn
3
TxAEIntEn
2
TxIntEn
1
spare
0
TxEn
Figure 17 PcieBiSerialDb37Lm9 Channel Transmit Control Register
TxEn when set causes the Transmit State Machine to begin operation. When the
Transmitter has determined that Data is in the Transmit FIFO, and a packet definition
has been read, and CTS is received, data will be transmitted. Clearing TxEn will return
the State Machine to the idle state, generally at the end of the current transmitted byte.
Disabling TxEn while transmitting is considered a “panic stop” situation. The FIFO’s
should be cleared and the process restarted from scratch when this is done. Restarting
without clearing will allow the data to be completed but with the incorrect remaining
packet count likely leading to error(s) being detected.
TxIntEn when set enables the transmitter to generate an interrupt for each packet sent.
When not enabled the status is still available to allow for polling situations.
TxPacketCompleted is the corresponding status bit.