Hi: In industrial application, high RS485 Bus requires more real time performance, possible higher throughput. Normally in NXP MCUxpresso SDK, it provides basic sample codes to demonstrate UART, DMA peripherals usage, but not RS485. Though enough driver API could support such applicatio. But for newbie or fast prototype requirement, it's hard to build it in short time. This design show how to use DMA for RS485 application, and how to use UART "Smart" Features to implement high throughput.
Demo Summary An autonomous vehicle platform leveraging NXP’s new BlueBox engine, and deploying NXP silicon and software solutions at each ADAS node. The system demonstration incorporates the BlueBox central computing engine, together with radar, lidar, and vision sensing, as well as an on-board secure V2X system Local Motors 3D Printed Car and NXP V2X Tech Showcase - YouTube Demo / product features BlueBox—a unique solution designed to help meet the stringent automotive safety, power and processing performance requirements of autonomous vehicle platforms S32V automotive vision and sensor fusion processor LS2085A embedded compute processor Up to 90,000 DMIPS at < 40 W, ISO 26262 supported NXP Recommends Product Link NXP BlueBox https://www.nxp.com/design/development-boards/automotive-development-platforms/nxp-bluebox-autonomous-driving-development-platform:BLBX?&tid=vanBlueBox S32V234 S32V234 Vision Processor | NXP Document Number: https://community.nxp.com/docs/DOC-330366 A20
Overview This reference design offers both metering and WiFi capabilities: Metering - used to measure electronic power in single-phase and, WiFi - used for wireless control. Plug status can be checked via a smart-phone application, including current active power, reactive power, grid frequency, history runtime. On/Off setting timer available as well. Features Based on Kinetis MKM14Z64 MCU WIFI module based on QFM2202 220V input voltage, 10A max current Phase current sampling with 25ppm 5 mΩ current sampler by 24Bit SD ADC Phase voltage sampling with 25ppm resistor voltage divider network by 24Bit SD ADC On-chip voltage comparator (for precision grid frequency detection) Single 32.788K crystal input for 5ppm RTC External extendable 64Mb SPI Flash Low-power modes including the use of built-in RTC 3 channel LED pulse outputs for calibration(kWh, kVarh) Provide android application to get active power, reactive power, apparent power, grid frequency and history runtime Android application to set plug ON/Off, set timer for ON/Off at fixed time and set RTC time Android application to set plug wifi module to power save mode Cost-effective bill of materials External extendable WIFI module with UART connection Block Diagram Design Resources
Demo Advantages of i.MX6 Dual/Quad Plus Features Memory bandwidth utilization greatly improved On-die caches for GPU Multi-source GPU composition Featured NXP Products i.MX6DP i.MX6QP
Demo Owner Mark Middleton Processor Expert Software is a development system to create, configure, optimize, migrate, and deliver software components that generate source code for NXP silicon. Features Processor expert software for Vybrid and i.MX processors Each component encapsulates a discrete set of functionality designed to accomplish the component's design objectives. When used, it may generate configuration files, header files, and/or source code depending on the type of component. A component may represent a hardware abstraction, a peripheral driver, a software algorithm (such as data encryption), or any logical collection of software function. Featured NXP Products Vybrid i.MX Applications Processors based on ARM® Cores Development Software Used Processor Expert Software and Embedded Components Links Vybrid Controller Solutions based on ARM® Technology ARM® Cortex®-A9 Cores: i.MX 6 Series Multicore Processors
Demo We will present Ethernet AVB System Solution Demo running on Vybrid VF6XX or Calypso 6M/3M MPC574XG. Application will show audio playback of multi-channel audio streams received via Ethernet/Broadcom BroadRReach physical interface/, audio data streaming capability from external source or memory, audio sample rate conversion (Vybrid specific), Virtual Autosar Ethernet driver (cross core implementation) and cross core communication module capabilities. Audio over AVB network—multi-channel audio streaming Syntonized audio playback over multiple audio end nodes Complex AVB solution supporting Power Architecture® and ARM® architecture Product Link Vybrid Controller Solutions Tower System Module Vybrid VF6xx Tower System Kit with Arm DS-5 | NXP Evaluation System for MPC574xB/C/G Family Evaluation System for MPC574xB/C/G Family | NXP
About this demo
This demo shows the usage of a Neural Network (NN) applied for handwritten digit recognition, the NN model runs on the i.MX RT1060 MCU. The main idea of the demonstration is to show the i.MX RT capability to manage a graphical user interface while applying a NN model to recognize handwritten numbers to determine whether a password is correct or wrong. The demonstration is tested by setting a 4-digit password to a 4.3" LCD Panel, then the user must enter the correct password to unlock device; when the password is provided, the digits recognized by the NN are displayed on the screen. A 'Clear' button will erase the previous numbers for the user to try a new password to unlock the device.
Technical Introduction and Acknowledgment
The demo is available using two different approaches for the model creation and inference engines: TensorFlow Lite and CMSIS-NN using Caffe Framework.
TensorFlow Lite
The application note AN12603 describes handwritten digit recognition on embedded systems through deep learning. The digit recognition is performed by a TensorFlow Lite model trained with the MINST dataset containing 60,000 handwritten grayscale images and 10,000 testing examples. This application note, deep dives into every step to achieve the application using Tensorflow Lite and build a GUI using Embedded Wizard.
CMSIS-NN using Caffee Framework
The application note AN12781 explores the usage of Deep Neural Networks created in Caffe Framework, this framework allows creating a model and convert it to CMSIS-NN functions to be exported to the i.MX RT platform as source files. The model is also trained for the digit recognition using the MNIST dataset. The document describes the procedure to create, train and deploy the model; in the final step the model is exported a C source files using CMSIS-NN functions and weights that are exported to the i.MX RT1060 project.
Video
Hardware setup
Recommended Products
i.MX RT1060 Evaluation Kit | NXP
4.3" LCD Panel RK043FN02H-CT | NXP
Further Information
The NXP ® eIQ ™ software environment enables the use of ML algorithms on NXP MCUs, i.MX RT crossover MCUs, and i.MX family SoCs. eIQ software includes inference engines, neural network compilers and optimized libraries.
Additionally, the models can be optimized through techniques like quantization and pruning, AN12781 explores the possibility of optimization by creating a new model using Caffe with a quantization to simplify the floating-point data. By reducing the 32-bit floating-point data to an 8-bit and fixed-point format, the memory allocation got reduced and this resulted in a lower-processing power.
Transfer Learning
Transfer learning gives machine learning models the ability to apply past experience to quickly and more accurately learn to solve new problems. This technique has become very important in deep learning. AN12892 describes how to perform transfer learning in TensorFlow and a use case example, which aims to improve the performance of the application from AN12603.
Useful Links
Links
AN12603
AN12603 Software
AN12781
AN12781 Software
AN12892
AN12892 Software
eIQ™ for TensorFlow Lite | NXP
Caffe | Deep Learning Framework
Embedded Wizard | Simplify Your GUI Development
What is a Container? | App Containerization | Docker
Overview The Occupancy Sensor Node reference design is a compact form factor, open source design. It enables low power nodes based on IEEE 802.15.4 protocols such as Thread and ZigBee to communicate data to a wireless sensor network. NXP supplements the Kinetis KW2xD with tools and software that include hardware evaluation and development boards, software development IDE and demo applications and drivers. Features MKW24D512 802.15.4 Kinetis MCU Full IEEE 802.15.4 compliant wireless node for Thread network Integrated PCB meander horizontal antenna 2 Interrupt push button switches (LLWU) 1 FXOS87000CQ Combo sensor 1 Coin cell battery holder 1 EEPROM 1 Battery charger Block Diagram Board Design Resources
See how to use the Tower Kinetis 70 development hardware and programmed with PEG GUI, MQX Software Solutions RTOS and processor expert software development tools to create this touch screen controlled, wireless motor control demonstration.
Features
Hardware and software modular system that NXP provides for the Kinetis Microcontrollers K series
One TWR-K70F120M board communicates with another TWR-K70F120M board wirelessly and then the second TWR-K70F120M board controls a motor
Usage of LCD touch panel to control the speed of the motor
Featured NXP Products
CodeWarrior Development Tools|NXP
Processor Expert Software and Embedded Compon|NXP
Kinetis K70 120 MHz Tower System Module|NXP
MQX
Demo Owner Mike Stanley Features Measuring the output from sensors, then computing the orientation of the device with the KL25 Kinetis Microcontrollers using advanced filtering techniques such as: Kalman filtering, Indirect Kalman filtering Built a representation of the current orientation of the device, linear acceleration Fusion software incorporated in standard OS systems Windows, iOS, Android Software library, visualization tools and full development suite are available for customers Featured NXP Products FXOS8700CQ (6- Axis Accelerometer + Magnetometer) FXAS21002 (3-Axis Gyroscope) Development Hardware Used FRDM- KL25Zhttps://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fsoftware-and-tools%2Fhardware-development-tools%2Ffreedom-development-boards%2Ffreedom-development-platform-for-kinetis-kl14-kl15-kl24-kl25-mcus%3AFRDM-KL25Z FRDM-FXS-MULTI Design Resources Sensor Fusion Library for Kinetis MCUs Sensor Fusion Toolbox for Android Sensor Fusion Toolbox for Windows Training Hands on Workshop: Sensor Fusion Library for Kinetis MCUs Links Sensor Fusion NXP Community: Sensors Best of Sensors Expo (2014 Sensor's Expo)
Overview The FlexRay Brake-By-Wire reference design shows FlexRay capabilities such as high communication speed and channel fault detection. It uses the NXP® MC9S12XDP512 MCU for the pedal node and MC56F8346 DSC for the brake/wheel node; FlexRay connectivity of both nodes is based on the MFR4200 FlexRay communication controller The braking caliper is controlled by PMSM using Vector Control technique while the spinning wheel representing a real tire is powered by a BLDC motor The boards of the 2 engines are interconnected by a CAN bus Uses FlexRay baud rate of 10Mb/s per channel but both channels carry the same data, which enables demonstration of the FlexRay channel fault detection feature Features PMSM using Vector Control technique FlexRay communication speed 10Mb/s per channel Dual channel connection Channel fault detection Re-connection feature FreeMASTER tool based control pages Block Diagram Board Design Resources
KINETIS DESIGN STUDIO IS NO LONGER SUPPORTED BY NXP. Follow this link for more information:Kinetis Motor Suite Demo Kinetis motor suite is a highly intuitive motor control development solution that enables the design of sensored and sensorless BLDC & PMSM motor control applications quickly and efficiently, allowing those with limited or no motor control experience to develop an application. Features: Kinetis Motor Suite (KMS) is a software solution that simplifies the design and accelerates the development of motor control applications. KMS consists of 4 main components: motor tuner, motor manager, motor observer, and an open source reference solution that improves overall motor system performance due to its unique SpinTAC™ enabled motion controller. KMS is designed for developers of all experience levels, enabling rapid development via the graphical user interface and close integration with Kinetis Design Studio, or by directly controlling the function blocks via the natural API interface after initial tuning and configuration. KMS enables speed and position control across the complete operating range of any type of 3-ph PMSM or BLDC motor regardless of power level. Increased Efficiency To increase your motor’s efficiency while further reducing time-to-market, Kinetis Motor Suite streamlines your design by implementing the SpinTAC™ control system from LineStream Technologies that includes Active Disturbance Rejection Control (ADRC) Technology. Kinetis Motor Suite reduces your time to market further with: Active disturbance rejection: Single Parameter tuning: traditional PID loop control is time consuming due to trial and error nature of tuning, and requires in-depth knowledge. KMS uses a single, intuitive variable to tune motor response. Automatic motor parameter identification: identifies motor characteristics and uses these to automatically tune the control loops. Automatic System Inertia Estimation: by measuring and incorporating greater knowledge of the mechanical system, KMS achieves tight control of the system’s motion further improving system performance. _______________________________________________________________________________________________________________________ Featured NXP Products: Product Link Kinetis® V Series https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/kv-series-cortex-m4-m0-plus-m7:KINETIS_V_SERIES?&cof=0&am=0 Freedom Development Platform for Kinetis® KV3x Family MCUs https://www.nxp.com/design/development-boards/freedom-development-boards/mcu-boards/freedom-development-platform-for-kinetis-kv3x-family-mcus:FRDM-KV31F?&lang_cd=en NXP® Freedom Development Platform for Low-Voltage, 3-Phase PMSM Motor Control FRDM-MC-LVPMSM|Freedom Development Platform | NXP Low-Voltage, 3-Phase Motor Kit for FRDM platform FRDM-MC-LVMTR|Freedom Development Platform | NXP High-Voltage Development Platform https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/kv-series-cortex-m4-m0-plus-m7/high-voltage-development-platform:HVP-MC3PH?&fsrch=1&sr=1&pageNum=1 Low-Voltage, 3-Phase Motor Control Tower® System Module https://www.nxp.com/design/development-boards/tower-development-boards/peripheral-modules/low-voltage-3-phase-motor-control-tower-system-module:TWR-MC-LV3PH?&lang_cd=en _______________________________________________________________________________________________________________________ Online Training: Kinetis V Series MCU Online Training|NXP Blogs Zero to Hero: BLDC Electric Motor Control Introduction to Kinetis Motor Suite (KMS) _______________________________________________________________________________________________________________________
This NXP demo is a combination of two demos running on the MIMXRT1050-EVK board, showing USB Type-C power delivery and a GUI with touch interface running on the i.MXRT1050 MCU. See video of demo below. First example is USBPD demo from the MCUXpresso Software Development Kit (SDK) for the kit. This SDK can be downloaded from https://mcuxpresso.nxp.com. The SDK USBPD project is included at \SDK_2.3.0_EVK-MIMXRT1050-OM13588\boards\evkmimxrt1050_om13588\usb_examples\usb_pd. This demo uses the FreeRTOS version. Generic description of this demo is included here in the SDK at \SDK_2.3.0_EVK-MIMXRT1050-OM13588\docs\usb\MCUXpresso SDK USB Type-C PD Stack User's Guide.pdf. Second example is a washing machine GUI using TouchGFX. This example is provided by Draupner Graphics with source code in their TouchGFX release, with more details shared here: https://touchgfx.com/nxp-semiconductors/i-mxrt1050-display-kit/ Here is a video overview of using this combined demo: Hardware Requirements ===================== For the full demo shown in the video, the following hardware is required: MIMXRT1050-EVK - eval kit for i.MXRT1050 MCU LCD - comes with MIMXRT1050-EVK OM13588 (x2) - USB Type-C shield board, two shields required FRDM-K64F - Kinetis K64 Freedom development board 0.1" female headers for Arduino connectors, not included Cables: USB Type-A to male micro-B (2 cables needed) USB Type-C male to Type-C male 9V power supply with barrel connector (2 supplies needed). Come with OM13588 kits Software Details ================ This demo was built with the following software versions: IAR Embedded Workbench for ARM v8.20.2 MCUXpresso SDK_2.3.0_EVK-MIMXRT1050-OM13588, Build Date: 2017-12-11 MCUXpresso SDK_2.3.0_FRDM-K64F-OM13588, Build Date: 2018-01-10 TouchGFX v4.9.0 Setup Video NXP Recommend Product Link USB Type-C Shield Board for Kinetis® Freedom and LPC Boards OM13588: USB Type-C Shield Board | NXP i.MX RT1050 Evaluation Kit i.MX RT1050 Evaluation Kit | NXP Freedom Development Platform for Kinetis® K64, K63, and K24 MCUs FRDM-K64F Platform|Freedom Development Board|Kinetis MCUs | NXP
Demo Ricardo Anguiano describes a memory game demo built by Mentor Graphics for their Embedded Systems Division's 20th Anniversary. The game uses 36 FRDM-K64F boards with Adafruit 2.8" capacitive touchscreens in a 6 x 6 grid. The FRDM-K64F boards run the Nucleus RTOS from Mentor Graphics. The FRDM-K64F boards are connected over Ethernet to a touchscreen-driven Boundary Devices BD-SL-i.MX6 (formerly the SABRE Lite board) game controller which also runs the Nucleus RTOS. Players start the game by viewing and studying the position of all 36 digital cards, the cards are flipped and the player must touch matching pairs for points before time expires. The memory game generated lots of interest with players coming back multiple times. It was a great way to introduce the ARM TechCon crowd to the Nucleus RTOS, which enjoys wide success in a number of vertical markets and product categories like industrial, medical, IoT, wearables and automotive. The safety-certified version, Nucleus SafetyCert has been verified and documented to meet the certification requirements for device manufacturers developing safety related software for avionics requiring DO-178C Level A, industrial requiring IEC 61508 SIL 3, medical requiring IEC 62304 Class C, and automotive requiring ISO 26262 ASIL B. Features • A fun memory game built on Mentor Graphics' Nucleus RTOS, deployed on over 3 billion devices worldwide. • NXP FRDM-K64F and i.MX6 based hardware NXP products ARM Cortex-M4|Kinetis K64 120 MHz 32-bit MCUs i.MX6Q|i.MX 6Quad Processors|Quad Core Tools FRDM-K64F|Freedom Development Platform|Kinetis MCUs https://boundarydevices.com/product/sabre-lite-imx6-sbc/ Mentor Graphics Links https://www.mentor.com/embedded-software/nucleus/ https://www.mentor.com/embedded-software/nucleus/safety https://blogs.mentor.com/embedded/blog/2016/10/31/testing-your-memory-at-arm-techcon/
MCAT is a graphical tool for automatic calculation and real-time tuning of selected motor control structure parameters. MCAT can be used with fixed or floating point 16- or 32-bit data so can be used for MPC5xxx Microcontrollers, Kinetis Microcontrollers, Digital Signal Controllers, and The specified item was not found.. It also acts as a plug-in tool for Freemaster which allows real-time monitoring, tuning and parameter updating in a target application. This Tool is a HMTL-based user-friendly graphical plug-in tool for NXP's FreeMASTER. It is intended for the development of PMSM FOC applications, real-time control structure parameter tuning, and will aid motor control users in adapting our MC solutions to their motors without a detailed knowledge of PI controller constant calculations. https://community.nxp.com/players.brightcove.net/4089003392001/default_default/index.html?videoId=4282488626001" style="color: #05afc3; background-color: #ffffff; font-size: 14.4px;" target="_blankFeatures Up to three motor application support with independent access to each motor Utilizing a pole placement method for control parameter estimation Real-time tuning and updating of control parameters Preview of the static configuration of tuned parameters Generic output file with static configuration of tuned parameters Plug-in tool for FreeMASTER, not available as a standalone tool Offers basic and expert tuning mode Modular S/W concept, easy configurable Featured NXP Products MC56F84XXX Qorivva MPC56xx ARM® Cortex®-M4 High Performance MCUs: Kinetis K Series ARM® Cortex®-M0+/M4 Motor Control MCUs: Kinetis V Series