Jorjin WS2118E00 User manual

Copyright © JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
a module solution provider
WS2118E00 User Guide
WS2118-00 Development Kit
Drift 0.2
Prepared By
Reviewed By
Approved By

Doc No: WS2118E00A-UG-D02
Copyright ©JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
Page 1
Index
1. INTRODUCTION............................................................................................................................2
2. GETTING STARTED......................................................................................................................3
2.1. SYSTEM REQUIREMENTS...............................................................................................................3
2.2.APPLICATION SOFTWARE SETUP....................................................................................................3
3. HARDWARE DESCRIPTION.......................................................................................................4
3.1. BOARD OVERVIEW........................................................................................................................4
3.2. WS2118-00 MODULE CONNECTIONS ............................................................................................5
3.3. POWER SUPPLY.............................................................................................................................6
3.4. OTHER JUMPERS...........................................................................................................................7
3.5. EXTENSION CONNECTORS.............................................................................................................7
3.6. PUSH-BUTTONS ............................................................................................................................8
3.7. JTAG CONNECTOR .......................................................................................................................8
3.8. LEDS...........................................................................................................................................8
3.9. STM32L151CBU6 MICROCONTROLLER......................................................................................8
3.10. HARDWARE SETUP......................................................................................................................8
4. SCHEMATIC DIAGRAMS..........................................................................................................10
5. HISTORY CHANGE.....................................................................................................................14

Doc No: WS2118E00A-UG-D02
Copyright ©JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
Page 2
1. INTRODUCTION
The Jorjin WS2118-00 is Bluetooth®Low Energy and Sub-1GHz dual band module. The
WS2118E00 is the development kit for WS2118-00. The WS2118E00 provides a set of
hardware resources for RF signal evaluation of both BLE and Sub-1GHz and
development platform. It also provides a set of hardware resources for a wide range
of application scenarios: sensor data (accelerometer, pressure and temperature
sensor, needs additional sensor board), remote control (buttons and LEDs) and
debug message management through USB virtual COM. Three power options are
available (USB only, battery only and external power supply plus USB) for high
application development and testing flexibility.
Figure 1: WS2118E00 development kit

Doc No: WS2118E00A-UG-D02
Copyright ©JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
Page 3
2. GETTING STARTED
2.1. System requirements
The application software require:
PC with Intel® or AMD® processor running one of the following Microsoft®
operating systems:
-Windows XP SP3
-Windows Vista
-Windows 7
-Windows 10
At least 128 MB of RAM
USB ports
At least 40 MB of available hard disk space
Adobe Acrobat Reader 6.0 or later.
2.2. Application software setup
Please download the application from below link.
BlueNRG-1 DK SW package:
http://www.st.com/content/st_com/en/products/embedded-software/evaluation-t
ool-software/stsw-bluenrg1-dk.html
BLUENRG family GUI:
http://www.st.com/content/st_com/en/products/embedded-software/wireless-con
nectivity-software/stsw-bnrgui.html
And please contact Jorjin to get more application and development software.

Doc No: WS2118E00A-UG-D02
Copyright ©JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
Page 4
3. HARDWARE DESCRIPTION
3.1. Board overview
The following figure and table describe physical sections of the board.
Figure 2: WS2118E00 board components
Table 1: WS2118E00 board component descriptions
Region
Description
A
WS2118-00 module
B
BLE RF signal U.FL connector
C
Sub-1GHz RF signal U.FL connector
D
Micro USB connector for power supply and I/O
E,F
Two rows of Arduino-compliant connectors
G
JTAG connector for BlueNRG-1
H
RESET button
I
USER button
J
PWR LED
K
User LED
L
Battery power input point
M
STM32L151CBU6 48-pin microcontroller (USB to serial bridge for I/O
channel to PC communication)(1)
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W

Doc No: WS2118E00A-UG-D02
Copyright ©JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
Page 5
N
JTAG connector for STM32L151CBU6 (1)
O
ST2378E level translator to adapt voltage level between STM32 and
BlueNRG-1
P
EEPROM
Q
Serial port connection jumpers
R,S
Power source selection jumpers.
T
DIO6 function selection jumper.
U
Current measurement jumper for BlueNRG-1
V
Current measurement jumper for S2LP
W
No function
(1) STM32 is not intended to be programmed by users
3.2. WS2118-00 module connections
The WS2118-00 dual band module (Figure 2: " WS2118E00 board components" –
region A) has 2 RF signal connector. One is for BLE (region B), another is for sub-1GHz
RF(region C).
The microcontroller of BlueNRG-1 is connected to various components such as
buttons, and LEDs. The following table describes the microcontroller pin functions.
Table 2: WS2118-00 module pin description with board functions
Pin Name
Pin
No
Function
Arduino Connectors
CN1
CN2
CN3
CN4
GND
1
GND
Pin7
Pin6,7
RESETN
2
System reset
Pin3
Pin8
DIO13
3
S2-LP for interrupt
Pin3
DIO12
4
User button input
Pin1
TEST
5
Test pin put to GND
DIO11
6
UART RX from STM32
Pin1,3
DIO10
7
JTMS-SWTDIO
DIO9
8
JTCK-SWTCK
DIO8
9
UART TX to STM32
Pin1
Pin2
GND
10
GND
Pin7
Pin6,7
VBAT
11
Power for BlueNRG-1
Pin8
Pin2,4
GND
12
GND
Pin7
Pin6,7
DIO7
13
Bootloader pin / LED driver
Pin2

Doc No: WS2118E00A-UG-D02
Copyright ©JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
Page 6
DIO6
14
RESET pin of STSAFE-A1SX or EEPROM_CS pin
Pin7
DIO5
15
SDA pin of STSAFE-A1SX
Pin9
DIO4
16
SCL pin of STSAFE-A1SX
Pin10
DIO3
17
SDO pin of S2-LP and EEPROM
Pin5
Pin6
DIO2
18
SDI pin of S2-LP and EEPROM
Pin4
Pin5
DIO1
19
CS pin of S2-LP
Pin3
DIO0
20
SCLK pin of S2-LP and EEPROM
Pin6
Pin4
DIO14
21
SDN pin of S2-LP
Pin4
ANATEST1
22
Pin2
ADC1
23
Pin5
GND
24
GND
Pin7
Pin6,7
ADC2
25
Pin6
GND
26
GND
Pin7
Pin6,7
VCC_S2LP
27
Power for S2-LP
Pin8
Pin2,4
GND
28
GND
Pin7
Pin6,7
GPIO3
29
S2-LP for interrupt
Pin3
GPIO2
30
GPIO2 of S2LP
GPIO1
31
GPIO1 of S2LP
GPIO0
32
GPIO0 of S2LP
NC
33
No Connection
NC
34
No Connection
Pin8
Pin2,4
NC
35
No Connection
Pin8
Pin2,4
GND
36
GND
Pin7
Pin6,7
3.3. Power supply
Green LED CR1 (Figure 2: WS2118E00 board components" –region J) signals the
board is being powered, either via:
micro USB connector J4 (Figure 2: WS2118E00 board components" –region D)
batteries(region L)
an external DC power supply plus micro USB connector
The following table describes the power supply modes available on the WS2118E00
board and corresponding jumper settings.

Doc No: WS2118E00A-UG-D02
Copyright ©JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
Page 7
Table 3: WS2118E00 kit platform power supply modes
Power supply mode
J7
J6
Comment
1- USB
Fitted:1-2
Fitted:2-3
USB supply through connector J4 (region D)
2- Battery
Fitted:2-3
Fitted:1-2
The supply voltage must be provided through
battery pins (region L)
3- Combo
Fitted:1-2
Optional
USB supply through connector J4 for STM32L1;
J6 pin 2 external power for WS2118-00 module
3.4. Other jumpers
The following jumpers are available:
Table 4: WS2118E00 kit platform jumpers
Jumper
Description
J1
Test points for S2-LP GPIO0 –GPIO3
J3
UART TX of BlueNRG-1 is connected (Fitted) or disconnected (Not fitted) to STM32.
J5
UART RX of BlueNRG-1 is connected (Fitted) or disconnected (Not fitted) to STM32.
J8
pin 1 and 2 UART RX and TX of MCU
pin 3 GND
J10
DIO6 of BlueNRG-1 is connected (Fitted) or disconnected (Not fitted) to EEPROM_CS pin.
J11
Fitted: to provide VBLUE to BlueNRG-1. It can be used also for current measurement.
J12
This jumper is no function in WS2118E00.
J13
Fitted: to provide VBLUE to S2LP. It can be used also for current measurement.
3.5. Extension connectors
WS2118-00 module signal test points are shared on two Arduino-compliant
connector rows: CN1, CN3 (Figure 2: " WS2118E00 board components" –region E)
and CN2, CN4 (region F). See Table 2: "WS2118-00 module pin description with board
functions".
You can also install some sensor module board in the WS2118E00 kit platform
through these extension connectors. Please contact Jorjin to get more information.

Doc No: WS2118E00A-UG-D02
Copyright ©JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
Page 8
3.6. Push-buttons
The board has one user button to reset the microcontroller (Figure 2: " WS2118E00
board components" –region H) and one further button for application purposes
(region I).
3.7. JTAG connector
A JTAG connector (Figure 2: " WS2118E00 board components" –region G) allows
BlueNRG-1 microcontroller programming and debugging with an in-circuit
debugger and programmer such as ST-LINK/V2.
Only SWD mode is supported.
3.8. LEDs
LEDs CR1 (green, power LED) and CR2 (red) are available on the board (Figure 2:
"WS2118E00 board components" –regions J and K).
3.9. STM32L151CBU6 microcontroller
The most important feature of the STM32L151CBU6 48-pin microcontroller (Figure 2:
"WS2118E00 board components" –regions M) is the USB to serial bridge providing an
I/O channel with the BlueNRG-1 device.
The microcontroller is connected to the BlueNRG-1 device through an ST2378E level
translator (region O).
The STM32L microcontroller on the board is not intended to be programmed by users.
ST provides a pre-programmed firmware image for the sole purpose of interfacing
BlueNRG-1 to a USB host device (e.g., a PC). The JTAG connector (Figure 2:
"WS2118E00 board components" –regions N) is only for Jorjin internal used.
3.10. Hardware setup
1. Connect one 2.4GHz antenna to BLE U.FL connector (Figure 2: "WS2118E00 board
components" –regions B). Connect one 868MHz antenna to Sub-1GHz U.FL
connector (regions C)

Doc No: WS2118E00A-UG-D02
Copyright ©JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
Page 9
2. Configure the board to USB power supply mode as per the jumper settings in
Table 3: “WS2118E00 kit platform power supply modes”
3. Connect the board to a PC via USB cable (connector J4)
4. Verify the power indication LED CR1 is on.

Doc No: WS2118E00A-UG-D02
Copyright ©JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
Page 10
4. SCHEMATIC DIAGRAMS
Figure 3: WS2118E00 Arduino connectors
DIO7
DIO8
DIO8
DIO4
DIO5
DIO6
DIO2
DIO2
DIO3
DIO3
DIO0
ADC1
DIO14
DIO0
DIO1
DIO13
RESETN
RESETN
TEST1
ADC2
DIO11
DIO11
DIO12
R2 0R
RES0402
CN4
CON6
1
2
3
4
5
6
R14 0R
RES0402
R16 0R
RES0402
R24 0R
RES0402
R17 0R
RES0402
R21 0R
RES0402
R9 0R
RES0402
R25 0R
RES0402
R4 0R
RES0402
R3 0R
RES0402
R22 0R
RES0402
R13 0R
RES0402
R19 0R
RES0402
R6
0R
RES0402
CN2
CON8
1
2
3
4
5
6
7
8
R1 0R
RES0402
R8 0R
RES0402
R15 0R
RES0402
CN1
CON10
1
2
3
4
5
6
7
8
9
10
R12 0R
RES0402
R11 0R
RES0402
R5 0R
RES0402
R18 0R
RES0402
R23 0R
RES0402
CN3
CON8
1
2
3
4
5
6
7
8
R7 0R
RES0402
R20 0R
RES0402
R10 0R
RES0402
VBLUE
VBLUE
ARDUINO CONNECTORS

Doc No: WS2118E00A-UG-D02
Copyright ©JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
Page 11
Figure 4: WS2118E00 JTAG
DIO1
RESETN
JTCK-SWTCK
JTMS-SWTDIO
DIO0
J2
HEADER 10X2
1
3
5
7
9
11
13
15
17
19
2
4
6
8
10
12
14
16
18
20
VBLUE
JTAG CONNECTOR
Figure 5: WS2118E00 WS2118-00 module
RESETN3
TXD3
TP1
TEST POINT
1
RXD13 GPIO3JTCK-SWTCK
JTMS-SWTDIO
DIO11
TEST
DIO12
DIO13
RESETN
GPIO1
GPIO2
GPIO0
DIO2
DIO3
DIO4
DIO5
DIO6
DIO7
DIO8
DIO14
TEST1
ADC1
ADC2
DIO1
DIO0
TP2
TEST POINT
1
J1
HEADER 4
1
2
3
4
DIO123
BLE RF SUB-1G RF
U1
WS2118-00
GND1
1
RESETN
2
DIO13
3
DIO12
4
TEST
5
DIO11
6
GND2
10
VBAT
11
GND3
12
DIO10
7
DIO9
8
DIO8
9
DIO7
13
DIO6
14
DIO5
15
DIO4
16
DIO3
17
DIO2
18
DIO1
19
DIO0
20
DIO14
21
TEST1
22
ADC1
23
GND4
24
ADC2 25
GND5 26
VCC_S2LP 27
GND6 28
GPIO3 29
GPIO2 30
GPIO1 31
GPIO0 32
NC1 33
NC2 34
NC3 35
GND8 36
A1 A1
A2 A2
VBLUE
VBLUE
VBLUE
MODULE
J11
HEADER 1x2
H-1X2_2.54MM
1 2
J12
HEADER 1x2
H-1X2_2.54MM
1 2
J13
HEADER 1x2
H-1X2_2.54MM
1 2
DIO73
R29
100K
RES0402

Doc No: WS2118E00A-UG-D02
Copyright ©JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
Page 12
Figure 6: WS2118E00 Power circuit
J4
USB Micro-B SMT
MicroUSB-5P
VBus 1
D- 2
D+ 3
ID 4
GND 5
SHIELD
6
SHIELD
7
SHIELD
8
SHIELD
9
SHIELD
10
SHIELD
11
U3
TPD4S012
D+
1
D-
2
ID
3GND 4
NC 5
VBUS 6
USB_5V
USB_5V
DM
DP
R31 0R
RES0402
R32 0R
RES0402
USBDM
USBDP
R30
NC
RES0402
VDD
C2
0.1uF
CAP0402
U5
TPS73633DBV
IN
1
GND
2
EN
3NR 4
OUT 5
C3
1uF
CAP0402
USB_5V
C4
2.2uF
CAP0402
C5
10nF
CAP0402
J7
HEADER 1x3
H-1X3_2.54MM
1
2
3
VDD
CR1
LTST-C191KGKT
21
R37
220R
R0402
J6
HEADER 1x3
H-1X3_2.54MM
1
2
3
VBLUE
BT1
BATTERY HOLDER
Figure 7: WS2118E00 Level translator
TXD2
RXD12
J3
HEADER 1x2
H-1X2_2.54MM
1 2
TXD
J5
HEADER 1x2
H-1X2_2.54MM
1 2
RXD1
U4
ST2378E
VI
1
I/OVI1
2
I/OVcc2
3
I/OVI3
4
I/OVcc4
5
I/OVl5
6
I/OVcc6
7
I/OVl7
8
I/OVcc8
9
GND
10 OE 11
I/OVl8 12
I/OVcc7 13
I/OVl6 14
I/OVcc5 15
I/OVl4 16
I/OVcc3 17
I/OVl2 18
I/OVcc1 19
VCC 20
VBLUE VDD
R33 0R
RES0402
R34 0R
RES0402
R36 0R
RES0402
TXD1
RXD
PB2
OE
DIO7
R35
10K
RES0402
DIO72

Doc No: WS2118E00A-UG-D02
Copyright ©JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
Page 13
Figure 8: WS2118E00 Micro Controller
Near Pin 48
Y1
8MHz
1
2
OSC_OUT
U6
STM32L151CBU6
VLCD
1
PC13 RTC_AF1-WKUP2
2
PC14-OSC32_IN
3
PC15-OSC32_OUT
4
PH0-OSC_IN
5
PH1-OSC_OUT
6
NRST
7
VSSA
8
VDDA
9
PA0-WKUP1
10
PA1
11
PA2
12
PA3
13
PA4
14
PA5
15
PA6
16
PA7
17
PB0
18
PB1
19
PB2
20
PB10
21
PB11
22
VSS_1
23
VDD_1
24
PB12 25
PB13 26
PB14 27
PB15 28
PA8 29
PA9 30
PA10 31
PA11 32
PA12 33
PA13 34
VSS_2 35
VDD_2 36
GND 49
PA14 37
PA15 38
PB3 39
PB4 40
PB5 41
PB6 42
PB7 43
BOOT0 44
PB8 45
PB9 46
VSS_3 47
VDD_3 48
TXD1
NRST
OSC_OUT
OSC_IN USART1_RX
USBDM
USBDP
JTMS
OE
DIO7
USART1_TX
C7
0.1uF
CAP0402
C6
1uF
CAP0402
C8
1uF
CAP0402
C9
0.1uF
CAP0402
C10
0.1uF
CAP0402
C11
0.1uF
CAP0402
C12
0.1uF
CAP0402
VDD
R40
10K
RES0402
VDD
J8
HEADER 1x3
H-1X3_2.54MM
1
2
3
USART1_TX
USART1_RX
SPI_CS1
RXD
PB2
SPI_IN1
SPI_OUT1
SPI_CLK1
JTDO
JTDI
JTCK
VDD
Near Pin 9 Near Pin 1
RESETN 2
RESETN
VDD
Near Pin 24 Near Pin 36
VDD
J9
5x2/SM
2
4
6
8
10
1
3
5
7
9
VDD
JTCK
JTMS
JTDI
JTDO
C16
20pF
CAP0402
C15
20pF
CAP0402
R41
1M
RES0402
OSC_IN
R45
10K
RES0402
R46
10K
RES0402
R48
10K
RES0402
R47
10K
RES0402
SPI_CLK1
SPI_CS1
SPI_IN1
SPI_OUT1
VDD
Figure 9: WS2118E00 LED, Switch, and EEPROM
DIO12 RESETN
R44
100
RES0402
R39
100K
RES0402
R38
100K
RES0402
C13
10nF
CAP0402
C14
10nF
CAP0402
SW1 SW2
R43
100
RES0402
VBLUE VBLUE
R42
750R
RES0402
CR2
LS L296-P2Q2-1
21
DIO7
DIO12
DIO6
DIO3
DIO2
DIO0
J10
HEADER 1x2
H-1X2_2.54MM
1 2
R27
100K
RES0402
U2
M95640
S1
Q
2W3
GND
4
D
5C
6HOLD 7
VCC
8
EPAD
9
C1
0.1uF
CAP0402
R26
100K
RES0402
R28
100K
RES0402
VBLUE
VBLUEVBLUE
DIO0 : SPI_CLK --> EEPROM
DIO2 : SPI_OUT --> EEPROM
DIO3 : SPI_IN <-- EEPROM
DIO6 : CS --> EEPROM
SPI EEPROM

Doc No: WS2118E00A-UG-D02
Copyright ©JORJIN TECHNOLOGIES INC. 2018
http://WWW.JORJIN.COM.TW
Page 14
5. HISTORY CHANGE
Revision
Date
Description
D 0.1
2017/Sep/19
Initial release
D 0.2
2018/Jan/04
Updated to D04 design
Table of contents
Other Jorjin Microcontroller manuals