DRM050, 2.4-GHz Wireless Optical Mouse And Multimedia

2y ago
8 Views
2 Downloads
1.27 MB
48 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Maleah Dent
Transcription

Freescale Semiconductor, Inc.Freescale Semiconductor, Inc.2.4-GHz WirelessOptical Mouse andMultimedia KeyboardSolutionDesigner ReferenceManualM68HC08MicrocontrollersDRM050/DRev. 0, 09/2003MOTOROLA.COM/SEMICONDUCTORSFor More Information On This Product,Go to: www.freescale.com

Freescale Semiconductor, Inc.Freescale Semiconductor, Inc.For More Information On This Product,Go to: www.freescale.com

Freescale Semiconductor, Inc.Freescale Semiconductor, Inc.2.4-GHz Wireless Optical Mouse andMultimedia Keyboard SolutionDesigner Reference Manual — Rev 0By: Dennis LuiErnest ChanW.S. WongApplications EngineeringMicrocontroller DivisionHong KongTo provide the most up-to-date information, the revision of our documents onthe World Wide Web will be the most current. Your printed copy may be anearlier revision. To verify you have the latest information available, refer to:http://motorola.com/semiconductorsThe following revision history table summarizes changes contained in thisdocument. For your convenience, the page number designators have beenlinked 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.DRM050 — Rev 0 Motorola, Inc., 2003Designer Reference ManualMOTOROLA3For More Information On This Product,Go to: www.freescale.com

Freescale Semiconductor, Inc.Revision HistoryRevision HistoryPageThroughoutNADescription of ChangeInitial ReleaseFreescale Semiconductor, Inc.SectionDesigner Reference Manual4DRM050 — Rev 0Revision HistoryFor More Information On This Product,Go to: www.freescale.comMOTOROLA

Freescale Semiconductor, Inc.Designer Reference Manual — DRM050Table of ContentsFreescale Semiconductor, Inc.Section 1. System Overview1.1Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71.2Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71.3System Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81.4Transmit and Receive. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9Section 2. RF Front End2.1Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112.2Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112.3RF Transceiver Module RFW102 . . . . . . . . . . . . . . . . . . . . . . . 122.4Interface IC RFW-D100 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142.5Antenna and PCB Specification . . . . . . . . . . . . . . . . . . . . . . . .15Section 3. Optical Mouse Transmitter3.1Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173.2System Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173.2.1Microcontroller JB8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183.2.2Optical Mouse Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183.2.3RF Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193.2.4DC/DC Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Section 4. Mouse Transmitter Firmware4.1MAC Layer Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214.2Application Firmware Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224.3Power Management for the Mouse. . . . . . . . . . . . . . . . . . . . . . 234.4Output Buffer Format for the RF Packet . . . . . . . . . . . . . . . . . . 24DRM050 — Rev 0Designer Reference ManualMOTOROLA5For More Information On This Product,Go to: www.freescale.com

Freescale Semiconductor, Inc.Section 5. Multimedia Keyboard Transmitter5.1Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275.2System Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275.2.1Microcontroller LK24 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285.2.2RF Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285.2.3DC/DC Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Freescale Semiconductor, Inc.Section 6. Keyboard Transmitter Firmware6.1Firmware Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316.2Output Buffer Format for Keyboard RF Packet. . . . . . . . . . . . . 32Section 7. USB Receiver7.1Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357.2System Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357.2.1Microcontroller JB16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367.2.2RF Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367.2.3Voltage Regulator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Section 8. Receiver Firmware8.1Receiver Firmware Structure . . . . . . . . . . . . . . . . . . . . . . . . . . 398.2USB Report. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418.2.1Input Report Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438.3Remote Wakeup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Section 9. Testing and Customization9.1Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459.2Customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459.2.1Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459.2.1.1Optical Mouse Transmitter . . . . . . . . . . . . . . . . . . . . . . . . 459.2.1.2Keyboard Transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . 469.2.1.3USB Receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469.2.1.4RF Circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469.2.2Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469.2.2.1Mouse Transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469.2.2.2Keyboard Transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . 469.2.2.3Receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Designer Reference ManualDRM050 — Rev 06MOTOROLAFor More Information On This Product,Go to: www.freescale.com

Freescale Semiconductor, Inc.Designer Reference Manual — DRM050Section 1. System OverviewFreescale Semiconductor, Inc.1.1 IntroductionThis manual describes a reference design of a 2.4-GHz Universal SerialBus Wireless Optical Mouse and Multimedia Keyboard solution by usingthe MC68HC908JB8, MC68HC908LK24, and MC68HC908JB16.The whole system consists of a wireless mouse, a wireless keyboardand a USB receiver. The wireless communication link is developed in theworldwide unlicensed Industrial, Scientific, and Medical (ISM) band of2400–2483 MHz. All hardware schematic diagrams and firmware sourcecodes are available as reference materials.1.2 Features High speed RF link in 2.4-GHz ISM band Windows 98 , Windows 2000 , and Windows XP Compatible1 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 basedon RFWaves chipset and protocol1. Windows 98, Windows 2000 and Windows XP are trademarks of Microsoft Corporation in theU.S. and other countries.DRM050 — Rev 0MOTOROLADesigner Reference ManualSystem OverviewFor More Information On This Product,Go to: www.freescale.com7

Freescale Semiconductor, Inc.System Overview1.3 System eescale Semiconductor, Inc.SPI busSPI busRFW-D100MACRFW-D100MACParallelAddress &Data busParallelAddress &Data busKeyboard/MouseInterfaceMCU908LK24 /908JB8MCU908JB16USBPC HostInterfaceI/O DetectFigure 1-1. System OverviewThe system consists of three functional devices, a wireless opticalmouse using the MC68HC908JB8 (hereafter referred as JB8, productionversion uses the low voltage MC68HC08JT8), a wireless multimediakeyboard using the MC68HC908LK24 (hereafter referred as LK24), andthe wireless receiver using the MC68HC908JB16 (hereafter referred asJB16).The basic structure and functional blocks for each device are similar andconsist of a RF transceiver module for half duplex transmission in2.4-GHz frequency band, a baseband IC for link layer access control andprotocol handling. The overall system operation, I/O interface, andpower management are controlled by MCU.Based on the number of I/O pins, voltage operation, and memory sizerequirements, the JB8 and LK24 are chosen for wireless mouse andDesigner Reference Manual8DRM050 — Rev 0System OverviewFor More Information On This Product,Go to: www.freescale.comMOTOROLA

Freescale Semiconductor, Inc.System OverviewTransmit and Receivekeyboard designs. The JB16 is specially designed for USB wirelessapplication. It has high processing power and large memory size tohandle overall data traffic control for multiple input devices.1.4 Transmit and ReceiveFreescale Semiconductor, Inc.In data transmission, the data generated from the key matrix in akeyboard or displacement detection/button status data in mouseapplication is detected by MCU and sent to the baseband IC in a parallelformat. All kinds of media access, link layout control, and dataconversion in serial format are handled by the baseband IC. The finaldata in serial format is transmitted by the RF module at 2.4 GHz.In data reception, the data received from RF module is decoded withcorresponding protocol, and the serial packet data will be converted intoparallel format again in baseband processing. The final data in parallelformat will be captured by MCU and sent to the PC host through the USBinterface.DRM050 — Rev 0MOTOROLADesigner Reference ManualSystem OverviewFor More Information On This Product,Go to: www.freescale.com9

Freescale Semiconductor, Inc.Freescale Semiconductor, Inc.System OverviewDesigner Reference Manual10DRM050 — Rev 0System OverviewFor More Information On This Product,Go to: www.freescale.comMOTOROLA

Freescale Semiconductor, Inc.Designer Reference Manual — DRM050Section 2. RF Front EndFreescale Semiconductor, Inc.2.1 Introduction2.4-GHz RF links are designed for wireless communication media forthis application. The RF font end of the USB receiver, mouse, andkeyboard are the same. The front end is a half duplex direct sequencespread spectrum (DSSS) radio transceiver chipset, intended for use inthe world wide unlicensed Industrial, Scientific, and Medical (ISM) bandof 2400–2483.5MHz. The front end chipset mainly consist of two parts,the transceiver module RFW102 and the interface IC RFW-D100. CSMAis used as the communication protocol in between the USB receiver, thekeyboard, and mouse.2.2 Functional DescriptionThe complete solution of the RF transceiver consists of an RFtransceiver module RFW102 and a link interface IC RFW-D100. TheRFW-D100 links the MCU and the transceiver module. When data isbeing transmitted from the mouse or keyboard, the transmit data fromthe MCU is passes into the interface IC. In the interface IC, the data willbe converted from parallel type to serial type. Also it will be coded withpacket address and error checking.The serial data will then pass to the RF transceiver and ASK modulatesinto IF frequency 488 MHz. The modulated data will be DSSS spreadingand up-converts into 2.4 GHz RF signal for transmission.When the RF signal is received by the USB receiver, it isdown-converted into IF frequency and DSSS de-spreading into ASK IFsignal. Then, the ASK IF signal will demodulate into serial data out of theRF transceiver module RFW102.DRM050 — Rev 0MOTOROLADesigner Reference ManualRF Front EndFor More Information On This Product,Go to: www.freescale.com11

Freescale Semiconductor, Inc.RF Front EndThe received serial data will pass into the interface IC RFW-D100, inwhich it will be converted to parallel data for the MCU.Mouse & KeyboardAntenna6-24MHzFreescale Semiconductor, Inc.XtalMCU GPIOs(JB8/LJ24)RFW-D100Serial to parallel interfaceKeyboard/MouseRFW-102ModuleParallel Add/Data bus3.3VDC-DCBatteryUSB DongleAntenna6-24MHzRFW-102ModuleParallel Add/Data busRFW-D100Serial to parallel interfaceXtalMCU USB–I/F(JB16)Power CircuitDC-DC3.3VUSB 5V2.3 RF Transceiver Module RFW102The RFW102 transceiver module is a short-range, half-duplex wirelessradio transceiver. The transceiver is intended for use in the unlicensedISM band of 2400–2483.5 MHz.The transceiver module provides a peak output power of 2 dBm and datarate up to 1Mbps. Power consumption during transmit is extremely low,(21 mA in 1Mbps, 28 mA in 1 kbps), which is directly dependent on thebit transfer rate. During standby mode, the transceiver consumes almostno power and features an extremely short wake up time of 20 ms.The communication link between the transceivers is a Direct SequenceSpread Spectrum (DSSS) pulse pipe. The modulation scheme is 100%Designer Reference Manual12DRM050 — Rev 0RF Front EndFor More Information On This Product,Go to: www.freescale.comMOTOROLA

Freescale Semiconductor, Inc.RF Front EndRF Transceiver Module RFW102Amplitude Shift Keying (ASK). The spreading modulation scheme is aBi-Phase modulation where each bit has a 13-bit Barker series.Freescale Semiconductor, Inc.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 simple3-line interface. Tx/Rx is for controlling of the transceiver work in transmitor receive mode. Act is used for switching the transceiver betweenworking 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 directsequence spread spectrum spreading and de-spreading element. RFW488R — A 1-port SAW resonator, which serves as thesystem oscillation source.For detailed information on the internal implementation of the transceivermodule, please refer to the data sheet about the RFW102 fromRFWaves website:http://www.rfwaves.comDRM050 — Rev 0MOTOROLADesigner Reference ManualRF Front EndFor More Information On This Product,Go to: www.freescale.com13

Freescale Semiconductor, Inc.RF Front End2.4 Interface IC RFW-D100The RFW-D100 is a complimentary IC to the RFW-102 module. Itprovides an MCU with a parallel interface to the RFW-102 transceivermodule and other features that enable implementing a protocol suitablefor wireless communication with a small burden on the MCU.Freescale Semiconductor, Inc.In HID application, the MCU is in charge of the MAC layer protocol. TheRFW-D100 is used to reduce the real-time demands of the MCUhandling 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 theinput through a 16-byte FIFO, giving the MCU access the RFW-D100efficiently. Instead of reading one byte per interrupt, the MCU can readup 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 datasheet about the RFW-D100 from the RFWaves website:http://www.rfwaves.comDesigner Reference Manual14DRM050 — Rev 0RF Front EndFor More Information On This Product,Go to: www.freescale.comMOTOROLA

Freescale Semiconductor, Inc.RF Front EndAntenna and PCB Specification2.5 Antenna and PCB SpecificationThe antenna interface of the RFWaves module RFW102 is 200 Ωdifferential. For matching and placement of different antenna, refer to thedata sheet of the specific antenna you are using.Freescale Semiconductor, Inc.The reference antenna of the RFWaves transceiver module RFW102-Mused here is a special design printed circuit board differential loopantenna. The purpose of this design is aimed at low cost, small formfactor, and high directivity design.For the dimension and PCB specification of the antenna board, pleaserefer to documents which can be download from RFWaves website:http://www.rfwaves.comDRM050 — Rev 0MOTOROLADesigner Reference ManualRF Front EndFor More Information On This Product,Go to: www.freescale.com15

Freescale Semiconductor, Inc.Freescale Semiconductor, Inc.RF Front EndDesigner Reference Manual16DRM050 — Rev 0RF Front EndFor More Information On This Product,Go to: www.freescale.comMOTOROLA

Freescale Semiconductor, Inc.Designer Reference Manual — DRM050Section 3. Optical Mouse TransmitterFreescale Semiconductor, Inc.3.1 IntroductionThe JB8 has 8K Flash memory, 3-MHz bus processing power, 16-bit2-channel timer module, and appropriate number of I/O pins makes thisMCU suited for this 2.4-GHz Wireless Optical Mouse application. Themain features of the reference design include: 2.4-GHz RF Link 1 Mbps data rate 800 DPI Resolution Smart Power Management3.2 System OverviewThe optical mouse consists of the JB8, the Agilent optical mouse sensorADNS-2030, the baseband IC and RF Module from RFWaves, andDC/DC converter. Figure 3-1 shows the block diagram of the system.DRM050 — Rev 0MOTOROLADesigner Reference ManualOptical Mouse TransmitterFor More Information On This Product,Go to: www.freescale.com17

Freescale Semiconductor, Inc.Optical Mouse TransmitterLOOPANTENNAL2.4 GHz RFTransceiverModuleMRL2R2Freescale Semiconductor, E0SCLKPTE1SDIOPTE2PDIMAGESENSORXY LEDPTA4(16-pin PDIP)BasebandMAC ICD100DGNDPTA5PTA6RFD INTIRQDATA BUSADDRESS / CTL BUSPTB7-PTB0Z2RSTOSC210MPTC7-PTC0OSC1DC/DC Converters3.3V and 5VZ-axisEncoderZ1X1100nF30pF6MHz30pF(44-pin QFP)Figure 3-1. Mouse Block Diagram3.2.1 Microcontroller JB8The functions of the JB8 are to get the XY displacement from the sensor,detect the Z displacement, check button status, control the baseband ICto sending out data, and perform the overall power management.Three standard left, middle, and right buttons (and two additional buttonsreserved for future development) are implemented.3.2.2 Optical Mouse SensorThe AN2030 is a 3-V supply sensor specially design for wireless opticalmouse. The communication between the sensor and the JB8 is throughSerial Peripheral Interface with clock input at the SCLK pin andbidirection data interface at SDIO pin. The Power Down (PD) pin is usedto power down the sensor when it’s not in use.Designer Reference Manual18DRM050 — Rev 0Optical Mouse TransmitterFor More Information On This Product,Go to: www.freescale.comMOTOROLA

Freescale Semiconductor, Inc.Optical Mouse TransmitterSystem Overview3.2.3 RF TransmissionThe data from the MCU will be transferred to the baseband IC for parallelto serial packet conversion as well as error checking. The encoded datawill be passed to the RF module for ASK modulation in IF band andfrequency spreading with DSSS scheme. The modulated signal will befurther up-converted into 2.4-GHz ISM band for final transmission.Freescale Semiconductor, Inc.3.2.4 DC/DC ConverterThe power supply for a handheld device should be able to keep the DCvoltage output at a constant level even though the input battery voltageis continuously dropping down. There are two DC/DC converters; the3.3-V supply is used for the baseband IC and RF module. The 5-Vsupply is only used for the JB8, but it would be eliminated in the finalproduct when the low-voltage version JT8 is used.DRM050 — Rev 0MOTOROLADesigner Reference ManualOptical Mouse TransmitterFor More Information On This Product,Go to: www.freescale.com19

Freescale Semiconductor, Inc.Freescale Semiconductor, Inc.Optical Mouse TransmitterDesigner Reference Manual20DRM050 — Rev 0Optical Mouse TransmitterFor More Information On This Product,Go to: www.freescale.comMOTOROLA

Freescale Semiconductor, Inc.Designer Reference Manual — DRM050Section 4. Mouse Transmitter Firmware4.1 MAC Layer ProtocolFreescale Semiconductor, Inc.Each piece of firmware on the mouse, keyboard, or dongle consists of aMAC layer implementing the RFWaves Carrier Sense Multiple Access(CSMA) protocol. In CSMA protocol, every device in the network usesthe same physical channel for communication. Each device will firstdetect whether the channel is being used by others before it initiates itsown transmission.The MAC layer manages the wireless communication between themouse/keyboard and the dongle through the baseband RFW-D100 IC.The MAC layer implements two interrupt functions from each of theMCUs. The IRQ and one Timer Channel are used by the MAC.Interface functions have been built for the application to access theMAC. 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 resumefrom itThe “MACAPI.H” header file in each of the firmware contains moredetails about these functions and their uses.DRM050 — Rev 0MOTOROLADesigner Reference ManualMouse Transmitter FirmwareFor More Information On This Product,Go to: www.freescale.com21

Freescale Semiconductor, Inc.Mouse Transmitter Firmware4.2 Application Firmware FlowFigure 4-1 shows the main application firmware flow of the wirelessoptical mouse. One of the main challenges in wireless optical mousedesign is the power management to minimize the power consumptionand maximize the performance.Freescale Semiconductor, Inc.MAIN PROGRAMINITIATE SENSOR,AND RF HARDWAREGET XY DISPLACEMENTFROM SENSORGET Z DISPLACEMENTFOR EVERY MSIRQ ISRIRQ DRIVEN BYYESPERIODICALWAKEUP SIGNAL?NOSERVE THE INTERRUPTEVENT FROMRFW-D100 BASEBAND CHIPDISABLE THE PERIODICALWAKEUP FOR MCU TO CHECKMOVEMENT AND BUTTONSCHECK BUTTONFOR EVERY MSNNEWMOUSE DATA?YINIT MAC TOTRANSMIT DATAPOWER MANAGEMENTFigure 4-1. Firmware StructureDesigner Reference Manual22DRM050 — Rev 0Mouse Transmitter FirmwareFor More Information On This Product,Go to: www.freescale.comMOTOROLA

Freescale Semiconductor, Inc.Mouse Transmitter FirmwarePower Management for the MouseFreescale Semiconductor, Inc.The main program continually checks the registers of the sensor to seeif any XY movement happened. If any XY movement is detected, it getsthe X and Y displacements from the sensor registers, puts them in theFIFO buffer and sets the corresponding flags. For every ms timer tick, itchecks the Z movement and the buttons’ status. If new mouse data hasbeen detected, JB8 will initiate the RF data transmission through thebaseband RFW-D100 IC.Apart from serving the interrupt events from the baseband D100 ICduring normal operation, IRQ serves as the periodical wakeup signalwhen JB8 is in sleep mode. The JB8 must check whether there is anynew movement or if the buttons’ status changed. IRQ ISR firmware willdetermine what appropriate actions must be taken.4.3 Power Management for the MouseSensor fully turned onZLED turned onfor every 700usxy no movementfor 5sHIGH CURRENTxy movementxy movementSensor and ZLED turnedon for every 250msSLEEPz movementor buttonSensor turned on every25ms, ZLED turned onfor every 700usPOWER SAVING(STARTUP)xyz no movementandno button for 50sFigure 4-2. Power ManagementDRM050 — Rev 0MOTOROLADesigner Reference ManualMouse Transmitter FirmwareFor More Information On This Product,Go to: www.freescale.com23

Freescale Semiconductor, Inc.Mouse Transmitter FirmwareFigure 4-2 shows the flow of the power management. There are threedefined stages — Power Saving, High Current, and Sleep stage.Freescale Semiconductor, Inc.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 movementoccurred. The Z movement and buttons are sensed for every ms.If no activity happens in 50 seconds, it enters the Sleep stage. In thisstage, the JB8 is put in stop mode and will be woken up every 250 ms tomonitor any activity. The RFW-D100 and RFW-D102 IC are in idle mode(not in power down mode). Their power consumption will be reducedbecause the system CLK to RFW-D100 has been stopped (JB8 andRFW-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 continuallymonitored. The Z movement and buttons’ activities are still monitored forevery ms. If no XY movement happens in 5 seconds, it then entersPower Saving Stage.Except for the 1 ms timer tick, all the above mentioned timings canconfigured by changing their constant values.4.4 Output Buffer Format for the RF PacketUsers may refer to the RFWaves RFW-D100 IC data sheet for moredetail about the RFWaves Packet Structure (Rev 1.3, Appendix B).Figure 4-3 shows the output buffer format for the mouse RF packet. Thecontents of this will be transmitted when invoking the transmissionfunction. Users can refer to the “TransmitData” function in “main.c” of thereference firmware as an example.The first byte is the total size of the buffer data (equal to 11 here). Bytes2 through 5 are the Network ID which is used to distinguish differentRFWaves Networks. Byte 6 is the node ID which is used for identificationof different device within the network. The last four bytes are the mousedata.Designer Reference Manual24DRM050 — Rev 0Mouse Transmitter FirmwareFor More Information On This Product,Go to: www.freescale.comMOTOROLA

Freescale Semiconductor, Inc.Mouse Transmitter FirmwareOutput Buffer Format for the RF PacketThe contents of the output buffer will be received by the JB16 dongle anddongle can extract the mouse data and send to the host through USB.Output Buffer StructureFor for Mouse RF PacketFreescale Semiconductor, Inc.Packet SizeNetwork ID byte1Network ID byte2Network ID byte3Network ID byte4Node IDReserved for SequencePacket SizeButton gure 4-3. Output Buffer Format for the Mouse PacketDRM050 — Rev 0MOTOROLADesigner Reference ManualMouse Transmitter FirmwareFor More Information On This Product,Go to: www.freescale.com25

Freescale Semiconductor, Inc.Freescale Semiconductor, Inc.Mouse Transmitter FirmwareDesigner Reference Manual26DRM050 — Rev 0Mouse Transmitter FirmwareFor More Information On This Product,Go to: www.freescale.comMOTOROLA

Freescale Semiconductor, Inc.Designer Reference Manual — DRM050Section 5. Multimedia Keyboard TransmitterFreescale Semiconductor, Inc.5.1 IntroductionThe LK24 has a built-in PLL with a low frequency crystal (32.768 kHz)and is able to operate as fast as 4 MHz bus speed at 3.3 V. It containsenough I/O pins for key matrix scanning. The main features of thekeyboard include: 2.4-GHz RF Link 1 Mbps data rate Power management keys (power, wake and sleep) supportMultimedia keys support5.2 System OverviewThe keyboard transmitter consists of the LK24, the baseband IC and RFModule from RFWaves, and DC/DC converter. Figure 5-1 shows theblock diagram of the system.DRM050 — Rev 0MOTOROLADesigner Reference ManualMultimedia Keyboard TransmitterFor More Information On This Product,Go to: www.freescale.com27

Freescale Semiconductor, Inc.Multimedia Keyboard TransmitterLOOPANTENNAMC68HC908LK24[Externalpullup R]2.4 GHz RFTransceiverModulePTF0-7PTC0-7PTB6-7COL[0:17]Key MatrixFreescale Semiconductor, Inc.(8 rows x 18 columns)PTA0-3PTD4-7BasebandMAC ICD100ROW[0:7][Externalpullup R]RFD INTDATA BUSADDRESS / CTL C/DC Converter3.3VX1OSC132.768kHz10pF(80-pin LQFP)Figure 5-1. Keyboard Block Diagram5.2.1 Microcontroller LK24The functions of the LK24 are to scan the key matrix and determine whatkeys are pressed and released, control the baseband IC to sending outdata, and perform the overall system control.5.2.2 RF TransmissionThe data from MCU will be transferred to the baseband IC for parallel toserial packet conversion as well as error checking. The encoded datawill be passed to the RF module for ASK modulation in IF band andfrequency spreading with DSSS scheme. The modulated signal will befurther up-converted into the 2.4-GHz ISM band for final transmission.Designer Reference Manual28DRM050 — Rev 0Multimedia Keyboard TransmitterFor More Information On This Product,Go to: www.freescale.comMOTOROLA

Freescale Semiconductor, Inc.Multimedia Keyboard TransmitterSystem Overview5.2.3 DC/DC ConverterFreescale Semiconductor, Inc.The power supply for a handheld device should be able to keep the DCvoltage output at a constant level even though the input battery voltageis continuously dropping down, so a 3.3 V DC/DC converter is designedfor the whole system, including the MCU and the baseband IC and RFmodule.DRM050 — Rev 0MOTOROLADesigner Reference ManualMultimedia Keyboard TransmitterFor More Information On This Product,Go to: www.freescale.com29

Freescale Semiconductor, Inc.Freescale Semiconductor, Inc.Multimedia Keyboard TransmitterDesigner Reference Manual30DRM050 — Rev 0Multimedia Keyboard TransmitterFor More Information On This Product,Go

8 System Overview MOTOROLA 1.3 System Overview Figure 1-1. System Overview 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

Related Documents:

Preamp On 10 MHz to 4 GHz –160 dBm 4 GHz to 9 GHz –156 dBm 9 GHz to 13 GHz –152 dBm 13 GHz to 20 GHz –145 dBm 20 GHz to 32 GHz –154 dBm 32 GHz to 40 GHz –147 dBm Spurs Residual Spurs Preamp Off (RF input terminated, 0 dB input attenuation) –90 dBm 9 kHz to 13 GHz, –85 dBm 13 GHz to 20 GHz, –80 dBm 20 GHz to 43 GHz

5 APPLICATION MATRIX Amphenolrf.com AFI 6 GHz 50 & 75 Ohm Snap-On AFI-Dart 18 GHz 50 & 75 Ohm Snap-On AMC 6 GHz 50 Ohm Snap-On AMMC 6 GHz 50 Ohm Snap-On BNC 11 GHz 50 & 75 Ohm Bayonet FAKRA 4 GHz 50 Ohm Snap-On HD-BNC 6 GHz 50 & 75 Ohm Bayonet HD-EFI* 6 GHz 50 Ohm Push-Pull MCX 6 GHz 50 & 75 Ohm Snap-On

Vector Signal Analyzer 3 RF Input RF Input Channel Specification Value Channel Quantity 1 Input Impedance 50 Ω 1% accuracy Input VSWR (Attenuator #1 On)1** 500 MHz to 4 GHz 4 GHz to 5.4 GHz 5.4 GHz to 6 GHz Input VSWR (Attenuator #1 Off)** 500 MHz to 4 GHz 4 GHz to 5.4 GHz 5.4

Input and output return loss and VSWR 1 GHz: 22 dB/1.16:1 3 GHz: 14 dB/1.5:1 6 GHz: 12 dB/1.7:1 Output IP3: 70.5 dBm at 1 GHz Directivity 20 dB at 1 GHz 13 dB at 3 GHz 5 dB at 6 GHz Maximum input power 30 dBm for open or shorted termination 33 dBm for matched termination APPLICATIONS Industrial metering

Millimeter Wave Promise 3 60 GHz, 183 GHz, 325 GHz, and 380 GHz for short-range apps. Other frequencies have little air loss compared to 6 GHz Worldwide agreement on 60 T. S. Rappaport, et. al., Millimeter Wave Wireless Communications, Prentice-Hall c. 2015. GHz!

mm‐wave Spectrum: Below 95 GHz from 26 GHz to 42 GHz Some frequencies below about 26 GHz and about 38 GHz are densely used 28/32/42 GHz seldom used 26/28/32 GHz partly or entirely block licensed in many countries for PmP FDD 10 20 30 40 50 60 70 80 90 100

1.8 1.0 1.2 1.8 Isolation 2 GHz 6 GHz 12 GHz 18 GHz dB 55 47 40 36 60 50 45 40 — Input Return Loss 2 GHz 6 GHz 12 GHz . MA4SW210B-1 (SP2T) MA4SW310B-1 (SP3T) J1 RF IN RF OUT J3 J5 BIAS IN RF OUT J2 J4 IAS IN J1 RF IN RF OUT J4 J7 BIAS IN RF OUT J2 J5 BIAS

10% Accuracy. 5% Accuracy: 3% Accuracy. 50 ps: 8.0 GHz. 9.6 GHz: 11.2 GHz. 40 ps: 10.0 GHz. 12.0 GHz: 14.0 GHz . 28 GHz. 12 2009-9-23 Tektronix Innovation Forum 2009. Highest Performance . Powerful Signal Acquisition. Introducing . World's Fastest Oscilloscopes Enhanced for Next Generation Serial Data Analysis . waveform capture rate .