background image

Functional description 

KW40 Heart Rate Monitor Using Bluetooth Low Energy, User's Guide, Rev. 0, 10/2015 

Freescale Semiconductor, Inc. 

4. Functional description

This chapter describes the device behavior across all its functional phases. It comprises all the required 
information to fully understand the application’s functionality.  

4.1.  Battery Retention State 

The battery retention state consists of turning off all the board indicators and program the KW40Z SoC 
to be in a low power state for battery saving. 

The device can only exit from this state by connecting the battery charger or by entering the device in 
Advertising State (see the next section, 

4.2

)

The device enters in this state if a connection is not established during the advertising state or by 
pressing the application button either when the device is advertising or connected. 

4.2.  Advertising State 

When the device is in advertising state, presence reports are transmitted over the air so the BLE devices 
nearby can be aware of the device’s availability for connection.  

To enter the advertising phase, the device must be in Battery Retention State (see section 

4.1

) and the 

application button must be pressed. The green LED will start blinking to indicate that the device is in the 
Advertising State (see 

Figure 4

). 

Figure 4.  Device advertising 

The device will advertise for 30 seconds. If a connection is not detected during that time interval, the 
device enters the battery retention state. 

Содержание KW40

Страница 1: ...r any person interested in understanding the functionality of the BLE Heart Rate Monitor reference design Freescale Semiconductor Inc Document Number KW40HRMUG User s Guide Rev 0 10 2015 Contents 1 Introduction 1 1 1 Audience 1 2 Overview of reference design 2 2 1 Get to know the BLE Heart Rate Monitor 2 3 Unboxing 3 4 Functional description 4 4 1 Battery Retention State 4 4 2 Advertising State 4 ...

Страница 2: ...ether with a 2 4 GHz radio for BLE and 802 15 4 The ECG signal is obtained from the finger tips and processed by the MKW40 SoC Then the user s heart rate is calculated and transmitted to a smartphone application using BLE Figure 1 shows a general block diagram of the system implementation Figure 1 Application block diagram A Li Ion coin cell battery is also included The LIR3040 is a 3 6V 200mA h r...

Страница 3: ...mo kit contains two items the main board and a LIR3048 coin cell battery The coin cell battery must be placed in the main board s battery holder before you use the device Figure 3 shows position of the battery Figure 3 Battery placement After you have inserted the battery the device will enter a battery retention mode It can now interact with the user interface components ...

Страница 4: ... State see the next section 4 2 The device enters in this state if a connection is not established during the advertising state or by pressing the application button either when the device is advertising or connected 4 2 Advertising State When the device is in advertising state presence reports are transmitted over the air so the BLE devices nearby can be aware of the device s availability for con...

Страница 5: ...1 Enable Bluetooth on the smartphone and scan for devices See the smartphone s user documentation to learn how to do this 2 Search for device FSL_HRS_RD and attempt a connection with it Figure 5 Device report name 3 When the passkey is requested type 123456 4 After connection is established open the Freescale BLE Toolkit application in the smartphone Any BLE heart rate application can be used as w...

Страница 6: ... LED blinking three times indicating low battery level See section 4 6 for instructions on how to properly charge the battery 4 4 2 Heart rate measurements When the device is connected to a heart rate application it begins to report the acquired measurements The ECG is obtained from the fingertips by placing them in the on board electrodes You must carry out the following steps to ensure accurate ...

Страница 7: ...pplication button it enters the Battery Retention State 4 6 Charging the battery The BLE Heart Rate Monitor includes a rechargeable coin cell battery and a battery charger The device actively reports the current battery level every 10 seconds when connected to a smartphone The included coin cell battery is recharged by connecting a USB battery charger to the microUSB port in the board see Figure 2...

Страница 8: ... charging LED on Battery fully charged LED flash Heartbeat detected 5 2 Green LED Table 2 shows the possible indications for the green LED and its meaning Table 2 Green LED indications LED Status Indicated Action LED off No action LED blink Device advertising LED fade Device connected 5 3 Application Button Table 3 shows the action performed by the application button depending on the actual state ...

Страница 9: ...2 Download process The following steps explain the downloading process for the firmware 1 Copy the heart_rate_sensor bin file to the J Link software installation folder It is typically located in C Program Files SEGGER for 32 bit systems and C Program Files x86 SEGGER for 64 bits systems 2 Make sure that the battery is inserted properly see Figure 3 3 Connect the J Link debugger to the SWD header ...

Страница 10: ...the following instructions and press the enter key unlock kinetis device MKW40Z160xxx4 loadbin heart_rate_sensor bin 0 6 Wait for the board to flash see Figure 11 Figure 11 Board flashing 7 Remove the battery and insert it again to begin using the device 7 Revision history Table 4 Revision history Revision number Date Substantial changes 0 10 2015 Initial release ...

Страница 11: ...including without limitation consequential or incidental damages Typical parameters that may be provided in Freescale data sheets and or specifications can and do vary in different applications and actual performance may vary over time All operating parameters including typicals must be validated for each customer application by customer s technical experts Freescale does not convey any license un...

Отзывы: