| Electronic Components Datasheet Search |
|
PC87108AVHG Datasheet(PDF) 11 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87108AVHG Datasheet(HTML) 11 Page - National Semiconductor (TI) |
|
11 / 56 page ![]() 2.0 Functional Description (Continued) The frequency bandwidth for the incoming modulated infrared signal is selected by DFR and DBW bits in the IRRXDC register. There are two CEIR receiver data modes: “Over-sampled” and “Programmed-T-Period” mode. For either mode the sampling rate is determined by the setting of the baud generator divisor register. The “Over-sampled” mode can be used with the receiver demodulator either enabled or disabled. It should be used with the de- modulator disabled when a detailed snapshot of the incoming signal is needed, for example to determine the period of the sub- carrier signal. If the demodulator is enabled, the stream of samples can be used to reconstruct the incoming bit string. To obtain a good resolution, a fairly high sampling rate should be selected. The “Programmed-T-Period” mode should be used with the receiver demodulator enabled. The T Period represents one half bit time, for protocols using bi-phase encoding, or the basic unit of pulse distance, for protocols using pulse distance encoding. The baud rate is usually programmed to match the T Period. For long periods of logic low or high, the receiver samples the demodu- lated signal at the programmed sampling rate. Whenever a new infrared energy pulse is detected, the receiver will re-synchronize the sampling process to the incoming signal timing. This reduces timing related errors and eliminates the possibility of missing short infrared pulse sequences, especially when dealing with the RECS 80 protocol. In addition, the “Programmed-T-Period” sampling minimizes the amount of data used to represent the incoming infrared signal, therefore reducing the processing overhead in the host CPU. 2.7 FIFO TIME-OUTS In order to prevent received data from sitting in the RX __FIFO and/or the ST__FIFO indefinitely, if the programmed interrupt or DMA thresholds are not reached, time-out mechanisms are provided. An RX__FIFO time-out generates a receiver High-Data-Level interrupt and/or a Receiver DMA request if bit 0 of IER and/or bit 2 of MCR (in extended mode) are set to 1 respectively. An RX__FIFO time-out also sets bit 0 of ASCR to 1 if the RX__FIFO is below the threshold. This bit is tested by the software, when a receiver High-Data-Level interrupt occurs, to decide whether a number of bytes, as indicated by the RX__FIFO threshold, can be read without checking bit 0 of the LSR register. An ST__FIFO time-out is enabled only in MIR and FIR modes, and generates an interrupt if bit 6 of IER is set to 1. The conditions that must exist for a time-out to occur in the various modes of operation, are described below. When a time-out has occurred, it can only be reset when the FIFO that caused the time-out is read by the CPU or DMA controller. MIR or FIR Modes RX__FIFO Time-out Conditions: 1. At least one byte is in the RX__FIFO, and 2. More than 64 µs have elapsed since the last byte was loaded into the RX__FIFO from the receiver logic, and 3. More than 64 µs have elapsed since the last byte was read from the RX__FIFO by the CPU or DMA controller. ST__FIFO Time-out Conditions: 1. At least one entry is in the ST__FIFO, and 2. More than 1 ms has elapsed since the last byte was loaded into the RX__FIFO by the receiver logic, and 3. More than 1 ms has elapsed since the last entry was read from the ST__FIFO by the CPU. UART, Sharp-IR, SIR Modes RX__FIFO Time-out Conditions: 1. At least one byte is in the RX__FIFO, and 2. More than four character times have elapsed since the last byte was loaded into the RX__FIFO from the receiver logic, and 3. More than four character times have elapsed since the last byte was read from the RX__FIFO by the CPU or DMA controller. CEIR Mode RX__FIFO Time-out Conditions: The RX__FIFO Time-out, in CEIR mode, is disabled while the receiver is active. The conditions for this time-out to occur are as follows: 1. At least one byte has been in the RX__FIFO for 64 µs or more, and 2. The receiver has been inactive (RXACT=0) for 64 µs or more, and 3. More than 64 µs have elapsed since the last byte was read from the RX__FIFO by the CPU or DMA controller. 2.8 TRANSMIT DEFERRAL This feature allows the software to send short high-speed data frames in PIO mode without the risk of a transmitter underrun be- ing generated. Even though this feature is available and works the same way in all modes, it will most likely be used in MIR and FIR modes to support high-speed negotiations. This is because in other modes, either the transmit data rate is relatively low and thus the CPU can keep up with it without letting an underrun occur, as in the case CEIR Mode, or transmit underruns are allowed and are not considered to be error conditions. Transmit deferral is available only in extended mode and when the TX__FIFO is enabled. When transmit deferral is enabled (TX__DFR bit of MCR set to 1) and the transmitter becomes empty, an internal flag will be set that locks the transmitter. If the CPU www.national.com 11 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| 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 |