User manual

swru209
b
19
28
10.1
Joystick
The joystick detects five positions (centre, up, down, left, right) and one event (pushed). The two
aggregated signals, JOY_MOVE and JOY_LEVEL, are used to detect a joystick event when
using a
SoC (e.g. the CC2530). JOY_MOVE is high whenever the joystick is moved away from the centre
position, including pushing. The other signal, JOY_LEVEL, is a voltage level signal that gives different
values depending on the current position of the jo
ystick. The table below shows these values. Note
that the voltage levels are relative to the voltage on the board.
Joystick position
JOY_LEVEL (Volts)
Up
0.31
Down
1.16
Left
1.62
Right
1.81
Centre
2.12
Table
4
-
Voltage on JOY_LEVEL for different joystick positions (T=25
°
C, Vdd=3.0V)
When the EM selection switch is in position MSP, there are 5 discrete signals in addition to
JOY_MOVE and JOY_LEVEL to be used to distinguish which direction the joystick was pressed.
These 5 discrete signals are not used with CC2530
-
only with the CCMSP
-
EM430F2618 board (not
part of this kit). The discrete signals are routed to the EM connectors. See section
10.2
for details.
10.2
EM connectors
The EM connectors P1 a
nd P2 are used to connect an EM to the Battery Board. The pin out for these
connectors is shown below.
Table
1
in section
7
gives information about how the signals of the EM
connectors are connected to the CC2530 on the EM board.
Note that some of the signals are shared, e.g.
IO_LED4_SOC/IO_BUTTON1. This means that the
signal is shared between IO’s on the board; in this case both LED 4 when in SoC mode and Button 1.
Pressing Button 1 will affect the state of LED 4. Similarly, if a SoC is toggling LED 4, it cannot read
from Butt
on 1 at the same time.
Function on BB
Pin
Pin
Function on BB
GND
1
2
GND
Not in use on BB
3
4
FLASH_CS
IO_LED4_SOC/IO_BUTTON1
5
6
IO_LED1
Not in use on BB
7
8
JOYSTICK_RT
Not in use on BB
9
10
SoC Debug P3.4
Not in use on BB
11
12
SoC Debug P3.3
IO_LED2_SOC
13
14
CS &
SoC Debug P3.5
JOY_LEVEL
15
16
SCLK &
SoC Debug P3.6
Not in use on BB
17
18
MOSI &
SoC Debug P3.8
GND
19
20
MISO &
SoC Debug P3.10
Table
5
-
EM connector P1 pin
-
out