background image

Loading firmware 

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

 

Freescale Semiconductor, Inc. 

 

 

 

 

After the battery is fully charged, the red LED will remain on to indicate that the battery charger can be 
disconnected. 

5. User Interface Description 

In the BLE Heart Rate Monitor, the user interface is composed of two LEDs and one push button. 
Functionality for each element is described below. 

5.1.  Red LED 

Table 1

 shows the possible indications for the red LED and its meaning. 

Table 1.

 

Red LED indications 

LED Status 

Indicated action 

LED off 

No action 

LED fade

 

Battery 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. 

 

Table 3.

 

Application button actions 

Device state 

Action performed 

Battery Retention State 

Enter Advertising state 

Advertising State 

Enter Battery Retention State 

Connected 

Enter Battery Retention State 

Charging 

None 

6. Loading firmware 

If a firmware update is required, a new version can be downloaded using a J-link programmer. This 
chapter explains the firmware download process for the device. 

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

Отзывы: