NXP Designs ナレッジベース

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

NXP Designs Knowledge Base

ディスカッション

ソート順:
Overview   As gaming application needs real time, quick and fast reaction, user would like to have low latency solution for gaming application. Existing BT solution has higher latency. Also power consumption is critical in the design with limited battery capacity. NXP’s gaming headset solution combined with low latency and lower power consumption than competitors. We provide two platforms. One use KL27 MCU and the other one use LPC5528 MCU as processor. The key different feature between these two MCU platform is the audio resolution support. KL27 platform supports 48K sampling rate and LPC5528 platform supports USB audio up to 96K sampling rate. We design USB dongle and headset side solution, either module or Arduino interface H/W design. Also PMIC is important in the headset side. NXP can provide MCU, BLE and PMIC for this application. Block Diagram Products Category MCU Product URL 1 KL2x: Kinetis® KL2x-72/96 MHz, USB Ultra-Low-Power Microcontrollers (MCUs) based on Arm® Cortex®-M0+ Core  Product Description 1 The Kinetis® KL2x is an ultra-low-power MCU family that adds a full-speed USB 2.0 On-the-Go (OTG) controller or a full-speed crystal-less USB 2.0 device controller in addition to the Kinetis KL1x series. Product URL 2 LPC552x/S2x: Mainstream Arm® Cortex®-M33-based Microcontroller Family  Product Description 2 The LPC552x/S2x MCU family further expands the world’s first general purpose Cortex-M33-based MCU series   Category Power Management Product URL PCA9420: PMIC for Low Power Applications  Product Description The PCA9420 is a highly integrated Power Management IC (PMIC), targeted to provide power management solution for low-power microcontroller applications or other similar applications powered by Li-ion battery.   Category Wireless Product URL NXH3670: Ultra-low Power, Low Latency Audio for Wireless Gaming Headphone  Product Description The NxH3670 constitutes a highly integrated, single-chip ultra-low-power 2.4 GHz wireless transceiver with embedded MCU (Integrated Arm® Cortex®-M0 processor), targeted at wireless audio streaming for gaming headphones, delivering low latency audio and ultra-low power consumption.
記事全体を表示
  Overview The Water Level Reference design continuously monitors water level and water flow using the temperature compensated MPXM2010GS pressure sensor in the low cost MPAK package, a dual op–amp, and the MC68HC908QT4, 8–pin microcontroller. This system uses very few components, reducing the overall system cost. This allows for a solution to compete with a mechanical switch for water level detection but also offer additional applications such as monitoring water flow for leak detection, and the other applications for smart washing machines. Archived content is no longer updated and is made available for historical reference only.   Features Demonstrate Water Level Monitor plus additional features such as water flow monitoring and leak Pressure Sensor - MPXM2010 MPAK Package Sensitivity 2.5 mV / kPa Pressure Rating 10kPa (Max) Microprocessor MC68HC908QT4 40K Bytes of in-application reprogrammable Flash and 128 Bytes of RAM High performance, easy to use, HC08 CPU 4 Channel 8-bit analog to digital converter 8-pin DIP or SOIC packages Design Considerations Media Isolate pressure sensor from water by using a head tube Accuracy To prevent overflow and control consumption of water Auto-zeroing concept can eliminate offset errors Tank/tub diameter is irrelevant, the important part is to have an accuracte look up table to correlate water height versus pressure     Printed Circuit Boards and Schematics RD1950MPXM2010SCHEM RD1950MPXM2010SCHEMATIC RD1950MPXM2010DGRBR
記事全体を表示
Introduction Background There is not an official data for PCIe latency and performance, while some customers pay attention to and request these data. This paper utilizes Lmbench lat_mem_rd tool and DPDK qdma_demo to test the PCIe latency and performance separately. Requirement 1) Plug Advantech iNIC (LX2160A) into LX2160ARDB. 2) Configure EP ATU outbound window at console. 3) Apply the patch to lmbench-3.0-a9, and recompile lmbench tool. 4) There is qdma_demo in iNIC kernel rootfs by default. Test Environment     PCIe Latency Overview   Direction Description Latency(ns) PCIe(Gen3 x8) – DDR read from EP to RC 900 PCIe – PCIe – DDR Read from EP to EP (through CCN-508) 1550 PCIe – PCIe – DDR Read from EP to EP (through HSIO NOC) 1500 Setup 1) LX2160ARDB 2) iNIC – PCIe EP Gen3 x8 with LX2160A 3) Test App running at iNIC: Lmbench lat_mem_rd   # ./lat_mem_rd_pcie -P 1 -t 1m   PCIe Performance Overview    Direction Throughput (Gbps) PCIe EP to EP 50   Setup 1) LX2160ARDB 2) iNIC – PCIe EP Gen3 x8 with LX2160A 3) Test App : qdma_demo running at iNIC   $./qdma_demo -c 0x8001 -- --pci_addr=0x924fa00000 --packet_size=1024 --test_case=mem_to_pci Peer to Peer On LX2 Rev. 2      Products   Product Category NXP Part Number URL MPU LX2160A https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/layerscape-processors/layerscape-lx2160a-lx2120a-lx2080a-processors:LX2160A LSDK software Layerscape Software Development Kit https://www.nxp.com/design/software/embedded-software/linux-software-and-development-tools/layerscape-software-development-kit:LAYERSCAPE-SDK   Tools    NXP Development Board URL LX2160ARDB https://www.nxp.com/design/qoriq-developer-resources/layerscape-lx2160a-reference-design-board:LX2160A-RDB Advantech ESP2120 Card      
記事全体を表示
Overview The S12ZVH-REF-V1 is a reference design engineered for being a design base for starting an instrument cluster project, also it helps to reducing Automotive Cluster development time and maximizing engineering resources. Based on the 16-bit S12 MagniV® S12ZVH mixed-signal microcontrollers, the S12ZVH-REF-V1 provides a production-looking design with impressive integration. The S12ZVH-REF-V1 reference design is not only provided as a hardware reference but also as a software and mechanical design. Block Diagram   Products Product Features S12ZVH MagniV Mixed-signal MCU  16-bit S12 MagniV® S12ZVH mixed-signal microcontrollers for instrument cluster.   Features Interfaces   LIN physical transceiver and connector CAN connector interfaced with MCUs CAN physical transceiver Components 1 x custom 160 segment LCD 1 x low-power piezoelectric speaker 4 x stepper motors 49 x LEDs used as telltales and backlights 6 x user buttons 2 x potentiometers S12ZVH The S12ZVH-REF-V1 does not include on-board programming/debugging circuitry; it requires an external programmer compatible with the BDM protocol. Files S12ZVH-REF-V1 Mechanical and Assembly files  S12ZVH-REF-V1 Reference Design Software (CW10.5) 
記事全体を表示
Demo Hexiwear platform combines the style and usability found in high-end consumer devices, with the functionality and expandability of sophisticated engineering development platforms, making Hexiwear the ideal form factor for the wearable market, as well as other edge-node IoT solutions. Completely open-source and developed by MikroElektronika in partnership with NXP, the Hexiwear hardware includes the low power, high performance Kinetis K6x Microcontroller based on ARM Cortex-M4 core, the Kinetis KW40Z multimode radio SoC, supporting BLE in Hexiwear. The Hardware features included 6 on-board sensors such as Optical Heart Rate Monitor, Accelerometer and Magnetometer, Gyroscope, Temperature, Humidity, light and Pressure sensor's. Hexiwear also includes Color OLED Display, Rechargeable battery and External flash memory. $49 NXP Hexiwear, IoT and Wearables development platform – ARMdevices.net   Hexiwear is supported with its own application for Android and iOS, so customers can connect the device to the cloud straight out of the box, without any additional software development. Hexiwear uses FreeRTOS, the Kinetis software development kit (SDK) and the Kinetis Design Studio IDE. The Hexiwear platform is also expandable with the option to add nearly 200 different, additional sensors through click boards™      Features •       Eye-catching small form factor (smaller than 2” by 2”) board with open source hardware with 7 NXP components and 8 sensors on-board. •       Designed for wearable applications with the onboard rechargeable battery, OLED screen and onboard sensors such as optical heart rate, accelerometer, magnetometer and gyroscope. •       Designed for IoT end node applications with the onboard sensor’s such as temperature, pressure, humidity and ambient light. •       Complete software solution with open source embedded software, cell phone apps and cloud connectivity. •       Flexibility to let you add the sensors of your choice from 180+ plug and play add on boards. NXP Products Recommended ARM Cortex-M4|Kinetis K64 120 MHz 32-bit MCUs|NXP  ARM Cortex-M0+|Kinetis KW40Z 2.4 GHz 32-bit MCUs|NXP  FXOS8700CQ Accelerometer and Magnetometer FXAS21002 Gyroscope MPL3115A2R1 Altimeter MC34671 Battery charger Other Links Kickstarter Hexiwear Design Files Hexiwear|NXP     News Module Targets Rapid IoT Development | Embedded content from Electronic Design  NXP Accelerates Smart Wearable Product Development | Business Wire  Mouser Stocking the Hexiwear Open Source IoT Platform from MikroElektronika and NXP | Electronics360  Contest Hexiwear: The Do-Anything Device! - Hackster.io  Hexiwear: Quickly Build Quality IoT Devices - HWTrek  http://www.rs-online.com/designspark/electronics/eng/blog/test-drive-hexiwear-the-wearable-iot-development-kit  Blogs https://www.linkedin.com/pulse/hexiwear-complete-iot-wearable-development-solution-powered-kedia?trk=prof-post  Introduction to Hexiwear – a wearable development kit for the IoT era – HWTrek Blog  Win an Oculus Rift! Hexiwear Design Contest | mbed  https://mcuoneclipse.com/2016/07/12/hexiwear-teardown-of-the-hackable-do-anything-device/  Freedom development platform: Hackster.io conte... | element14 Community  JavaScript mobile apps for your NXP Hexiwear BLE device | Evothings 
記事全体を表示
Overview   NXP Home Appliances is dedicated to provide intelligent, reliable and appealing solutions to make everyday life a bit easier. Bringing solutions that listen, learn and adapt into the places we call home for more comfort, safety and convenience. Our robust product portfolio provides MCU, sensor, wireless connectivity, interface solutions, and anti-tamper products for your temperature metering and control applications. This solution is based on the i.MX RT1060 series. This new series introduces additional features ideal for real-time applications.   Block Diagram Products Category MCU Product URL i.MX RT1060 Crossover MCU with Arm® Cortex®-M7 core  Product Description The i.MX RT1060 is the latest addition to the industry's first crossover MCU series and expands the i.MX RT series to three scalable families.   Category Wireless Product URL 1 NTAG I2C plus: NFC Forum Type 2 Tag with I2C interface  Product Description 1 The NTAG I2C plus combines a passive NFC interface with a contact I2C interface. Product URL 2 88W8977: 2.4/5 GHz Dual-Band 1x1 Wi-Fi® 4 (802.11n) + Bluetooth® 5 Solution  Product Description 2 The 88W8977 System-on-Chip (SoC) is a highly integrated single-chip solution that incorporates both Wi-Fi (2.4/5 GHz) and Bluetooth technology.   Category Secure Element Product URL  EdgeLock™ SE050: Plug & Trust Secure Element Family – Enhanced IoT security with maximum flexibility  Product Description The EdgeLock SE050 product family of Plug & Trust devices offers enhanced Common Criteria EAL 6+ based security, for unprecedented protection against the latest attack scenarios.   Category Peripherals Product URL 1 PCF85063A: Tiny Real-Time Clock/calendar with alarm function and I2C-bus  Product Description 1 The PCF85063ATL is a CMOS Real-Time Clock (RTC) and calendar optimized for low power consumption. Product URL 2 PCT2075: I2C-Bus Fm+, 1 Degree C Accuracy, Digital Temperature Sensor And Thermal Watchdog  Product Description 2 The PCT2075 is a temperature-to-digital converter featuring ±1 °C accuracy over ‑25 °C to +100 °C range. Product URL 3 NX3P1108UK: Logic controlled high-side power switch  Product Description 3 The NX3P1108 is a high-side load switch which features a low ON resistance P-channel MOSFET that supports more than 1.5 A of continuous current.
記事全体を表示
Overview This reference design is for a sensorless permanent magnet (PM) motor drive single-chip solution based on the NXP® DSC56F80XX digital signal controller (DSC). An electronically controlled three phase PM motor provides a unique feature set with the higher efficiency and power density This application presents a motor control technique of PM motor without a need to use a rotor position transducer This technique particularly targets horizontal axis (H-axis) washing machine with belt drive in fractional horsepower range A designer reference manual provides a detailed description of the application, including the design of the hardware and the software Features Designed to fit into consumer and industrial applications MC56F80XX digital signal controller 3-phase AC/BLDC High Voltage Power Stage Board 1-phase line input 110/230VAC 50/60Hz Apliance PM motor Initial rotor position detection Full torque at motor start-up Field weakening Application based on C-callable library functions (GFLIB, GDFLIB, MCLIB, ACLIB) Current control loop Speed control loop with Field weakening Flash: ~ 6KB, RAM ~ 1.5KB FreeMASTER based control pages Block Diagram Board Design Resources
記事全体を表示
Overview This reference design is a 3-phase brushless DC (BLDC) motor sensorless drive for fans, pumps and compressors based on the low-cost NXP® 56F801x digital signal controllers (DSCs). The concept is a closed-loop speed-controlled BLDC drive with no need for position or speed sensors AIt serves as a reference design for a BLDC motor sensorless control system, ideal for fan, pump and compressor applications Power stages used by the application are designed for 12V DC line voltage and 3Aor 8A output current The reference manual provides a detailed description of the application, including design of the hardware and the software Features 3-phase brushless DC motor sensorless drive Designed to fit into fan, pump and compressor applications Uses 56F8013 32 MIPS Digital Signal Controller Available for two power stages and two motors Input power supply voltage +12 VDC for power stages Control techniques incorporate: Sensorless, trapezoidal control of 3-phase BLDC motor with back-EMF sensing ADC zero crossing sensing for sensorless control Closed-loop speed control using PI controller Adjustable DC-bus current limitation PI controller Motoring mode Both directions of rotation Speed range: 200-2000 and 800-8000 RPM (depending on the motor used) Manual interface (RUN/STOP switch, UP/DOWN pushbuttons) FreeMaster interface for monitoring, controlling and tuning Fault protection (DC-bus over-current, DC-bus under-voltage, DC-bus over-voltage) Automatic calibration of phase back-EMF measurements 20 kHz PWM switching frequency Easy to tune for different power stages and motors. Block Diagram Board Design Resources
記事全体を表示
Demo Owner: Thomas Zemites   Demonstration of cost effective Solar Panel Tracker Control using MC34932 dual H-Bridge motor driver. These thermally efficient 28V / 5A H-Bridge DC Brushed motor drivers feature real-time load current monitoring and automatic thermal back-off to ensure high availability operation in demanding high-current, high-temperature automotive and industrial applications.  The demonstration uses the FRDM-KL25Z board in conjunction with Solar Tracker Demo board and graphical user interface.       Features Thermal protection Package, PWM Mode, Thermal Fold-back, Current Mirror, Complete Internal protection Featured NXP Products Product Link MC34932/S H-Bridge, Brushed DC Motor Driver, 5-36V, 5A, 11kHz/20kHz MC34932 | H-Bridge, Brushed DC Motor Driver | NXP  KL2x-72/96MHz, USB Ultra-Low-Power Microcontrollers (MCUs) based on Arm® Cortex®-M0+ Core Arm® Cortex®-M0+|Ultra-Low Power Kinetis® KL2x USB MCU | NXP  Freedom Development Platform for Kinetis® KL14, KL15, KL24, KL25 MCUs https://www.nxp.com/design/development-boards/freedom-development-boards/mcu-boards/freedom-development-platform-for-kin… 
記事全体を表示
Overview   NXP Home Appliances is dedicated to provide intelligent, reliable and appealing solutions to make everyday life a bit easier. Home appliances are part of our daily lives and have been evolving with us. Our wireless MCUs add HAN, WiFi and NFC and along our security devices ensure high-quality wireless connectivity. We have a wide range of precise sensors and complete solutions to simply add voice control to any home appliance. From gas cooktops to inductive and RF cooking; electric toothbrushes with low-energy consumption and battery charging; blenders with efficient, reliable and robust motor control, and all of them need to have sensing options and secure connectivity to offer a personalized and optimal experience. Block Diagram   Products Category MCU Product URL KE1xZ: up to 72MHz, 5V main stream CM0+ MCU with NXP Touch (TSI) and CAN control  Product Description KE1xZ MCUs are based on the Arm® Cortex®-M0+ core, running up to 72 MHz.   Category Power Management Product URL TEA19363LT: GreenChip SMPS Primary Side Control IC with QR/DCM Operation and Active x-Capacitor Discharge  Product Description The TEA19363LT is a member of the GreenChip family of controller ICs for switched mode power supplies.   Category Drivers Product URL 1 PCA9955BTW: 16-channel Fm+ I²C-bus 57 mA/20 V constant current LED driver  Product Description 1 The PCA9955B is an I2C-bus controlled 16-channel constant current LED driver optimized for dimming and blinking 57 mA Red/Green/Blue/Amber (RGBA) LEDs in amusement products. Product URL 2 PCF8579: LCD column driver for dot matrix graphic displays  Product Description 2 The PCF8579 is a low power CMOS LCD column driver, designed to drive dot matrix graphic displays at multiplex rates of 1:8, 1:16, 1:24 or 1:32. Product URL 3 NX5P2924CUK: Logic controlled high-side power switch  Product Description 3 The NX5P2924C is a high-side load switch which features a low ON resistance N-channel MOSFET with controlled slew rate that supports 2.5 A of continuous current.   Category RTC Product URL PCA85073A: Automotive tiny Real-Time Clock/Calendar with alarm function and I2C-bus  Product Description The PCA85073A is a CMOS1 Real-Time Clock (RTC) and calendar optimized for low power consumption. An offset register allows fine-tuning of the clock.  
記事全体を表示
  Overview These shelf-mounted displays can be updated wirelessly, anywhere onsite, so there’s no more need for staff to manually change price labels or print, sort, and replace labels when prices change. Prices can also be set more strategically, with gradual markdowns or in response to competitor offers. RAIN RFID coexists with other onsite technologies, including WiFi, and NFC enables innovative marketing services such as geo-location, customer identification, and targeted offers in real time.   Videos       Recommended Products   Category Name NFC PN7150 | High performance NFC controller for smart devices | NXP  PN7150 is the high-performance version of PN7120, the plug’n play NFC solution for easy integration into any OS environment, reducing Bill of Material (BOM) size and cost. NTAG I2C | NXP  The NTAG I2C plus combines a passive NFC interface with a contact I2C interface.
記事全体を表示
Demo NXP has released the 1500 W MRF1K50H and MRF1K50N. The industry’s highest power transistors for ISM, FM broadcast and sub-GHz aerospace applications. These are pin-compatible so can be situated on the same PCB as existing solutions on the market Demo / product features MRF1K50H 1.5 kW LDMOS Transistor 1–500 MHz, 1500 W CW 74% efficiency 23.5 dB gain Extremely rugged  (65:1 VSWR) MRF1K50N 1.5 kW LDMOS Transistor 1–500 MHz, 1500 W CW 73% efficiency 23 dB gain 30% lower thermal resistance compared to ceramic package Extremely rugged  (> 65:1 VSWR) NXP Recommends MRF1K50H MRF1K50N
記事全体を表示
The Motor Control Development Toolbox includes an embedded target supporting MCUs, Simulink™ plug-in libraries, and tool chain for configuring and generating the necessary software.     Features Generate code for standalone application with direct download to target support Optimized motor control library blocks including Park/Clarke transforms, digital filters, and general functions I/O blocks including CAN, SPI, PIT timer, Sine Wave Generation, eTimer, PWM and A/D. On-target profiling of functions and tasks Data acquisition and calibration using FreeMASTER tool Boot loader utility for programming application in flash Seamless integration with embedded coder including SIL and PIL test   Products Link S12ZVM S12ZVM Mixed-Signal MCUs|MagniV | NXP  S12ZVM Evaluation Board S12ZVM Evaluation Board | NXP  Links MCToolbox Automotive Block Diagram  
記事全体を表示
Android Open Accessory support allows external USB hardware (an Android USB accessory) to interact with an Android-powered device in a special accessory mode. When an Android-powered powered device is in accessory mode, the connected accessory acts as the USB host (powers the bus and enumerates devices) and the Android-powered device acts in the USB accessory role. This ADK library is based on NXP Kinetis Microcontroller KL26, It implements some functions to communicate with android phone.  
記事全体を表示
Overview   Audio industries need Audio Platform Boards capable to perform with Hi-Res Audio, and focused on the implementation of IoT. Therefore, it is necessary to count with a simplified but efficient and high performance audio platform, with WIFI/BT connectivity, and that is also capable of supporting 196k/32bit PCM & DSD DAC. With the possibility of adding DSP capabilities to increase customers portfolios into high-end products. And if needed, adding on-edge performance capabilities to complement the audio system into Voice Assistants. This application receives video and Hi-Res audio signals from WIFI or Bluetooth, even from DMICs. Then it processes them and sends a response to displays, speakers or any other audio or video output. It should also count with an external Audio Codec that could support different audio formats. Use Cases The audio industry has been evolving through the years. Thanks to this evolution, the industry is now focused on Hi-Res Audio, & the implementation of IoT for streaming and other type of services. Some of the possible uses could be: Audio Streaming. Audio Processing. Audio Files Storage. Portable Audio Systems. Personal Assistants. Voice Assisted Systems. Block Diagram Products Category MPU Product URL i.MX 8M Plus – Arm® Cortex®-A53, Machine Learning, Vision, Multimedia and Industrial IoT  Product Description The i.MX 8M Plus family focuses on machine learning and vision, advanced multimedia, and industrial IoT with high reliability.   Category Wireless Product URL 1 88W8987: 2.4/5 GHz Dual-Band 1x1 Wi-Fi® 5 (802.11ac) + Bluetooth® 5 Solution  Product Description 1 The 88W8987 is a highly integrated Wi-Fi (2.4/5 GHz) and Bluetooth single-chip solution specifically designed to support the speed, reliability and quality requirements of Very High Throughput (VHT) products. Product URL 2 PN5180: Full NFC Forum-compliant frontend IC  Product Description 2 The PN5180 is a high-performance full NFC Forum-compliant frontend IC for various contactless communication methods and protocols.   Category Power Management Product URL 1 PCA9450: Power Manage IC (PMIC) for i.MX 8M Mini/Nano/Plus  Product Description 1 The PCA9450 is a single chip Power Management IC (PMIC) specifically designed to support i.MX 8M family processor Product URL 2 NVT4857UK: SD 3.0-SDR104 compliant integrated auto-direction control memory card voltage level translator with EMI filter and ESD protection  Product Description 2 The device is an SD 3.0-compliant bidirectional dual voltage level translator with auto-direction control.   Category Drivers Product URL 1 PCF85162T: 32 × 4 universal LCD driver for low multiplex rates  Product Description 1 The PCF85162 is a peripheral device which interfaces to almost any Liquid Crystal Display (LCD) with low multiplex rates. Product URL 2 PCA9955BTW: 16-channel Fm+ I²C-bus 57 mA/20 V constant current LED driver  Product Description 2 The PCA9955B is an I2C-bus controlled 16-channel constant current LED driver optimized for dimming and blinking 57 mA Red/Green/Blue/Amber (RGBA) LEDs in amusement products.   Category USB Product URL 1 NX5P3090UK: USB PD and type C current-limited power switch  Product Description 1 The NX5P3090 is a precision adjustable current-limited power switch for USB PD application. Product URL 2 PTN5150: CC logic for USB Type-C applications  Product Description 2 PTN5150 is a small thin low power CC Logic chip supporting the USB Type-C connector application with Configuration Channel (CC) control logic detection and indication functions.
記事全体を表示
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
記事全体を表示
功能需求 RT117X系列MCU在汽车和工业类产品中有广泛应用,有很多客户对LIN通讯有需求,RT1176有12路独立的LPUART接口,最大支持的波特率能支持到20M,而且每一路都支持Break发送和中断接收,可以用来配合定时器实现LIN的主机和从机通讯。但是目前RT117X的EVK板没有放置LIN的收发器,SDK也没有相关LIN的示例代码和LIN协议栈支持,所以本示例目的是移植KW36工程中的LIN 2.1版本的代码到RT1176 EVK板子上,在硬件上通过跳线将LIN Master主节点和 Slave从节点的LPUART TX/RX线连接到FRDM-KW36板载的LIN收发器TJA1027上,分别实现LIN 2.1版本协议栈在Master和Slave节点的通讯功能验证,同时还需支持Auto Baud Rate自动波特率调整。为客户做二次开发或者移植用户自己的LINstack提供底层驱动,提高开发效率。 代码包软件   RT1176 LIN Master节点代码:RT1170_LIN_Porting_Demo_Master.7z RT1176 LIN Slave节点代码(支持自动波特率😞 RT1170_LIN_Porting_Demo_Slave_with_Auto_Baud_Rate.7z 配置FRDM-KW36板载LIN 收发器的代码: KW36_LIN_PHY_Board_Init.7z 硬件Setup   MIMXRT1170-EVK: 2pcs,分别用作LIN Master节点和Slave节点。 FRDM-KW36:2pcs, 分别用作Master节点的收发器,和 Slave节点的收发器 下图是系统连接,2块RT1170 EVK板分别和2块FRDM-KW36板通过Arduino接口连接在一起,然后将两块KW36之间的LIN收发器通过 J13 连接在一起,需要使用外部12V adapter为FRDM-KW36供电,否则板上的LIN收发器无法工作。特别强调的是,如果需要使能自动波特率检测的话,还需要将Slave节点RT1176 Arduino接口的J9-Pin2引脚连接到RT1176 Arduino接口的J9-Pin12引脚,作为Timer 脉冲捕捉的输入,即可完成系统硬件的setup。   软件Setup:   在以上硬件连接完成后,按照如下步骤下载对应软件: - Step1: 下载KW36_LIN_PHY_Board_Init.7z代码到两块FRDM-KW36板子上;  该代码中主要实现两个功能:第1个拉高板子的PTC5引脚,唤醒LIN收发器TJA1027。第2个将PTA18引脚配置成disable高阻状态。如果该引脚作为GPIO输出或者LPUART TX功能,会导致LIN slave回应数据出错(bit位丢失或者错误)。究其原因猜测应该是短路导致,当这个引脚作为GPIO输出或者LPUART TX功能,内部会有上拉,当RX1176 TX引脚输出Low时,由于电路上没有串联电阻(板子上使用的0Ω),会导致引脚上出现大电流。尤其是第2个点,花费了很多时间去查这个问题,从波形去看,是有数据输出的,但只是数据不对,很具有迷惑性。当然如果客户是自己打的板子,板子上已经有LIN收发器就不需要这一步,直接跳到Step2即可。 - Step2: 下载RT1170_LIN_Porting_Demo_Master.7z代码到作为Master节点的IMRT1176-EVK板; - Step3: 下载RT1170_LIN_Porting_Demo_Slave_with_Auto_Baud_Rate.7z代码到作为Slave节点的IMRT1176-EVK板,如果需要使能自动波特率调整,需要配置宏linUserConfigSlave.autobaudEnable = true; 代码中默认是打开的。 实验结果   打开两个IMRT1176-EVK板串口,波特率配置115200,单击RT1176 Master节点上的按键SW7,便可以启动Master节点开始发送数据,通讯波形和串口打印信息如下两张图所示。   代码移植的几个难点   1. LIN通讯协议栈的调度流程的理解,包括Wakeup段,Break段,Sync段,PID段,Data段的状态切换和跳转,每个段的超时监测和错误处理,其核心思想有两个:一个在于LIN的RX引脚要不断去monitor TX引脚的状态,然后去切换状态机,具体调度的流程在后文会详细介绍,这里不展开。第二个是准确获取在每个段的定时器时间,尤其是超时超过一个overflow周期的情况,需要对timerGetTimeIntervalCallback0函数有理解。 2. 自动波特率调整功能的支持,该功能的原理是测量SYNC段的8个脉冲的脉宽,如果每个脉宽差异在2%范围内,再根据脉冲宽度去判断对应的波特率。在原来KW36的代码中是使用TPM的Overflow中断来作为计时,Edge中断来触发,而RT1176没有TPM,只能使用Qtimer (Qtimer功能上要更强于TPM),但是不巧的是Qtimer不支持Overflow中断(参见芯片ERRATA 050194),所以只能使用compare中断来实现类似的功能,而原有的计时定时计算都是基于overflow的,因此就需要对定时器部分的代码做大范围的更改。 应用中考虑到timerGetTimeIntervalCallback0函数在自动波特率调整时和超时监测处理时的一致性,最好使用同一个Timer的同一个channel,这就需要这个Timer既支持普通的定时中断模式,又支持input capture功能。对于TPM来说,是无法实现的因为两次在寄存器配置上时互斥的, 参见下图。幸运的是Qtimer支持这个feature,只是需要根据SDK代码做些配置 前面提到,需要QTimer支持input capture功能, 触发信号是LPUART_RX引脚的信号,需要硬件loop到Qtimer支持的硬件引脚上,对于KW36来说,只需要把这两个物理引脚连接在一起即可,但对RT1176来说, 只有这一步还不行,还需要对XBAR进行配置,将Qtimer的TIMER 1的触发引脚(合计有4个物理引脚)Link到QTIMER对应的Channel上,因为RT1176有4个QTimer,每个Qtimer有4个通道,标称的Qtimer trigger pin有4个,那具体哪个pin触发哪个QTimer的哪个通道,是需要配置的。如果客户没有使用过XBAR配置起来有难度,还好MCUXpresso config tool支持配置,可以简便的完成配置。示例代码和触发关系如下,如果实际硬件使用的物理引脚有区别,需要对应修改。 RT的XBAR功能非常强大,或许可以不使用外部的物理连线,直接将Qtimer的出发引脚的信号直接在内部Loop到LPUART_RX引脚,这样就更加灵活,此处只提供一个思路,不再进一步延伸。 IOMUXC_GPR->GPR15 = ((IOMUXC_GPR->GPR15 & (~(IOMUXC_GPR_GPR15_QTIMER4_TRM1_INPUT_SEL_MASK | IOMUXC_GPR_GPR15_QTIMER4_TRM2_INPUT_SEL_MASK)))/*Mask bits to zero which are setting*/ | IOMUXC_GPR_GPR15_QTIMER4_TRM1_INPUT_SEL(0x00U) /*QTIMER4 TMR1 input select: 0x00U*/ | IOMUXC_GPR_GPR15_QTIMER4_TRM2_INPUT_SEL(0x00U) /*QTIMER4 TMR2 input select: 0x00U*/ ); 4. 在状态机切换和超时以及错误处理过程中,经常会看到两种模式Sleep模式和Idle模式,区别是什么呢? LIN_LPUART_GoToSleepMode: 函数会关闭Break中断,RX接收中断,帧错误中断,保留RX边沿 中断; LIN_LPUART_GotoIdleState 函数会打开Break中断,RX接收中断,帧错误中断,关闭RX边沿中 断; 实际通讯波形   Master作为Subscribe角色时,发送Header,由Slave发送Respone Master作为PUBLIC角色时,同时发送Header,以及Respone 按照调度表依次发送LI0_lin_configuration_RAM数组定义的PID数据 static uint8_t LI0_lin_configuration_RAM[LI0_LIN_SIZE_OF_CFG]= {0x00, 0x30, 0x33, 0x36, 0x2D, 0x3C, 0x3D ,0xFF}; Qtimer准确读取wake up信号的脉冲宽度 Slave使能Auto baud rate后读取到的每个脉冲宽度数据 免责声明: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND *ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED *WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, *INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUTNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, ORPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY,WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE * OR OTHERWISE)
記事全体を表示
Overview During critical processes, an industrial diesel engine management system that includes an electric generator can supply emergency power to all vital and selected loads as desired. Today, most state-of-the-art- hospitals, manufacturing plants, telecommunications organizations, data centers, emergency facilities, large industries, and mining companies require uninterrupted power and have backup diesel engine generators that are reliable. As shown in the block diagram, NXP provides a full range of MCUs, barometric pressure sensors (BAP), and analog/mixed-signal IC drivers for improving diesel vehicle fuel economy, enhancing performance, and meeting emissions requirements in automotive applications. However, the NXP industrial diesel engine management solution is equally applicable in other industrial applications by changing the input sensors and outputs that require control. The NXP Industrial diesel engine management solution incorporates the MPC5777C Power Architecture® MCU that delivers advanced performance, timing systems, security, and functional safety capabilities. This includes a lockstep function that serves as a watchdog function to flag any problems with the MCU, support for advanced timers and ADCs, external memory, fault detection, and handling support, and the highest functional safety standards (ASIL-D) support. Together, this solution provides a reliable and high-performance solution to ensure your customers and their employees are safe. Block Diagram Recommended Products Category Link MCU MPC5777C|Engine Control MCU | NXP  Safety Power Management MC33905 | SBC Gen2 with High-Speed CAN and LIN | NXP  Physical Interface TJA1021 | LIN2.1/SAE J2602 Transceiver | NXP  Output Driver MC33800 | Engine Control Integrated Circuit | NXP  Motor Driver H-Bridge MC33931 | H-Bridge Motor Driver | NXP  MAP Sensor 20 to 105kPa, Absolute, Integrated Pressure Sensor | NXP  BAP Sensor -115 - 115kPa Gauge, Absolute Pressure Sensor | NXP  Injector Driver MC33810 | Automotive Engine Control IC | NXP  Input Signal and Sensor Interface MSDI | NXP 
記事全体を表示
现在越来越多的客户,对于S32G PFE在master/slave的使用有了需求。 但是,PFE只有4个HIF接口,HIF0~HIF3,而PFE有3个EMAC口,以及LLCE2PFE也需要要给HIF,从而HIF成为一个关键资源。 同时,有些客户需要从A核,M核的业务考量,A核和M核的网络不仅要和外部设备进行通信,同时A核和M核内部也有通信需求,并且需要把业务报文和管理报文分离,这就对PFE master/slave的使用场景有了更多变化,以及对各种配置有了更多需求。 因此,针对PFE/Slave的几种使用典型的使用场景,进行配置。
記事全体を表示
在进行时钟同步时,目前S32G2/G3有一种很典型的使用场景: Grand master clock  <-> S32G PFE <-> 其余连接在PFE 某些 eMAC口上的设备 外部的grand master clock,连接在PFE的一个eMAC上,要同步S32G以及连接在PFE其余eMAC上的设备时钟。 但是S32G2/G3的PFE仅仅是支持timestamp,对于将S32G PFE设置成交换机使用时,PFE不能实现Transparent clock的功能。 因此,本文讨论将PFE + S32G SoC当作Transparent clock,以及将PFE + S32G当作boundary clock,来同步S32G以及其余部件的时钟。
記事全体を表示