NXP Semiconductors KW45B41Z-EVK User Manual
NXP Semiconductors KW45B41Z-EVK User Manual

NXP Semiconductors KW45B41Z-EVK User Manual

Bluetooth low energy demo applications
Hide thumbs Also See for KW45B41Z-EVK:
Table of Contents

Advertisement

Quick Links

BLEDAUG
Bluetooth Low Energy Demo Applications User's Guide
Rev. 3.6 — 26 November 2024
Document information
Information
Keywords
Abstract
Content
Bluetooth Low Energy host stack, KW45, K32W1, FRDM-MCXW71, KW47, MCXW72
development platforms, evaluation kit (EVK), KW47-EVK, MCXW72-EVK and FRDM-MCXW72
evaluation kits, KW45B41Z-EVK, K32W148-EVK, , hardware and toolchain requirements,
Software Development Kit (SDK), sample applications
This document describes the Bluetooth Low Energy host stack enablement for KW45B41Z-
EVK, K32W148-EVK, FRDM-MCXW71, KW47-EVK, MCXW72-EVK, and FRDM-MCXW72
development platforms development platforms. It describes the hardware and toolchain
requirements and steps to build and run the demo applications included in the software
development kit.
User guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the KW45B41Z-EVK and is the answer not in the manual?

Questions and answers

Summary of Contents for NXP Semiconductors KW45B41Z-EVK

  • Page 1 Keywords Bluetooth Low Energy host stack, KW45, K32W1, FRDM-MCXW71, KW47, MCXW72 development platforms, evaluation kit (EVK), KW47-EVK, MCXW72-EVK and FRDM-MCXW72 evaluation kits, KW45B41Z-EVK, K32W148-EVK, , hardware and toolchain requirements, Software Development Kit (SDK), sample applications Abstract This document describes the Bluetooth Low Energy host stack enablement for KW45B41Z- EVK, K32W148-EVK, FRDM-MCXW71, KW47-EVK, MCXW72-EVK, and FRDM-MCXW72 development platforms development platforms.
  • Page 2: Introduction

    BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 1 Introduction This document describes the Bluetooth Low Energy host stack enablement for NXP development platforms. The document is organized as follows: • Section 2 "Bluetooth Low Energy applications" lists the demo applications that can be located in the Software Development Kit (SDK).
  • Page 3: Bluetooth Low Energy Applications

    BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 2 Bluetooth Low Energy applications The Software Development Package provides a Bluetooth Low Energy v5.3-compliant host stack implementation with a set of GATT-based profiles and services implemented on top. To demonstrate the device functionality, the following demo applications are implemented.
  • Page 4: Hardware Configurations

    Arm and MCUXpresso. Users must use one of these tools. 3.3 KW45B41Z-EVK platform Figure 1 displays the top view of the KW45B41Z-EVK board. BLEDAUG All information provided in this document is subject to legal disclaimers. © 2024 NXP B.V. All rights reserved.
  • Page 5: K32W148-Evk Platform

    BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 1. KW45B41Z-EVK board 3.4 K32W148-EVK platform Figure 2 displays the top view of the K32W148-EVK board. BLEDAUG All information provided in this document is subject to legal disclaimers. © 2024 NXP B.V. All rights reserved.
  • Page 6 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 2. K32W148-EVK board BLEDAUG All information provided in this document is subject to legal disclaimers. © 2024 NXP B.V. All rights reserved. User guide Rev. 3.6 — 26 November 2024...
  • Page 7: Frdm-Mcxw71 Platform

    BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 3.5 FRDM-MCXW71 platform Figure 3 displays the top view of the FRDM-MCXW71 board. Figure 3. FRDM-MCXW71 board BLEDAUG All information provided in this document is subject to legal disclaimers. © 2024 NXP B.V. All rights reserved.
  • Page 8: Building And Running A Bluetooth Le Example Application

    BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 4 Building and running a Bluetooth LE example application This section presents the general requirements for using and testing a demo application. To open, build, and run any example application on a specific board, refer to the Bluetooth Low Energy Quick Start Guide document for the corresponding board.
  • Page 9 Figure 5. For this example, Tera Term VT and a KW45B41Z-EVK or K32W148-EVK, or a FRDM-MCXW71 board can be used. The communication parameters are 115200 and 8N1. BLEDAUG All information provided in this document is subject to legal disclaimers.
  • Page 10 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 5. Tera Term – mbed serial port Connect it to the platform with parameters as shown in Figure Figure 6. Tera Term – mbed serial port configuration The start screen is displayed after the board is reset as shown in...
  • Page 11: Time Client Devices

    BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 7. Shell Prompt 4.4 Time client devices Some applications implement the Current Time Service. To enable this feature, define the gAppUseTimeService_d parameter in the app_preinclude.h file as 1. If the Time Client is enabled, the device must synchronize with a Time Server to update its internal date/time to the current date/time.
  • Page 12: Bluetooth Le Stack And Demo Applications

    Accessing the ANCS Service and AMS Service requires Bluetooth LE security to be enabled. 5.1.2 Supported platforms The ANCS/AMS Client application is supported on the following platform: • KW45B41Z-EVK • K32W148-EVK • FRDM-MCXW71 5.1.3 User interface After flashing the board, the device is in idle mode (all LEDs flashing). To start advertising, press the ADVSW button.
  • Page 13 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Table 1. Hardware references Platform ADVSW CONNLED KW45B41Z-EVK / K32W148-EVK LED2 FRDM-MCXW71 Blue LED KW47-EVK / MCXW72-EVK LED1 FRDM-MCXW72 Blue LED 5.1.4 Usage The ANCS/AMS Client demo application is designed to work with a peer mobile device that exposes the ANCS and AMS service.
  • Page 14 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 9. Pairing is successful message • After bidirectional communication is established via GATT, the ANCS/AMS Client starts displaying ANCS Notifications information as shown in Figure 10 below. The combination of the two services (ANCS and AMS)
  • Page 15 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 11. AMS no active player Figure 12. AMS with player active BLEDAUG All information provided in this document is subject to legal disclaimers. © 2024 NXP B.V. All rights reserved. User guide Rev.
  • Page 16: Supported Platforms

    Table 2 lists details of the hardware references. Table 2. Hardware references Platform ADVSW ADVLED EXTADVLED KW45B41Z-EVK / K32W148-EVK LED2 LED1 FRDM-MCXW71 Blue LED RGB LEDS KW47-EVK / MCXW72-EVK LED2 LED1...
  • Page 17: Usage

    BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 5.2.4 Usage ® The beacon can be tested with any Bluetooth Smart Ready products available on the market. The IoT Toolbox can also be used to showcase the profile functionality, as shown in Figure Figure 13. IoT Toolbox Beacon Demo...
  • Page 18 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 14. Shell commands to view extended advertising 5. To start the periodic advertising, press ADVSW button again on the beacon. Note: Periodic advertising support is currently disabled at Link Layer level.
  • Page 19 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 16. Shell command to view extended advertisements with large data (kw45) BLEDAUG All information provided in this document is subject to legal disclaimers. © 2024 NXP B.V. All rights reserved.
  • Page 20: Bluetooth Le Fsci Black Box

    NXP website or using a custom application that supports the FSCI protocol and commands. 5.3.2 Supported platforms The following platforms support Bluetooth LE FSCI Black Box application: • KW45B41Z-EVK • K32W148-EVK • FRDM-MCXW71 • KW47-EVK • MCXW72-EVK •...
  • Page 21 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 17. Test tool command console serial port selection 4. Select the appropriate Test Tool XML file from the drop-down list for the release being used and send commands to the application. An example is shown in...
  • Page 22 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 18. FSCI black box command example BLEDAUG All information provided in this document is subject to legal disclaimers. © 2024 NXP B.V. All rights reserved. User guide Rev. 3.6 — 26 November 2024...
  • Page 23: Eatt Central

    UART. To disconnect the node, hold the SCANSW button pressed for 2-3 seconds. The node then restarts scanning. Table 3 for hardware references. Table 3. Hardware references Platform SCANSW CONNLED KW45B41Z-EVK / K32W148-EVK LED2 FRDM-MCXW71 Blue LED KW47-EVK / MCXW72-EVK LED2 FRDM-MCXW72 Blue LED 5.4.4 Usage...
  • Page 24 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide discovery, indicates its EATT support to the server by writing the Client Supported Features characteristic, enables indications for services A and B, and then initiates an EATT connection with the server. See Figure Figure 19. Output console on the EATT Central connected with an EATT Peripheral...
  • Page 25 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 20. Output console on EATT Central BLEDAUG All information provided in this document is subject to legal disclaimers. © 2024 NXP B.V. All rights reserved. User guide Rev. 3.6 — 26 November 2024...
  • Page 26: Supported Platforms

    The values indicated are cycled between 0 and 10. To disconnect the node, hold the ADVSW button for 2-3 seconds. The node then re-enters GAP Discoverable Mode and starts advertising. Table 4 details below the hardware references. Table 4. Hardware references Platform ADVSW CONNLED KW45B41Z-EVK / K32W148-EVK LED2 FRDM-MCXW71 Blue LED KW47-EVK / MCXW72-EVK LED2 FRDM-MCXW72 Blue LED BLEDAUG All information provided in this document is subject to legal disclaimers.
  • Page 27: Usage

    BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 5.5.4 Usage The application can be tested using another board flashed with the EATT Central application as described in the EATT Central Section. BLEDAUG All information provided in this document is subject to legal disclaimers.
  • Page 28: Hci Black Box

    For instructions using the Bluetooth LE HCI Black Box with a serial terminal application or the hcitool in Linux, check the article "FRDM-KW40Z Bluetooth LE Controller Usage with the Linux hcitool". 5.6.2 Supported platforms The following platforms support the HCI Black Box application: • KW45B41Z-EVK • K32W148-EVK • FRDM-MCXW71 • KW47-EVK • MCXW72-EVK • FRDM-MCXW72 5.6.3 Usage with Test Tool for Connectivity products...
  • Page 29 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 21. Test tool command console serial port selection 4. Select the appropriate Test Tool HCI XML file from the drop-down list for the release you are using. Send a few commands to the application. An example is shown in...
  • Page 30 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 22. HCI black box command example BLEDAUG All information provided in this document is subject to legal disclaimers. © 2024 NXP B.V. All rights reserved. User guide Rev. 3.6 — 26 November 2024...
  • Page 31: Hid Device (Mouse)

    CONNLED turns solid. To disconnect the node, hold the ADVSW pressed for 2-3 seconds. The node then re-enters GAP Discoverable Mode. Table 5 details below the hardware references. Table 5. Hardware references Platform ADVSW CONNLED KW45B41Z-EVK / K32W148-EVK LED2 FRDM-MCXW71 Blue LED KW47-EVK / MCXW72-EVK LED2 FRDM-MCXW72 Blue LED BLEDAUG All information provided in this document is subject to legal disclaimers.
  • Page 32 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 5.7.4 Usage The HID mouse can be connected to any Bluetooth Smart Ready products available on the market that supports HID devices or to another supported platform running the HID Host example (setup steps detailed in the HID Host section).
  • Page 33 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 24. HID Mouse detected by Android platform BLEDAUG All information provided in this document is subject to legal disclaimers. © 2024 NXP B.V. All rights reserved. User guide Rev. 3.6 — 26 November 2024...
  • Page 34: Supported Platforms

    CONNLED turns solid. To disconnect the node, hold the SCANSW button pressed for 2-3 seconds. The node then re-enters GAP Limited Discovery Procedure. Section 5.8.3 "User interface" below for hardware references. Table 6. Hardware references Platform SCANSW CONNLED KW45B41Z-EVK / K32W148-EVK LED2 FRDM-MCXW71 Blue LED KW47-EVK / MCXW72-EVK LED2 FRDM-MCXW72 Blue LED 5.8.4 Usage...
  • Page 35 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 1. Open a serial port terminal and connect it to board, in the same manner described in Section 4.3 "Testing devices". The start screen is displayed after the board is reset.
  • Page 36 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 26. Tera Term – Output Console on HID Host with 2 peripherals connected BLEDAUG All information provided in this document is subject to legal disclaimers. © 2024 NXP B.V. All rights reserved.
  • Page 37: Supported Platforms

    Both application uses pairing with bonding by default. When connected with the Low-Power Temperature Sensor application, the collector sends the 999999 passcode to the host stack by default. 5.9.2 Supported platforms The Temperature Sensor and Collector applications are supported by the following platforms: • KW45B41Z-EVK • K32W148-EVK • FRDM-MCXW71 • KW47-EVK •...
  • Page 38 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Table 7. Hardware references Platform WAKESW CONNLED KW45B41Z-EVK / K32W148-EVK LED2 FRDM-MCXW71 Blue LED KW47-EVK/MCXW72-EVK LED2 FRDM-MCXW72 Blue LED 5.9.4 Usage The setup requires two supported platforms, one for the temperature sensor and one for the temperature collector.
  • Page 39 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 27. Output Console on Temperature Collector 5. Subsequent key pressing triggers other notifications for the collector. If no key is pressed in an interval of 5 seconds, the sensor node disconnects and re-enters Deep-sleep mode.
  • Page 40: Supported Platforms

    Advertising Peripheral application, the Extended Advertising Central application sends the 999999 passcode to the host stack by default. 5.10.2 Supported platforms The following platforms support Extended Advertising Peripheral and Central applications: • KW45B41Z-EVK • K32W148-EVK • FRDM-MCXW71 • KW47-EVK • MCXW72-EVK •...
  • Page 41 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Hardware references: Table 8. Extended Advertising Peripheral Platform WAKESW OPTSW ADVLED CONNLED KW45B41Z-EVK / K32W148-EVK LED2 LED1 FRDM-MCXW71 Blue LED RGB LED KW47-EVK / MCXW72-EVK LED2 LED1 FRDM-MCXW72 Blue LED RGB LED Table 9. Extended Advertising Central...
  • Page 42 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Advertising), press the WAKESW again to make a decision. The advertising type chosen is started and the board starts entering low-power between advertising events. Next time, the WAKESW is pressed, an updated menu is printed (For example, at option 3 Stop Extended Connectable Advertising).
  • Page 43 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide and waits for notifications from the peripheral. If no data is sent within 5 seconds, the node disconnects and reenters Deep-sleep mode. The peripheral sends a notification with the value of the temperature read through an ADC from a thermistor, if present, or randomly generated, if not.
  • Page 44: Implemented Profile And Services

    L2CAP CoC PSM, it registers and tries to connect a predetermined L2CAP PSM before sending any commands to the OTAP Server. 5.11.2 Supported platforms The following platforms support the OTAP applications: • KW45B41Z-EVK • K32W148-EVK • FRDM-MCXW71 • KW47-EVK •...
  • Page 45: User Interface

    OTAP Client and the OTAP Server. Table 10 for the hardware references. Table 10. Hardware references Platform ADVSW SCANSW CONNLED KW45B41Z-EVK / K32W148-EVK LED2 FRDM-MCXW71 Blue LED KW47-EVK / MCXW72-EVK LED2 FRDM-MCXW72 Blue LED 5.11.4 Usage with Over The Air Programming Tool...
  • Page 46 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 33. IAR Output Converter Dialog - .srec output 3. To obtain a .bin file from IAR, select the Raw binary option in the IAR Output Converter as seen in the Figure Figure 34. IAR .bin file output converter...
  • Page 47 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide To obtain a .srec (.s19) file, add or uncomment the following post-build command in the same window: arm-none-eabi-objcopy -v -O srec --only-section=.text --only-section=.data --only-section=.ARM.exidx" ${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.s19" This window is shown in Figure Figure 35. MCUx .bin .srec file output...
  • Page 48 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 6. Load the image file into the application, then configure the image file header and start the OTAP Server: • To select the updated image In the Over the Air Programming tool, select the “Browse File” button and then navigate to the .srec or .bin file containing the image to be sent to the OTAP Client.
  • Page 49 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 38. Selecting uploaded image type • To update the KW45B/KW32W1 (radio) image, select it by pressing the “Browse” button in the M3 group. Then navigate to the .bin file as in the Figure Figure 39. Selecting KW45B radio image...
  • Page 50 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide This checkbox (if checked) instructs the OTA client bootloader to erase all the internal storage. This must be done only if external memory support is used as shown in Figure Figure 40. 'Use External Flash' checkbox...
  • Page 51 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide • You can now configure two different JSON files, used to: – Sign the file that is uploaded to the MCU if an MCU file was selected. – Create the *.sb3 container that is sent OTA. The *.sb3 file can contain only the MCU file, only the radio file, or both.
  • Page 52 Depending on the board type, it can either be already provisioned by NXP (KW45B41Z-EVK / K32W148-EVK samples) or not provisioned (loosen samples). See...
  • Page 53 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 44. Encryption key and authentication key • The OTA Header configuration options from the “OTA Header” box are used by the application to build the OTAP Image File, which is sent over the air. The default values of the OTA Header configuration work out of the box for the OTAP demo applications.
  • Page 54 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 45. Over the Air Programming application overview • Before starting the image transfer process, the data rate must be configured for each transfer method (ATT or L2CAP CoC). The image chunks of a block are sent over the serial interface and over-the-air without waiting for confirmation.
  • Page 55 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 46. Test Tool OTAP Bluetooth LE image transfer in progress 8. After all the blocks are sent, the OTAP Client sends an Image Transfer Complete command to the OTAP Server. When the PC Application receives this command, it displays a Sent Image with Success message in the log window.
  • Page 56 • Kinetis Bluetooth LE Toolbox application – download from the specific application store for your device. To run the application, perform the following steps: 1. Flash the OTAP Client ATT to either the KW45B41Z-EVK or the K32W148-EVK platform. The Kinetis Bluetooth LE Toolbox only supports the ATT OTAP Client.
  • Page 57 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 49. IoT Toolbox - OTAP Tool Scanning and Discovery 5. Press the “Open” button and load the .bleota file to be sent over-the-air. Once the file is loaded, some information about it is displayed. Press the “Upload” button to start the image transfer process. A progress bar is shown while the image transfer is ongoing.
  • Page 58 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 50. IoT Toolbox - OTAP Image Transfer 6. After the image transfer is complete, the OTAP Client triggers the bootloader and resets the MCU. The bootloader takes about 30 seconds to flash the image on the board. After this time passes, the MCU resets again and runs the new image.
  • Page 59: Supported Platforms

    2-3 seconds. The node then re-enters GAP Limited Discovery Procedure. Table 11 below for hardware references. Table 11. Hardware references Platform SCANSW CONNLED ROLESW KW45B41Z-EVK / K32W148-EVK LED2 FRDM-MCXW71 Blue LED KW47-EVK / MCXW72-EVK LED2 FRDM-MCXW72 Blue LED BLEDAUG All information provided in this document is subject to legal disclaimers.
  • Page 60 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 5.12.4 Usage The application is built to work with another supported platform running the same example or with the Wireless UART from the IoT Toolbox application. When testing with two boards, perform the following steps: 1.
  • Page 61: Implemented Profile And Services

    • Battery Service (UUID: 0x180F) • Device Information Service (UUID: 0x180A) • Internet Support Profile Service (0x1820) 5.13.3 Supported platforms The following platforms support the Bluetooth LE Shell application: • KW45B41Z-EVK • K32W148-EVK • FRDM-MCXW71 • KW47-EVK • MCXW72-EVK • FRDM-MCXW72 5.13.4 User interface...
  • Page 62 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide --> GAP Event: Advertising parameters successfully set. HRS> --> GAP Event: Advertising data successfully set. HRS> --> GAP Event: Advertising state changed successfully! HRS>gattdb addservice 0x180D --> Heart Rate - Heart Rate Measurement Value Handle: 14 3.
  • Page 63 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 7. Send heart rate measurement notifications from the HRS device by using the value handle obtained after adding the service in the previous step. HRS>gatt notify 0 14 8. A notification appears on the Collector console.
  • Page 64 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 7. Connect to the desired device in the scanned devices list. BLE Shell>gap connectcfg -phy 4 --> Connection Parameters: --> Connection Interval: 200 ms --> Connection Latency: 0 --> Supervision Timeout: 32000 ms -->...
  • Page 65 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide In the below example, the RSSI in monitored on a connection channel. On GAP Peripheral, start advertising in connectable mode on Coded PHY and adjust the TX power level. BLE Shell>gap extadvcfg -type 65 -phy1 3 BLE Shell>gap extadvdata 8 rssimonitortest...
  • Page 66 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide BLE Shell>gap phy 0 -tx 2 -rx 2 BLE Shell> --> GAP Event: Phy update complete with peer 0 --> TxPhy: 2M --> RxPhy: 2M BLE Shell>gap rssimonitor 0 -c -->...
  • Page 67 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide The default configuration of the throughput test is the following: • Packet count: 1000 • Payload size: 20 bytes Connection interval (min, max): 160, 160 (200 ms) The example of a test report is shown below: BLE Shell>thrput start tx...
  • Page 68 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 5.13.7 Decision-Based Advertising Filtering (DBAF) feature The Bluetooth LE Shell application also supports the Decision-Based Advertising Filtering (DBAF) feature, which can be enabled by performing the following steps: • Flash the experimental NBU found in middleware/wireless/ble_controller/bin/experimental.
  • Page 69 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 3. Add decision instructions using the gap adddecinstr command. A maximum of gMaxNumDecisionInstructions_c instructions can be added. If the set of instructions must be changed, the gap deldecinstr command deletes all current instructions.
  • Page 70: Hybrid (Dual-Mode) Bluetooth Low Energy And Generic Fsk

    Bluetooth LE protocol. 5.14.2 Supported platforms The following platforms support the Hybrid (Dual-Mode) Bluetooth Low Energy and Generic FSK application: • KW45B41Z-EVK • KW45B41Z-LOC BLEDAUG All information provided in this document is subject to legal disclaimers.
  • Page 71: User Interface

    BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 5.14.3 User interface After flashing the board, the device is in idle mode (all LEDs flashing). To start Bluetooth LE scanning, press the SCANSW button. When in GAP Limited Discovery Procedure of GAP General Discoverable Mode, CONNLED is flashing.
  • Page 72 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 2. The application starts as a GAP central. To switch the role to a GAP peripheral, press the ROLESW button. Depending on the role, when pressing the SCANSW button, the application starts either scanning or advertising.
  • Page 73 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Figure 54. Teraterm – packet transmit/receive on Generic FSK 4. To stop Generic FSK reception, double click the ROLESW button. 5. To stop the periodic Generic FSK transmit operation, long press the ROLESW button again, if the transmit procedure is ongoing.
  • Page 74: Customization

    BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide • During Generic FSK activity, the Bluetooth LE connection can be established and the Controller pauses receiving or announcing the discarded Generic FSK transmissions. This activity is resumed after the Bluetooth LE activity is finished.
  • Page 75 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide Table 13. Macros (defines) ...continued gGenFSK_Identifier_c This is the identifier used by the transmitter to be filtered at the receiver. The current implementation filters the Generic FSK packets received, based on this define.
  • Page 76: References

    BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 6 References For more information, refer to the following documents: • Bluetooth Low Energy Application Developer's Guide (KW45_K32W1_BLEADG) • Bluetooth Low Energy Host Stack API Reference Manual (KW45_K32W1_BLEHSAPIRM) • Bluetooth Low Energy Host Stack FSCI (Framework Serial Connectivity Interface) API Reference Manual (KW45_K32W1_BLEHSFSCIAPIRM) •...
  • Page 77: Acronyms

    BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 7 Acronyms The following acronyms are used in this document. Table 15. Acronyms and abbreviations Acronym Description ANCS Apple Notification Center Service Attribute Protocol Bluetooth LE Bluetooth Low Energy Car Connectivity Consortium...
  • Page 78: Note About The Source Code In The Document

    BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide 8 Note about the source code in the document Example code shown in this document has the following copyright and BSD-3-Clause license: Copyright 2022-2024 NXP Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1.
  • Page 79: Revision History

    BLEDAUG v.1 27 June 2022 Updated for PRC 2.0 BLEDAUG v.0 2 March 2022 Initial release for KW45B41Z-EVK platform BLEDAUG All information provided in this document is subject to legal disclaimers. © 2024 NXP B.V. All rights reserved. User guide Rev.
  • Page 80: Legal Information

    NXP Semiconductors. In the event that customer uses the product for design-in and use in In no event shall NXP Semiconductors be liable for any indirect, incidental, automotive applications to automotive specifications and standards, punitive, special or consequential damages (including - without limitation - customer (a) shall use the product without NXP Semiconductors’...
  • Page 81 BLEDAUG NXP Semiconductors Bluetooth Low Energy Demo Applications User’s Guide AMBA, Arm, Arm7, Arm7TDMI, Arm9, Arm11, Artisan, big.LITTLE, Apple — is a registered trademark of Apple Inc. Cordio, CoreLink, CoreSight, Cortex, DesignStart, DynamIQ, Jazelle, Bluetooth — the Bluetooth wordmark and logos are registered trademarks Keil, Mali, Mbed, Mbed Enabled, NEON, POP, RealView, SecurCore, owned by Bluetooth SIG, Inc.
  • Page 82: Table Of Contents

    5.8.3 User interface ..........34 Hardware requirements ........4 5.8.4 Usage ...............34 Toolchain requirements ........4 Low-power temperature sensor and KW45B41Z-EVK platform ........4 collector ............37 K32W148-EVK platform ........5 5.9.1 Implemented profiles and services ....37 FRDM-MCXW71 platform ........7 5.9.2 Supported platforms ........37 Building and running a Bluetooth LE 5.9.3...

This manual is also suitable for:

K32w148-evkFrdm-mcxw71Kw47-evkMcxw72-evkFrdm-mcxw72

Table of Contents