Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
Length of connection line for Kinetis L series debugging and programming Recently, some customers have provided us with feedback stating they have been experiencing difficulties when connecting  Kinetis L series  microcontrollers using Multilink Universal probes, after checking the connection and software settings no obvious errors could be found. This recurrent problem has been confirmed by several customers, the  problem is caused by a long connection line. My suggestion is to keep connection line length to 10cm or less; otherwise, the IDE may not be able to establish the connection through the Multilink Universal. Kinetis L Series MCUs Re: Length of connection line for Kinetis L series debugging and programming Thank you! I was facing this problem days and had found no solution, in my case, I could eventually write the microcontroller in use and other times not. Now I made a cable 5 cm and not used the USB MULTIKINK connector and I'm getting program the microcontroller without problems. Microcotnrolador used: MKL15Z128VLH4
View full article
19-iMX_Serial_Download_Protocol.py <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 19-iMX_Serial_Download_Protocol.py zip ファイル <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 19-iMX_Serial_Download_Protocol.py zip ファイル
View full article
SDMA ap_to_ap Fixed Scripts (i.MX6DQ) The attached patch applies to iMX6_Platform_SDK for i.MX6 Dual and Quad and brings 2 additional SDMA memory to memory scripts: fixed destination address, increasing source address fixed source address, increasing destination address. With this patch, the new scripts are also integrated in the SDMA Test menu of the Platform SDK. I created these scripts starting from the ROM script ap_to_ap. In order to dump the content of the SDMA ROM, I used mxc_printSDMAcontext function which is also included in the attached patch and can be invoked when needed. i.MX6Dual i.MX6Quad Re: SDMA ap_to_ap Fixed Scripts (i.MX6DQ) Yes, it's in the ap domain. Re: SDMA ap_to_ap Fixed Scripts (i.MX6DQ) Thank you for the post. Are these ap_to_ap_fixed RAM scripts capable of accessing the external EIM bus? Example: Main RAM to  fixed address at  EIM bus
View full article
CodeWarrior for Starcore: SC3000 user guide The CodeWarrior Development Studio provides a common interface for developing, debugging, and analyzing your applications. The project-oriented Workbench window provides numerous perspectives containing views, editors, and controls that appear in menus and tool bars. After creating a project, build your application, define a launch configuration, and then wait for data collection and data display.   The StarCore linker is a part of StarCore development tools and generates an executable file for the StarCore family of digital signal processors. In addition, the linker also lets you define a Linker Command File (LCF) that you use to instruct the linker to store different parts of the executable file in different areas of the processor address space. Currently, StarCore development tools support two linker versions: • SC100 • SC3000   The SC3000 linker specifically targets SC3850 family of processors. This user guide explains SC3000 linker. For information on SC100 linker, see StarCore SC100 Linker User Guide. What are you waiting for? Amazing features are right here, and  u p d a t e d!! General
View full article
FRDM-IMX91 Board Flashing Guide The FRDM-i.MX 91 development board enables Advance HMI Solutions supporting Industrial and consumer HMI, Enriched user experience, Immersive Audio Processing, Voice Solutions, and Interconnected Devices (smarter edge devices) among other applications. This document explains how to set up FRDM-i.MX 91 development board. This includes the hardware connections, flashing the Linux image, and accessing the debug console. FRDM-IMX91 Board Flashing Guide Video (view in My Videos) Community Support If you have questions regarding this training, please leave your comments in our Wireless MCU Community! here  FRDM-IMX91 FRDM-Training Hands-On Training i.MX Application Processors Wireless
View full article
Correct OTA sequence fixing "Expected: sha256|hex" error Following OTA in Android User Guide would have HASH verification error: update_engine: [0913/085233.421711:ERROR:delta_performer.cc(1140)] Expected: sha256|hex = 685B998E4308F20FEA83D97E60222121FFE27983F013AED5C203709E139AE9DB update_engine: [0913/085233.421760:ERROR:delta_performer.cc(1143)] Calculated: sha256|hex = B1025634138BF2B5378196E364350E1E5FCA126DEE0990A592290CEBFADC3F8B The OTA process that produced the error: * After compiling the images according to the user guide, burn the images in the /out directory into the board * Then build the first target file according to 7.1.1 Building target files, such as PREVIOUS-target_files.zip * Modify part of the code to build the second target file, such as NEW-target_files.zip: * Make a differential upgrade package and perform differential OTA The root cause of the error caused by the above steps: Differential OTA requires that the onboard system.img must be the system.img generated when the target files are created for the first time. Only in this way can the correct hash value be calculated. When we execute the following command to make target files make target-files-package -j4 Will repackage a copy of system.img in the /out directory and this system.img does not meet the requirements. The system.img used by the differential package must be system.img in out/target/product/evk_8mm/obj/PACKAGING/systemimage_intermediates/. Therefore, the system.img we burned in the first step did not meet the requirements, resulting in hash verification errors. Solution 1: After the first step of programming, do a full update. When using the make otapackage -j4 command, a target_files.zip file will also be generated, which we will regard as PREVIOUS-target_files.zip. Modify part of the code and make NEW-target_files.zip. Finally, the differential upgrade can be successful. Solution 2: After finishing the first target_files.zip, copy the system.img in out/target/product/evk_8mm/obj/PACKAGING/systemimage_intermediates/ to the out/target/product/evk_8mm directory, and then use uuu Perform programming. After burning and writing, make the second target_files.zip, and finally you can upgrade by differential. Android i.MX 8 Family | i.MX 8QuadMax (8QM) | 8QuadPlus i.MX 8M | i.MX 8M Mini | i.MX 8M Nano
View full article
Touch-screen, wireless motor control using Tower K70, with MQX, Processor Expert and PEG software - Demo See how to use the Tower Kinetis 70 development hardware and programmed with PEG GUI, MQX Software Solutions RTOS and processor expert software development tools to create this touch screen controlled, wireless motor control demonstration.   Features Hardware and software modular system that NXP provides for the Kinetis Microcontrollers K series One TWR-K70F120M board communicates with another TWR-K70F120M board wirelessly and then the second TWR-K70F120M board controls a motor Usage of LCD touch panel to control the speed of the motor   Featured NXP Products CodeWarrior Development Tools|NXP Processor Expert Software and Embedded Compon|NXP Kinetis K70 120 MHz Tower System Module|NXP MQX Industrial Re: Touch-screen, wireless motor control using Tower K70, with MQX, Processor Expert and PEG software - Demo The content is missing?  Also I need some direction, say an app note for example that shows how the KDS,SDK,MQX and PEG+ integrate PEG c++ MQX C SDK C How does this eco system integrate?... are there any examples Thanks
View full article
Example MPC5744P FlexPWM Init Capture test S32DS21 ******************************************************************************** * Detailed Description: * * This example shows usage of FlexPWM module. * The Submodule0 is set to generate independent PWMA and PWMB signals * The PWMX is used as input for the Capture feature. * Capture logic is set to capture one rising and one falling edge in one shot mode. * Thus you can check the edge placing and calculate a generated duty cycle. * * ------------------------------------------------------------------------------ * Test HW: DEVKIT-MPC5744P rev.D * Maskset: 1N16P * Target : FLASH * Fsys: 200 MHz PLL1 * Debugger: Lauterbach * * * EVB connection: * * J1.3 - D[9] .. FlexPWM X[0] input * J1.5 - A[11] .. FlexPWM A[0] output * J1.7 - A[10] .. FlexPWM B[0] output * * * to measure generated pulse connect X[0] input with either A[0] or B[0] outputs. * ********************************************************************************
View full article
Tire Pressure Monitoring System (TPMS) - FXTH87   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   Automotive Re: Tire Pressure Monitoring System (TPMS) - FXTH87 How I can get Development kit or Reference design information of FXTH87 based TPMS? Thank you! Re: Tire Pressure Monitoring System (TPMS) - FXTH87 I can not find the demo ,how Can I get it?
View full article
KL46 example code The following file contains codewarrior code that was migrated from the IAR example code in the sample code package at the freescale webpage. It contains the following examples: adc_demo freedom_greem_led freedom_red_led lcd_rtc_lowpower PIT_basic sLCD_freedom uart_low_power_wu_dut Regards The following file contains codewarrior code that was migrated from the IAR example code in the sample code package at the freescale webpage. It contains the following examples: adc_demo freedom_greem_led freedom_red_led lcd_rtc_lowpower PIT_basic sLCD_freedom uart_low_power_wu_dut Regards Kinetis L Series MCUs
View full article
Why add Deglither in Pre-Exc 2 of AR6000? In pre excitation mode 2, you can have any duty cycle between pre exc value and 100% depending on battery and Vset voltage. On some alternators, with high duty cycles, the switching of excitation causes so much noise through the phase that this noise can be interpreted as valid phase signal. Thus, the device can go to regulation. To avoid that, we added the ability to deglitch the phase input only in pre excitation mode 2 to be sure that the signal we have are real phase signals. Depending on the duration of the noise our customer can see during pre excitation mode2, they can set the value of deglitcher. If they don't use pre excitation mode2, this value is "don't care".   Alternator Regulator
View full article
Using tcpdump tool to capture packets From 88W8987 WIFI On Linux Platform This article describes how to use the tcpdump tool to capture wireless network data packets. The test block diagram is as follows: For more detailed information, See attachment,please! NXP CAS-TIC Wireless MCU team Weidong Sun OS LINUX Product: WiFi 88W8987 Protocol: Wi-Fi
View full article
Create a TCP application using the SIM800 module and a FRDM Kinetis® K64 MCU board based on FreeRTOS About this demo This demo was created to give you a headstart for a UART - based GPRS module. The goal was to build the project on top of FreeRTOS ensuring a good implementation for task management and adaptability for any other project based on AT commands using a UART module.  According to the documentation of the module, the SIM800L from SIMCOM is controlled via AT commands. The advantage of using these commands is that, by tweaking some of the tasks, the application can be used for any other AT command based module. In this demo I'm going to walk you through the key elements that were used and give you a functional project that has the addition of working on a FreeRTOS environment. This offers great reliability for a fully working application that won't hang for an untested reason. Exploring this project should give you a good idea of how semaphores are implemented for various tasks management depending on each priority. Project Scope The project is intended to work with a SIM800L connected to a Freedom Development Platform for Kinetis® K64 through UART. Due to the high current consumption during some functions, the SIM800 module requieres a >1200mAh battery or a >2A buck converter. This GPRS module is a low-cost item but requires a 2G SIM card to work properly. This might be complicated to obtain in some countries. The project was built using the MCUXpresso SDK's FreeRTOS UART example. Useful Links Link Description https://mcuxpresso.nxp.com/en/builder SDK Builder for the Kinetis K64 https://www.simcom.com/product/SIM800.html SIMCOM SIM800 site documentation https://www.freertos.org/xSemaphoreCreateBinary.html FreeRTOS Required Items Link Description https://www.nxp.com/design/development-boards/freedom-development-boards/mcu-boards/freedom-development-platform-for-kinetis-k64-k63-and-k24-mcus:FRDM-K64F NXP's FRDMK64 Board https://simcom.ee/modules/gsm-gprs/sim800/ SIMCOM SIM800 GPRS Module Buck converter   Power supply to deliver up to 4.3 V and 2 Amps   Cellular antenna   Hardware Diagram Due to the SIM800 module's high current consumption, powering it requires a buck converter that is capable of delivering a current larger than 2 Amps while the module is sending a message. This is when the module consumes the highest current.    SIM 800L  ===>    FRDM K64         VCC    ===>    3V9 Buck Converter           RX     ===>    TX (PTC17/J1-4)           TX     ===>    RX (PTC16/J1-2)        GND    ===>    GND Step-by-Step Guide for testing the Demo Get the K64 SDK from https://mcuxpresso.nxp.com/en/select Get the latest version of MCUXpresso using this link: https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-integrated-development-environment-ide:MCUXpresso-IDE Get the SIM800 AT commands documentation in this link: https://www.elecrow.com/wiki/images/2/20/SIM800_Series_AT_Command_Manual_V1.09.pdf Install the K64 SDK in MCUXpresso. Import the attached project in this document.  Attachments are found at the bottom of this document. Connect the K64 through the USB cable. Connect the SIM800L as indicated in the previous chapter: Diagram. Build and Debug the project using MCUXpresso. In the console, you should be able to see the flow of the Tasks that are being executed. Also, the commands that are being sent and received by the UART. Due to the TaskDelay from the send_task, the application will execute every 10,000 ticks. This depends entirely on the portTick_PERIOD_MS, in this case, which in this case is roughly every 25 seconds. Additional Demo Information These next steps are intended to guide the developer to an easier understanding of the modifications that were made from the base project. This additional information intends to give you a greater understanding of how the project was built and a further explanation of the different topics this application needs for its implementation. The usage of FreeRTOS wasn't mandatory, but the usage of an operative system gives the application an additional layer of reliability for safe deployment. In addition to the actual tasks, you could implement a new task for an OTA update for new drivers, a fully functional response parser, or any other addition depending on your project needs. The usage of a task-based project ensures flexibility of the project since many modifications will not require a complete rebuilding of the application. As mentioned before, the implementation of semaphores will provide reliable task management depending on the required function. The project started from the freertos_uart example and from there three additional tasks were built: a connect task, send task, and a check task. Here is a brief explanation of each task to provide a full understanding of the functionality.  uart_task() This task was only slightly modified. The UART was changed to the UART3 interface. The UART_RTOS_Send() and UART_RTOS_Receive() functions are in the loop because the semaphore implementation is doing the release of retainment of the different tasks based on their priority. Priority is very important for this project because based on its priority the application flow would be affected. uart_task() has the highest priority. This will ensure that every time a new command is required to be sent, the application will retain the actual task and release the uart task. At the end of this task, a new semaphore is called. This semaphore will call the check_task() whose functionality is to compare the received string to the expected one. check_task() This task is executed right after the buffer has received the number of bytes that were expected from the function parameters. The first step of this task is to eliminate the extra characters ´\n´ and ´\r´ that compose the SIM800 module answer message. Depending on the command sent, the task compares the response in order to look for an Error response or a positive one. This might be different than a simple OK, depending on the command. connect_task() This task is called when the SIM800 module is disconnected. This implementation is a simple string copy that use semaphores to call the task uart and then the check task compares the received string. After the module returns an IP address, the semaphore gives the order to call the send task to continue the application flow. send_task() This task has the least priority but is the first one created, it calls the sendRoutine() function which intends to gather the data to be sent. This connect task is triggered when a command that expects an IP address, returns an ERROR response. The command sent is AT+CIFSR plus the response comparison. The application flow enters to an if conditional that calls a semaphore for the connect_task() routine. Then, the frame to be sent through the TCP function of the SIM800 module is built. Due to the protocol chosen, the SIM800 module expects a response from the server, specifically a 200 HTTP code. Depending on your module, this is where the protocol modifications can be done. A point that is worth mentioning is that the module works in a 2G bandwidth. This can be a problem in some countries due to the SIM card version incompatibility between your area network and the module. If this is the case in your country, I strongly recommend looking for a 4G module like the SIM7080 or any other NB-IoT module. This might be more expensive but you are ensuring your project will work on top of the newest cellular bands.  
View full article
Reading Kinetis K64 Internal Flash Causes HardFault Symptoms As we know: Flash must be programmed after an erase operation. Violation of this rule will cause programming fail and even hardfault(when AHB reading) on Kinetis K64 parts. Customer accidently uses SDK’s API programming same sector twice(over-programming) without an erase operation. Then when perform AHB reading of this sector(include using JFLash to read this sector), an Hardfault occurs. Diagnosis K64 flash has internal ECC on each sector. When over-programming happens, ECC will be crushed and trigger Hardfault when AHB reading of this sector. Solution Using SDK API FLASH_VerifyErase to check if this sector is erased. Call FLASH_VerifyErase every time before you want to program the flash. This problem will impact all Kinetis device which has FTFE flash module. Thanks for Alex Yang provide the material.
View full article
Measure the running time of one function on PowerPC Hi,      Some of PowerPC cores contain time base which could be the ruler to measure the running time of codes.     Generally, e200z4, e200z7 have such registers, RBL and TBU. They are SPR284 and SPR285.      Sample codes could be taken the reference within AN2865SW(Timebase project) .  Enjoy the measuring! Cheers! Oliver BTW, measure the running time of one function on S32K could also be gotten through the link. 
View full article
RDWIRELESSBATTERY: Wireless Charger for Industrial Battery Packs Overview Features Overview NXP ® 's wireless charging reference design uses inductive charging technology to charge high-capacity, multi-cell Li-Ion battery packs. The reference design is capable of charging four battery packs simultaneously, using a single NXP digital signal controller. The reference design consists of two main components: a transmitter that sends the requested power level to the battery packs, and a receiver embedded in the battery packs. The receiver provides a controlled charge to the battery by implementing a charging algorithm. Each transmitter channel adjusts its energy transfer independently by responding to commands from the receiver embedded in the battery pack. The intelligent charging method is software-controlled and has the ability to dynamically adjust the power transfer. Archived content is no longer updated and is made available for historical reference only.   Features 80% transfer efficiency Four charging stations to charge four battery packs simultaneously Supports Qi communications protocol Overtemp, overcurrent and overvoltage protection Legacy Designs
View full article
设置i.MX8M Mini和纳米MIPI-DPHY时钟 [中文翻译版] 见附件   原文链接: https://community.nxp.com/docs/DOC-345307  i.MX 8 Family | i.MX 8QuadMax (8QM) | 8QuadPlus
View full article
[Solution] IAR version 8.32 can not debug revision '1B' of LPC55S69 silicon When you are the first time to debug LPC55S69, please read below document and double check your IDE, SDK and EVK version is correct. Usually, we prefer use the latest IDE, SDK and EVK boards. Important updates when using LPCXpresso55S69 Revision A2 boards and 1B silicon  [Problem Description] When you use IAR 8.32 to debug LPC55S69 '1B' silicon, the IDE will remind you "The debugging session could not be started", like below picture show: The reason of this failure is that IAR 8.32's LPC55S69 chip configuration files only support revision '0A' silicon, not '1B'. We strongly recommend customer download and use IAR 8.40.2 or latest version. The IAR IDE start support LPC55S68 '1B' silicon from 8.40.2. [Solution] If you have some reasons that must use IAR 8.32, you can download attached zip file. This zip file like a patch, include the IAR LPC55S69 '1B' support files. Un-zip this file and merge the same files under IAR installed path :IAR\arm\config\flashloader\NXP Then the IAR can support '1B' silicons. [How to identify LPC55(S)6x chip silicon versions] On the top-side marking code, there is '1B'  charactors at the end of mark strings. See below two pictures, the left one is '1B' version chips.                      LPC55(S)6x ver '1B'                                                               LPC55(S)6x ver '0A'                    LPC55xx
View full article
NXPテックセッション - S32Gビークルネットワークプロセッサについて知る <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ウェビナーの録画を見る <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ウェビナーの録画を見る
View full article
Powertrain & Electrification: Wireless BMS Introduction of innovative BMS system concepts based on wireless communication. Overview of system configuration and communication strategy. Validation results from lab work with OEM partner. Introduction of innovative BMS system concepts based on wireless communication. Overview of system configuration and communication strategy. Validation results from lab work with OEM partner. Power Management
View full article