12.07.2015 Views

JoyWarrior Datasheet, Layout 1 - Code Mercenaries

JoyWarrior Datasheet, Layout 1 - Code Mercenaries

JoyWarrior Datasheet, Layout 1 - Code Mercenaries

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>JoyWarrior</strong>Universal joystick and gamepad controller chips<strong>Code</strong> <strong>Mercenaries</strong>1. Features• USB interface• Full USB V1.1/2.0 compliance• Full USB HID 1.1 compliance• Available for analog and digital sticks• Support for up to 8, 16, or 32 buttons• Compatible with standard system drivers, nospecial drivers necessary• Advanced driver software available for customdesigns• Single +5V power supply• Available in 20 pin DIL, 20 pin SOIC, 24 pinDIL, or 24 pin SOIC1.1 Variants<strong>JoyWarrior</strong> is available in a number of standardvariants. Customized versions are available.<strong>JoyWarrior</strong>20 GP8• Gamepad style controller, supports fourswitches for directions• Supports up to 8 buttons, direct connected to thechip• DIL20 and SOIC20 packages<strong>JoyWarrior</strong>24 GP32• Gamepad style controller, supports fourswitches for directions• Supports up to 32 buttons, arranged in a 8x4matrix, or up to 12 buttons direct connected• Minimal external component count (1C, 1R)• DIL24 and SOIC24 packages<strong>JoyWarrior</strong>20 A8-8• Four analog potentiometer axes with 8 bitresolution each• Supports up to 8 buttons, direct connected to thechip• Low cost external A/D converter for highprecision• DIL20 and SOIC20 packages<strong>JoyWarrior</strong>20 A8-16• Four analog potentiometer axes with 8 bitresolution each• Supports up to 16 buttons, arranged in a 4x4matrix• Low cost external A/D converter for highprecision• DIL20 and SOIC20 packagesV 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x<strong>JoyWarrior</strong>20 A10-8• Three analog potentiometer axes with 10 bitresolution each• Supports up to 8 buttons, direct connected to thechip• Low cost external A/D converter for highprecision• DIL20 and SOIC20 packages<strong>JoyWarrior</strong>20 A10-16• Three analog potentiometer axes with 10 bitresolution each• Supports up to 16 buttons, arranged in a 4x4matrix• Low cost external A/D converter for highprecision• DIL20 and SOIC20 packages<strong>JoyWarrior</strong>24 A8-8• Three analog potentiometer axes with 8 bitresolution each• Supports up to 8 buttons, direct connected to thechip• Autocalibration and autocentering• Minimal external component count (2C, 1R)• Internal precision oscillator, needs no externalcomponents for clock generation• Low cost yet high quality solution• DIL24 and SOIC24 packages• Fully assembled modules available<strong>JoyWarrior</strong>24 A8-16• Three analog potentiometer axes with 8 bitresolution each• Supports up to 16 buttons, arranged in a 4x4matrix• Autocalibration and autocentering• Minimal external component count (2C, 1R)• Internal precision oscillator, needs no externalcomponents for clock generation• Low cost yet high quality solution• DIL24 and SOIC24 packages• Fully assembled modules available<strong>JoyWarrior</strong>24 RC• Adapts model RC teacher/student interface as aUSB joystick• See separate data sheet supplement for detailsMouseWarrior24 J8 - see separate data sheet1


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>1.2 Custom variantsCustom adaptions are available on request.An advanced driver with programming functions isavailable for optional licensing.Special function modifications, like controllers forpedals, steering wheels etc. are available onrequest. Support for more axes or buttons ispossible.2. Functional overviewThe <strong>JoyWarrior</strong> family of joystick controllersallows to build USB compatible input deviceswithout the need to acquire USB know how.Mostly only electro-mechanical components needto be added to the <strong>JoyWarrior</strong> chips.With the wide variety of controller versions mostindustrial and game control devices can be builtvery easily.Type<strong>JoyWarrior</strong> 20 GP8<strong>JoyWarrior</strong> 24 GP32<strong>JoyWarrior</strong> 24 A8-8<strong>JoyWarrior</strong> 24 A8-16<strong>JoyWarrior</strong> 20 A8-8<strong>JoyWarrior</strong> 20 A8-16<strong>JoyWarrior</strong> 20 A10-8<strong>JoyWarrior</strong> 20 A10-162.1 Product selection matrixAnalog Digital A/D Axes Bit/Axis Buttons Matrix DIL20 SOIC20 DIL24--√√----n.a.n.a.832-8x4 or 12√-√--√√ - internal 3 8 8 - - - √√ - internal 3 8 16 4x4 - - √√ - MAX1113 4 8 8 - √ √ -√ - MAX1113 4 8 16 4x4 √ √ -√ - MAX1249 3 10 8 - √ √ -√ - MAX1249 3 10 16 4x4 √ √ -SOIC24-√√√----V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x2


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>3.0 Pin Configurations (TOP VIEW!)<strong>JoyWarrior</strong>20 GP8-P/S20 Pin PDIP or 20 Pin SOICB0 120 B4B1B2231918B5B6B3 417 B7Right 516 LeftDown 615 UpGND 714 D+PullToGND 813 D-CExt 912 VccXIn 10 11 XOut<strong>JoyWarrior</strong>24A8-824 Pin PDIP or 24 Pin SOICA0 124 YR1A1XR1232322YR2ZR1XR2B0452120ZR2B1B2 619 B3B4B6781817B5B7GND 916 D+PullToGND 1015 D-VREG 1114 VccRAW 12 13 NC<strong>JoyWarrior</strong>20 A8-8-P/S<strong>JoyWarrior</strong>20 A10-8-P/S20 Pin PDIP or 20 Pin SOICB0 120 B4B1B2231918B5B6B3 417 B7/CS 516 SCLKDin 615 DoutGND 714 D+PullToGND 813 D-CExt 912 VccXIn 10 11 XOut<strong>JoyWarrior</strong>24 GP32-P/S24 Pin DIL or 24 Pin SOICX0 124 X4X1X2232322X5X6X3Right452120X7LeftDown 619 UpY0Y2781817Y1Y3GND 916 D+PullToGND 1015 D-Vreg 1114 VccDirect 12 13 NC<strong>JoyWarrior</strong>24A8-1624 Pin PDIP or 24 Pin SOICA0 124 YR1A1XR1232322YR2ZR1XR2X0452120ZR2X1X2 619 X3Y0Y2781817Y1Y3GND 916 D+PullToGND 1015 D-VREG 1114 VccRAW 12 13 NC<strong>JoyWarrior</strong>20 A8-16-P/S<strong>JoyWarrior</strong>20 A10-16-P/S20 Pin PDIP or 20 Pin SOICX0 120 Y0X1X2231918Y1Y2X3 417 Y3/CS 516 SCLKDin 615 DoutGND 714 D+PullToGND 813 D-CExt 912 VccXIn 10 11 XOutV 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x3


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>4.0 Pin Descriptions <strong>JoyWarrior</strong>20 GP 8Name I/O Type Pins DescriptionD+, D-B0, B1, B2,B3, B4, B5,B6, B7I/OIspecialinput, internal Pull Up14,131, 2, 3, 4, 20, 19, 18,17RightLeftDownUpCExtPullToGNDGNDVccXOutXInIIIII/OIOIinput, internal Pull Upinput, internal Pull Upinput, internal Pull Upinput, internal Pull Upspecial *Power supplyPower supply516615987121110USB differential data linesButton inputs, active lowInput for right direction switch, active lowInput for left direction switch, active lowInput for down direction switch, active lowInput for up direction switch, active lowRequires external RC for periodic wakeUsed during manufacturing, connect to GNDGroundSupply voltageOn chip oscillator outputOn chip oscillator input4.1 Pin Descriptions <strong>JoyWarrior</strong>24 GP 32Name I/O Type Pins DescriptionD+, D-X0, X1, X2,X3, X4, X5,X6, X7I/OIspecialinput, internal Pull Up16,151, 2, 3, 4, 24, 23, 22,21Y0, Y1, Y2,Y3RightLeftDownUpVREGPullToGNDGNDVccDirectNCOIIIIOIIoutput, open drain,internal Pull Upinput, internal Pull Upinput, internal Pull Upinput, internal Pull Upinput, internal Pull Upspecial *Power supplyPower supplyinput, internal PullDownunused7, 18, 8, 17520619111091412USB differential data linesButton row inputs, active low13 Do not connectButton column outputs, periodically pulled lowInput for right direction switch, active lowInput for left direction switch, active lowInput for down direction switch, active lowInput for up direction switch, active lowPower for USB D- pull up resistorUsed during manufacturing, connect to GNDGroundSupply voltagePull high to enable 12 direct connected buttons.* See application circuit for external circuitry.V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x4


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>4.2 Pin Descriptions <strong>JoyWarrior</strong>24 A 8-8Name I/O Type Pins DescriptionD+, D-B0, B1, B2,B3, B4, B5.B6, B7I/OIspecialinput, internal Pull Up16,155, 20, 6, 19, 7, 18, 8,17A0, A1XR1, XR2YR1, YR2ZR1, ZR2VREGPullToGNDGNDVccI/OOOOOIspecial *special *special *special *special *Power supplyPower supplyRAW I input, internal pulldownUSB differential data linesButton inputs, active low1, 23, 4Connect center taps of pots hereConnections for X pot24, 2322, 21Connections for Y potConnections for Z pot11Power for USB D- pull up resistor10Used during manufacturing, connect to GND9Ground14Supply voltage12 Pull to Vcc to disable auto calibration and centering4.3 Pin Descriptions <strong>JoyWarrior</strong>24 A 8-16Name I/O Type Pins DescriptionD+, D-X0, X1, X2,X3I/OIspecialinput, internal Pull Up16,155, 20, 6, 19Y0, Y1, Y2,Y3A0, A1XR1, XR2YR1, YR2ZR1, ZR2VREGPullToGNDGNDVccRAWOI/OOOOOIIoutput, open drain,internal Pull Upspecial *special *special *special *special *Power supplyPower supplyinput, internal pulldown7, 18, 8, 171, 23, 424, 2322, 21111091412USB differential data linesButton row inputs, active lowButton column outputs, periodically pulled lowConnect center taps of pots hereConnections for X potConnections for Y potConnections for Z potPower for USB D- pull up resistorUsed during manufacturing, connect to GNDGroundSupply voltagePull to Vcc to disable auto calibration and centering* See application circuit for external circuitry.V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x5


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>4.4 Pin Descriptions <strong>JoyWarrior</strong>20 A8-8 and <strong>JoyWarrior</strong>20 A10-8Name I/O Type Pins DescriptionD+, D-B0, B1, B2,B3, B4, B5,B6, B7I/OIspecialinput, internal Pull Up14,131, 2, 3, 4, 20, 19, 18,17/CSSCLKDinDoutCExtPullToGNDGNDVccXOutXInOOOII/OIOIOD, internal Pull UpOD, internal Pull UpOD, internal Pull Upinput, internal Pull Upspecial *Power supplyPower supply516615987121110USB differential data linesButton inputs, active low/CS signal to external A/D converterSCLK signal to external A/D converterDin signal to external A/D converterDout signal from external A/D converterRequires external RC for periodic wakeUsed during manufacturing, connect to GNDGroundSupply voltageOn chip oscillator outputOn chip oscillator input4.5 Pin Descriptions <strong>JoyWarrior</strong>20 A8-16 and <strong>JoyWarrior</strong>20 A10-16Name I/O Type Pins DescriptionD+, D-X0, X1, X2,X3I/OIspecialinput, internal Pull Up14,131, 2, 3, 4USB differential data linesButton row inputs, active lowY0, Y1, Y2,Y3Ooutput, open drain20, 19, 18, 17Button column outputs, periodically pulled low/CSSCLKDinDoutCExtPullToGNDGNDVccXOutXInOOOII/OIOIOD, internal Pull UpOD, internal Pull UpOD, internal Pull Upinput, internal Pull Upspecial *Power supplyPower supply5/CS signal to external A/D converter16SCLK signal to external A/D converter6Din signal to external A/D converter15Dout signal from external A/D converter9Requires external RC for periodic wake8Used during manufacturing, connect to GND7Ground12Supply voltage11On chip oscillator output10 On chip oscillator input* See application circuit for external circuitry.V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x6


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>4.4 Pin descriptionsD+, D-Differential data lines of USB. Connect thesesignals direct to a USB cable. D- requires a pull upresistor, see application circuits for details.B0..B7 (non matrix chips)Inputs for the buttons. Connect contacts closing toground.Internal pull up resistors.X0..X3 or X0..X7 (matrix chips)Matrix row inputs for the buttons. These pins areread by <strong>JoyWarrior</strong> to determine the status of thebuttons.Internal pull up resistors.Y0..Y3 (matrix chips)Matrix column outputs. These pins are periodicallypulled low to determine the status of the buttons.All buttons must be decoupled with diodes, seeapplication circuit for details.Open drain outputs.Left, Right, Up, Down (<strong>JoyWarrior</strong> GP)Inputs for the direction pad. Connect contactsclosing to ground.Internal pull up resistors./CS, SCLK, Din, Dout (<strong>JoyWarrior</strong>20 A8/A10)Signals to connect to the external A/D converter.The <strong>JoyWarrior</strong> 20A10 chips are designed to workwith Maxim MAX 1249 A/D converters.Internal pull up resistors.CExt (except <strong>JoyWarrior</strong>24)This input is used to periodically wake theprocessor during USB suspend to check for awakeup condition. An external RC combination isrequired. See application circuit for details.If remote wakeup is not desired this pin should bepulled to GND. However this is not very cleanaccording to USB specs as the chip will still reportto be remote wakeup capable./Pull to GNDThis pin is used during production of the<strong>JoyWarrior</strong> chips, connect to GND.A0, A1 (<strong>JoyWarrior</strong>24A8)The center taps of the pots and a capacitor areconnected to these two pins. The pins are used tocharge the capacitor and measure the time it takesto discharge the capacitor via the pots.See application circuits for details.XR1, XR2, YR1, YR2, ZR1, ZR2(<strong>JoyWarrior</strong>24A8)These outputs connect to the outer taps of the pots.One of them is pulled low at a time to measurehow long it takes to discharge the capacitor via thepot.Axis values get smaller when the pot center tapgets closer to the tap connected to the nR1 pin, i.e.resistance between nR1 and A0, A1 gets smaller.RAW (<strong>JoyWarrior</strong>24A8)Pulling this pin to Vcc disables the autocalibrationand autocentering function. The chip will thenreport the raw axis data. This can be useful duringdesign test or for applications that can't accept theautocalibration or autocentering feature.Internal weak pull down resistor.XOut, XIn (except <strong>JoyWarrior</strong>24)Connection for external oscillator. A 6MHzceramic resonator should be connected here, noadditional components necessary.Using a crystal results in unstable operation as theoscillator is optimized for use with ceramicresonators.An external 6MHz clock may be connected to XIn,XOut has to be left floating in this case.Direct (<strong>JoyWarrior</strong>24GP32)Pulling this pin high disables the matrix scanningfor the buttons and instead uses X0..7 and Y0..3 asdirect button inputs for up to 12 buttons pulling toGND. X0..7 will be buttons 1..8 and Y0..Y3buttons 9..12. All button input pins have internalpull ups.GNDPower supply ground.VccSupply voltage.VREG (<strong>JoyWarrior</strong>24)Supplies 3.3V for the USB D- pull up resistor.Don't use this pin to supply power to externalcircuitry, it does only supply sufficient current forthe pull up resistor.V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x7


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>5.Device OperationBy following the USB HID specifications<strong>JoyWarrior</strong> chips are able to work with mostoperating systems without the need to supplyspecial drivers. Any operating system with supportfor USB HID game controllers will have thenecessary drivers already in place.5.1 Operation with WindowsAny Windows versions 98 and newer and 2000and newer will work with <strong>JoyWarrior</strong>. Olderversions of Windows do not support USB.<strong>JoyWarrior</strong> 20A10-16 is not properly supported byWindows 98 original release.Upon connecting a <strong>JoyWarrior</strong> based device for thefirst time you will be asked to perform the standarddriver install. The same happens if you connect thedevice to a different USB port on the samecomputer.After the driver installation has completed youshould be able to see the device in the "GameControllers" control panel and be able to access itvia DirectInput.5.2 Operation with MacOSMacOS 9.0 and up and MacOS X do support<strong>JoyWarrior</strong> direct. Some versions of MacOS 8.x dosupport USB as well, though their use is notrecommended.With MacOS 9.x you will be able to use<strong>JoyWarrior</strong> based devices via InputSprocket orwith 3rd party software like USB Overdrive.On MacOS X access is available via theHIDManager.There will be no warnings or dialogs when aproperly functioning <strong>JoyWarrior</strong> based device isconnected under MacOS, it will simply start towork.5.3 Protocol Specifics: <strong>JoyWarrior</strong> GPEven though <strong>JoyWarrior</strong> GP is a gamepad styledevice it does report the directional data in twoitmes of 8 bits each. For left and up directions 0 isreported, for neutral 127 and for right and down255.This method was chosen since the more logicalreport format with two bit items does causeproblems with several OS variants (Mac and PC)and some games.5.4 Jitter Filter in <strong>JoyWarrior</strong>24A8The jitter filter is no longer present in JW20A8 andJW20A10, it was removed with the release ofV1.0.3.3.Since any A/D converter generates quantisationnoise (the least significant bit jittering at voltagesclose to the threshold between two values)<strong>JoyWarrior</strong>24A8 variants use a simple but efficientjitter filter. Only if the axis values change morethan ±1 digit the data is actually send to the host.This efficiently eliminates quantisation noise butretains full resolution and reaction speed. If there isstill noise on the axis data you should check yourcircuit for the cause.If the RAW pin on the <strong>JoyWarrior</strong>24A8 is pulledhigh this will also disable the jitter filter.5.5 Autocalibration and autocentering -<strong>JoyWarrior</strong>24A8The <strong>JoyWarrior</strong>24A8 chips do have aautocentering and autocalibration function thatcompensates mechanical tolerances in the joystick.When autocalibration and centering is activated(i.e. RAW pin is unconnected or pulled to Gnd)upon power up the <strong>JoyWarrior</strong>24A8 will sampleaxis data for about 200msec and then use the stickposition as center. The chip then assumes that eachpot will reach 60% of its total range and will scaleall axis data accordingly to cover the value rangeof 0 to 255. If any axis is moved beyond theassumed 60% the scaling will be adjusted.To calibrate a joystick with the autocenteringfeature activated it is sufficient to place the stick toabout center before plugging it in and then movethe stick to all maximum positions. The<strong>JoyWarrior</strong>24A8 will optimize the value scalingfor best resolution.Pulling the RAW pin high for more than 20msecand then let it go low again triggers a recalibration.5.6 Pot and capacitor values for JW24A8The <strong>JoyWarrior</strong>24A8 is optimized to be used witha 4.7nF capacitor and 100kΩ pots. A ceramic multilayer capacitor may be used as the measuringcapacity. It is not recommended to use ceramicdisk type capacitors because of their microphonyeffect.Varying the pot or capacitor values may result insub optimal performance. Larger capacitors maynot sufficiently charge or discharge, while smallervalues may introduce more noise.To optimize the setup it is recommended to checkout the axis values in RAW mode. Ideally thevalues in raw mode should range from 0 at one endof the pot position to 255 at the other end.V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x8


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>5.7 Remote WakeupAll <strong>JoyWarrior</strong> chips support the remote wakeupfeature. They are able to wake the host computerfrom sleep state if the host operating system doesenable this feature.Remote wakeup is initiated by <strong>JoyWarrior</strong> if anybutton is pressed or if any switch of the directionpad closes. Changes on the analog axes are notdetected.For remote wakeup to be functional on the<strong>JoyWarrior</strong>20 chips the RC combination on theCExt pin as specified in the application circuits isrequired.When remote wakeup is active and the USB is insuspend state <strong>JoyWarrior</strong>20 will wake periodicallyand check if any switches are closed, if not it willimmediately return to suspend mode.<strong>JoyWarrior</strong>24 chips go to full sleep and do notwake periodically, the pressing of any button willget them out of suspend immediately.5.8 Joystick axis orientationUSB specifies the axis orientation as follows:For the X axis values should increase for left toright movement, Y axis values increase for far tonear movements (i.e. pulling the stick gets yoularger values), Z axis values should increase forhigh to low movement.5.9 Non Joystick ApplicationsUSB does allow a Human Interface Devicecontroller to very detailed specify the function ofaxes and buttons. This gives a game controllerdevice the option to specify a certain axis to be athrottle or break or something else.The standard <strong>JoyWarrior</strong> chips are for general use,so the analog axes variants just specify X, Y, Z andthe switch inputs are defined as being just buttons.We can modify the controllers to define axes asother inputs, like gas or rudder pedals or supporthat switches etc.However not all available usages are supported byall operating systems and programs.Windows forinstance supports only a small subset of thesimulation controls page.If you have special requirements, please contact usabout modifications.V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x9


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>6. DC CharacteristicsParameter Min Max Units RemarksV cc Operating Voltage4.35 5.25 VI cc Operating Supply Current25 mAI sb Suspend mode current20 µA Oscillator offI ol Sink current on output pins 8** 24** mA Vout = 2.0VR up Pull-up Resistance8 24 kΩV ith Input Threshold Voltage45% 65% VccUSB InterfaceStatic output high 2.8 3.6 VStatic output low0.3 VDifferential Input sensitivity 0.2V |(D+)-(D-)|V ohV olV diV cmV seC inI ioR puR pdDifferential Input common Mode RangeSingle Ended Transceiver Threshold0.80.8Transceiver capacitanceHi-Z State Data Line Leakage -10Bus Pull-up resistance7.35 *Bus Pull-down resístance14.25*) For JW24A8: 1.274kΩ to 1.326kΩ, 1.3kΩ resistor to VREG**) 2mA max for <strong>JoyWarrior</strong>242.52.020107.65 *15.7515kΩ±5% to GNDVVpFµA 0V < Vin < 3.3V, Hi-Z StatekΩ 7.5kΩ±2% to Vcc *kΩ 15kΩ±5%6.1 AC Characteristicst cyct cht clt rt rt ft ft rfmV crst dratet djr1t djr2t deopt eopr1t eopr2t eoptt udj1t udj2Parameter Min Max Units Remarksinput clock cycle time165.0 168.3 ns no external clock on JW24A8Clock high time0.45tcycns no external clock on JW24A8Clock low time0.45tcycns no external clock on JW24A8USB Driver CharacteristicsTransition rise time75ns CLoad = 50pFTransition rise time300 ns CLoad = 350pFTransition fall time75ns CLoad = 50pFTransition fall time300 ns CLoad = 350pFRise/Fall Time matching80 120 %Output signal crossover voltage1.3 2.0 VUSB Data TimingLow Speed Data Rate 1.4777 1.5225 MBit/sReceiver data jitter tolerance-75 75 ns To next transitionReceiver data jitter tolerance-45 45 ns For paired transitionsDifferential to EOP transition skew-40 100 nsEOP width at receiver165ns Rejects as EOPEOP width at reeiver675ns Accepts as EOPSource EOP width1.25 1.50 µsDifferential driver jitter-95 95 ns To next transitionDifferential driver jitter-150 150 ns To paired transitionV 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x10


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>7. Ordering informationPartname Order <strong>Code</strong> Description Package<strong>JoyWarrior</strong>20 GP 8<strong>JoyWarrior</strong>20 GP 8JW20GP8-PJW20GP8-SGamepad controller supports up to 8 buttonsGamepad controller supports up to 8 buttonsPDIP20SOIC20<strong>JoyWarrior</strong>24 GP 32<strong>JoyWarrior</strong>24 GP 32JW20GP32-PJW20GP32-SGamepad controller supports up to 32 buttons, 8x4 matrixGamepad controller supports up to 32 buttons, 8x4 matrixPDIP24SOIC24<strong>JoyWarrior</strong>24 A8-8<strong>JoyWarrior</strong>24 A8-8JW24A8-8-PJW24A8-8-SJoystick controller, 3 axis, 8 bit, autocenter/cal, up to 8 buttonsJoystick controller, 3 axis, 8 bit, autocenter/cal, up to 8 buttonsPDIP24SOIC24<strong>JoyWarrior</strong>24 A8-16<strong>JoyWarrior</strong>24 A8-16JW24A8-16-PJW24A8-16-SJoystick controller, 3 axis, 8 bit, autocenter/cal, up to 16 buttonsJoystick controller, 3 axis, 8 bit, autocenter/cal, up to 16 buttonsPDIP24SOIC24<strong>JoyWarrior</strong>20 A8-8<strong>JoyWarrior</strong>20 A8-8JW20A8-8-PJW20A8-8-SJoystick controller, 4 axis, 8 bit, up to 8 buttonsJoystick controller, 4 axis, 8 bit, up to 8 buttonsPDIP20SOIC20<strong>JoyWarrior</strong>20 A8-16<strong>JoyWarrior</strong>20 A8-16JW20A8-16-PJW20A8-16-SJoystick controller, 4 axis, 8 bit, up to 16 buttons, 4x4 matrixJoystick controller, 4 axis, 8 bit, up to 16 buttons, 4x4 matrixPDIP20SOIC20<strong>JoyWarrior</strong>20 A10-8<strong>JoyWarrior</strong>20 A10-8JW20A10-8-PJW20A10-8-SJoystick controller, 3 axis, 10 bit, up to 8 buttonsJoystick controller, 3 axis, 10 bit, up to 8 buttonsPDIP20SOIC20<strong>JoyWarrior</strong>20 A10-16<strong>JoyWarrior</strong>20 A10-16JW20A10-16-PJW20A10-16-SJoystick controller, 3 axis, 10 bit, up to 16 buttons, 4x4 matrixJoystick controller, 3 axis, 10 bit, up to 16 buttons, 4x4 matrixPDIP20SOIC20The chips listed here are standard products.Customized chips are available on request.7.1 Packaging infoPDIP20 chips come in tubes with 20 chips each.PDIP24 chips come in tubes with 16 chips each.SOIC20 chips come in tubes with 37 chips each.SOIC24 chips come in tubes with 31 chips each.To assure best handling and shipping safety pleaseorder the chips in full tubes.7.2 USB VendorID and ProductIDBy default all <strong>JoyWarrior</strong> chips are shipped withthe USB VendorID of <strong>Code</strong> <strong>Mercenaries</strong> ($7C0 ordecimal 1984) and a fixed ProductID.On request chips can be equipped with thecustomers VendorID and ProductID. VendorIDscan be obtained from the USB ImplementersForum Customized chips are subject to minimum orderquantities, contact fordetails.7.3 Currently shipping versionsFollowing are the currently shipping versions forthe chips:<strong>JoyWarrior</strong>20 GP8<strong>JoyWarrior</strong>24 GP32<strong>JoyWarrior</strong>24 A8-8<strong>JoyWarrior</strong>24 A8-16<strong>JoyWarrior</strong>20 A10-8<strong>JoyWarrior</strong>20 A10-16<strong>JoyWarrior</strong>20 A8-8<strong>JoyWarrior</strong>20 A8-16<strong>JoyWarrior</strong>24RCMouseWarrior24J8V1.0.3.0V1.0.3.3V1.0.3.0V1.0.3.0V1.0.3.3V1.0.3.3V1.0.3.3V1.0.3.3V1.0.3.1V1.0.3.3Following are the ProductIDs for the <strong>JoyWarrior</strong>controllers:<strong>JoyWarrior</strong>20 GP8 $1100<strong>JoyWarrior</strong>24 GP32 $1101<strong>JoyWarrior</strong>24 A8-8 $1104<strong>JoyWarrior</strong>24 A8-16 $1105<strong>JoyWarrior</strong>20 A10-8 $1108<strong>JoyWarrior</strong>20 A10-16 $1109<strong>JoyWarrior</strong>20 A8-8 $110A<strong>JoyWarrior</strong>20 A8-16 $110BProductIDs are independent of the package type.V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x11


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>8. Typical application for <strong>JoyWarrior</strong>20 GP8GNDD+D-+5V4321R17K5C210nFR22MC1100nFX16MHzXINXOutD+D-CExtVccJW20GP8B0B1B2B3B4B5B6B7RightLeftDow nÚpGnd PullToGnd123420191817516615X1 = Ceramic resonater, crystal will not work!Up Dow n Left Right B7Ci r cui t : <strong>JoyWarrior</strong>20GP8Ver s i on: 1.0Dat e: Jul y 19th 2002Dr aw n by:<strong>Code</strong> <strong>Mercenaries</strong>Funct i on:P age:Rev. Date By Change Sign.B6 B5 B4B3 B2 B1 B07121011141398V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x12


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>8.1 Typical application for <strong>JoyWarrior</strong>24 GP32GNDD+D-+5V4321C1100nFR11K3Dir ectNCVr egD+D-VccJW24GP32X0X1X2X3X4X5X6X7RightLeftDow nUpY0Y1Y2Y3Gnd PullToGnd123424232221520619718817Cl ose JP1 for 12 di rect connected buttonsCi r cui t : <strong>JoyWarrior</strong>24GP32Ver s i on: 2.2Dat e: Jul y 25th 2005Dr aw n by:<strong>Code</strong> <strong>Mercenaries</strong>Funct i on:P age:Rev. Date By Change Sign.Button Matri x, or buttons cl osi ng to GndUp Dow n Left RightButton Matri x needs decoupl i ngdi odes at every sw i tch:914JP11213111615XnYn10V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x13


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>8.2 Typical application for <strong>JoyWarrior</strong>24 A8-8USB+5VD-D+GND1234C1100nFR11k3Z100kΩCl ose JP1 to di sabl e auto centeri ng and auto cal i brati onJoyWarri or 24A8- 8V1.030.9.2002Y100kΩX100kΩC24n7F14JP11312111516NCRawVREGD-D+VccJ W24A8- 8PullToGNDVssZR2ZR1YR2YR1XR2XR1A1A0B7B6B5B4B3B2B1B0212223244321178187196205109B0 B1 B2 B3 B4 B5 B6 B7Ci r cui t :Ver s i on:Dat e:Dr aw n by:<strong>Code</strong> <strong>Mercenaries</strong>Funct i on:P age:Rev. Date By Change Sign.V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x14


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>8.3 Typical application for <strong>JoyWarrior</strong>24 A8-16USB+5VD-D+GND1234C1100nFR11k3ZButton Matri x100kΩCl ose JP1 to di sabl e auto centeri ng and auto cal i brati onJoyWarri or 24A8- 16V1.030.9.2002YX100kΩ100kΩC24n7FButton Matri x needs decoupl i ngdi odes at every sw i tch:14JP11312111516NCRawVREGD-D+VccJ W24A8- 16PullToGNDVssZR2ZR1YR2YR1XR2XR1A1A0Y3Y2Y1Y0X3X2X1X0212223244321178187196205109Ci r cui t :Ver s i on:Dat e:Dr aw n by:<strong>Code</strong> <strong>Mercenaries</strong>Funct i on:P age:Rev. Date By Change Sign.XnYnV 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x15


KeyWarrior<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>8.4 Typical application for <strong>JoyWarrior</strong>20 A10-8USBGNDD+D-+5VR3R4R17K5C210nFR22MC1100nFX16MHz10ΩC4100nFC310µF10ΩC54321100nFC710nFX Y Z1XINXOutD+D-CExtVccJW20A10-8B0B1B2B3B4B5B6B7/CSSCLKDinDout15161412137/CSSCLKDINDOUTSSTRB/SHDNDGNDVDDMAX1249AGNDCH0CH1CH2CH3VREFREFADJCOM234589C610µFC810nFC910nF11106Gnd PullToGnd2019181712345166157121011141398B7B6 B5 B4B3 B2 B1 B0X1 = ceramic resonator, crystal will not workAGND i s the reference poi nt for a star ground for al l anal og partsPotenti ometers must be 50kΩ to 200kΩ linearCi r cui t : JoyWarri or20A10- 8Ver s i on: 1.0Dat e: Jul y 19th 2002Dr aw n by:<strong>Code</strong> <strong>Mercenaries</strong>Funct i on:P age:Rev. Date By Change Sign.Pre V 1.0.3, Release July 1.1, 25th June 2005 24th for 1999 Chip Revision V1.0.3.x16


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>8.5 Typical application for <strong>JoyWarrior</strong>20 A10-16USBGNDD+D-+5VR34321R17K5C210nFR22MC1100nFX16MHzButton Matri x10ΩX1 = ceramic resonator, crystal will not workCi r cui t : JoyWarri or20A10- 16Ver s i on: 1.0Dat e: Jul 19th 2002Dr aw n by:<strong>Code</strong> <strong>Mercenaries</strong>Funct i on:P age:Rev. Date By Change Sign.R4C4100nFC310µF10ΩX Y Z115161412137/CSSCLKDINDOUTSSTRB/SHDNVDDMAX1249CH0CH1CH2CH3VREFREFADJ234589C5C6C710nFC810nFC910nFDGND AGND COM100nF10µF11106XINVccJW20A10-16XOutD+D-CExtX0X1X2X3Y0Y1Y2Y3/CSSCLKDinDoutGnd PullToGnd123420191817516615AGND is the reference point for a star ground for all analog partsPotenti ometers must be 50kΩ to 200kΩ linearButton Matri x needs decoupl i ng di odes at every sw i tch:712101114139XnYn8V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x17


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>8.6 Typical application for <strong>JoyWarrior</strong>20 A8-8USBGNDD+D-+5VR3R4R17K5C210nFR22MC1100nFX16MHzXINXOutD+D-10ΩC4100nFC310µF10ΩC54321CExtVccJW20A8-8B0B1B2B3B4B5B6B7/CSSCLKDinDoutGnd PullToGnd201918171234516615100nFC610µFC710nFX Y ZC810nFC910nF712101114139/CSSCLKDINDOUTSSTRB/SHDNDGNDVDDMAX1113AGNDCH0CH1CH2CH3REFINREFOUTCOM1234788B7B6 B5 B4B3 B2 B1 B0X1 = ceramic resonator, crystal will not workAGND is the reference point for a star ground for all analog partsPotenti ometers shoul d be 50kΩ to 200kΩ linearCi r cui t : JoyWarri or20A8- 8Ver s i on: 1.0Dat e: June 2nd 2004Dr aw n by:<strong>Code</strong> <strong>Mercenaries</strong>Funct i on:P age:Rev. Date By Change Sign.C1010nFRZ16141513111261095V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x18


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>8.7 Typical application for <strong>JoyWarrior</strong>20 A8-16USBGNDD+D-+5VR3R4R17K5C210nFR22MC1100nFX16MHzXINVccJW20A8-16XOutD+D-Button Matri x10ΩC4100nFC310µF10ΩC54321CExtX0X1X2X3Y0Y1Y2Y3/CSSCLKDinDoutGnd PullToGnd201918171234516615100nFC610µFC710nFX Y ZC810nFC910nFX1 = ceramic resonator, crystal will not workAGND is the reference point for a star ground for all analog partsPotentiometers should be 50kΩ to 200kΩ linearCi r cui t : JoyWarri or20A8- 16Ver s i on: 1.0Dat e: June 2nd 2004Dr aw n by:<strong>Code</strong> <strong>Mercenaries</strong>Funct i on:P age:Rev. Date By Change Sign.C1010nFRZ78161210111413914151311126/CSSCLKDINDOUTSSTRB/SHDNDGNDVDDMAX1113AGNDCH0CH1CH2CH3REFINREFOUTCOM1234781095V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x19


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>9. Package Dimensions20 Pin DIP20 Pin SOICV 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x20


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>24 Pin PDIP24 Pin SOICV 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x21


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>10. ESD Considerations<strong>JoyWarrior</strong> has an internal ESD protection towithstand discharges of more than 2000V withoutpermanent damage. However ESD may disruptnormal operation of the chip and cause it to exhibiterratic behaviour.For the typical office environment the 2000Vprotection is normally sufficient. Though forindustrial use additional measures may benecessary.When adding ESD protection to the signals specialcare must be taken on the USB signal lines. TheUSB has very low tolerance for additionalresistance or capacitance introduced on the USBdifferential signals.Series resistors of 27Ω may be used alone or inaddition to some kind of suppressor device. In anycase the USB 2.0 specification chapter 6 and 7should be read for detailed specification of theelectrical properties.10.1 EMC Considerations<strong>JoyWarrior</strong> uses relatively low power levels and soit causes few EMC problems.To avoid any EMC problems the following rulesshould followed:• Keep the PCB traces from the resonator to thechip pins as short as possible.• Put the 100nF ceramic capacitor right next tothe power supply pins of the chip and make surethe PCB traces between the chips power pinsand the capacitor are as short as possible.• Run the power supply lines first to the capacitor,then to the chip.• Make the matrix lines only as long as absolutelynecessary.• Keep the two USB signal lines close to eachother, route no other signal between them. USBuses differential signalling so the best signalquality with lowest RF emission is achieved byputting these lines very close to each other.• Adding a ferrite bead to the +5V power supplyline is advisable.- Added direct connected button mode onJW24GP32 allowing 12 buttons connectedpulling to ground instead of using a matrix.V1.0.3.2- Release for customer specific chips, notgenerally available.V1.0.3.1- Fixed a problem in JW24RC that could cause itnot to detect the correct signal polatiry of thePPM signal.V1.0.3.0- Added <strong>JoyWarrior</strong>20A8-8, <strong>JoyWarrior</strong>20A8-16,and <strong>JoyWarrior</strong>24RC variants.- Moved <strong>JoyWarrior</strong>24GP32 to new siliconreducing external circuitry and adding theoption for a DIL24 package.- Improved auto-calibration and -centering on<strong>JoyWarrior</strong>24A8 so unused axes with no potsconnected no longer block operation.V1.0.2.1- Added <strong>JoyWarrior</strong>24A8-8 and <strong>JoyWarrior</strong>24A8-16 variants.11. Revision HistoryThe initial release version of <strong>JoyWarrior</strong> isV1.0.2.0, earlier versions were custom designs notavailable for general use.V1.0.3.3- Added MouseWarrior24J8.- Removed jitter filter on JW20A8 andJW20A10.- Relaxed timing of matrix scan function ofJW20A8-16 and JW20A10-16.V 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x22


<strong>JoyWarrior</strong><strong>Code</strong> <strong>Mercenaries</strong>Legal StuffThis document is ©1999-2005 by <strong>Code</strong><strong>Mercenaries</strong>.The information contained herein is subject tochange without notice. <strong>Code</strong> <strong>Mercenaries</strong> makesno claims as to the completeness or correctness ofthe information contained in this document.<strong>Code</strong> <strong>Mercenaries</strong> assumes no responsibility forthe use of any circuitry other than circuitryembodied in a <strong>Code</strong> <strong>Mercenaries</strong> product. Nordoes it convey or imply any license under patent orother rights.<strong>Code</strong> <strong>Mercenaries</strong> products may not be used in anymedical apparatus or other technical products thatare critical for the functioning of lifesaving orsupporting systems. We define these systems assuch that in the case of failure may lead to thedeath or injury of a person. Incorporation in such asystem requires the explicit written permission ofthe president of <strong>Code</strong> <strong>Mercenaries</strong>.Trademarks used in this document are properties oftheir respective owners.<strong>Code</strong> <strong>Mercenaries</strong>Hard- und Software GmbHKarl-Marx-Str. 147a12529 Schönefeld OT GrossziethenGermanyTel: x49-3379-20509-20Fax: x49-33790-20509-30Mail: support@codemercs.comWeb: www.codemercs.comHRB 16007 PGeschäftsführer: Guido Körber, Christian LuchtV 1.0.3, July 25th 2005 for Chip Revision V1.0.3.x23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!