background image

 

 

NXP Semiconductors 

JN5189 

 

JN5189-DK006 Development Kit User Guide 

UM11368 

All information provided in this document is subject to legal disclaimers. 

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

User Guide 

Rev.1.1 

— 28 April 2020 

6 of 21 

DS5, DS6 

Green LEDs connected respectively to UART0_Tx (DS5) and UART0_Rx 
(DS6). 

DS8 

In System Programming (ISP) LED indicator. LED is ON when SW2 button is 
pressed. 

IC2 

Link2 MCU 

J2 

FTDI serial header. In addition to provide a serial output from JN5189, the 
Target side of the board can be powered from the FTDI header. The JN5189 
supports serial ISP boot from the FTDI header. 

J5 

32 pins Expansion header connector for debug. All the JN5189 IOs from 
modules and more are available here. 

J14 

JN5189 VBAT current monitor V sense measurement. The V sense can be 
measured with a volt meter. Pin 1 (square pad) is positive and pin 2 is 
negative. JN5189 current is calculated by dividing the measured voltage at 
J14 by the V 

sense resistance value of 3.3Ω. 

J15 

Link2 mini USB B-type connector. Powers both the Link2 side of the board 
and depending on the JP3, J5 configuration, the JN5189 Target side of the 
board. Power the board from this connector when using the on-board debug 
probe to debug the JN5189 Target MCU. 

J1 

JN5189 Target SWD disable 

– 2-position jumper pins. 

1. 

Jumper “ON” (default) the JN5189 Target SWD interface enabled. 
Normal operating mode where the Target SWD is connected to 
either the on-board  

2.  Link2 debug probe or an external debug probe. 

Jumper “OFF”, the 

JN5189 Target SWD interface is disabled. Use this setting only 
when the on-board Link2 debug probe is used to debug an off-board 
Target JN5189. 

J2 

SWD interface buffer power selection 

J3 

JN5189 power source selection 

1.  Jumper fitted in position pin 1 - 2 (default -5V REG). Power source 

is either 5V from mini USB connector or FTDI connector, or 4.5V 
from 3xAAA batteries or 5V from a 7-12V DC power supply 
connected on J4. 

2.  Jumper fitted in position pin 2 - 3 (BAT 6V). Power source is 4xAAA 

batteries. 

See details on Board power diagram Figure 5 

J4 

Jumper to route LPC or FTDI to UART RX0 JN5189 (to change in pair with 
JP7) 

J5 

Link2 (LPC4322) force DFU boot 

– 2 position jumper pins. 

1.  Jumper open (default) or shunted to boot mode for Link2 to follow 

the normal boot sequence. The Link2 will boot from internal flash if 
image is found there. With the internal flash erased the Link2 normal 
boot sequence will fall through to DFU boot. 

2.  Jumper shunted to force the Link2 to DFU boot mode. Use this 

setting to reprogram the Link2 internal flash with a new image or to 
use the MCUXpresso IDE with CMSIS-DAP protocol. 

J6 

JP6 is used to isolate the Link2 debug probe (SPI bridge function) from the 
JN5189 target to prevent leakage current in power critical applications / 
current consumption analysis. JP6 needs to be fitted in position 1 - 2 to use 
the SPI bridging function between the JN5189 and Link2. This jumper is not 
fitted by default 

J7 

Jumper to shunt LPC to JN5189 or FTDI to UART TX0 JN5189 (to change in 
pair with JP4) 

CN1, CN2, 
CN3, CN4 

Expansion connectors, including Arduino Uno rev3 compatible connectivity. 

JM1, JM2 

JN5189 module headers 

Содержание JN5189-DK006

Страница 1: ...M11368 JN5189 DK006 Development Kit User Guide Rev 1 1 28 April 2020 Document information Info Content Keywords JN5189 DK User Guide Abstract This document is a user guide for the JN5189 Development Kit ...

Страница 2: ...nt is subject to legal disclaimers NXP Semiconductors N V 2020 All rights reserved User Guide Rev 1 1 28 April 2020 2 of 21 Contact information For more information please visit http www nxp com Revision history Rev Date Description 1V0 20200115 Initial release 1V1 20200428 Added Lighting Expansion and USB Dongle ...

Страница 3: ...o evaluate JN5189 s functions and performance There are also some useful peripherals like GPIOs and Arduino interface J Link and J Trace functions are all supported for debugging JN5189 ISP download function is also contained and very easy to use 1 1 Purpose This document introduces all functions of JN5189 DK Descripts all parts of JN5189 DK boards in detail 1 2 Kit contents JN5189 DK includes the...

Страница 4: ...veloped by NXP to enable evaluation and prototyping with the JN5189_30_T Bluetooth Low Energy wireless microcontroller The carrier boards part number OM15076 supplied in the development kit are physically identical They are all pre fitted with an Arduino compatible expansion board and a JN5189 based module with integrated antenna 2 1 Feature summary The JN5189 Carrier board includes the following ...

Страница 5: ... connector 2 2 Board layout and settings This section provides a quick reference guide to the main board components configurable items visual indicators and expansion connectors The layout of the components on the JN5189 Carrier board is shown in Figure 3 The function of each identified component is listed in Table 1 Table 1 Table Board interface components Circuit ref Description D1 Link2 LPC4322...

Страница 6: ...xternal debug probe Jumper OFF the JN5189 Target SWD interface is disabled Use this setting only when the on board Link2 debug probe is used to debug an off board Target JN5189 J2 SWD interface buffer power selection J3 JN5189 power source selection 1 Jumper fitted in position pin 1 2 default 5V REG Power source is either 5V from mini USB connector or FTDI connector or 4 5V from 3xAAA batteries or...

Страница 7: ...and any debug the connectors serigraphy is also copied on PCB bottom J7 J13 J12 J11 battery slots are also here 2 3 LED indicators The DK6 board LED location are shown in Figure 3 A description of each on board LED indicator is shown in next table Table 2 LED indicator functions LED reference Description D1 Link2 MCU BOOT0_LED indicator Reflects the state of Link2 MCU P1_1 When the boot process fa...

Страница 8: ... release the Reset button SW4 then release the ISP button SW2 This is done automatically when using the DK6 Production Flash programmer with J2 FTDI USB interface 2 6 User Interface button This button BP1 is connected to JN5189_PIO_1 and should be used as an input 2 7 JN5189 Serial port The JN5189 UART0 can also be connected through a virtual communication port VCOM UART bridge Link2 function eith...

Страница 9: ...s JP1 and JP2 must be correctly positioned for each mode The on board Link2 debug probe is capable of debugging target MCU s with a VDDIO range of 1 6V to 3 6V Check the sections below for the appropriate jumper settings and how to properly power the board 2 9 1 Debug using on board debug probe To use the on board Link debug probe The jumper JP2 must be fitted in position pin 1 2 Local Target Jump...

Страница 10: ... JP5 across pin 1 2 then power the board by connecting the mini USB J15 to a host computer Link2 MCU programming is performed using the LPCScrypt utility see https www nxp com design microcontrollers developer resources lpc microcontroller utilities LPC UTILITIES Instructions for using the tool are located at the same web page 2 9 4 Using the DK6 to debug an off board target The DK6 board s Link2 ...

Страница 11: ...velopment kit The Generic Expansion Board has the following features Arduino compatible expansion header in four parts CN1 CN4 4 user input buttons SW1 SW2 SW3 SW4 connected to DIOs on the JN5189 module on the Carrier Board o SW1 is connected to IO19 o SW2 is connected to IO15 o SW3 is connected to IO7 o SW4 is connected to IO4 4 LEDs D1 D2 D3 D4 connected to DIOs on the JN5189 module on the Carri...

Страница 12: ...r Guide Rev 1 1 28 April 2020 12 of 21 USB Mini B port to provide access to JN5189 UART1 via IO11 and IO10 of JN5189 module connected via FTDI FT230X driver device PCB pads for 4 way GPIO header 3V3 VCC IO11 IO10 where IO11 and IO10 can be used to access JN5189 UART1 in this case the FTDI driver chip for the USB port must be isolated by removing resistors R9 and R16 Figure 7 Generic expansion boar...

Страница 13: ...r of Carrier Boards in the development kit The Generic Expansion Board has the following features Arduino compatible expansion header in four parts CN1 CN4 3 White LEDs D1 D2 D3 connected to IO6 on the JN5189 module on the Carrier Board o D4 is an optional LED which is not fitted on the supplied board and shares IO4 with button SW1 RGB LED controlled by I2C 2 Digital Microphones connected to DMIC ...

Страница 14: ...ternal pull up or pull down resistors enabled JP6 should be opened to avoid leakage to the Link2 via the I2C and SPI connections between it and the JN5189 7 1 Current measurement with MCUXpresso The DK6 board has an on board current measurement circuit consisting of a MAX9634T IC21 current monitor chip and a 12 bit ADC ADC122S021 IC19 with a 12 bit sample at 50k to 200ksps The on board MAX9634T cu...

Страница 15: ...3Ω As an example if the measured voltage is 10mV then 10e 3 3 3Ω 3 03mA Note that the input current to the MAX9634 used in the on board current measurement will be included in the voltage measured across this resistor 7 3 Current measurement with a multimeter Figure 10 is the circuit for the power supply to the module The signal VBAT is used to power the JN5189 module Figure 10 Power Sensing Circu...

Страница 16: ...vided in this document is subject to legal disclaimers NXP Semiconductors N V 2020 All rights reserved User Guide Rev 1 1 28 April 2020 16 of 21 Figure 11 VBAT Connections To measure the current using multimeter remove R51 and place the multimeter across J14 pins 1 and 2 Figure 12 R51 Location ...

Страница 17: ...oard is not fitted then the following IO lines are connected on the DK6 board Setting IOs incorrectly in the software will cause current to be consumed and this should be taken into consideration when measurement current The following IOs are connected Function PIOs Affected Schematic Page number Comment NTAG 10 11 4 Not connected by default R45 and R59 are not fitted by default User Interface But...

Страница 18: ...nts the following additional changes are required to achieve the datasheet value otherwise the result is typically 600nA high Component Action Schematic Page Comment R51 Remove 2 Allow connection of a Multimeter across J14 IC22 Remove 3V3OUT 7 See Section 5 5 below D5 Remove 7 Disconnect ISPEN from FTDI device C33 Remove 7 Remove capacitor from Reset Line R64 Remove 7 Remove Pullup Resistor from I...

Страница 19: ...is document is subject to legal disclaimers NXP Semiconductors N V 2020 All rights reserved User Guide Rev 1 1 28 April 2020 19 of 21 It is important to leave C49 connected to Pin10 of the FT230A To achieve this modify the boards as shown in Figure 15 Figure 14 FTDI Interface Figure 15 3V3OUT modification ...

Страница 20: ...nerabilities on customer s applications and products and NXP accepts no liability for any vulnerability that is discovered Customers should implement appropriate design and operating safeguards to minimize the risks associated with their applications and products NXP the NXP logo NXP SECURE CONNECTIONS FOR A SMARTER WORLD COOLFLUX EMBRACE GREENCHIP HITAG ICODE JCOP LIFE VIBES MIFARE MIFARE CLASSIC...

Страница 21: ...4 ARDUINO connectors 8 2 5 Buttons 8 2 5 1 Reset button 8 2 5 2 ISP button 8 2 6 User Interface button 8 2 7 JN5189 Serial port 8 2 8 Board power connections 8 2 9 Debug Configurations 9 2 9 1 Debug using on board debug probe 9 2 9 2 Debug using external debug probe 9 2 9 3 On Board Link2 flash programming 10 2 9 4 Using the DK6 to debug an off board target 10 3 JN5189 Modules 11 4 Generic expansi...

Отзывы: