background image

 

 

 

 
 
 
 
 
 
 
 
 
 
 
 
 

WyzBee™ 

 

User Manual 

 

Version 1.2 

 

October 2015 

 

 

Redpine Signals, Inc

2107 N. First Street, #680 

San Jose, CA95131. 

Tel: (408) 748-3385 

Fax: (408) 705-2019  

Email: 

[email protected]

 

Website: 

www.redpinesignals.com

 

Redpine Signals, Inc

2107 N. First Street, #680 

San Jose, CA95131. 

Tel: (408) 748-3385 

Fax: (408) 705-2019  

Email: 

[email protected]

 

Website: 

www.redpinesignals.com

 

Содержание WyzBee

Страница 1: ...Street 680 San Jose CA95131 Tel 408 748 3385 Fax 408 705 2019 Email info redpinesignals com Website www redpinesignals com Redpine Signals Inc 2107 N First Street 680 San Jose CA95131 Tel 408 748 3385 Fax 408 705 2019 Email info redpinesignals com Website www redpinesignals com ...

Страница 2: ...eps for using the WyzBee platform Disclaimer The information in this document pertains to information related to Redpine Signals Inc products This information is provided as a service to our customers and may be used for information purposes only Redpine assumes no liabilities or responsibilities for errors or omissions in this document This document may be changed at any time at Redpine s sole di...

Страница 3: ... 2 1 Download and Installation 22 4 2 2 Configuring CoIDE for WyzBee 24 4 3 IAR Embedded Workbench 27 4 3 1 Download and Installation 27 4 3 2 Configuration IAR Embedded Workbench for WyzBee 35 5 Appendix B WyzBee Headers 37 5 1 Pin Description 37 Table of Figures Figure 1 WyzBee Baseboard with micro B USB Cable 7 Figure 2 WyzBee Baseboard s Top View 8 Figure 3 WyzBee Baseboard s Bottom View 8 Fig...

Страница 4: ...ure 33 CoIDE Configuration Debugger 26 Figure 34 CoIDE Configuration Download 27 Figure 35 IAR Embedded Workbench Installation Window 28 Figure 36 IAR Embedded Workbench Installation Window 28 Figure 37 IAR Embedded Workbench License Agreement 29 Figure 38 IAR Embedded Workbench Installation Folder 29 Figure 39 IAR Embedded Workbench Installation Start 30 Figure 40 IAR Embedded Workbench Dongle Dr...

Страница 5: ...E from CooCox The WiSeMCU module integrates PUF based hardware security block that provides for unique individual device entities ensuring that each IoT device can be individually authenticated and software delivered to it that cannot run on any other device 1 1 Features 1 1 1 MCU Features ARM Cortex M4F processor running at a frequency of up to 160 MHz Integrated Floating Point Unit FPU Memory Pr...

Страница 6: ... bandwidth Transmit power up to 18dBm with integrated PA Receive sensitivity of 97dBm Supports Wi Fi Direct Access point mode WPA WPA2 PSK WPA WPA2 Enterprise EAP TLS EAP FAST EAP TTLS PEAP MS CHAP V2 1 1 3 Bluetooth Compliant to dual mode Bluetooth 4 0 Transmit power up to 15dBm class 1 with integrated PA Receive sensitivity of 94 dBm Basic Bluetooth profile embedded in device 1 1 4 ZigBee Compli...

Страница 7: ...ET_N o IR receiver IR Receiver Pin IR_OUT P42 o 9 Axis Sensor o 3 Axis Accelerometer o Humidity and Temperature Sensor Sensor Pin All three sensors use the I2C interface to interact with the MCU Clock P33 Data P32 o Micro B USB Full Speed Interface 1 2 WyzBee Board WyzBee is a USB powered device Shown below is a WyzBee baseboard with the micro B USB cable plugged in Figure 1 WyzBee Baseboard with ...

Страница 8: ...Page 8 WyzBee User Manual Version 1 2 WyzBee User Manual Version 1 2 1 3 WyzBee Top View Figure 2 WyzBee Baseboard s Top View 1 4 WyzBee Bottom View Figure 3 WyzBee Baseboard s Bottom View ...

Страница 9: ...eil uVision IAR Embedded Workbench or CooCox CoIDE 2 2 Installing the CMSIS DAP Drivers Follow the steps below to download and install the CMSIS DAP Drivers 1 Download the complete set of drivers and tools from the following link USB drivers for virtual COM port and CMSIS DAP https www spansion com Support microcontrollers developmentenvironment Page s board SK FM4 U120 9B560 aspx Note If the devi...

Страница 10: ...nd usbdirect drivers 5 Click the Finish button after the drivers installation is completed 6 Connect the micro B USB cable between the WyzBee USB port and the PC Verify that the board is detected under the Ports section of the Windows Device Manager Figure 5 WyzBee CMSIS DAP Debug Port Detection 2 3 Installing IDEs WyzBee applications can be developed using various IDEs like CoIDE Keil and IAR Ref...

Страница 11: ...sample application on WyzBee 3 1 Starting a New Project 1 Start the Keil uVision 4 IDE 2 Click on New uVision Project from the Project dropdown menu A popup window appears giving you an option to select the location of the project Select the path you would like and click Save 3 A new window opens for selecting the device Scroll down the list and select MB9BF568N as shown below Figure 6 Keil uVisio...

Страница 12: ... the Utilities tab Uncheck the Use Debug Driver option 3 Next in the dropdown menu for Use Target Driver for Flash Programming select CMSIS DAP Debugger and click Settings Figure 7 Keil uVision Options for Target Utilities 4 In the popup window click Add and select the device name highlighted in the image below Click OK Figure 8 Keil uVision CMSIS DAP Debugger Settings ...

Страница 13: ...t Use and CMSIS DAP Debugger as shown below Figure 9 Keil uVision Options for Target Debug 6 Click on the Device tab and ensure that the settings are as shown in the image below Figure 10 Keil uVision Options for Target Debug 7 Click on the Target tab and ensure all settings are as shown in the image below ...

Страница 14: ... 1 2 Figure 11 Keil uVision Options for Target Target 8 Click on the Output tab and ensure all settings are as shown in the image below Figure 12 Keil uVision Options for Target Output 9 Click on the Linker tab and ensure all settings are as shown in the image below ...

Страница 15: ...f the pins of the MCU connected to the TriLED are given below LED Color MCU Pin Red P41 Green P3E Blue P3F Table 1 TriLED Connections to MCU The project when run blinks the LEDs one at a time with a certain delay Follow the steps below to compile flash and run the example project 1 Download the blinky project TriLED zip from the URL above and extract it 2 Double click the Keil uVision4 project fil...

Страница 16: ... controls all the frontend functioning of the application It initializes the necessary drivers and configures WyzBee The source code is shown in the image below Figure 15 TriLED_App Function 5 TriLED_App Function a The TriLEDGpio_Put function is used to change the value assigned to the pins GPIO_LOW indicates LED On and GPIO_HIGH indicates LED Off ...

Страница 17: ...e details on how to use Keil uVision4 IDE refer the document from the following link http www keil com product brochures uv4 pdf You can now start writing your own Application using the API libraries provided The APIs are explained in WyzBee API Guide document 3 4 Adding THINGS The WyzBee THING expansion headers accommodate a host of other symbiotic devices with a number of peripherals called Thin...

Страница 18: ...nloaded from https www keil com The following steps have been described for Keil version 4 7 4 We strongly recommend ensuring you are downloading the MDK ARM V4 74 setup file You need to register yourself to generate the setup file to be downloaded 1 Start the installer If any security warnings appear click on Run 2 In the Installer window click Next 3 Click Next again to continue the installation...

Страница 19: ...ation License Agreement 5 In the next window you have the option of changing the folder in which the IDE will be installed Change it if required and click Next Figure 19 Keil IDE Installation Folder Selection 6 Enter your details in the next window and click Next to start the installation process ...

Страница 20: ...ser Manual Version 1 2 Figure 20 Keil IDE Customer Information 7 After the installation is completed click Next again Figure 21 Keil IDE Installation Completed 8 Now select the Launch Driver Installation ULINK Pro Driver V1 0 option and click Finish ...

Страница 21: ... with the installation of the ULINK drivers Figure 23 ULINK Driver Installation 4 1 2 Configuring Keil IDE for WyzBee The process for configuring Keil IDE for WyzBee is explained in Section 3 2 4 2 CoIDE The CoIDE from CooCox is a free IDE and can be used for IoT application development CoIDE supports both C and C languages and does not have any code size limitations ...

Страница 22: ...ox org The following steps have been described for CoIDE version 1 7 8 1 Start the installer If any security warnings appear click on Run 2 In the Installer window click Next Figure 24 CoIDE Installation Window 3 In the next window you have the option of changing the folder in which the IDE will be installed Change it if required and click Next ...

Страница 23: ... 1 2 WyzBee User Manual Version 1 2 Figure 25 CoIDE Installation Folder Selection 4 In the new window click Install to start the Installation of CoIDE Figure 26 CoIDE Installation Start 5 Click Finish after the installation is completed ...

Страница 24: ...oolchain Path under Project In the new dialog box that opens enter the path where the GCC Toolchain was installed Figure 27 GCC Toolchain Path for CoIDE 8 To verify the downloaded version click Help About CoIDE Figure 28 CoIDE Version 4 2 2 Configuring CoIDE for WyzBee Follow the steps below to configure CoIDE for WyzBee 1 Open CoIDE and click on the Configuration button Figure 29 CoIDE Configurat...

Страница 25: ...Page 25 WyzBee User Manual Version 1 2 WyzBee User Manual Version 1 2 Figure 30 CoIDE Configuration Device Figure 31 CoIDE Configuration Link ...

Страница 26: ...Page 26 WyzBee User Manual Version 1 2 WyzBee User Manual Version 1 2 Figure 32 CoIDE Configuration Output Figure 33 CoIDE Configuration User Figure 34 CoIDE Configuration Debugger ...

Страница 27: ...lopment environment that includes a C C compiler and debugger 4 3 1 Download and Installation The IAR Embedded Workbench can be downloaded from https www iar com The following steps have been described for IAR version 7 30 1 Start the installer If any security warnings appear click on Run 2 In the installation window selection the Install IAR Embedded Workbench option ...

Страница 28: ...zBee User Manual Version 1 2 Figure 36 IAR Embedded Workbench Installation Window 3 In the new window click Next Figure 37 IAR Embedded Workbench Installation Window 4 Check the I accept the terms of the license agreement option and click Next ...

Страница 29: ...ual Version 1 2 Figure 38 IAR Embedded Workbench License Agreement 5 In the next window you have the option of changing the folder in which the IDE will be installed Change it if required and click Next Figure 39 IAR Embedded Workbench Installation Folder ...

Страница 30: ... Start 7 Wait for the installation to be completed You will be requested to remove any USB dongles connected to the PC Remove them and click Yes Figure 41 IAR Embedded Workbench Dongle Drivers Installation 8 This will start the installation of the dongle drivers Once completed select the Launch IAR Embedded Workbench for ARM option and click Finish to complete the installation of IAR Embedded Work...

Страница 31: ... Version 1 2 WyzBee User Manual Version 1 2 Figure 42 IAR Embedded Workbench Installation Completed 9 Next you will be prompted for installation of device software Click Install Figure 43 IAR Embedded Workbench Device Software 1 ...

Страница 32: ...ded Workbench Device Software 2 10 Select the Language of your preference and click OK Figure 45 IAR Embedded Workbench Language Selection 11 The IAR Embedded Workbench window opens followed by the License Wizard Click Next Figure 46 IAR Embedded Workbench License Wizard 12 Click Next again ...

Страница 33: ...e User Manual Version 1 2 WyzBee User Manual Version 1 2 Figure 47 IAR Embedded Workbench License Wizard Choose a Product 13 In the new window click Register Figure 48 IAR Embedded Workbench License Wizard Register ...

Страница 34: ...ation process Select the Code Size Limited option and enter the rest of the details Figure 49 IAR Embedded Workbench Registration 15 Once the details are submitted a confirmation email is sent to the registered email address Open the confirmation email and click on the confirmation link 16 Next a page opens with a License Key ...

Страница 35: ...mplete 17 Copy this key and paste it in the License Wizard and click Next to complete the installation and registration process for IAR Embedded Workbench 4 3 2 Configuration IAR Embedded Workbench for WyzBee 1 Open the IAR Embedded Workbench and click on Project Options Figure 51 IAR Embedded Workbench Project Options ...

Страница 36: ... Manual Version 1 2 2 In the Options window that opens ensure that all settings are as per the images shown below Figure 52 IAR Embedded Workbench Options 1 Figure 53 IAR Embedded Workbench Options 2 3 Click OK to complete the configuration for WyzBee ...

Страница 37: ...Pin Description The table below describes the pins of the WyzBee baseboard s Headers Pin Name Function Direction Description THING Headers S1 P56 Inout General purpose Input Output SOT6_0 SDA6_0 Output Inout Multi function Serial Interface Channel 6 Output Inout INT08_2 Input External Interrupt 8 S2 P55 Inout General purpose Input Output SIN6_0 Input Multi function Serial interface Channel 6 Input...

Страница 38: ...only if S17 is not configured as TIOB3_0 SCK3_1 SCL3_1 Output Multi function Serial interface Chanel 3 Clock output INT04_1 Input External Interrupt 4 S5 P32 Inout General purpose Input Output TIOB2_1 Inout Base Timer Channel 2 TIOB pin This can be used only if S14 is not configured as TIOB2_0 SOT3_1 SDA3_1 Output Inout Multi function Serial Interface Channel 3 Output Inout INT10_1 Input External ...

Страница 39: ... P44 Inout General purpose Input Output TIOA4_0 Inout Base Timer Channel 4 TIOA pin RTO14_1 Output Waveform generator output of Multi function timer 14 DAC0 Output DAC Output Channel 0 S11 P16 Inout General purpose Input Output SIN2_2 Input Multi function Serial interface Channel 2 Input INT14_1 Input External Interrupt 14 AN06 Input ADC Input Channel 6 S12 P17 Inout General purpose Input Output S...

Страница 40: ...interface Chanel 0 Clock output AN05 Input ADC Input Channel 5 S17 VDD_3V3 Output 3 3V Output Power supply S18 P4C Inout General purpose Input Output TIOB2_0 Inout Base Timer Channel 2 TIOB pin SCK7_1 SCL7_1 Output Multi function Serial interface Chanel 7 Clock output AIN1_2 Input QPRC Channel 1 AIN Input S19 P4E Inout General purpose Input Output TIOB4_0 Inout Base Timer Channel 4 TIOB pin SIN7_1...

Страница 41: ...face Channel 2 Output Inout BIN1_2 Input QPRC Channel 1 BIN Input INT13_2 Input External Interrupt 13 S22 Ground Ground Ground S23 MCU_VCC33 Output 3 3V Power Supply S24 P3D Inout General purpose Input Output TIOA3_1 Inout Base Timer Channel 3 TIOA pin RTO03_0 Output Waveform generator output of Multi function timer 3 S25 VDD_MOD Output 3 3V Output Power supply S26 P3A Inout General purpose Input ...

Страница 42: ...mer 0 INT03_1 External Interrupt 3 AN03 Input ADC Input Channel 3 S29 P12 Inout General purpose Input Output SCK1_1 SCL1_1 Output Multi function Serial interface Chanel 1 Clock output IC01_2 Input 16 bit input capture Channel 1 input pin of Multi function timer 0 RTCC0_1 Output Reserved AN02 Input ADC Input Channel 2 S30 P11 Inout General purpose Input Output TX1_2 Output CAN interface Channel 1 T...

Страница 43: ... Function Direction Description S31 P10 Inout General purpose Input Output INT02_1 Input External Interrupt 2 RX1_2 Output CAN interface Channel 1 RX input SIN1_1 Input Multi function Serial interface Channel 1 Input AN00 Input ADC Input Channel 0 Table 2 Headers Pins Description ...

Страница 44: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Redpine Signals WyzBee BASE 001 WyzBee SENS 101 WyzBee DISP 108 WyzBee SADK 901 WyzBee BATT 107 ...

Отзывы: