background image

 

EVK-R41Z - User guide 

UBX-19033357 - R03 

Hardware description

 

Page 14 of 23 

 

 

 

 

Figure 13: Schematic: User buttons 

2.4.6

 

SPI flash 

To assist development of applications requiring external storage, a 4  Mbit flash module is 
provided (Adesto Tech. AT45DB041E-MHN2B-T). The flash uses an SPI interface with signals 
shared with the expansion headers. When using multiple Chip Select (CS) signals, this allows 
the same SPI bus to be used with both the Flash module and one or more SPI devices on an 
expansion shield. However, some signals are also shared with the TSI user buttons. 

Signal 

R41Z I/O 

SPI CLK 

PTC16 (SW5) 

SPI MOSI 

PTC17 

SPI MISO 

PTC18 

Flash CS_n 

PTC19 (SW2) 

Table 6: SPI flash port signals 

 

Figure 14: Schematic: SPI flash 

2.4.7

 

I2C acceleration/magnetometer sensor 

For development of applications that require orientation and movement tracking, a combined 
accelerometer and magnetometer is provided (NXP FXOS8700CQR1). The sensor can support 
either SPI or I2C  interfaces but is used exclusively with the I2C interface on the R41Z 
evaluation board. When in I2C mode, the address of the sensor can be set using external pull-
up and pull-down resistors. The signals used for the I2C bus are shared with the expansion 
headers. Because of the addressed nature of I2C it is possible to use this same bus to connect 
to additional devices on a shield. 

Summary of Contents for EVK-R41Z

Page 1: ...stract This document describes how to set up the EVK R41Z evaluation kit to evaluate R41Z series modules It also describes the different options for debugging and the development capabilities included in the evaluation board www u blox com UBX 19033357 R03 ...

Page 2: ...s and designs included in this document Copying reproduction modification or disclosure to third parties of this document or any part thereof is only permitted with the express written permission of u blox The information contained herein is provided as is and u blox assumes no liability for its use No warranty either express or implied is given including but not limited to with respect to the acc...

Page 3: ...ing power consumption 9 2 3 Debug interface 10 2 3 1 OpenSDA interface 10 2 3 2 Reset button 10 2 3 3 External debug header 11 2 4 Peripherals 11 2 4 1 Expansion headers 12 2 4 2 IR LED Provision 12 2 4 3 User LEDs 13 2 4 4 Thermistor 13 2 4 5 User buttons 13 2 4 6 SPI flash 14 2 4 7 I2C acceleration magnetometer sensor 14 2 5 R41Z module 15 2 5 1 32 768 kHz oscillator 15 Setting up the evaluation...

Page 4: ...citive are available as well as an RGB LED reset button combination acceleration magnetometer sensor and an external 4 Mbit flash module Arduino form factor headers provide access to 16 GPIO and 6 analog inputs This allows for easy use of the many existing Arduino shields Current sense resistors allow for measuring current into the R41Z module and into the shield 1 1 Key features R41Z Bluetooth lo...

Page 5: ...environment IDE for creating building debugging and optimizing your application MCUXpresso SDK An open source software development kit SDK built specifically for your processor and evaluation board selections MCUXpresso Config Tools A comprehensive suite of system configuration tools including pins clocks Peripherals and more NXP IoT Toolbox IoT Toolbox is an all in one application capable of demo...

Page 6: ...en to not damage the supplies or evaluation board when the protection is by passed If necessary the LDO regulator can be disabled in order to allow for USB based debugging while powering the R41Z from either an external source or a coil cell Since the R41Z can accept a wide range of power options the LDO regulator can be adjusted to simulate some sources For details on these options see the power ...

Page 7: ...to supply regulated power to other peripheral devices Suitable for small applications powered directly from a lithium ion battery 2 If total power consumption is low the R41Z module can provide a regulated power rail to supply other devices Boost 0 9 V 1 8 V 1 8 V 3 0 V 1 DC DC Converter operates if boost mode Internal power rails are sourced and regulated by the R41Z module An externally availabl...

Page 8: ...supply power to the evaluation board Regulator Off When USB is connected the LDO regulator will not supply power 4 Regulator 3 6 V When USB is connected the LDO regulator will output 3 6 V With the reverse protection diode 3 3 V is applied to the R41Z Regulator 1 8 V When USB is connected the LDO regulator will output 1 8 V With the reverse protection diode 1 5 V is applied to the R41Z Useful for ...

Page 9: ...uration jumpers in Boost mode with solder jumpers across JMODE and JLP JMODE features a white dot highlighted by a red circle below to indicate the default bridged connection Do not bridge all three pads of jumper JMODE Figure 6 Power configuration jumpers Boost mode 2 2 3 Measuring power consumption When operating the R41Z evaluation board in Bypass power mode the board power source LDO regulator...

Page 10: ...ion loaded though other OpenSDA 2 1 applications may be used To load a new OpenSDA application apply power to the board while holding the reset button The evaluation board will appear as mass storage device named Maintenance onto which the OpenSDA application binary can be copied 2 3 2 Reset button The primary function of the reset button is to reset the R41Z module It is also used to put the Open...

Page 11: ... R41Z I O voltage 2 SWDIO 3 GND 4 SWCLK 5 GND 6 N C 7 N C 8 N C 9 GND 10 RESET_N Table 5 External debugger header pinout 2 4 Peripherals The R41Z evaluation board includes a set of onboard peripherals and a set of Arduino style headers that allow for additional peripherals of the user s choice to be added in the form of expansion shields These headers share I O connections to the R41Z module with ...

Page 12: ...R LED and driver transistor are provided on the evaluation board If IR is part the application under development these parts can be populated by the end user The IR LED footprint is intended for a right angle SMT 3317 package The drive transistor footprint is intended for an SOT 23 NPN BJT Resistor R45 is not provided on the board to avoid pulling down PTB1 Figure 10 Schematic IR LED ...

Page 13: ...g in either Buck or Boost DC DC mode This may affect LED visibility at low output voltages Figure 11 Schematic User LEDs 2 4 4 Thermistor A thermistor circuit is provided to demonstrate the analog capabilities of the R41Z module and to aid development of applications requiring temperature measurement Figure 12 Schematic Thermistor and ADC mode selection 2 4 5 User buttons Two mechanical buttons SW...

Page 14: ...ignal R41Z I O SPI CLK PTC16 SW5 SPI MOSI PTC17 SPI MISO PTC18 Flash CS_n PTC19 SW2 Table 6 SPI flash port signals Figure 14 Schematic SPI flash 2 4 7 I2C acceleration magnetometer sensor For development of applications that require orientation and movement tracking a combined accelerometer and magnetometer is provided NXP FXOS8700CQR1 The sensor can support either SPI or I2C interfaces but is use...

Page 15: ... pre certified module with a wide range of potential applications 2 5 1 32 768 kHz oscillator For RTC and to maintain high accuracy Bluetooth low energy time keeping in low power modes an external 32 768 kHz crystal oscillator is provided Some applications may not require this external oscillator in which case a set of jumpers can be used to connect these I O to the expansion headers The R41Z modu...

Page 16: ... www nxp com security login to login to an existing account 2 Download and install the NXP Semiconductors IoT Toolbox app on an available iOS or Android device The app is available from the respective app stores This app will be used to connect to the R41Z EVAL board loaded with the SDK examples 3 Download and install the MCUXpresso IDE on a PC Windows macOS and Linux are supported 4 Download and ...

Page 17: ...e evaluation board Page 17 of 23 3 2 Try an example Import and run an example from the SDK 1 In the lower left pane click Import SDK example s Figure 18 Import example 2 Click the frdmkw41z under Available boards then click Next Figure 19 Select board ...

Page 18: ... select the example then click Finish In this case we will use the Bluetooth beacon Figure 20 Select Bluetooth beacon example 4 Application source code is in the project tree under the source directory Figure 21 Example source code 5 Click the hammer icon to build the project Figure 22 Build the example ...

Page 19: ...03 Setting up the evaluation board Page 19 of 23 6 Click the blue bug icon to start debugging Figure 23 Start debugging Select the J Link OpenSDA debug probe and click OK Figure 24 Debug probe selection 7 Accept the OpenSDA terms of use ...

Page 20: ...7 R03 Setting up the evaluation board Page 20 of 23 Figure 25 OpenSDA terms of use 9 Click the Play icon to run the application Figure 26 Run the example 10 Observe the blue LED flashing on the R41Z EVAL board Figure 27 Flashing LED ...

Page 21: ...ase as you move the mobile device closer to the R41Z EVAL Figure 29 Advertising beacon 13 The advertising data for A B and C values may be changed in the file app_config c Advertising Data static const uint8_t adData0 1 gapAdTypeFlags_t gLeGeneralDiscoverableMode_c gBrEdrNotSupported_c static uint8_t adData1 26 Company Identifier mAdvCompanyId Beacon Identifier mBeaconId UUID mUuid A 0x00 0x00 B 0...

Page 22: ...NXP BLE Mobile toolbox 6 NXP KW41Z Data sheet 7 NXP KW41Z Reference manual 8 NXP KW41Z Errata For regular updates to u blox documentation and to receive product change notifications register on our homepage www u blox com Revision history Revision Date Name Comments 0 9 09 Sep 2016 Initial release 2 0 09 May 2019 Updated to new document format R03 05 Nov 2019 Document converted from Rigado R41Z ev...

Page 23: ...Office China Beijing Phone 86 10 68 133 545 E mail info_cn u blox com Support support_cn u blox com Regional Office China Chongqing Phone 86 23 6815 1588 E mail info_cn u blox com Support support_cn u blox com Regional Office China Shanghai Phone 86 21 6090 4832 E mail info_cn u blox com Support support_cn u blox com Regional Office China Shenzhen Phone 86 755 8627 1083 E mail info_cn u blox com S...

Reviews: