NXP Designs Knowledge Base

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

NXP Designs Knowledge Base

Discussions

Sort by:
功能需求 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)
View full article
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      
View full article
引言 FRDM-KW36包含带有32 kHz晶体振荡器的RTC模块。此模块为以极低功耗模式运行的MCU生成32 kHz时钟源。该振荡器包括一组用作CLOAD的可编程电容器。改变这些电容器的值可以改变振荡器提供的频率。 此可配置电容的范围为0 pF(禁用电容器组)至30 pF,步长为2 pF。 这些值是通过组合启用的电容器获得的。可用值为2 pF,4 pF,8 pF和16 pF。可以完成这四个数值的任意组合。如果可以使用外部电容器,建议禁用这些内部电容器(清除RTC控制寄存器SFR中的SC2P,SC4P,SCS8和SC16位)。 要调整振荡器提供的频率,必须首先能够测量该频率。使用频率计数器将是非常好的,因为它提供了比示波器更精确的测量。您还需要输出振荡器频率。要输出振荡器频率,以任意一个蓝牙演示应用程序为例,您应该执行以下操作: 调整频率示例 本示例将利用Connectivity Software Stack中的心率传感器演示(freertos版本),并假定开发人员具有从SDK到IDE导入或打开项目的知识。 1.从SDK中打开或克隆“心率传感器”项目。 2.在工作区的board文件夹中找到board.c和board.h文件。 3.如下图所示在board.h文件中声明一个void函数。该函数将RTC管脚复用设置为输出到PTB3并能够测量频率。 4. 如下所示在board.c文件中开发BOARD_EnableRtcClkOut函数。 5. 代码如下: 6. 在BOARD_BootClockRUN(board.c文件)之后立即在hardware_init函数中调用BOARD_EnableRtcClkOut函数。 7. 在工作区的board文件夹中找到clock_config.c文件。 8. 在文件顶部添加以下定义。 9. 在BOARD_BootClockRUN函数内部(也在clock_config.c文件中)搜索对函数的CLOCK_CONFIG_EnableRtcOsc调用,然后通过上述任意定义来编辑变量。 10. 最后,在项目源文件夹中的“ preinclude.h”文件中禁用低功耗选项和LED支持: 此时,您可以在PTB3中进行测量,并使用频率计数器进行频率调整。每次对电路板进行编程时,都需要执行POR以获得正确的测量。下表是从FRDM-KW36板版本B获得的,可用作调整频率的参考。 请注意,电容不仅由启用的内部电容组成,还包括封装,内部走线,芯片焊盘和PCB走线中的寄生电容。因此,尽管下面给出的参考测量值应接近实际值,但您还应该在电路板上进行测量,以确保频率是专门针对您的电路板和布局进行调整的。 Labels:KW   KW35 | 36 kinetis kw36a
View full article
这篇文章通过覆盖与GFSK (通用频移键控)通信并行的 低功耗蓝牙 多节点连接,提供了混 合应用程序( W ireless UART + GFSK Advertising )的示例。这是 SDK 的另一个示例,其中我 们定义了 混合应用程序,用于与 GFSK 通信并行进行蓝牙 LE 广告和扫描。 Products Product Category NXP Part Number URL MCU KW36/35/34 https://www.nxp.com/products/wireless/bluetooth-low-energy/kw36-35-34-arm-cortex-m0-pluskinetis-kw36-35-34-bluetooth-low-energy-32-bit-mcus-nxp:KW36-35 MCU KW39/38/37 https://www.nxp.com/products/wireless/bluetooth-low-energy/kw39-38-37-32-bit-bluetooth-5-0-long-range-mcus-with-can-fd-and-lin-bus-options-arm-cortex-m0-plus-core:KW39-38-37   Tools NXP Development Board URL FRDM-KW36 Freedom Development Kit https://www.nxp.com/design/development-boards/freedom-development-boards/mcu-boards/frdm-kw36-freedom-development-kit-for-kinetis-kw36-35-34-mcus:FRDM-KW36 FRDM-KW38 Freedom Development Kit https://www.nxp.com/design/designs/freedom-development-kit-for-kw39-38-37-mcus:FRDM-KW38   SDK SDK Version URL MCUXpresso SDK Builder https://mcuxpresso.nxp.com/en/welcome
View full article
  From GUI to prototype to Product - Fast The evolution of Embedded GUI Design   Products ARM Cortex-A9|i.MX 6 Multicore Processors   Links NXP Partner Program - Crank Software Partner Profile   Other Demo Videos Storyboard Demo Launcher on Freescale's iMX6 Sabre Lite From Photoshop to Crank Storyboard Suite to i.MX Series Hardware in Minutes
View full article
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) 
View full article
Overview   The RDS12VR is a solution engineered for window lift, power windows, and sun roof systems. Developed in partnership with Tongji University and based on the 16-bit S12 MagniV® S12VR mixed-signal microcontrollers, the RDS12VR offers control by multiple LIN salve nodes or LIN master node, through the easy-to-control Graphics User Interface (GUI). The RDS12VR reduces unnecessary external components, lowers the total bill of material (BoM), improves system quality, and saves space in automotive applications through a smaller PCB. The RDS12VR solution includes hardware for real door/window in-vehicle applications, as well as software including anti-pinch algorithms and low-level S12VR drivers for reducing time to market. Block Diagram   Products Product Features S12VR  16-bit S12 MagniV® S12VR mixed-signal microcontrollers, efficient and scalable relay driven DC motor control solution   Features Features   Window manual/automatic up/down, automatic up/down with stop function Anti-pinch in both manual/automatic mode, anti-pinch region and force can be adjusted Stuck detection out of anti-pinch region, motor overload protection Soft stop when window is close to the top/bottom Self learning, calibration by updating the window/motor parameters stored in EEPROM Use hall sensor as well as current sense to judge anti-pinch in algorithm Power   Fault diagnosis, indicating low voltage, over voltage/current/temperature etc. Low power mode (leveraging S12VR low power mode) to reduce power consumption GUI Easy-to-control GUI, set the parameters and get the status Window lift can be controlled either by multiple LIN salve nodes or LIN master node, through GUI Functional Safety Able to comply with relevant content in US Federal Motor Vehicle Safety FMVSS No. 118 standard Document DRM160, Window Lift and Relay Based DC Motor Control Reference Design Using the S12VR Microcontrollers     
View full article
  Overview   Vehicle-to-Everything (V2X) technology enables cars to communicate with their surroundings and makes driving safer and more efficient for everyone. By making the invisible visible, V2X warns the driver of road hazards, helping reduce traffic injuries and fatalities. In addition to improving safety, V2X helps to optimize traffic flow, reduce traffic congestion and lessen the environmental impact of transportation. V2X is a key component for full autonomous driving. V2X need message package signing & verification which need high CPU loading if used CPU. Qualcomm recommend their customers to use NXP i.MX8X/XL which have HSM as their modem’s companion chip. Two major components in the system: RSU (Road Side Unit) and OBU (On Board Unit). Both have similar system design, with minor differences. Block Diagram   Product Category MCU/MPU Product URL 1 i.MX 8X Family – Arm® Cortex®-A35, 3D Graphics, 4K Video, DSP, Error Correcting Code on DDR  Product Description 1 Extending the scalable range of the i.MX 8 series, the i.MX 8X family is comprised of common subsystems and architecture from the higher-end i.MX 8 family, establishing a range of cost-performance scaling with pin-compatible options and a high level of software reuse. Product URL 2 https://www.nxp.com/design/development-boards/automotive-development-platforms/s32k-mcu-platforms/s32k144-evaluation-board:S32K144EVB  Product Description 2 The S32K144EVB is a low-cost evaluation and development board for general purpose automotive applications.   Category Transceivers Product URL 1 TJA1051: High-speed CAN transceiver  Product Description 1 The TJA1051 is a high-speed CAN transceiver that provides an interface between a Controller Area Network (CAN) protocol controller and the physical two-wire CAN bus. Product URL 2 TJA1101: 2nd generation Ethernet PHY Transceivers - IEEE 100BASE-T1 compliant  Product Description 2 TJA1101 is a high-performance single port, IEEE 100BASE-T1 compliant Ethernet PHY Transceiver.   Category Power Management Product URL PF8100-PF8200: 12-channel Power Management Integrated Circuit (PMIC) for High-Performance Processing Applications  Product Description The PF8100/PF8200 PMIC family is designed for high-performance processing applications such as infotainment, telematics, clusters, vehicle networking, ADAS, vision and sensor fusion.   Category Secure Element Product URL SXF1800: Secure Element IC for V2X Communication  Product Description SXF1800 is based on highly secure microcontroller used also to protect mobile payments, providing highest proven assets protection.   Category I2C interface Product URL 1 PCA9538: 8-bit I²C-bus and SMBus low power I/O port with interrupt and reset  Product Description 1 The PCA9538 is a 16-pin CMOS device that provides 8 bits of General Purpose parallel Input/Output (GPIO) expansion with interrupt and reset for I2C-bus/SMBus applications and was developed to enhance the NXP Semiconductors family of II2CC-bus I/O expanders. 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 PCA85073A: Automotive tiny Real-Time Clock/Calendar with alarm function and I2C-bus  Product Description 3 The PCA85073A is a CMOS1 Real-Time Clock (RTC) and calendar optimized for low power consumption.   Category Wi-Fi Product URL 88W8964: 2.4/5 GHz Dual-Band 4x4 Wi-Fi® 5 (802.11ac) Access Solution  Product Description The 88W8964 features 160MHz bandwidth and Multi-User Multi-Input Multi-Output (MU-MIMO) while achieving 2.6 Gbit/s peak data rate for high speed, secure, and reliable access points and smart gateways.   Category V2X Modem Product URL RoadLINK® SAF5400 Single Chip Modem for V2X  Product Description The RoadLINK SAF5400 is an automotive-qualified single chip DSRC modem for V2X applications. The SAF5400 modem is able to receive and verify up to 2000 messages per second.
View full article
This demo which shows a complete Ethernet AVB audio amplifier solution built with NXP silicon and software.     Features Audio Video Bridging for automotive infotainment purposes System AVB amplifier for car audio nodes Analog video/audio is converted into AVB and outputs to vybrid Tower running AVB stack Featured NXP Products Vybrid Qorivva MCU Development Hardware Used Vybrid TWR board
View full article
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
Demo Owner Brian Gildon   Timesys Vice President of Business Development, Brian Gildon demonstrates various NXP based applications for optimized performance devices. Demonstrations include  NXP's Vybrid TWR-VF65GS10 board on Linux, a fast boot demonstration using i.MX 6 platform on Linux and finally a Sabre SDP a multi-touch interface design for designers who want simple branding.   Features Timesys - Linux tools services and training First demo: Vybrid tower board demo RTOS and Linux running simultaneously Second demo: Boot up Android quickly from a cold boot Third demo: Accelerated video demo vs non-accelerated video comparison Fourth demo: QT widget support on a multi-touch interface   Product Link SABRE Board for Smart Devices Based on the i.MX 6Quad Applications Processors i.MX 6Quad SABRE Development Board | NXP  VFxxx Controller Solutions VFxxx Controller Solutions based on Arm® Cortex® A5 and M4 Cores | NXP  Links Tymesys  
View full article
Demo This demo showcases the MAC57D5xx microcontroller rendering on a LVDS 1280x480 display for a full digital graphic instrument cluster and a Head-up Display on a secondary panel showcasing the warping capabilities of the microcontroller.       Single-chip instrument cluster solution with powerful graphics subsystem, including inline Head-Up Display warping functionality Dual-core ARM® Cortex®-A5/M4 for real-time and application processing and additional Cortex-M0+IOP core Cryptographic Services Engine, tamper detection and password protection for Flash memory and JTAG   Links Ultra-Reliable Multi-Core ARM-based MCU
View full article
Overview In the industrial world, it is critical to incorporate fail-safe technology where possible in applications such as crane steering machines, robotic lift, and assembly line robots to name a few. By doing so, you ensure you meet Safety Integrity Level (SIL) standards as found in the IEC 61508 standard. Also, you significantly increase human safety and protect products and property. This fail Safe Motor Control solution incorporates the MPC574xP family of MCUs that delivers the highest functional safety standards for industrial applications. The MPC574xP family incorporates a lockstep function that serves as a watchdog function to flag any problems with the MCU including a programmable Fault Collection and Control Unit (FCCU) that monitors the integrity status of the MCU and provides flexible safe state control. Also, this device is a part of the SafeAssure® program, helping manufacturers achieve functional safety standard compliance. Block Diagram Recommended Products Category Products Features Power Switch 12XS2 | 12 V Low RDSON eXtreme Switch | NXP  Watchdog and configurable Fail-safe mode by hardware Authentication time (on-chip calculations) < 50 ms Programmable overcurrent trip level and overtemperature protection, undervoltage shutdown, and fault reporting Output current monitoring Pressure Sensor MPXHZ6130A|Pressure Sensor | NXP  The MPXHZ6130A series sensor integrates on-chip, bipolar op amp circuitry and thin-film resistor networks to provide a high output signal and temperature compensation for automotive, aviation, and industrial applications. Temperature Sensor https://www.nxp.com/products/sensors/silicon-temperature-sensors/silicon-temperature-sensors:KTY8X High accuracy and reliability Long-term stability Positive temperature coefficient; fail-safe behavior MOSFET Pre-driver GD3000 |3-phase Brushless Motor Pre-Driver | NXP  Fully specified from 8.0 to 40 V covers 12 and 24 V automotive systems Extended operating range from 6.0 to 60V covers 12 and 42 V systems Greater than 1.0 A gate drive capability with protection Power Management and Safety Monitoring MC33908 | Safe SBC | NXP  Enhanced safety block associated with fail-safe outputs Designed for ASIL D applications (FMEDA, Safety manual) Secured SPI interface   Evaluation and Development Boards   Link Description MPC5744P Development Kit for 3-phase PMSM | NXP  The NXP MTRCKTSPS5744P motor control development kit is ideal for applications requiring one PMSM motor, such as power steering or electric powertrain. Evaluation daughter board - NXP MPC5744P, 32-bit Microcontroller | NXP  The KITMPC5744DBEVM evaluation board features the MPC5744P, which is the second generation of safety-oriented microcontrollers, for automotive and industrial safety applications
View full article
Description The S12ZVC is a highly reliable, low-cost 16-bit MCU that offers a built-in voltage regulator along with CAN bus, 12-bit ADC and a 4-channel PWM. This feature is a great asset when developing end-node automotive solutions, such as a switch panel, based on CAN bus integration. This application integrates many buttons and knobs to control automotive systems, for example, Lights, Doors, Audio Systems, Air Conditioner or windows at the driver or passengers reach. Block Diagram   Products Category Name 1: Microcontroller Product URL 1 S12ZVC Mixed-Signal MCUs|MagniV | NXP  Product Description 1 The S12ZVC is a low-cost MCU, designed for the smallest automotive CAN-termination nodes. The S12ZVC core integrates a 5V to 12V voltage regulator, this features enable the capability for the MCU to become an automotive solution; from lights to doors, to trunk locks or air conditioner switches.   Features Features Vreg for 3.5 to 20-volt operating range, scalable in supply for on- and off-chip systems CAN physical layer High-resolution mixed signal: 12-bit resolution ADC 16ns resolution PWM and Timer Related Documentation Document URL Title https://www.nxp.com/docs/en/application-note/AN5090.pdf Using the S12ZVC Device for Industrial Applications https://www.nxp.com/docs/en/application-note/AN4851.pdf Using the High-Resolution Timer and PWM in the S12ZVC   Related Software Related Software URL https://www.nxp.com/downloads/en/board-support-packages/VLG-MC9S12ZVC-DEMOSW.zip https://www.nxp.com/downloads/en/lab-test-software/DEVKIT-S12ZVC-LAB.zip https://www.nxp.com/downloads/en/board-support-packages/DEVKIT-S12ZVC-QSP.zip  Tools Tools URL VLG-MC9S12ZVC Evaluation Board | NXP  Related Demos from Communities URL List of MagniV and S12(X) Examples and Documents  List of MagniV S12(X) Application notes  S12 / MagniV Microcontrollers  CodeWarrior Development Tools  NXP Model-Based Design Tools 
View full article
  Overview   Since 1996 in EU and since 2000 in Europe, the OBD (On-Board Diagnostics) is mandatory for all the cars manufactured. This protocol is used to verify the smoke emissions and check if any car is between the parameters stablished in every country. Also detect engine failures without need to check the engine manually, identifying accurately the problems reducing the repairing time and cost. OBD-II is a sort of computer which monitors emissions, mileage, speed, and other useful data. OBD-II is connected to the check engine light, which illuminates when the system detects a problem. Scan tools can be used to make sense of the diagnostic trouble codes and collect data on other aspects of vehicle’s performance.   Use Cases Hotspot in the CAR Geofences and speed limits Driving habits tracking Insurance and Rental Entertainment   Block Diagram   Products Category Name MCU Product URL 1 MIMXRT1050-EVK: i.MX RT1050 Evaluation Kit Product Description 1 The i.MX RT1050 EVK is a 4-layer through-hole USB-powered PCB. At its heart lies the i.MX RT1050 crossover MCU, featuring NXP’s advanced implementation of the Arm® Cortex®-M7 core.   Category Name Serial Link Bus Product URL 1 KIT33660EFEVBE: Evaluation Kit - MC33660, ISO K Line Serial Link Product Description 1 The KIT33660 evaluation board supports the MC33660, a serial link bus interface device designed to provide bi-directional half-duplex communication interfacing in automotive diagnostic applications.   Category Name Transceiver Product URL 1 TJA1100HN: Evaluation Board, TJA1100HN 100BASE-T1 PHY Transceiver Product Description 1 The TJA1100HN customer evaluation board is a low-cost hardware development tool which supports the functional evaluation of the TJA1100HN 100BASE-T1 PHY transceiver.  
View full article
  Overview The growth in automotive emerging markets has increased the need for simple and lower cost instrument cluster solutions. NXP® offers several cost-effective solutions based on its complete range of instrument cluster processors, from the 8-bit S08 family to industry-leading 16-bit S12 architecture, integrating required interface features that include the optimal set of on-chip features, package and memory options. To further help your instrument cluster designs, NXP offers an extensive suite of hardware and software development tools. i.MX8X have similar CPU performance with i.MX6 but 2 times GPU performance. NXP provide function safety ASIL-B cluster solution with hardware/software support. i.MX8X has embedded VPU which can support video stream decoding from IVI to cluster. And also full solution for AVB/TSN in car network.   Block Diagram Products Category MCU/MPU Product URL 1 i.MX 8X Family – Arm® Cortex®-A35, 3D Graphics, 4K Video, DSP, Error Correcting Code on DDR  Product Description 1 Extending the scalable range of the i.MX 8 series, the i.MX 8X family is comprised of common subsystems and architecture from the higher-end i.MX 8 family, establishing a range of cost-performance scaling with pin-compatible options and a high level of software reuse. Product URL 2 S32K144EVB: S32K144 Evaluation Board  Product Description 2 The S32K144EVB is a low-cost evaluation and development board for general purpose automotive applications.   Category Power Management Product URL  PF8100-PF8200: 12-channel Power Management Integrated Circuit (PMIC) for High-Performance Processing Applications  Product Description The PF8100/PF8200 PMIC family is designed for high-performance processing applications such as infotainment, telematics, clusters, vehicle networking, ADAS, vision and sensor fusion.   Category Transceiver Product URL 1 TJA1042: High-speed CAN transceiver with standby mode  Product Description 1 The TJA1042 high-speed CAN transceiver provides an interface between a Controller Area Network (CAN) protocol controller and the physical two-wire CAN bus. Product URL 2 TJA1101: 2nd generation Ethernet PHY Transceivers - IEEE 100BASE-T1 compliant  Product Description 2 TJA1101 is a high-performance single port, IEEE 100BASE-T1 compliant Ethernet PHY Transceiver.   Category Peripherals Product URL1 PCA9538: 8-bit I²C-bus and SMBus low power I/O port with interrupt and reset  Product Description 1 The PCA9538 is a 16-pin CMOS device that provides 8 bits of General Purpose parallel Input/Output (GPIO) expansion with interrupt and reset for I2C-bus/SMBus applications and was developed to enhance the NXP Semiconductors family of II2CC-bus I/O expanders. 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. Product URL 3 PCT2075: I2C-Bus Fm+, 1 Degree C Accuracy, Digital Temperature Sensor And Thermal Watchdog  Product Description 3 The PCT2075 is a temperature-to-digital converter featuring ±1 °C accuracy over ‑25 °C to +100 °C range. Product URL 4 PCA85073A: Automotive tiny Real-Time Clock/Calendar with alarm function and I2C-bus  Product Description 4 The PCA85073A is a CMOS1 Real-Time Clock (RTC) and calendar optimized for low power consumption.
View full article
  Overview NXP solutions enable AD/DC chargers in hybrid electric vehicles (HEV). The AD/DC charger interfaces with the battery management system to ensure a proper charge of electricity of the cells until it fulfills high-voltage (HV) requirements. Our comprehensive portfolio provides the critical building blocks for high-performance, efficient and safe pawer management control system for electric traction motors.   Use Cases This solution can be applied and various sectors of the industry, specially in the automotive field. NXP solutions enable Hybrid and Electric Vehicles applications as: Converters and Chargers Stop/Start Systems Power inverters   Block Diagram Products Category MCU Product URL S32K144EVB: S32K144 Evaluation Board  Product Description The S32K144EVB is a low-cost evaluation and development board for general purpose automotive applications.   Category Safety SBC Product URL 1 FS6500: Grade 1 and Grade 0 Safety Power System Basis Chip with CAN Flexible Data Transceiver  Product Description The NXP® FS6500 system basis chip (SBC) provides power to MCUs and optimizes energy consumption through DC/DC switching regulators, linear regulators, and ultra-low-power saving modes.   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.   Category Serial Interface Product URL  MC33660: ISO K Line Serial Link Interface  Product Description The NXP® MC33660 is a serial link bus interface device designed to provide bi-directional half-duplex communication interfacing in automotive diagnostic applications.
View full article
In BLE spec there is no standard wireless pass through profile, so different chip vendors have their own implementations, which is also called Proprietary Profile, the compatibility is a big challenge. There are two wireless pass through demos in NXP BLE demos. For QN90XX chip, it’s called QPP. For KW3X, it’s called wireless UART. The wireless UART is more complex. It doesn’t support always-connection and have many limitations for the app. The common BLE debug tool app on phone side cannot communicate with it, while the QPP can work well.  This demo code is target to port the QPP profile to KW3X SDK, which can simplify user’s development.
View full article
The KW36/35/34 is an ultra-low power, highly integrated single-chip family that enables Bluetooth Low Energy version 5 and Generic FSK (at 250, 500 and 1000 kbps) connectivity for automotive, industrial and medical embedded systems. KW36/35/34 integrates an Arm ®  Cortex ® -M0+ CPU, up to 512 KB Flash and 64 KB SRAM, Bluetooth LE and Generic FSK hardware Link Layers and peripherals optimized to meet the requirements of the target applications. KW36/35/34 supports up to 8 simultaneous Bluetooth LE connections as either a master, a slave or any combination. The KW36 includes an integrated FlexCAN module enabling seamless integration into an automotive or industrial CAN communication network. The FlexCAN module can support CAN’s flexible data-rate (CAN FD) protocol for increased bandwidth and lower latency. The Kinetis KW36A/35A/34A MCUs feature AEC Q100-Grade 2 temperature range qualification while the KW36Z/35Z feature and Industrial qualification. As more and more car OEM are considering to use phone as the car key, which need to localize the driver’s position, most customers prefer to use RSSI based solution as it can be supported by current phone directly, while PDE and AOA is not compatible with current phone. Common RSSI Localization method is acquiring advertising channels, It’s easy, but it is hard to make authentication, can be attacked easily and have low anti-interference ability as it only have 3 channels. So customers are asking for a new method to monitor the data channels with hopping. This demonstration system implement data channel’s RSSI tracing and monitoring of 4 BLE connections at the same time, and designed a GUI to simplify the steps to setup the demo system, and view the result visually.
View full article
Overview Heating, ventilation, and air conditioning (HVAC) systems are based on inputs from a variety of sensors, controlling different types of motors such as stepper motors for flaps and DC/BLDC blower fan motors. NXP broad portfolio of 32-bit, 16-bit S12, and 8-bit S08 families of microcontrollers enables designers to meet the needs of a variety of HVAC applications. System basis chips (SBCs) combine physical network connection with power management. Intelligent eXtreme switches complete the system solution for DC motor blowers. BLDC motor control requires more complex algorithms. NXP’s MagniV products combine MCU with SBC functionality, network connection, and motor control, specific drivers, into a single package, providing a cost-effective small footprint system solution. Interactive Block Diagrams https://www.nxp.com/video/building-automation:BUILDING-AUTOMATION-V02Recommended Products Category Products Features MCU MPC560xB|32-bit MCU|Body-Electronic | NXP  32-bit single-core Power Architecture® MCU. 32-bit Automotive General Purpose MCUs | NXP  Arm Cortex-M0+|Kinetis KEA 32-bit Automotive MCUs | NXP  System Basis Chip (SBC) MC33742 | SBC with Enhanced High-Speed CAN Transceiver | NXP  System basis chip with high-speed CAN Interface. SBC Gen2 with High-speed CAN | NXP  System basis chip with high-speed CAN Interface. MC33905 | SBC Gen2 with High-Speed CAN and LIN | NXP  System basis chip with high-speed CAN Interface. LIN SBC | NXP MC33910  System basis chip with LIN interface (Entry Level). LIN SBC | NXP MC33911 System basis chip with LIN interface (Medium Level). LIN SBC | NXP MC33912 System basis chip with LIN interface (High-end Level). CAN Interface MC33897 | Single-Wire Can Transceiver | NXP  CAN interface with protection features LIN Interface TJA1021 | LIN2.1/SAE J2602 Transceiver | NXP  LIN interface with low emission. MC33662 | LIN 2.1 / SAEJ2602-2, LIN Physical Layer | NXP  LIN 2.1 and SAEJ2602-2 interface. Switch Monitoring MC33972 | MSDI with Suppressed Wakeup | NXP  Multiple switch detection interface with sleep mode. MSDI | NXP  Multiple switch detection interface with sleep mode. Motor Control MagniV® S12ZVM Mixed-Signal MCUs | NXP  Single-chip BLDC motor control solution. MC33937 | Field Effect Transistor | NXP  Three phase field effect transistor (FET) pre-driver. MC33932 | H-Bridge Motor Driver | NXP  Dual 5.0 A throttle control H-bridge. High Side Switches MC33937 | Field Effect Transistor | NXP  Three phase field effect transistor (FET) pre-driver. MC33932 | H-Bridge Motor Driver | NXP  Dual 5.0 A throttle control H-bridge. Tools and Software Link Features Development Kit for sensorless BLDC | NXP  Based on the 32-bit Arm Cortex-M4F S32K144, the MTRDEVKSBNK144 is a development kit engineered for sensorless applications requiring one Brushless Direct Current (BLDC).
View full article