Cypress CY3633 Manual del usuario - Página 13

Navegue en línea o descargue pdf Manual del usuario para Microcontroladores Cypress CY3633. Cypress CY3633 20 páginas. Wirelessusb ls gaming dvk

2.4 Game Controller Calibration Process

For optimal performance, the Game Controller's analog inputs must be calibrated. When the
Game Controller goes through the calibration process, it will memorize the unique characteristics
of the potentiometers and joysticks ensuring that the full range of resolution will be obtained. The
calibration constants are stored in the PSoC™ FLASH memory and will be loaded every time the
system is used.
Calibration is initiated by pressing and holding the Enter key at the same time that the Game Con-
troller power is turned ON. The Bank of LEDs (LED0-LED7) will display the raw output of the chan-
nel being calibrated in 8-bit binary format. Calibration requires each potentiometer and joystick to
be exercised over its full range of movement. The potentiometers must be turned fully clockwise
and counter clockwise. The joysticks must be moved fully left and right (X-direction) and up and
down (Y-direction). To advance the calibration process to the next potentiometer or joystick after
exercising the current channel, press the Up key on the keypad. Channels are calibrated in the fol-
lowing order (observe the silk-screen labels for each input device):
1. RIGHT JOY STICK (X-direction)
2. LEFT JOY STICK (X-direction)
3. POT B
4. POT D
5. RIGHT JOY STCK (Y-direction)
6. LEFT JOY STICK (Y-direction)
7. POT A
8. POT C
9. POT F
10. POT H
11. POT E
12. POT G
Pressing the '8' key after calibrating the last channel causes the calibration factors to be stored into
FLASH and the Game Controller will return to the connected state.
WirelessUSB™ LS Gaming DVK User's Guide Rev 1.1
Page -9