M68HC08. Microcontrollers. Designer Reference Manual. 2.4-GHz Wireless Optical Mouse and Multimedia Keyboard Solution. Freescale Semiconductor, I
|
|
|
- Rafe Cox
- 10 years ago
- Views:
Transcription
1 nc. M68HC08 Microcontrollers 2.4-GHz Wireless Optical Mouse and Multimedia Keyboard Solution Designer Reference Manual DRM050/D Rev. 0, 09/2003 MOTOROLA.COM/SEMICONDUCTORS
2 nc.
3 nc. 2.4-GHz Wireless Optical Mouse and Multimedia Keyboard Solution Designer Reference Manual Rev 0 By: Dennis Lui Ernest Chan W.S. Wong Applications Engineering Microcontroller Division Hong Kong To provide the most up-to-date information, the revision of our documents on the World Wide Web will be the most current. Your printed copy may be an earlier revision. To verify you have the latest information available, refer to: The following revision history table summarizes changes contained in this document. For your convenience, the page number designators have been linked to the appropriate location. Motorola and the Stylized M Logo are registered trademarks of Motorola, Inc. DigitalDNA is a trademark of Motorola, Inc. This product incorporates SuperFlash technology licensed from SST. Motorola, Inc., 2003 DRM050 Rev 0 Designer Reference Manual MOTOROLA 3
4 nc. Revision History Revision History Section Page Description of Change Throughout NA Initial Release Designer Reference Manual DRM050 Rev 0 4 Revision History MOTOROLA
5 nc. Designer Reference Manual DRM050 Table of Contents Section 1. System Overview 1.1 Introduction Features System Overview Transmit and Receive Section 2. RF Front End 2.1 Introduction Functional Description RF Transceiver Module RFW Interface IC RFW-D Antenna and PCB Specification Section 3. Optical Mouse Transmitter 3.1 Introduction System Overview Microcontroller JB Optical Mouse Sensor RF Transmission DC/DC Converter Section 4. Mouse Transmitter Firmware 4.1 MAC Layer Protocol Application Firmware Flow Power Management for the Mouse Output Buffer Format for the RF Packet DRM050 Rev 0 Designer Reference Manual MOTOROLA 5
6 nc. Section 5. Multimedia Keyboard Transmitter 5.1 Introduction System Overview Microcontroller LK RF Transmission DC/DC Converter Section 6. Keyboard Transmitter Firmware 6.1 Firmware Structure Output Buffer Format for Keyboard RF Packet Section 7. USB Receiver 7.1 Introduction System Overview Microcontroller JB RF Transmission Voltage Regulator Section 8. Receiver Firmware 8.1 Receiver Firmware Structure USB Report Input Report Example Remote Wakeup Section 9. Testing and Customization 9.1 Testing Customization Hardware Optical Mouse Transmitter Keyboard Transmitter USB Receiver RF Circuitry Firmware Mouse Transmitter Keyboard Transmitter Receiver Designer Reference Manual DRM050 Rev 0 6 MOTOROLA
7 nc. Designer Reference Manual DRM050 Section 1. System Overview 1.1 Introduction 1.2 Features This manual describes a reference design of a 2.4-GHz Universal Serial Bus Wireless Optical Mouse and Multimedia Keyboard solution by using the MC68HC908JB8, MC68HC908LK24, and MC68HC908JB16. The whole system consists of a wireless mouse, a wireless keyboard and a USB receiver. The wireless communication link is developed in the worldwide unlicensed Industrial, Scientific, and Medical (ISM) band of MHz. All hardware schematic diagrams and firmware source codes are available as reference materials. High speed RF link in 2.4-GHz ISM band Windows 98, Windows 2000, and Windows XP Compatible 1 USB 2.0 Low Speed Compliance 1 Mbps transmission data rate 10 to 20 meter communication distance RF front end and Media Access Control (MAC) designs are based on RFWaves chipset and protocol 1. Windows 98, Windows 2000 and Windows XP are trademarks of Microsoft Corporation in the U.S. and other countries. DRM050 Rev 0 Designer Reference Manual MOTOROLA System Overview 7
8 nc. System Overview 1.3 System Overview Antenna Antenna RFW-102 Module RFW-102 Module SPI bus Parallel Address & Data bus RFW-D100 MAC MCU 908LK24 / 908JB8 I/O Detect Keyboard/ Mouse Interface Figure 1-1. System Overview RFW-D100 MAC MCU 908JB16 SPI bus Parallel Address & Data bus The system consists of three functional devices, a wireless optical mouse using the MC68HC908JB8 (hereafter referred as JB8, production version uses the low voltage MC68HC08JT8), a wireless multimedia keyboard using the MC68HC908LK24 (hereafter referred as LK24), and the wireless receiver using the MC68HC908JB16 (hereafter referred as JB16). The basic structure and functional blocks for each device are similar and consist of a RF transceiver module for half duplex transmission in 2.4-GHz frequency band, a baseband IC for link layer access control and protocol handling. The overall system operation, I/O interface, and power management are controlled by MCU. Based on the number of I/O pins, voltage operation, and memory size requirements, the JB8 and LK24 are chosen for wireless mouse and USB PC Host Interface Designer Reference Manual DRM050 Rev 0 8 System Overview MOTOROLA
9 nc. System Overview Transmit and Receive keyboard designs. The JB16 is specially designed for USB wireless application. It has high processing power and large memory size to handle overall data traffic control for multiple input devices. 1.4 Transmit and Receive In data transmission, the data generated from the key matrix in a keyboard or displacement detection/button status data in mouse application is detected by MCU and sent to the baseband IC in a parallel format. All kinds of media access, link layout control, and data conversion in serial format are handled by the baseband IC. The final data in serial format is transmitted by the RF module at 2.4 GHz. In data reception, the data received from RF module is decoded with corresponding protocol, and the serial packet data will be converted into parallel format again in baseband processing. The final data in parallel format will be captured by MCU and sent to the PC host through the USB interface. DRM050 Rev 0 Designer Reference Manual MOTOROLA System Overview 9
10 nc. System Overview Designer Reference Manual DRM050 Rev 0 10 System Overview MOTOROLA
11 nc. Designer Reference Manual DRM050 Section 2. RF Front End 2.1 Introduction 2.2 Functional Description 2.4-GHz RF links are designed for wireless communication media for this application. The RF font end of the USB receiver, mouse, and keyboard are the same. The front end is a half duplex direct sequence spread spectrum (DSSS) radio transceiver chipset, intended for use in the world wide unlicensed Industrial, Scientific, and Medical (ISM) band of MHz. The front end chipset mainly consist of two parts, the transceiver module RFW102 and the interface IC RFW-D100. CSMA is used as the communication protocol in between the USB receiver, the keyboard, and mouse. The complete solution of the RF transceiver consists of an RF transceiver module RFW102 and a link interface IC RFW-D100. The RFW-D100 links the MCU and the transceiver module. When data is being transmitted from the mouse or keyboard, the transmit data from the MCU is passes into the interface IC. In the interface IC, the data will be converted from parallel type to serial type. Also it will be coded with packet address and error checking. The serial data will then pass to the RF transceiver and ASK modulates into IF frequency 488 MHz. The modulated data will be DSSS spreading and up-converts into 2.4 GHz RF signal for transmission. When the RF signal is received by the USB receiver, it is down-converted into IF frequency and DSSS de-spreading into ASK IF signal. Then, the ASK IF signal will demodulate into serial data out of the RF transceiver module RFW102. DRM050 Rev 0 Designer Reference Manual MOTOROLA RF Front End 11
12 nc. RF Front End The received serial data will pass into the interface IC RFW-D100, in which it will be converted to parallel data for the MCU. Mouse & Keyboard Antenna 6-24MHz Parallel Add/Data bus Xtal 3.3V DC-DC Battery RFW-102 Module RFW-D100 Serial to parallel interface MCU + GPIOs (JB8/LJ24) Keyboard/ Mouse Antenn a RFW-102 Module 2.3 RF Transceiver Module RFW MHz RFW-D100 Serial to parallel interface Xtal Parallel Add/Data bus MCU + USB I/F (JB16) Power Circuit DC-DC 3.3V The RFW102 transceiver module is a short-range, half-duplex wireless radio transceiver. The transceiver is intended for use in the unlicensed ISM band of MHz. The transceiver module provides a peak output power of 2 dbm and data rate up to 1Mbps. Power consumption during transmit is extremely low, (21 ma in 1Mbps, 28 ma in 1 kbps), which is directly dependent on the bit transfer rate. During standby mode, the transceiver consumes almost no power and features an extremely short wake up time of 20 ms. USB USB Dongle +5V The communication link between the transceivers is a Direct Sequence Spread Spectrum (DSSS) pulse pipe. The modulation scheme is 100% Designer Reference Manual DRM050 Rev 0 12 RF Front End MOTOROLA
13 nc. RF Front End RF Transceiver Module RFW102 Amplitude Shift Keying (ASK). The spreading modulation scheme is a Bi-Phase modulation where each bit has a 13-bit Barker series. Below are the key features of the transceiver module: 2.4-GHz unlicensed ISM band operation 1 Mbps data rate Sample 3 line digital interface Low power consumption +2 dbm typical peak output transmission power 80 dbm typical sensitivity Typical standby current of 2.6 ma Compiles with FCC regulation Wide range operating voltage (2.7 V 3.6 V) Direct Sequence Spread Spectrum (DSSS) 11 db processing gain Short signal acquisition time (1.2 ms) The transceiver has a fully digital serial I/O interface providing a simple 3-line interface. Tx/Rx is for controlling of the transceiver work in transmit or receive mode. Act is used for switching the transceiver between working mode and sleep mode. Data IO is the data transfer channel. The transceiver chipset includes three chips. RFW24 An RFIC performs all of the timing, amplifying, switching, transmitting, and receiving functions. RFW488C A 4-pin SAW correlator, which is used as a direct sequence spread spectrum spreading and de-spreading element. RFW488R A 1-port SAW resonator, which serves as the system oscillation source. For detailed information on the internal implementation of the transceiver module, please refer to the data sheet about the RFW102 from RFWaves website: DRM050 Rev 0 Designer Reference Manual MOTOROLA RF Front End 13
14 nc. RF Front End 2.4 Interface IC RFW-D100 The RFW-D100 is a complimentary IC to the RFW-102 module. It provides an MCU with a parallel interface to the RFW-102 transceiver module and other features that enable implementing a protocol suitable for wireless communication with a small burden on the MCU. In HID application, the MCU is in charge of the MAC layer protocol. The RFW-D100 is used to reduce the real-time demands of the MCU handling the MAC protocol. It converts the fast serial input to 8-bit words, which are much easier for 8-bit MCUs to work with. Also, it buffers the input through a 16-byte FIFO, giving the MCU access the RFW-D100 efficiently. Instead of reading one byte per interrupt, the MCU can read up to 16 bytes in each interrupt. Below are the features of the RFW-D100 interface IC: Provides parallel interface with the RFW102 modem Serial to parallel conversion of the RFW102 interface Input FIFO (RX_FIFO) Output FIFO (TX_FIFO) Preamble Correlation Packet Address Filter CRC calculation Watchdog Timer driven by internal RC oscillator Power saving mode: Idle, Power-down. Receiver signal strength indication (RSSI) For detailed information on the RFW-D100, please refer to the data sheet about the RFW-D100 from the RFWaves website: Designer Reference Manual DRM050 Rev 0 14 RF Front End MOTOROLA
15 nc. RF Front End Antenna and PCB Specification 2.5 Antenna and PCB Specification The antenna interface of the RFWaves module RFW102 is 200 Ω differential. For matching and placement of different antenna, refer to the data sheet of the specific antenna you are using. The reference antenna of the RFWaves transceiver module RFW102-M used here is a special design printed circuit board differential loop antenna. The purpose of this design is aimed at low cost, small form factor, and high directivity design. For the dimension and PCB specification of the antenna board, please refer to documents which can be download from RFWaves website: DRM050 Rev 0 Designer Reference Manual MOTOROLA RF Front End 15
16 nc. RF Front End Designer Reference Manual DRM050 Rev 0 16 RF Front End MOTOROLA
17 nc. Designer Reference Manual DRM050 Section 3. Optical Mouse Transmitter 3.1 Introduction 3.2 System Overview The JB8 has 8K Flash memory, 3-MHz bus processing power, 16-bit 2-channel timer module, and appropriate number of I/O pins makes this MCU suited for this 2.4-GHz Wireless Optical Mouse application. The main features of the reference design include: 2.4-GHz RF Link 1 Mbps data rate 800 DPI Resolution Smart Power Management The optical mouse consists of the JB8, the Agilent optical mouse sensor ADNS-2030, the baseband IC and RF Module from RFWaves, and DC/DC converter. Figure 3-1 shows the block diagram of the system. DRM050 Rev 0 Designer Reference Manual MOTOROLA Optical Mouse Transmitter 17
18 Optical Mouse Transmitter nc. LOOP ANTENNA Buttons MC68HC908JB8 ADNS GHz RF Transceiver Module L M R L2 R2 PTA0 PTA1 PTA2 PTA3 PTA4 PTE0 PTE1 PTE2 SCLK SDIO PD IMAGE SENSOR XY_LED Baseband MAC IC D100 RFD_INT DATA BUS ADDRESS / CTL BUS DC/DC Converters 3.3V and 5V Microcontroller JB8 DGND IRQ PTB7-PTB0 PTC7-PTC0 (44-pin QFP) PTA5 PTA6 RST OSC2 OSC1 Figure 3-1. Mouse Block Diagram Z1 Z2 10M 30pF (16-pin PDIP) The functions of the JB8 are to get the XY displacement from the sensor, detect the Z displacement, check button status, control the baseband IC to sending out data, and perform the overall power management. Three standard left, middle, and right buttons (and two additional buttons reserved for future development) are implemented. X1 6MHz Z-axis Encoder 30pF 100nF Optical Mouse Sensor The AN2030 is a 3-V supply sensor specially design for wireless optical mouse. The communication between the sensor and the JB8 is through Serial Peripheral Interface with clock input at the SCLK pin and bidirection data interface at SDIO pin. The Power Down (PD) pin is used to power down the sensor when it s not in use. Designer Reference Manual DRM050 Rev 0 18 Optical Mouse Transmitter MOTOROLA
19 nc. Optical Mouse Transmitter System Overview RF Transmission The data from the MCU will be transferred to the baseband IC for parallel to serial packet conversion as well as error checking. The encoded data will be passed to the RF module for ASK modulation in IF band and frequency spreading with DSSS scheme. The modulated signal will be further up-converted into 2.4-GHz ISM band for final transmission DC/DC Converter The power supply for a handheld device should be able to keep the DC voltage output at a constant level even though the input battery voltage is continuously dropping down. There are two DC/DC converters; the 3.3-V supply is used for the baseband IC and RF module. The 5-V supply is only used for the JB8, but it would be eliminated in the final product when the low-voltage version JT8 is used. DRM050 Rev 0 Designer Reference Manual MOTOROLA Optical Mouse Transmitter 19
20 Optical Mouse Transmitter nc. Designer Reference Manual DRM050 Rev 0 20 Optical Mouse Transmitter MOTOROLA
21 nc. Designer Reference Manual DRM050 Section 4. Mouse Transmitter Firmware 4.1 MAC Layer Protocol Each piece of firmware on the mouse, keyboard, or dongle consists of a MAC layer implementing the RFWaves Carrier Sense Multiple Access (CSMA) protocol. In CSMA protocol, every device in the network uses the same physical channel for communication. Each device will first detect whether the channel is being used by others before it initiates its own transmission. The MAC layer manages the wireless communication between the mouse/keyboard and the dongle through the baseband RFW-D100 IC. The MAC layer implements two interrupt functions from each of the MCUs. The IRQ and one Timer Channel are used by the MAC. Interface functions have been built for the application to access the MAC. For example, the application layer can invoke these functions: Initiate the MAC layer and the RF hardware Initiate transmission of a new packet Initiates a packet receiving by the MAC layer Check and locate any newly received packet in the MAC buffer Sets the MAC and RF hardware to low power mode, or resume from it The MACAPI.H header file in each of the firmware contains more details about these functions and their uses. DRM050 Rev 0 Designer Reference Manual MOTOROLA Mouse Transmitter Firmware 21
22 Mouse Transmitter Firmware nc. 4.2 Application Firmware Flow Figure 4-1 shows the main application firmware flow of the wireless optical mouse. One of the main challenges in wireless optical mouse design is the power management to minimize the power consumption and maximize the performance. MAIN PROGRAM N INITIATE SENSOR, AND RF HARDWARE GET XY DISPLACEMENT FROM SENSOR GET Z DISPLACEMENT FOR EVERY MS CHECK BUTTON FOR EVERY MS NEW MOUSE DATA? Y INIT MAC TO TRANSMIT DATA IRQ ISR IRQ DRIVEN BY PERIODICAL WAKEUP SIGNAL? NO SERVE THE INTERRUPT EVENT FROM RFW-D100 BASEBAND CHIP YES DISABLE THE PERIODICAL WAKEUP FOR MCU TO CHECK MOVEMENT AND BUTTONS POWER MANAGEMENT Figure 4-1. Firmware Structure Designer Reference Manual DRM050 Rev 0 22 Mouse Transmitter Firmware MOTOROLA
23 nc. Mouse Transmitter Firmware Power Management for the Mouse The main program continually checks the registers of the sensor to see if any XY movement happened. If any XY movement is detected, it gets the X and Y displacements from the sensor registers, puts them in the FIFO buffer and sets the corresponding flags. For every ms timer tick, it checks the Z movement and the buttons status. If new mouse data has been detected, JB8 will initiate the RF data transmission through the baseband RFW-D100 IC. Apart from serving the interrupt events from the baseband D100 IC during normal operation, IRQ serves as the periodical wakeup signal when JB8 is in sleep mode. The JB8 must check whether there is any new movement or if the buttons status changed. IRQ ISR firmware will determine what appropriate actions must be taken. 4.3 Power Management for the Mouse xy movement Sensor and ZLED turned on for every 250ms SLEEP Sensor fully turned on ZLED turned on for every 700us HIGH CURRENT z movement or button xy movement xy no movement for 5s Sensor turned on every 25ms, ZLED turned on for every 700us POWER SAVING (STARTUP) xyz no movement and no button for 50s Figure 4-2. Power Management DRM050 Rev 0 Designer Reference Manual MOTOROLA Mouse Transmitter Firmware 23
24 Mouse Transmitter Firmware nc. Figure 4-2 shows the flow of the power management. There are three defined stages Power Saving, High Current, and Sleep stage. After power up, the mouse is put in Power Saving stage. In this stage, the sensor is only turned on for every 25 ms to see if any XY movement occurred. The Z movement and buttons are sensed for every ms. If no activity happens in 50 seconds, it enters the Sleep stage. In this stage, the JB8 is put in stop mode and will be woken up every 250 ms to monitor any activity. The RFW-D100 and RFW-D102 IC are in idle mode (not in power down mode). Their power consumption will be reduced because the system CLK to RFW-D100 has been stopped (JB8 and RFW-D100 share the same crystal CLK source). Any XY movement will cause the mouse to enter the High Current stage. At this stage, the sensor is powered on and XY movement is continually monitored. The Z movement and buttons activities are still monitored for every ms. If no XY movement happens in 5 seconds, it then enters Power Saving Stage. Except for the 1 ms timer tick, all the above mentioned timings can configured by changing their constant values. 4.4 Output Buffer Format for the RF Packet Users may refer to the RFWaves RFW-D100 IC data sheet for more detail about the RFWaves Packet Structure (Rev 1.3, Appendix B). Figure 4-3 shows the output buffer format for the mouse RF packet. The contents of this will be transmitted when invoking the transmission function. Users can refer to the TransmitData function in main.c of the reference firmware as an example. The first byte is the total size of the buffer data (equal to 11 here). Bytes 2 through 5 are the Network ID which is used to distinguish different RFWaves Networks. Byte 6 is the node ID which is used for identification of different device within the network. The last four bytes are the mouse data. Designer Reference Manual DRM050 Rev 0 24 Mouse Transmitter Firmware MOTOROLA
25 nc. Mouse Transmitter Firmware Output Buffer Format for the RF Packet The contents of the output buffer will be received by the JB16 dongle and dongle can extract the mouse data and send to the host through USB. Output Buffer Structure For for Mouse RF Packet Packet Size Network ID byte1 Network ID byte2 Network ID byte3 Network ID byte4 Node ID Reserved for Sequence Packet Size Button Status X-Displacement Y-Displacement Z-Displacement Figure 4-3. Output Buffer Format for the Mouse Packet DRM050 Rev 0 Designer Reference Manual MOTOROLA Mouse Transmitter Firmware 25
26 Mouse Transmitter Firmware nc. Designer Reference Manual DRM050 Rev 0 26 Mouse Transmitter Firmware MOTOROLA
27 nc. Designer Reference Manual DRM050 Section 5. Multimedia Keyboard Transmitter 5.1 Introduction 5.2 System Overview The LK24 has a built-in PLL with a low frequency crystal ( khz) and is able to operate as fast as 4 MHz bus speed at 3.3 V. It contains enough I/O pins for key matrix scanning. The main features of the keyboard include: 2.4-GHz RF Link 1 Mbps data rate Power management keys (power, wake and sleep) support Multimedia keys support The keyboard transmitter consists of the LK24, the baseband IC and RF Module from RFWaves, and DC/DC converter. Figure 5-1 shows the block diagram of the system. DRM050 Rev 0 Designer Reference Manual MOTOROLA Multimedia Keyboard Transmitter 27
28 Multimedia Keyboard Transmitter nc. LOOP ANTENNA MC68HC908LK GHz RF Transceiver Module PTF0-7 PTC0-7 PTB6-7 [External pullup R] COL[0:17] Key Matrix (8 rows x 18 columns) Baseband MAC IC D Microcontroller LK RF Transmission RFD_INT DATA BUS ADDRESS / CTL BUS DC/DC Converter 3.3V IRQ PTE7-PTE0 PTA7-PTA4 PTD3-PTD0 (80-pin LQFP) PTA0-3 PTD4-7 RST OSC2 OSC1 ROW[0:7] [External pullup R] Figure 5-1. Keyboard Block Diagram kHz The functions of the LK24 are to scan the key matrix and determine what keys are pressed and released, control the baseband IC to sending out data, and perform the overall system control. 2M 10pF X1 10pF 1uF The data from MCU will be transferred to the baseband IC for parallel to serial packet conversion as well as error checking. The encoded data will be passed to the RF module for ASK modulation in IF band and frequency spreading with DSSS scheme. The modulated signal will be further up-converted into the 2.4-GHz ISM band for final transmission. Designer Reference Manual DRM050 Rev 0 28 Multimedia Keyboard Transmitter MOTOROLA
29 nc. Multimedia Keyboard Transmitter System Overview DC/DC Converter The power supply for a handheld device should be able to keep the DC voltage output at a constant level even though the input battery voltage is continuously dropping down, so a 3.3 V DC/DC converter is designed for the whole system, including the MCU and the baseband IC and RF module. DRM050 Rev 0 Designer Reference Manual MOTOROLA Multimedia Keyboard Transmitter 29
30 Multimedia Keyboard Transmitter nc. Designer Reference Manual DRM050 Rev 0 30 Multimedia Keyboard Transmitter MOTOROLA
31 nc. Designer Reference Manual DRM050 Section 6. Keyboard Transmitter Firmware 6.1 Firmware Structure The firmware structure consists of two main parts: MAC Layer protocol Main Application routine The MAC layer also implements the RFWaves CSMA protocol. Please refer to the section 4.1 MAC Layer Protocol for a description of this layer. Figure 6-1 shows the flow of the main program. The main tasks are to detect any key being pressed or released and then send the key code by RF signal through the control of baseband RFW-D100 IC. If no key is pressed within 10 seconds, LK24 will put the baseband IC into power down mode, LK24 will also enter lower power mode. The MCU will be woken up when any key is pressed. DRM050 Rev 0 Designer Reference Manual MOTOROLA Keyboard Transmitter Firmware 31
32 Keyboard Transmitter Firmware nc. INITIALIZATION NO KEY ACTIVITY FOR 10 SECOND? YES NO ENTER POWER SAVING MODE NO SCAN KEY MATRIX VALID KEY PRESSED DETECTED? YES CONVERT SCAN KEY KEY INIT MAC TO TRANSMIT THE RF PACKET ANY KEY PRESSED DETECTED? YES WAKE UP DEVICE IRQ ISR DETERMINE AND SERVE THE INTERRUPT EVENT FROM RFW-D100 BASEBAND CHIP NO Figure 6-1. Firmware Flow 6.2 Output Buffer Format for Keyboard RF Packet Figure 6-2 shows the output buffer format for the keyboard RF packet. It is similar to that of the mouse, except for the last two bytes. Break/Make byte indicates whether the packet represents a Make key Designer Reference Manual DRM050 Rev 0 32 Keyboard Transmitter Firmware MOTOROLA
33 nc. Keyboard Transmitter Firmware Output Buffer Format for Keyboard RF Packet (the key has been pressed) or a Break key (the key has been released). The last byte is the scan code of the key. Output Buffer Structure For for Keyboard RF Packet Packet Size Network ID byte1 Network ID byte2 Network ID byte3 Network ID byte4 Node ID Reserved for Sequence Packet Size Break/Make Byte Scan Code Figure 6-2. Packet Format DRM050 Rev 0 Designer Reference Manual MOTOROLA Keyboard Transmitter Firmware 33
34 Keyboard Transmitter Firmware nc. Designer Reference Manual DRM050 Rev 0 34 Keyboard Transmitter Firmware MOTOROLA
35 nc. Designer Reference Manual DRM050 Section 7. USB Receiver 7.1 Introduction 7.2 System Overview The features of JB16 include a Universal Serial Bus (USB) interface, 16K Flash memory, 6-MHz bus clock and two timer modules, which makes this MCU suited for personal computer Human Interface Devices (HID) applications, such a mouse and keyboard. The main features of the receiver include: 2.4-GHz RF Link 1 Mbps data rate Fully USB specification 2.0 low speed compliant Windows 98, 2000 and XP compatible The receiver consists of the JB16, the baseband IC and RF Module from RFWaves and a 3.3-V voltage regulator. Figure 7-1 shows the block diagram of the system. DRM050 Rev 0 Designer Reference Manual MOTOROLA USB Receiver 35
36 nc. USB Receiver LOOP ANTENNA MC68HC908JB GHz RF Transceiver Module Baseband MAC IC D100 RFD_INT DATA BUS ADDRESS / CTL BUS 3.3V Voltage Regulator Microcontroller JB16 IRQ PTA7-PTA0 PTD5-PTD0 PTC1-PTC0 (28-pin SOIC) VREG PTE4 PTE3 RST OSC2 OSC1 Figure 7-1. USB Receiver Block Diagram 12MHz PC Host The functions of the JB16 are to handle the USB transactions, control the baseband IC to receiving input data, and perform the overall system control. The processed data is converted into USB report format and sent to the host. D- D+ 10M 30pF 1K5 X1 USB 30pF 100nF RF Transmission The receiving RF signal will be down-converted into IF band for de-spreading with DSSS scheme and ASK demodulation. The demodulated data in serial packet format will be converted back to parallel data and sent to the MCU for USB report generation. Designer Reference Manual DRM050 Rev 0 36 USB Receiver MOTOROLA
37 nc. USB Receiver System Overview Voltage Regulator The bus power voltage from USB interface is 5 V, so a 3.3-V regulator is added to provide a correct voltage 3.3 V for baseband IC and RF module. The JB16 is specially design for USB application, so external regulated supply input is not necessary. DRM050 Rev 0 Designer Reference Manual MOTOROLA USB Receiver 37
38 nc. USB Receiver Designer Reference Manual DRM050 Rev 0 38 USB Receiver MOTOROLA
39 nc. Designer Reference Manual DRM050 Section 8. Receiver Firmware 8.1 Receiver Firmware Structure The firmware consists of three main parts: MAC Layer protocol Application layer routines USB interrupt routine The MAC layer implements the RFWaves CSMA protocol. Please refer to the section 4.1 MAC Layer Protocol for a description of this layer. Figure 8-1 shows the flow of the main application program. The USB interrupt routine is not shown here. You may refer to another reference design called USB and PS2 Multimedia Keyboard by using the MC68HC908JB8 for more detail. The main routine continually checks if there is any valid mouse or keyboard data from the MAC layer. If so, the data will be converted to USB report format and sent to the host via the endpoint 1 and endpoint 2. IRQ serves for different interrupt events from the RFW-D100 chip when USB is not in suspend mode.the IRQ ISR firmware will determine which interrupt source caused the IRQ. It could be done by checking the IIR register from RFW-D100 Baseband chip and then the corresponding action can be taken by the interrupt service routine. During USB suspend, the periodical wake-up trigger at IRQ can wake up MCU to detect incoming packets and return to the host computer. DRM050 Rev 0 Designer Reference Manual MOTOROLA Receiver Firmware 39
40 nc. Receiver Firmware MAIN NO DEVICE CONFIGURED? YES MAC INITIATED BEFORE? IRQ ISR NO INITIATES MAC LAYER NEW RECEIVED MOUSE IRQ DRIVEN BY PERIODICAL WAKEUP SIGNAL? NO YES NO NEW RECEIVED DATA IN MAC LAYER? YES CONVERT ANY SCAN KEY TO KEYBOARD REPORT CONVERT ANY MOUSE DATA TO MOUSE REPORT NEW ENDPOINT 1 REPORT? NEW ENDPOINT 2 REPORT? YES YES DETERMINE AND SERVE THE INTERRUPT EVENT FROM D100 BASEBAND CHIP EP1 TX BUFFER EMPTY? NO EP2 TX BUFFER EMPTY? NO YES YES DISABLE THE PERIODICAL WAKEUP FOR NEW MCU TO CHECK REMOTE RECEIVED WAKEUP MOUSE PACKET TX EP1 IN REPORT TX EP2 IN REPORT NO USB IDLE FOR 3 MS? YES ENABLE PERIODIC WAKEUP SIGNAL TO DRIVE IRQ SUSPEND RF AND MCU RF PACKET DETECTED OR RESUME FROM HOST? YES Figure 8-1. Firmware Flow Designer Reference Manual DRM050 Rev 0 40 Receiver Firmware MOTOROLA
41 nc. Receiver Firmware USB Report 8.2 USB Report The mouse and keyboard implement two HID interfaces on endpoint 1 and endpoint 2 in a USB composite-device fashion. HID interface 0 (endpoint 1) implements a standard HID keyboard with identical report and boot protocols. HID interface 1 (endpoint 2) implements multimedia and power management keys and mouse data. This implementation ensures that the keyboard works in BIOS setup and in DOS mode. Interface 0 will issue 8-byte input reports that are identical to the standard keyboard boot protocol report (see Table 8-1) as documented in the Device Class Definition for Human Interface Device (HID) version 1.1. This interface also allows the host system to send the CAP/NUM/SCROLL lock status to JB16, as specified by the 1-byte output report (see Table 8-2). It can be used to turn on and off the respective LED state indicators if LEDs have been implemented in the hardware. These LEDs are not included in the reference JB16 receiver hardware. Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Right GUI Right ALT Right Shift Right Control Left GUI 1 Reserved Left ALT 2 Keyboard Usage ID (Key Code) 3 Keyboard Usage ID (Key Code) 4 Keyboard Usage ID (Key Code) 5 Keyboard Usage ID (Key Code) Left Shift Left Control 6 Keyboard Usage ID (Key Code) 7 Keyboard Usage ID (Key Code) Table 8-1. Interface 0 Input Report DRM050 Rev 0 Designer Reference Manual MOTOROLA Receiver Firmware 41
42 nc. Receiver Firmware Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Scroll Lock Caps Lock Num Lock Table 8-2. Interface 0 Output Report Interface 1 report contains the power management key report, multimedia key input report, or mouse input report, which is distinguished by a unique Report ID. The power management key uses Report ID number 1 (see Table 8-3); the multimedia key uses Report ID number 2 (see Table 8-4); and the mouse report uses Report ID number 3 (see Table 8-5). Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Report ID = 1 1 Power Wake Sleep Table 8-3. Interface 1 Power Key Input Report Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Report ID = 2 1 M7 M6 M5 M4 M3 M2 M1 M0 2 M15 M14 M13 M12 M11 M10 M9 M8 3 M23 M22 M21 M20 M19 M18 M17 M16 4 Reserved for M24 - M31 Table 8-4. Interface 1 Multimedia Key Input Report Designer Reference Manual DRM050 Rev 0 42 Receiver Firmware MOTOROLA
43 nc. Receiver Firmware USB Report Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Report ID = 3 1 Middle button Right button Left button 2 X Displacement 3 Y Displacement 4 Z Displacement Input Report Example Table 8-5. Interface 1 Mouse Input Report Table 8-6 shows some input report examples. Report ID is not used in interface 0. The first byte is the modifier byte and is set on bit base. Whenever a modifier key is pressed, the corresponding bit is set to 1. For example, if the Left Control and the character 'A' keys are pressed, the first byte of the report equals $01, the second byte is reserved, the third byte equals $04, and the forth through the eighth bytes equal $00. Power Management keys are reported through interface 1 with report ID 1. For example, if the Wake key is pressed, the first byte equals $01 (ID = 1), and the second byte equals $02 (corresponding bit equals 1) since Wake key is defined as the bit 2 of the second byte. Hot keys are reported through interface 1 with reported ID 2. For example, if the hot key 0 and the hot key 17 are pressed, the first byte equals $02 (ID = 2); the second byte equals $01 since hot key 0 is pressed; the third byte equals $00 since hot keys 8 to 16 are not pressed; and the forth byte equals $02 since the hot key 17 is pressed. Keys Pressed Endpoint In Report Data Left Control, A 1 $01,$00,$04,$00,$00,$00,$00,$00 Left Control, Right Alt, A, B 1 $41,$00,$04,$05,$00,$00,$00,$00 Wake 2 $01,$02 Hot Key 0 & Hot Key 17 2 $02,$01,$00,$02 Table 8-6. Input Report Examples DRM050 Rev 0 Designer Reference Manual MOTOROLA Receiver Firmware 43
44 nc. Receiver Firmware 8.3 Remote Wakeup The JB16 receiver supports remote wakeup function that can wake up the host computer during USB suspend. During suspend, the MCU will be periodically woken up by the IRQ driven by the external RC charging and discharging circuit. The MCU then turns on the RF circuit (both RFW-D100 and RFW-D102) for a short period of time, detect whether a valid mouse or keyboard RF packet arrived for waking up the host. During this short period, the IRQ will serve for RFW-D100 interrupt events again. If no valid packet has been detected in this period, the receiver will sleep again. The MCU will initiate the charging and discharging cycle again before it enters power saving mode. The mouse or keyboard can re-transmit an RF packet again if there is no acknowledgment from the JB16 receiver. The maximum number of such re-transmissions can be adjusted through the MAC application interface transmission function. For the JB16 receiver to be able to detect the incoming packet, some timing parameters needed to be considered. The first is the small wakeup duration at each IRQ wakeup. For example, if the receiver is sleeping while a packet arrives, the transmitter will send out a second packet because there is no acknowledge from the receiver. If the IRQ wakeup period longer than the interval between the first and next re-transmitted packet, the re-transmitted packet can be detected by the receiver. Another timing is the interval between two IRQ interrupts. Consider a single key has been pressed on the keyboard. If an IRQ wakeup detection duty in the receiver has just elapsed before the arrival of the first RF keyboard packet, the receiver cannot detect that packet. The next wakeup duty will start at the next IRQ interrupt. It can be seen that for a smaller number of re-transmission setting in the keyboard, all re-transmission may have taken place before the next wakeup duty start. This means the receiver will fail to detect the pressed key and cannot wake up the host. Therefore, the interval between two IRQ interrupts should be shorter for a relative small re-transmission setting in the transmitter. This time interval can be adjusted by the external RC values, C22, and R45. Designer Reference Manual DRM050 Rev 0 44 Receiver Firmware MOTOROLA
45 nc. Designer Reference Manual DRM050 Section 9. Testing and Customization 9.1 Testing 9.2 Customization Hardware Optical Mouse Transmitter The solution was tested under different Windows Operating Systems on several different PCs. USB compliance test using Command Verifier version 1.2 Compatibility tests under Windows 98SE, 2000, and XP Compatibility tests of 1 AMD 750, Intel 810 and 845 chip set desktops, IBM Thinkpad T23, and Dell Latitude NoteBook C640 The DC/DC converters/regulators used in this reference design are for reference only, customers can choose any converters/regulators they prefer. The LEDs for the sensor can be connected to the DC/DC converter output or connected to the batteries output. The advantage of connecting to the DC/DC converter output is that the system can work in a lower voltage, but the drawback is higher current consumption. The advantage of connecting to the batteries output is the lower power consumption but the system will not work properly if battery voltage is below 2.5 V. 1. Trademarks are owned by their respective companies. DRM050 Rev 0 Designer Reference Manual MOTOROLA Testing and Customization 45
46 Testing and Customization nc Keyboard Transmitter Left the unused pin open USB Receiver The diodes connected in series at JB16 VDD can be removed if resistor networks are added in the data/address bus between JB16 and baseband IC as a 5-V to 3.3-V voltage divider RF Circuitry Firmware Mouse Transmitter Keyboard Transmitter Receiver The RF transceiver module, the baseband IC, and the CSMA protocol are developed by RFWaves. Please refer to RFWaves website for details and recommendations on RF circuitry customization. Set the timing parameters for power management. Modify the key matrix tables in KEY-MAP.ASM according to customized key matrix. Modify the KEYMAPTx.H and USB KEY-USB.ASM files according to customized key matrix. Change vendor ID, product ID, and product revision number in the device descriptor table in KBD-MSE.H. Change the report descriptor in KBS-MSE.H if necessary. Designer Reference Manual DRM050 Rev 0 46 Testing and Customization MOTOROLA
47 nc.
48 nc. HOW TO REACH US: USA/EUROPE/LOCATIONS NOT LISTED: Motorola Literature Distribution; P.O. Box 5405, Denver, Colorado or JAPAN: Motorola Japan Ltd.; SPS, Technical Information Center, , Minami-Azabu Minato-ku, Tokyo Japan ASIA/PACIFIC: Motorola Semiconductors H.K. Ltd.; Silicon Harbour Centre, 2 Dai King Street, Tai Po Industrial Estate, Tai Po, N.T., Hong Kong TECHNICAL INFORMATION CENTER: HOME PAGE: Information in this document is provided solely to enable system and software implementers to use Motorola products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters which may be provided in Motorola data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including Typicals must be validated for each customer application by customer s technical experts. Motorola does not convey any license under its patent rights nor the rights of others. Motorola products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Motorola product could create a situation where personal injury or death may occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Motorola was negligent regarding the design or manufacture of the part. Motorola and the Stylized M Logo are registered in the U.S. Patent and Trademark Office. digital dna is a trademark of Motorola, Inc. All other product or service names are the property of their respective owners. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer. Motorola, Inc DRM050/D
User Guide. Introduction. HCS12PLLCALUG/D Rev. 0, 12/2002. HCS12 PLL Component Calculator
User Guide HCS12PLLCALUG/D Rev. 0, 12/2002 HCS12 PLL Component Calculator by Stuart Robb Applications Engineering Motorola, East Kilbride Introduction The MC9S12D amily o MCUs includes a Phase-Locked Loop
AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor. http://onsemi.
Design Examples of On Board Dual Supply Voltage Logic Translators Prepared by: Jim Lepkowski ON Semiconductor Introduction Logic translators can be used to connect ICs together that are located on the
Local Interconnect Network (LIN) Physical Interface
Freescale Semiconductor Engineering Bulletin EB215 Rev. 1.0, 03/2005 Local Interconnect Network (LIN) Physical Interface Difference Between MC33399 and MC33661 Introduction This engineering bulletin highlights
Software Real Time Clock Implementation on MC9S08LG32
Freescale Semiconductor Document Number: AN4478 Rev. 0, 03/2012 Software Real Time Clock Implementation on MC9S08LG32 by: Nitin Gupta Automotive and Industrial Solutions Group 1 Introduction The MC9S08LG32
Genesi Pegasos II Setup
Freescale Semiconductor Application Note AN2666 Rev. 0, 07/2004 Genesi Pegasos II Setup by Maurie Ommerman CPD Applications Freescale Semiconductor, Inc. Austin, TX This application note is the first in
Programming Audio Applications in the i.mx21 MC9328MX21
Freescale Semiconductor Application Note Document Number: AN2628 Rev. 1, 10/2005 Programming Audio Applications in the MC9328MX21 by: Alfred Sin 1 Abstract The MC9328MX21 () processor has two dedicated
Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ
nc. Order this document by MC68328/D Microprocessor and Memory Technologies Group MC68328 MC68328V Product Brief Integrated Portable System Processor DragonBall ΤΜ As the portable consumer market grows
USB Thumb Drive. Designer Reference Manual. HCS12 Microcontrollers. freescale.com. DRM061 Rev. 0 9/2004
USB Thumb Drive Designer Reference Manual HCS12 Microcontrollers DRM061 Rev. 0 9/2004 freescale.com USB Thumb Drive Designer Reference Manual by: Kenny Lam, Derek Lau, and Dennis Lui Applications Engineering
Flexible Active Shutter Control Interface using the MC1323x
Freescale Semiconductor Document Number: AN4353 Application Note Rev. 0, 9/2011 Flexible Active Shutter Control Interface using the MC1323x by: Dennis Lui Freescale Hong Kong 1 Introduction This application
Blood Pressure Monitor Using Flexis QE128 Gabriel Sanchez RTAC Americas
Freescale Semiconductor Application Note Document Number: AN3500 Rev. 0, 08/2007 Blood Pressure Monitor Using Flexis QE128 by: Gabriel Sanchez RTAC Americas 1 Introduction Product designers and developers
Initializing the TSEC Controller
Freescale Semiconductor Application Note Document Number: AN2925 Rev. 0, 11/2005 Initializing the TSEC Controller by Ahsan Kabir Digital Systems Division Freescale Semiconductor, Inc. Austin, TX This application
SEMICONDUCTOR TECHNICAL DATA
SEMICONDUCTOR TECHNICAL DATA Order this document by MPX5050/D The MPX5050 series piezoresistive transducer is a state of the art monolithic silicon pressure sensor designed for a wide range of applications,
etpu Host Interface by:
Freescale Semiconductor Application Note AN2821 Rev. 2, 08/2007 etpu Host Interface by: David Paterson Ming Li MCD Applications 1 Introduction This application note discusses the enhanced Time Processing
LOW POWER NARROWBAND FM IF
Order this document by MC336B/D The MC336B includes an Oscillator, Mixer, Limiting Amplifier, Quadrature Discriminator, Active Filter, Squelch, Scan Control and Mute Switch. This device is designed for
AN588 ENERGY HARVESTING REFERENCE DESIGN USER S GUIDE. 1. Kit Contents. 2. Introduction. Figure 1. Energy Harvesting Sensor Node
ENERGY HARVESTING REFERENCE DESIGN USER S GUIDE 1. Kit Contents The RF to USB Reference Design contains the following items: Si1012 Energy Harvesting Wireless Sensor Node EZRadioPRO USB Dongle ToolStick
PQ-MDS-T1 Module. HW Getting Started Guide. Contents. About This Document. Required Reading. Definitions, Acronyms, and Abbreviations
HW Getting Started Guide PQ-MDS-T1 Module April 2006: Rev. 0.3 Contents Contents................................................................................. 1 About This Document.......................................................................
Freescale Semiconductor, I
nc. SEMICONDUCTOR APPLICATION NOTE ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 00 Order this document by AN8/D by: Eric Jacobsen and Jeff Baum Systems Engineering Group Sensor Products Division Motorola
P D 215 1.25 Operating Junction Temperature T J 200 C Storage Temperature Range T stg 65 to +150 C
SEMICONDUCTOR TECHNICAL DATA Order this document by /D The RF Line The is designed for output stages in band IV and V TV transmitter amplifiers. It incorporates high value emitter ballast resistors, gold
IRTC Compensation and 1 Hz Clock Generation
Freescale Semiconductor Document Number: AN4257 Application Note Rev. 0, January 2011 IRTC Compensation and 1 Hz Clock Generation by: Derek Liu Applications Engineering Shanghai 1 Introduction The MC9S08GW64
LC898300XA. Functions Automatic adjustment to the individual resonance frequency Automatic brake function Initial drive frequency adjustment function
Ordering number : A2053 CMOS LSI Linear Vibrator Driver IC http://onsemi.com Overview is a Linear Vibrator Driver IC for a haptics and a vibrator installed in mobile equipments. The best feature is it
Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs
Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,
USB 3.0* Radio Frequency Interference Impact on 2.4 GHz Wireless Devices
USB 3.0* Radio Frequency Interference Impact on 2.4 GHz Wireless Devices White Paper April 2012 Document: 327216-001 INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE,
M68EVB908QL4 Development Board for Motorola MC68HC908QL4
M68EVB908QL4 Development Board for Motorola MC68HC908QL4! Axiom Manufacturing 2813 Industrial Lane Garland, TX 75041 Email: [email protected] Web: http://www.axman.com! CONTENTS CAUTIONARY NOTES...3 TERMINOLOGY...3
Hardware Configurations for the i.mx Family USB Modules
Freescale Semiconductor Application Note Document Number: AN4136 Rev. 0, 06/2010 Hardware Configurations for the i.mx Family USB Modules by Multimedia Applications Division Freescale Semiconductor, Inc.
8-bit Microcontroller. Application Note. AVR415: RC5 IR Remote Control Transmitter. Features. Introduction. Figure 1.
AVR415: RC5 IR Remote Control Transmitter Features Utilizes ATtiny28 Special HW Modulator and High Current Drive Pin Size Efficient Code, Leaves Room for Large User Code Low Power Consumption through Intensive
HANDLING SUSPEND MODE ON A USB MOUSE
APPLICATION NOTE HANDLING SUSPEND MODE ON A USB MOUSE by Microcontroller Division Application Team INTRODUCTION All USB devices must support Suspend mode. Suspend mode enables the devices to enter low-power
ZigBee-2.4-DK 2.4 GHZ ZIGBEE DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. Figure 1. 2.4 GHz ZigBee Development Kit
2.4 GHZ ZIGBEE DEVELOPMENT KIT USER S GUIDE 1. Kit Contents The 2.4 GHz ZigBee Development Kit contains the following items, shown in Figure 1. 2.4 GHz 802.15.4/ZigBee Target Boards (6) Antennas (6) 9
AN437. Si4432 RF PERFORMANCE AND FCC COMPLIANCE TEST RESULTS. 1. Introduction. 2. Relevant Measurements to comply with FCC
Si4432 RF PERFORMANCE AND FCC COMPLIANCE TEST RESULTS 1. Introduction This document provides measurement results and FCC compliance results for the Si4432B when operated from 902 928 MHz. The measurement
Using XGATE to Implement LIN Communication on HCS12X Daniel Malik 8/16-Bit Products Division East Kilbride, Scotland
Freescale Semiconductor Application Note Document Number: AN2732 Rev. 0, 05/2004 Using XGATE to Implement LIN Communication on HCS12X By Daniel Malik 8/16-Bit Products Division East Kilbride, Scotland
Freescale Variable Key Security Protocol Transmitter User s Guide by: Ioseph Martínez and Christian Michel Applications Engineering - RTAC Americas
Freescale Semiconductor User s Guide VKSPTXUG Rev. 0, 06/2008 Freescale Variable Key Security Protocol Transmitter User s Guide by: Ioseph Martínez and Christian Michel Applications Engineering - RTAC
RDF1. RF Receiver Decoder. Features. Applications. Description. Ordering Information. Part Number Description Packages available
RDF1 RF Receiver Decoder Features Complete FM Receiver and Decoder. Small Form Factor Range up to 200 Metres* Easy Learn Transmitter Feature. Learns 40 transmitter Switches 4 Digital and 1 Serial Data
Using the HC08 SCI Module
Freescale Semiconductor Application Note AN3035 Rev. 0, 09/2005 Using the HC08 SCI Module By Jorge Zambada Tinoco Oscar Luna González RTAC Americas Mexico 2005 Overview This document is intended to serve
Wireless Temperature
Wireless Temperature connected freedom and Humidity Sensor Using TELRAN Application note TZ1053AN-06 Oct 2011 Abstract Dr. C. Uche This application note describes the complete system design (hardware and
DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD
DKWF121 WF121-A 802.11 B/G/N MODULE EVALUATION BOARD PRELIMINARY DATA SHEET Wednesday, 16 May 2012 Version 0.5 Copyright 2000-2012 Bluegiga Technologies All rights reserved. Bluegiga Technologies assumes
How To Use A Watt Saver On A Microcontroller (Watt Saver) On A Cell Phone Or Mp3 Player
Watt Saver for a Cell Phone AC Adapter Reference Design Document Number: DRM130 Rev 1, 10/2013 2 Freescale Semiconductor, Inc. Contents Section number Title Page Chapter 1 Introduction 1.1 Overview...5
Understanding LCD Memory and Bus Bandwidth Requirements ColdFire, LCD, and Crossbar Switch
Freescale Semiconductor Application Note Document Number: AN3606 Rev. 0, 03/2008 Understanding LCD Memory and Bus Bandwidth Requirements ColdFire, LCD, and Crossbar Switch by: Melissa Hunter TSPG Applications
LC03-6R2G. Low Capacitance Surface Mount TVS for High-Speed Data Interfaces. SO-8 LOW CAPACITANCE VOLTAGE SUPPRESSOR 2 kw PEAK POWER 6 VOLTS
Low Capacitance Surface Mount TVS for High-Speed Data terfaces The LC3- transient voltage suppressor is designed to protect equipment attached to high speed communication lines from ESD, EFT, and lighting.
i.mx Applications Processors with Hantro's Multimedia Framework
Freescale Semiconductor White Paper IMXHANTROWP/D Rev. 2, 09/2004 i.mx Applications Processors with Hantro's Multimedia Framework By: Clint Powell, Freescale Semiconductor Inc. Marko Nurro, Hantro Products
How To Fit A 2Mm Exposed Pad To A Dfn Package
EVERSPIN s New 2mm Exposed Pad DFN Package Meets Both SOIC-8 and DFN8 PCB Layouts This Application Note is to inform Everspin customers that a new, DFN8 package with a 2mm bottom exposed pad has been added
Using WinUSB in a Visual Studio Project with Freescale USB device controller
Freescale Semiconductor Document Number: AN4378 Application Note Rev. 0, 10/2011 Using WinUSB in a Visual Studio Project with Freescale USB device controller by: Paolo Alcantara Microcontroller Solutions
Detecting a CPM Overload on the PowerQUICC II
Freescale Semiconductor Application Note Document Number: AN2547 Rev. 1, 11/2006 Detecting a CPM Overload on the PowerQUICC II by Qiru Zou NCSD Applications Freescale Semiconductor, Inc. Austin, TX This
Application Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration
AVR270: USB Mouse Demonstration Features Runs with AT90USB Microcontrollers at 8MHz USB Low Power Bus Powered Device (less then 100mA) Supported by any PC running Windows (98SE or later), Linux or Mac
MPC8245/MPC8241 Memory Clock Design Guidelines: Part 1
Freescale Semiconductor AN2164 Rev. 4.1, 03/2007 MPC8245/MPC8241 Memory Clock Design Guidelines: Part 1 by Esther C. Alexander RISC Applications, CPD Freescale Semiconductor, Inc. Austin, TX This application
Real Time Development of MC Applications using the PC Master Software Visualization Tool. 1. Introduction. 2. Development of Motor Control.
Freescale Semiconductor Application Note AN1948 Rev. 1, 11/2005 Real Time Development of MC Applications using the PC Master Software Visualization Tool The PC Master Software Visualization Tool Simplifies
Handling Freescale Pressure Sensors
Freescale Semiconductor Application Note Rev 3, 11/2006 Handling Freescale Pressure by: William McDonald INTRODUCTION Smaller package outlines and higher board densities require the need for automated
APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description
APPLICATION NOTE Atmel AT259: In House Unit with Bluetooth Low Energy Module Hardware User Guide Features 8-bit Atmel Microcontroller Low power consumption Interface with BLE with UART Bi-direction wake
2.0 System Description
2.0 System Description The wireless alarm system consists of two or more alarm units within a specified range of one another. Each alarm unit employs a radio transceiver, allowing it to communicate with
CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup
CP2110 EVALUATION KIT USER S GUIDE 1. Kit Contents The CP2110 Evaluation Kit contains the following items: CP2110 Evaluation Board RS232 Serial Cable USB Cable DVD Quick Start Guide 2. Relevant Documentation
Spread Spectrum Clock Generator
Spread Spectrum Clock Generator Features Generates a 1x (PCS3P5811), x (PCS3P581) and 4x() low EMI spread spectrum clock of the input frequency Provides up to 15dB of EMI suppression Input Frequency: 4MHz
PowerQUICC II Pro (MPC83xx) PCI Agent Initialization
Freescale Semiconductor Application Note Document Number: AN3373 Rev. 0, 04/2007 PowerQUICC II Pro (MPC83xx) PCI Agent Initialization by: David Smith Field Application Engineering Raleigh, NC In many designs,
Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester
Leonardo Journal of Sciences ISSN 1583-0233 Issue 20, January-June 2012 p. 31-36 Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester Ganesh Sunil NHIVEKAR *, and Ravidra Ramchandra MUDHOLKAR
ESD7484. 4-Line Ultra-Large Bandwidth ESD Protection
4-Line Ultra-Large Bandwidth ESD Protection Functional Description The ESD7484 chip is a monolithic, application specific discrete device dedicated to ESD protection of the HDMI connection. It also offers
Part Number Description Packages available
Features 3 digital I/O Serial Data output Connects directly to RF Modules Easy Enc / Dec Pairing Function Minimal External Components Required Performs all encoding/decoding of data for Reliable Operation.
AND9035/D. BELASIGNA 250 and 300 for Low-Bandwidth Applications APPLICATION NOTE
BELASIGNA 250 and 300 for Low-Bandwidth Applications APPLICATION NOTE Introduction This application note describes the use of BELASIGNA 250 and BELASIGNA 300 in low bandwidth applications. The intended
PAC52XX Clock Control Firmware Design
APPLICATION NOTE PAC52XX Clock Control Firmware Design TM Marc Sousa Senior Manager, Systems and Firmware www.active-semi.com Copyright 2014 Active-Semi, Inc. TABLE OF CONTENTS APPLICATION NOTE... 1 Table
FM TRANSMITTER & RECEIVER HYBRID MODULES. FM-RTFQ SERIES FM-RRFQ SERIES. Transmitter. Receiver. Applications
FM Radio Transmitter & Receivers Available as or or 868MHz Transmit Range up to 20m Miniature Packages Data Rate up to 9.6Kbps No Adjustable Components Very Stable Operating Frequency Operates from 20
LoRa FAQs. www.semtech.com 1 of 4 Semtech. Semtech Corporation LoRa FAQ
LoRa FAQs 1.) What is LoRa Modulation? LoRa (Long Range) is a modulation technique that provides significantly longer range than competing technologies. The modulation is based on spread-spectrum techniques
USB HID bootloader for the MC9S08JM60
Freescale Semiconductor Document Number: AN4252 Application Note Rev. 0, 4/2011 USB HID bootloader for the MC9S08JM60 by: Derek Lau System and Solution Engineering, Microcontroller Solutions Group Hong
Bluetooth SMART Advertise-Only Beacon Reference Design
EM MICROELECTRONIC - MARIN SA PRELIMINARY Bluetooth SMART Advertise-Only Beacon Reference Design Features COMPLETE BLE BEACON SYSTEM o EM9301 Bluetooth SMART Controller o EM6819 0.9V Flash Microcontroller
LOW POWER FM TRANSMITTER SYSTEM
Order this document by MC28/D MC28 is a onechip FM transmitter subsystem designed for cordless telephone and FM communication equipment. It includes a microphone amplifier, voltage controlled oscillator
Intel architecture. Platform Basics. White Paper Todd Langley Systems Engineer/ Architect Intel Corporation. September 2010
White Paper Todd Langley Systems Engineer/ Architect Intel Corporation Intel architecture Platform Basics September 2010 324377 Executive Summary Creating an Intel architecture design encompasses some
How To Control A Motor Control On An Hvac Platform
Freescale Semiconductor Document Number:AN4616 Application Note Rev. 0, 10/2012 Flap Motor Control Based On HVAC Platform by: Shawn Shi, Albert Chen, Alex Liu 1 Introduction According to the world market
AND9015. A Solution for Peak EMI Reduction with Spread Spectrum Clock Generators APPLICATION NOTE. Prepared by: Apps Team, BIDC ON Semiconductor
A Solution for Peak EMI Reduction with Spread Spectrum Clock Generators Prepared by: Apps Team, BIDC ON Semiconductor APPLICATION NOTE Introduction This application note will outline Spread Spectrum Clock
AND8326/D. PCB Design Guidelines for Dual Power Supply Voltage Translators
PCB Design Guidelines for Dual Power Supply Voltage Translators Jim Lepkowski ON Semiconductor Introduction The design of the PCB is an important factor in maximizing the performance of a dual power supply
MC33064DM 5 UNDERVOLTAGE SENSING CIRCUIT
Order this document by MC3464/D The MC3464 is an undervoltage sensing circuit specifically designed for use as a reset controller in microprocessor-based systems. It offers the designer an economical solution
Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction
Atmel AVR4903: ASF - USB Device HID Mouse Application Features USB 2.0 compliance - Chapter 9 compliance - HID compliance - Low-speed (1.5Mb/s) and full-speed (12Mb/s) data rates Standard USB HID mouse
PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram
TOOLSTICK VIRTUAL TOOLS USER S GUIDE RELEVANT DEVICES 1. Introduction The ToolStick development platform consists of a ToolStick Base Adapter and a ToolStick Daughter card. The ToolStick Virtual Tools
Performance Monitor on PowerQUICC II Pro Processors
Freescale Semiconductor Application Note Document Number: AN3359 Rev. 0, 05/2007 Performance Monitor on PowerQUICC II Pro Processors by Harinder Rai Network Computing Systems Group Freescale Semiconductor,
76-77 GHz RF Transmitter Front-end for W-band Radar Applications
Freescale Semiconductor Data Sheet Summary for MC33 7-77 GHz RF Transmitter Front-end for W-band Radar Applications The MR2001 is a scalable three package solution for automotive radar modules. The chipset
HANDS-FREE BLUETOOTH CONTROLLER for SMART READY TABLETS AND COMPUTERS
HANDS-FREE BLUETOOTH CONTROLLER for SMART READY TABLETS AND COMPUTERS Operating Manual 2 CONTENTS Before Turning on Your PED... 4 Power... 5 ON... 5 OFF... 5 Modes... 6 Changing the MODE... 7 Connecting
Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB
APPLICATION NOTE M16C/26 1.0 Abstract The following article describes using a synchronous serial port and the FoUSB (Flash-over-USB ) Programmer application to program the user flash memory of the M16C/26
Logitech Advanced 2.4 GHz Technology
Logitech Advanced 2.4 GHz Technology Revision 1.1H March 2, 2009 TABLE OF CONTENTS 1 INTRODUCTION... 3 2 SYSTEM OVERVIEW... 4 2.1 NETWORK TOPOLOGY...4 2.2 MAIN FEATURES...4 3 ASSOCIATION MODEL... 5 4 ENCRYPTION...
AND8365/D. 125 kbps with AMIS-4168x APPLICATION NOTE
125 kbps with AMIS-4168x Introduction Question Is it possible to drive 125kB with the AMIS 41682? Please consider all possible CAN bit timings (TSEG1, TSEG2, SJW), a capacitive load at each can pin about
SM1231 USER GUIDE SM1231 RF MODULE USER GUIDE
SM1231 RF MODULE Revision 1.0 11/2009 Page 1 of 8 www.semtech.com Table of Contents Table of Contents...2 Index of Figures...2 Index of Tables...2 1 Introduction...3 2 Reference Design...3 3 PCB Layout...6
ULN2803A ULN2804A OCTAL PERIPHERAL DRIVER ARRAYS
Order this document by ULN283/D The eight NPN Darlington connected transistors in this family of arrays are ideally suited for interfacing between low logic level digital circuitry (such as TTL, CMOS or
CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start
CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start SYSTEM REQUIREMENTS Hardware Operating System Disk Space PC with 1 GHz Intel Pentum -compatible processor 512 MB of RAM
APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.
APPLICATION NOTE Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer Introduction Atmel AVR 8-bit Microcontroller This application note describes how to implement a real time counter (RTC)
Tire pressure monitoring
Application Note AN601 Tire pressure monitoring 1 Purpose This document is intended to give hints on how to use the Intersema pressure sensors in a low cost tire pressure monitoring system (TPMS). 2 Introduction
SEMICONDUCTOR TECHNICAL DATA
SEMICONDUCTOR TECHNICAL DATA The B Series logic gates are constructed with P and N channel enhancement mode devices in a single monolithic structure (Complementary MOS). Their primary use is where low
Comparison of MC9S08QE128 and MCF51QE128 Microcontrollers Scott Pape and Eduardo Montanez Systems Engineering, Freescale Microcontroller Division
Freescale Semiconductor White Paper Document Number: QE128COMPWP Rev. 0, 05/2007 Comparison of MC9S08QE128 and MCF51QE128 Microcontrollers by: Scott Pape and Eduardo Montanez Systems Engineering, Freescale
AN3998 Application note
Application note PDM audio software decoding on STM32 microcontrollers 1 Introduction This application note presents the algorithms and architecture of an optimized software implementation for PDM signal
Old Company Name in Catalogs and Other Documents
To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took
STF202-22. USB Filter with ESD Protection
STF202-22 USB Filter with ESD Protection This device is designed for applications requiring Line Termination, EMI Filtering and ESD Protection. It is intended for use in upstream USB ports, ellular phones,
Figure 1.Block diagram of inventory management system using Proximity sensors.
Volume 1, Special Issue, March 2015 Impact Factor: 1036, Science Central Value: 2654 Inventory Management System Using Proximity ensors 1)Jyoti KMuluk 2)Pallavi H Shinde3) Shashank VShinde 4)Prof VRYadav
PD 40 0.23 Storage Temperature Range Tstg 65 to +150 C Junction Temperature TJ 200 C
SEMICONDUCTOR TECHNICAL DATA Order this document by MRF228/D The RF Line... designed for. volt VHF large signal power amplifiers in commercial and industrial FM equipment. Compact.28 Stud Package Specified.
SN54/74LS682 SN54/74LS684 8-BIT MAGNITUDE COMPARATORS SN54/74LS688 8-BIT MAGNITUDE COMPARATORS FAST AND LS TTL DATA 5-603
8-BIT MAGNITUDE COMPARATORS The SN54/ 74LS682, 684, 688 are 8-bit magnitude comparators. These device types are designed to perform compariso between two eight-bit binary or BCD words. All device types
SX1272/3/6/7/8: LoRa Modem. Low Energy Consumption Design AN1200.17. TCo. SX1272/3/6/7/8 LoRa Modem Design Guide WIRELESS & SENSING
: LoRa Modem Low Energy Consumption Design AN1200.17 TCo 1 Table of Contents 1 Energy Consumption... 3 1.1 Introduction... 3 1.2 The LoRa Calculator... 3 1.3 Star Network Connectivity... 4 2 Duty Cycled
Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD
Quick Start Guide MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD Quick Start Guide Get to Know the MRB-KW01x Module UART Selector ANT 1 RFIO (TX/RX) USB 2.0 Serial
LOW POWER SCHOTTKY. http://onsemi.com GUARANTEED OPERATING RANGES ORDERING INFORMATION
The TTL/MSI SN74LS151 is a high speed 8-input Digital Multiplexer. It provides, in one package, the ability to select one bit of data from up to eight sources. The LS151 can be used as a universal function
Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A
Application Note Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A AN026701-0308 Abstract This application note demonstrates a method of implementing the Serial Peripheral Interface
If anything is damaged or missing, contact your dealer.
User Manual CS-62 Read this guide thoroughly and follow the installation and operation procedures carefully in order to prevent any damage to the units and/or any devices that connect to them. This package
Maximizing Range and Battery Life in Low-Cost Wireless Networks
Maximizing Range and Battery Life in Low-Cost Wireless Networks The proliferation of cost-effective wireless technology has led to the rise of entirely new types of networks across a wide range of applications
NUP4106. Low Capacitance Surface Mount TVS for High-Speed Data Interfaces SO 8 LOW CAPACITANCE VOLTAGE SUPPRESSOR 500 WATTS PEAK POWER 3.
Low Capacitance Surface Mount TVS for High-Speed Data Interfaces The NUP0 transient voltage suppressor is designed to protect equipment attached to high speed communication lines from ESD and lightning.
Prepared by: Paul Lee ON Semiconductor http://onsemi.com
Introduction to Analog Video Prepared by: Paul Lee ON Semiconductor APPLICATION NOTE Introduction Eventually all video signals being broadcasted or transmitted will be digital, but until then analog video
USB to SPI Interface Evaluation Board
Freescale Semiconductor KTUSBSPIEVBSIUG User s Guide Rev. 1.0, 8/2006 USB to SPI Interface Evaluation Board (Featuring MCHC908JW32FC) The KITUSBSPIEVME Evaluation Board is a working hardware/software example
Hello, and welcome to this presentation of the STM32L4 reset and clock controller.
Hello, and welcome to this presentation of the STM32L4 reset and clock controller. 1 The STM32L4 reset and clock controller manages system and peripheral clocks. STM32L4 devices embed three internal oscillators,
Secure My-d TM and Mifare TM RFID reader system by using a security access module Erich Englbrecht ([email protected]) V0.1draft
Application Report Secure My-d TM and Mifare TM RFID reader system by using a security access module Erich Englbrecht ([email protected]) V0.1draft Embedded RF ABSTRACT This application report describes
3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers
Freescale Semiconductor Application Note AN1916 Rev. 2.0, 11/2005 3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers Leonard N. Elevich Contents 1. Application Benefits...1
AN655 R ANGE TEST APPLICATION FOR EZRADIO AND EZRADIOPRO. 1. Introduction. 2. Supported Radio Types
R ANGE TEST APPLICATION FOR EZRADIO AND EZRADIOPRO 1. Introduction The range evaluation demo provides an easy way to evaluate the link budget of EZRadio and EZRadioPRO devices by performing a range test
