[NXP Rapid IoT Review] + Mobile Synchronizer[Copy link]
This post was last edited by Beifang on 2018-12-26 13:57 1. Rapid IoT, a bridge between the past and the future. Usually, IoT development tools are in the form of development boards, but NXP Rapid IoT is completely different. Because NXP Rapid IoT is almost a prototype design, and it can be directly used as a product. Although the appearance and temperament are different, we can still easily find out from the product positioning and size specifications that NXP Rapid IoT is developed from NXP Hexiwear.
1.1 Hexiwear Hexiwear aims to combine the fashion and ease of use of high-end consumer electronic devices with the functionality and scalability of a precision engineering development platform. It is equipped with a Kinetis K6x microcontroller based on the ARM Cortex-M4 core, and a Kinetis KW40Z multi-mode radio SoC with BLE support. It has 6 onboard sensors, including an optical heart rate monitor, accelerometer, magnetometer, gyroscope, temperature, humidity, light and pressure sensors, with a color OLED display and a rechargeable battery. From the official website, you can download Android and iOS applications to directly test the factory firmware and directly obtain many parameters such as motion and environment. However, the development of Hexiwear is the same as other development boards, all of which are public IDEs, such as Kinetis Design Studio IDE, KEIL MDK or IAR. 1.2 Rapid IoT has changed, not only newer devices have been integrated into Rapid IoT, but more importantly the introduction of Rapid IoT Studio online IDE, a completely free, graphical, zero-threshold web-based development platform. Development is no longer the domain of engineers, but is directly targeted at the public platform to provide a comprehensive, secure and power-optimized solution for rapid prototyping and development of IoT terminal nodes. It integrates 11 NXP devices (microcontrollers, low-power connectivity devices, sensors, NFC, security elements, power management, interfaces) and is combined with proven software support equipment (drivers, RTOS, middleware, cloud connectivity) and web IDE (with GUI-based programming capabilities). 1.3 First, let's compare the changes in the composition of the devices.
HEXIWEAR
K64_120: Kinetis K64-120 MHz, 256KB SRAM microcontroller (MCU), based on Arm Cortex-M4 core
KW40Z: Kinetis KW40Z-2.4 GHz dual mode: BLE and 802.15.4 wireless connectivity microcontroller (MCU), based on Arm Cortex-M0+ core
By comparison, we can see that the core Kinetis K64-120 MHz has not changed. The main three sensor chips are: sans-serif]FXAS21002C: 3-axis digital gyroscope,FXOS8700CQ: Digital Motion Sensor – 3D Accelerometer (±2g/±4g/±8g) + 3D Magnetometer,[font=Arial, MPL3115A2: There are no changes to the barometric pressure sensor. The radio frequency chip is from Kinetis KW40Z upgrade to Kinetis KW41Z. The only new addition is NT3H2111_2211This NFC chip expands the means of connecting with the outside world. From this point of view, it is an enhanced version of Hexiwear. However, from the development point of view, the original supported MBED OS development method has completely disappeared. The Rapid IoT connection no longer has a CMSIS-DAP plug-in drive letter. However, from the development point of view, this is an intuitive and simplified way to download development programs. In fact, it does not have any major advantages. Canceling it is actually a good choice. The biggest constraint of mbed-based development is that it is fine for simple development boards, but for complex multi-functional development boards, many hardware and function access cannot be customized by users, which in turn limits the flexibility and efficiency of development. 2. Detailed explanation of Rapid IoT main components 2.1 K64_120: Kinetis K64-Arm Cortex-M4 core + DSP, 120 MHz, 256KB SRAM microcontroller (MCU), 1 MB flash memory, 256 KB SRAM, single-cycle MAC, single instruction multiple data (SIMD) extension, single-precision floating-point unit, up to 16 channels of DMA for peripherals and memory. This is a long-standing MCU, and there are too many star products using this chip to count, which is also the privilege of the "top brand". With the following features, [color=rgb(37, 37, 38) !important][size=1em]Ultra-low power: Flexible low power modes with power and clock gating for optimal peripheral activity and recovery times. Stop current <340 nA, run current <250 μA/MHz, stop mode wake-up time of 4.5 μs,Full memory and analog operations are possible down to 1.71 V, extending battery life,Low leakage wake-up unit with up to 7 built-in modules and 16 pins as wake-up sources for low leakage stop (LLS) mode/very low leakage stop (VLLS) mode,Low power timer allows the system to continue operating in a low power state. Two high-speed 16-bit analog-to-digital converters (ADCs) with configurable resolution, two 12-bit digital-to-analog converters (DACs), three high-speed comparators. Up to four FlexTimers for a total of 20 channels. IEEE 1588 Ethernet MAC with hardware timestamping, USB 2.0 OTG (full speed) with USB transceiver. Intelligent design with embedded 48 MHz oscillator, can adopt USB crystal-less system design, Up to 6 UARTs with IrDA support, one UART has ISO7816 smart card support, Inter-IC audio transmission (I2 Serial interface, CAN module, 3 DSPI, 3 I2C.
2.2 The KW41Z is an ultra-low power, highly integrated single-chip device with Bluetooth Low Energy (BLE) v4.2 and IEEE 802.15.4 RF connectivity. The KW41Z wireless MCU integrates a 2.4 GHz transceiver supporting FSK/GFSK and O-QPSK modulation, an ARM Cortex-M0+ CPU, up to 512KB Flash and 128KB SRAM, 802.15.4 packet processor, hardware security and peripherals to meet the needs of the target application,and concurrent communications on Bluetooth Low Energy networks and 802.15.4-based networks such as Thread.[sans-serif]KW41Z is a star product in itself, especially for its low-power video integration. Due to its excellent memory and performance, it can complete the design of wearable products independently. When paired with Kinetis K64, it can only play a supporting role. For projects that need fast verification, this open platform can actually be regarded as a two-in-one product of two development boards.
2.3 NTAG I2C is less well-known than other chips, but as a combinable passive NFC interface and contact I2C interface, it is the fastest and most economical way to add tap-to-pay connectivity to electronic devices. Standard for mobile payment without contact cards. NXP inherited all of Philip's intellectual property rights in the NFC field and is the absolute leader in NFC. When the European Union was reviewing the Qualcomm merger, NFC was also negotiated separately as an important part of antitrust. Although it looks complicated, it is easier to use because the development only requires the communication part of the I2C interface. FXAS21002C 3-axis gyroscope is a complete 3-axis gyroscope in a compact QFN package with 2.7 mA operating current (2.8 μA standby current), angular rate resolution of 0.0625 dps/LSB, and 1.25 dps/LSB angular rate resolution of 0.0625 dps/LSB. Dynamically selectable full-scale range (±250/±500/±1000/±2000°/s), 32-sample FIFO, Output Data Rate (ODR) range: 12.5 Hz to 800 Hz.
The FXOS8700CQ 6-axis sensor combines a 14-bit accelerometer and a 16-bit magnetometer with a high-performance ASIC to build an electronic compass solution with a typical direction resolution of 0.1° and a compass azimuth accuracy error of less than 5°,wide dynamic range of ±1200 μT,embedded vector magnitude detection,embedded automatic hard iron calibration.
2.5 MC34671 is a cost-effective fully integrated charger for lithium-ion or lithium polymer batteries, including trickle, constant current (CC) and constant voltage (CV) charging modes. It can withstand an input voltage of 28V, and the constant current (CC) can be set to 600 mA through an external resistor. The constant voltage is fixed at 4.2V. No external MOSFET, reverse blocking diode and current sensing resistor are required, ensuring a maximum programmable charging current of 600 mA at -20 °C to 70 °C temperature range, the voltage accuracy is ±0.7, the current accuracy is ±5% in the temperature range of -40 °C to 85 °C, and the minimum input operating voltage is 2.6 V. This chip has been passed down from Hexiwear to Rapid IoT, and the schematic diagram is as follows.
2.6 Other interesting chips, the following chips actually have traditional alternatives, but, applied here, show superior characteristics. 2.6.1 PCF2123 is a CMOS real-time clock (RTC) and calendar, which is best suited for low-power applications. Data is transmitted serially at a maximum data rate of 6.25 Mbit/s via the serial peripheral interface (SPI-bus). Alarm and timer functions are also provided, and wake-up signals can be generated on the interrupt pin. The offset register allows fine adjustment of the clock. Real-time clock based on 32.768 kHz quartz crystal provides year, month, day, week, hour, minute and second, low standby current during operation: 100 nA typical at VDD = 2.0 V and Tamb = 25 ℃, freely programmable timer and alarm with interrupt capability, clock operating voltage: 1.1 V to 5.5 V, 3-wire SPI bus with separate combinable data input and output. 2.6.2 A1006 Security Authenticator Solution is a complete embedded security platform for electronic accessories, mobile phones, portable devices, computers and consumer electronics, as well as embedded systems that require a strong security infrastructure. The A1006 certificate is based on the NIST P-224 curve and SHA-224 digest hash, and is digitally signed using ECDSA (Elliptic Curve Digital Signature Algorithm), providing the key authorized by the certificate authority that the customer expects. Non-volatile memory (NVM) is used to store device behavior data, usage data, logistics information, or other arbitrary data to prevent SPA, DPA, and fault attacks. OWI 100 kbps, bus powered by an external resistor (pull-up resistor), 400 KB I2C fast mode interface. This chip is a hardware encryption solution, and it is also a relatively new design idea for security solutions in sensitive scenarios such as identity authentication and payment. In Rapid IoT, this chip is used in combination with NTAG I2C, and a security lock is added to the data of the NFC channel. 2.6.3 [font=Arial,The NX3L2267 is a dual low-ohmic single-pole double-throw analog switch suitable for analog or digital 2:1 multiplexers/demultiplexers. Each switch has a digital select input (nS), two independent inputs/outputs (nY0 and nY1), and a common input/output (nZ). This is on the upper side of the NTAG I2C and A1006, connecting to the MCU's I2C interface to control the link transmission of the channel. The NX3L2267 is unique in that it can switch 4.3 V signals using a 1.8 V digital controller without the need for logic level conversion. The NX3L2267 allows signals with amplitudes up to VCC to be transmitted from nZ to nY0 or nY1; or from nY0 or nY1 to nZ. Its low on-resistance (0.5 Ω) and flatness (0.13 Ω) ensure minimal attenuation and transmission signal distortion.
2.6.4 The NX3P191 is a high-side load switch with a low on-resistance P-channel MOSFET with input surge current reduction that supports more than 500 mA continuous current and an integrated output discharge resistor that can discharge the output capacitor when disabled. Designed for an operating range of 1.1 V to 3.6 V, this device is used in power domain isolation applications to reduce power consumption and extend battery life. In this design, the NX3P191 is used in many places. With so many sensors integrated, power management is very important. From a design point of view, the cost of such an additional device is obviously increased, but if it can be compensated in battery life, it is very suitable for portable battery-powered applications due to its low ground current and ultra-low shutdown current, which is very worth considering. This device is not available in Hexiwear. From the perspective of evaluation, this is a major update and improvement to hexiwear in essence. Because, the most confusing thing in the evaluation of Hexiwear is that the battery is too short-lived. Even in the power-saving state of turning off the screen, it can't last for half a day. If this is the case during the development process, then in a complex practical environment, it is even more unreliable.
2.7 Other components. Obviously, the Rapid IoT development platform provides more than these. JDI's OLED screen, air pollution sensor, etc. can all be implemented in such an integrated size, and they are all strong in each subdivided function. However, I will not break them down one by one, see the figure below.
3. Development features applied to mobile phone synchronizers 3.1 Unique development cycle In this development kit, multiple traditional steps are skipped directly and the code stage is directly entered. After verification, it can be quickly put into production. The entire design is open source, and design source files in OrCAD, Altium, and Eagle formats are provided. Can it be more convenient to do subtraction directly on this basis?
3.2 The logical configuration of interconnection can be connected in three ways: using Thread gateway, external wifi or communication module, and using built-in Bluetooth radio frequency connection. This design uses the built-in Bluetooth mode, which should be the most feasible evaluation method in such a short time.
4. Evaluation plan of mobile phone synchronizer 4.1 Objective To achieve evaluation by making a mobile phone synchronizer. The specific function is to connect the mobile phone to the Internet and collect network information, such as the weather of the day, pollution index, etc. Push to portable devices via Bluetooth. 4.2 Plan and progress In the first week, hardware principle analysis and development environment construction and testing. In the second week, data collection and development testing of important sensors for mobile phone applications. Apply cloud development mode. In the third week, mobile client app demonstration development. In the fourth week, joint debugging to realize information exchange and interconnection functions with mobile phones. This content is originally created by Northern, a netizen of EEWORLD forum. If you want to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source2 Plan and schedule Week 1: Analysis of hardware principles and construction and testing of development environment. Week 2: Data collection and development testing of important sensors for mobile phone applications. Application of cloud development model. Week 3: Demonstration and development of mobile client app. Week 4: Joint debugging to realize information exchange and interconnection functions with mobile phones. This content is originally created by Northern, a user of EEWORLD forum. If you need to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source2 Plan and schedule Week 1: Analysis of hardware principles and construction and testing of development environment. Week 2: Data collection and development testing of important sensors for mobile phone applications. Application of cloud development model. Week 3: Demonstration and development of mobile client app. Week 4: Joint debugging to realize information exchange and interconnection functions with mobile phones. This content is originally created by Northern, a user of EEWORLD forum. If you need to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source
"The evaluation is achieved by making a mobile phone synchronizer. The specific function is to connect the mobile phone to the Internet and collect network information, such as the weather of the day, pollution index, etc. It is pushed to the portable device via Bluetooth." These functions are all available in the DEMO Do you want to write another DEMO yourself?
Details
Published on 2018-12-27 13:55
"The evaluation is achieved by making a mobile phone synchronizer. The specific function is to connect the mobile phone to the Internet and collect network information, such as the weather of the day, pollution index, etc. It is pushed to the portable device via Bluetooth." These functions are all available in the DEMO Do you want to write another DEMO yourself?