| |
|
||||
![]() |
![]() |
||||
|
IR-NEC Infrared Encoder/Decoder CoresOn this page: Description | Implementation Results | Features | Applications | Block Diagram | Functional Description | Support | Verification | Deliverables This pair of cores implements an Encoder and a Decoder for Consumer IR (CIR) infrared remote control signals using the popular NEC IR protocol. The cores are available individually or together. The Encoder accepts data and control signals, encodes commands following the NEC protocol, and outputs the commands to a suitable LED or photodiode transmission circuit. The simple serial input interface eases system integration, and an additional control signal can easily send a repeat signal. A supplementary output signal is available to provide additional transmission information. Following the NEC protocol, the core transmits each address and command twice to increase reliability. The Decoder receives data from a photodiode or other infrared receiver. It compares the incoming IR data stream with the inverted form of that data for greater reliability. A complex system of error detection and an error reporting signal help the user quickly identify the source of any errors. The decoded data is transmitted through a simple serial output signal, and handshaking signals give the user full control over the transmitted data. An extra output identifies repeating signals for processing efficiency. The flexible cores are designed for easy system integration, with simple control interfaces. UART and AMBA APB interfaces are also available. The cores are available in HDL source code for ASICs or optimized netlists for FPGAs. Implementation results show them to be area-efficient, requiring for example 781 gates for the Encoder and 1,120 gates for the Decoder at over 300 MHz in an .13µm ASIC process. See representative implementation results (each in a new pop-up window): Features
Encoder Features
Decoder Features
ApplicationsThe cores are suitable for a wide variety of consumer products and other low-speed infrared control applications, including televisions, home theater systems, DVD players and recorders, and video game consoles. Block Diagram
Functional DescriptionThe cores implement the principles of the NEC IR protocol, which has been used in hundreds of consumer products for several years. NEC IR EncoderWith this protocol, the Encoder transmits an address and command twice to increase reliability. Control signals make it easy to manage the transfer of data to the Encoder and then the beginning of its IR transmission. The serial input interface ensures simplicity and easy system integration. An additional control signal makes it easy to send a repeat code, and a supplementary output signal can provide additional transmission information to the user. As shown in the block diagram, the Encoder core has the following major functional elements. Input Data Module — provides the serial communication channel for the incoming data. Control Module — controls the core by sending information about any required repeat signal transmission, end of trans-mission etc. NEC Encoder Engine — converts the incoming stream into the NEC format. Output Module —controls the output data stream. NEC IR DecoderThe Decoder core receives an 8-bit address and an 8-bit command. The core decodes the data, formats it, and sends it to the user. As shown in the block diagram, the core has the following major functional elements. NEC Decoder Engine — decodes the received data stream and ensures that only appropriate NEC protocol pulses are considered. Catches all glitches and any data in an unsupported format and notifies the user through the error code output signal. Data Format/Checking Module — compares the decoded data stream with its inverted version, and indicates any errors through the error code output. Control Module — ensures correct functionality among all the components, sending decoding status from the NEC Decoder Engine to the other modules, controlling the output interface, etc. Output Module — responsible for the serial data transmission of the decoded data stream. Uses a handshaking mechanism to give the user maximum flexibility. An additional output signal gives information about a received repeat signal. SupportThe cores as delivered are warranted against defects for ninety days from purchase. Thirty days of phone and email technical support are included, starting with the first interaction. Additional maintenance and support options are available. VerificationThe cores have been verified through extensive simulation and rigorous code coverage measurements. DeliverablesThe core is available in ASIC (synthesizable HDL) and FPGA (netlist) forms, and includes everything required for successful implementation:
On this page: Description | Implementation Results | Features | Applications | Block Diagram | Functional Description | Support | Verification | Deliverables Download PDF datasheets for more info: ASIC | Altera | Xilinx
|
||||||||||||||||||||
|
top of page |
|||||||||||||||||||||