NXP Designs Knowledge Base

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

NXP Designs Knowledge Base

Discussions

Sort by:
Demo New S32V234 silicon demonstrating the MIPI CSI camera connection with execution of ISP algorithm and comparison with original camera image. New ADAS solution for vision, sensor fusion and surround view application Quad-core ARM® Cortex®-A53 processor, CogniVue APEX™, Vivante GC3000 GPU, and advanced memory bus system architecture Integrated ISP for camera video input and filtering Featured NXP Product S32V230 Family of Processors for Advanced Dri|NXP Other Advanced Driver Assistance Systems (ADAS)|NXP
View full article
在KW3x蓝牙低功耗应用中集成 NFC读卡器库   URL:https://community.nxp.com/t5/Wireless-Connectivity-Knowledge/Integrating-NFC-Reader-Library-in-a-KW3x-Bluetooth-Low-Energy/ta-p/1121247 版本历史 修订编号:1(共1) 最后更新:10-01-2019 03:59 AM 更新:ovidiu_usturoi 1. 简介 1.1 文件目的 这篇文章提供了有关如何将 NFC读卡器库集成到KW3x蓝牙低功耗应用程序的详细说明。 1.2 受众 这篇文章的目的是为希望使用NFC Reader Library并将其集成到SDK无线连接示例中的软件开发人员提供指南。 1.3 参考资料和资源 NFC阅读器库:nxp.com/pages/:NFC-READER-LIBRARY -NCF3320:nxp.com/products/:NCx3320 -CLRC663 plus:nxp.com/products/:CLRC66303HN -FRDM-KW36板:nxp.com/demoboard/FRDM-KW36 -KW35 / KW36 SDK:https://mcuxpresso.nxp.com/en/select -MCUXpresso IDE:nxp.com/products/:MCUXpresso-IDE 2. NFC读卡库总览 恩智浦NFC读取器库是用C语言编写的模块化软件库,它提供了一套API,使客户能够为恩智浦非接触式读取器IC创建自己的软件栈和应用程序: - PN512; - CLRC633 家族; - PN7462 家族; - PN5180; 此API促进了NFC应用程序中所需的最常见操作,例如: -读取数据或将数据写入非接触式卡或标签; -与其他支持NFC的设备交换数据; - 允许NFC Reader IC实现卡模拟 NFC阅读器库的设计方式使其可以轻松移植到具有多层体系结构的许多不同微控制器中: (图片) 作为主模块,我们有: 应用层(AL)-实现命令集以与MIFARE卡和NFC标签进行交互。 -NFC活动-实施可配置的发现循环,以检测非接触式卡,NFC标签或其他NFC设备。 -HCE和P2P组件,分别用于仿真Type 4标签和P2P数据交换。 -协议抽象层(PAL)-包含ISO14443,Felica,近邻和NFC标准的RF协议实施。 -硬件抽象层(HAL)-实现用于控制NFC前端RF接口和功能的驱动程序。 -驱动程序抽象层(DAL)-在主机MCU和读卡器IC之间实现GPIO管脚配置, 定时器配置和物理接口(BAL)。 -OSAL模块,负责抽象OS或RTOS细节(任务事件,信号量和线程) 3. KW3x无线微控制器概述 KW3x无线微控制器(MCU)是高度集成的单芯片设备,可为汽车,工业和医疗/保健嵌入式系统提供低功耗蓝牙(Bluetooth LE)和通用FSK连接。 KW36 / 35无线MCU集成了Arm®Cortex®-M0+ CPU,最高有512 KB闪存和64 KB SRAM,以及2.4 GHz无线电,支持蓝牙LE 5.0和通用FSK调制。 蓝牙LE无线电在任何主/从组合中最多支持8个同时连接。 KW36A / 36Z包含一个集成的FlexCAN模块,该模块可以无缝集成到汽车或工业CAN通信网络中,从而可以通过Bluetooth LE与外部控制和传感器监视设备进行通信。 有关更多详细信息,请参阅恩智浦网站信息: https://www.nxp.com/products/wireless/bluetooth-low-energy:BLUETOOTH-LOW-ENERGY-BLE. 4. NFC阅读器库–与FRDM-KW36集成 当前的NFC阅读器库v5.21.01不包含对Kinetis KW3x MCU的支持。 我们将使用参考K82 NFC Reader Library软件包:www.nxp.com/pages/:NFC-READER-LIBRARY. 集成库所需的步骤是: -硬件准备(FRDM-KW36和NFC读卡器板之间的连接); -设置开发环境(SDK下载,工作空间); -为FRDM-KW3x板准备适配文件; -将NFC应用程序集成到Wireless_UART Bluetooth LE示例中; -运行演示; 4.1 硬件准备 所需硬件: -NCF3320天线v1.0板作为NFC收发器; -FRDM-KW36板作为主机MCU,用于加载和运行蓝牙低功耗协议栈和NFC应用逻辑; (图片) 板卡之间的通信将使用以下引脚配置通过SPI通信进行: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Master board (FRDM-KW36)         Connects to            Slave board (NCF3320 Antenna v1.0)           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PTB0  (J2-pin10)                                      -                   IRQ PTB1  (J2-pin9)                              -                    Reset PTA16 (J2-pin1 - SPI1_Sout)                    -                    MOSI PTA17 (J1-pin5 - SPI1_Sin)                      -                    MISO PTA18 (J1-pin7 - SPI1_SCK)                -                 SCK PTA19 (J2-pin3 - SPI1_CS)                 -                  CS GND   (J3-pin7)                           -                  GND ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4.3 搭建开发环境 安装MCUXpresso IDE(在本示例中,我们使用的是v10.2.0 build 759) -转到MCUXpresso-IDE网页并下载最新版本的IDE: www.nxp.com/products/:MCUXpresso-IDE. -安装IDE (图片) 获取最新的NFC Reader Library版本(在此示例中,我们使用的是v5.21.00) -转到NXP NFC Reader Library网页(www.nxp.com/pages/:NFC-READER-LIBRARY) -转到下载标签,然后点击下载按钮 -下载Kinetis K82F软件包的NFC阅读器库: (图片) 为FRDM-KW36板生成可下载的SDK软件包(SDK_2.2.1_FRDM-KW36) -导航至https://mcuxpresso.nxp.com/cn/select,然后选择FRDM-KW36板; -选择构建MCUXpresso SDK。 -作为工具链,请确保已选择MCUXpresso IDE。 -使用“下载SDK”按钮开始下载SDK软件包: (图片) 创建MCUXpresso工作区 -打开MCUXpresso IDE并创建一个工作区; -将SDK_2.2.1_FRDM-KW36拖放到MCUXpresso IDE的已安装SDK选项卡中; (图片) -将Wireless_Uart示例导入到当前工作空间: (图片) 4.3准备FRDM-KW3x板的适配文件 本章介绍FRDM-KW36所需的驱动程序抽象层(DAL)更改: -解压缩NFC Reader Library并导航到boards文件夹: (图片) -通过为GPIO和处理程序设置正确的配置,为FRDM-KW36创建等效文件(Board_FRDM_KW36FRc663.h); -与FRDM-K82F板相比,以下是FRDM-KW36板所需的差异: (图片) -将FRMD-KW36添加到…DAL \ cfg \ BoardSelection.h文件中: #ifdef PHDRIVER_FRDM_KW36FRC663_BOARD #include <Board_FRDM_KW36FRc663.h> #endif -在KinetisSDK文件夹中,更新以下依赖项: o PIT驱动程序IRQ名称: (图片) o打开漏极和引脚锁配置: - phDriver_KinetisSDK.c: (图片) - phbalReg_KinetisSpi.c: (图片) -将PHDRIVER_FRDM_KW36FRC663_BOARD定义添加到…\ NxpNfcRdLib \ types \ ph_NxpBuild_Platform.h文件中,以启用正确的NFC收发器: (图片) 4.4将NFC应用程序集成到Wireless_UART Bluetooth LE示例 在本章中,我们将把BasicDiscoveryLoop NFC示例集成到Wireless_UART Bluetooth LE应用程序中。 为此,需要执行以下步骤: -在wireless_uart项目位置上,创建一个“ nfc”文件夹: (图片) -从修改后的NFC阅读器库中复制DAL,NxpNfcRdLib和phOsal文件夹: (图片) -在wireless_uart项目位置的“源”文件夹中,创建一个新的“ nfc”子文件夹,以集成BasicDiscovery循环文件: (图片) -BasicDiscoveryLoop文件将需要进行一些更改: o将主函数重命名为NFC_BasicDiscoveryLoop_Start; o删除了驱动程序/操作系统初始化; (所有更改都可以在附件中看到) -通过按F5来更新最新的更改,以更新MCUXpresso工作区: (图片) -更新链接器信息(项目属性-> C / C ++构建->设置)和预处理器定义(项目属性-> C / C ++构建->预处理器): (图片) -添加依赖项: o PIT模块/ PIT模块初始化; o更新LED,SW配置; o增加堆大小(gTotalHeapSize_c); o在wireless_uart.c应用程序中为NFC添加功能; (所有更改都可以在附件中看到); 考虑到随附的ZIP归档文件,我们可以轻松地将frdmkw36_w_uart_ncf3320_basic_discovery.zip文件拖放到MCUXpresso工作区: (图片) (图片) 4.5运行演示 -根据第4.1章创建硬件连接; -在FRDM-KW36板的相应COM端口上打开一个串行端子。 使用的BaudRate是115200 -在FRDM-KW36上按SW2键开始advertising广播 -打开移动应用程序- IOT toolbox - Wireless UART 。 FDRM-KW36板将列为NXP_WU: (图片 ) -创建蓝牙LE连接。串行日志将包含蓝牙LE操作的日志: (图片) -使用靠近NCF3320 Antenna v1.0板的NFC卡来启动发现演示。 -一旦检测到卡片,便会将事件发送到移动应用程序,其中包括卡的技术和UUID: https://www.youtube.com/watch?v=wCCz5zDIwHE&feature=youtu.be) https://community.nxp.com/t5/video/gallerypage/video-id/8707 附件: https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/wireless-connectivity%40tkb/200/1/ble_nfc_demo.zip  
View full article
Showcase the NFC support capability to provide an additional layer of security to any access area.
View full article
Hi: This thread mainly introduces how to sample multi channels ADC with DMA. The slides is in Chinese. For different MCU family, Kinetis & LPC has different ADC & DMA system. There takes KE15 & LPC51U68 for example, introduce how to enable various ADC & DMA trigger solution. 1.KE15:Three sample projects include: 1.1 LPIT HW trigger ADC & DMA transfer, enable interrupt for get ADC value; 1.2 LPIT HW trigger ADC & DMA transfer, DMA will automatically trigger next transfer; 1.3 Software trigger multi-ADC & DMA transfer;  2.LPC51U68: Two sample projects include: 2.1 Software trigger multi-ADC & DMA transfer;  2.2 SCT HW trigger ADC & DMA transfer, DMA will automatically trigger next transfer; Products Product Category NXP Part Number URL MCU KE15 Arm Cortex-M0+|Kinetis KE1xZ 32-bit 5V MCUs with Touch Interface | NXP  MCU LPC51U68 LPC51U68 | NXP  MCUXpresso SDK Software NXP standard SDK Welcome | MCUXpresso SDK Builder    Tools NXP Development Board URL FRDM-KE15Z Freedom Board FRDM-KE15Z Platform|Freedom Development Board | NXP  LPCXpresso51U68 board LPCXpresso51U68 board for LPC51U68 MCU | NXP 
View full article
Demo FlexIO Demos below: Title Link Luminaire: A tale of woe https://www.hackster.io/0xtj/luminaire-a-tale-of-woe-263189 FlexIO Based Multi-Copter Rotor Control https://www.hackster.io/agent-titanium-c6063b/flexio-based-multi-copter-rotor-control-57d124 Automated water level https://www.hackster.io/andre-pereira-da-silva/automated-water-level-2fb900 IOT" Hydrometer E-mailer" https://www.hackster.io/benf2/iot-hydrometer-e-mailer-7a7ca5 FlexIO 3D Printer https://www.hackster.io/BigLazyPlayer/flexio-3d-printer-7e9d57 IoT with Kinetis FlexIO https://www.hackster.io/bltrobotics/iot-with-kinetis-flexio-0d4c3e Air Quality Control https://www.hackster.io/claude4/air-quality-control-2e7d65 Wireless Digital scale https://www.hackster.io/dhq/wireless-digital-scale-238e83 FRDMK82F Servo and Brushless Motor Control https://www.hackster.io/ElvisWolcott/frdmk82f-servo-and-brushless-motor-control-6461fb FRDM-K82F Camera Based Parking Assistant https://www.hackster.io/inakizi/frdm-k82f-camera-based-parking-assistant-9dfa6f KD2 Droid https://www.hackster.io/jreese/kd2-droid-7fbed1 NXP Kinetics Smart Web Multimedia IoT - Flexduino Platform https://www.hackster.io/mhanuel/nxp-kinetics-smart-web-multimedia-iot-flexduino-platform-1a76f7 Ultimate Hardware Expansion Board https://www.hackster.io/myriaddev/ultimate-hardware-expansion-board-494906 MIDI-USB Theremin https://www.hackster.io/razulued/midi-usb-theremin-65b521 Marveloucycle  https://www.hackster.io/skywalker-efe247/marveloucycle-4aafdb Port MySensors Library https://www.hackster.io/storycrafter/port-mysensors-library-1df3b6 Face match doorbell https://www.hackster.io/user015606/face-match-doorbell-db49bc Twitter Bot https://www.hackster.io/user1713477/twitter-bot-0687fe Agricultural flow estimator https://www.hackster.io/uLipe/agricultural-flow-estimator-1ad21d Directional Motion-Detecting USB Web Cam Using a FRDM-K82F https://www.hackster.io/stephanick/directional-motion-detecting-usb-web-cam-using-a-frdm-k82f-f81b81 How to build an Air Mouse with NXP K82F https://www.hackster.io/asadzia/how-to-build-an-air-mouse-with-nxp-k82f-56fb60 Intelligent Elbow Motion-Assistance Actuator https://www.hackster.io/hal-flynn-f79994/intelligent-elbow-motion-assistance-actuator-6a6c73 Water quality flow control https://www.hackster.io/mikey0000/water-quality-flow-control-030b2e Flex-WS2812B https://www.hackster.io/momososo/flex-ws2812b-a6beaf Freedom K82F Sport Kit Companion https://www.hackster.io/nghiajenius_iot/freedom-k82f-sport-kit-companion-319878 Freedom Maraca https://www.hackster.io/wesee/freedom-maraca-6f7bfc Twinkle Twinkle Little Star Musical Cup https://www.hackster.io/wesee/twinkle-twinkle-little-star-musical-cup-45a584 Smart DICE: The Physical + Digital RNG https://www.hackster.io/whatnick/smart-dice-the-physical-digital-rng-18ee03 Navisys https://www.hackster.io/YasithLokuge/navisys-03aa5f Flash! https://www.hackster.io/acylbotr/flash-6c1959 Freedom Flight Controller for Autonomus Drones https://www.hackster.io/bluetiger9/freedom-flight-controller-for-autonomus-drones-9efba4 Camera modules for Self-Driving Car. https://www.hackster.io/gawad/camera-modules-for-self-driving-car-fb37fb The Freedom Infinity Mirror https://www.hackster.io/MarcelK/the-freedom-infinity-mirror-9a2c13 Kinetis FlexIO Ultrasonic Radar https://www.hackster.io/mirkix/kinetis-flexio-ultrasonic-radar-573b40 Self-powered weather station https://www.hackster.io/user52242/self-powered-weather-station-b4252d Android Guided Vehicle https://www.hackster.io/11bharath11/android-guided-vehicle-6892d3 PHYSICALLY REGULATED OPERATING SUITE LIMB https://www.hackster.io/20321/physically-regulated-operating-suite-limb-89a61e Energy Efficient Cooler for home https://www.hackster.io/20986/energy-efficient-cooler-for-home-de0dc5 FRDM K82F-Play X-0 Game https://www.hackster.io/akashchandran30/frdm-k82f-play-x-0-game-0ebccb Working With FRDM-K82F https://www.hackster.io/akashchandran30/working-with-frdm-k82f-9459cd The Portable All Season Clothes Dryer https://www.hackster.io/alz190/the-portable-all-season-clothes-dryer-76626a NXP Scarab Robot https://www.hackster.io/asokfair/nxp-scarab-robot-eb6c6d Tip Tap Game https://www.hackster.io/bharathegr/tip-tap-game-e700e1 Read accelerometer x and y axis readings from the FRDM K82F https://www.hackster.io/gauravmishra/read-accelerometer-x-and-y-axis-readings-from-the-frdm-k82f-b47cc6 VIRTUAL SPEECH FOR VOCALLY CHALLENGED https://www.hackster.io/JagadeeshKumar/virtual-speech-for-vocally-challenged-5233cb Alexa Intelligent Personal Assistant / Home Automation Usi https://www.hackster.io/lalitnandandiwakar/alexa-intelligent-personal-assistant-home-automation-usi-862ea8 Musical Alarm Clock https://www.hackster.io/LiLShReDdeR/musical-alarm-clock-83edfc Eternal Pose to Antarctica: South Pointing Smart LED Compass https://www.hackster.io/PSoC_Rocks/eternal-pose-to-antarctica-south-pointing-smart-led-compass-5fb86f Gesture Drive: Accelerate with Freedom  https://www.hackster.io/PSoC_Rocks/gesture-drive-accelerate-with-freedom-e9dde1 Setting Up GPIO, PWM, I2C for K82 Freedom Board in KDS https://www.hackster.io/PSoC_Rocks/setting-up-gpio-pwm-i2c-for-k82-freedom-board-in-kds-e5b73d Accident Alert system https://www.hackster.io/ROBINTHOMAS/accident-alert-system-e97f34 NeerAssure: Water Usage Statistics https://www.hackster.io/Shachindra/neerassure-water-usage-statistics-03268b Getting Started with FRDM-K82F https://www.hackster.io/sowmith/getting-started-with-frdm-k82f-05b3ed FlexIO Car https://www.hackster.io/SURESH_V_S/flexio-car-13a692 FlexIO Based Smart Helmet https://www.hackster.io/taifur/flexio-based-smart-helmet-82efe9 SMART BAND https://www.hackster.io/user355388807/smart-band-6d3d31 Theft Alarm K82F TSI_LAUNCHPAD https://www.hackster.io/Vignesh_Jaishankar/theft-alarm-k82f-tsi-launchpad-2ff06c FlexIO security keypad https://www.hackster.io/nxp/flexio-security-keypad-15d9fd NXP Recommends http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/kinetis-cortex-m-mcus/k-series/k8x-scalable-secure-mcus:K8X-SCALABLE-SECURE-MCU?cof=0&am=0 AN5275: Using FlexIO for parallel Camera Interfacehttp://cache.nxp.com/files/microcontrollers/doc/app_note/AN5275.pdf?fsrch=1&sr=1&pageNum=1 AN5280: Using Kinetis FlexIO to drive a Graphical LCD Training
View full article
This demo which shows a complete Ethernet AVB audio amplifier solution built with NXP silicon and software.     Features Audio Video Bridging for automotive infotainment purposes System AVB amplifier for car audio nodes Analog video/audio is converted into AVB and outputs to vybrid Tower running AVB stack Featured NXP Products Vybrid Qorivva MCU Development Hardware Used Vybrid TWR board
View full article
Description NXP's leadership position in the security, contact and contactless identification space makes us the experts in access control solutions that are safe, secure, robust and reliable. NXP has devices for driving user interfaces as well as lock mechanisms. NXP also has different solutions for addressing designs using both contact and contactless identification systems. Putting these NXP devices together makes for compelling access control solutions. Use your phone or smart card for Access control to open doors or give access to machine configurations.  Use cases Corporate/campus access control system Lock manufacturers (mechanical and electronic) Industrial equipment with safety conditions or control restriction Components for multi-user appliances like printers Professional tools Smart lock manufacturer for smart home applications Block Diagram Products Category Name MCU Product URL Arm® Cortex®-M4|Kinetis® K64 120 MHz 32-bit MCUs | NXP  Product Description The Kinetis® K series MCU portfolio offers the broadest selection of pin, peripheral- and software-compatible MCU families based on the Arm® Cortex®-M4 core. Category Name Secure Product URL A71CH | Plug and Trust for IoT | NXP  Product Description  A71CH is a ready-to-use secure element for IoT devices providing a root of trust at the IC level and delivers, chip-to-cloud security right out of the box. Category Name NFC Product URL PN5180 | Full NFC Forum-compliant frontend IC | NXP  Product Description  The PN5180 is a high-performance full NFC Forum-compliant frontend IC for various contactless communication methods and protocols. Tools Product Link Freedom Development Platform for Kinetis® K64, K63, and K24 MCUs FRDM-K64F Platform|Freedom Development Board|Kinetis MCUs | NXP  A71CH Arduino® compatible development kit OM3710/A71CHARD | A71CH Arduino® compatible development kit | NXP  PN5180 NFC Frontend Development Kit for POS Terminal Applications OM25180 |PN5180 NFC Development Kit for POS Readers | NXP 
View full article
1. 引言 众所周知,我们一般使用调试器下载程序或调试设备。 FRDMK64在板上具有OpenSDA调试接口,因此不需要额外的调试器。但是如果我们要设计一个没有调试器但可以下载程序的电路板,则可以使用引导加载程序(Bootloader)。引导加载程序是一个小程序,目的是通过UART,I2C,SPI等接口更新MCU的应用程序。 本文将描述一个基于FRDMK64F的简单SD卡引导程序,使用SD卡更新MCU的应用程序。用户可以将二进制文件放入卡中。卡插入目标板后,板子将自动更新应用程序。本设计提供了对应的引导加载程序和应用程序代码,以便您可以在自己的板上进行测试。 2. Bootloader的实现 SD卡的示意图如下所示。该板使用SDHC模块与SD卡通信。 图1. SD卡示意图 我们使用FRDM-K64F的2.6.0版本的SDK。您可以在我们的网站上下载该SDK。 链接是“mcuxpresso.nxp.com”。 引导加载程序使用SDHC和fafts文件系统,因此我们应该添加文件来支持它。 图2.支持文件 在主代码中,程序将等待直到插入卡。然后它将在SD卡中找到名为“ a000.bin”的文件以更新应用程序。如果文件不存在,则开发板将直接执行该应用程序。如果没有应用程序,程序将结束。 以下代码显示了程序如何等待插入sd卡,此外它还将检查该地址是否包含应用程序的地址。 图3.代码-等待插入卡 以下代码显示了程序如何打开二进制文件,如果sd卡没有该文件,则程序将跳转到该应用程序开始执行。 图4.打开二进制文件 如果程序正常打开文件,则更新将开始,它将从0xa000擦除200k的空间,您可以根据自己的实际代码工程大小进行调整。 现在我将详细说明更新的方法。我们的数据被写入称为“ rBUff”的缓冲区,缓冲区大小为4K,在向其中写入数据之前,需要先将其擦除。 请注意,在擦除和编程闪存之前应该先禁用所有中断,当操作完成后再重新使能中断。 文件大小将决定将数据写入闪存的方式。 1.如果大小小于4k,我们只需读取文件数据进行缓冲,然后判断文件大小是否与8个字节对齐。如果不是,我们增加“readSize”的大小以读取称为“rBuffer”的数据缓冲区中的更多数据,这些多读出来的数据内容为0。 2.如果大小> 4K,我们使用“ remainSize”来记录剩余的数据量。每次读取4k直到其大小小于4k,然后重复步骤1。一次完成操作后,我们应清除缓冲区并增加扇区编号以准备下一次发送。   图5:写Flash操作代码 清除空间的方法如图所示。它将初始化闪存并从给定地址擦除给定大小。 “ SectorNum”用于显示要擦除的扇区。 图6.擦除操作代码 下图显示了如何将数据写入闪存。 图7.程序操作代码 在转到应用程序之前,我们应该修改在引导加载程序中所做的配置。 关闭Systick时钟并清掉其计数; 将VTOR中断向量寄存器恢复为之前的默认值; 我们的引导程序以PEE模式运行。因此,我们应该将其更改为FEI模式; 禁用所有引脚。 运行这些代码时,应禁用全局中断,并且不要忘记重新使能全局中断。 图8. 反初始化代码 然后我们可以转到应用程序。 图9.转到应用程序 3. 内存重定位 FRDMK64具有1M闪存,从0x00000000到0x00100000。如图10所示,我们使用0xa000作为应用程序的起始地址。 图10:内存映射 现在,我将向您展示如何在不同的IDE中为用户应用程序修改链接文件。 在IAR中: 图11:IAR的ICF 在MDK中: 图12.MDK的SCF 在MCUXpresso中: 图13. MCUXpresso的闪存配置 4. 运行演示 1)首先下载引导程序; 2)准备一个用户应用程序。 我们以“led blinky”为例; 3)修改链接文件; 4)用您的IDE生成二进制文件,请将其命名为“a000.bin”; 5)将其放入SD卡中,如图5所示。 图14:SD卡的内容 6)插入卡,并打开电源。请稍等片刻,该应用程序将自动执行。 5. 参考资料 1) Kinetis MCU的bootloader解决方案 2) KEA128_can_bootloader
View full article
该Demo运行在MIMXRT1062-EVK上。MIMXRT1062跨界处理器 运行FreeRTOS操作系统,系统同时创建 88W8801 wifi stack 任务和 LVGL v7.3 GUI库任务,能够在LCD屏幕上实现GUI输入输出。用户可以通过LCD触摸操作,对WiFi的SSID和密码进行输入,从而完成设备入网Provision的功能。 Product Category NXP Part Number URL MCU   WiFi SoC MIMXRT1060   88W8801 https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/i-mx-rt-crossover-... 88W8801: 2.4 GHz Single-Band 1x1 Wi-Fi 4® (802.11n) Solution | NXP Semiconductors   SDK SDK Version URL MCUXpresso SDK mcuxpresso.nxp.com   Demo Video
View full article
  Description An energy display is an easy way for a user to view all the information collected by the sensors around their home. This application needs to support multiple protocols such as Zigbee and IEEE802.15.4 in order to be able to share the information with all the sensors around it. The Sigfox protocol could also be included in the features of this display. Block Diagram Products Category Name 1: Microcontroller Product URL 1 LPC546XX Microcontroller (MCU) Family | NXP  Product Description 1 The LPC546xx MCU family combines power efficiency with multiple high-speed connectivity options, advanced timers, and analog features. The LPC546xx LCD Controller supports both Super-Twisted Nematic (STN) and Thin-Film Transistor (TFT) displays. It has a dedicated DMA controller, selectable display resolution (up to 1024 x 768 pixels), and supports up to 24-bit true-color mode. Product link 2 Zigbee and IEEE 802.15.4 wireless microcontroller with 512 kB Flash, 32 kB RAM | NXP  Product Description 2 The JN5169 is an ultra-low-power, high-performance wireless microcontroller suitable for ZigBee applications that allows OTA upgrade capability without external memory.   Category Name 2: Transceiver Product URL 1 Low-Power Multi-Channel UHF RF Wireless Platform | NXP  Product Description 1 The OL2385 device is a radio frequency transceiver with an embedded MCU designed for a wide range of industrial and home applications requiring a very high link budget for bidirectional RF communication. The OL2385 is a 2-way RF channel with the most common modulation schemes for networking applications covering a full range of frequency bands from 160 up to 960 MHz   Category Name 3: Wireless charging receiver Product URL 1 NXxA4WP | NXP  Product Description 1 The NX1A4WP is an A4WP (Alliance for Wireless Power) compliant wireless power receiver front end. The integrated rectifier supports voltages of up to 20 V and is protected by an integrated automatic clamping function and an automatic over-power protection function.   Category Name 4: DC-to-DC Boost Converter Product URL 1 PCA9410/9410A | NXP  Product Description 1 The PCA9410 is highly efficient 3.0 MHz, 500 mA, step-up DC-to-DC converters, it converts input voltages from 2.5 V to 5.25 V to a fixed output voltage of 5.0 V. The PCA9410 delivers efficiency of up to 94 % enables an extended battery life in all portable designs.   Category Name 5: RTC with battery backup Product URL 1 PCF2129 | NXP  Product Description 1 The PCF2129 is a CMOS Real Time Clock (RTC) and calendar with an integrated Temperature Compensated Crystal Oscillator. The PCF2129 has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a programmable watchdog function, a timestamp function, and many other features.   Category Name 6: Security IC Product URL 1 A71CH | Plug and Trust for IoT | NXP  Product Description 1 A71CH is a ready-to-use secure element for IoT devices providing a root of trust at the IC level and delivers, chip-to-cloud security right out of the box. The A71CH includes a complete product support package that simplifies design-in and reduces time-to-market.   Category Name 7: Low-rate multiplexor Product URL 1 Universal LCD driver for low multiplex rates | NXP  Product Description 1 The PCF85133 is a peripheral device which interfaces to almost any Liquid Crystal Display (LCD) with low multiplex rates, also features an internal LCD bias generation with voltage-follower buffers. The PCF85133 has a selectable backplane drive configuration: static or 2, 3, or 4 backplane multiplexing Related Documentation Document URL Title https://www.nxp.com/docs/en/application-note/TN00025.zip  LPC54608 LCD Dual Frame Buffer with eXecute-In-Place (XIP) from Quad SPI flash https://www.nxp.com/docs/en/nxp/application-notes/AN12027.zip Connecting TFT LCD with LCD controller of LPC MCU https://www.nxp.com/docs/en/application-note/AN11662.pdf High-performance PCB antennas for ZigBee networks Training URL CIT-N1778 Smart Metering RF Technologies  Power Management  Related Demos from Communities URL Designing with the New Ultra-Low-Power BLE System on Chip 
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
Demo Kinetis KW4x MCU is an ultra low power, highly integrated single-chip device that enables Bluetooth low energy (BLE) connectivity for portable, extremely low-power embedded systems.     Features iBeacon Location-based Messages The KW4x is an ultra low power, highly integrated single-chip device that enables Bluetooth low energy (BLE) or IEEE Std. 802.15.4/ZigBee RF connectivity for portable, extremely low-power embedded systems. Applications include portable health care devices, wearable sports and fitness devices, AV remote controls, computer keyboards and mice, gaming controllers, access control, security systems, smart energy and home area networks.  The KW4x SoC integrates a radio transceiver operating in the 2.36GHz to 2.48GHz range supporting a range of FSK/GFSK and O-QPSK modulations, an ARM Cortex-M0+ CPU, 160KB Flash and 20KB SRAM, BLE Link Layer hardware, 802.15.4 packet processor hardware and peripherals optimized to meet the requirements of the target applications.  The KW4x’s radio frequency transceiver is compliant with Bluetooth version 4.1 for Low Energy (aka Bluetooth Smart), and the IEEE 802.15.4-2011 standard using O-QPSK in the 2.4 GHz ISM band and the IEEE 802.15.4j MBAN frequency range spanning from 2.36 GHz to 2.40 GHz. In addition, the KW4x allows the Bluetooth Low Energy protocol to be used in the MBAN frequency range for proprietary applications. Enabled by Kinetis KW4x MCUs Discover location-based context A Bluetooth® Smart low-power application   Bluetooth Smart and 802.15.4 Dual Mode Communication BLE heart rate sensor on a KW40Z connecting, pairing and exchanging data with an iPod while the 802.15.4 end device (on the same KW40Z chip) associates and exchanges data with a coordinator. The OTA packets are displayed in sniffer applications on a Windows PC.  The KW4x is an ultra low power, highly integrated single-chip device that enables Bluetooth low energy (BLE) or IEEE Std. 802.15.4/ZigBee RF connectivity for portable, extremely low-power embedded systems. Applications include portable health care devices, wearable sports and fitness devices, AV remote controls, computer keyboards and mice, gaming controllers, access control, security systems, smart energy and home area networks.  The KW4x SoC integrates a radio transceiver operating in the 2.36GHz to 2.48GHz range supporting a range of FSK/GFSK and O-QPSK modulations, an ARM Cortex-M0+ CPU, 160KB Flash and 20KB SRAM, BLE Link Layer hardware, 802.15.4 packet processor hardware and peripherals optimized to meet the requirements of the target applications.  The KW4x’s radio frequency transceiver is compliant with Bluetooth version 4.1 for Low Energy (aka Bluetooth Smart), and the IEEE 802.15.4-2011 standard using O-QPSK in the 2.4 GHz ISM band and the IEEE 802.15.4j MBAN frequency range spanning from 2.36 GHz to 2.40 GHz. In addition, the KW4x allows the Bluetooth Low Energy protocol to be used in the MBAN frequency range for proprietary applications. Concurrent communication on BLE and 802.15.4 Suited for configuring 802.15.4 devices from your smart phone Automatic synchronization completely transparent to the application   BLE-enabled Smart Zumo Robot The Smart Zumo Robot is powered by the new Kinetis KW40X MCU and is enabled by Bluetooth Low Energy (BLE) technology. Low-power, Bluetooth Low Energy (BLE) application Running simple control implementation over BLE to interact and control with the robot Highly-integrated radio solution with scalable memory options   Featured NXP Products   Product Link Bluetooth Low Energy/IEEE® 802.15.4 Packet Sniffer USB Dongle for Kinetis® KW40Z/30Z/20Z MCUs Bluetooth Low Energy/IEEE® 802.15.4 Packet Sniffer USB Dongle for Kinetis® KW40Z/30Z/20Z MCUs | NXP      Development Hardware Used   Freedom Development Platform for Kit Bluetooth Low Energy/IEEE® 802.15.4 Pack
View full article
由于NXP之前使用的git服务器codeaurora已经永久性关闭,本文说明针对S32G如何迁移到github服务器的方法。 目录 1    服务器迁移情况说明... 2 2    参考文档和工具... 4 3    Yocto迁移说明... 4 3.1  从头开始新建Yocto工程说明... 4 3.2  对已有Yocto工程的迁移说明... 6 3.3  Migrate.sh的帮助... 7 4    独立编译迁移说明... 10 4.1  PFE独立编译... 11 4.2  IPCF独立编译... 13
View full article
Overview NXP's industrial printer solution allows you to leverage the Internet of Things (IoT) technologies and easily integrate a reliable, fast, and secure design that differentiates and provides value to your customers. NXP provides an extensive technology portfolio including high-performance MPUs with advanced integrated security and connectivity features, cryptographic accelerators, and a 10-15 year product longevity program. This enables designers to successfully develop reliable, high performing, and secure printers.   Interactive Block Diagram Recommended Products   Category Products Features MPU i.MX 6SoloX Applications Processors | Arm® Cortex®-A9, Cortex-M4 | NXP 1x Cortex-A9 up to 1 GHz 1x Cortex-M4 up to 200 MHz 24-bit parallel CMOS sensor interface 2x 10/100/1000 Ethernet PCIe 2.0 (1 lane) FlexCAN 5x SPI, 6x UART, 4x I2C, 5x I2S/SSI, 8x PWM   i.MX 8M Applications Processor | Arm® Cortex®-A53, Cortex-M4 | 4K display resolution | NXP  Quad Arm Cortex-A53; Cortex-M4F OpenGL® ES 3.1, OpenGL® 3.0,Vulkan®, Open CL™ 1.2 Dual PCIe with L1 substates for fast wake-up from low-power mode Gigabit Ethernet controller supporting AVB and EEE 4x PWM, 3X SPI, 4X I2C Secure Authenticator A1006 | Secure Authenticator IC: Embedded Security Platform | NXP  Authentication time (on-chip calculations) < 50 ms Unique static pair of ECC Private Key Power Consumption: 500 μA active RTC PCF8523 | NXP  Provides year, month, day, weekday, hours, minutes, and seconds based on a 32.768 kHz quartz crystal. Resolution: seconds to years. Load Switch USB PD and type C current-limited power switch | NXP  VIN supply voltage range from 4.0 V to 5.5 V All-time reverse current protection with ultra-fast RCP recovery Adjustable current limit from 400 mA to 3.3 adjustable current limits from 400 mA to 3.3 A Clamped current output in the over-current condition USB Type-C PTN5150 | NXP  Compatible with legacy OTG hardware and software Support plug, orientation, role and charging current detection Level Translator Voltage Level Translators (Level Shifters) | NXP  Bi-directional level shifter and translator circuits include a range from single-bit to 32-bit widths GPIO Expander PCAL6416AEX | NXP  The 16-bit general-purpose I/O expander Latched outputs with 25 mA drive maximum capability The operating power supply voltage range of 1.65 V to 5.5 V PMIC 14-Channel Configurable Power Management IC | NXP  Four to six buck regulators depending on configuration, Single/dual phase/parallel options, DDR termination tracking mode option, DVS option 5V boost regulator for USB OTG CAN Transceiver TJA1057 | High Speed CAN Transceiver | NXP  VIO option allows for direct interfacing with 3.3 V and 5 V-supplied microcontrollers I2S port to allow routing to the applications processor Functional behavior predictable under all supply conditions Thermally protected AC/DC AC-DC Solutions | NXP  Increased efficiency and no-load power of the total application Universal mains operation: 90 - 264 Vac / 47 - 63Hz Over Current Protection (OCP), Over Power Protection (OPP), Over Temperature Protection (OTP) Motor Driver Dual H-Bridge Motor Driver 2-8.6 V 1.4 A 200 kHz | NXP  Low Total RDS(ON) 0.8 Ω (Typ), 1.2 Ω (Max) @ 25°C Undervoltage Detection and Shutdown Circuit Output Current 0.7 A (DC) Temperature Sensor PCT2075: I2C-bus Fm+, 1 Degree C Accuracy | NXP  Pin-for-pin replacement for LM75 series but allows up to 27 devices on the bus Power supply range from 2.7 V to 5.5 V Temperatures range from -55 °C to +125 °C Wireless MCU Arm® Cortex®-M0+|Kinetis® KW41Z 2.4 GHz Bluetooth Low Energy Thread Zigbee Radio MCUs | NXP  2.4 GHz Bluetooth Low Energy version 4.2 Compliant IEEE Std. 802.15.4 Standard Compliant AES-128 Accelerator (AESA), True Random Number Generator (TRNG)
View full article
结合MPC5748G的Lifecycle机制,阐述如何使用Lifecycle机制来满足在开发阶段及最终消费阶段对各利益相关方的数据进行保护的需求,比如Tier1的IP(知识产权)、OEM的一些标定参数、车主的个人隐私等。并介绍Lifecycle在每个阶段所支持的主要安全特性及如何配置使用。
View full article
Demo   Features Ultra high definition Gigabit wireless residential gateway and NEW Quantenna Wi-Fi Highest prformance, lowest overhead home WLAN with Quantenna 11ac 4x4 QSR1000, Path to 10 G Wireless 8x8 performance Quad Core ARM®-based 64-bit option • with QorIQ LS1043A processor   Featured NXP Products LS1043A - Fact Sheet .pdf      
View full article
Overview This reference design describes a 3-phase sensorless brushless DC (BLDC) motor control with back-EMF (electromotive force) zero-crossing detection, supporting the NXP® 56F80X and 56F83XX Digital Signal Controllers (DSCs) for motor control applications. It can also be applied to Our 56F81XX DSCs The system is designed as a motor drive system for three-phase BLDC motors and is targeted for applications in both industrial and appliance fields (e.g. compressors, air conditioning units, pumps or simple industrial drives) The reference design incorporates both hardware and software parts of the system including hardware schematics Features BLDC sensorless motor 115 or 230V AC Supply Targeted for 56F80X, 56F83XX, and 56F81XX Digital Signal Controllers Running on 3-phase BLDC Motor EVM at 12V, 3-Phase BLDC Low-Voltage Power Stage Speed control loop Motor mode in both direction of rotation Manual interface (RUN/STOP switch, UP/DOWN push buttons control, LED indication) Overvoltage, undervoltage, overcurrent and overheating fault protection Hardware autodetection FreeMASTER control interface (speed set-up) FreeMASTER software remote monitor Block Diagram Board Design Resources
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
Background:  ➢ IP protection is important for most customers, Kinetis, LPC54 series and i.MX RT have necessary security features that help us to win customers and markets. ➢ LPC55 series is a new generation of IoT MCU which is used for consumer and industrial market. LPC55 non-S parts are adopted by most customers due to its low-cost and easy-to-use features, but its secure features are different with S parts and is significantly simplified. ➢ LPC55 is designed for secured IoT application, so it’s supposed to hide the SWD/ISP ports after development work is finished. If the SWD/ISP ports are secured, they couldn’t be used any more. While for LPC54 & Kinetis MCU, mass erase command can be used to recover the MCU after the MCU is secured. ➢ However, Customers need the feature to secure the debugging/ISP ports, but they also need to recover them in some cases: - Reprogramming to update firmware - Investigate and analyze failed parts returned from end market - Rescue the MCU if it’s locked and stuck ➢ According to customers’ requirements, NXP support team raised the proposal to implement a solution which can be used to secure and recover the SWD/ISP ports with an IAP backdoor method. Solution: By Operating PFR region, LPC55 could switch between secure and recovery mode.   lpc5506_debug_isp_test_20220714: demonstrate how to operate this region to lock Debug Port then how to recovery it. The user interaction could be raised by UART or button;         2.hmac_test_20220714: demonstrate one full security flow,      ➢ This is a complete solution to secure & recovery debugging/ISP ports on LPC55, and it uses host machine challenge mechanism to implement security features: ▪ Challenge Host machine against unknown host probe; ▪ Generates dynamic seeds, so that the final encrypt information will be dynamically changed; ▪ The image hash value is device related, that avoids same encrypt info for different image/product; ➢ Customer also could clip the solution to simplify application complexity: ▪ Use UUID for device information only, no seed is needed; ▪ Host machine can use fixed keys instead of image hash values to do info encryption; ▪ Host machine can use UUID lookup table to find out verification key; Every device is programmed with dedicated verification key during production.  Demonstration: The attached demos could run at LPC55S06 EVK, and could easily migrate to other LPC55 series.
View full article
本文说明如何配置MCAL UART模块为DMA模式。 默认的MCAL UART模块是使用的PIO模式。 本文采用软件版本为MCAL RTD 4.0.2。 目录 1    背景与资料说明... 2 1.1  背景说明... 2 1.2  所需资料说明... 2 2    创建UART工程... 2 2.1  打开工程... 2 2.2  修改波特率... 3 2.3  编译... 3 2.4  默认工程说明与运行... 4 3    配置UART DMA模式... 5 3.1  参考资料... 5 3.2  增加并配置MCL模块... 5 3.3  修改UART模块... 6 3.4  修改Platform模块... 7 3.5  处理Cache相关问题... 7 3.6  测试结果... 8
View full article