um10895 qn9020 mini dk user guide · 2017-08-21 · document information um10895 qn9020 mini dk...

21
UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Document information Info Content Keywords mini DK, J-Link OB, UART, SWD, GPIO, LED, button, power supply, buzzer Abstract This user manual describes the features of the QN9020_MINIDK_Vx board.

Upload: others

Post on 15-Apr-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

UM10895QN9020 mini DK user guideRev. 2 — 24 May 2016 User manual

Document information

Info Content

Keywords mini DK, J-Link OB, UART, SWD, GPIO, LED, button, power supply, buzzer

Abstract This user manual describes the features of the QN9020_MINIDK_Vx board.

Page 2: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

Revision history

Rev Date Description

v.2 20160524 second release. Modifications:

• Section 1.2 “Additional resource” updated.

• Figure 5 updated.

• Section 2.6 “GPIO interface” updated.

• Section 3.1 “Schematics for QN9020 mini DK board” updated.

v.1 20150601 initial release

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 2 of 21

Contact informationFor more information, please visit: http://www.nxp.com

For sales office addresses, please send an email to: [email protected]

Page 3: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

1. Introduction

This user manual describes the hardware details of the QN9020 mini Development Kit (DK).

1.1 Kit contents

The QN9020 mini development kit includes the following:

• QN9020 mini development board

• QN9020 USB dongle

• USB cable

1.2 Additional resource

For additional resources, visit http://www.nxp.com/products/microcontrollers-and-processors/more-processors/application-specific-mcus-mpus/bluetooth-low-energy-ble:BLUETOOTH-LOW-ENERGY-BLE

2. Hardware description

The QN9020 mini development board provides easy access to peripherals such as buttons, piezo buzzer and LED. The board also provides useful interfaces such as a USB port for UART communication and J-Link debug, and a GPIO/optional sensor board connector.

A USB dongle is a Bluetooth device powered by the QN9020. It acts as a master when communicating with the QN9020.

2.1 Hardware overview

The hardware blocks in the QN9020 mini DK, and the functional relationship of each main component, are shown in Figure 1.

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 3 of 21

Page 4: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

The component layout on both the sides of the board is shown in Figure 2 and Figure 3. The detailed information of each component is listed in Table 1.

Fig 1. The QN9020 functional diagram

Fig 2. The QN9020 board top view

aaa-018330

GPIO/SENSOR CONNECTOR GPIO/SENSOR CONNECTOR

GPIO/SENSOR CONNECTORBUTTON2

LED1

LED2

BUTTON1

RESET

Virtual UART

POWER

OnBoardANTENNA

RFMATCHING

JLink OB(ATSAM3U2C)

UART

SWD QN9020

CR2032

USBPORT

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 4 of 21

Page 5: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

Fig 3. The QN9020 board bottom view

Table 1. QN9020 board components list

Number Name Description

1 J-Link OB ATSAM3U2C; used to offer SWD and UART interfaces for QN9020 debug and communication

2 connector optional; used for connecting sensor board

3 debug port debug port for ATSAM3U2CA

4 mini USB port power and communication port

5 power source select jumper used for power source selection; see Section 2.3

6 current measurement jumper used to measure the QN9020 device power consumption

7 LDO (TPS73630) 5 V to 3 V regulator

8 button1 used as input; see Section 2.9

9 button2 used as input; see Section 2.9

10 LED2 used as output; see Section 2.8

11 QN9020 GPIO port used for interface extension

12 LED1 used as output; see Section 2.8

13 SWD resistors zero ohm resistors; shorted for QN9020 device debug

14 UART interface used as communication port for QN9020 device

15 PCB antenna onboard Bluetooth antenna

16 QN9020 chip QN9020 chip

17 QN9020 reset button used for QN9020 hardware reset

18 CR2032 battery holder CR2032 battery holder

19 piezo buzzer buzzer: KLJ-1230

20 jumper used for power cycle ATSAM3U2CA

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 5 of 21

Page 6: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

2.2 Default jumper settings on mini DK board

The jumpers on QN9020 mini DK are factory set to power the board over the USB. The factory-set jumper and switch settings are shown in Table 2.

2.3 Power supply

The QN9020 board has two power supply modes:

1. Bus-power mode: The board can be powered using the USB cable. The onboard LDO is used to regulate output voltage to 3 V and supplies power to all parts on the board.

2. Battery-power mode: The CR2032 supplies power to QN9020 and optional sensor connector when it is in battery-power mode. The J-Link OB still uses the LDO as power supply via USB cable. When using USB interface as a power supply, connect the jumper J11 pin 2 and pin 3; see Figure 4.

When using a CR2032 coin cell as a power supply, connect the jumper J11 pin 1 and pin 2; see Figure 5.

Table 2. QN9020 mini DK board components list

Jumper Pins to be shorted using jumpers

Function

J11 2 and 3 USB powered

J12 1 and 2 VCC_QN9020 3.3 V

J13 1 and 2 VCC_MB 3.3 V

Fig 4. Connecting jumper J11 pin 2 and pin 3 to select USB as power supply

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 6 of 21

Page 7: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

2.4 SEGGER J-Link OB part

The SEGGER J-Link OB offers the SWD and UART interface. Users can download or update firmware into a QN9020 device by using the UART or SWD interface. Furthermore, it is convenient to debug the program for a QN9020 device using SWD interface.

To program or debug the QN9020 device using the SEGGER J-Link OB, the 0 resistors R37, R38 should be soldered; see Figure 6.

Fig 5. Connecting jumper J11 Pin1 and Pin 2 to select CR2032 coin cell as power supply

Fig 6. Connect R37, R38

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 7 of 21

Page 8: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

In order to use a USB to UART bridge for the QN9020 download, the solder bridge SB3, SB4 should be shorted; see Figure 7.

2.5 QN9020 device

The QN9020 device is integrated with a BLE radio, controller, protocol stack and profile software, and a high performance MCU on a single chip; see Figure 8.

Fig 7. Short R35, R36

Fig 8. The QN9020 device

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 8 of 21

Page 9: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

2.6 GPIO interface

In QN9020 mini development board version V7, the connectors J6, J7, J8 and J9 provide GPIO connection. The net name is shown in Figure 9.

In QN9020 mini development board version V8, connectors J6 and J7 provide GPIO connection, as shown in Figure 10.

2.7 QN9020 reset button

The reset button is used to provide hardware reset to the QN9020 device. When programming the QN9020 using UART interface of SEGGER J-Link OB, the reset button should be pressed first to ensure that QN9020 is in boot mode. See Figure 11 for the detailed circuit.

Fig 9. QN9020 version V7 GPIO connections

Fig 10. QN9020 version V8 GPIO connections

aaa-018338

1nRESET

J9P3.0_ADC-

2

3 4

5 6

7 8

9 10

P3.1_ADC+P3.2_SPI0-MISO

P3.3_SPI0-MOSIP3.4_SPI0-CLK

P3.5_SPI0-CSP3.6

QN_VCC_3.3 VGND

1P0.0 UART0-TX

J6P0.1_UART0-CTS

2

3 4

5 6

7 8

9 10

P0.2 UART0-RTSP0.3

P0.4P0.5

SWDIO/TMSSWCLK/TCK

QN_VCC_3.3 VGND

1P2.0_UART1-RX

J8P2.1_UART1-TX

2

3 4

5 6

7 8

9 10

P2.2P2.3_I2C-SDA

P2.4_I2C-SCLP2.5

P2.6_PWMP2.7_PWM

GNDQN_VCC_3.3 V

1P1.0_SPI1-MISO

J7P1.1_SPI1-MOSI

2

3 4

5 6

7 8

9 10

P1.2_SPI1-CSP1.3_SPI1-CLK

P1.4P1.5_PWM

P1.6_PWMP1.7_UART0-RX

GNDQN_VCC_3.3 V

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 9 of 21

Page 10: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

2.8 LED

The QN9020 board offers two programmable LEDs, which are connected to the QN9020 device GPIO.

LED1 and LED2 are connected to GPIO P0.4 and P0.5 respectively. The connections are shown in Figure 12. The LEDs are powered-up when the corresponding GPIO outputs switch to logic LOW level.

2.9 Button

The QN9020 board offers two buttons which are connected to QN9020 device GPIO. Button 1 and button 2 are connected to GPIO P1.4 and P1.5 respectively. See Figure 13 for detailed circuits.

When using the buttons, the GPIO P1.4 and P1.5 must be configured as inputs. Logic LOW input is applied to QN9020 when a button is pressed.

Fig 11. QN9020 reset

aaa-018339

SW3reset button

nRESET1 2

Fig 12. LED circuit

aaa-018340

R20LED1

LED2

D2

D3 R21

470 Ω

470 Ω

QN_VIO

P0.5

P0.4

Fig 13. Button circuit

aaa-018341

R15P1.4

P1.5

button 1

SW1

2

3

1

4

R18

100 kΩ

100 kΩ

QN_VIO

button 2

SW2

2

3

1

4

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 10 of 21

Page 11: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

2.10 Piezo buzzer

The piezo buzzer receives input from GPIO P2.6; see Figure 14. Refer to KLJ-1230 data sheet for detailed information.

2.11 Optional sensor connector

These connectors are used as an interface to connect the sensor board. The pin name definitions are shown in Figure 15.

2.12 Current measurement

The jumper J12 is used to measure the QN9020 device current. In current test mode, the digital ammeter should be connected in series with J12. In the other modes, pin 1 and pin 2 of J12 are shorted. A jumper cap is used to short the pins.

Fig 14. Piezo buzzer circuit

aaa-018342buzzer

1 2P2.6_PWM

B1

Fig 15. Connecting the sensor board

aaa-018343

1

J5

QN_VIOQN_VIO

2

3

4

5

QN_VIO

P3.0_ADC-

J10

1

2

3

4

5

P3.1_ADC+

P3.6

P2.3_I2C-SDA

P2.4_I2C-SCL

6

7

8

9

10

P0.3R16

0 Ω

R22

0 Ω

R17

0 ΩP0.4

P0.5

P3.3_SPIO-MOSI

P3.5_SPIO-CS11

12 GND

6

7

8

9

10

11

12

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 11 of 21

Page 12: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

3. Appendix - Schematics and PCB layout

3.1 Schematics for QN9020 mini DK board

QN9020 mini DK board schematics have three parts: J-Link, power and QN9020. Figure 16, Figure 17 and Figure 18 are the same for all versions. The QN9020 schematic in version V7 is shown in Figure 19. In version V8, it is shown in Figure 20.

Fig 16. J-Link schematic for all QN9020 mini DK versions, part I

aaa-018546

SB6SB5

PB176867666564

PB18PB19PB20PB21

63PB22

VDDPLL737271

7069

GNDPLL

XIN7574

XOUT

PB9

PB10PB14

NRST5756555453

TCKTMSTDO

PI_RSTPI_TCKPI_TMSPI_TDO

PI_TDI

C1710 μF

C16

10 nF

C200.1 μF

C21

10 pF

C22

0.1 μFR12

6.8 kΩ

R19

1 kΩ

C1810 μF

C190.1 μF

VDDIN

5251

VDDOUTMB_VCC_3.3VVCORE

MB_VCC_3.3VVCORE

TDI

PB23626160

XINXOUTVCORE

5958

GND3VDDIO3VDDCORE3PB24

ATSAM3U2CA

PB489101112

39 40 41 42 43 44 45 46 47 48 49 50

87 86 85 84 83 82 81 80 79 78 77 76

VDDCORE1PA13

VCORETDlin

TMSin

TCKout

TMSout

TDIout

TCKout

TDOinENSPI

MB_VCC_3.3V

PA14

PA15

GNDANA345

67

AD12BVREF

VDDANAMB_VCC_3.3V

TCKin

RTCKin

12

ADVREF

PA22PA30PB3

PA201920212223

PA21PA23

VDDIO1

PA24

24PA25

25PA26

PA171415161718

PB16

13PA16

PB15PA18PA19

GN

DB

UN

RS

TBJT

AG

SE

LX

OU

T32

XIN

32

PA

12FW

VP

PA

10P

A11

ER

AS

ETS

TV

DD

BU

TX0

MB

_VC

C_3

.3V

TP1

MB

_VC

C_3

.3V

28 29 30 31 32 33 34 35 36 37 38

GN

D2

VD

DIO

2P

A8

PA

9

PA

4P

A5

PA

2P

A3

26 27

PA

0P

A1

TRS

Tin

TRS

Tout

TRE

Sin

PA

6P

A7

VD

DC

OR

E2

MB

_VC

C_3

.3V

CTS

RTS

RX

0

TRE

Sou

t

RX

Dat

aTX

Dat

aV

CO

RE

DFS

DM

VD

DU

TMI

VB

GD

HS

DM

DH

SD

P

MB

_VC

C_3

.3V

DH

SD

MD

HS

DP

PA

29

PA

28

VD

DC

OR

E4

88

VD

DIO

4

PA

31

VD

DC

OR

EV

CO

RE

GN

DU

TMI

DFS

DP

DFS

DM

DFS

DP

LED

_RE

D1

VC

OR

EM

B_V

CC

_3.3

V

EN

SP

I

LED

_RE

D2

99 98 97 96 95 94 93 92 91 90 89

PB

2P

B1

PB

0G

ND

4

PB

5P

A27

PB

7

100

U1 PB

8

PB

6

PB

13P

B12

PB

11

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 12 of 21

Page 13: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx

UM

10895

User m

anu

al

NX

P S

emico

nd

ucto

rsU

M10895

QN

90

20 m

ini D

K u

ser g

uid

e

LED_RED1MB_VCC_3.3V

D1 LED4 R13

220 Ω

LED_RED2MB_VCC_3.3V

D1 LED4 R14

220 Ω

MB_VCC_3.3V

aaa-018344

MB_VCC_3.3V

GNDGND

VS

VBUS

VS

VBUS

P0.2_UART0-RTS

nRESETRESoutT_RESET

TDOinT_TDO

RTCKinT_RTCK

TRESin

UART interface to QN9020

CTS

RTS

RXD

TXD

SB1

R260 Ω

R10

0 Ω

R11

0 Ω

solder_bridge

SB2

solder_bridge

SB3

solder_bridge

SB4

solder_bridge

P0.1_UART0-CTS

P0.0_UART0-TX

P1.7_UART0-RX

SWCLK/TCKSWCLK/TCK

TCKoutT_TCK

TCKin

R8

150 Ω

J3

jump

SWDIO/TMS

JTAG interface to QN9020

SWDIO/TMSTMSout

T_TMS

TMSin

R7

150 Ω

J2

jump

TDIoutT_TDI

TDIin

R9

0 Ω

TRSToutT_TRST

TRSTin

R6

0 Ω

All inform

ation provided

in this docum

ent is subject to leg

al disclaim

ers.©

NX

P S

em

iconductors N

.V. 2016. A

ll rights reserved.

Rev. 2 —

24 May

2016 13 o

f 21

Fig 17. J-Link schematic for all QN9020 mini DK versions, part II

miniusb_typeB PRTR5VOU2X

J1S1S4

69

1

2

3

4

5

78

U5IO1

DFSON

DFSOP

DHSON

DHSOP

IO223

GNDVCC14

V

D-

D+

ID

G

S2S3

CON10C

1

J4

10MB_VCC_3.3V

2 9PI_TMS

MB_VCC_3.3V

XOUT

XIN

Y112 MΩ

3 8GND

4 7PI_TCK

5 6VS PI_TDO

PI_TDI

PI_RST

C50.1 μF

R30

1 MΩ

R29

39 Ω1 %

R28

39 Ω1 %

C36

1 nF

C24

0.1 μFC23

10 μF

MB_VCC_3.3V

VBUS

C60.1 μF

C70.1 μF

C80.1 μF

C90.1 μF

C100.1 μF

C110.1 μF

VCORE

ATSAM3U2CAprogramming

interface

C120.1 μF

C130.1 μF

C140.1 μF

C150.1 μF

T

R54.7 kΩ

R24.7 kΩ

R34.7 kΩ

R44.7 kΩ

C218 pF

3 2

4 1C318 pF

Page 14: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

Fig 18. Power schematic for all mini DK versions

aaa-018345

1 5VIN

V5

VBUS

TP2

R250 Ω

VOUT

C290.1 μFC26

10 nF

C3010 μF16 V

J13

J11

JUMP2

JUMP3

MB_VCC_3.3V

U2

GNDGND

2GND

3

BAT1

battery

1

2

23

1

3

4EN NR/FB

TPS73633

J12

R24

0 Ω

JUMP2

QN_VCC_3.3V

QN current test

Note:connect jumper J11 PIN2, 3 LDO as a power supplyconnect jumper J11 PIN1, 2 battery as a power supply

QN_VIO

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 14 of 21

Page 15: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx

UM

10895

User m

anu

al

NX

P S

emico

nd

ucto

rsU

M10895

QN

90

20 m

ini D

K u

ser g

uid

e

aaa-018346

1nRESET

J9P3.0_ADC-

2

3 4

5 6

7 8

9 10

P3.1_ADC+P3.2_SPI0-MISO

P3.3_SPI0-MOSIP3.4_SPI0-CLK

P3.5_SPI0-CSP3.6

QN_VCC_3.3 VGND

1P0.0 UART0-TX

QN9020 GPIOQN9020 device

J6P0.1_UART0-CTS

2

3 4

5 6

7 8

9 10

P0.2 UART0-RTSP0.3

P0.4P0.5

SWDIO/TMSSWCLK/TCK

QN_VCC_3.3 VGND

1P2.0_UART1-RX

J8P2.1_UART1-TX

2

3 4

5 6

7 8

9 10

P2.2P2.3_I2C-SDA

P2.4_I2C-SCLP2.5

P2.6_PWMP2.7_PWM

GNDQN_VCC_3.3 V

1P1.0_SPI1-MISO

J7P1.1_SPI1-MOSI

2

3 4

5 6

7 8

9 10

P1.2_SPI1-CSP1.3_SPI1-CLK

P1.4P1.5_PWM

P1.6_PWMP1.7_UART0-RX

GNDQN_VCC_3.3 V

P3.0_ADC-J10

12345

P3.1_ADC+P3.6P2.3_I2C-SDAP2.4_I2C-SCL

6

789

10

P0.3R16

0 ΩR22

0 Ω

R17

0 ΩP0.4P0.5P3.3_SPIO-MOSIP3.5_SPIO-CS11

12 GND

ECTOR FOR SENSOR BOARD

Y316 M

L515 nH

QN_VCC_3.3 VQN_VCC_3.3 V

C48

1 μF

CS

MIS

O

MO

SI

CLK

All inform

ation provided

in this docum

ent is subject to leg

al disclaim

ers.©

NX

P S

em

iconductors N

.V. 2016. A

ll rights reserved.

Rev. 2 —

24 May

2016 15 o

f 21

Fig 19. QN9020 schematic in QN9020 mini DK board V7 and below

R20LED1

LED2

D2

D3 R21

470 Ω

470 Ω

QN_VIO

P0.5

P0.4

R15P1.4

P1.5_PWM

button 1

SW1

2

3

1

4

R18

100 kΩ

100 kΩ

QN_VIO

button 2

SW2

2

3

1

4

buzzer

1 2P2.6_PWM

B1

1J5

QN_VIOQN_VIO

2345

QN_VIO

6

789101112

SW3reset button

nRESET

USER BUTTON

RESET BUTTON

USER LED BUZZER

CONN

1 2

P2_029

28

27

26

25

P2_1

P2_2

P2_3

P2_4

RFP34

33

32

31

30

RFN

VDD2 C44

L410 μH

R31100 kΩ

R32

56 kΩ

C392.2 nF

L2

L11.1 nH

6.2 nH

L3

2.0 nH

C46

A1antenna

1.5 pF

C428.2 pF

C471.0 pF

C411 μF

100 nF36

C43

100 nF

35VSS2

RVDD

RSTN

P3_6

P2.0_UART1-RX

P2.1_UART1-TX

P2.2

P2.3_I2C-SDA

P2.4_I2C-SCL

P3.6

nRESET

QN9020U6 nRESET

P0_38

9

10

11

1213 14 15 16 17 18 19 20 21 22 23 24

48 47 46 45 44 43 42 41 40 39 38 37

P0_2

P0_1

P0_0

VSS1

P0_6SWCLK/TCK

SWDIO/TMS

GNDGND

3

4

5

6

7

XTAL2_32K

VCC1

2P0_7

XTAL1_32K

P0_5

P0_4

P0.3

P0.2_UART0-RTS

P0.1_UART0-CTS

P0.0_UART0-TX

P0.5

P0.4

P1_

1

P1_

0

P2_

7

P2_

6

P2_

5

P1_

6

P1_

5

VD

D1

C37

100 nF

P1_

7

P1_

4

P1_

3

P1_

2

P1.

1_S

PI1

-MO

SI

P1.

0_S

PI1

-MIS

O

P2.

7_P

WM

P2.

6_P

WM

P2.

5

P1.

6_P

WM

P1.

5_P

WM

P1.

7_U

AR

T0-R

X

P1.

4

P1.

3_S

PI1

-CLK

P1.

2_S

PI1

-CS

P3_

5

XTA

L1

XTA

L2

VD

D3

RE

XT

P3_

0

P3_

1

DC

C

49

GN

D

VS

S3

P3_

2

P3_

3

P3_

4

P3.

5_S

PIO

P3.

0_A

DC

-

P3.

1_A

DC

+

P3.

2_S

PIO

P3.

3_S

PIO

P3.

4_S

PIO

C38

100 nF

C40

Y232.768 kHz

C45

22 pF

22 pF

Page 16: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx

UM

10895

User m

anu

al

NX

P S

emico

nd

ucto

rsU

M10895

QN

90

20 m

ini D

K u

ser g

uid

e

All inform

ation provided

in this docum

ent is subject to leg

al disclaim

ers.©

NX

P S

em

iconductors N

.V. 2016. A

ll rights reserved.

Rev. 2 —

24 May

2016 16 o

f 21

Fig 20. QN9020 schematic in QN9020 mini DK board V8

Page 17: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

3.2 PCB layout

Fig 21. Silk screen top

aaa-018347

SWDIO

SWCLK

LED1R20

R18

P1.7-P1.0 P2.7-P2.0

P0.0-P0.7 P3.0-P3.6

QN

9020_MIN

IDK

_V7

R150121

R15

C24

D1

R28

R29

R13

R14

R25

R12C21C22C14C15C9

J13

U5

TP2

J11

12

3

J12V

CC

C26

C23R24

U2

C29

C30

R30

C36

SW2SW1QNVCC

VBAT

J13 power for U1J12 power for U6J11 power select

BUTTON2BUTTON1

D2

R21C6

R9

R27

R23

J7 J8

J6

J4

J9A

1

R7

R8

C11

C5

U1

SE

GG

ER

J-Link TMTechnology

ww

w.segger,com D3

CTSTXDRXD

RTS

R37

R38

R34R35R36 C40

C46

C43

Y3

R32C44

L3

Y2C45

R2

R4

R3

R5

J1

C2 Y

1

C20

C13

C19

C18

C17

C48

C38

C37

C41

R31

C42

C47

C39

L1U

6L2

L5L4

SW

3

QN

_RS

TC8

C3

R22 G

ND

P3.5

P3.3

P0.5

P0.4

P0.3

SC

L

SD

A

P3.6

P3.1

P3.0

VC

C

VC

C

J10

J5

R17

R16

R33

R10R11R6

C12C7

R26R19

C10

TP1

C16

LED2

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 17 of 21

Page 18: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

4. Abbreviations

Fig 22. Silk screen bottom

aaa-018348

P2.0

P2.2

P2.4

P2.6

GND

P1.0

P1.2

P1.4

P1.6

GND

VBUSD-D+GND

VCC

Vbat

B1

BAT1

1

2

3

P2.1

P2.3

P2.5

P2.7

VCC

P1.1

P1.3

P1.5

P1.7

VCC

GND

P3.6

P3.4

P3.2

P3.0

GND

P0.7

P0.5

P0.3

P0.1

VCC

P3.5

P3.3

P3.1

RESET

VCC

P0.6

P0.4

P0.2

P0.0

Table 3. Abbreviations

Acronym Description

UART Universal Asynchronous Receiver Transmitter

DK Development Kit

LDO Low DropOut

SWD Serial Wire Debug

PCB Printed-Circuit Board

BLE Bluetooth Low Energy

MCU MicroController Unit

GPIO General Purpose Input Output

ISP In System Programming

USB Universal Serial Bus

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 18 of 21

Page 19: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

5. Legal information

5.1 Definitions

Draft — The document is a draft version only. The content is still under internal review and subject to formal approval, which may result in modifications or additions. NXP Semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall have no liability for the consequences of use of such information.

5.2 Disclaimers

Limited warranty and liability — Information in this document is believed to be accurate and reliable. However, NXP Semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. NXP Semiconductors takes no responsibility for the content in this document if provided by an information source outside of NXP Semiconductors.

In no event shall NXP Semiconductors be liable for any indirect, incidental, punitive, special or consequential damages (including - without limitation - lost profits, lost savings, business interruption, costs related to the removal or replacement of any products or rework charges) whether or not such damages are based on tort (including negligence), warranty, breach of contract or any other legal theory.

Notwithstanding any damages that customer might incur for any reason whatsoever, NXP Semiconductors’ aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the Terms and conditions of commercial sale of NXP Semiconductors.

Right to make changes — NXP Semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces all information supplied prior to the publication hereof.

Suitability for use — NXP Semiconductors products are not designed, authorized or warranted to be suitable for use in life support, life-critical or safety-critical systems or equipment, nor in applications where failure or malfunction of an NXP Semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. NXP Semiconductors and its suppliers accept no liability for inclusion and/or use of NXP Semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customer’s own risk.

Applications — Applications that are described herein for any of these products are for illustrative purposes only. NXP Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification.

Customers are responsible for the design and operation of their applications and products using NXP Semiconductors products, and NXP Semiconductors accepts no liability for any assistance with applications or customer product

design. It is customer’s sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer’s applications and products planned, as well as for the planned application and use of customer’s third party customer(s). Customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products.

NXP Semiconductors does not accept any liability related to any default, damage, costs or problem which is based on any weakness or default in the customer’s applications or products, or the application or use by customer’s third party customer(s). Customer is responsible for doing all necessary testing for the customer’s applications and products using NXP Semiconductors products in order to avoid a default of the applications and the products or of the application or use by customer’s third party customer(s). NXP does not accept any liability in this respect.

Export control — This document as well as the item(s) described herein may be subject to export control regulations. Export might require a prior authorization from competent authorities.

Evaluation products — This product is provided on an “as is” and “with all faults” basis for evaluation purposes only. NXP Semiconductors, its affiliates and their suppliers expressly disclaim all warranties, whether express, implied or statutory, including but not limited to the implied warranties of non-infringement, merchantability and fitness for a particular purpose. The entire risk as to the quality, or arising out of the use or performance, of this product remains with customer.

In no event shall NXP Semiconductors, its affiliates or their suppliers be liable to customer for any special, indirect, consequential, punitive or incidental damages (including without limitation damages for loss of business, business interruption, loss of use, loss of data or information, and the like) arising out the use of or inability to use the product, whether or not based on tort (including negligence), strict liability, breach of contract, breach of warranty or any other theory, even if advised of the possibility of such damages.

Notwithstanding any damages that customer might incur for any reason whatsoever (including without limitation, all damages referenced above and all direct or general damages), the entire liability of NXP Semiconductors, its affiliates and their suppliers and customer’s exclusive remedy for all of the foregoing shall be limited to actual damages incurred by customer based on reasonable reliance up to the greater of the amount actually paid by customer for the product or five dollars (US$5.00). The foregoing limitations, exclusions and disclaimers shall apply to the maximum extent permitted by applicable law, even if any remedy fails of its essential purpose.

Translations — A non-English (translated) version of a document is for reference only. The English version shall prevail in case of any discrepancy between the translated and English versions.

5.3 TrademarksNotice: All referenced brands, product names, service names and trademarks are the property of their respective owners.

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 19 of 21

Page 20: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

6. Tables

Table 1. QN9020 board components list . . . . . . . . . . . . .5Table 2. QN9020 mini DK board components list. . . . . . .6

Table 3. Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 18

7. Figures

Fig 1. The QN9020 functional diagram. . . . . . . . . . . . . .4Fig 2. The QN9020 board top view. . . . . . . . . . . . . . . . .4Fig 3. The QN9020 board bottom view . . . . . . . . . . . . . .5Fig 4. Connecting jumper J11 pin 2 and pin 3

to select USB as power supply . . . . . . . . . . . . . . .6Fig 5. Connecting jumper J11 Pin1 and Pin 2 to select

CR2032 coin cell as power supply. . . . . . . . . . . . .7Fig 6. Connect R37, R38 . . . . . . . . . . . . . . . . . . . . . . . . .7Fig 7. Short R35, R36 . . . . . . . . . . . . . . . . . . . . . . . . . . .8Fig 8. The QN9020 device. . . . . . . . . . . . . . . . . . . . . . . .8Fig 9. QN9020 version V7 GPIO connections . . . . . . . . .9Fig 10. QN9020 version V8 GPIO connections . . . . . . . . .9Fig 11. QN9020 reset . . . . . . . . . . . . . . . . . . . . . . . . . . .10Fig 12. LED circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10Fig 13. Button circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . .10Fig 14. Piezo buzzer circuit . . . . . . . . . . . . . . . . . . . . . . . 11Fig 15. Connecting the sensor board. . . . . . . . . . . . . . . . 11Fig 16. J-Link schematic for all QN9020 mini DK

versions, part I . . . . . . . . . . . . . . . . . . . . . . . . . . .12Fig 17. J-Link schematic for all QN9020 mini DK

versions, part II . . . . . . . . . . . . . . . . . . . . . . . . . .13Fig 18. Power schematic for all mini DK versions . . . . . .14Fig 19. QN9020 schematic in QN9020 mini DK

board V7 and below. . . . . . . . . . . . . . . . . . . . . . .15Fig 20. QN9020 schematic in QN9020 mini DK

board V8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16Fig 21. Silk screen top . . . . . . . . . . . . . . . . . . . . . . . . . . .17Fig 22. Silk screen bottom . . . . . . . . . . . . . . . . . . . . . . . .18

UM10895 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2016. All rights reserved.

User manual Rev. 2 — 24 May 2016 20 of 21

Page 21: UM10895 QN9020 mini DK user guide · 2017-08-21 · Document information UM10895 QN9020 mini DK user guide Rev. 2 — 24 May 2016 User manual Info Content Keywords mini DK, J-Link

NXP Semiconductors UM10895QN9020 mini DK user guide

8. Contents

1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.1 Kit contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.2 Additional resource. . . . . . . . . . . . . . . . . . . . . . 3

2 Hardware description . . . . . . . . . . . . . . . . . . . . 32.1 Hardware overview. . . . . . . . . . . . . . . . . . . . . . 32.2 Default jumper settings on mini DK board . . . . 62.3 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . 62.4 SEGGER J-Link OB part . . . . . . . . . . . . . . . . . 72.5 QN9020 device. . . . . . . . . . . . . . . . . . . . . . . . . 82.6 GPIO interface . . . . . . . . . . . . . . . . . . . . . . . . . 92.7 QN9020 reset button . . . . . . . . . . . . . . . . . . . . 92.8 LED. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102.9 Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102.10 Piezo buzzer . . . . . . . . . . . . . . . . . . . . . . . . . . 112.11 Optional sensor connector . . . . . . . . . . . . . . . 112.12 Current measurement. . . . . . . . . . . . . . . . . . . 11

3 Appendix - Schematics and PCB layout . . . . 123.1 Schematics for QN9020 mini DK board . . . . . 123.2 PCB layout . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

4 Abbreviations. . . . . . . . . . . . . . . . . . . . . . . . . . 18

5 Legal information. . . . . . . . . . . . . . . . . . . . . . . 195.1 Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 195.2 Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . 195.3 Trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . . 19

6 Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

7 Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

8 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

© NXP Semiconductors N.V. 2016. All rights reserved.

For more information, please visit: http://www.nxp.comFor sales office addresses, please send an email to: [email protected]

Date of release: 24 May 2016

Document identifier: UM10895

Please be aware that important notices concerning this document and the product(s)described herein, have been included in section ‘Legal information’.