Multi Source Translation Content

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi Source Translation Content

讨论

排序依据:
New SDK Generator Docs New SDK generator docs have been released. You can get it from: 1. SDK generator repo: https://bitbucket.sw.nxp.com/projects/MCUCORE/repos/mcu-sdk-generator/browse/doc  2. Gitbook: http://10.193.108.154:4000/ Here is a snapshot Getting Started With SDK Generator.md Getting Starts. It illustrates why we need sdk generator, how to install and use it. Basic concepts and working scenarios are introduced. Yaml Data Record Guide.md Illustrate yaml data record rule, syntax, concepts. It covers every aspect of the SDK data. Yaml Data Record For Project Settings.md Illustrate yaml data record syntax for project settings. Yaml Data Record Component Naming Conventions.md Illustrate SDK component naming conversation. Yaml Example Reference.md The reference index for yml/batch set demos. Release Actions Of SDK Generator.md Illustrate the release actions of SDK. SDK Docs Generation Flow.md Illustrate how to integrate SDK docs generation into sdk generator. How To Configure Release_config File.md Illustrate how to config release config yml. Frequently Asked Questions.md Frequently asked questions, still on-going, we will add more.  
查看全文
Body & Comfort: Exploring the Automotive General-Purpose MCU Portfolio Overview of S32K, MagniV and other GPIS products. Overview of S32K, MagniV and other GPIS products.
查看全文
An NXP DroneCode Platform for Developing Low-Cost Small Autonomous Vehicles and Leveraging High-Reliability Automotive Components NXP has prepared a DroneCode.org compatible Vehicle management unit (VMU) running PX4Pro. The NXPhlite VMU is compatible with the full stack from Dronecode, including internal and external comms, planning and groundstation control. This can be used as the basis to coordinate with a higher level companion system running  LINUX and ROS, or as a standalone vehicle such as a semi-autonomous Drone, Rover, boat or even a lawnmower. NXPhlite features multiple interfaces and includes 100BaseT1 2-wire Ethernet and dual CAN interfaces. NXP has prepared a DroneCode.org compatible Vehicle management unit (VMU) running PX4Pro. The NXPhlite VMU is compatible with the full stack from Dronecode, including internal and external comms, planning and groundstation control. This can be used as the basis to coordinate with a higher level companion system running  LINUX and ROS, or as a standalone vehicle such as a semi-autonomous Drone, Rover, boat or even a lawnmower. NXPhlite features multiple interfaces and includes 100BaseT1 2-wire Ethernet and dual CAN interfaces.
查看全文
Hands-On Workshop: Advanced Debugging with MCUXpresso IDE This hands-on session will dive deep into the advanced debugging capabilities of the MCUXpresso IDE, including trace, profiling, coverage, watch points and more. This hands-on session will dive deep into the advanced debugging capabilities of the MCUXpresso IDE, including trace, profiling, coverage, watch points and more.
查看全文
OpenILベアメタルフレームワークに基づくコア間通信アプリケーション開発 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> このドキュメントでは、NXP Layerscapeプラットフォームを使用したOpenIL Baremetalフレームワークアーキテクチャの紹介、サンプルベアメタルプロジェクトの実行方法、およびOpenIL Baremetalフレームワークに基づくコア間通信アプリケーション開発について説明します。インターコア通信(ICC)アプリケーションは、Linuxコア(マスター)とベアメタルコア(スレーブ)で動作し、SGIインターコール割り込みおよび共有メモリブロックを介してコア間のデータ転送を提供します。 QorIQ Layerscapeプラットフォーム用のベアメタルフレームワークアーキテクチャ。 ベアメタルバイナリの実行 ベアメタルフレームワークに基づくICCアプリケーション開発 ICCデモアプリケーションの実行
查看全文
Component Selection—The Make-or-Break Milestone Towards Autonomous Vehicles 2018 You innovate to make the vehicle autonomous & the most complex node in the Internet of Things. Increasingly functionality from consumer components is needed in your solutions. NXP, the leader in Automotive and high-end compute in Networking, highlights 66 critical differences that may generically exist between automotive and consumer components. Identified by a ZVEI industry workgroup (German Association of Electronics Industry) they impact reliability, quality and lifetime of vehicles. Examples demonstrate how NXP’s capabilities across all product segments and performance ranges reduce your hidden risks providing an excellent starting point towards your autonomous vehicle. You innovate to make the vehicle autonomous & the most complex node in the Internet of Things. Increasingly functionality from consumer components is needed in your solutions. NXP, the leader in Automotive and high-end compute in Networking, highlights 66 critical differences that may generically exist between automotive and consumer components. Identified by a ZVEI industry workgroup (German Association of Electronics Industry) they impact reliability, quality and lifetime of vehicles. Examples demonstrate how NXP’s capabilities across all product segments and performance ranges reduce your hidden risks providing an excellent starting point towards your autonomous vehicle.
查看全文
Secure Networks & Gateways: OTA Updates - フルシステムソリューションの要件 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> OTAアップデートの重要性と、FOTAのトータルシステムソリューションの要件を示します。 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> OTAアップデートの重要性と、FOTAのトータルシステムソリューションの要件を示します。
查看全文
Amazon Alexa Voice Services Amazon Alexa has changed voice control forever. Come learn about our i.MX based solutions for Amazon Alexa. Learn about our reference platforms, Solutions with AVS certified system Integraots what are the key factors to consider when designing a voice control solution and see how easily you can add Alexa into your next-generation devices. Amazon Alexa has changed voice control forever. Come learn about our i.MX based solutions for Amazon Alexa. Learn about our reference platforms, Solutions with AVS certified system Integraots what are the key factors to consider when designing a voice control solution and see how easily you can add Alexa into your next-generation devices.
查看全文
Get Started with LPC54018 Based IoT Module to Develop a Cloud-Connected End Node Using our product demonstration and reference design, this class will teach you how to build your own cloud connected end node with our latest power-efficient LPC54018 flashless MCU. We will use Amazon Web Services (AWS). Using our product demonstration and reference design, this class will teach you how to build your own cloud connected end node with our latest power-efficient LPC54018 flashless MCU. We will use Amazon Web Services (AWS).
查看全文
QN9080 USB Dongle QTool is a PC software tool that works with QN9080 USB dongle to assist in the development of BLE projects with the QN9080. You control the dongle via the QTool software, which issues and receives FSCI (Framework Serial Communication Interface) formatted commands over a virtual COM port. The dongle can then act either as a master or a slave to a QN9080DK board over BLE.  Before using the BLE dongle with QTool though, the firmware on the QN9080 Dongle must be updated. The updated firmware can be found inside the QTool installation directory, and you will need to put the dongle into bootloader mode to drag-and-drop new firmware on it. Updating the Firmware on the QN9080 Dongle. 1. Install QTool: https://www.nxp.com/webapp/sps/download/license.jsp?colCode=Connectivity-QTool-Setup   2. Plug the QN9080 Dongle into a USB port on your computer 3. Using a wire, connect TP5 to ground. You can use either TP4 or the USB shield for GND. 4. While that wire is connected, press the reset button on the dongle. This will now put the dongle into bootloader mode. 5. A drive will enumerate on your computer named “CRP_DISABLD”     6. You can now remove the wire 7. Delete the firmware.bin file found in that drive 8. Drag-and-drop the firmware.bin file found in C:\NXP\Connectivity QTool\bin files into that enumerated drive. 9. Once done copying, unplug and replug in the USB Dongle, and the new firmware will now be running.  Installing the QN9080 Dongle Driver The dongle will enumerate as a USB CDC COM device. If the CDC driver is not automatically detected, you will need to manually install the driver. 1. Right-click Computer and choose Properties, the System Management window appears. 2. Click Device Manager and navigate to MCU VIRTUAL COM DEMO      3. Right-click the device MCU VIRTUAL COM DEMO and choose Update Driver Software 4. Click the  Browse my computer for driver software option in the window. 5. Click Browse button to go to the folder  C:\NXP\Connectivity QTool\drivers 6. Click the Next button at the bottom to install the driver.  7. After the driver is installed you will see the Virtual Com Port device under the Ports category    Using QTool: Now that the QN9080 dongle has the updated firmware and has the correct driver installed, you can follow the instructions in the QTool documentation found at C:\NXP\Connectivity QTool\UM11085.pdf Related documentation: QN908x Quick Start Guide QN908x DK User's Guide BLE Software
查看全文
i.MX8M DDR3L寄存器编程辅助 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> i.MX8M_DDR3L_register_programming_aid 是为 DDR3L 验证板创建的。
查看全文
LS2088ARDB - How to deploy TF-A binaries in NOR flash Trusted Firmware for Cortex-A (TF-A) is an implementation of EL3 secure firmware. TF-A replaces PPA in secure firmware role. Please note the steps listed in this topic can only be performed with LSDK 18.12 and newer releases.                                                       To migrate to the TF-A boot flow from the previous boot flow (with PPA), you need to compile the TF-A binaries, bl2_ . pbl and fip.bin, and flash these binaries on the specific boot medium on the board. For NOR boot, you need to compile the following TF-A binaries. TF-A binary name Components bl2_nor.pbl BL2 binary: Platform initialization binary RCW binary for NOR boot  fip.bin BL31: Secure runtime firmware BL32: Trusted OS, for example, OPTEE (optional) BL33: U-Boot/UEFI image   Follow these steps to compile and deploy TF-A  binaries (bl2_nor.pbl and fip.bin) on the NOR flash. Compile RCW binary Compile U-Boot binary [Optional] Compile OPTEE binary  Compile TF-A binaries (bl2_nor.pbl and fip.bin) for NOR boot Program TF-A binaries to the NOR flash Step 1: Compile RCW binary  You need to compile the rcw_1800.bin binary to build the bl2_nor.pbl binary. Clone the  rcw repository and compile the PBL binary.  $ git clone https://source.codeaurora.org/external/qoriq/qoriq-components/rcw $ cd rcw $ git checkout -b   . For example, $ git checkout -b LSDK-19.09 LSDK-19.09  $ cd ls2088ardb If required, make changes to the rcw files. $ make The compiled PBL binary for NOR boot on LS2088ARDB, rcw_1800.bin, is available at rcw/ls2088ardb/FFFFFFFF_PP_HH_0x2a_0x41 See the rcw/ls2088ardb/README file for an explanation of the naming convention for the directories that contain the RCW source and binary files. Step 2: Compile U-Boot binary You need to compile the u-boot.bin binary to build the fip.bin binary. Clone the u-boot repository and compile the U-Boot binary for TF-A. $ git clone https://source.codeaurora.org/external/qoriq/qoriq-components/u-boot.git $ cd u-boot $ git checkout -b   LSDK- . For example, $ git checkout -b LSDK-19.09 LSDK-19.09 $ export ARCH=arm64 $ export CROSS_COMPILE=aarch64-linux-gnu- $ make distclean $ make ls2088ardb_tfa_defconfig $ make If the make command shows the error "*** Your GCC is older than 6.0 and is not supported", ensure that you are using Ubuntu 18.04 64-bit version for building the LSDK 18.12 and onwards U-Boot binary.                                                              The compiled U-Boot binary, u-boot.bin, is available at u-boot/.   Step 3: [Optional] Compile OPTEE binary  You need to compile the tee.bin binary to build fip.bin with OPTEE. However, OPTEE is optional, you can skip the procedure to compile OPTEE if you want to build the FIP binary without OPTEE.   Clone the optee_os repository and build the OPTEE binary.  $ git clone https://source.codeaurora.org/external/qoriq/qoriq-components/optee_os $ cd optee_os $ git checkout -b   LSDK- . For example, $ git checkout -b LSDK-19.09 LSDK-19.09 $ export ARCH=arm $ export CROSS_COMPILE=aarch64-linux-gnu- $ make CFG_ARM64_core=y PLATFORM=ls-ls2088ardb $ aarch64-linux-gnu-objcopy -v -O binary out/arm-plat-ls/core/tee.elf out/arm-plat-ls/core/tee.bin The compiled OPTEE image, tee.bin, is available at optee_os/out/arm-plat-ls/core/. Step 4: Compile TF-A binaries for NOR boot Clone the atf repository and compile the TF-A binaries, bl2_nor.pbl and fip.bin. $ git clone https://source.codeaurora.org/external/qoriq/qoriq-components/atf $ cd atf $ git checkout -b   LSDK- . For example, $ git checkout -b LSDK-19.09 LSDK-19.09 $ export ARCH=arm64 $ export CROSS_COMPILE=aarch64-linux-gnu- Build BL2 binary with OPTEE. $ make PLAT=ls2088ardb bl2 SPD=opteed BOOT_MODE=nor BL32= / tee.bin pbl RCW= /rcw_1800.bin The compiled BL2 images, bl2.bin and bl2_nor.pbl are available at atf/build/ls2088ardb/release/. For any update in the BL2 source code or RCW binary, the bl2_nor.pbl binary needs to be recompiled. To compile the BL2 binary without OPTEE: $ make PLAT=ls2088ardb bl2 BOOT_MODE=nor pbl RCW= / rcw_1800.bin                     Build FIP binary with OPTEE and without trusted board boot. $ make PLAT=ls2088ardb fip BL33= /u-boot.bin SPD=opteed BL32= /tee.bin The compiled BL31 and FIP binaries, bl31.bin, fip.bin, are available at atf/build/ls2088ardb/release/. For any update in the BL31, BL32, or BL33 binaries, the fip.bin binary needs to be recompiled. To compile the FIP binary without OPTEE and without trusted board boot: $ make PLAT=ls2088ardb fip BOOT_MODE=nor BL33= / u-boot.bin To compile the FIP binary with trusted board boot, refer the read me at /plat/nxp/README.TRUSTED_BOOT                                                                     Step 5: Program TF-A binaries to NOR flash Boot LS2088ARDB from NOR flash. Ensure that the switches and jumpers are set to boot the board from NOR bank 0.  SW5[1:8] = 1111 1111 SW3[1:8] = 0001 0010 SW4[1:8] = 1111 1111 SW6[1:8] = 1111 1111 SW7[1:8] = 0100 0010 SW9[1:8] = 0100 0000 SW8[1:8] = 0111 1111 In addition to the above switch settings, make sure the following jumper settings are correct (for RDB Rev E and later) J14 = 1-2, for NOR boot Boot from NOR bank 0: => qixis_reset For LS2088ARDB, in boot log, you'll see: Board: LS2088AE Rev1.1-RDB, Board Arch: V1, Board version: F, boot from vBank: 0 TF-A binaries can be loaded to LS2088ARDB from a TFTP server or from a mass storage device (SD, USB, or SATA).   Option 1: Load image from the TFTP server Set up Ethernet connection When board boots up, U-Boot prints a list of enabled Ethernet interfaces. DPMAC1@xgmii, DPMAC2@xgmii, DPMAC3@xgmii, DPMAC4@xgmii, DPMAC5@xgmii, DPMAC6@xgmii, DPMAC7@xgmii, DPMAC8@xgmii Set server IP address to the IP address of the host machine on which you have configured the TFTP server.  => setenv serverip Set ethact and ethprime as the Ethernet interface connected to the TFTP server. See LS2088ARDB Ethernet port mapping for the mapping of Ethernet port names appearing on the chassis front panel with the port names in U-Boot and Linux.                                                              => setenv ethprime For example: => setenv ethprime DPMAC1@xgmii => setenv ethact For example: => setenv ethact DPMAC1@xgmii Set IP address of the board. You can set a static IP address or, if the board can connect to a dhcp server, you can use the dhcp command.  Static IP address assignment: => setenv ipaddr => setenv netmask Dynamic IP address assignment: => dhcp Save the settings. => saveenv Check the connection between the board and the TFTP server. => ping $serverip Using DPMAC1@xgmii device host 192.168.1.1 is alive Load TF-A binaries from the TFTP server For details about the flash image layout for TF-A binaries, refer LSDK memory layout for TF-A boot flow.                   Flash bl2_nor.pbl to NOR bank 4 (after booting from NOR bank 0). => tftp 82000000 bl2_nor.pbl => erase 0x584000000 +$filesize;cp.b 82000000 0x584000000 $filesize Flash fip.bin to NOR bank 4 (after booting from NOR bank 0). => tftp 82000000 fip.bin => erase 0x584100000 +$filesize;cp.b 82000000 0x584100000 $filesize Boot from NOR bank 4: => qixis_reset altbank LS2088ARDB will boot with TF-A. In the boot log, you will see: NOTICE: UDIMM 18ASF1G72AZ-2G3B1 NOTICE: 16 GB DDR4, 64-bit, CL=13, ECC on, 256B, CS0+CS1 NOTICE: UDIMM 18ASF1G72AZ-2G3B1 NOTICE: 4 GB DDR4, 32-bit, CL=11, ECC on, CS0+CS1 NOTICE: BL2: v1.5(release):LSDK-19.09 NOTICE: BL2: Built : 16:04:08, Nov 4 2019 NOTICE: BL31: v1.5(release):LSDK-19.09 NOTICE: BL31: Built : 16:40:39, Nov 4 2019 NOTICE: Welcome to LS2088 BL31 Phase U-Boot 2019.04 (Nov 04 2019 - 15:57:49 +0530) SoC: LS2088AE Rev1.1 (0x87090011) Clock Configuration: CPU0(A72):1800 MHz CPU1(A72):1800 MHz CPU2(A72):1800 MHz CPU3(A72):1800 MHz CPU4(A72):1800 MHz CPU5(A72):1800 MHz CPU6(A72):1800 MHz CPU7(A72):1800 MHz Bus: 700 MHz DDR: 1866.667 MT/s DP-DDR: 1600 MT/s Reset Configuration Word (RCW): 00000000: 483038b8 48480048 00000000 00000000 00000010: 00000000 00000000 00a00000 00000000 00000020: 01e01180 00002581 00000000 00000000 00000030: 00400c0b 00000000 00000000 00000000 00000040: 00000000 00000000 00000000 00000000 00000050: 00000000 00000000 00000000 00000000 00000060: 00000000 00000000 00027000 00000000 00000070: 412a0000 00040000 Model: Freescale Layerscape 2080a RDB Board Board: LS2088AE Rev1.1-RDB, Board Arch: V1, Board version: F, boot from vBank: 4 ....... Option 2: Load image from partition on mass storage device (SD, USB, or SATA) Select mass storage device to use. => mmc rescan => mmc info Or => usb start => usb info Or => scsi scan => scsi info Optional – List files on storage device => ls mmc For example: => ls mmc 0:2 Or => ls usb For example: => ls usb 0:1 Or => ls scsi For example: => ls scsi 0:2 If the ls command fails to run, check that U-Boot in NOR bank 0 supports the command by typing ls at the U-Boot prompt: => ls ls - Lists files in a directory (default) Usage: ls [ [directory]] - Lists files in directory [directory] of partition [part] on device type [interface] and instance [dev]. If U-Boot does not support this command, then update the composite firmware image in NOR bank 0. For steps to update composite firmware image in NOR bank, see Layerscape Software Development Kit User Guide .            Use the following command if the SD card is formatted/created using LSDK flex-installer command: => load [ [ [ [bytes [pos]]]]] For example: => load mmc 0:2 $load_addr bl2_nor.pbl Use the following command if the SD card is formatted/created on a Windows PC: => fatload [ [ [ [bytes [pos]]]]] For example: => fatload mmc 0:2 $load_addr bl2_nor.pbl Use the following command if the SD card is formatted/created on a Linux PC: => ext2load [ [ [ [bytes [pos]]]]] For example: =>ext2load mmc 0:2 $load_addr bl2_nor.pbl Also note that LSDK flex-installer command puts the images on the IInd partition, so 0:2 is used in the load command. If the SD card is formatted on Windows PC or Linux PC for single partition only, then 0 should be used instead of 0:2 in the fatload/ext2load command.    Load bl2_nor.pbl image from the storage device => load mmc 0:2 0xa0000000  => print filesize For example: => load mmc 0:2 0xa0000000 bl2_nor.pbl => print filesize filesize=14379 Or => load usb 0:2 0xa0000000  => print filesize Or => load scsi 0:2 0xa0000000  => print filesize Program bl2_nor.pbl to NOR bank 4 (after booting from NOR bank 0): => erase 0x584000000 +$filesize;cp.b 0xa0000000 0x584000000 $filesize Load fip.bin image from the storage device => load mmc 0:2 0xa0000000  => print filesize For example: => load mmc 0:2 0xa0000000 fip.bin => print filesize filesize=131510 Or => load usb 0:2 0xa0000000 => print filesize Or => load scsi 0:2 0xa0000000  => print filesize Program fip.bin to NOR bank 4 (after booting from NOR bank 0): => erase 0x584100000 +$filesize;cp.b 0xa0000000 0x584100000 $filesize Boot from NOR bank 4: => qixis_reset altbank LS2088ARDB will boot with TF-A. QorIQ LS1 Devices
查看全文
Customize emWin applications on i.MX RT INTRODUCTION REQUIREMENTS UTILITY USAGE INTEGRATION FUNCTIONAL DEMONSTRATION     1. INTRODUCTION   This document explains how to create an emWin application using as reference the emwin_temperature_control demo included on MCUXpresso SDK, and the emWin Utilities. The custom application for this example, is a Tic-Tac-Toe game, using the emWin GUI as user input, adding the proper logic for game implementation on the emWin generated code, and running on a MIMXRT1060-EVK board. 2. REQUIREMENTS   For the demonstration of this demo, the following material is required: MIMXRT1060-EVK board with the RK043FN02H-CT 4.3" LCD Panel. MCUXpresso IDE v11.0. MCUXpresso SDK v2.6.2 for EVK-MIMXRT1060, including the emWin middleware. Segger emWin 5.38b Libraries and Utilities. emWin 5.30 documentation. 3. UTILITY USAGE   For this demo, just GUIBuilder utility is used, and from this utility, just four widget elements are implemented on the application: Window, Text, Button and Image. At the beginning, one Window is added, configuring its xSize and ySize to 480 x 272, matching with screen's resolution. Over this Window, all the other elements are placed. Each Widget have proprieties that could be added/modified with the right click menu. The overall number of used widgets elements are the following: Three Text widgets, one for the title, other to indicate the next turn, and a third that is empty, because it will be dynamically updated to indicate the winner of the game (or indicating a Draw). Two Image widgets, on where BPM files are loaded and converted to constant arrays, to have the Cross/Circle icons indicating the current turn of the game. Ten Button widgets, one to reinitialize the game, and the other nine to build the 3x3 array used for the game. The complete application layout is shown on the following figure: Then, click on "File->Save" menu, and a file named "WindowDLG.c" file should be created on the same folder on where GUIBuilder utility is located. The "WindowDLG.c" file of this demo, as well as the BMP files for the cross/circle icons could be found on the attachments of this document. Additionally, you could also click on "File->Open" to open the downloaded "WindowDLG.c" file and modify it by your own. 4. INTEGRATION   1) First of all, it is required to import the "emwin_temperature_control" demo included on MCUXpresso SDK for MIMXRT1060-EVK board: Import SDK example(s) -> evkmimxrt1060 -> emwin_examples -> emwin_temperature_control 2) Just after importing the demo, by convenience we have renamed the project and the "source->emwin_temperature_control.c" to "evkmimxrt1060_emwin_tictactoe" and "emwin_tictactoe.c" (right click -> rename). After applying these changes, the demo should be able to be compiled and downloaded without errors and running without issues: 3) Then, open the "WindowDLG.c" file generated by the GUIBuilder and locate the "Defines" section. Copy all of them and replace the Definitions for Widgets IDs already included on the "emwin_tictactoe.c" file. 4) Also remove the "Some dimension defines" and "Colors" sections of the "emwin_tictactoe.c" file, and also the content of "Structures", "Static data". From the same file, also remove the sections for "_aGradient", "_GetSelectedRoom", "_SetFanButtonState", "_cbButton", "_cbButtonFan", "_cbKnob", "_DrawKnob", "_OnRelease". 5) Add the "_acImage_0" and "_acImage_1" arrays from the "WindowDLG.c" file to the "Static data" section of "emwin_tictactoe.c" file. 6) Replace all the elements from the "_aDialogCreate" array from the "emwin_tictactoe.c" with the ones from the "WindowDLG.c" file. 7) Add the function "_GetImageById" and replace the function "_cbDialog" from the "WindowDLG.c" file to the "emwin_tictactoe.c" file. 😎 Until here, the application should be compiled and downloaded without issues, although there is not included any functionality to perform the match. The downloaded layout is shown on the following image: 9) Now, for the implementation of the game itself, the following variables are added to the "Static data" section of "emwin_tictactoe.c" file. "player_turn" indicates who is the current player on move ("X" or "O"). "slots_free" is a counter to know how many remaining slots are free. "winner_player" stores who is the winner, or if the game is a Draw. "slot_status" array is in charge to store the current statusof each slot U8 i, player_turn=0, slots_free=9, winner_player=0; const U32 player_colors[] = {GUI_RED, GUI_BLUE}; enum {SLOT_FREE, SLOT_X, SLOT_O, SLOT_LOCK}; U8 slot_status[] = {SLOT_FREE, SLOT_FREE, SLOT_FREE,                               SLOT_FREE, SLOT_FREE, SLOT_FREE,                               SLOT_FREE, SLOT_FREE, SLOT_FREE}; 10) It was also implemented a function that checks all the possible Slot combinations to define the winner or if the match is a draw. It is the function "CheckWinner" and could be ckeched in the "emwin_tictactoe.c" file of the attachments, that already have all the required changes to have the Tic-Tac-Toe demo running. It is also required adding its function prototype to the "Prototypes" section of "emwin_tictactoe.c" file. 11) Basically, almost all of the game mechanics are defined by the "WM_NOTIFICATION_CLICKED" event of the 9x9 Buttons widgets, so, it is implemented inside the "_cbDialog" function. Below you could find the code for "ID_BUTTON_0"; the red highlights are what change for each Button event:     case ID_BUTTON_0: // Notifications sent by 'Button'       switch(NCode) {       case WM_NOTIFICATION_CLICKED:         // USER START (Optionally insert code for reacting on notification message)         if (slot_status[0] == SLOT_FREE){             hItem = WM_GetDialogItem(pMsg->hWin, ID_BUTTON_0);             BUTTON_SetTextColor(hItem, 0, player_colors[player_turn]);             if (!player_turn){                 BUTTON_SetText(hItem, "X");                 slot_status[0] = SLOT_X;             }             else{                 BUTTON_SetText(hItem, "O");                 slot_status[0] = SLOT_O;             }             player_turn ^= 1;             slots_free--;         }         // USER END         break; 12) For the Restart Button, the implemented logic is in charge of revert back all the Slots status to "Free", erase the content of all the Slots, and also restart the counter of free Slots to nine. 13) After polling all the GUI widgets events, the "CheckWinner" function is called, and then, the winner is defined, indicating it on the "Text_Winner" widget (on the upper-left corner of the screen) that was originally empty. 14) It is also implemented a functionality to directly draw a green rectangle (using emWin Draw functions) around the Cross/Circle icons, depending who is the player on move (also implemented inside the "_cbDialog" function, at the end).   //Draw green rectangle to indicate the player on move   if (!player_turn)   {     GUI_SetColor(GUI_GREEN);     GUI_DrawRoundedFrame(6, 106, 83, 183, 0, 4);     GUI_SetColor(GUI_BLACK);     GUI_DrawRoundedFrame(6, 186, 83, 263, 0, 4);   }   else   {       GUI_SetColor(GUI_GREEN);       GUI_DrawRoundedFrame(6, 186, 83, 263, 0, 4);       GUI_SetColor(GUI_BLACK);       GUI_DrawRoundedFrame(6, 106, 83, 183, 0, 4);   } 15) Finally, a printf with a welcome message was added to "main" function, just before initializing the GUI.     PRINTF("Tic-Tac-Toe demo on i.MXRT1060.\r\n"); 5. FUNCTIONAL DEMONSTRATION   Below are shown captures of the application running, when Cross wins, when Circle wins, and when the match is a draw.  
查看全文
ISPグラフツールとビルドプロセス <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> インデックス | 前へ | 次に (マイビデオで視聴)
查看全文
NXP Tech Session - Hands-free, Low Latency, Secure Voice Control for Industrial Systems View Webinar Recording View Webinar Recording i.MXRT 106x
查看全文
以太网的普及 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 以太网正在成为 ADAS 和信息娱乐系统等高带宽应用的领先技术。在本次演讲中,我们将讨论汽车以太网在车辆中的主要用例,回顾 AVB 和 TSN 等趋势和即将出台的新标准,最后讨论恩智浦提供哪些解决方案来帮助客户获得这些解决方案。 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 以太网正在成为 ADAS 和信息娱乐系统等高带宽应用的领先技术。在本次演讲中,我们将讨论汽车以太网在车辆中的主要用例,回顾 AVB 和 TSN 等趋势和即将出台的新标准,最后讨论恩智浦提供哪些解决方案来帮助客户获得这些解决方案。
查看全文
NFCアンテナ設計 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> はじめに NFCアンテナの設計に関するすべての有用な情報を含む1つのページを作成しようとしています。私は更新を続け、何か役に立つものを見つけたらこのページに情報を追加します。 トレーニング まず、NFCアンテナの設計に関する6つのウェビナーがあります。NFCのアンテナ設計を開始する前に、良いトレーニングになります。 トレーニング&イベント |NXP (「アンテナ設計」を検索) アプリケーション・ノート AN11740:PN5180アンテナ設計ガイド AN11706 : PN7462AU アンテナ設計ガイド AN11019 : CLRC663、MFRC630、MFRC631、SLRC610アンテナ設計ガイド AN11755 : PN7150 アンテナ設計およびマッチングガイド AN11564 : PN7120 アンテナ設計およびマッチングガイド AN11741:DPCを使用してアンテナを設計する方法 AN11535:MiniVNAを用いたNFCおよびリーダライタICアンテナの測定とチューニング ツール NFCアンテナ設計ハブ
查看全文
MEasy HMI QT Demo on i.MX6UL/6ULL MYD-Y6ULX Development Board MEasy HMI QT Demo on MYIR's MYD-6ULX development boards. This demo applied to NXP i.MX6UL series development boards of MYIR currently. Welcome to visit our website www.myirtech.com.
查看全文
顔認識を活用して次世代の摩擦のないインターフェースを実現 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 今日の人々は、特に50 +機能設定を簡単に含むことができるいわゆるスマートデバイスに関しては、あまりにも多くのオプションに直面しています。ほとんどの人がいくつかの好みの設定しか使用していないため、このセッションでは、プロダクトマネージャー、UIデザイナー、エンジニアに、NXPのすぐに使えるFace Recベースのフリクションフリーインターフェースプロダクショングレードプラットフォームを活用して、家電製品、ホームコンフォートシステム、アラーム/セーフティ/セキュリティパネルなどのデバイスや多くの種類の産業機器に真にシームレスなインターフェースを迅速に追加する方法を紹介します。過去の使用法に基づいて自分が誰で、何を好むかを認識することで、今日のスマートマシンは、エンドユーザーのニーズに合わせてインターフェースを調整でき(アクセスの制御を含む)、顧客満足度を大幅に向上させることができます。Wi-Fiやクラウドへの接続は、インターフェースデザインを次のレベルに引き上げるために必要ありません。 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 今日の人々は、特に50 +機能設定を簡単に含むことができるいわゆるスマートデバイスに関しては、あまりにも多くのオプションに直面しています。ほとんどの人がいくつかの好みの設定しか使用していないため、このセッションでは、プロダクトマネージャー、UIデザイナー、エンジニアに、NXPのすぐに使えるFace Recベースのフリクションフリーインターフェースプロダクショングレードプラットフォームを活用して、家電製品、ホームコンフォートシステム、アラーム/セーフティ/セキュリティパネルなどのデバイスや多くの種類の産業機器に真にシームレスなインターフェースを迅速に追加する方法を紹介します。過去の使用法に基づいて自分が誰で、何を好むかを認識することで、今日のスマートマシンは、エンドユーザーのニーズに合わせてインターフェースを調整でき(アクセスの制御を含む)、顧客満足度を大幅に向上させることができます。Wi-Fiやクラウドへの接続は、インターフェースデザインを次のレベルに引き上げるために必要ありません。 i.MXアプリケーション・プロセッサ Power Architecture®プロセッサ
查看全文
reserve_m4_memory.docx <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> このドキュメントでは、M4 で使用可能なキャッシュ可能な RAM 領域を利用するために、Linux から M4 用に最初の 2MB のメモリを予約する方法の概要を説明します <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> このドキュメントでは、M4 で使用可能なキャッシュ可能な RAM 領域を利用するために、Linux から M4 用に最初の 2MB のメモリを予約する方法の概要を説明します
查看全文