NXP Designs Knowledge Base

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NXP Designs Knowledge Base

Discussions

Sort by:
         LittleVgl作为一款开源免费的嵌入式GUI得到越来越多工程师的厚爱,我们可以看到很多小型HMI项目或者一些开源社区都在使用它作为GUI的框架,同时也受益于用户群的不断扩大以及一些半导体原厂的青睐(通俗点就是说有赞助有钱儿了),LittleVgl本身也在快速的不断更新迭代,易用的组件和相关的辅助开发工具在不断的增加,而RT1050/1060/1170系列作为一款带有LCD控制器的平台,自然成为了LittleVgl最佳的载体之一了。         LittleVgl本身的组件已经很丰富了,但是遗憾的是一直没有加入对中文输入法Keyboard的支持(看了下它在Github上的Contributor List没有华人),这让它在我们国内的应用有了一些限制(注意在某组件上显示中文和真正的中文输入法是不同的概念),所以本项目旨在解决该问题,即把一个简单轻量的中文输入法框架嵌入到LittleVgl并跑在RT1050平台上,并把它开源开放出来,所以不要小看了我的“公益心”,哈哈。下图是该示例设计的UI界面        下面进入正题,首先把测试环境给出来,方便有兴趣有能力的朋友可以自行搭建(当然应一部分偷懒的强烈需求,我随本文档也附赠了完整的移植好的工程),然后我再一步一步地给出如何移植这套框架到用户自己的工程里,当然我已经把代码本身做了很多优化,尽量减小环境依赖,力求最少步骤的移植过程,理论上来讲不太会出现移植后编译出一堆Error的问题,咳咳。。。下面我们赶紧开整吧: 测试环境: SDK版本:SDK_v2.9.1 SDK参考例程:boards\evkbimxrt1050\littlevgl_examples\littlevgl_demo_widgets LittleVgl版本:v7.4.0 IDE工具:Keil_v5.31 开发板:MIMXRT1050-EVK + 480*272 RGB LCD屏 软件说明: 我们先看下这套中文输入法所需的几个文件,如下图所示,.c和.h文件加起来一共7个,其中nxp_logo.c只是我额外加的一个NXP的官方logo图标转成的C数组文件供littleVgl调用显示,属于锦上添花的东西,可有可无,真正跟输入法相关的是剩下的6个文件,下面我们逐一介绍下这几个文件的作用: 1. qwerty_py.c/.h:        实际上这两个文件才是这套全键盘拼音中文输入法的核心框架,实现了对输入的拼音字母进行索引匹配对应的汉字候选列表,这部分我是移植了如下链接中网友分享的代码,所以这两个文件我的角色只是一个大自然搬运工,不过说实话我是很感激该网友的无私分享的(这也是我一直推崇开源分享精神的源动力),之前对平时使用的各种输入法里面的算法原理一直充满好奇,直到看了这篇文章后才豁然开朗,“So that is what it is!”,让我获益匪浅(可能人的学习曲线和知识体系就是这样一点一滴的积累吧),而且更关键的是,如果让我继续往下开发诸如拼音联想和多汉字输入等功能的话,我更多关心的可能只是逻辑搭建的工作量问题,而不是纠结于Yes or No的问题了,因为咱已经了解了其最底层的工作原理了,所以很多复杂的事情,我们如果能抽丝剥茧的找到其最底层的本质(虽然这真的很难),那很多让人抓耳挠腮的问题很快就可以理清思路。说到这里我思维又发散了,呵呵,我想起让Linus Torvalds等一波老大神们一直头疼的Linux内核维护后继无人的问题,其实我的个人理解有很大一部分原因是如今的Linux太庞大了以至于几乎没有后辈的人对Linux的理解能赶上这些老辈大神,而这些老辈大神的最大优势是他们创建了Linux最早期的底层框架而且难能可贵的是一直在follow Linux每个版本的历史。总之,推荐大家看看如下这篇文章吧(实际上主要内容也都是代码),希望能各有所获; https://www.amobbs.com/thread-5668320-1-1.html?_dsign=0939dcbd 2. lv_chs_keyboard.c/.c文件:        这部分就是我的工作了(咱也不能啥都搬运…,这是体现咱的value的东西不是),我把它当作littleVgl的一个补充组件来写的,里面的大多数API参考官方littlevgl的lv_keyboard.c,所谓的文章开头的嵌入中文输入法到LittleVgl GUI环境中实际上就是这两个文件干的活,即将上面提到qwerty.c/.h实现的拼音输入法与LittleVgl框架结合到一块,起到一个桥梁的作用,所以如果你想把这套中文输入法嵌入到其他GUI环境中的话(比如emWin,GUIX,TouchGFX等),那主要的工作就是参考这两个文件的内容了; 3. lv_font_NotoSansCJKsc_Regular.c字体文件:        虽然littleVgl官方源码包里自带了一个中文字体文件(\lvgl\src\lv_font\lv_font_simsun_16_cjk.c),但是它只包含了1000个左右最常用的字,我实际体验了下很多我们想用的字都找不到,所以这个时候就需要自己去做一个更全一点的字体库了。这里面涉及到两个问题需要考虑,第一是很多我们常见的中文字体是收费的(咱PC机的Microsoft Office套件里的中文字体都是微软付费买的,所以咱也理解下早年正版Windows为啥辣么贵了,那你问为啥现在便宜了?因为人家现在不靠这个赚钱了呗),第二个是字体转换工具的问题,我们网上找到的字体都是TTF或者OTF格式的,但littleVgl是不认的,需要转换成它支持的字体格式。        对于第一个问题,我网上搜了好久最终选择了目前用的比较多的Google开源免费的字体,Google真乃金主也,它维护的网站里面字体各种各样啥都有且是开源免费的,如下链接,我选择的是NotoSansCJKsc字体(最后面的sc表示simplified Chinese,简体中文),然后它里面又包含了各种字形(regular, bold, light等),可以根据需要自行选择,整个包很大(100多MB),拆分成不同字形的就小了(每个14~16MB左右); https://www.google.com/get/noto/        对于第二个字体转换工具的问题,LittleVgl官方自带了一个字体转换工具(online font converter),我个人觉着不太好用(对OTF字体支持的不行),这里推荐阿里大神自己做的一个LittleVgl字体转换工具(LvglFontTool),非常方便好用,且支持加入Awesome图标; http://www.lfly.xyz/forum.php?mod=viewthread&tid=24&extra=page%3D1        关于字体这部分我需要再补充个问题,就是它占用的memory大小,毕竟我们是在嵌入式MCU平台Flash和RAM的资源是受限的,如下图所示,该字体文件占用大概1Mbytes的rodata空间(即可寻址的Flash空间,当然该大小可以通过在上图转换工具中增减一些文字来调 整),所以在移植本套输入法之前需要预留足够的Flash空间,当然对RT平台来说这部分还好,毕竟其本身就外扩至少几MB空间的QSPI Flash作为存储空间的。 4. lv_demo_chineseinput.c/.h文件:        这两个文件属于应用层实现了,主要关注该文件中下图的ta_event_cb函数(即textarea事件的callback,点击文本框的输入时回调),在里面我们需要按照1,2,3去调用即可(这三步的API均在lv_chs_keyboard.c/h文件里实现);        至此,这套全键盘拼音中文输入法框架所需的几个文件就介绍完了,用户只需要把这几个文件放到自己的工程设置好文件搜索路径,并参考随本文档附带的代码工程示例,再结合自己产品的GUI样式,把这套中文输入法嵌入到自己应用当中。
View full article
  Overview   NXP ®  offers PowerQUICC ® . and ColdFire ® . processors and a large selection of 8-bit MCUs that support common point-of-sale (POS) printer applications for retail and services industry customer receipts. Benefits include Low cost and complexity OS support to control print-heads, paper handling, character management, scanner inputs Management of digital/analog inputs and controls Multiple connectivity options Flexibility to address multiple mixed-feature applications   Block Diagram     Recommended Products   Category Name MCU and MPU 32-bit Microprocessor with USB On-The-Go, Ethernet, PCI, DDR2/DDR controller and Encryption | NXP  32-bit MPU, 10/100 ETH, USB OTG, PCI. i.MX258 Processors|Point of Sale (POS) | NXP  400 MHz Arm9®, SVGA, 10/100 ETH, CAN, tamper detection, <1W i.MX28 Applications Processors: Integrated Power Management Unit (PMU), Arm9™ Core | NXP  454 MHz Arm9®, SVGA, 10/100 ETH, CAN, PMU, <1W i.MX 6Solo Applications Processors | Single Arm® Cortex®-A9 @ 1GHz | NXP  1 GHz Arm® Cortex™-A9, 2xWXGA, graphics, video, 10/100/1000 ETH, CAN, PCIe, PMU 8-bit Flexis QE MCUs | NXP  Flexis Low-Power 8-bit MCU 4-128K Flash.   Category Name Power Management 3.0A 1.0MHz DDR Switch-Mode Power Supply | NXP  Li-Ion Battery Charger, DDR Switch-Mode Power Supply (3.0A, 1MHz).   Category Name Signal Conditioning MC33972 | MSDI with Suppressed Wakeup | NXP  Switch Detector 22 contacts. MSDI | NXP  Switch Detector 22 contacts.   Category Name Print Sensor 0 - 10kPa Integrated Pressure Sensor | NXP  Sensor On-Chip Signal Conditioned, Temperature Compensated and Calibrated.   Category Name Motor Driver MC33880 | Octal Serial Switch with SPI | NXP  Configurable Octal Serial Switch (LSS / HSS) for Motor Drive. MC34931 | H-Bridge, Brushed DC Motor Driver | NXP  H-Bridge Brushed DC Motor Driver, 5-28V, 5A, 11kHz MC34932 | H-Bridge, Brushed DC Motor Driver | NXP  H-Bridge Brushed DC/Stepper Motor Driver, 5-28V, 5A, 11kHz MC33886 | H-Bridge, Brushed DC Motor Driver | NXP  H-Bridge Brushed DC Motor Driver, 5-28V, 5A, 10kHz MC33926 | H-Bridge, Brushed DC Motor Driver | NXP  H-Bridge Brushed DC Motor Driver, 5-28V, 5A, 20kHz Dual H-Bridge Motor Driver 2-8.6 V 1.4 A 200 kHz | NXP  H-Bridge Brushed DC/Stepper Motor Driver, 2-8.6V, 1.4A, 200kHz H-Bridge DC Motor Driver 2-15 V 3.8 A 200 kHz | NXP  H-Bridge Brushed DC Motor Driver, 2-15V, 3.8A, 200kHz   Documentation   Application Notes: Simplified EHCI Data Structures for the High-End ColdFire ®  Family USB Modules https://www.nxp.com/docs/en/application-note-software/AN3522.pdf
View full article
Smart Thermostat reference demo is based on Kinetis family MCU (K70F120M) and KW24D512 zigBee coordinator. The demo kit has an HVAC application which controls the heat/cool temperature, hvac mode etc of the remote temperature sensor via zigBee coordinator. The demo kit Connects to WAN via Ethernet or wifi. The wifi module used is a wifi module from Qualcomm.  The embedded DeviceCloud cloud agent provides firewall agnostic instant cloud connectivity. The device can be registered and authenticated with DCIO cloud platform and the remote temperature sensor can be monitored and controlled through DCIO Mobile Application.   The K70 application is built for MQX RTOS v4.0.2 and uses our PEG graphics library for the user interface displayed on an LCD. The K24 application is built on MQX-Lite RTOS, uses our BeeStack ZigBee stack. The demo will also connect with an off-the-shelf ZigBee light bulb and wirelessly controls it.   The reference design provides guidelines for building solutions using connected devices that can be managed, provisioned and monitored from Cloud and Mobile applications.   Features Kinetis Smart Thermostat Qualcomm-Atheros GT 202 Carrier board MQX Software Solutions RTOS 4.0.2 BeeStack ZigBee stack HVAC application deviceCloud.io's cloud agent deviceCloud.io's Mobile App deviceCloud.io's web based solution   NXP Products Product Link Kinetis® KW2x Tower System Modules TWR-KW2x|Tower System Board|Kinetis® MCUs | NXP  Kinetis K70 120 MHz Tower System Module TWR-K70F120M|Tower System Board|Kinetis MCUs | NXP  Links Connected HVAC Demo with deviceCloud.io Cloud Solution   System Diagram Hardware Diagram Software Diagram Connectivity Diagram  
View full article
Overview The NXP® Healthcare Analog Front End reference platform is a complete set of portable medical solutions that enable designers with rapid development tools. Provides ready-to-develop hardware and software that facilitates the design of medical assets such as vital signs monitors, glucose meters and digital stethoscopes, among other portable and healthcare professional devices Based on the Kinetis® K53 high-performance, low-cost, low-power MCU Embeds a complete analog measurement engine including Opamps, TRIAMPS, ADCs, DACs and analog comparators among other modules, reducing costs and PCB sizes Features Developed using the Kinetis ®  K53 MCU, featuring an Arm ®  Cortex ® -M4 core Kinetis K53 MCU also provides low-power operation, DSP capabilities, USB and graphic interface support and a complete analog measurement engine Includes six healthcare-specific analog front ends with reusable software and hardware NXP ®  provides a full set of software tools (CodeWarrior ® , USBSTACK, MQX™ RTOS) NXP product longevity program offers up to 15-year availability for selected products Block Diagram Board Video Design Resources
View full article
This doc explain bootloader secure boot feature and how to re-develop it to support: .FW update .OTP attribute access .IVT protect: 目录 1 参考资料 .................................................................... 2 2 S32G Secure Boot说明 ............................................. 2 2.1 IVT头格式与Secure Boot相关 ................................ 3 2.2 Secure Boot流程 .................................................... 3 2.3 Secure Boot配置 .................................................... 4 2.4 Secure Boot涉及到的HSE内容 ............................... 6 3 环境搭建 .................................................................... 7 3.1 搭建编译环境 .......................................................... 7 3.2 IVT镜像制造 ........................................................... 7 3.3 镜像烧写 ................................................................. 8 3.4 Bootloader Secure Boot测试 .................................. 8 4 Bootloader Secure Boot代码与功能说明 ................... 9 4.1 EB配置说明: ........................................................ 9 4.2 EB生成代码说明: ............................................... 15 5 定制1:HSE FW update .......................................... 22 5.1 代码开发 ............................................................... 22 5.2 测试 ...................................................................... 25 6 定制2:HSE OTP Attribute设置 ............................... 26 6.1 代码开发 ............................................................... 26 6.2 模拟测试 ............................................................... 33 7 定制3:IVT签名 ....................................................... 35 7.1 代码开发 ............................................................... 35 7.2 模拟测试 ............................................................... 40 Contents 1 Reference Materials .................................................. 2 2 S32G Secure Boot ..................................................... 3 2.1 IVT header format for the Secure Boot part .......... 3 2.2 Secure Boot Flow ................................................... 3 2.3 Secure Boot Configuration ..................................... 4 2.4 HSE background of Secure Boot ........................... 6 3 Build the Project ........................................................ 7 3.1 Build the Compiling Environment ........................... 7 3.2 Create IVT Image ................................................... 7 3.3 Burning Image ........................................................ 8 3.4 Bootloader Secure Boot Testing ............................ 9 4 Bootloader Secure Boot Codes and Function Description 9 4.1 EB Configuration .................................................... 9 4.2 EB output codes ................................................... 15 5 Customization 1:HSE FW update ......................... 22 5.1 Codes development ............................................. 23 5.2 Testing ................................................................. 26 6 Customization 2:HSE OTP Attribute Setting ......... 26 6.1 Code Development .............................................. 27 6.2 Simulation test ...................................................... 34 7 Customization 3:IVT Signature ............................. 36 7.1 Codes Development ............................................. 36 7.2 Simulation Testing ................................................ 40  
View full article
Demo Wheel rotation is controlled by the SB0400 DC motor pre-driver. When the wheel is stopped manually, the Wheel Speed Sensor -KMI23- detects it & sends a signal to the SB0400 motor pre-driver & S32K MCU to activate the electromagnet Products 32-bit Automotive General Purpose MCUs|NXP Motorcycle Two-Wheel Antilock Braking (ABS)|NXP KMI23_KMI25|NXP  Links Motorcycle Two-Wheel Antilock Braking (ABS)|NXP  Analog Expert Software and Tools|NXP  Recommended product Link S32K144EVB https://www.nxp.com/design/development-boards/automotive-development-platforms/s32k-mcu-platforms/s32k144-evaluation-board:S32K144EVB?&fsrch=1&sr=1&pageNum=1
View full article
Cloud-Connected Parking Spot Sensor Demo This demo shows a use case of the LS1021 IoT GW along with a FRDM-KW24 powered Magnetometer sensor to monitor the  car parking spot  locations such as garage parking  in a building, Traffic Management and Traffic Monitoring   The data can be reported and monitored from the Cloud. Features: Small footprint platform with a wide variety of high-speed connectivity and low-speed serial interfaces through the use of the ARM-based QorIQ LS1021A embedded processor. The  FRDM-KW2 sensor data is send via Thread to the LS1021 IoT GW and The Proximetry Agent posts information to cloud server. _______________________________________________________________________________________________________ Featured NXP Products: Product Link Freedom Development Platform for Kinetis® KW2x MCUs FRDM-KW24D512|Freedom Development Platform|Kinetis | NXP  LS1021A-IoT Gateway Reference Design https://www.nxp.com/design/designs/ls1021a-iot-gateway-reference-design:LS1021A-IoT?&lang_cd=en _______________________________________________________________________________________________________ N15
View full article
Description The user interface of a product is a key element that design engineers need to address to provide a compelling user experience. Touchpads, slides and rotaries offer a more intuitive and effective way of user interaction than traditional buttons. And, designing a touch-based user interface is simplified with this NXP touch solution. The touch function is more and more popular in the consumer market, especially in the white-good field. The KE15Z series of MCUs offers the Touch Sensing Interface (TSI) which recognizes finger touch by sensing capacitance changes. Features Advanced EMC robustness, pass IEC61000-4-6 standard test Supports both self-cap sensor and mutual-cap sensor, up to 36 touch keys Low BOM cost per touch key, no need for external devices Adjustable touch sensing resolution and sensitivity, high-performance for waterproof applications Low-power support Block Diagram Products Category Name 1: MCU Product URL 1 Arm Cortex-M0+|Kinetis KE1xZ 32-bit 5V MCUs with Touch Interface | NXP  Product Description 1 The KE1xZ includes a robust TSI module which provides a high level of stability and accuracy to any HMI system. These MCUs support up to 256 KB flash, 32 KB RAM, and a complete set of analog/digital features. Category Name 2: Wireless Product URL 1 Arm® Cortex®-M0+|Kinetis® KW41Z 2.4 GHz Bluetooth Low Energy Thread Zigbee Radio MCUs | NXP  Product Description 1 The KW41Z is an ideal solution for true single-chip designs that require concurrent communication on both a Bluetooth Low Energy network and an 802.15.4-based network such as Thread and Zigbee. Documentation KE15Z TSI Development for Low Power Applications:  https://www.nxp.com/docs/en/application-note/AN5420.pdf  Demos Touch Sense Interface for Kinetis KE15Z MCUs  Tools Product Link FRDM-KW41Z: Freedom Development Kit for Kinetis® KW41Z/31Z/21Z MCUs FRDM-KW41Z |Bluetooth Thread Zigbee enabled Freedom Development Kit | NXP  FRDM-TOUCH: Touch Module for Freedom Board FRDM-TOUCH|Touch Module for Freedom Board | NXP 
View full article
Demo High performance feature extraction and tracking application at ultra-low power on S32V platform. This demo showcases a real-time high computation algorithm with image capture and display running on a portion of the resources available on the S32V234. Customers can create demanding Automotive grade vision systems such as stereo and single camera as well as advanced surround view systems based on this demo. The application was written using APEX-CV pro library and demonstrates that high performance application leveraging the APEX Image Cognition Processor cores of the S32V234 could also be easy to write Features The APEX cores, with a combined 128 parallel computational units, crunch numbers quickly and at a fraction of the power. Fully programmable, the cores can execute standard and/or customized vision algorithms for ADAS applications and beyond. The S32V234 MCU captures raw images from HD sensor, and then formats the images with its on-chip ISP that here provides exposure control, white balancing, RGB to Y color conversion.  Formatted images are then feed into the APEX cores that generate multi-level image pyramids, and combined Harris Corner for feature detection followed by Lukas-Kanade (KLT) Sparse Optical Flow for feature tracking.  Then features and displacement are overlaid on image and displayed, at the processing performance of up to 100 fps NXP Recommends The S32V230 Processor family for Vision ADAS, includes the award winning automotive grade S32V234 MCU with dual APEX Image Cognition Processor cores. http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/s32-processors-and-microcontrollers/s32v230-family-of-processors-for-advanced-driver-assistance-systems:S32V230 Video Links
View full article
  Overview Barcode scanners are essential in everyday activities including grocery scanning, identifying hospital patients, and tracking boxes or products in a production line or warehouse. In all cases, they must prove to be fast, accurate, and durable in various environments. Barcode scanners use laser, bioptic, or image scanning technology to scan 1D or 2D barcodes. Depending on the application, they are designed to be handheld, in-counter, on-counter or hands-free. For connectivity, barcode scanners connect via serial interfaces such as RS-232, USB or wirelessly using Bluetooth or Wi-Fi. Barcode scanners require high-performance MCUs which provide design flexibility at a low cost and can process data quickly and securely. With a combination of our wide variety of products including Arm ®  Cortex ®  processors, power management ICs, capacitive touch devices, NFC contactless reader devices, audio codec devices, load switches, RTC’s, smart amplifiers, battery authentication devices, smart amplifiers, and others, designing a barcode scanner that is fast, accurate, and durable is simple and cost-effective. Block Diagram     Videos       Recommended Products   Category Name MPU i.MX RT1050 MCU/Applications Crossover MCU| Arm® Cortex-M7, 512KB SRAM | NXP  Highest performing Arm® Cortex®-M7, 3020 CoreMark/1284 DMIPS @ 600 MHz i.MX 6ULL Applications Processor | Single Arm® Cortex®-A7 @ 900 MHz | NXP  Arm Cortex-A7 core up to 900 MHz, 128 KB L2 cache, Security Block: TRNG, Crypto Engine (AES with DPA, TDES/SHA/RSA), Secure Boot i.MX 8M Applications Processor | Arm® Cortex®-A53, Cortex-M4 | 4K display resolution | NXP  i.MX 8M Family - Arm® Cortex®-A53, Cortex-M4, Audio, Voice, Video   Category Name NFC CLRC663 plus family | High-performance NFC frontends | NXP  Multiple interfaces to support a broad range of microcontrollers and high-security reader implementations. Supply voltage: 2.5 to 5.5 V. NFC Tags for Electronics | NXP  Offload the cumbersome task of provisioning a new device onto an existing network. Energy harvesting capabilities to power battery operated devices. NTAG SmartSensor | NXP  Offers single-chip solutions that combine NFC connectivity with autonomous sensing, data processing, and logging.   Category Name Power Management PCA9411 | NXP  ±3 % output voltage accuracy over full current, voltage and temperature range and efficiency up to 94% Voltage Level Translators (Level Shifters) | NXP  Bi-directional level shifter and translator circuits include a range from single-bit to 32-bit widths PMIC with 1A Li+ Linear Battery Charger | NXP  Input voltage VIN from 5V bus, USB, or AC adapter (4.1 V to 6.0 V) withstands up to 22V transient. DDR memory reference voltage, VREFDDR, 0.5 to 0.9 V, 10 mA.   Category Name Audio Ultra-Low-Power Audio Codec | NXP  Capless headphone and an integrated PLL to allow clock reuse within the system that helps achieve a lower overall system cost. Audio Amplifiers | NXP  Audio amplifiers deliver leading performance for sound, robustness and EMC performance.   Category Name Secure A1006 | Secure Authenticator IC: Embedded Security Platform | NXP  Authentication time (on-chip calculations) < 50 ms. Power Consumption: 500 μA active. Minimum 10 years memory retention at 85°C   Category Name USB USB PD and type C current-limited power switch | NXP  VINT supply voltage range from 2.5 V to 5.5 V, 29 V Tolerance on VBUS and EN Pin. PTN5110 | NXP  Designed to comply with USB PD, USB Type-C and TCPC specifications. Back current protection on all pins when PTN5110 is unpowered.   Category Name Peripherals PCF8883 | NXP  Wide input capacitance range (10 pF to 60 pF) and automatic calibration. PCF8523 | NXP  Provides year, month, day, weekday, hours, minutes, and seconds based on a 32.768 kHz quartz crystal. Resolution: seconds to years. PCAL6416AEX | NXP  16-bit general purpose I/O expander. Latched outputs with 25 mA drive maximum capability.
View full article
This in home energy display  and Solar Panel demo illustrates a very low-cost  solution for real-time energy monitoring . A DSC-based dedicated control PV inverter from Future supports the MPPT algorithm for optimal power delivery from the solar panel.   Features This Solar Panel demo illustrates a very low-cost connectivity solution for real-time energy monitoring A DSC-based dedicated control PV inverter from Future supports the MPPT algorithm for optimal power delivery from the solar panel    
View full article
         随着近年来人们对日常出行品质的提高,电动自行车(包括共享类)市场得到了飞速发展,其功能日趋复杂智能。作为电控部分的“三大件”,电驱,主控和仪表也在不断升级迭代,其中电驱发展经历了最早期的直流有刷电机驱动到直流无刷方波驱动再到如今的 FOC 正弦波驱动,主控从以前附属在电驱或者仪表里的边缘化概念到如今独立出来的中心化,仪表则从普通的段式 LED 显示到如今尺寸越来越大功能越来越丰富的彩屏显示,而相对应的负责沟通互联“三大件”的通信总线也从传统的单总线到 TTL UART 到 RS485 再到如今逐渐展露头脚的 CAN 总线。对于电动自行车这种大众型消费市场来说,这些电控部分的升级换代给MCU 带来新的机遇的同时也对其性能,外设资源和价格带来了极大挑战。基于此, 针对三大件之一的仪表市场,NXP 开发了一套基于高性价比 LPC5506 系列 MCU 的 E-Bike 迈速表中低端显示屏方案。 系统框图: 主要特性: 4.5v~85v宽范围电压输入,支持24v,36v和48v锂电池组电源直接接入; 主控LPC5506支持CAN通信,8080 16bit/8bit LCD接口,且封装为LQFP 10*10mm,利于仪表小型化; 支持3.5寸320*480 16bit及以下尺寸的TFT LCD显示屏,预留I2C接口的电阻屏触摸控制芯片; 支持开源免费的ZLG AWTK GUI和LittleVgl GUI框架; 板载光敏传感器,可用于根据环境光自动调节LCD背光亮度; 板载六轴Motion Sensor(MPU6050),可用于转把方向检测,防盗检测和自行车摔倒检测等; 板载GPS和BLE模块,可用于定位,精确授时校准,行车轨迹离线存储或者与手机蓝牙通信; 板载4MB SPI Flash,用于图片和字体资源,GPS坐标轨迹存储和其他重要信息存储; 预留了USB Type-C电源供电端口和调试串口,方便工程师调试。 软件环境:        当前版本的软件代码工程有三份,一份为基于ZLG AWTK GUI的完整E-Bike迈速表工程,可显示车速仪表盘,里程,档位和电池电压等行车参数,也可以进入简单的功能设置界面浏览当前系统信息,且支持通过指定的CAN帧格式更新当前GUI界面的参数信息。一份为基于NXP GUIGuider图形化工具设计开发的LVGL版本E-Bike迈速表工程,分为3个子界面显示车速和骑行状态等详细信息。第三份为移植到本参考设计上的LVGL官方Demo例程,里面包含了配置好的EZH驱动库和LittleVgl基本的设备输入输出框架,用户可以基于此例程灵活开发定制自己的LVGL based其他GUI应用。        目前基于ZLG AWTK和LVGL GUI的E-Bike迈速表显示屏方案在经过优化之后对主控MCU的资源的占用以及GUI整体刷新性能如下表1,由于两个工程所使用的GUI素材和布局不一样,所以不要对两者的资源占用和性能参数做对比。他们都可以满足大部分客户的应用需求(>15fps)。如果将显示屏的分辨率降低到320*240及以下小尺寸的情况下,整个系统的资源占用会相应的减小,刷新性能也会得到更大的提升。 表1 方案资源占用及GUI刷新性能(分辨率320*480 16bit) Demo Code Flash RAM Refresh Rate AWTK GUI Version 202KB 61KB 22fps LVGL GUI Version 206KB 78KB 17fps 写在最后:        本参考设计的初衷是针对E-Bike中低端仪表显示屏市场提供一个高性价比的选择,同时也可以作为一个对于显示,CAN通信和小封装有类似需求的平台性的参考方案推广,比如电摩,带显示屏的便携式医疗设备和工业IoT设备等,希望此方案能给市场带来更好的用户体验和高性价比的选择。 注:由于代码工程超过25M,不能上传到该Community,如有需要请联系NXP销售或FAE索取。
View full article
Demo Enable Your Device with Amazon® Alexa®  Quickly integrate Alexa voice capabilities into your product Reference design based on i.MX 7Dual applications processor Easily create high-performance, far-field voice experiences with Echo-quality performance using Amazon’s best-in-class 7-microphone circular array Technology for “Alexa” wake word recognition Beam forming Noise reduction Acoustic echo cancellation Barge-in capabilities Products i.MX 7Dual Arm Cortex-A7 Processor|NXP  12-Channel Configurable PMIC|NXP  Link Amazon Alexa Reference Design based on the Pico i.MX7 Dual|NXP  Training Voice Control Solutions: Creating Amazon® Alexa® Devices with i.MX 
View full article
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)  
View full article
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 
View full article
Demo Watch as the i.MX 8 development vehicle takes data in from the camera and uses one GPU and applies an image segmentation algorithm. The info is then fed to another GPU dedicated to a neural network inference engine which recognizes the traffic sign Products i.MX 8 Series Applications Processors|NXP  Training i.MX 8 Applications Processors Family Overview: i.MX 8, i.MX 8X, i.MX 8M  i.MX 8M Processor Overview and the Road Ahead  Micron’s Memory Solutions for the New i.MX 8 Microprocessor   
View full article
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
View full article
Demo WaRP7 is an open source platform backed by the development community, design and manufacturing capabilities of element14. Features: CPU:  NXP i.MX 7Solo applications processor (Cortex TM -A7/Cortex TM –M4) Memory: 8GB eMMC 5.0 and 4Gb LPDDR3 Connectivity: WiFi, Bluetooth, BLE, USB-OTG, NFC Multimedia I/F: Camera, MIPI Display, Audio Sensors: Accelerometer, Barometer, Gyroscope Power: PMIC, Battery charger  BSP: Linux 3.14, Android 5.1 __________________________________________________________________________________________________________________ Featured NXP Products: i.MX7D: i.MX 7Dual Processors - Heterogeneous Processing with dual ARM® Cortex®-A7 cores and Cortex-M4 core Link WaRP7
View full article
Demo This solution showcases the i.MX 6QuadPlus along with the MMPF0100 Power Management to enable the 2D/3D cluster, infotainment and rear view camera.      Features: High performance smooth 3D graphics based on the i.MX 6QuadPlus applications processor running on Linux. On the fly rendering of the infotainment menu. Seamlessly integrate extremely responsive instruments and highly complex 3D content Optimal usage of the CPU and GPU to achieve high-end graphics on the power effective and system cost effective i.MX Switch between HD video playback and the rear view camera on the secondary display Menu can be blended over the map (BG layer) using transparency   _______________________________________________________________________________________________________________________ Featured NXP Products: Product Link i.MX 6QuadPlus Processor i.MX 6QuadPlus Applications Processors | Quad Arm® Cortex®-A9 with extreme graphics performance and enhanced power manag…  i.MX 6DualPlus Processor i.MX 6DualPlus Applications Processors | Dual Arm Cortex-A9 for extreme graphics performance| 1.2 GHz | NXP  14-Channel Configurable Power Management IC 14-Channel Configurable Power Management IC | NXP  SABRE for Automotive Infotainment Based on the i.MX 6 Series SABRE|Automotive-Infotainment|i.MX6 | NXP    _________________________________________________________________________________________________________________________   Screen shot 1: Cluster with 3D maps Real-Time 3D map (created in Blender): 640 abstract buildings. 20 different building types. 3 “special” buildings. One building type. 5x5 map grid. Dynamic, directional lighting. Calculating and updating car chase camera every frame. Smooth 3D animations even at 30 Hz. This is no video!     Screen shot 2: Secondary Display playing Video or RearView Camera
View full article
S32G Host Secure debug methods with Lauterbach tool after LC is updated, and some details about secure debug knowledge in S32G. 本文主要描述S32G在演进生命后如何使用lauterbach工具来进行调试,涉及到S32G HSE相关知识点。
View full article