NXP Designs Knowledge Base

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

NXP Designs Knowledge Base

Discussions

Sort by:
Winners! NXP received a number of creative submissions over the course of the MRFX Design Challenge. We appreciate the enthusiasm from the community as designers were hard at work on their RF projects. Now is the moment everyone's been waiting for as NXP proclaims the MRFX Design Challenge winners. First Place Winner  Russell Kendrick | Bio + Full Project Description Project Video: MRFX1K80H 50 MHz Project Brief This amplifier is intended to be driven with a modern transceiver with 100 watts output on 50 MHz. To protect the MRFX1K80H from overdrive a series of RF pads are used to reduce the input to the proper level. The input matching is accomplished by using a 9:1 conventional RF transformer formed on an Amidon BN 61-202 core. An 82 nH inductance is in series with the high impedance winding of the transformer. This arrangement yielded an input match of 1.3:1 SWR over the entire 6-meter Amateur band when measured without the pads. Shunt gate resistance is used to prevent oscillation at low frequencies. This is the same approach used in the 27 MHz test circuit from NXP. Bias will be supplied by a DAC driven by the microcontroller that will manage the finished amplifier Second Place Winner        Floris Roosen | Bio                                                                         Project Video: Roosen Single-Ended Broadband (87-110 MHz) RF Design         Third Place Winner Mike Mysliwiec | Bio Project Video: 2xMRFX1K80H 1.8-54 MHz HF Amplifier   Overview  NXP is hosting an RF power amplifier design contest. Applicants will record a video of their power amplifier/demo using NXP’s new 65V LDMOS 1800 W RF Power transistor, MRFX1K80H The contest is open to students, professional engineers, companies or individuals Key Dates Contest kick-off: October 30, 2017 Submit a video (3-5 minutes in length) no later than Friday, January 26, 2018, by sending a link to any video website, such as YouTube, YouKu or others to rfindustrial@nxp.com Results will be announced on Monday, February 12, 2018 Prizes • 1st prize: $3,000 cash award + 15 MRFX1K80H samples. Showcase designer bio and video in an NXP blog • 2nd prize: $1,000 cash award + 10 MRFX1K80H samples • 3rd prize: $500 cash award + 10 MRFX1K80H samples The prize amounts are before tax All accepted videos will be posted on www.nxp.com/videos  Judging Criteria How to enter the competition Please click on the link below for the latest details and to access the MRFX Design Challenge page www.nxp.com/MRFXdesign 
View full article
ARM's Ronan Synnott demonstrates the Keil Microcontroller Development Kit (MDK) at the 2014 FTF-Americas. The MDK is a complete software development environment for the Kinetis device family.   Features Demonstrating Keil's Microcontroller Development Kit (full feature debug IDE from ARM) solution Connecting via Ulink Pro JTAG connector ARMCC (ARM compiler) View registers, view memory, etc. Values update on the fly, logic analyzer to visualize values in a system and display on a timeline format   Featured NXP Products Kinetis Microcontrollers Links ARM  
View full article
Overview   Artificial intelligence, and machine learning specifically, is transforming industries from Consumer to Industrial. To date, many applications host AI/ML inferencing on conventional computers in the cloud or locally. Meanwhile, edge computing is enabling other computing workloads to move from conventional information technology (IT) to lower-cost systems close to where data is generated. Although many AI/ML workloads run fine on edge systems’ CPUs, others are more intense: either multiple AI/ML functions must run simultaneously or performance requirements (e.g., frame rates) are too great. The solution to gaining the combined benefits of AI/ML and edge computing is acceleration. At the 2020 Consumer Electronics Show, NXP demonstrated the LS1046A-FRWY platform simultaneously running two or more high-intensity AI/ML functions. These include face recognition, object detection (both general and safety gear), posture recognition, and gaze detection. The scenario demonstrated is factory safety. An operator within a safety zone is monitored for attentiveness, personal protective equipment, and access control. Helping to make this possible is external acceleration based on the Google Edge TPU. Interfacing to the Layerscape LS1046A processor via its copious PCI Express ports, two M.2 TPU cards slotted in the FRWY system offload AI/ML inferencing. Based on the Layerscape LS1046A processor with four powerful Arm Cortex-A72 CPU cores, the compact, cost-effective LS1046A-FRWY platform gives developers a leg up on implementing high-performance AI/ML applications at the edge.   Diagram     Products Product Name LS1046A Freeway Board | NXP  Related Community Documents Document Name NXP Helps Industrial System Developers Apply AI/ML to Their Designs  Five Easy Steps To Deploy Machine Learning On Layerscape 
View full article
Overview The Bluetooth® Low Energy heart rate monitor reference design demonstrates the implementation of a wireless electrocardiogram (ECG) acquisition system. It features the Kinetis® KW40Z system on chip (SoC) which includes an Arm® Cortex® M0+ processor together with a 2.4 GHz radio for Bluetooth Low Energy and 802.15.4. The ECG signal is obtained from the finger tips and processed by the Kinetis KW40Z SoC. Then, the user’s heart rate is calculated and transmitted to a smartphone application using Bluetooth Low Energy. The reference design can be powered by a Li-Ion coin-cell battery. Due to the low-power features of Kinetis KW40Z MCU, a 3.6V 200mA/h Li-Ion coin-cell rechargeable battery can provide the power of up to 40 hours of continuous use. The NXP® MC34671 is in used as a battery charger solution for the device. Features Includes the NXP ®  ultra-low-power Kinetis ®  KW40Z SoC Bluetooth Low Energy/ZigBee platform. The low-power features of this solution allow up to 40 hours of continuous operation using a small coin-cell battery. Fully compliant Bluetooth v4.1 Low Energy Differential input/output port used with external balun for single port operation Block Diagram Board Design Resources
View full article
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
View full article
See how the Wayv uses RF power transistors in a compact, small, and light-weight cooking appliance that gives the flexibility to heat food anytime and anywhere. The Wayv is a battery operated device with a heating chamber and a user interface for programming your cooking needs Demo / product features Battery operated using NXP’s high efficiency RF power solutions Rapidly heats food Safe and eco-friendly Features: Compact, portable, lightweight, and rugged Environmentally friendly solution No toxic fumes during cooking Wireless Design & Developmet (WDD) top pick for IMS 2016 http://www.wirelessdesignmag.com/videos/2016/06/top-5-ims-2016?platform=hootsuite _______________________________________________________________________________________________________ NXP Recommends http://www.nxp.com/Wayv MHT1008N RF Cooking Transistor Driver: http://www.nxp.com/products/rf/rf-power-transistors/rf-cooking/2450-mhz-12.5-w-cw-28-v-rf-ldmos-transistor-for-consumer-and-commercial-cooking:MHT1008N MHT1004N RF Cooking Transistor Final Stage Amplifier: http://www.nxp.com/products/rf/rf-power-transistors/rf-cooking/2450-mhz-300-w-cw-32-v-rf-ldmos-transistor-for-consumer-and-commercial-cooking:MHT1004N MKW40Z Kinetis MCU: http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/kinetis-cortex-m-mcus/w-series-wireless-m0-plus-m4/kinetis-kw41z-2.4-ghz-dual-mode-ble-and-802.15.4-wireless-radio-microcontroller-mcu-based-on-arm-cortex-m0-plus-core:KW40Z MMA25312B InGaP HBT Linear Amplifier: http://www.nxp.com/products/rf/rf-amplifiers-low-medium-power/wideband-amplifiers/linear-amplifiers/2300-2700-mhz-26-db-31-dbm-ingap-hbt-linear-amplifier:MMA25312B RF Cooking|NXP _______________________________________________________________________________________________________ Other Links: http://www.wayvtech.com/ _______________________________________________________________________________________________________ News The Wayv Of The Future: Portable, Battery-Operated Microwave
View full article
  Overview   The Freescale Airbag Reference Platform (ARP) is an application demonstrator system which provides an airbag Electronic Control Unit (ECU) implementation example using complete Freescale standard products for the growing automotive safety segment. The GUI firmware does not constitute a true airbag application but is intended to demonstrate features and capabilities of Freescale's standard products aimed at the airbag market.     Features   Device Description Features MPC560xP|32-bit MCU|Chassis-Safety | NXP  Qorivva 32-bit Microcontroller Scalable MCU family for safety applications e200z0 Power Architecture 32-bit core up to 64 MHz Scalable memory, up to 512 KB flash MC33789 | Airbag Power Supply and PSI5 Sensor Interface | NXP  Airbag System Basis Chip (PSI5) Power supply for complete ECU Up to four Satellite Sensor interfaces (PSI5) Up to nine configurable switch input monitors for simple switch, resistive and Hall-effect sensor interface Safing block and watchdog LIN 2.1 physical layer interface MMA68xx ECU Local X/Y Accelerometer ±20 g to ±120 g full-scale range, independently specified for each axis SPI-compatible serial interface 10-bit digital signed or unsigned SPI data output Independent programmable arming functions for each axis 12 low-pass filter options, ranging from 50 Hz to 1000 Hz MC33797 | Four Channel Squib Driver IC | NXP  Four Channel Squib Driver Four channel high-side and low-side 2.0 A FET switches Externally adjustable FET current limiting Adjustable current limit range: 0.8 to 2.0 A Diagnostics for high-side safing sensor status Resistance and voltage diagnostics for squibs 8-bit SPI for diagnostics and FET switch activation MC33901 High Speed CAN Physical Layer ISO11898-2 and -5 compatible Standby mode with remote CAN wake-up on some versions Very low current consumption in standby mode, typ. 8 μA Excellent EMC performance supports CAN FD up to 2 Mbps MMA52xx MMA51xx High G Collision Satellite Sensor ±60 g to ±480 g full-scale range PSI5 Version 1.3 Compatible (PSI5-P10P-500/3L) Selectable 400 Hz, 3 pole, or 4 pole low-pass Filter X-axis (MMA52xx) and Z-axis (MMA51xx) available
View full article
Demo Owner Mark Middleton Processor Expert Software is a development system to create, configure, optimize, migrate, and deliver software components that generate source code for NXP silicon.       Features Processor expert software for Vybrid and i.MX processors Each component encapsulates a discrete set of functionality designed to accomplish the component's design objectives. When used, it may generate configuration files, header files, and/or source code depending on the type of component. A component may represent a hardware abstraction, a peripheral driver, a software algorithm (such as data encryption), or any logical collection of software function. Featured NXP Products Vybrid i.MX Applications Processors based on ARM® Cores Development Software Used Processor Expert Software and Embedded Components Links Vybrid Controller Solutions based on ARM® Technology ARM® Cortex®-A9 Cores: i.MX 6 Series Multicore Processors  
View full article
Description Concentrators are important part of the metering system in a state grid, including Type I and II concentrators and Type III transformers, which collect power consumption information downward from power meters and collectors. Concentrators have various communication protocols including RS-485, 470MHz Sub-G wireless system, Power Line Carrier (PLC-Broadband and narrowband carrier), and they usually communicate with main station with Ethernet, 2G/3G/4G, State Grid VPN, etc. NXP offers proven solutions for concentrators and concentrator applications. Features Power Line Carrier Communication protocols: RS-485 470MHz Sub-G wireless system Ethernet 2G/3G/4G State Grid VPN Block Diagram Products Category Name 1: MCU and MPU Product URL 1 i.MX 6ULL Applications Processor | Single Arm® Cortex®-A7 @ 900 MHz | NXP  Product Description 1 The i.MX 6ULL provides various memory interfaces, including 16-bit LPDDR2, DDR3, DDR3L, raw and managed NAND flash, NOR flash, eMMC, Quad SPI and a wide range of other interfaces for connecting peripherals such as WLAN, Bluetooth®, GPS, displays and camera sensors. Product URL 2 Arm® Cortex®-M0+|Kinetis® KM3x 50-75 MHz 32-bit MCUs | NXP  Product Description 2 Kinetis® KM3x MCUs enable single-chip one-, two-, and three-phase electricity meters, as well as flow meters and other precision measurement applications. Category Name 2: Transceiver Product URL 1 SC16C650B | NXP  Product Description 1 The SC16C650B is a Universal Asynchronous Receiver and Transmitter (UART) used for serial data communications. Its principal function is to convert parallel data into serial data, and vice versa. Product URL 2 TJA1101 | 2nd generation PHY Transceiver | NXP  Product Description 2 TJA1101 is a high-performance single port, IEEE 100BASE-T1 compliant Ethernet PHY Transceiver. Category Name 3: Power Management Product URL 1 10-Channel Configurable PMIC | NXP  Product Description 1 The PF3001 Power Management Integrated Circuit (PMIC) features a configurable architecture that supports numerous outputs with various current ratings as well as programmable voltage and predefined sequencing. Category Name 4: RTC Product URL 1 https://www.nxp.com/products/peripherals-and-logic/signal-chain/real-time-clocks/rtcs-with-temperature-compensation/accu…  Product Description 1 The PCF2129 is a CMOS Real Time Clock (RTC) and calendar with an integrated Temperature Compensated Crystal (Xtal) Oscillator (TCXO) and a 32.768 kHz quartz crystal optimized for very high accuracy and very low power consumption. Category Name 5: Security Product URL 1 A1006 | Secure Authenticator IC: Embedded Security Platform | NXP  Product Description 1 The Secure Authenticator IC is manufactured in a high-density submicron technology. It is a secure tamper-resistant authentication IC, which offers a strong cryptographic solution intended to be used by device manufacturers to prove the authenticity of their genuine products. Tools Product Link MCIMX6ULL-EVK: Evaluation kit for the i.MX 6ULL and 6ULZ Applications Processor MCIMX6ULL-EVK|i.MX6ULL Evaluation Kit | NXP  KITPF3000FRDMEVM: Evaluation Kit for PF3000/1 Power Management Integrated Circuit Evaluation Kit for PF3000/1 Power Management Integrated Circuit | NXP  TWR-KM34Z50M: Kinetis M Series Tower System Module TWR-KM34Z50M|Tower System Board|Kinetis MCUs | NXP  OM13513: RTC demoboard containing PCF2127T and PCF2129AT RTC demoboard containing PCF2127T and PCF2129AT | NXP  OM67200: Developer Kit for A1006 Secure Authenticator Solutions OM67200: Developer Kit for A1006 Secure Authenticator Solutions | NXP  TJA1100HN: Evaluation Board, TJA1100HN 100BASE-T1 PHY Transceiver TJA1100 Customer Evaluation Board | NXP 
View full article
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  
View full article
Demo Summary The complete mobile transit solution by NXP enables passengers to pay for tickets directly from their mobile phone results in shorter queues at ticket machines and a faster throughput in transport terminals, significantly improving the customer experience. Passengers can buy tickets using their mobile phone, store them on the Secure Element in their phone and later validate them with a single tap on the reader. NXP provides the industry’s most comprehensive end-to-end solution allowing phone manufacturers to easily deploy mobile transit use case using NFC technology as a communication layer together with a Secure Element to ensure intuitive and secure payment transactions for more efficient transit systems. Demo / product features How mobile transit transforms the user experience: Mobile wallet unfolds beyond the scope of payments to encompass mass transit Easily switch between different cities that have a mobile transit infrastructure in place within the same app Enable regular passengers to bypass ticket machines as they purchase their transportation tickets over the air, whenever and wherever they want Create holistic mobile services that support travel information, payments, ticketing and loyalty NXP Recommends The PN66T, an NFC and Secure Element solution for mobile devices, pre-integrated within a Qualcomm 8976 QRD and a Snowball Wallet, resulting from NXP’s strong ecosystem relationships. Links to Video links: YouTube, Vimeo, etc. http://www.nxp.com/products/identification-and-security/nfc-and-reader-ics/nfc-everywhere/nfc-technology:NFC-TECH http://blog.nxp.com/category/near-field-communication/ https://www.youtube.com/playlist?list=PLB598A648939A7E36
View full article
  Description A data logger senses parameters such as temperature, processes this data and transmits it using UHF/Bluetooth LE. This data logger has NFC + UHF/Bluetooth LE temperature logging. Block Diagram Products Category Name 1: NTAG IC Product URL 1 NHS3100: NTAG SmartSensor with Temperature Sensor and Digital IOs | NXP  Product Description 1 The NXP® NHS3100 is an IC optimized for temperature monitoring and logging. its embedded NFC interface, internal temperature sensor, and direct battery connection. The NHS3100 includes multiple Power-down modes and a selectable CPU frequency of up to 8 MHz, for ultra-low power consumption.   Category Name 2: BLE Transceiver Product URL 1 QN908x: Ultra-Low-Power Bluetooth Low Energy System on Chip (SoC) Solution | NXP  Product Description 1 The QN908x is an ultra-low-power, high-performance and highly integrated Bluetooth Low Energy designed for human interface devices with a small capacity battery.   Category Name 3: UHF NFC Transceiver Product URL 1 UCODE I2C | NXP  Product Description 1 The UCODE I2C combines two independent UHF Interfaces (following EPC gen2 standard) with an I2C interface. Its large memory can be then read or written via both interfaces. This I2C functionality enables the standard EPC gen2 functionalities to be linked to an electronic device microprocessor. Related Documentation Document URL Title https://www.nxp.com/docs/en/application-note/AN11180.pdf UCODE I2C PCB antenna reference designs https://www.nxp.com/docs/en/nxp/application-notes/AN12194.pdf QN908x RF Certification Guide https://www.nxp.com/docs/en/nxp/application-notes/AN11996.pdf QN908x Hardware Design Considerations https://www.nxp.com/docs/en/nxp/application-notes/AN01786.pdf QN908x Power Consumption Analysis https://www.nxp.com/docs/en/nxp/application-notes/AN11994.pdf QN908x BLE Antenna Design Guide Training Training URL SmartSensor  Hands-On - NTAG I2C Plus Brings NFC Connectivity into Consumer Electronics for Tiny Devices  Related Demos from Communities Related Demos URL NFC Demos - Information, Source codes, Schematics   NTAG I2C Plus interface to Kinetis Freedom boards  Designing with the New Ultra-Low-Power BLE System on Chip 
View full article
About the demo components For this demo, we are using the Sigfox kit, which includes the FRDM-KL43Z and the OM2385 board. Sigfox is an inexpensive, reliable, low-power solution to connect sensors and devices.  With our dedicated radio-based network, we are committed to giving a voice to the physical world and making the Internet of Things truly happen.  The Sigfox protocol focuses on:  Autonomy. Extremely low energy consumption allows years of battery life. Simplicity. No configuration, connection request or signaling. Your device is up and running within minutes! Cost efficiency. From the hardware used in the devices on our network, we optimized every step to be as cost-effective as possible. Small messages. there are no large assets or media allowed on the network.  Only small notifications up to 12 bytes are allowed. Complementarity. Thanks to its low cost and ease of configuration, you can also use Sigfox as a secondary solution to any other type of network, e.g.: Wi-Fi, Bluetooth, GPRS, etc. You can read more about Sigfox in What is Sigfox? | Sigfox build.     The OM2385/SF001 is a development platform dedicated to SIGFOX Wide Area Networking applications. It includes an OL2385 wireless sub-GHz transceiver running the preprogrammed SIGFOX library and is mounted on an FRDM-KL43Z development platform that serves as a host processor for the user's application. The FRDM-KL43Z is an ultra-low-cost development platform for Kinetis L families KL43, KL33, KL27, KL17, and KL13 MCUs built on Arm Cortex-M0+ processor running at 48 MHz.   Video     Limitations: Sigfox is only able to send a small amount of data every day for free, so if your application requires more data to be sent, you need to get a connectivity plan from Sigfox Buy .   Useful Links FRDM-KL43Z and NXP Sigfox OL2385 Board : OM2385/SF001 - SIGFOX Development Kit | NXP  Sigfox Backend Account: Sigfox Buy  Download MCUXpresso: MCUXpresso IDE|Eclipse-based Integrated Development Environment (IDE) | NXP  Download SDK: https://mcuxpresso.nxp.com/en/builder    NXP Product Link FRDM-KL43Z and NXP Sigfox OL2385 Board OM2385/SF001 - SIGFOX Development Kit | NXP  Sigfox Backend Account Sigfox Buy  Download MCUXpresso MCUXpresso IDE|Eclipse-based Integrated Development Environment (IDE) | NXP  Download SDK https://mcuxpresso.nxp.com/en/builder    Required Items:     OL2385 Arduino Shield Board FRDM-KL43Z hardware USB A-to-MiniB cable Sub-GHz Antenna GPS UART module   Hardware Diagram:    SPI OL2585 KL43Z FRDM UART GPS MOSI ---------- MISO ---------- SCK ----------- ACK ----------- CS ------------- PTD07 PTD06 PTD05 PTD02 PTD04 PTE23 PTE22           ----------- TX ----------- RX         This picture shows the board connections made for the project     Step-by-Step Guide After we get the Required items, we need to activate the Sigfox account and register our board: Sigfox Buy  If you are having trouble registering your Sigfox device, don't hesitate to write your question in our NXP community. We register the board in our backend account, and we should see the device on our device list. When we have our board registered, we will start building the application on MCUXpresso. Download the project attached at the end of this document and import it into MCUXpresso IDE.  In the video, how to import the sigfox_console example from the SDK is shown, and a brief explanation of the modifications is given. If you want to download the SDK example to start your project from scratch, you need to add the Sigfox software component to the SDK. After importing the project to our workspace, the only thing left is to make the respective hardware connections and flash the device. Then try your new project in a building-clear area. To be sure your new project will function properly, you should avoid tall buildings to get a stronger signal. The data sent should be seen in your Sigfox backend session. Teraterm console prints the data obtained from the GPS module for your viewing purposes.   Results:       This is the data sent from the Sigfox transceiver to the user backend account. The sent frames are floating-point coordinates converted to four byte-hexadecimal strings.     After the attached project is flashed to the KL43Z, this should be the results seen in the Teraterm console.
View full article
This post entry provides a detailed description of how to port the NFC Reader Library to Kinetis K64F MCU. It is used a real porting example exercise to show the steps required to adapt the NFC Reader Library to a sample target MCU. The goal of this post is to serve as a guide for software developers requiring to port the NFC Reader Library to their MCU of choice for their designs. NFC Reader Library overview The NFC Reader Library is a software stack for creating and developing contactless applications for NXP’s NFC frontends and NFC controllers with customizable firmware. This library provides an API facilitates the most common operations required in NFC applications such as: reading or writing data into contactless cards, exchanging data with other NFC-enabled devices or emulating cards. The NFC Reader Library: It is based on a modular approach It has been designed with a flexible and multilayered architecture It is written in ANSI-C programming language It is supported in multiple design environments and platforms and it has been developed with a strong focus on portability. It is available for free download. The NFC Reader Library v5.02.00 currently supports: All our NFC frontends (CLRC663 plus PN5180) and PN7462 NFC controller. Their corresponding development boards, used as NXP reference HW (CLEV6630B, PNEV5180B, PNEV7662B) And built-in MCU support for LPC1769, LPC11U68, FRDM-K82F and Raspberry Pi. In addition, the release includes several examples to get familiar with the library and which can be used as reference for your developments and, it is also included an HTLM-based API documentation for all the components, which is generated from source-code annotations. NFC Reader Library architecture The NFC Reader Library is encapsulated into layers, differentiated by colors, and components, differentiated in boxes. From top to bottom, we have: The Application Layer (AL), which implements the command sets to interact with MIFARE cards and NFC tags. The NFC activity, which implements a configurable Discovery loop for the detection of contactless cards, NFC tags or other NFC devices. Next to it, the HCE and P2P components, for the emulation of Type 4 tags and P2P data exchange respectively. The protocol abstraction layer (PAL), which contains the RF protocol implementation of the ISO14443, Felica, vicinity and NFC standards. One level down, the hardware abstraction layer (HAL), which implements the drivers for controlling the NFC frontends RF interface and capabilities. Below, the Driver Abstraction Layer (DAL), newly introduced in the latest release, which implements the GPIO pinning, the timer configuration and the physical interface (BAL) between the host MCU and the reader IC. Finally, the OSAL module, in charge of abstracting the OS or RTOS specifics (handles tasks such as timers, events, semaphores and threads) This layered architecture is helpful for several reasons: The eleven software examples, the Application Layer (AL) and the Protocol Abstraction Layer (PAL) are HW-independent, so that can be used on top of any NFC frontend. The the Application Layer (AL), the Protocol Abstraction Layer (PAL) and the Hardware Abstraction Layer (HAL) are platform-independent, so that can run in any MCU without any additional change. In case the reader MCU is part of the built-in support, the examples can be directly imported and executed straight forward. On the other hand, in case the reader MCU is not supported by default, the major advantage is that only adaptations in the DAL and OSAL layers are required, while the rest of the layers can be used without any modification. The NFC Reader Library structure can be seen more clearly when imported in the MCUXpresso development environment. After completing the import wizard, all projects are listed in the “Project Explorer” window. As can be seen in the screenshot, it contains different folders: API documentation folder Driver Abstraction Layer FreeRTOS support The platform support (in the screenshot, corresponding to the LPC support) The software examples (11) The Reader Library implementation And the OS abstraction layer NFC Reader Library porting to FRDM-K64F steps In the existing NFC Reader Library v5.02.00 release there is no native support for Kinetis K64F. However, it is included a pre-compiled package for Kinetis K82F MCU. We use the K82F NFC Reader Library package as a reference project to start the porting to K64F MCU. This package can be downloaded from www.nxp.com/pages/:NFC-READER-LIBRARY. The steps required to port the library to Kinetis K64F are: Prearing the HW (i.e the pining between the Kinetis and the NFC reader board). Setting up the development environment (i.e workspace). Perfoming some changes in project configuration settings Performing some code modifications in the DAL and application code for adding Kinetis K64F support. NFC Reader Library porting to FRDM-K64F - Preparing the hardware The hardware used for this porting exercise is: A CLEV6630B board (CLRC663 plus) as an NFC transceiver  A FRDM-K64F board (Kinetis K64F) as host MCU, used to load and run the application logic. The CLRC663 plus evaluation board is connected by default to an LPC1769 µC via SPI. However, the board is made in such a way that the LPC1769 MCU can be bypassed to connect an external MCU easily. For doing so: Six resistors from the board need to be removed. These are highlighted in red. Use the SPI pin connectors available on the left hand side, on the board edge. Next, to connect the two boards together, the pining routing was done as follows: We use the Kinetis K64F jumper 2 pin line for the MOSI, MISO, chip select and clock lines of the SPI communication. The IRQ, interface selection and reset pins of CLRC663 plus are connected in jumper 1 pin line. And, one ground pin used for reference. Therefore no complex HW manipulation was required since all interfaces are easily accessible via dedicated headers or test points. NFC Reader Library porting to FRDM-K64F - Setting up the development environment Once the HW connection is prepared, we can move to setting up the development environment and workspace. Get the latest NFC Reader Library release From the software perspective, first we need to download the latest NFC Reader Library package. To do so: Go to NXP dot com slash pages slash NFC Reader Library (www.nxp.com/pages/:NFC-READER-LIBRARY) Go to the Downloads tab and click on the download button Click download on the NFC Reader Library for Kinetis K82Fpackage. Generate a downloadable SDK package for FRDM-K64F board As part of the NXP support, an SDK with drivers, middleware, RTOS demos and more is available for any of its Kinetis and LPC micros.We need to build the corresponding one to K64F SDK. For that: Navigate to www.mcuxpresso.nxp.com and select SDK builder option. Then, use the drop-down menus to customize your SDK configuration, middleware and optional software components be included in the package. Select Request build. In a few minutes, you will receive an email with a link to download the SDK package, very similar to the one showed in the figure below. Import the NFC Reader Library into MCUXpresso workspace Next step to configure the development environment is to import the library package in the workspace. The easiest way is to use the Quick Start Panel on the left hand side. Click on Import project from file system Then, browse the library package in your file system. Click Finish to import it all to your workspace. Install and link FRDM-K64F SDK into MCUXpresso workspace The last step is to import the K64F customized SDK we configured from the MCUXpresso tools. To do so: Just drag and drop the SDK into the installed SDKs tab of the MCUXpresso IDE. (It will appear in the bottom part, in the center) Import the SDK into the workspace and link it with the software examples. It will appear as another folder in the project explorer window. If the K64F SDK has been properly imported in the workspace, we should see a new drop-down menu for K64F. From there, we should select K64F and click Apply so that the memory details for K64F are set to the project example NFC Reader Library porting to FRDM-K64F - Project configuration changes At this point we have the hardware and the workspace for software development ready. In this step, we will start porting the NfcrdlibEx1_BasicDiscoveryLoop  software example provided as part of the NFC Reader Library release. Select FRDM-K64F SDK in the project MCU settings One of the first configurations to be changed is the project MCU settings. These settings indicate which target host device is running the application code. These settings can be found if: You right click on the project example > Properties In the left-hand list of the Properties window, open “C++ build” and select “MCU settings” In the right-hand panel, we can observe the corresponding settings for K82F micro. The left figure indicates the project configuration settings used by the default SW example prepared for K82F while the right figure indicates the final project configuration settings used by the SW example ported to K64F. Define FRDM-K64F SDK preprocessor symbols in the project After that, we need to change the compiler preprocessor settings, which can be found in C++Build > Settings. In the project examples of the NFC Reader Library, the conditional directives like #ifdef and #ifndef are used to include or exclude portions of the code from the actual compilation. The conditional codes are included in the program compilation only if the MACROs are defined in the project compiler preprocessor settings. In the left side we can see the defined macros for the original project. Among them, includes one which defines that the HW used is PN518 and K82F board. Therefore, in the ported project, we need to replace the macros corresponding to K82F with the new ones corresponding to K64F.  For instance, the PHDRIVER_K64_CLRC663 macro includes in the compilation the files related to the new HW used in the ported project (for the board pin and GPIO config, SPI settings or timers). Precisely, these files are included inside BoardSelection.h file in the Driver Abstraction Layer (DAL). Add include paths for FRDM-K64F SDK files When including header files into our project, the compiler must be told which directories must be searched to find those files. To do this: Open the project properties. In the left-hand list, open “C++ Build” and Select “Settings”. In the right-hand pane, choose the “Includes” section. Click the “Add icon”. In the left figure, we see the compiler include paths for the K82F SDK of the original example. In the ported example, the K64F SDK sources will not yet compile since we did not tell the compiler about all the new include paths. Therefore, we need to add the new include paths pointing to the K64F SDK and put them into the MCUXpresso IDE project. In the right figure, you can see the paths we included for this purpose. Mainly, these paths reference to the board system init, board drivers, CMSIS files and debug utils. Add include path for FRDM-K64F MCU assembler The last MCUXpresso settings to be changed is in the MCU Assembler. This can be found in the right-hand panel, choose the “MCU Assembler” and select “General”. In the original source code, a path is used to the K82F SDK. In the ported example, we just need to remove the previous include path and replace it with the corresponding one pointing to the K64F SDK in our workspace. NFC Reader Library porting to FRDM-K64F - Code changes So far, we have the HW, the development environment prepared and the project configuration settings changed. At this point, there are only a few code changes to be done before the porting is completed and the software example can be run in K64F. DAL driver adaptation for FRDM-K64F The layered architecture of the NFC Reader Library makes porting easier since only the lower drivers need to be adapted. This driver includes functions for: The physical link connection establishment between the CLRC663 plus and K64F The init functions for timers and interrupts so they are correctly used by the application layer. Going to the NfcrdlibEx1-BasicDiscovery loop project structure, it contains several folders. If we open the DAL > board folder, we can observe one source file per each supported platform (LPC with PN5180 and CLRC663, and the same for Raspberry Pi and Kinetis K82F). Our task for the porting would be to create an equivalent source file for the new supported board, the K64F together with the CLRC663 (e.g. Board_FRDM_K64FRc663.h). This file includes The related board pin and GPIO configurations The SPI configuration The timer configuration In addition, we need to include the board, pin_mux and clock config files. Use SDK examples to get FRDM-K64F board specific configuration Implementing these board specific files, in some cases, could be time consuming and may require experience. However, you do not need to do so but rather use the existing source files. For that, you can use any of the existing SDK software examples. You can easily import one SDK example by: Clicking the “Import SDK” example in the quick start menu > select the FRDM-K64F board. Selecting the demo example. Each example application has its own unique copy of the board, pin mux, and clock config files that you can reuse for the porting (Note: this process could be different depending on the MCU used). Add FRDM-K64F macro definitions in the source code Next, along the project tree, we need to add the #ifdef directives, indicating that K64F board files that need to be compiled. This is the case for: The BoardSelection.h file The ph_NxpBuild_App.h, which links the board with the reader IC by enabling the CLRC663 plus module in the HAL layer. The ph_AppInit.h so that the board is initialized when the reader device boots. Add FRDM-K64F CPU initialization code The ph_AppInit.h  file takes care of the code initialization and code specific to the HW used to run the example. As part of this ph_AppInit.h file, there is a function in charge of initialization the host MCU. Here, we need to implement the corresponding function for the K64F init, based on the SDK example source code selected earlier. If we look within this routine, we actually find functions for: Configuring the MCU clocks. Configuring the MCU pins. Configuring the interrupts (PIT). NFC Reader Library porting to FRDM-K64F: NfcrdlibEx1_BasicDiscoveryLoop execution After following the previous steps, the source code is succesfully ported to K64F. The following video demonstrates the correct execution of the NfcrdlibEx1_BasicDiscoveryLoop example in FRDM-K64F host MCU connected to CLRC663 plus NFC frontend (CLEV6630B). The video includes a webcam, which records the HW, including all the witing wiring between the K64F and the CLRC663 plus antenna. After the code is built and compiled, the video shows how some tags are tapped to validate that the example is working as expected (tag's UIDs are displayed in the MCUXpresso console). . General considerations to port the NFC Reader Library to your target MCU Overall, the general steps required to port the NFC Reader Library to your target MCU are: Adapt the MCU drivers to the DAL layer in the NFC Reader Library. This typically includes: timers, interrupts, pining and host interface configuration between the NFC reader and host MCU sides. Adapt the OS layer (i.e. you might need to port the FreeRTOS or to your target OS platform). Adapt the source code examples: project settings (macros, include paths, MCU configuration) and perform the required code modifications (Code for HW initialization, board files, etc). Available resources NFC Reader Library:  www.nxp.com/pages/:NFC-READER-LIBRARY CLRC663 plus: www.nxp.com/products/:CLRC66303HN CLRC663 plus development kit: www.nxp.com/demoboard/OM26630 FRDM-K64F board: www.nxp.com/demoboard/FRDM-K64F Video recorded session
View full article
Demo Owner: Eric Dudley   Wireless LAN access point on the demo. This demonstration shows the P1023 in a Wireless LAN application. The dual-core QorIQ Processor with DPAA performs full offload of access points using CAPWAP and DTLS.  This hardware offload permits you to implement wirespeed GbE AP to Controller connectivity while freeing all CPU cycles to execute value added applications.     Features The P1023 is specifically designed for offloading wireless LAN access points Lowest end product that has an offload engine called Data Path Acceleration Architecture (DPAA) The offload engine is taking Layer 2 tunneled and layer 3 encrypted packets that are going from the access point back to the controller and it's doing all that connectivity at wire rate without using the CPU For multi-radio devices that need CPU head room for radio management and other processing tasks   Featured NXP Products P1023 - NXP Links Wireless Access Points QorIQ - NXP Block Diagrams  
View full article
Demo       NXP makes the securely connected, self-driving car a reality.  2,500 NXP automotive engineers combine unique competencies in Analog/RF and Automotive Microcontrollers. Together they have designed true, world-class solutions making us the   #1 in Car Infotainment, #1 in Secure Car Access, #1 in In-Vehicle Networking, #1 in Body #1 in Safety.   Features enabled by NXP •ADAS & SECURITY •INFOTAINMENT •VEHICLE NETWORKING •BODY •SAFETY •SECURE CAR ACCESS •POWERTRAIN & CHASSIS •STANDARD PRODUCTS   Recommended Products •TUNERS •SOFTWARE-DEFINED DIGITAL RADIO •MULTIMEDIA PROCESSORS •SOUND SYSTEM DSPs & AMPLIFIERS •NFC BT PAIRING •WIRELESS POWER CHARGING •POWER MANAGEMENT •CAN/LIN/ FLEXRAY •ETHERNET •CENTRAL GATEWAY CONTROLLER •SECURITY •RF •MICROCONTROLLERS •POSITION/ ANGLE SENSORS •SYSTEM BASIS CHIPS •MICROCONTROLLERS AIRBAG •ANALOG AIRBAG •MICROCONTROLLERS BRAKING •ANALOG BRAKING •SENSORS BRAKING •TIRE PRESSURE MONITORING •IMMOBILIZER/ SECURITY •REMOTE KEYLESS ENTRY •PASSIVE KEYLESS ENTRY/ GO •BI-DIRECTIONAL KEYS •NFC •ULTRA WIDE BAND •MICROCONTOLLERS •PRESSURE/ MOTION SENSORS •BATTERY MANAGEMENT •DRIVERS
View full article
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 
View full article
Overview NXP® and Jungo Ltd. collaborated to deliver an Office-in-a-Box reference platform for the small-to-medium business (SMB) multi-service gateway market. The platform blends Jungo's field OpenSMB software with the NXP MPC8349E mITX reference board. The board features the MPC8349E PowerQUICC® II Pro processor containing a core built on Power Architecture technology and Vitesse's SparX Gigabit Ethernet switch technology. The MPC8349E-mITX reference platform and Jungo's software provide a complete and integrated solution for designing SMB gateways. Create a fully functional gateway within minutes, using the hardware/software reference design. Features MPC8349E mITX Office in a Box Reference Platform features: In addition to the highly integrated MPC8349E processor, the reference platform leverages external components to support these additional features: 10/100/1000 Ethernet port, a 5-port Gigabit Ethernet switch Four-port USB 2.0 interface On-board 4-port PCI serial advanced technology attachment (SATA) controller 32-bit PCI slot, and a 32-bit MiniPCI slot FLASH memory slot Robust memory subsystem Two-port RS-232C interface Power supply SATA hard drive Jungo Software Features: OpenRG/OpenSMB Modules Routing and bridging Networking applications Network Address Translator (NAT)/Network Address Protocol Translator (NAPT) Web-based management Simple Network Management Protocol (SNMP) Remote firmware update PPP: PPPoA and PPPoE Firewall and security Content filtering VPN: IPSec, PPTP and L2TP WLAN security: WPA, 802.1x and RADIUS client File server Print server Zero Configuration VLAN IPv6 VoIP: H.323, SIP and MGCP TR-069—WAN Zero Configuration Management Protocol TR-064—LAN-side DSL CPE Configuration QoS—End-to-end Quality of Service Dual WAN—Fail-over and load balancing Block Diagram Board Design Resources
View full article
Description NXP offers highly-reliable, 5V power supply MCUs, which are the perfect fit for motor control in environments with high-electrical noise such as the massage roller in a massage chair. The best motor control technique for this application is the 3-phase hall sensor PMSM motor control with field-oriented motor control. Block Diagram Products Category Name 1 MCU KE02-40 MHz Product URL 1 https://www.nxp.com/design/development-boards/freedom-development-boards/mcu-boards/freedom-development-platform-for-kinetis-ke02-mcus:FRDM-KE02Z40M Product Description 1 The KE02-40MHz MCU includes one 6 channel FlexTimer. FlexTimers can generate four pairs of complementary PWM signals for edge-aligned, center-aligned and phase shift PWM signals. These features mask, invert and control the function for PMSM motors. In addition, the 5-volt capability gives this MCU high-reliability on applications used in high electrical noise environments. Related Documentation Document URL Title https://www.nxp.com/docs/en/application-note/AN5237.pdf Sensorless PMSM Field-Oriented Control on Kinetis KV and KE https://www.nxp.com/docs/en/application-note/AN5294.pdf Low Cost PMSM Sensorless Field- Rev. 1, 05/2017 Application Note Oriented Control Based on KE02 https://www.nxp.com/docs/en/application-note/AN5380.pdf Using FTM, PDB, and ADC on KE1xF to Drive Dual PMSM FOC and PFC https://www.nxp.com/docs/en/application-note/AN4869.pdf Sinusoidal Control of BLDCM with Hall Sensors Based on FRDM-KE04Z and Tower Board Related Software Software URL https://www.nxp.com/webapp/Download?colCode=AN5309SW https://www.nxp.com/docs/en/application-note-software/AN5321SW.ZIP https://www.nxp.com/downloads/en/reference-applications/MCRSP_PMSM_V1.2.0.exe Related Demos from Communities Community Demos URL https://community.nxp.com/thread/465280 https://community.nxp.com/docs/DOC-101472
View full article
Description The convergence of an aging population and breakthrough technological advances has created endless opportunities for automated medical devices. These devices help ensure the future health of millions of people by providing advances in diabetes care, cardiac care, therapy adherence and general health and wellness applications. Regardless of the end use, developers of healthcare/medicals devices face similar challenges—the need to balance processing requirements with power consumption, support to ensure a fast time-to-market, the need for secure wireless connections and product longevity are all key to healthcare designers. Standard Inhalers are not efficient enough, so a new generation of smart inhalers need to be developed. NXP is a leading high-volume sensor provider with an extensive selection of accelerometers, magnetometers, pressure sensors and touch sensors for medical applications. We combine premium materials, advanced micromachining techniques, thin-film metallization and bipolar semiconductor processing to provide accurate, highly reliable products at competitive prices for optimum patient care and affordability. Features Communication with the smart mobile device via BLE The smart inhaler is provided with sensors that monitor the therapy adherence The cloud server communicate to the mobile phone, for example to provide reminders if the medicine is not taken The smart inhaler needs to authenticate that the gas cartridge is authentic The app in the smart mobile needs to authenticate that the smart inhaler is authentic Wireless connectivity Security integration Brand protection for the gas cartridge Block Diagram Products Category Name 1: Bluetooth Product URL 1 QN908x: Ultra-Low-Power Bluetooth Low Energy System on Chip (SoC) Solution | NXP  Product Description 1 QN908x is an ultra-low-power, high-performance and highly integrated Bluetooth Low Energy solution for Bluetooth® Smart applications such as sports and fitness, human interface devices, and app-enabled smart accessories. It is specially designed for wearable electronics with a small capacity battery. Category Name 2: Power Management Product URL 1 MC34671 | Single-cell Battery Charger | NXP  Product Description 1 The MC34671 is a cost-effective fully integrated battery charger for Li-Ion or Li-Polymer batteries. It tolerates an input voltage up to 28 V, which eliminates the input over-voltage protection circuit required in handheld devices. Product URL 2 Logic controlled high-side power switch | NXP  Product Description 2 The NX3P2902B is ideal for portable, battery operated applications due to low ground current and OFF-state current. Category Name 3: Sensor Product URL 1 ±8g, Low g, Digital Accelerometer | NXP  Product Description 1 The MMA8491Q 3-axis accelerometer is an ultra-low-power tilt sensor. Category Name 4: NFC Product URL 1 NTAG 424 DNA | 424 DNA TagTamper – Advanced security and privacy for trusted IoT applications | NXP  Product Description 1 The NTAG 424 DNA is architected to provide AES-128 cryptographic operation, new SUN authentication mechanism upon each read-out by an NFC enabled mobile device, as well as sensitive data protection with crypto-secure access permissions. Product URL 2  PN5180 | Full NFC Forum-compliant frontend IC | NXP  Product Description 2 The NXP PN5180 NFC frontend, equipped with unique features that improve performance, save energy, and maximize efficiency, enables best-in-class readers that conform to the requirements for EMVCo and NFC Forum specifications, for the broadest possible interoperability. Category Name 5: Secure 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, so you can safely connect to IoT clouds and services, including AWS, IBM Watson IoT™ Platform, and Google Cloud™ IoT Core without writing security code or exposing keys. Product URL 2  EdgeLock™ SE050: Plug & Trust Secure Element Family – Enhanced IoT security with maximum flexibility | NXP  Product Description 2 With the EdgeLock SE050 IoT devices incorporate security from the start, not as a bolt-on or afterthought. Credentials, preinjected as the root of trust, are stored in hardware and fully isolated from external software access. Products Product Link QN9080DK: A highly extensible platform for application development of QN908x QN9080DK: A highly extensible platform for application development of QN908x | NXP  KIT34671EPEVBE: Evaluation Kit - 34671, Single-cell Li-Ion/Li-Poly Charger Evaluation Kit - 34671, Single-cell Li-Ion/Li-Poly Charger | NXP  OM25180FDK: PN5180 NFC Frontend Development Kit for POS Terminal Applications OM25180 |PN5180 NFC Development Kit for POS Readers | NXP 
View full article