NXP Designs Knowledge Base

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

NXP Designs Knowledge Base

Discussions

Sort by:
Demo Owner Rebeca   The Freescale concept car demonstrates multiple solutions for automotive systems in powertrain, infotainment, cluster, safety and body applications. Specific system solutions include engine control, small and large motor control, lamp control, radio, digital cluster, gauge drivers, TPMS, touch control, surround view camera, media player and fast boot Linux®.     https://community.nxp.com/players.brightcove.net/4089003392001/default_default/index.html?videoId=4282635362001" style="color: #05afc3; background-color: #ffffff; font-size: 14.4px;" target="_blank   Featured NXP Products Qorivva S12 MagniV S08 i.MX6 Links Automotive
View full article
Cloud-Connected Parking Spot Sensor Demo This demo shows a use case of the LS1021 IoT GW along with a FRDM-KW24 powered Magnetometer sensor to monitor the  car parking spot  locations such as garage parking  in a building, Traffic Management and Traffic Monitoring   The data can be reported and monitored from the Cloud. Features: Small footprint platform with a wide variety of high-speed connectivity and low-speed serial interfaces through the use of the ARM-based QorIQ LS1021A embedded processor. The  FRDM-KW2 sensor data is send via Thread to the LS1021 IoT GW and The Proximetry Agent posts information to cloud server. _______________________________________________________________________________________________________ Featured NXP Products: Product Link Freedom Development Platform for Kinetis® KW2x MCUs FRDM-KW24D512|Freedom Development Platform|Kinetis | NXP  LS1021A-IoT Gateway Reference Design https://www.nxp.com/design/designs/ls1021a-iot-gateway-reference-design:LS1021A-IoT?&lang_cd=en _______________________________________________________________________________________________________ N15
View full article
Demo HomeKit accessory example and development system implementing a HomeKit controlled chicken coop door with NFC chicken identification, based on the Kinetis K64 microcontroller (MCU), HomeKit SDK, and Arcturus Networks IoT system Features: The Arcturus Networks uCMK64-IoT board is a 60x60mm module for developing secure IoT devices that require a combination of connectivity and control. Includes Ethernet and Wi-Fi connectivity. HomeKit Software Development Kit (SDK) from NXP offers support for home automation applications using Apple HomeKit technology, delivering exceptional performance and advanced security. NXP Kinetis K64 120MHz MCU based on the ARM® Cortex®-M4 core, 256 KB SRAM, 1 MB Flash, and with a rich suite of analog, communication, timing and control peripherals. NXP NFC Controller PN7120, full NFC solution for easy integration into any OS environment, with integrated firmware and NCI interface designed for contactless communication at 13.56 MHz. ________________________________________________________________________________________________________ Featured NXP Products: HomeKit Software Development Kit (SDK)|NXP Arcturus Networks Inc. | uCMK64-IoT ARM Cortex-M4 Cores|Kinetis K6x MCUs|NXP Full NFC Forum-compliant controller with integrated|NXP ________________________________________________________________________________________________________
View full article
Explore the MC34937, an industrial-grade 3-phase gate pre-driver for BLDC and PMSM motor control. The MC34937 can support 12V, 24V, and 36V motor control applications and easily interfaces to standard MCUs and DSPs. The demo shows the implementation of the MC34937 with Kinetis Microcontrollers E in a 36V battery-operated electric bike (eBike) application. This same system can be modified to be used in other industrial applications such as electric garden tools, industrial fans and pumps, and electric wheelchairs. Features Demo shows capability of Kinetis KE02 connecting to an MC34937 Motor Driver MC34937 able to drive 12V, 24V, 36V, 48V systems Featured NXP Products Kinetis E - KE02Z64 MC34937 3-phase gate pre-driver Block Diagram MC34937 Schematics and Software:
View full article
Demo Owner: David Chung Intended to demonstrate how one can leverage NXP technology to safely transport loads in a range of settings from a shipyard to an assembly line. Demo runs a Seavus developed application that pre-calculates a path based on environmental input given by the QorIQ LS1021A.  It then moves the load according to that path, adjusting for unforeseen hazards such as people who move in the way during transport.  It ensures that the landing area is clear before dropping the load. Demo is entire self-contained.     Features QorIQ LS1021A FPU for precise mathematical computation IEEE 1588 Precision Time Protocol to sync clocks within system WiFi connectivity to Human-Machine Interface SEC 5.5 crypto accelerator for maximum security Dual core for redundancy i.MX6 Specialized imaging processor Used as camera interface to facilitate trajectory calculation Kinetis Microcontroller K40 General purpose low power MCU Utilized to control the crane's stepper motor Green Hills INTEGRITY RTOS Certified EAL6+ High Robustness by NSA Separates critical and non-critical tasks Seavus Crane Application Efficient algorithm for trajectory calculation and load transport Block Diagrams Organizational Structure Algorithm Diagram Function Allocation  
View full article
This demo shows the interaction among MCUs, motor drivers, and sensors using simple mbed code and various communication protocols, namely Ethernet, I2C, and PWM to simulate real-world applications on a smaller scale       Features Motor driver with Brushed DC motor driver with current feedback and thermal regulation 6-Axis sensor FXOS8700 (Accelerometer + Magnetometer) and 3-Axis Gyroscope FXAS21002 Kinetis K64 MCU 120 MHz ARM® Cortex®-M4 core with Ethernet and USB Complete system consisting of an MCU, a sensor, and a motor driver _______________________________________________________________________________________________________   Featured NXP Products Product Link Sensor Toolbox Development Boards for a 9-Axis Solution using FXAS21002C and FXOS8700CQ https://www.nxp.com/design/development-boards/freedom-development-boards/sensors/sensor-toolbox-development-boards-for-a-9-axis-solution-using-fxas21002c-and-fxos8700cq:FRDM-STBC-AGM01?&lang_cd=en Freedom Expansion board for MC34931- Brushed DC Motor Driver, H-Bridge, 20kHz https://www.nxp.com/design/development-boards/analog-toolbox/freedom-expansion-board-for-mc34931-brushed-dc-motor-driver-h-bridge-20khz:FRDM-34931S-EVB?&lang_cd=en Freedom Development Platform for Kinetis® K64, K63, and K24 MCUs https://www.nxp.com/design/development-boards/freedom-development-boards/mcu-boards/freedom-development-platform-for-kinetis-k64-k63-and-k24-mcus:FRDM-K64F?&lang_cd=en _______________________________________________________________________________________________________   Software Links Accelerometer code Motor driver code   For more detailed information about this demo, please download attached PDF
View full article
Demo Owner Mike Stanley   Tire Pressure Monitoring Systems (TPMS) help drivers with precise direct tire pressure measurement by providing individual tire readings – including the spare. NXP's world’s smallest, lowest-power, with highest memory for customer use TPMS is highly integrated with a pressure sensor, temperature sensor, accelerometer, MCU and a transmitter. Watch Mike Stanley explain the pressure sensor readings, temperature sensor display and the accelerometer/motion readings. These readings are time based periodic measurements where the data is given as an output to the driver.   Features Simulation that portraits the TPMS as if it were inside the vehicles tires and sending reports to the vehicle's display unit about tire pressure Module has the following: Pressure sensor, accelerometer, temperature sensor, low-frequency radio, Microcontroller   Featured NXP Products FXTH87 product page FXTH87 Fact Sheet Links Tire Pressure Monitoring Sensors Pressure Sensors Block Diagram  
View full article
Overview The NXP® Solar Panel Inverter reference design demonstrates the ability of the 16-bit digital signal controller MC56F8023 to control whole inverter functionality. The inverter converts the input voltage from the solar panel to isolated one-phase AC output voltage The application comprises all needed circuitry for power transfer, control and measurement The main power board provides standard 64-pin PCI Express® connector as the interface for the daughter card control board, providing the ability to control this inverter by other digital signal controllers Features DC input voltage from the solar panel in the nominal level of 36V Possible to use one 36V or two 18V solar panels in series connection Maximum power point tracking feature in the control software implemented Battery charger for the 3 x 12V lead-acid accumulators in series included Galvanic isolated output voltage 230V 50Hz up to 400W output power True sine shape output voltage RS-485 isolated interface for the external communication Internal low-power DC power supply maintains proper functionality without battery connection Overvoltage, overcurrent and overtemperature protection implemented Embedded software example for off-grid available Block Diagram Design Resources
View full article
本文探讨了如何解决i.MX8MP EMC测试遇到的问题,主要针对辐射超标问题。除了硬件方案,着重探讨了LVDS展频等软件方案。
View full article
This doc explain how to compile PFE driver into kernel to accelerate the network boot time, chinese version: 目录 1    需要的软件,工具与文档... 2 2    目前PFE驱动的情况... 2 3    将PFE Slave驱动编译进内核... 3 3.1  将PFE驱动代码加入内核... 3 3.2  开发Makefile文件... 6 3.3  编译与测试... 8 4    将PFE Master驱动编译进内核... 10 4.1  编译Master工程... 10 4.2  测试... 11 4.3  解决FW的加载问题... 11 Contents 1    Related Materials. 2 2    Current PFE Driver 2 3    Compiled PFE Slave into Kernel 3 3.1  Put the PFE driver source into kernel source. 3 3.2  Develop the Makefile. 6 3.3  Compilation and Testing. 8 4    Compiled PFE Master Driver into Kernel 10 4.1  Compiling the Master driver 10 4.2  Testing. 11 4.3  Solve the FW loading fail issue. 11    
View full article
This doc explain how to optimize the Linux boot time, Contents as follows: 目录 1 默认BSP28 Linux内核的启动时间分析和优化方向 ..... 2 2 UBoot的优化 .............................................................. 3 2.1 缩小Uboot的DTS尺寸 ............................................ 3 2.2 缩小Uboot的尺寸 .................................................... 4 2.3 去掉等待3S输入时间 .............................................. 4 2.4 配合内核修改的Uboot参数 ..................................... 4 2.5 关闭串口调试信息 .................................................. 5 2.6 MMC read的方法来读取内核和DTB ....................... 5 3 Kernal的优化 ............................................................. 5 3.1 DTB中去掉不用的驱动和代码 ................................. 5 3.2 内核中去掉不用的平台与驱动及相关代码 ............... 6 3.3 内核中去掉不用功能,缩小内核大小 ...................... 7 3.4 去掉initramfs支持 ................................................... 7 3.5 关闭调试信息 .......................................................... 7 3.6 提前eMMC驱动加载时间 ........................................ 7 3.7 将Kernel与DTB打包在一起..................................... 8 4 Rootfs+应用程序的优化 ............................................. 8 5 最终全部启动时间比较 ............................................. 12
View full article
This doc explain our Linux BSP driver and how to custom them. Contests as follows: include bsp30/32 目录 1 S32G Linux文档说明 ................................................. 2 2 创建S32G RDB2 Linux板级开发包编译环境 .............. 2 2.1 创建yocto编译环境: ................................................ 2 2.2 独立编译 ................................................................. 8 3 Device Tree ............................................................. 11 3.1 恩智浦的device Tree结构 ..................................... 11 3.2 device Tree的由来(no updates) ............................ 13 3.3 device Tree的基础与语法(no updates) ................. 15 3.4 device Tree的代码分析(no updates) .................... 37 4 恩智浦S32G BSP 包文件目录结构 .......................... 70 5 恩智浦Linux BSP的编译(no updates) ...................... 72 5.1 需要编译哪些文件 ................................................ 72 5.2 如何编译这些文件 ................................................ 73 5.3 如何链接为目标文件及链接顺序 ........................... 74 5.4 kernel Kconfig ...................................................... 76 6 恩智浦BSP的内核初始化过程(no updates) .............. 76 6.1 初始化的汇编代码 ................................................ 78 6.2 初始化的C代码 ..................................................... 82 6.3 init_machine ......................................................... 94 7 恩智浦BSP的内核定制 ............................................. 97 7.1 DDR修改 .............................................................. 98 7.2 IO管脚配置与Pinctrl驱动 .................................... 100 7.3 新板bringup ........................................................ 121 7.4 更改调试串口 ...................................................... 125 7.5 uSDHC设备定制(eMMC flash,SDcard, SDIOcard) 129 7.6 GPIO驱动 ........................................................... 137 7.7 GPIO_Key 驱动定制 .......................................... 145 7.8 GPIO_LED 驱动定制 ......................................... 150 7.9 芯片内thermal驱动 ............................................. 155 7.10 CAN接口驱动 ..................................................... 157 7.11 I2C及外设驱动 .................................................... 162 7.12 SPI与SPI Slave驱动 ........................................... 183 7.13 Watchdog test. ................................................... 190 7.14 汽车级以太网驱动定制 (未验证) (未完成) ........... 191
View full article
This doc explain our Mcal driver and how to custome them. contents as follows: 目录 1 AutoSAR MCAL基本概念 .......................................... 2 1.1 AutoSAR目标 ......................................................... 2 1.2 AutoSAR概念 ......................................................... 2 1.3 AutoSAR基本方法 .................................................. 2 1.4 BSW(Basic Software) ............................................. 4 1.5 NXP Basic AutoSAR软件 ....................................... 4 1.6 RTE与BSW的配置 ................................................. 5 1.7 BSW的配置流程 ..................................................... 6 1.8 MCAL驱动 .............................................................. 7 2 MCAL工具 ................................................................. 7 3 MCAL说明 ................................................................. 8 3.1 MCAL的下载与说明 ................................................ 8 3.2 EB Tresos的下载,安装 ....................................... 13 3.3 RTD-MCAL安装 ................................................... 16 3.4 Trace32的下载与安装 .......................................... 18 3.5 样例工程的编译,运行 ......................................... 20 4 MCAL驱动配置与定制 ............................................. 40 4.1 MCU ..................................................................... 45 4.2 PORT ................................................................... 59 4.3 DIO ....................................................................... 69 4.4 FlexCAN ............................................................... 71 4.5 FlexLin ................................................................. 87 4.6 GMAC .................................................................. 93 4.7 I2C ..................................................................... 101 4.8 PMIC .................................................................. 108 4.9 PMIC WDOG ...................................................... 127 4.10 WDOG ............................................................... 137 4.11 UART ................................................................. 144 4.12 SPI ..................................................................... 149 4.13 PWM .................................................................. 165 4.14 ADC ................................................................... 171 4.15 Thermal .............................................................. 177
View full article
Linux kernel is not real time OS, while some applications is time sensitive tasks running in Linux environment, this request to extend the real time feature in common Linux kernel, and RT_PREEMPT is one of the methods to enable Linux kernel with real time processing requirement. But RT_PREEMPT is not accepted by kernel, so it needs extra effort to porting this patch-set to i.MX8M family products. This patch-set is based on L4.14.78 for i.MX8M products, customer need to apply patches based on this release.
View full article
Demo Wheel rotation is controlled by the SB0400 DC motor pre-driver. When the wheel is stopped manually, the Wheel Speed Sensor -KMI23- detects it & sends a signal to the SB0400 motor pre-driver & S32K MCU to activate the electromagnet Products 32-bit Automotive General Purpose MCUs|NXP Motorcycle Two-Wheel Antilock Braking (ABS)|NXP KMI23_KMI25|NXP  Links Motorcycle Two-Wheel Antilock Braking (ABS)|NXP  Analog Expert Software and Tools|NXP  Recommended product Link S32K144EVB https://www.nxp.com/design/development-boards/automotive-development-platforms/s32k-mcu-platforms/s32k144-evaluation-board:S32K144EVB?&fsrch=1&sr=1&pageNum=1
View full article
The demo from Code is an ultra-compact Sub-GHz to Wi-Fi Border Router solution for use in Home Automation Wireless Sensor Nodes, Smart Lighting, Smart City, Smart Meters, Smart Parking and IoT. The demo consists of an NXP SCM-i.MX 6SoloX V-Link device (i.MX6SoloX/PF0100/512MB LPDDR2) + Code V-Link Top board with 802.11a/b/g/n/ac module + Code Carrier board with the Phalanx Border Router. The Phalanx Border Router provides an optimized mesh network for sensing applications SCM V-Link technology is ideal for space-constrained applications allowing customers to integrate vertically. Features: Top board: Broadcom 2.4 GHz & 5 GHz Wi-Fi, 802.11 a/b/g/n/ac , up to 390 Mbps. U.FL standard antenna connector. SCM-i.MX6 SX V-Link Top board form factor, 15.5mm x 15.5mm. Optimized mesh network for sensing applications. Thousands of nodes, minimizing deployment costs. 900 MHz Wireless. A new, clever routing algorithm which reduces routing overhead. IPv6 capable __________________________________________________________________________________________________________________ Featured NXP Products: Single Chip System Modules (SCM)|NXP Partner CODE Ing __________________________________________________________________________________________________________________  
View full article
Description With the growing consumption of energy worldwide, particularly in the residential market, utility providers need increasingly accurate and cost-effective energy metering solutions. The electricity meter is used for measurement and registration of active and reactive energy in single-phase, two-wire networks for direct connection. NXP’s connectivity solutions for smart metering address the challenges smart cities face for reliable, secure communications for remote metering and home energy management. We enable remote metering with NAN technologies like IEEE® 802.15.4 and Wireless MBUS. Additionally, NXP fosters smart energy management inside homes with HAN technologies like ZigBee®. Features All measurements performed by SD ADC Shunt resistor measurements amplified by Programmable Gain Amplifier (PGA) Phase shift between phase voltage and phase current measurements compensated by phase shifter block Active and passive tamper detection with time stamping Highest-resolution AFE with 4 x 24-Bit SD ADC LCD controller Block Diagram Product Category Name 1: MCU Product URL 1 Arm® Cortex®-M0+|Kinetis® KM3x 50-75 MHz 32-bit MCUs | NXP  Product Description 1 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: Sensor Product URL 1 ±8g, Low g, Digital Accelerometer | NXP  Product Description 1 The NXP® MMA8491Q 3-axis accelerometer is an ultra-low-power tilt sensor that is ideal for smart meters. Product URL 2 Digital Sensor - 3D Accelerometer | NXP  Product Description 2 The 14-bit accelerometer and 16-bit magnetometer are combined with a high-performance ASIC to enable an eCompass solution capable of a typical orientation resolution of 0.1° and sub-5° compass heading accuracy for most applications. Category Name 3: 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. Category Name 4: Zigbee Product URL 1 Zigbee and IEEE 802.15.4 wireless microcontroller with 512 kB Flash, 32 kB RAM | NXP  Product Description 1 The JN5169 is an ultra-low-power, high-performance wireless MCU suitable for ZigBee applications. Category Name 5: NFC Product URL 1 PN5180 | Full NFC Forum-compliant frontend IC | NXP  Product Description 1 The PN5180 is a high-performance full NFC Forum-compliant frontend IC for various contactless communication methods and protocols. Category Name 6: Power management Product URL 1 TEA172x | NXP  Product Description 1 These highly integrated devices enable low no-load power consumption below 10 mW, reduce component count for a cost-effective application design, and provide advanced control modes that deliver exceptional efficiency. Documentation Filter-Based Algorithm for metering applications:  https://www.nxp.com/docs/en/application-note/AN4265.pdf Tools Product Link TWR-KM34Z75M: Kinetis M Series Tower System Module TWR-KM34Z75M|Tower System Board|Kinetis MCUs | NXP  Single-Phase Metering Single Phase Meter | NXP  Two Phase Power Meter Reference Design Two Phase Power Meter Reference Design | NXP  Three-Phase Power Meter Reference Design Three Phase Power Meter | NXP 
View full article
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  
View full article
Demo High performance feature extraction and tracking application at ultra-low power on S32V platform. This demo showcases a real-time high computation algorithm with image capture and display running on a portion of the resources available on the S32V234. Customers can create demanding Automotive grade vision systems such as stereo and single camera as well as advanced surround view systems based on this demo. The application was written using APEX-CV pro library and demonstrates that high performance application leveraging the APEX Image Cognition Processor cores of the S32V234 could also be easy to write Features The APEX cores, with a combined 128 parallel computational units, crunch numbers quickly and at a fraction of the power. Fully programmable, the cores can execute standard and/or customized vision algorithms for ADAS applications and beyond. The S32V234 MCU captures raw images from HD sensor, and then formats the images with its on-chip ISP that here provides exposure control, white balancing, RGB to Y color conversion.  Formatted images are then feed into the APEX cores that generate multi-level image pyramids, and combined Harris Corner for feature detection followed by Lukas-Kanade (KLT) Sparse Optical Flow for feature tracking.  Then features and displacement are overlaid on image and displayed, at the processing performance of up to 100 fps NXP Recommends The S32V230 Processor family for Vision ADAS, includes the award winning automotive grade S32V234 MCU with dual APEX Image Cognition Processor cores. http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/s32-processors-and-microcontrollers/s32v230-family-of-processors-for-advanced-driver-assistance-systems:S32V230 Video Links
View full article
About this demo This demo is based on the Wireless UART example from the SDK available on Welcome | MCUXpresso SDK Builder selecting the QN908X board.  The main idea of this demo is to be able to send commands from one device to another, it could be from a QN9080DK, a phone using our NXP application: IoT Toolbox or even an FRDM-KW41Z, this is possible because of the BLE protocol used in all our devices. The end-device used is a QN9080DK, this board receives the message, does parsing and triggers a PWM function using the values sent from another device. This signal can be used in different applications, typically controlling smart lighting brightness and color, speed of motor controls and audio or video amplifiers. The goal of this demo is to implement a task for our FreeRTOS scheduler in order to be able to control a PWM while the BLE connection is still running and receive new incoming messages.   Video Limitations We only interpret ON, OFF and a string of values for our 3 signal outputs. The string of values has to be in the following syntax: rXXX,gXXX,bXXX. An example of this could be r255,g130,b200. The max value should be 255 in order to achieve 100% of the duty cycle, for this example, we are using is at 100 Hz. The connection is not using pairing or bonding modes, so no device information is saved on the non-volatile memory due to this if the connection is lost we need to follow the initial connection procedure. The amount of bytes that can be sent is limited by the macro: #define gAttMaxMtu_c in the ble_constants.h file from the project, we recommend to leave it as it is.   Useful Links Useful documentation is available in the SDK previously downloaded: <SDK Installation folder>...\SDK_2.2.1_QN908XCDK\docs   Link Description https://www.nxp.com/webapp/Download?colCode=QN908x-DK  QN908xDK User’s Guide Welcome | MCUXpresso SDK Builder  SDK Builder site Wireless Connectivity  NXP Wireless Community Connectivity Software: Implement tickless mode in FreeRTOS  Document for implementing a new task using OSA Abstraction layer of FreeRTOS https://www.nxp.com/docs/en/nxp/data-sheets/QN908x.pdf QN908x Datasheet for pins functions   Required Items Link Description QN908x: Ultra-Low-Power Bluetooth Low Energy System on Chip (SoC) Solution | NXP  It is required at least one as an end-point. Oscilloscope  An Oscilloscope to visualize the PWM. Hardware Diagram Step-by-Step Guide Download de QN908x SDK Download the attached .zip file. Import it into MCUXpresso, for the end node you should only use the qn908xcdk_wireless_uart_peripheral project. If you want to use a second QN board to send the commands it is required to also import the qn908xcdk_wireless_uart_central project. Once the projects are imported, we need to flash each board with a project and connect the PA9, PA10, and PA18 pins to our oscilloscope in order to visualize the signal. Connect the USB cables to the computer and open Teraterm with the following values: 115200, 8 bits, none,1 bit, none. Press the RESET Button (SW3) of the Peripheral board Press the Button1 (SW1) after the message: "Wireless UART starting as GAP Peripheral, press the role switch to change it.", an "Advertising" should appear. If a second QN board is used (central), we need to open a second Teraterm session and set it to the same Serial configurations from point 5. If an Android phone is used we need to have the IoT Toolbox application installed and select the Wireless UART example and connect to the Peripheral board using the interface. To pair the Central board to the Peripheral it is required to press the RESET Button (SW3) of the Central board while the Peripheral board is advertising and then Push the Button1 (SW1). Once the boards are connected, we need to paste the message to our terminal in order to be sent as one message. The message should be seen in the other board terminal. Send "ON" to activate the PWM functionality. Send "r255,g128,b64" to set the PWM pins to 100%, 50%, 25%. This signal must be displayed at 100Hz on the oscilloscope. Send "OFF" to deactivate the PWM functionality.   Further Information The Demo is based on the Wireless UART example, The BleApp_ReceivedUartStream function is modified to compare de received strings. The getValuesRGB converts the string into integer values to be assigned to the global variables red, green, blue. Inside getValuesRGB we use the OSA abstraction layer for FreeRTOS to create the task using: OSA_TaskCreate and creating the task named: vfnTaskPWM. vfnTaskPWM configures the timer and initializes the PWM values using the CTimer driver functions and starts the CTimers.     Results 1. After the QN9080 is flashed and in Advertising mode, we have to connect our Central device, Which in this case is an Android phone. In or Teraterm we should be able to see this message: 2. Then, we get the Connected status from our devices and we should be able to send the ON command and the RGB values, Teraterm indicates the integer values and the string received.         3. When we send the OFF command the PWM signals should be 0 V.   4. Here is another example:    
View full article