MB39C811 EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide.pdf

MB39C811-EVBSK-02
Energy Harvesting with Bluetooth® Smart Beacon
Starter Kit Operation Guide
Doc. No. 002-08682 Rev. *A
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
http://www.cypress.com
Copyrights
Copyrights
© Cypress Semiconductor Corporation, 2014-2016. The information contained herein is subject to change without notice.
Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a
Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor
intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express
written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in lifesupport systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The
inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use
and in doing so indemnifies Cypress against all charges.
Trademarks
All other trademarks or registered trademarks referenced herein are property of the respective corporations.
Source Code
Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by
and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty
provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create
derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom
software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as
specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source
Code except as specified above is prohibited without the express written permission of Cypress.
Disclaimer
CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described
herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein.
Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure
may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support
systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all
charges.
Use may be limited by and subject to the applicable Cypress software license agreement.
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
2
Preface
This manual explains how to use the Starter Kit. Be sure to read this manual before using the product.
For mass production/evaluation PMICs for this product, consult with sales representatives or support
representatives..
Handling and use
Handling and use of this product and notes regarding its safe use are described in the manuals for products
bundled with the Starter Kit.
Follow the instructions in the manuals to use this product.
Keep this manual at hand so that you can refer to it anytime during use of this product.
Notice on this document
All information included in this document is current as of the date it is issued. Such information is subject to
change without any prior notice.
Please confirm the latest relevant information with the sales representatives.
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
3
Cautions
Caution of the products described in this document
The following precautions apply to the product described in this manual.
WARNING
Indicates a potentially hazardous situation which could result in death or serious injury and/or a
fault in the user’s system if the product is not used correctly.
Electric shock,
Before performing any operation described in this manual, turn off all the power supplies to the
system.
Damage
Electric shock,
Damage
CAUTION
Cuts, Damage
Performing such an operation with the power on may cause an electric shock or device fault.
Once the product has been turned on, do not touch any metal part of it.
Doing so may cause an electric shock or device fault.
Indicates the presence of a hazard that may cause a minor or moderate injury, damages to this
product or devices connected to it, or may cause to lose software resources and other properties
such as data, if the device is not used appropriately.
Before moving the product, be sure to turn off all the power supplies and unplug the cables. Watch
your step when carrying the product. Do not use the product in an unstable location such as a
place exposed to strong vibration or a sloping surface. Doing so may cause the product to fall,
resulting in an injury or fault.
The product contains sharp edges that are left unavoidably exposed, such as jumper plugs.
Cuts
Damage
Handle the product with due care not to get injured with such pointed parts.
Do not place anything on the product or expose the product to physical shocks. Do not carry the
product after the power has been turned on.
Doing so may cause a malfunction due to overloading or shock.
Damage
Since the product contains many electronic components, keep it away from direct sunlight, high
temperature, and high humidity to prevent condensation. Do not use or store the product where it
is exposed to much dust or a strong magnetic or electric field for an extended period of time.
Inappropriate operating or storage environments may cause a fault.
Use the product within the ranges given in the specifications.
Damage
Operation over the specified ranges may cause a fault.
Damage
To prevent electrostatic breakdown, do not let your finger or other object come into contact with the
metal parts of any of the connectors. Before handling the product, touch a metal object (such as a
door knob) to discharge any static electricity from your body.
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
4
Cautions
Damage
When turning the power on or off, follow the relevant procedure as described in this document.
Before turning the power on, in particular, be sure to finish making all the required connections.
Furthermore, be sure to configure and use the product by following the instructions given in this
document. Using the product incorrectly or inappropriately may cause a fault.
Damage
Always turn the power off before connecting or disconnecting any cables from the product. When
unplugging a cable, unplug the cable by holding the connector part without pulling on the cable
itself. Pulling the cable itself or bending it may expose or disconnect the cable core, resulting in a
fault.
Damage
Because the product has no casing, it is recommended that it be stored in the original packaging.
Transporting the product may cause a damage or fault. Therefore, keep the packaging materials
and use them when re-shipping the product.
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
5
Contents
1.
2.
3.
4.
Description ..................................................................................................................................................................... 7
Features.......................................................................................................................................................................... 8
Applications ................................................................................................................................................................... 9
Setup............................................................................................................................................................................. 10
4.1
4.2
5.
Contents in a package ......................................................................................................................................... 10
Preparation .......................................................................................................................................................... 10
4.2.1 Preparation of Receiver .......................................................................................................................... 11
4.2.2 Setup of Receiving (iPhone or Smart Phone etc…) ................................................................................ 11
4.3 Other.................................................................................................................................................................... 12
4.3.1 Method of Rewriting Beacon IDs ............................................................................................................ 12
Specification of Energy Harvesting PMIC (MB39C811) ............................................................................................ 19
6.
5.1 Recommended Operating Conditions .................................................................................................................. 19
5.2 DC Characteristics ............................................................................................................................................... 20
5.3 Block Diagram ..................................................................................................................................................... 21
Specification of Starter Kit .......................................................................................................................................... 22
8.
6.1 Layout of the Board ............................................................................................................................................. 22
6.2 Input/Output Pin Description ................................................................................................................................ 23
6.3 Switch Description ............................................................................................................................................... 24
6.4 Jumper Description .............................................................................................................................................. 25
6.5 Circuit .................................................................................................................................................................. 26
6.6 BOM List .............................................................................................................................................................. 27
6.7 Layout .................................................................................................................................................................. 28
7.1 State Change Diagram of Sample Software ........................................................................................................ 30
Programming and Debug ............................................................................................................................................ 32
8.1
8.2
9.
Structure of Files.................................................................................................................................................. 32
Programming and executing using JTAG Debugger............................................................................................ 33
8.2.1 Example for JTAG Converter Cable ....................................................................................................... 33
8.2.2 KEIL integrated development tool (MDK-ARM) ...................................................................................... 34
Appendix ...................................................................................................................................................................... 37
9.1 Assemble Case.................................................................................................................................................... 37
10. Ordering Information ................................................................................................................................................... 39
Revision History ................................................................................................................................................................... 40
Document Revision History ........................................................................................................................................... 40
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
6
1.
Description
The MB39C811-EVBSK-02 is an evaluation board that contains Energy Harvesting Power Management IC,
®
MB39C811 (Buck DC/DC converter) with Bluetooth Smart (Low Energy), which can be used in application on
the Solar and Piezoelectric Energy Harvester. The MB39C811 has a wide input range from 4V up to 23V, and
the output voltages are selectable from 1.5V to 5V. The board contains a Programmable (application block only)
®
Bluetooth Smart module, Cypress Component: MBH7BLZ02-109004, which allows BLE (Bluetooth Low Energy)
Beacon and wireless data communications.
Figure 1-1. Diagram of the Starter Kit
Transmitter
Receiver
BLE Beacon
PCB size
45mm
iPhone4S/5S/5C (iOS7 or later)
Android4.3 or later
25mm
Windows8 etc..
Supported Bluetooth4.0 equipment or later
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
7
2.
Features












Installed Energy Harvesting Power Management IC: MB39C811
®
Programmable (application block only)Bluetooth Smart Module: MBH7BLZ02-109004(*1)
Transmit BLE Beacon using Solar energy and Vibration energy only
Transmit about 1 second intervals under 500lx
Support a lot of energy inputs
 - Solar Cell
 - Piezo Electric
 - USB Bus Power
 - Coin Battery (Expandable: For Hybrid)
 - NFC: Near Field Communication (Expandable: Power supply only)
 - Commercial Power Supply: AC85~265V (Expandable: Need additional resister)
Installed Temperature Sensor
Installed USB Serial Converter IC for changing Beacon IDs
Attached Solar Cell for Evaluation
Attached Case & USB Cable
Schematic, BOM List, Layout Data, Sample Software
Installed Expandable Terminal.
 - Reset Button for MCU (Standard mount)
 - JTAG Connector for MCU Program
 - Expandable Sensor Interface (I2C/GPIO)
 - DIPSW (Expandable)
 - LED (Expandable)
Small Size PCB: 45mm×25mm
*1 Need the "Software Development Kit (SDK)" of Nordic semiconductor to program the software.
To get SDK on WEB site of Nordic semiconductor, use "Product Key" including in this starter
Kit.
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
8
3.
Applications









Battery-less BLE Beacon
AC Power supply BLE Beacon
Wireless Sensor node for IoT
BEMS/HEMS/FEMS
Active RFID
Solar Energy Harvesting
Wireless Illumination Control
Wireless HVAC Sensors
Security System
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
9
4.
4.1
Setup
Contents in a package
No.
Contents
Description
PCB
MB39C811-EVBSK02(*1)
1
Energy Harvesting with BLE Board
Solar Panel (*2)
Case
2
Qty
USB Cable
Note
1
Installed
1
Installed
either one
TAKACHI: PS-65
1
Installed
USB Mini Converter Cable
1
TDK: BCS4630B9 or
Panasonic: AM-1801
*1 : Check the radio law of each country to use it. Please access to Cypress Component about detail of BLE
module.
*2 : The solar panel is sample for operation check. It isn’t guaranteed the electrical characteristics, etc.
Please be careful because the solar panel doesn't have the guard film of surface.
1
PCB
2
Solar Panel
Case
BCS4630B9
4.2
OR
AM-1801
Preparation
Requirement for preparation
 MB39C811-EVBSK-02 Starter Kit
 IPhone4S/5 etc. (iOS7 or later), Android4.3 or later
1set
1device
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
10
Setup
4.2.1
Preparation of Receiver
1.
2.
Place a MB39C811-EVBSK-02 under office light about 500lx.
After placing, the Beacon packet is transmitted automatically. Regarding to receiver data, please refer to
next step.
Place under office light about 500lx
4.2.2
Setup of Receiving (iPhone or Smart Phone etc…)
Note:
Need supported Bluetooth v4.0 equipment which is iOS7 or Android 4.3 or later, to check operation.
1. The default setting is following.
 UUID
11111111-1111-1111-1111-111111111111
 Major
1
 Minor
1
 TX power
4dBm
 RSSI
-61dBm
 Advertise interval
100ms
 Bluetooth company 0x0059 (Nordic Semiconductor ASA)
2. Set the Bluetooth setting to "ON" on your equipment.
3.
Check the BLE Beacon operation using an application. The following are example of application for iOS and
Android.
For iOS, install either following application on App Store.
 Beecon
©BeaconSandwich
 eBeacon
©Jaalee Inc
 LightBlue
©Punch Through Design LLC
 Particle Detector
©KS Technologies LLC
For Android, install either following application on Play Store.
 iBeacon Detector
©youten
 iBeacon Finder
©Mobisfera
 iBeacon Scanner
©ixsoft, inc.
 iBeacon Maps
©Hint Solutions
4. After installed, execute these applications.
5.
Set "Proximity UUID", "Major", "Minor" while refer the default setting. To learn detail, refer to the operation
manual for each application.
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
11
Setup
6.





The set of receiving will be finished when can check BLE beacon data on an application.
If can't check the data, retry checking as shown in below.
Check Bluetooth setting on your equipment
Check "Proximity UUID", "Major" and "Minor" on an application.
If use iOS8 equipment or later, it can't occasionally receive BLE data, otherwise "Bluetooth
Company" is 0x004C (Apple, Inc.). Refer to "4.3.1 Method of Rewriting Beacon IDs"to change
"Bluetooth Company" to 0x004C.
Restart your receiver equipment.
4.3
Other
4.3.1
Method of Rewriting Beacon IDs
1.
2.
3.
Prepare attached USB mini converter cable, MB39C811-EVBSK-02 and PC for rewriting ID.
Install a serial communication tool named "Tera Term" and so on.
Download the driver for "USB serial converter IC (FT232RL)", and then defreeze it to any directory on PC.
FTDI maker website (FT232 Driver is available)
http://www.ftdichip.com/
4.
Open the case of MB39C811-EVBSK-02. Insert your fingernail to case, then open case.
5.
Connect USB cable both PC and MB39C811-EVBSK-02 board. There is no problem that connect USB cable
while a solar cell is connected.
USB Cable
6.
The driver Installation starts automatically and the message window will pop appear.
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
12
Setup
7.
When the following window appears, the installation is completed.
8.
After the device driver installation, make sure that new COM port was added in the Windows Device
Manager.
Start Menu > Control Panel> Device Manager
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
13
Setup
9.
Execute installed serial communication tool.
(Operation check information: Windows7 SP1 32bit, Tera Term Version 4.74)
10. Select USB serial port (COMxx) that was added in the Windows Device Manager.
11. The setting of a serial communication tool is following.
Menu>Setup>Serial Port…
Baud rate
: 9600
Data
: 8 bit
Parity
: none
Stop
: 1 bit
Flow control
: none
Menu>Setup>Terminal…
New-line
Receive
: AUTO
Transmit
: CR+LF
Local echo
: Check
Other
: Default
12. Push a MCU reset button. At this time, the mode is changed to ID rewriting mode, and then stop the BLE
Beacon transmitter.
MCU Reset Button
13. The "Start…." message is appeared on a serial communication tool window, and then changes to the
command waiting mode. The detail of a serial command is following.
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
14
Setup
Table 4-1. Commands List
No.
Commands Name
Description
Default
[1]
UUID
Read/Write of UUID
1111111-1111-1111-1111-111111111111 [hex]
[2]
MAJOR
Read/Write of MAJOR
0x0001
[3]
MINOR
Read/Write of MINOR
0x0001
[4]
TXPWR
Read/Write of Transmitter Power Strength
+4 dBm
[5]
RSSI
Read/Write of Receiver Power Strength for
distance 1m (RSSI)
-61 dBm
[6]
ITRVL
Read/Write of Advertise Interval
100ms
[7]
COID
Read/Write of Bluetooth Company
0x0059 (Nordic Semiconductor ASA)
[8]
ERASE
Default parameters
-
[9]
EXIT
Finish the command waiting mode, and
then retransmit the BLE Beacon data
-
[10]
VER
Display Firmware Version
-
[1] Read/Write of UUID
[1-1] Read
Read UUID data. Default: 11111111-1111-1111-1111-111111111111
<Example>
UUID⏎
(echo) UUID
(output) -> UUID: 11111111-1111-1111-1111-111111111111
[1-2] Write
Write UUID data.
<Example>
UUID EEEEDDDD-CCCC-BBBB-AAAA-999988887777⏎
(echo) UUID EEEEDDDD-CCCC-BBBB-AAAA-999988887777
(output) -> New UUID: EEEEDDDD-CCCC-BBBB-AAAA-999988887777
[2] Read/Write of MAJOR
[2-1] Read
Read MAJOR. Default: 0x0001
<Example>
MAJOR⏎
(echo) MAJOR
(output) -> MAJOR: 0001
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
15
Setup
[2-2] Write
Write MAJOR.
<Example>
MAJOR 1A2F⏎
<- Input HEX data
(echo) MAJOR 1A2F
(output) -> New MAJOR: 1A2F
[3] Read/Write of MINOR
[3-1] Read
Read MINOR.
Default: 0x0001
<Example>
MINOR⏎
(echo) MINOR
(output) -> MINOR: 0001
[3-2] Write
Write MINOR.
<Example>
MINOR 2C3D⏎
<- Input HEX data
(echo) MINOR 2C3D
(output) -> New MINOR: 2C3D
[4] Read/Write of Transmitter Power Strength
[4-1] Read
Read Power Strength. Default: +4dBm
<Example>
TXPWR⏎
(echo) TXPWR
(output) -> TX power in dBm: 4
[4-2] Write
Set Power Strength. Set Value: -40, -30, -20, -16, -12, -8, -4, 0, 4
<Example>
TXPWR -40⏎
(echo) TXPWR -40
(output) -> New TX power in dBm: -40
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
16
Setup
[5] Read/Write of Receiver Power Strength for distance 1m (RSSI)
[5-1] Read
Read RSSI.
Default: -61dBm
<Example>
RSSI⏎
(echo) RSSI
(output) -> RSSI in dBm: -61
[5-2] Write
Set RSSI.
<Example>
RSSI -90⏎
(echo) RSSI -90
(output) -> New RSSI in dBm: -90
[6] Read/Write of Advertise Interval
[6-1] Read
Read Advertise Interval.
Default: 100ms
<Example>
ITRVL⏎
(echo) ITRVL
(output) -> Advertise Interval in msec: 100
[6-2] Write
Set Advertise Interval.
Set Value: 100~10240 ms
<Example>
ITRVL 10240⏎
(echo) ITRVL 10240
(output) -> New Advertise Interval in msec: 10240
[7] Read/Write of Bluetooth Company
[7-1] Read
Read Bluetooth Company. Default: 0x0059 (Nordic Semiconductor ASA)
<Example>
COID⏎
(echo) COID
(output) ->Company ID: 0059
[7-2] Write
Write Bluetooth Company.
<Example>
COID004C⏎
<- Input HEX data
(echo) COID004C
(output) -> New Company ID: 004C
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
17
Setup
[8] ERASE
Erase the flash memory in MCU. After erase, all value will be default parameters.
<Example>
ERASE⏎
(echo) ERASE
(output) Erase completed!
[9] EXIT
Finish the command waiting mode, and then retransmit the BLE Beacon data.
<Example>
EXIT⏎
(echo) EXIT
(output) --[10] VER
Display Firmware Version.
<Example>
VER⏎
(echo) VER
(output) -> MB39C811-EVBSK-02 Sample Firmware, Version 1.0
[*]Input another command (Error Handling)
TEST
(echo) TEST
(output) Command format error!!
14. Enter "EXIT" command when all settings are finished, and then retransmit the BLE Beacon data.
The changed IDs are transmitted by solar energy when disconnect the USB cable.
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
18
5. Specification of Energy Harvesting
PMIC (MB39C811)
The following is the specification of Energy Harvesting Power Management IC (MB39C811) on this starter kit.
Regarding to newest information, refer to the datasheet of MB39C811 (DS405-00013).
5.1
Recommended Operating Conditions
Figure 5-1. Recommended Operating Conditions
Value
Parameter
Symbol
Condition
Unit
Min
VIN pin input voltage
VVIN
AC pin input voltage
VPV
Input voltage
Operating ambient
temperature
VIN pin
AC1_1 pin, AC1_2 pin,
AC2_1 pin, AC2_2 pin
Typ
Max
2.6
-
23
V
-
-
23
V
VVB
VSI
S0 pin, S1 pin, S2 pin
0
-
VFB
VOUT pin
0
-
5.5
V
Ta
-
-40
-
+85
°C
(*1)
V
*1 : Output Voltage for internal circuit
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
19
Specification of Energy Harvesting PMIC (MB39C811)
5.2
DC Characteristics
Table 5-1. DC Characteristics
(Ta= -40°C to +85 °C, VVIN=7.0 V, L1=22 μH, C2=47 μF
Value
Parameter
Symbol
Condition
Unit
Min
Quiescent current
Preset output voltage
IVIN
VVOUT
Typ
Max
VVIN = 2.5 V (UVLO),
Ta = + 25 °C
-
550
775
nA
VVIN = 4.5 V (sleep mode),
Ta = + 25 °C
-
1.5
2.25
μA
VVIN = 18 V (sleep mode),
Ta = + 25 °C
-
1.9
2.85
μA
S2 = L, S1 = L, S0 = L
IOUT = 1mA
1.457
1.5
1.544
V
S2 = L, S1 = L, S0 = H
IOUT = 1mA
1.748
1.8
1.852
V
S2 = L, S1 = H, S0 = L
IOUT = 1mA
2.428
2.5
2.573
V
S2 = L, S1 = H, S0 = H
IOUT = 1mA
3.214
3.3
3.386
V
S2 = H, S1 = L, S0 = L
IOUT = 1mA
3.506
3.6
3.694
V
S2 = H, S1 = L, S0 = H
IOUT = 1mA
3.993
4.1
4.207
V
S2 = H, S1 = H, S0 = L
IOUT = 1mA
4.383
4.5
4.617
V
S2 = H, S1 = H, S0 = H
IOUT = 1mA
4.870
5.0
5.130
V
Peak switching current
IPEAK
-
200
250
400
mA
Maximum Output current
IOUTMA
X
Ta=25°C
100*
-
-
mA
3.8
4.0
4.2
V
4.94
5.2
5.46
V
6.84
7.2
7.56
V
2.6
2.8
3.0
V
3.8
4.0
4.2
V
5.7
6.0
6.3
V
19
21
23
V
S2 = L, S1 = L, S0 = L
S2 = L, S1 = L, S0 =H
UVLO release voltage
(Input Power-Good
detection
voltage)
S2 = L, S1 = H, S0 = L
VUVLOH
S2 = L, S1 = H, S0 = H
S2 = H, S1 = L, S0 = L
S2 = H, S1 = L, S0 = H
S2 = H, S1 = H, S0 =L
S2 = H, S1 = H, S0 = H
S2 = L, S1 = L, S0 = L
S2 = L, S1 = L, S0 =H
S2 = L, S1 = H, S0 = L
UVLO detection voltage
(Input Power-Good reset
voltage)
VUVLOL
S2 = L, S1 = H, S0 = H
S2 = H, S1 = L, S0 = L
S2 = H, S1 = L, S0 = H
S2 = H, S1 = H, S0 =L
S2 = H, S1 = H, S0 = H
VIN pin shunt voltage
VSHUNT
-
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
20
Specification of Energy Harvesting PMIC (MB39C811)
Value
Parameter
Symbol
Condition
Unit
Min
Typ
Max
VIN pin shunt current
ISHUNT
-
100
-
-
mA
Output Power-Good
detection
voltage (Rising)
VOPGH
To preset voltage ratio
90
94
98
%
Output Power-Good reset
voltage (Falling)
VOPGL
To preset voltage ratio
65.5
70
74.5
%
Power supply output voltage
for
internal circuit
VVB
VVIN = 6 V to 20 V
-
5.0*
-
V
*: This parameter is not be specified. This should be used as a reference to support designing the circuits.
5.3
Block Diagram
C1
CVIN
VIN
DCOUT2
DCOUT1
Figure 5-2. Block Diagram
AC1_1
SHUNT
DCGND1
AC1_2
AC2_1
LX
L1
VOUT
CONTROL
C2
CVOUT
DCGND2
AC2_2
PGND
ERR
CMP
S2,S1,S0
3
VOUT
CTL
VOUT
VIN
BGR
IPGOOD
UVLO
VB
C3
CVB
OPGOOD
VB REG.
PGOOD
UVLO_VB
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
21
6.
6.1
Specification of Starter Kit
Layout of the Board
TOP
T
O
P
Expandable power terminal
Temp sensor
Power IC:
MB39C811
BLE module:MBH7BLZ02-109004
USB min
connector
Jumper for output
voltage setting
(Default:2.5V)
Reset button
USB Serial IC:FT232RQ
JTAG terminal for program
Expandable sensor, I/O terminal
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
22
Specification of Starter Kit
BOTTOM
Expandable coin battery folder
(For Hybrid)
Real Time Clock
Land for TDK Solar Cell (BCS4630B9)
6.2
Input/Output Pin Description
Table 6-1. Input/Output Pin Description
Circuit Pin No.
CN001
Silk-Printed Name
AC
CN002
I/O
Description
I
Bridge Rectifier1 AC input pin1
I
Bridge Rectifier1 AC input pin2
CN003
DC
I
Solar Cell Input (Inputting to either SolarP or CN003)
AC2_G
GND
-
GNDpin
SolarP
SolarP
I
Input TDK Solar Cell (Inputting to either SolarP or CN003)
SolarN
SolarN
-
GND pin for TDK Solar Cell
INCapV
INcap
-
Expandable input capacitor +pin
INCapG
GND
-
Expandable input capacitor -pin
OUTCapV
OUTcap
-
Expandable output capacitor +pin
OUTCapG
GND
-
Expandable output capacitor -pin
PIO7
-
I/O
GPIO_7 of BLE module
PIO8
-
I/O
GPIO_8 of BLE module
PIO9
-
I/O
GPIO_9 of BLE module
PIO10
-
I/O
GPIO_10 of BLE module
JTAG1
-
-
Power Pin for JTAG
JTAG2
-
-
SWDIO pin of BLE module
JTAG3
-
-
SWDCLK pin of BLE module
JTAG4
GND
-
GND pin for JTAG
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
23
Specification of Starter Kit
Detail of Input/Output Pin
GND
CON03
CON02
CON01
INcapV
GND
GND
OUTcapV
PIO7
PIO8
GND
6.3
PIO9
JTAG3
PIO10
JTAG2
JTAG1
Switch Description
Table 6-2. Switch Description
Circuit Pin No.
SW21
SW22
Silk-Printed Name
SW21
SW22
(No mounted)
Description
Reset Button for BLE module
Expandable DIPSW
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
24
Specification of Starter Kit
6.4
Jumper Description
Table 6-3. Jumper Description
Default
Circuit Pin No.
Description
Settings
JP01(*2)
Output Voltage Setting Switching H/L for S0 Pin of MB39C811
L (*1)
JP02(*2)
Output Voltage Setting Switching H/L for S1 Pin of MB39C811
H(*1)
JP03(*2)
Output Voltage Setting Switching H/L for S2 Pin of MB39C811
L(*1)
Bridge Rectifier1 Select "Open" or "Short"
JP04
Open :
Short :
DC Output Pin (DCOUT1)
Short(*1)
DC Power Input Pin (VIN)
Bridge Rectifier2 Select "Open" or "Short"
JP05
Open :
Short :
DC Output Pin (DCOUT2)
Short(*1)
DC Power Input Pin (VIN)
JP06
Connect the MB39C811 output and Load
Short(*1)
JP07
Connect the Coin battery and Load
Open(*1)
*1: Set "Open/Short" and "H/L" by soldering.
*2: Set the output voltage from the "Table 6-4 Output Voltage Setting". The default value is 2.5V.
Table 6-4. Output Voltage Setting
JP03
JP02
JP01
(S2 pin)
(S1 pin)
(S0 pin)
Preset Output Voltage [V]
Note
L
L
L
1.5
L
L
H
1.8
Do not use(*1)
L
H
L
2.5
L
H
H
3.3
H
L
L
3.6
H
L
H
4.1
Do not use(*1)
H
L
L
4.5
Do not use(*1)
H
H
H
5.0
Do not use(*1)
Default
*1: Do not use these voltages setting, because BLE module voltage is from 1.8V to 3.6V.
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
25
Specification of Starter Kit
6.5
Circuit
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
26
Specification of Starter Kit
6.6
BOM List
Table 6-5. BOM List
N
Qt
o
y
Reference
Parts Number
Description
Manufacture
1
1
C01
C3216X5R1E226MT
22μF/25V
TDK
2
4
C06 C11 C21 C24
C1005JB1H104K
0.1μF/50V
TDK
3
1
C04
C2012X5R1A226M
22μF/10V
TDK
4
1
C07
C2012JB1C475K
4.7μF/16V
TDK
5
1
C08
C3216X5R1E476M160A
C
47μF/25V
TDK
6
-
C02 C03 C05
Non mount
-
-
7
2
C12 C13
C1005JB1C105K
1μF/16V
TDK
8
2
C22 C23
C1005CH1H100J
10pF/50V
TDK
9
-
CN01
Non mount
-
-
10
1
CN11
UX60SC-MB-5ST
USB mini connector
Hirose
11
1
IC11
FT232RQ
USB serial converter
FTDI
12
1
IC22
TMP102
Temperature sensor
TI
13
1
L01
LPS4018-223MLB
22μH
Coilcraft
14
1
LED11
HSMG-C170
LED Green
Avago
15
-
LED21
Non mount
-
-
16
1
M01
MB39C811
Energy Harvesting
PMIC
Cypress
17
1
M21
MBH7BLZ02-109004
Bluetooth LE module
Cypress
Component
18
3
Q01 Q02 Q03
EM6M2
Nch+Pch MOSFET
ROHM
19
5
R01 R03 R04 R05
R06
RK73H1ETTD1004F
1MΩ
KOA
20
-
R02 R22 R23
Non mount
-
-
21
1
R07
RK73H1ETTD000
0Ω
KOA
22
1
R27
RK73H1ETTD1003F
100kΩ
KOA
23
2
R24 R25
RK73H1ETTD2201F
2.2kΩ
KOA
24
1
R11
RK73H1ETTD1001F
1kΩ
KOA
25
1
R21
RK73H1ETTD1000F
100Ω
KOA
26
1
R26
RK73H1ETTD3302F
33kΩ
KOA
27
1
SW21
SKRPACE010
Push Switch
ALPS
28
-
SW22
Non mount
-
-
29
1
X21
ABS10-32.768kHz
32.768k X'tal
ABRACON
30
1
ZD01
PLVA662A
Voltage regulator diode
NXP
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
Note
Non
mount
Non
mount
Non
mount
Non
mount
Non
mount
27
Specification of Starter Kit
6.7
Layout
Top Silk
Bottom Silk
Layer1
Layer2
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
28
Specification of Starter Kit
Layer3
Layer4
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
29
7.
7.1
Sample Software for BLE Beacon
State Change Diagram of Sample Software
Power on reset
FLASH boot
UUID/ Major /Minor etc…
USB disconnect
Y
e
s
USB connection
check?
After pushing the reset button,
It changes over to USB
Command mode
No
"EXIT" command
Initialize BLE stack
Initialize the Advertising
Transmit BLE Data
Start Advertising
Energy management mode
Event
Sleep mode
Energy
shortage
Energy charging
Energy shortage
Power off
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
30
Sample Software for BLE Beacon
Table 6-6. Flow of sample software
No.
Items
1
Initial
2
Boot
3
Mode select
4
BLE setting
Contents
Power on reset
Initialize the ports of FLASH
Read the data of BLE beacon from FLASH
Data branch
-
-
Checking the USB cable
L: disconnect-> No.4
PIO19 of BLE module (H: connect, L: disconnect)
H: connect-> No.8
Initialize the BLE stack
Initialize the Advertising
-
Start the Advertising
5
Energy
management
6
Energy
charging
7
Sleep <->
Transmit
8
USB
command
mode
After transmitting the BLE beacon packets, it changes over to
sleep mode.
It will turn off the power by the power gating when it is in energy
shortage in capacitance
After turning off the power, it changes over to the charging
process
After finishing the charging process, it is turned on by the power
gating again
Transmit the BLE beacon data by the value of Advertising interval
setting
Energy shortage ->No.6
Enough energy ->No.7
After this, repeat No.1~No.6
-
Repeat this process during enough energy.
After resetting MCU, wait the USB command
It changes over to BLE setting when inputted the "EXIT"
command
Change over to No.4 by
"EXIT" command
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
31
8.
8.1
Programming and Debug
Structure of Files
This program is made based on the "Software Development Kit (SDK)" of Nordic Semiconductor. It is including
only difference information of SDK. To get SDK on WEB site of Nordic semiconductor, use "Product Key"
including in this starter kit.
The following is structure of files for this project. Overwrite all files on SDK's folder of Nordic semiconductor.
It is based on nRF51 SDK v.6.0.0.
Note:
Don't rewrite "Soft Device (S110)" provided from WEB of Nordic Semiconductor.
If rewrote it, must re-get the radio law of each country.
nrf51822
│
├─Board
│ │
│ └─ mb39c811_evbsk_02
│
├─ble_app_ibeacon
│
│ │ main.c
│
│ │pstorage_platform.h
│
│ └─arm
│
│
ble_app_ibeacon.uvopt
│
│
ble_app_ibeacon.uvproj // Keil uVision project
│
├─Include
│
│ │ eh_common.h
│
│ │ twi_master_config.h
│
│ ├─boards
│
│ │
mb39c811_evbsk_02.h
│
│ └─ext_sensors
│
│
tmp102.h
│
└─Source
│
│ flash_custom.c
│
│ twi_temp.c
│
│ uart_cmd.c
│
└─ext_sensors
│
└─tmp102
│
tmp102.c
├─Include
│
boards.h
└─Source
└─simple_uart
simple_uart.c
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
32
Programming and Debug
8.2
Programming and executing using JTAG Debugger
Requirement for preparation



MB39C811-EVBSK-02Board (accessory)
1pcs
USB Mini Converter Cable (accessory)
1pcs
PC which is installed the KEIL integrated development tool (MDK-ARM)
1pcs
https://www.keil.com/
 ICE for ARM programming (Recommend SEGGERJ-Link series)
1pcs
http://www.segger.com/jlink-debug-probes.html
 JTAG Converter Cable (Need making yourself)
1pcs
Note:
The following is example for JTAG Converter Cable. Regarding to making cable, please make sure selfresponsibility.
8.2.1
Example for JTAG Converter Cable
1.
Make the JTAG Converter Cable as shown in below. It is example of ARM Standard 20pin JTAG.
JTAG1 - VCC
2.54mm 4pin Connector
JTAG2SWDIO
Connect
any
GND pin
JTAG3 - SWDCLK
GND - GND
2.
Example of completed cable as shown in below.
MB39C811-EVBSK-01 Boar side
JTAG ICE side
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
33
Programming and Debug
3.
Connect to the ICE for ARM programming. Please be careful of 1pin position.
1pin marking
That’s the end of making JTAG Converter Cable.
8.2.2
KEIL integrated development tool (MDK-ARM)
1.
2.
3.
Install MDK-ARM on your PC at first,
Install SDK of Nordic semiconductor, as shown in "8.1 Structure of Files".
Connect JTAG Cable which made by "8.2.1 Example for JTAG Converter Cable". To touch JTAG Cable
to the land of board, connect it little slanted.
JTAG1(VCC)
GND
ICE
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
34
Programming and Debug
4.
Connect the USB Mini Converter Cable to PC. At this time, the LED on board will be bright as shown in
below.
ICE
LED
USB mini cable
5.
KEIL integrated development tool is opened when you execute the "xxxxxxxx.uvproj" file in ARM folder,
nrf51822¥Board¥mb39c811_evbsk_02¥ble_app_ibeacon¥arm¥ble_app_ibeacon.uvproj
and then the program is builded when click the "Build target" or "Rebuild all target files" on "Project".
Figure 8-1. Build target
Build
Rebuild
6.
Write to FLASH and execute the program. To write the program to FLASH, push "LOAD" button, as
shown in Figure 8-2.
Figure 8-2. Write to FLASH
Write to FLASH
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
35
Programming and Debug
The debugger starts by clicking "d" button as shown in below.
Figure 8-3. Start Debugger
Start Debugger
To execute the program, push "execute" button after start debugger, as shown in Figure 8-4.
Figure 8-4. Execute the program
Execute
That’s the end of programming by KEIL integrated development tool.
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
36
9.
9.1
Appendix
Assemble Case
Notes:
 The following step is already finished by initial packing. Please use it as reference information.
 Show the method of assemble case about TDK: BCS4630B9 only.
Figure 9-1. Picture of completion case
Requirement for preparation:
 MB39C811-EVBSK-02 Starter Kit
 Soldering iron, Solder (For connecting solar cell to board)
 Double sided tape (For putting solar cell on case)
1set
1set
1device
1.
2.
Prepare a case (TAKACHI: PS-65) and Solar Cell (TDK: BCS4630B9
Bring the flat surface of case to top.
3.
Put a double sided tape on solar cell of other side.
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
37
Appendix
4.
Put a solar cell to the flat surface of case. Please be careful about direction.
Case hole is right side
Solar cell terminal is under side
5.
Remove a lid of case.
6.
Bring putted solar cell to other side, and then connect it to SolarP/SolarN land on
MB39C811-EVBSK-02 board using soldering iron.
SolarN land
7.
SolarP land
Put the board into case, and then revert a lid of case.
If need to fix the board to case, please use "TAKACHI: EM-1.6 (sold separately)" and so on. However it
is 2 fixing holes only.
That's the end of the Assemble case.
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
38
10. Ordering Information
Table 10-1. Ordering Information
Part number
MB39C811-EVBSK-02
Version
Note
Rev 1.0
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
39
Revision History
Document Revision History
Document Title: MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide
Document Number: 002-08682
Revision
Issue Date
Origin of
Description of Change
Change
Revision 1: Initial release
Revision 2:
Changed from "Bluetooth Low Energy" to "Bluetooth®
Smart (Low Energy)".
Section 1 ” Description” - Modified the description of BLE module
Section 2 “Features” - Modified the description of BLE module and Note.
Section 4.1 “Contents in a package” - Added the solar cell of Panasonic:AM-1801
**
11/10/2014
MITK
Section 4.2.2 “Setup of Receiving” - Modified some recommended Application and
Added the method of rechecking.
Section 4.3.1 “Method of Rewriting Beacon IDs” - Added "Table4-1 Commands List" and
Added "[7] Read/Write of Bluetooth company"
Section 8.1 “Structure of Files” - Modified the description ,Added the Note and added
"pstorage_platform.h" file
Section 9.1 “Assemble Case”- Added the Note
*A
02/11/2016
MITK
Migrated Spansion Guide from MB39C811-EVBSK-02_SS901-00028-2v0-Eto Cypress format
MB39C811-EVBSK-02 Energy Harvesting with Bluetooth® Smart Beacon Starter Kit Operation Guide, Doc. No. 002-08682 Rev. *A
40