| 数据搜索系统,热门电子元器件搜索 |
|
TNETV1002IDZHK 数据表(PDF) 46 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TNETV1002IDZHK 数据表(HTML) 46 Page - Texas Instruments |
|
46 / 102 page ![]() MCU Subsystem Functional Overview 36 June 2001 -- Revised December 2002 SPRS180C UART/IrDA Mode In the UART/IrDA mode, an Infrared Data Association (IrDA) protocol encoder/decoder manages the RXIR and TXIR signals to an IrDA transceiver. It includes the slow infrared (SIR) protocol in order to be connected with an infrared transmitter to any external data peripherals with an IrDA compliant data interface. The UART/IrDA provides three external pin signals (multiplexed with GPIO pins): • GPIO07/TX_IRDA/TXIR_IRDA: Output – transmit data • GPIO08/RX_IRDA/RXIR_IRDA: Input – receive data • GPIO06/CLK16X_IRDA/SD_IRDA: Output – shut down the IR transceiver UART/IrDA IrDA mode features: • IrDA 1.0 SIR support allows serial communication at baud rates up to 115.2 Kbits/s. • Sending a single infrared pulse signals a zero. A one is signaled by not sending any pulse. The width of the pulse can be either 1.6 μs or 3/16th of a single bit time. • In IrDA 1.0 SIR mode, the device operation is similar to the operation in UART mode. However, the data transfer operations are normally performed in half-duplex. The modem control and status signals are not used. • Frame formatting: addition of variable xBOF characters and EOF characters • Uplink/downlink CRC generation/detection • Asynchronous transparency (automatic insertion of break character) • Eight characters status FIFO available to monitor frame length and frame errors • Variable frame length for RX and TX IrDA frame. The format of the serial data is similar to the UART/modem data format. Each data word is sent with a zero value start bit, followed by 8 data bits, and ending with at least one stop bit with a binary value of one. In SIR mode, data transfer takes place between MCU and peripheral devices at speeds up to 115200 bits/s. A SIR transmit frame consists of start flags (either a single C0h, multiple C0hs, or a single C0h preceded by a number of FFh flags), followed by frame data supplied by the MCU, then a CRC-16 word, and a terminating stop flag (C1h). The transmit state machine attaches start flags, CRC-16, and stop flags to the transmit data provided by the MCU. If necessary, it also applies SIR data transparency. NOTE: BLR[4] is used to select whether C0h or FFh start patterns are to be used when multiple start flags are required. SIR transparency is carried out if the outgoing data (between the start and stop flags) contains C0h, C1h, or 7Dh. If one of these characters is about to be transmitted, then the SIR state machine sends an escape character (7Dh) first, then inverts the fifth bit of the real data to be sent, and sends this data immediately after the 7Dh character. The SIR receiver state machine recovers the receive clock, removes the start flags, removes any transparency from the incoming data, and determines frame boundary with reception of the stop flag. It also checks for errors such as: frame abort (7Dh character followed immediately by a C1h stop flag, without transparency), CRC error, and frame-length error. Once a frame is received, the state machine generates an interrupt to the MCU. The MCU reads the LSR (status register) to check for receive errors, and processes any valid receive data. Note that the UART/IrDA is capable of operating in full-duplex, but that the SIR standard disallows full-duplex operation. The infrared output in SIR mode can implement either 1.6 μs or 3/16-bit encoding, which is selected by ACREG[7]. In 1.6-μs encoding, the infrared pulse width is 1.6 μs. In 3/16-encoding, the infrared pulse width is 3/16th of a bit duration (1/baud-rate). |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |