恩智浦设计知识库

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

NXP Designs Knowledge Base

讨论

排序依据:
Demo The driver does not use a steering wheel or pedals to control a car on a race. All he uses is the movement of his head to turn the car and his mouth to accelerate and stop.       Featured NXP Products   K64_120 |Kinetis K64 120 MHz MCUs|NXP Freedom Development Platform for Kinetis|NXP Sensor Fusion|NXP   Links Arrow SAM Project   Videos          
查看全文
Demo This demo features NXP’s new Sensor Toolbox - The complete ecosystem for product development with NXP sensors. It encompasses NXP's wide spectrum of new sensor boards and software tools across various compatible Kinetis microcontrollers, enabling ‘out of box’ sensor demonstrations, sensor evaluation, sensor application development and prototyping. Check out a variety of impressive 'Out of Box' Sensor Demonstrations and Sensor Fusion, all enabled by NXP’s new Sensor Toolbox.  Also, don’t miss the Sensor Fusion Demo now running on the LPC platform Features Plug and Play ‘Out of the Box’ Demonstrations with 6 different sensor hardware demo kits using the Sensor Toolbox Community Edition (STB-CE) software. Showcasing the ease of quickly visualizing sensor data. 6 Sensor Demo kits include : FRDM-K64F-AGM01  (Sensor Toolbox Demo Kit for 9-Axis Solution) FRDM-K22F-SA9500  (Sensor Toolbox Demo Kit for FXLC95000CL Intelligent Motion Sensor) FRDMKL25-A8471 (Sensor Toolbox Demo Kit for FXLS8471Q  3-Axis linear Accelerometer) FRDMKL25-A8491 (Sensor Toolbox Demo Kit for MMA8491Q  3-Axis Digital Accelerometer) FRDMKL25-P3115 (Sensor Toolbox Demo Kit for MPL3115A2 Pressure Sensor/ Altimeter) RD-KL25-AGMP01 ( Sensor Toolbox 10-Axis Data Collection Board) Sensor Fusion Demo (Part of the Sensor Toolbox-CE software) Demo showcasing device orientation detection in real time using 3, 6 and 9-Axis Sensor Fusion options. (Rotating 3D PCB display) Showcasing no cost, open source and the most complete Sensor Fusion solution available. Showcasing sensor fusion running on both Kinetis and LPC MCU platforms with NXP’s 9-axis sensor board  (AGM01-Kinetis Board and AGM01-LPC Board) _______________________________________________________________________________________________________ Featured NXP Products: Sensor Toolbox|NXP _______________________________________________________________________________________________________
查看全文
Demo This demonstration features an Unmanned Aerial Vehicle (UAV) using the powerful Kinetis KV46 MCU controlling four GD3000 Brushless DC pre-drivers to spin the four motors which drive the propellers.   Features KV5x 240MHz ARM Cortex-M7 MCU with high speed ADCs & timers controlling all 4 BLDC motors GD3000 BDLC motor pre-driver featuring fast switching to drive low Q MOSFETs Single MCU solution unique in the market – reduced component count and BOM cost with superior performance   Featured NXP Products KV5x|Kinetis KV5x Connected Control MCUs|NXP 3-Phase Brushless Motor Pre-Driver|NXP   Links Quadcopter Demonstrating UAV Speed Control Using Kinetis KV5x MCUs and GD3000 Motor Pre-Drivers
查看全文
Demo Owner: Juan Antonio Gutierrez Rosas Juan Gutierrez, applications engineer at NXP Semiconductor, demonstrates the 2D graphics responsiveness and versatility of the Vybrid controller.     Features 2D graphics responsiveness and versatility of the Vybrid Processor controller Single Vybrid driving the LCD controller running using interface to control settings for 2 different zones Entire demo does not use any graphics processing unit. The graphics seen are rendered and animated using the Vybrid's display control unit memory accesses done using Direct memory Accesses (DMA) to free most of the ARM core to focus on other tasks Easier to program than a typical graphic processor 1.5 MB of on chip static RAM. The demo does not use external memory Featured NXP Products Product Link VFxxx Controller Solutions https://www.nxp.com/products/processors-and-microcontrollers/legacy-mcu-mpus/vfxxx-controller:VYBRID?&tid=vanVYBRID Vybrid Controller Solutions Tower System Module Vybrid VF6xx Tower System Kit with Arm DS-5 | NXP  Links VF3xx: Vybrid family with ARM® Cortex™-A5, 1.5MB SRAM, LCD, security, 2x Ethernet, L2 switch VF5xx: Vybrid family with ARM® Cortex™-A5, 1.5MB SRAM, LCD, security, 2x Ethernet, L2 switch VF6xx: Vybrid family with ARM® Cortex™-A5 + Cortex-M4, 1.5MB SRAM, LCD, security, 2x Ethernet, L2 switch  
查看全文
The demo from FirstView Consultants is a wearable medical EKG alert with Wi-Fi connection to enable Cloud reporting and diagnosis. The demo consists of an SCM-i.MX 6SoloX V-Link device (i.MX6SoloX/PF0100/512MB LPDDR2) + Firstview V-Link Top board with 802.11 b/g/n, Bluetooth     SCM V-Link technology is ideal for handheld/space-constrained applications allowing customers to integrate vertically.   Features: AFIB detection with diagnosis and report to Cloud via Wi-Fi. Top board contains: Wi-Fi/BT module (802.11 b/g/n), NXP 6-axis sensor and SPI NOR Flash 1 GB. Base SCM device: 15.5x15.5mm. ____________________________________________________________________________________________________ Featured NXP Products: Single Chip System Modules (SCM)|NXP Partner Firstview Consultants NXP FXOS8700CQ 6-axis Sensor
查看全文
Demo NXP’s Smart Defrost Solution is the newest way to defrost food. From frozen solid to sliceable food in minutes. Our solution uses RF and a smart tuning unit to evenly defrost food. The NXP Smart Defrost reference design consists of the following:    Defrost Appliance Concept                              Smart Defrost Reference Design Block Diagram Reference Design Features • RF creates the energy used to raise food temperature • Smart Tuning Unit intelligently adjusts operation for properties of the food within the defrost chamber • Electrodes provide the delivery of energy into the defrost cavity • Defrost cavity is a shielded, enclosed space for defrosting frozen food • Host control for main appliance control and user input interface Benefits • Reduced time-to-market • Simple integration into system • Predictable repeatable results • Creates even defrost environment • Reliable • Cost-effective interconnection • Minimum software needed for control Links https://www.nxp.com/pages/defrosting:RF-DEFROSTING-PG   Fact Sheets https://www.nxp.com/docs/en/fact-sheet/SmartDefrostRDFS.pdf  https://www.nxp.com/docs/en/fact-sheet/SDS31300FS.pdf
查看全文
Overview This NXP® reference design describes a High Intensity Discharge (HID) lamp leveling system with a LIN-bus interface. Stepper motor controller operating as a LIN-bus slave (LIN Stepper Controller). All functionality is provided by a general purpose LIN-bus IC MM908E625 and LIN Stepper software (HC08 software). The LIN Master consists of a master control board, based on an MC9S12DP256 CPU, and a personal computer with a graphical user interface (GUI), running in a master software environment. The LIN-bus Stepper Controller can be used for any kind of stepper motor control using the LIN-bus serial communication protocol. Features LIN bus Interface rev 1.2 Bus speed 19.2 kbps Slave IC without external crystal or resonator Slave node clock synchronization ±15% Each LIN slave controls one bi-phase bipolar stepper motor Motor phase current limitation up to 700 mA Supply voltage 12 V d.c. Stepper motor control with stepping acceleration and deceleration ramp Stepping frequency up to 2,500 Hz Slave parameter configuration via LIN-bus Slave LIN signal reconfiguration via LIN-bus Code written in C-language Block Diagram Board Design Resources
查看全文
Demo This demo shows how the FlexIO peripheral can be utilized to connect directly to an RGB TFT display to deliver a rich graphical display. The demo uses the versatile Tower ecosystem to connect the TWR-K80F150M MCU board to the display. The demo is well documented by an Application note and associated software.       Features: Dynamic Graphical LCD (480x272) with 16bt RGB interface Images stored in fast external Serial NOR flash           FlexIO utilized to generate 16bit interface to TFT display with minimal CPU intervention   _______________________________________________________________________________________________________     Featured NXP Products Product Link Kinetis® K8x Secure Microcontrollers (MCUs) based on Arm® Cortex®-M4 Core https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/k-series-cortex-m4/k8x-secure:K8X-SCALABLE-SECURE-MCU?&cof=0&am=0 Tower® System Modular Development Board Platform https://www.nxp.com/design/development-boards/tower-development-boards:TOWER_HOME?&tid=vantower Kinetis® K80 MCU Tower® System Module TWR-K80F150M|Tower® System Board|Kinetis® MCUs | NXP    Application Notes AN5275.pdf AN5280.pdf AN5280SW.zip _______________________________________________________________________________________________________      
查看全文
本文档介绍了i.MXRT在GUI设计上的支持模块及特性,并列举了Embedded Wizard在i.MXRT上实现GUI的性能以及如何使用SDK实现用户定制的GUI. Products Product Category NXP Part Number URL MCU MIMXRT1062 i.MX RT1060 Crossover MCU with Arm® Cortex®-M7 core    Tools NXP Development Board URL i.MX RT1060 Evaluation Kit MIMXRT1060-EVK: i.MX RT1060 Evaluation Kit    Software Name URL NXP i.MX RT SDK_v2.7.0 mcuxpresso.nxp.com Embedded Wizard https://www.embedded-wizard.de/  
查看全文
Demo See what FlexIO Does _______________________________________________________________________________________________________ KL28Z FlexIO Camera Demo FRDM-KL28Z board connects with a camera device module via FLexIO interface. The FlexIO peripheral emulates camera interface to capture raw image data. And the real-time images are displayed on a TFT LCD. Features: The FlexIO peripheral emulates camera interface. Captures 320x240 QVGA images via 8-bit width data bus. Displays real-time images on a TFT LCD. The sample rate is up to 15fps. _______________________________________________________________________________________________________ KL28Z FlexIO LCD Demo TWR-KL28Z board drives a TFT LCD panel via FlexIO emulated 8080 interface. Features: The FlexIO peripheral emulates 8080 parallel interface with full writing and reading functions. Drives a 320x240 resolution TFT LCD via the interface. Bus width could be 8 bits or 16 bits. The refresh rate is up to 128 fps with 16-bit width data bus and 48MHz core clock. Featured NXP Products: Flex Your Mind with Kinetis FlexIO projects - Hackster.io ARM Cortex-M4 Cores|Kinetis K8x MCUs|NXP K8X Freedom Development Platform|NXP  QRDEMOUG.pdf _______________________________________________________________________________________ USB Video Camera This demo shows how the FRDM-K82F board along with an OV7670 Camera module can be utilized to create a USB web camera application. The demo application software is delivered as part of the KSDK software enablement. The FS USB video class demonstration can deliver images to PCs or tablets. Demo / product features USB Video device class demonstration application included in Kinetis SDK Easy connection to PC or tablet  display and process video captured from the device     FlexIO camera driver utilized to interface to OV7670 camera module 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 C25
查看全文
Complete NXP solution for Airbag systems including System Basis Chip, squib drivers, sensors, and MCUs.      Features System created by NXP as a reference design Speed time to market solution of airbag system Reduce design risk and low BOM material cost Complete turnkey solution Product Link Airbag Evaluation Platform (PSI5) Airbag Evaluation Platform (PSI5) | NXP  Links Software and hardware documentation Block Diagram  
查看全文
Demo e-Cockpit Demo featuring cluster plus infotainment display. Infotainment display created using Crank Storyboard Suite. Cluster developed using CGI Studio   Cluster plus infotainment system with CAN communication Infotainment done with Crank Storyboard™ Suite; cluster done with CGI Studio Working hands-free profile with BlueZ and oFono open source libraries   Featured NXP Products i.MX6 i.MX6QP|i.MX 6QuadPlus Processors|Quad Core|NXP   Links Crank Demo - GUI / Software
查看全文
KW36 - 32kHz RTC外部振荡器的微调调节 USL:https://community.nxp.com/docs/DOC-342672     引言 FRDM-KW36包含带有32 kHz晶体振荡器的RTC模块。RTC模块以极低功耗模式运行并为MCU提供32 kHz时钟源。该振荡器包括一组可编程调节的负载电容C LOAD ,改变这些负载电容的值可以调整振荡器提供的频率。 此可配置电容的范围为0 pF(禁用电容器组)至30 pF,步长为2 pF。 这些值是通过组合启用的电容器获得的。可用值为2 pF,4 pF,8 pF和16 pF。这四个数值可以任意组合。如果外部电容可用,建议禁用这些内部电容器(将RTC控制寄存器SFR中的SC2P,SC4P,SCS8和SC16位设置为0)。 要调整振荡器提供的频率,必须首先能够测量该频率。最好使用频率计数器测了频率,因为它提供了比示波器更精确的测量。另外还需要KW36通过IO输出振荡器频率。要输出振荡器频率,以任意一个低功耗蓝牙演示应用程序为例,执行以下操作: 调整频率示例 本示例将利用低功耗蓝牙演示应用程序的心率传感器演示(freertos版本),并假定开发人员具有从SDK到IDE导入或打开项目的知识。 从SDK中打开或克隆“心率传感器”项目。       在工作区的board文件夹中找到board.c和board.h文件。 如下图所示在board.h文件中声明一个void函数。该函数将是为了把RTC时钟多路复用到PTB3,以使其能够输出32kHz频率用于测量。 /* Function to mux PTB3 to RTC_CLKOUT */void BOARD_EnableRtcClkOut (void); 如下所示在board.c文件中添加BOARD_EnableRtcClkOut函数。    void BOARD_EnableRtcClkOut(void){/* Enable PORTB clock gating */CLOCK_EnableClock(kCLOCK_PortB);/* Mux the RTC_CLKOUT to PTB3 */PORT_SetPinMux(PORTB, 3u, kPORT_MuxAlt7);/* Select the 32kHz reference for RTC_CLKOUT signal */ SIM->SOPT1 |= SIM_SOPT1_OSC32KOUT(1); } 在hardware_init函数中(board.c文件),在调用BOARD_BootClockRUN函数之后立即调用BOARD_EnableRtcClkOut函数。       在工作区的board文件夹中找到clock_config.c文件。 在文件顶部添加以下定义。 #define RTC_OSC_CAP_LOAD_0 0x0U /*!< RTC oscillator, capacitance 0pF */#define RTC_OSC_CAP_LOAD_2 0x2000U /*!< RTC oscillator, capacitance 2pF */#define RTC_OSC_CAP_LOAD_4 0x1000U /*!< RTC oscillator, capacitance 4pF */#define RTC_OSC_CAP_LOAD_6 0x3000U /*!< RTC oscillator, capacitance 6pF */#define RTC_OSC_CAP_LOAD_8 0x800U /*!< RTC oscillator, capacitance 8pF */#define RTC_OSC_CAP_LOAD_10 0x2800U /*!< RTC oscillator, capacitance 10pF */#define RTC_OSC_CAP_LOAD_12 0x1800U /*!< RTC oscillator, capacitance 12pF */#define RTC_OSC_CAP_LOAD_14 0x3800U /*!< RTC oscillator, capacitance 14pF */#define RTC_OSC_CAP_LOAD_16 0x400U /*!< RTC oscillator, capacitance 16pF */#define RTC_OSC_CAP_LOAD_18 0x2400U /*!< RTC oscillator, capacitance 18pF */#define RTC_OSC_CAP_LOAD_20 0x1400U /*!< RTC oscillator, capacitance 20pF */#define RTC_OSC_CAP_LOAD_22 0x3400U /*!< RTC oscillator, capacitance 22pF */#define RTC_OSC_CAP_LOAD_24 0xC00U /*!< RTC oscillator, capacitance 24pF */#define RTC_OSC_CAP_LOAD_26 0x2C00U /*!< RTC oscillator, capacitance 26pF */#define RTC_OSC_CAP_LOAD_28 0x1C00U /*!< RTC oscillator, capacitance 28pF */#define RTC_OSC_CAP_LOAD_30 0x3C00U /*!< RTC oscillator, capacitance 30pF */ 在BOARD_BootClockRUN函数内(也在clock_config.c文件中)找到对函数CLOCK_CONFIG_EnableRtcOsc的调用,然后通过上述任意定义来设置函数入参。 最后,在项目源文件夹中的“app_preinclude.h”文件中禁用低功耗选项和LED Support: #define cPWR_UsePowerDownMode 0#define gLEDSupported_d 0     此时,可以用频率计数器测量PTB3输出的频率,并进行频率调整。每次对电路板进行编程时,都需要执行POR以获得正确的测量值。下表是从FRDM-KW36板rev B获得的,可用作调整频率的参考。 请注意,电容不仅由启用的内部电容组成,还包括封装、焊线、焊垫和 PCB 走线中的寄生电容。因此,尽管下面给出的参考测量值应接近实际值,但您还应该在电路板上进行测量,以确保频率是专门针对您的电路板和布局进行调整的。 启用的电容器 CLOAD 电容定义 频率 - 0pF RTC_OSC_CAP_LOAD_0 (bank disabled) 32772.980Hz SC2P 2pF RTC_OSC_CAP_LOAD_2 32771.330Hz SC4P 4pF RTC_OSC_CAP_LOAD_4 32770.050Hz SC2P, SC4P 6pF RTC_OSC_CAP_LOAD_6 32769.122Hz SC8P 8pF RTC_OSC_CAP_LOAD_8 32768.289Hz SC2P, SC8P 10pF RTC_OSC_CAP_LOAD_10 32767.701Hz SC4P, SC8P 12pF RTC_OSC_CAP_LOAD_12 32767.182Hz SC2P, SC4P, SC8P 14pF RTC_OSC_CAP_LOAD_14 32766.766Hz SC16P 16pF RTC_OSC_CAP_LOAD_16 32766.338Hz SC2P, SC16P 18pF RTC_OSC_CAP_LOAD_18 32766.038Hz SC4P, SC16P 20pF RTC_OSC_CAP_LOAD_20 32765.762Hz SC2P, SC4P, SC16P 22pF RTC_OSC_CAP_LOAD_22 32765.532Hz SC8P, SC16P 24pF RTC_OSC_CAP_LOAD_24 32765.297Hz SC2P, SC8P, SC16P 26pF RTC_OSC_CAP_LOAD_26 32765.117Hz SC4P, SC8P, SC16P 28pF RTC_OSC_CAP_LOAD_28 32764.940Hz SC2P, SC4P, SC8P, SC16P 30pF RTC_OSC_CAP_LOAD_30 32764.764Hz  
查看全文
Overview The LCD reference design is developed using the Kinetis KL28Z through the standalone peripheral module FlexIO. The polling method is used to copy data from SRAM or flash to FlexIO's shifter buffer. Image Kinetis board is powered by an Arm ®  Cortex ® -M0, providing up to 96 MHz CPU performance besides supporting ultra-low power. KL28Z's FlexIO emulates 8080 interface, and drives a 320x240 TFT LCD module. DAM or displaying applications, such as HMI, can be built based on this demo. The refresh rate is up to 128 fps with 16-bit width data bus and 48MHz core clock. Features Features the Kinetis KL2828Z512 Board, the interaction between a LCD display by FlexIO, a highly configurable module capable of emulating a wide range of different communication protocols. The important feature of this peripheral is that it enables the user to build their own peripheral directly in the MCU. Developed using Kinetis Software Development Kit (SDK), comprehensive software support for Kinetis MCUs and drivers for each MCU peripheral, middleware, real-time OS and example applications designed to simplify and accelerate application development on Kinetis MCUs. Block Diagram Board Design Resources
查看全文
Demo NXP boosts aerospace communications and radar performance for defense systems. See this demo for how our transistors deliver highest RF output power for radar and identification, friend-or-foe (IFF) systems     Demo / Product features MMRF1314H 1000 W Pulse 52 V LDMOS Transistor 100 W Peak, 1200-1400 MHz reference circuit Ceramic package NI-1230H-4S Internal prematch > 20:1 VSWR   MMRF1317H 1500 W Pulse 50 V LDMOS Transistor Highest power narrowband IFF transistor for defense and civil use Ceramic package NI-1230H-4S 1500 W Peak, 1030-1090 MHz reference circuit > 10:1 VSWR   MMRF1312H 1200 W Pulse 52 V LDMOS Transistor Highest power broadband L-Band transistor for military and civil use Ceramic package NI-1230H-4S 1200 W Peak, 900-1215 MHz reference circuit > 20:1 VSWR   NXP Recommends MMG2010N MMRF1317H MMRF1314 MMRF1312 MMRF5300 MMRF5301  
查看全文
Connecting the Streets of Austin with Live V2X Demonstration – NXP FTF 2016 “Together with Siemens and Electric Cab of Austin NXP is showing how V2X and other connected technologies are going to change the face of our cities as we know them – making them more efficient, cleaner and less congested” Demo / product features V2X technology warns drivers of traffic hazards, increasing the safety for the driver, while taking people or objects into account, essentially “seeing around corners”. V2X technology warns drivers of traffic hazards even one mile ahead, increasing the safety for the driver, while taking people or objects into account, essentially “seeing around corners”. The strength of V2X comes from its ability to take control of traffic. V2X technology helps make roads safer and eases traffic by warning drivers and presenting alternatives when problems occur. For example, when only one lane is open, the V2X system controls on-coming vehicles with traffic lights to safely share the single lane. V2X will also advise drivers on optimal speed to pass the traffic light during a green phase and the remaining time of the green signal. V2X-enabled traffic lights detect pedestrians, cyclists and other vulnerable road users and signal for crossing vehicles to stop to allow the pedestrians to cross Transparent truck with IoT truck V2X – V2V Drone-to-car communication Emergency vehicle approaching Security – hacker use case Pedestrian crossing Real-time camera video streaming over 802.11p from IoT truck Vulnerable road user detection based on RFID tags and broadcast VRU warning via V2X NXP Recommends V2X comms RoadLink Chipset RF Transceiver (TEF5x00) Baseband IC (SAF5x00) Security IC (SXF1700) Dolphin 77GHz Radar Chip Ethernet Switch Videos
查看全文
Demo Neural network classification method based on SqueezeNet. Images are captured by the camera processed and classified by the S32V processor and then displayed on the TV monitor with a confidence percentage calculated for each object visualized. Based on SqueezeNet, 501x fewer parameters than AlexNet Low power consumption - Less than 10 watts total Average top 1 accuracy of 58% and top 5 accuracies of 92% CNN built with APEX-DNN library Product Link S32V Vision and Sensor Fusion Evaluation Board https://www.nxp.com/design/development-boards/automotive-development-platforms/s32v-mpu-platforms/s32v-vision-and-sensor-fusion-evaluation-board:SBC-S32V234  S32V234 S32V234 Vision Processor | NXP 
查看全文
Demo     Prescient’s PA Module Demo / product features (Value proposition) NXP’s cutting edge RF solution for medical applications Compelling portfolio at 2.45 GHz with 140 W–300 W output power, high VSWR NXP 140 W LDMOS inside Neuwave’s Certus 140 Ablation System for cancer NXP Recommends MRF24300N MRF7S24250N RF Industrial, Scientific and Medical      
查看全文
Demo The MC33SB040X familly is an antilock brake controller designed especially for two wheeler system. Thanks to the plug and play evaluation module controlled by a friendly graphical unit interface, we will show the potential of our product.  Through this demo, we will demonstrate how it is easy to use our solutions and accelerate the development of a complete ABS Motorcycle / Scooter solution.   First Motorcycle ABS IC Familly One Channel ABS IC for Scooters - Two Channels ABS IC for Motorcycles Smallest ABS Package - Low RDSon Low Side Drivers Featured NXP Product http://cache.freescale.com/files/analog/doc/brochure/BR1569.pdf  
查看全文
从MKW36Z512VHT4到MKW36A512VFT4的软件迁移指南 USL:https://community.nxp.com/docs/DOC-345487 由 Edgar Eduardo Lomeli Gonzalez于 2020-09-14 创建的文档   引言 这篇文章将指导您如何从MKW36Z512VHT4迁移到MKW36A512VFT4 MCU。本示例将使用“信标(beacon)” SDK例程。 SDK下载和安装 1- 前往MCUXpresso网页:MCUXpresso网页 2- 使用您的注册帐户登录。 3- 搜索“ KW36A”设备。点击推荐的处理器,然后单击“Build MCUXpresso SDK”。   4- 点击后将显示另一页面。在“Toolchain / IDE”框中选择“All toolchains”,并提供名称以标识软件包。然后点击“Download SDK”。   5- 接受许可协议。等待几分钟直到系统将软件包放入您的配置文件中。 单击“下载SDK存档”(Download SDK Archive),下载SDK,如下图所示。   6- 如果使用MCUXpresso IDE,‘请将KW36A SDK 压缩文件夹拖放到“Installed SDKs”视图中以安装软件包。   至此,您已经下载并安装好KW36A设备的SDK软件包。 在MCUXpresso IDE中进行软件迁移 1- 在 MCUXpresso工作区导入“信标(beacon)”示例。单击“Import SDK examples(s)…”选项,将出现一个新窗口。然后选择“ MKW36Z512xxx4”,单击FRDM-KW36图像。点击“Next >”按钮。   2- 查找“beacon(信标)”例程并选择是否支持FreeRTOS。   3- 转到Project/Properties。展开C / C ++ Build / MCU设置,然后选择MKW36A512xxx4 MCU。单击“Apply and Close”按钮以保存配置。   4- 通过单击鼠标右键并选择“重命名”将以下MKW36Z文件夹重命名为MKW36A,            framework/DCDC/Interface -> MKW36Z framework/DCDC/Source -> MKW36Z framework/LowPower/Interface -> MKW36Z framework/LowPower/Source -> MKW36Z framework/XCVR -> MKW36Z4     5- 在MCUXpresso IDE中打开“Project/Properties”窗口。 转到C / C ++ Build / Settings,然后在Tool Settings窗口中选择MCU C Compiler / Includes文件夹。在创建之前,根据MKW35文件夹编辑与MKW36 MCU相关的所有路径。结果类似如下所示:   ../framework/LowPower/Interface/MKW36A ../framework/LowPower/Source/MKW36A ../framework/DCDC/Interface/MKW36A ../framework/XCVR/MKW36A4         6- 在工具设置中选择MCU Assembler/General文件夹。 编辑与MKW36 MCU相关的路径。结果类似如下所示: ../framework/LowPower/Interface/MKW36A ../framework/LowPower/Source/MKW36A ../framework/DCDC/Interface/MKW36A ../framework/XCVR/MKW36A4         7- 转到Project/Properties。展开MCU CCompiler/Preprocessor窗口。编辑“ CPU_MKW36Z512VHT4”和“ CPU_MKW36Z512VHT4_cm0plus”符号,分别将其重命名为“ CPU_MKW36A512VFT4”和“ CPU_MKW36A512VFT4_cm0plus”。保存更改。   8- 转到工作区。删除位于CMSIS文件夹中的“ fsl_device_registers,MKW36Z4,MKW36Z4_features,system_MKW36Z4.h和system_MKW36Z4.c”文件。然后解压缩MKW35Z SDK软件包并在以下路径中搜索“ fsl_device_registers,MKW36A4,MKW36A4_features,system_MKW36A4.h和system_MKW36A4.c”文件并复制到CMSIS文件夹中: <SDK_folder_root>/devices/MKW36A4/fsl_device_registers.h <SDK_folder_root>/devices/MKW36A4/MKW36A4.h <SDK_folder_root>/devices/MKW36A4/MKW36A4_features.h <SDK_folder_root>/devices/MKW36A4/system_MKW36A4.h <SDK_folder_root>/devices/MKW36A4/system_MKW36A4.c     9-  将位于路径<SDK_folder_root> /devices/MKW36A4/mcuxpresso/startup_mkw36a4.c中的“ startup_mkw36a4.c”覆盖” startup”文件夹中的“ startup_mkw36z4.c”。 您可以简单的将文件拖放到“startup”文件夹中,然后删除旧的文件。   10- 在CMSIS文件夹中打开“ fsl_device_registers.h”文件。在以下代码(文件的第18行)中添加“ defined(CPU_MKW36A512VFT4)”: /* * Include the cpu specific register header files. * * The CPU macro should be declared in the project or makefile. */#if (defined(CPU_MKW36A512VFP4) || defined(CPU_MKW36A512VFT4) || defined(CPU_MKW36A512VHT4) || defined(CPU_MKW36A512VFT4))‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍  11- 在bluetooth->host->config文件夹中打开“ ble_config.h”文件。在以下代码中添加“ defined(CPU_MKW36A512VFT4)”(文件的第146行): /* The maximum number of BLE connection supported by platform */#if defined(CPU_QN9080C) #define MAX_PLATFORM_SUPPORTED_CONNECTIONS 16#elif (defined(CPU_MKW36Z512VFP4) || defined(CPU_MKW36Z512VHT4) || defined(CPU_MKW36A512VFP4) || defined(CPU_MKW36A512VHT4) || defined(CPU_MKW36A512VFT4) || \ defined(CPU_MKW35Z512VHT4) || defined(CPU_MKW35A512VFP4) || \ defined(CPU_K32W032S1M2CAx_cm0plus) || defined(CPU_K32W032S1M2VPJ_cm0plus) || \ defined(CPU_K32W032S1M2CAx_cm4) || defined(CPU_K32W032S1M2VPJ_cm4) || \ defined(CPU_MKW38A512VFT4) || defined (CPU_MKW38Z512VFT4) || defined(CPU_MKW39A512VFT4) || \ defined(CPU_MKW37A512VFT4) || defined(CPU_MKW37Z512VFT4))‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍  12- 在source-> common文件夹中打开“ ble_controller_task.c”文件。在以下代码(文件的第272行)中添加“ defined(CPU_MKW36A512VFT4)”: #elif (defined(CPU_MKW35A512VFP4) || defined(CPU_MKW35Z512VHT4) || defined(CPU_MKW36A512VFP4) || defined(CPU_MKW36A512VFT4) ||\ defined(CPU_MKW36A512VHT4) || defined(CPU_MKW36Z512VFP4) || defined(CPU_MKW36Z512VHT4))/* Select BLE protocol on RADIO0_IRQ */ XCVR_MISC->XCVR_CTRL = (uint32_t)((XCVR_MISC->XCVR_CTRL & (uint32_t)~(uint32_t)( XCVR_CTRL_XCVR_CTRL_RADIO0_IRQ_SEL_MASK )) | (uint32_t)( (0UL << XCVR_CTRL_XCVR_CTRL_RADIO0_IRQ_SEL_SHIFT) )); 13-生成项目。 至此,该工程项目已经迁移完成。 在IAR Embedded Workbench IDE中进行软件迁移 1- 打开位于以下路径的信标(Beacon)项目: 2- 在工作区中选择项目,然后按Alt + F7打开项目选项。   3- 在General Options/Target 窗口中,单击设备名称旁边的图标,再选择适当的芯片NXP / KinetisKW / KW3x / NXP MKW36A512xxx4,然后单击“确定”按钮。   4- 在以下路径中创建一个名为MKW36A的新文件夹: <SDK_root>/middleware/wireless/framework_5.4.6/DCDC/Interface <SDK_root>/middleware/wireless/framework_5.4.6/DCDC/Source <SDK_root>/middleware/wireless/framework_5.4.6/LowPower/Interface <SDK_root>/middleware/wireless/framework_5.4.6/LowPower/Source <SDK_root>/middleware/wireless/framework_5.4.6/XCVR     5- 复制位于上述路径的MKW36Z文件夹内的所有文件,然后粘贴到MKW36A文件夹中。   6- .在工作区中选择信标项目,然后按Alt + F7打开项目选项窗口。 在“ C/C++ Compiler/Preprocessor”窗口中,将所有路径里的MKW36Z文件夹的重命名为MKW36A文件夹。在已定义的符号文本框中,将CPU_MKW36Z512VHT4宏重命名为CPU_MKW36A512VFT4。结果如下图所示:然后单击确定按钮。 $PROJ_DIR$/middleware/wireless/framework_5.4.2/LowPower/Interface/MKW36A $PROJ_DIR$/../../../../../../../devices/MKW36A4/drivers $PROJ_DIR$/../../../../../../../middleware/wireless/framework_5.4.2/DCDC/Interface/MKW36A $PROJ_DIR$/../../../../../../../middleware/wireless/framework_5.4.2/XCVR/MKW36A4 $PROJ_DIR$/../../../../../../../devices/MKW36A4 $PROJ_DIR$/../../../../../../../devices/MKW36A4/utilities     7- 展开startup文件夹,选择所有文件,单击鼠标右键,然后选择“Remove”选项。在文件夹上单击鼠标右键,然后选择““Add/Add files”。添加位于以下路径的startup_MKW36A4.s: <SDK_root>/devices/MKW36A4/iar/startup_MKW36A4.s 另外,将system_MKW36A4.c和system_MKW36A4.h添加到startup文件夹中。 这两个文件都位于以下路径: <SDK_root>/devices/MKW36A4   8- 在bluetooth->host->config文件夹中打开“ ble_config.h”文件。在以下代码中添加“ defined(CPU_MKW36A512VFT4)”: /* The maximum number of BLE connection supported by platform */#if defined(CPU_QN9080C) #define MAX_PLATFORM_SUPPORTED_CONNECTIONS 16#elif (defined(CPU_MKW36Z512VFP4) || defined(CPU_MKW36Z512VHT4) || defined(CPU_MKW36A512VFP4) || defined(CPU_MKW36A512VHT4) || defined(CPU_MKW36A512VFT4) || \ defined(CPU_MKW35Z512VHT4) || defined(CPU_MKW35A512VFP4) || \ defined(CPU_K32W032S1M2CAx_cm0plus) || defined(CPU_K32W032S1M2VPJ_cm0plus) || \ defined(CPU_K32W032S1M2CAx_cm4) || defined(CPU_K32W032S1M2VPJ_cm4) || \ defined(CPU_MKW38A512VFT4) || defined (CPU_MKW38Z512VFT4) || defined(CPU_MKW39A512VFT4) || \ defined(CPU_MKW37A512VFT4) || defined(CPU_MKW37Z512VFT4))‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍  9- 在source-> common文件夹中打开“ ble_controller_task.c”文件。在以下代码中添加“ defined(CPU_MKW36A512VFT4)”: #elif (defined(CPU_MKW35A512VFP4) || defined(CPU_MKW35Z512VHT4) || defined(CPU_MKW36A512VFP4) || defined(CPU_MKW36A512VFT4) ||\ defined(CPU_MKW36A512VHT4) || defined(CPU_MKW36Z512VFP4) || defined(CPU_MKW36Z512VHT4))/* Select BLE protocol on RADIO0_IRQ */ XCVR_MISC->XCVR_CTRL = (uint32_t)((XCVR_MISC->XCVR_CTRL & (uint32_t)~(uint32_t)( XCVR_CTRL_XCVR_CTRL_RADIO0_IRQ_SEL_MASK )) | (uint32_t)( (0UL << XCVR_CTRL_XCVR_CTRL_RADIO0_IRQ_SEL_SHIFT) ));  10-生成项目。 至此,该项目已经迁移完成。  
查看全文