поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

PC97338 датащи(PDF) 148 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
номер детали PC97338
подробное описание детали  ACPI 1.0 and PC98/99 Compliant SuperI/O
PDF  221 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  NSC [National Semiconductor (TI)]
домашняя страница  http://www.national.com
Logo NSC - National Semiconductor (TI)

PC97338 датащи(HTML) 148 Page - National Semiconductor (TI)

Back Button PC97338 Datasheet HTML 144Page - National Semiconductor (TI) PC97338 Datasheet HTML 145Page - National Semiconductor (TI) PC97338 Datasheet HTML 146Page - National Semiconductor (TI) PC97338 Datasheet HTML 147Page - National Semiconductor (TI) PC97338 Datasheet HTML 148Page - National Semiconductor (TI) PC97338 Datasheet HTML 149Page - National Semiconductor (TI) PC97338 Datasheet HTML 150Page - National Semiconductor (TI) PC97338 Datasheet HTML 151Page - National Semiconductor (TI) PC97338 Datasheet HTML 152Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 148 / 221 page
background image
148
www.national.com
The FIR transmitter front-end section adds the Pre-
amble as well as Start and Stop flags to each frame
and encodes the transmit data into a 4PPM (Four
Pulse Position Modulation) data stream. The FIR re-
ceiver front-end section strips the Preamble and flags
from the inbound data stream and decodes the 4PPM
data while also checking for coding violations.
Both MIR and FIR front-ends also automatically ap-
pend CRC sequences to transmitted frames and
check for CRC errors on received frames.
5.6.1
High Speed Infrared Transmit
Operation
When the transmitter is empty, if either the CPU or the
DMA controller writes data into the TX_FIFO, trans-
mission of a frame will begin. Frame transmission can
be normally completed by using one of the following
methods:
1. S_EOT bit (Set End of Transmission). This
method is used when data transfers are performed
in PIO mode. When the CPU sets the S_EOT bit
before writing the last byte into the TX_FIFO, the
byte will be tagged with an EOF indication. When
this byte reaches the TX_FIFO bottom, and is read
by the transmitter front-end, a CRC is appended to
the transmitted DATA and the frame is normally
terminated.
2. DMA TC Signal (DMA Terminal Count). This
method is used when data transfers are performed
in DMA mode. It works similarly to the previous
method except that the tagging of the last byte of
a frame occurs when the DMA controller asserts
the TC signal during the write of the last byte to the
TX_FIFO.
3. Frame Length Counter. This method can be
used when data transfers are performed in either
PIO or DMA mode. The value of the FEND_MD bit
in the IRCR2 register determines whether the
Frame Length Counter is effective in the PIO or
DMA mode. The counter is loaded from the Frame
Length Register (TFRL) at the beginning of each
frame, and it is decremented as each byte is trans-
mitted. An EOF is generated when the counter
reaches zero. When used in DMA mode with an
8237 type DMA controller, this method allows a
large data block to be automatically split into
equal-size back-to-back frames, plus a shorter
frame that is terminated by the DMA TC signal, if
the block size is not an exact multiple of the frame
size.
An option is also provided to stop transmission at
the end of each frame. This happens when the
transmitter Frame-End stop mode is enabled
(TX_MS bit in the IRCR2 register set to 1). By us-
ing this option, the software can send frames of
different sizes without re-initializing the DMA con-
troller for each frame. After transmission of each
frame, the transmitter stops and generates an in-
terrupt. The software loads the length of the next
frame into the TFRL register and restarts the
transmitter by clearing the TXHFE bit in the ASCR
register.
Note: PIO or DMA mode is only controlled by the set-
ting of the DMA_EN bit in the extended-mode MCR
register. The module treats CPU and DMA access cy-
cles the same except that DMA cycles always access
the TX or RX_FIFO, regardless of the selected bank.
When DMA_EN is set to 1, the CPU can still access
the TX_FIFO and RX_FIFO. The CPU accesses will,
however, be treated as DMA accesses as far as the
function of the FEND_MD bit is concerned.
While a frame is being transmitted, data must be writ-
ten to the TX_FIFO at a rate dictated by the transmis-
sion speed. If the CPU or DMA controller fails to meet
this requirement, a transmitter underrun will occur, an
inverted CRC is appended to the frame being trans-
mitted, and the frame is terminated with a Stop flag.
Data transmission will then stop. Transmission of the
inverted CRC will guarantee that the remote receiving
module will receive the frame with a CRC error and
will discard it.
Following an underrun condition, data transmission
always stops at the next frame boundary. The frame
bytes from the point where the underrun occurred to
the end of the frame will not be sent out to the external
infrared interface. Nonetheless, they will be removed
from the TX_FIFO by the transmitter and discarded.
The underrun indication will be reported only when
the transmitter detects the end of frame via one of the
methods described above. The software can do vari-
ous things to recover from an underrun condition. For
example, it can simply clear the underrun condition by
writing a 1 into bit 6 of ASCR and re-transmit the un-
derrun frame later, or it can re-transmit it immediately,
before transmitting other frames.
If it chooses to re-transmit the frame immediately, it
needs to perform the following steps:
1. Disable DMA controller, if DMA mode was select-
ed.
2. Read the TXFLV register to determine the number
of bytes in the TX_FIFO. (This is needed to deter-
mine the exact point where the underrun occurred,
and whether or not the first byte of a new frame is
in the TX_FIFO).
3. Reset TX_FIFO.
4. Backup DMA controller registers.
5. Clear Transmitter underrun bit.
6. Re-enable DMA controller.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com