Page 1
All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is subject to change by Arrow Electronics without notice. Doc: MC27561 Tiger User’s Guide, Rev 1.0 1 of 44...
Page 2
Arrow Electronics does not assume any liability arising out of the application or use of any of its products or designs. Products designed or distributed by Arrow Electronics are not intended for, or authorized to be used in, applications such as life support systems or for any other use in which the failure of the product could potentially result in personal injury, death or property damage.
• 1x Tiger board 1.3. Getting started The Tiger board, developed by IOTEAM for Arrow Electronics, is a ready-to-use Internet of Things (IoT) hardware for prototyping new devices. It can be used in conjunction with Arrow’s shield with a lot sensors.
Document 04/02/2018 MC27561 Tiger – User’s Guide 2. System overview 2.1. Board layout The layout of the Tiger board is shown in the picture below. Figure 1 Board Layout The top and bottom board layouts (component placement and overlay) are provided for reference purposes.
Document 04/02/2018 MC27561 Tiger – User’s Guide 2.2. Block diagram An overview of the functions of the Tiger board is shown in the figure below: Figure 3 Block diagram 2.3. Board Specifications Characteristics Value SAMD21 CPU Clock speed 48MHz Flash Memory 256Kb SRAM 32Kb...
Document 04/02/2018 MC27561 Tiger – User’s Guide 2.4. ATSAMD21J18A Ultra low-power ARM Atmel® | SMART SAM D21 is a series of Ultra low-power microcontrollers using the 32-bit ARM® Cortex® -M0+ processor at a maximum of 48MHz. The size of the SAMD21 used in the Tiger has the following characteristics: Memory •...
Document 04/02/2018 MC27561 Tiger – User’s Guide The device’s cascading feature allows up to eight devices to share a common 2- wire bus. The device is optimized for use in many industrial and commercial applications where low-power and low-voltage operations are essential. The device operates from 1.7V to 5.5V.
Document 04/02/2018 MC27561 Tiger – User’s Guide 2.9. EEPROM NXH5104 This EEPROM is connected to KW41 only. The NXP NXH5104 is a 4 Mbit serial electrically erasable and programmable read only memory (EEPROM). It provides byte level and page level serial EEPROM functions, sector level protection and power-down functions.
Document 04/02/2018 MC27561 Tiger – User’s Guide 3. SECTION ONE (SAMD21 as primary MCU) This section describes the Tiger board using SAMD21 as primary MCU. In this case the KW41 can be used as multi standard radio module. In this case the Board is supported by the Arduino IDE for a fast and easy software development cycle (https://www.arduino.cc/en/Main/Software).
Document 04/02/2018 MC27561 Tiger – User’s Guide J1 USB device The board is equipped with an USB (J1) Full-Speed (12 Mbps) device port on J1 connector. The Tiger can be powered through this interface. Figure 5 USB interface J2 DEBUG The Tiger board features an on-board DEBUG (J2) that can be used to program and debug the microcontroller SAMD21.
Document 04/02/2018 MC27561 Tiger – User’s Guide Arduino Headers The connectors J3, J4, J5, J6 provide the user with a standard Arduino shield slot as listed below. Figure 7 Arudino Zero pinout Arduino pin label Driven by Description Conn. Digital I/O D8 / PWM MCU Port PA06 Digital I/O D9 / PWM MCU Port PA07...
Document 04/02/2018 MC27561 Tiger – User’s Guide J7 VCC WIFI This is a bridge jumper to enable Wi-Fi Module. The module is factory-enabled; to disable it, it is necessary to remove the R24 resistance. Figure 8 WiFi jumper J8 Antenna conntector The Tiger board features a PCB Antenna and an on-board Antenna connector to use the KW41 as multi standard radio module The FRDM-KW41Z RF circuit provides an RF interface for users to begin...
Document 04/02/2018 MC27561 Tiger – User’s Guide J9 Power connector This connector is use to power the board with external source with a 5Vdc voltage only. J13 UART selector This connector J13 is used to select the KW41 UART interface: •...
Document 04/02/2018 MC27561 Tiger – User’s Guide WARNING Li-Po batteries are charged at 4,2V with a current that is usually half of the nominal capacity (C/2). This board has a specialized chip that has a preset charging current of 350mAh. This means that the MINIMUM capacity of the Li-Po battery shall be 700 mAh.
Document 04/02/2018 MC27561 Tiger – User’s Guide 4. SECTION TWO (KW41 MCU) This section describes the Tiger board using KW41 as primary MCU. 4.1. Connectors This chapter gives you an overview of the additional Tiger connectivity for this mode of operation. Connector DEBUG VCC_KW41...
Document 04/02/2018 MC27561 Tiger – User’s Guide J10 DEBUG The Tiger board features an on-board DEBUG (J10) that can be used to program and debug the Chip KW41Z Figure 13 J10 Debug connector for KW41Z Name Conn. Description Driven by +3.3V SWDIO SWDIO...
Document 04/02/2018 MC27561 Tiger – User’s Guide J12 FTDI Cable connector This connector is used to connect the KW41 UART with a PC to be used as console or for programming particular components located on optional shields (e.g. must be used in conjunction MCS27561-SH-NXP shield to configure the Crypto chip.) To use FTDI interface the J13 jumper must be in “B”...
Document 04/02/2018 MC27561 Tiger – User’s Guide 5. Usage This chapter describes how to connect, configure and interact with the Tiger board. 5.1. Power supply The board can be powered by three different power supply sources: • External power supply •...
Document 04/02/2018 MC27561 Tiger – User’s Guide 5.2. Push buttons and LEDs A basic user interface is provided through on-board buttons and LEDs. ITEM COLOR DESCRIPTION Used with MCU RESET SAMD21 SAMD21 RESET KW41 KW41 User Button KW41 KW41 LED 1 Yellow SAMD21 PA17 LED 2...
Document 04/02/2018 MC27561 Tiger – User’s Guide 5.3. I2C ADDRESS The following table lists the I2C address of each component. All of them are 7-bits addresses (need to shift to left by 1 + bits R/W). COMPONENT DESCRIPTION ADDRESS 8bit EEPROM W 0xAE AT24C256C...
Document 04/02/2018 MC27561 Tiger – User’s Guide 6. Software Development The following chapters provide an overview about how a user can develop their own software and use the Tiger board. There are two main ways to use the board: • Chapter 7 describe how to program the board using the SAMD21 as primary MCU.
Document 04/02/2018 MC27561 Tiger – User’s Guide 7. Getting Started with Arduino IDE and Sketch Projects using SamD21 as primary MCU 7.1. Tools The following tools are required: • Arduino IDE (Release 1.8.5 or newer) • USB cable 7.2. Setup the Environment Download and install the Arduino IDE from the Arduino web site (See the link in chapter 9).
Additional URL for board manager through setup panel as shown in the figure below 3) Select from “Type” combo Partner and choose the ARROW Boards in order to install the core of the SmartEverything. Figure 22 SmartEverything Core Installation Doc: MC27561 Tiger User’s Guide, Rev 1.0...
Document 04/02/2018 MC27561 Tiger – User’s Guide The installation procedure will automatically install all the necessary USB drives. Once the installation is completed, you can connect the Board and start coding. 7.3. Run the software Verify the code Figure 23 Arduino IDE: Verify the code Load the software on the connected board.
Document 04/02/2018 MC27561 Tiger – User’s Guide 7.4. Importing the components Library In order to use the Wifi specific libraries is required. To include these libraries use the menu Sketch - Include Library - Manage Libraries. Figure 25 Arduino IDE: Launch Manage Libraries interface Once the Library Manager is started, you can filter the available libraries writing: •...
Document 04/02/2018 MC27561 Tiger – User’s Guide Another way to install the supported components Library is to go to the GitHub repository and download the zip file. Figure 27 GitHUB libraries repository Once it is downloaded, go to the “include Library” menu and use the “Add .ZIP Library…”...
Document 04/02/2018 MC27561 Tiger – User’s Guide 7.5. Official GitHub library repository Here is the official repository where the zip file can be downloaded from: WIFI www.arduino.cc/en/Reference/WiFi101 • EEPROM github.com/PaoloP74/extEEPROM • Doc: MC27561 Tiger User’s Guide, Rev 1.0 31 of...
Document 04/02/2018 MC27561 Tiger – User’s Guide 8. Getting Started with KW41 8.1. Tools • MCUXpresso IDE (can be downloaded from: https://www.nxp.com/support/developer-resources/software- development-tools/mcuxpresso-software-and-tools/mcuxpresso- integrated-development-environment-ide:MCUXpresso-IDE). • DAP Link board (or SEGGER j-link with 10 pins adapter connector) • Other tools may be required depending on the software running on KW41 (see next paragraph).
Document 04/02/2018 MC27561 Tiger – User’s Guide Figure 28 - MQTT Demo system overview AT bridge application code TODO… 8.3. Setup the environment The procedure to setup the MQTT demo is explained herein after. The procedure for the AT bridge application is almost the same. •...
Page 34
Document 04/02/2018 MC27561 Tiger – User’s Guide Figure 29 - NXP Tiger folder structure • Launch MCUXpresso and select as a workspace the newly created folder. Figure 30 - MCUXpresso workspace selection • Import projects into workspace: File -> Import -> General -> Existing Projects into Workspace, then press Next.
MC27561 Tiger – User’s Guide • In the project explorer tab, select Tiger-KW41Z-bootloader project, then click on the down arrow next to the hammer icon and select Release to build the project in “release” mode. The bootloader project will be build and the executable files will be placed in the “C:\NXP_Tiger\Tiger-KW41Z-...
Document 04/02/2018 MC27561 Tiger – User’s Guide and the executable files will be placed in the C:\NXP_Tiger\Tiger-KW41Z- DemoApp\Release folder. Figure 35 - Build application project • The application project cannot be downloaded by copying the binary file in the DAPLINK folder as we did for bootloader. In this case we will download it using MCUXpresso IDE and, if needed, we could also debug or run step by step the code.
Document 04/02/2018 MC27561 Tiger – User’s Guide • Double click on C/C++ (NXP Semiconductors) MCU Application, then Browse buttons to select correct Project and C/C++ Application. If the selected files are correct the Debug button should become enabled. Click on Debug button to download and debug the code. Figure 37 - Download and debug the code •...
Document 04/02/2018 MC27561 Tiger – User’s Guide • After the code has been downloaded, press F8 to start running. Please note that with a SEGGER J-Link the procedure it is basically the same, but without the DAPLink the bootloader must be downloaded into the Tiger board by using the MCUXpresso IDE (or the SEGGER jlink tools) instead of dragging and drop the file.
Document 04/02/2018 MC27561 Tiger – User’s Guide unique ID (MAC address). The board will reply with a 64 bits code. Figure 40 - Get Node Unique ID • From the MQTT server send the following message in the SubTopic topic: {"cmd":"add","id":"006037ff5e989166"}.
Document 04/02/2018 MC27561 Tiger – User’s Guide Figure 41 - The node succesfully join the network • From the MQTT server it is possible to send commands to control the RGB led on Tiger board. On the SubTopic topic the server must publish a message with the following structure: {eui:"BoardEUI",pay:{led:{r:redval,g:greenval,b:blueval}}} Where BoardEUI is the Tiger board unique ID, redval/blueval/greenval =...
Unknown Device. If this happens, it is necessary to install the driver manually. The correct drivers can be found on the following directory: C:\Users\<login name> \AppData\Local\Arduino15\packages\Arrow\hardware\samd\<installed Rel>\drivers. Figure 42 Correct USB Driver installation Doc: MC27561 Tiger User’s Guide, Rev 1.0...
Need help?
Do you have a question about the MC27561-TIGER and is the answer not in the manual?
Questions and answers