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 

10 of 21 

the Jack connector (J4)  

• 

and fit a jumper to JP2 across pin 1 - 2 (Local Target).  

• 

Jumper JP1 must be open or fitted across pin 2 

– 3 to enable the target 

JN5189.  

• 

The on-board Link2 debug probe must be unpowered, by leaving USB mini 

(J15) unconnected. 

2.9.3  On-Board Link2 flash programming 

To program the Link2 Flash the Link2 MCU must be in DFU mode. If the Link2 already 

has a valid image in the flash, you will need to force it into DFU mode by placing a 

jumper shunt on 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 debug probe may be used to debug an off-board target MCU. 
The on-

board Link2 debug probe is capable of debugging target MCU’s with a VDDIO 

range of 1.6V to 3.6V. To keep the on-board target JN5189 MCU from interfering with the 

SWD interface:  

• 

JP1 must be fitted across pin 1 - 2.  

• 

The Link2 debug probe SWD is connected by a ribbon cable between the 

P1 connector to the off-board target MCU SWD interface.  

• 

Power the DK6 board from the Link USB connector J15,  

• 

Fit jumper JP2 across pins 2 - 3 (External Target). 

 

 

Содержание 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...

Отзывы: