Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
i.MX95 Reboot Loop After DDR Training Complete on Yocto Scarthgap B0 Hello NXP Community, We are working with an established board implementation based on the NXP i.MX95. The board design has been in use for approximately two years. We are using Yocto Scarthgap (LF6.6.52 release line) and are encountering an early-boot reset loop when moving our builds to newer silicon batches. We would like to verify the baseline support for the production-grade silicon.Please note that wrynose builds boot fine without any such issues. 1. Hardware & Software Environment SoC: NXP i.MX95 Build System: Yocto Project (Scarthgap release line, LF6.6.52 baseline) Silicon Comparison (Laser Markings): Working Hardware: Laser marking shows p1mx9596... (engineering sample / prototype batch). Boots and runs successfully on our Scarthgap build. Failing Hardware: Laser marking shows m1mx9596 dvzxnac... (mass-production batch). Yocto environment: Manifest: imx-6.6.52-2.2.2.xml Please note that both p1mx9596 and m1mx9596 can boot successfully with our Wrynose builds. 2. Observed Behavior When flashing an image built on Scarthgap onto the m1mx9596 hardware, execution proceeds normally through ROM and DDR OEI training, but resets immediately upon training completion(completes sucessfully): ** DDR OEI: sku_cfg:0x2 ** DDR OEI: (Build 114, Commit ca91ce79, Sep 16 2026 08:10:18) DDR OEI: SOC MIMX95(B0), Board mx95lp5 DDR OEI: IMEM + DMEM load in 3480 us DDR OEI: TRAINING complete in 2551111 us DDR OEI: done, err = 0x0 ** DDR OEI: sku_cfg:0x2 ** DDR OEI: (Build 114, Commit ca91ce79, Sep 16 2026 08:10:18) DDR OEI: SOC MIMX95(B0), Board mx95lp5 DDR OEI: IMEM + DMEM load in 3480 us DDR OEI: TRAINING complete in 2551473 us DDR OEI: done, err = 0x0 ** DDR OEI: sku_cfg:0x2 ** However, no U-Boot SPL logs are ever printed. The system resets immediately after DDR training. But the same image booted on the p1mx9596 laser marked soc it boots properly. 3. Our Core Questions Does the baseline Scarthgap (LF6.6.52) package natively support the m1mx95 line (m1mx9596 laser markings)? If not, guidance on the changes required would be very helpful. Thank you for any clarification or guidance! Linux Suspected Software Defect Re: i.MX95 Reboot Loop After DDR Training Complete on Yocto Scarthgap B0 Hi, Thank you for your interest in NXP Semiconductor products, You need to upgrade the BSP for the newer silicon version, you have to consider at least moving to Linux 6.12.34, which was the first release on B0 for packages 19x19 and 15x15 in both EVK and FRDM boards. Of course, my advice is to upgrade to latest BSP. Regards Re: i.MX95 Reboot Loop After DDR Training Complete on Yocto Scarthgap B0 Hi JosephAtNXP, Thanks for the information.We were able to boot scarthgap on lec-imx95 B0 after some investigation on the flash.bin and its components. For reference- While building flash.bin ,using the mx95b0-ahab-container.img from wrynose build instead of scarthgap's fixed the issue and can boot on the latest MIMX95 socs. thanks
View full article
PN7220 目前,我们发现支持的 PN7XX 芯片在某些 NFC XTS 测试用例中出现故障。请问谷歌是否计划从未来的 XTS 测试套件中移除相关的 B 型和 F 型卡模拟测试项?另外,NXP是否已向谷歌确认过这一具体方面? Re: PN7220 你好@Max4 对于 PN7220,您可以向 NXP 申请豁免声明,并将其提交给 Google 进行测试。 此致敬礼, 凯莉
View full article
Will resetting the S32K3 cause the fs26 to reset? Now, using S32K3 and FS26, during power-on, the initialization of FS26 and S32K3 is completed normally, and FS26 enters normal mode. If I use software to perform a soft reset at this time, after the soft reset is completed, is it necessary to initialize FS26 again during the initialization process? Requesting guidance, thank you. Re: S32K3复位,会让fs26复位吗? Okay, thank you very much! Re: S32K3复位,会让fs26复位吗? That's basically it. Re: S32K3复位,会让fs26复位吗? During the initialization process of S32K3, it will be pulled low by S32K3. It will be released after the initialization is completed. In other words, it will definitely be brought to the init state. Re: S32K3复位,会让fs26复位吗? If the RSTB of FS26 is forcibly pulled low by an external force, it will enter the INIT state; or if it is pulled low for more than 8 seconds, it will enter Deep FS mode. Re: S32K3复位,会让fs26复位吗? After entering normal mode, I will not modify the FS26 register. During the soft reset process, the RSTB of the S32K3 will change. This pin is also connected to the FS26, and the FS26 will perform related actions based on the change of this pin. Re: S32K3复位,会让fs26复位吗? Hi zuozuo If only the S32K is reset without changing the FS26 register value, and FS26 is still in normal state, then there is no need to initialize FS26.
View full article
About i.MX RT1060 USB Serial Downloader Mode Hi, I would like to use USB Serial Downloader Mode on an i.MX RT1062-based board. Is the USB_OTG1_ID pin always required for USB Serial Downloader Mode operation? If it is required, should the pin be held at a high level? I would like to confirm this because the ID pin is not listed in Table 1, "Boot Pins," in the document "Implement Second Bootloader on i.MX RT10xx Series". Best regards, Tomokazu i.MXRT 106x Re: About i.MX RT1060 USB Serial Downloader Mode Hi Pablo, Thank you for your reply. Could you please explain how the internal pull-up resistor on the USB_OTG1_ID pin is configured? When the device enters Serial Downloader Mode, is the internal pull-up on USB_OTG1_ID automatically enabled, or does it need to be configured by the user? Best regards, Tomokazu Re: About i.MX RT1060 USB Serial Downloader Mode Hi @Tomokazu, For USB Serial Downloader Mode, USB_OTG1 must operate in device mode. The USB_OTG1_ID pin is used for OTG role detection, so it should be at a high level for device-mode operation. If the internal pull-up on USB_OTG1_ID is enabled, an external pull-up is not required. Otherwise, please add an external pull-up resistor. You may find the following community post useful, as it describes a case where an i.MX RT1060 device was unable to connect through Serial Downloader mode. Solved: Re: iMXRT: No Connection with Serial Downloader - NXP Community Best Regards, Pablo Re: About i.MX RT1060 USB Serial Downloader Mode Hi @Tomokazu, USB Serial Downloader mode runs before the application code is executed, so the application cannot configure the pins during this phase. You can refer to Figure 9-18 Serial Downloader Boot Flow in the i.MX RT1060 Processor Reference Manual for details on the boot sequence. I would recommend following the reference schematic, which uses an external pull-up resistor on the USB_OTG1_ID pin. Best Regards, Pablo Re: About i.MX RT1060 USB Serial Downloader Mode Hello, Thank you for your reply. I understand that the internal pull-up of the ID pin cannot be enabled during boot. We will therefore use an external pull-up resistor. Best regards,
View full article
S32K3复位,会让fs26复位吗? 现在使用S32K3和fs26,在上电过程中,正常完成fs26和s32k3的初始化工作,fs26进入正常模式,假如我此时使用软件进行软复位,执行完软复位之后,在初始化过程中还需要初始化fs26吗? 请求指导,谢谢 Re: S32K3复位,会让fs26复位吗? 好的,非常感谢! Re: S32K3复位,会让fs26复位吗? 对的基本上这样了。 Re: S32K3复位,会让fs26复位吗? S32K3在重启初始化,开始过程中,会被s32k3拉低,之后初始化完成,才会被释放,也就是他肯定会被带到init状态? Re: S32K3复位,会让fs26复位吗? 假如FS26的RSTB被外部拉强制拉低,他会进入INIT的状态,或者外部拉低8s以上就进入了Deep FS模式 Re: S32K3复位,会让fs26复位吗? 进入normal之后,我不会修改fs26寄存器,在执行软复位过程中,s32k3的rstb会发生变化,此引脚也连接fs26,fs26会根据此引脚变化,进行相关的动作? Re: S32K3复位,会让fs26复位吗? Hi zuozuo 假如是只是复位S32K并没有更改FS26的寄存器值,而且FS26还在normal状态下,这个时候无需初始化FS26.
View full article
i.MX95 DDRトレーニング終了後のリブートループ Yocto・スカースギャップB0 こんにちは、NXPコミュニティの皆さん、 私たちは、NXP i.MX95をベースにした実績のあるボード実装に取り組んでいます。このボードのデザインは約2年間使用されています。私たちはYocto Scarthgap(LF6.6.52リリースライン)を使っており、ビルドを新しいシリコンバッチに移行する際に早期起動リセットループが発生しています。生産グレードのシリコンのベースラインサポートを確認したいと思います。wrynoseはこのような問題なくブートを正常にビルドできることにご注意ください。 1. ハードウェアおよびソフトウェア環境 SoC: NXP i.MX95 ビルドシステム:Yocto Project(Scarthgapリリースライン、LF6.6.52ベースライン) シリコンの比較(レーザーマーキング): 動作中のハードウェア:レーザーマーキングにはp1mx9596...(エンジニアリングサンプル/プロトタイプバッチ)と表示されています。弊社のScarthgap製ビルドで正常に起動し、動作します。 ハードウェアの不具合:レーザーマーキングにはm1mx9596 dvzxnac...(量産バッチ)と表示されています。 Yocto環境: マニフェスト: imx-6.6.52-2.2.2.xml なお、p1mx9596とm1mx9596の両方はWrynoseビルドで正常に起動可能です。 2. 観察された行動 Scarthgap上で構築されたイメージをm1mx9596ハードウェアにフラッシュすると、実行は通常通りROMおよびDDR OEIトレーニングを経ますが、トレーニング完了後すぐにリセットされます(成功裏に完了): ** DDR OEI: sku_cfg:0x2 ** DDR OEI: (Build 114, Commit ca91ce79, Sep 16 2026 08:10:18) DDR OEI: SOC MIMX95(B0), Board mx95lp5 DDR OEI: IMEM + DMEM load in 3480 us DDR OEI: TRAINING complete in 2551111 us DDR OEI: done, err = 0x0 ** DDR OEI: sku_cfg:0x2 ** DDR OEI: (Build 114, Commit ca91ce79, Sep 16 2026 08:10:18) DDR OEI: SOC MIMX95(B0), Board mx95lp5 DDR OEI: IMEM + DMEM load in 3480 us DDR OEI: TRAINING complete in 2551473 us DDR OEI: done, err = 0x0 ** DDR OEI: sku_cfg:0x2 ** しかし、U-BootのSPLログは一切出力されません。DDRトレーニング直後にシステムはリセットされます。 しかし、同じイメージをレーザー刻印されたp1mx9596 SoCで起動すると、正常に起動します。 3. 私たちの核心的な問い ベースラインのスカースギャップを実行します (LF6.6.52)パッケージはM1MX95ライン(M1MX9596レーザーマーキング)をネイティブにサポートしていますか? そうでない場合は、必要な変更点に関するガイダンスをいただけると大変助かります。 ご説明やご指導をいただければ幸いです。 Linux ソフトウェア不具合の疑い Re: i.MX95 Reboot Loop After DDR Training Complete on Yocto Scarthgap B0 こんにちは、 NXP Semiconductors製品にご関心いただきありがとうございます。 新しいシリコンバージョンのためにBSPをアップグレードする必要がありますし、少なくともLinux 6.12.34への移行も検討する必要があります。これは、EVKとFRDMの両方のパッケージ19x19と15x15の最初のリリースでした。もちろん、最新のBSPにアップグレードすることをお勧めします。 よろしくお願いします。 Re: i.MX95 Reboot Loop After DDR Training Complete on Yocto Scarthgap B0 こんにちは、 JosephAtNXP さん。 情報ありがとうございます。flash.binとそのコンポーネントを調査した結果、lec-imx95 B0上でscarthgapを起動することができました。 参考までに、flash.binをビルディングしている間、scarthgapの代わりにwrynose buildのmx95b0-ahab-container.imgを使うと問題が解決し、最新のMIMX95 Socsで起動できるようになりました。 ありがとう
View full article
Q3 2026 | MCUXpresso Software, Tools & Developer Quarterly Update MCUXpresso 26.09 Has Arrived: Here's What's New If your workflow includes MCUXpresso, this release is worth a closer look. Here's a breakdown of what's new and why it matters. EdgeFast Open MCUXpresso SDK 26.09.00 migrates from the EdgeFast Bluetooth stack for i.MX RT and MCX devices connected to an NXP radio co-processor (e.g., IW6xx devices) to the EdgeFast Open Bluetooth stack. EdgeFast Open is an open-source Bluetooth host stack based on the stack from the Zephyr community. This migration will make Bluetooth-based applications smaller size (Flash and RAM) due to architecture changes versus the previously used EdgeFast Bluetooth stack. Given that EdgeFast Bluetooth adopted Zephyr Bluetooth stack API’s the migration from EdgeFast Bluetooth to EdgeFast Open is expected to be minimally disruptive. For uses who want to continue using the EdgeFast Bluetooth stack, this continues to be supported and maintained on the SDK 26.06.00-LTS release that was introduced in Q2. Documentation SDK release notes have been updated to improve the quality, and relevance of results when using the built-in search tools. Example product documentation has also been reworked to improve readability, and useability in the web-based interface. Security updates Migration to MBEDTLS 3.x has been complete for all middleware components that depend on security. MBEDLS 4.2 is starting to be introduced into MCUXpresso SDK, offering a gradual transition to the next MBEDTLS LTS release. RTOS updates Updated FreeRTOS kernel and libraries for improved reliability, security and ecosystem compatibility New product introduction support MCXE327, MCXN556S (123-WLCSP), MCXN947T, MCXC352/353, MCXA556/557 (WLCSP), i.MX RT2660 , i.MX 93 Cortex-A55, i.MX 8M Mini Cortex-A53, i.MX 95 Cortex-A55, FRDM-IMXRT1152, FRDM-MCXE32B, KW43-LOC, MCXW70-LOC.   Toolchain and IDE updates IAR Embedded Workbench for Arm updated to v9.70.2 MCUXpresso toolchain components aligned with the 26.06.00 release Learn more: SDK documentation and GitHub Release Notes Over the past three months, the MCUXpresso for Visual Studio Code team has delivered a series of updates focused on productivity, usability, and next-generation development workflows. Experimental Agentic AI Toolkit The headline feature this quarter is experimental access to the Agentic AI Toolkit, enabling developers to interact with MCUXpresso through AI coding assistants such as GitHub Copilot. Developers can install repositories, create and build projects, program devices, perform debugging tasks, and execute MCUXpresso-specific workflows directly from AI chat sessions. Energy Measurement with MCU-Link Pro LinkServer 26.09 introduces Target Power and Energy Measurement support for MCU-Link Pro and NXP development boards with power measurement circuits, providing visibility into device power and energy consumption directly within the development workflow. It includes both command-line and standalone GUI usage of the features. This helps developers better understand and optimize energy usage on their target hardware, up to CI/CD integration, and automated testing. Easier Project Management July and August releases delivered numerous customer-requested improvements that simplify everyday development, including faster project imports, improved repository management, more reliable project conversion from MCUXpresso IDE, better build configuration handling, and enhanced archive support. Better DSP and eIQ Example Support Developers working with DSP and eIQ examples will benefit from improved build automation that eliminates unnecessary toolchain errors when using supplied binaries, reducing setup complexity and improving the out-of-box experience. Experimental Secure Debug Authentication An additional experimental feature, Secure Debug Authentication, adds support for authenticating with protected devices before establishing a debug session when required by the device security configuration. Explore the latest updates in the Visual Studio Marketplace Changelog and discover how MCUXpresso for VS Code continues to make embedded development more productive, intelligent, and efficient. Learn more: MCUXpresso VS Code Documentation and Extension Change Log MCUXpresso Secure Provisioning Tool (SEC) 26.09 - Broad coverage, stronger security, one unified tool MCX Family Support & Improvement Added support for MCX E32x, L14x and W70x Secure Installer erasure improvement for MCX A1xx/2xx/3xx and L14x, L25x Other significant updates Added support for i.MX RT1150, i.MX RT1185/118C, KW43 and i.MX 943 processors Debug authentication integrated into VS Code Six clicks to secure your IP Blog — Prototype to secure deployment in six clicks Video — Six steps to secure your IP with MCUXpresso Training — How to build a secure image with MCUXpresso Secure Provisioning Tool Learn more: MCUXpresso Secure Provisioning Tool   SPSDK 3.11.0 - Build your own secure production workflow New features include: Added IPED tool for external flash encryption (nxpimage) Added debug mailbox command for MCX C1xx devices (nxpdebugmbox)   New devices supported include i.MX RT1150/1152, MCX A557, MCX E32x, MCX W70 and KW43 families. Learn more: SPSDK Config Tools 26.09 – Faster setup, timely insights MCU Tools Now support preliminary public releases of processor data i.MX Updates DDR Tool extended with new boards and memories System Manager has updated validation engine Learn more: MCUXpresso Config tools and Config tools for i.MX release notes Real-Time Edge 3.5 Released in July Fast Boot: Enables boot of two Cortex-A cores in parallel and decreases boot time especially for use cases with RTOS on Cortex-A core. Consolidated Images: Leveraging Yocto Multiconfig to enable single system image covering multiple boards (from same family). Updated Base: Now rebased on Linux Kernel 6.18.20 / Yocto Wrynose. GUI Guider v2.0.1 Released in August Figma-to-GUI Guider import New UI for GUI Guider Visual flowchart-style event system Added FRDM-MCXA577, FRDM-MXCA287 & FRDM-MXCA266 LVGL v9.4 support across MCX, RW, i.MX RT and i.MX platforms MCU on Eclipse Installing MCUXpresso Installer in DevContainer | MCU on Eclipse   Tool Time | LinkedIn Live Event Tool Demonstrations July – Serial Memory Tool – a smarter way to configure and work with serial memory in VS Code August – MCUXpresso Installer – create consistent development environments and simplify your setup experience September – G-Knob – Connecting click shields to FRDM Boards using MCUXpresso Tools EdgeVerse Techcast | Apple • Spotify • YouTube Audit Alert: Andrei's Expert Take on NXP's Software Suite Steering Success: Automotive Developers Take the Wheel in the Application Code Hub Empowering Developers with Long-Term Support in MCUXpresso SDK Winning with Efficient Performance: Why Architecture Matters More Than Clock Speed The Sound of Smart Glasses: Building Conversational AI at the Edge Unlocking Embedded Development: Insights from DigiKey's Experts and Tech Forum Application Code Hub | Spotlights RW612 Connectivity Momentum BLE Relay: Multi Peripheral to Single Central Connection RW612 Wi-Fi Secure MQTT Demonstration Wi‑Fi Access Point to Ethernet Layer‑2 Bridging Wi-Fi Sensing using Sniffer on RW61x with Zephyr OS MCXC162 focused on Low-Power and Motor Control Low Power Presence Detection Low Power Temperature Sensing One shunt FOC on MCXC162 Remote-System Architectures Wireless UART Throughput on RT1060EVKC and IW416 Servo Motor Multi-Control via Wireless UART High-Value Peripheral Enablement NFC Controller on MCXC242, 6-Color ePaper Display on MCXA266 AI enablement Agentic AI Network Management System (i.MX 8M Plus / 95 - Ara240)  
View full article
IW610 M.2 and FRDM Adapter Product Training: Bringing Wireless Connectivity to Low-Cost Devices   Welcome to IW610 M.2 and FRDM Adapter Product Training! This page provides access to training materials, presentations, demos, recordings, and supporting resources related to the IW610 M.2 development card and the FRDM adapter. While live Q&A support will be available during the training period, all content will remain accessible for future reference and self-paced learning.  Instructions  To get started with the IW610 M.2 and FRDM Adapter training, you will need to have your FRDM-MCXN947, IW610G-M2 and FRDM Adapter board in hand and perform the set-up operations according to the IW610G-M2 and FRDM-ADPT-MCX-M2 Getting Started Page which is a pre-requisite.   Step 1. Mandatory pre-work before starting with the labs:  Getting Started with IW610G-M2 Getting Started with FRDM-ADPT-MCX-M2 Step 2. After completing the pre-work, download the lab guides. Each lab has its own guide document and a video guide you can use as support material in case you have any question at any step:  Lab1: Wi-Fi Server Temperature Monitor Description This demo connects the IW610G-M2 to an FRDM-MCXN947 using an FRDM-M2-ADAPTER board and sends temperature measurements to an HTTPS server over Wi-Fi. Also creates an access point to enable connections. The online dashboard can also be used to wirelessly control the onboard LEDs. (End applications: home automation, industrial monitoring) Lab2: RTP USB Camera Stream over Wi-Fi Description This demo connects the IW610G-M2 to an FRDM-MCXN947 using an FRDM-M2-ADAPTER board and uses a camera module to stream real-time video over Wi-Fi to a laptop or another FRDM-MCXN947 with an IW610G-M2. The captured video is displayed on an LCD-PAR screen (In case to use a FRDM-MCXN947). (End application: Interphone, security camera) Step 3. Review the support material and useful links to get you up to speed with some product information, M.2 development card and FRDM adapter information and getting started. Below also includes additional reading material.   IW610 M2 Module | NXP Semiconductors Getting Started with IW610G-M2 | NXP Semiconductors https://nww.preview-cloud.nxp.com/pages/:FRDM-ADPT-MCX-M2 Getting Started with FRDM-ADPT-MCX-M2 | NXP Semiconductors Community Support If you have questions regarding this training, please leave your comments in our Wireless Community! here 
View full article
MCXN94/54/53:USB嵌入式存储器混淆 你好, 我正在尝试为新的电路板设计选择合适的 MCX N MCU 型号。 在数据手册 MCXNP184M150F70.pdf 的第 12 页,型号对比表下方,有一条小小的注释 4,内容为:“对于没有 USB FS 模块的设备,专用的 USB RAM 不可用。” 我不需要USB FS设备。我只需要使用USB HS设备。因此,为了节省一些物料清单预算,我决定选择一款没有 USB FS 的型号,例如 MCXN537,但是 Note 4 的音质听起来很重要。我想查阅一下参考手册,看看能不能找到一些线索。 参考手册:MCXNP184M150F70RM.pdf 第 61 章,第 61.7.1 段,第 2197 页(关于 USB LS)指出: 除了 USBFS 寄存器占用的地址空间外,Keep Alive 功能还需要 512 字节的嵌入式 RAM。 模式。该芯片上 USB RAM 块的起始地址为 4801_0000h。 您可以将此 USB RAM 设置为主动供电模式,用于 BDT 条目、USB 数据缓冲区或其他用途。 我猜想,数据手册中提到的第 4 点指的就是 RAM。 下一章,即第 62 章,是关于 USB HS 的,其中从未提到“RAM”这个词。 我感到困惑。 问题: 1. 为什么需要注意没有 USB LS 的型号没有 USB 嵌入式 RAM? 2. 我还能使用 U 盘通过 MCXN53 进行 ISP 编程吗?只使用 USB HS 设备,而不使用“USB 嵌入式 RAM”? 非常感谢大家! f. 电路板设计 MCX N USB Re: MCXN94/54/53: USB embedded memory confusion 你好@elfarolab 缺少“专用的 USB RAM”并不会阻止您在 MCXN537 上使用 USB HS。数据表显示该型号支持 USB HS,不支持 USB FS;注 4 指出,使用 USB FS 模块时,专用的 RAM 缺失。 1. 注释的重要性:它警告您在选择没有 USB FS 的部件时,不要依赖该内存地址或其 USBFS Keep Alive 功能。对于仅使用 USB HS 的设计而言,这本身并不是一个不合格的因素。另外,这里的模块名称是 USB FS(全速),而不是 USB LS(低速)。 2. 从 USB 闪存盘启动 ISP:不要指望工厂 ROM 能做到这一点。NXP 官方记录的 MCX N ISP 编程路径使用 USB HID 连接计算机和 blhost 等工具,或者使用列出的串行接口之一。U盘则需要MCU充当USB主机,读取大容量存储设备,并对映像进行编程; BR 哈里 Re: MCXN94/54/53: USB embedded memory confusion 非常感谢!
View full article
LPI2C6は0ビットを送信できないのですか? こんにちは、MIMXRT1170 SoCのT5とR5にコネクテッドデバイスに制御を実装しようとしています。 最初はこう設定しようとしました:   lpi2c_master_config_t cfg ;   LPI2C_MasterGetDefaultConfig ( & cfg );   LPI2C_MasterInit ( I2C_BASE 、 & cfg 、                    srcClockHz );   status_t start_status = LPI2C_MasterStart ( I2C_BASE , 0x15 , kLPI2C_Write );   そして、スコープ上では期待通りに動作していないように見えました。私が見たのは、開始シーケンスの後に0が表示され、その後何も表示されなかったということだった。SO、スタートコマンドをMTDRに直接書き込むようにしました:   I2C_BASE -> MTDR = 0x4FA ;   このアドレスは、一連の1の後に、1と0が交互に続く形式になっています。オシロスコープで確認したところ、最初のゼロの後、モジュールは送信を諦め、残りのビットを送信していないことがわかった。なぜそんなことが起こるのでしょうか? 参考までに、回路図を添付します。 さらに付け加えると、2.2キロの懸垂を数回追加しました。 Re: LPI2C6 can't send 0 bit? こんにちは、 @alex0 さん。 私たちの製品にご関心を寄せ、コミュニティをご利用いただき、本当にありがとうございます。 ご質問の件ですが、ピンT5とR5におけるLPI2C6の通信問題については、以下をご確認ください。 1: ピン構成: SCL と SDA の両方を SION 有効、オープンドレイン有効に設定します。T5/GPIO_LPSR_11がLPI2C6_SCLに、R5/GPIO_LPSR_10がLPI2C6_SDAに多重化されていることを確認してください。また、SCLおよびSDA入力のDAISY選択がこれらのパッドを指していることを確認し、プルアップ抵抗も確認してください。 2: デバッグインターフェース:SWDを使っているのかJTAGを使っているのか確認してください。これらのピン(T5とR5)はJTAG機能も備えています。JTAGを使用している場合は、ピンマルチプレクサまたは基板レベルの接続競合がないか確認してください。 3: クロック構成: LPI2C6 の機能クロックが有効になっていること、および LPI2C_MasterInit() に渡される srcClockHz 値が構成済みの周波数と一致していることを確認します。LPI2Cのタイミングは、その機能クロックに依存します。 これらの確認が終わったら、もう一度送金をお試しください。アドレスバイトの途中で処理が停止する場合は、障害発生後に取得したSCL/SDA波形とLPI2C6のMSR値を共有してください。 お役に立てれば幸いです。 よろしくお願いいたします。 メイ・リウ Re: LPI2C6 can't send 0 bit? 少し訂正させてください。実際にはSWDではなくJTAGを使用しています。 JTAGを切断し、あなたが提案した構成(高速スルーレート、標準駆動強度、キーパー選択)にしたところ、クロック信号が得られなくなりました。   Re: LPI2C6 can't send 0 bit? こんにちは、メイさん。迅速なご返信ありがとうございます! 1. ピン配置に関してですが、以前のものとは若干異なっていましたが、SIONとオープンドレインが有効になっていました。いずれにせよ、スクリーンショットと完全に一致するように修正を試みましたが、それでもうまくいきませんでした。 2. JTAGについて - 弊社はこれを認識しています。SWDを使用していますが、デフォルト設定のままでピン設定なしで動作するようです。 3. 時計は期待通りに動作します。I2Cは100kHzで動作するように設定されており、実際にその周波数で動作します。 パッドの設定方法は以下のとおりです。 IOMUXC_SetPinMux(IOMUXC_GPIO_LPSR_10_LPI2C6_SDA,1U); IOMUXC_SetPinMux(IOMUXC_GPIO_LPSR_11_LPI2C6_SCL, 1U); IOMUXC_SetPinConfig(IOMUXC_GPIO_LPSR_10_LPI2C6_SDA, 0x21U); IOMUXC_SetPinConfig(IOMUXC_GPIO_LPSR_11_LPI2C6_SCL, 0x21U); 私の理解では、IOMUXC_SetPinMuxは入力DAISYの選択を処理するものです。 #define IOMUXC_GPIO_LPSR_10_LPI2C6_SDA 0x40C08028U, 0x2U, 0x40C08090U, 0x1U, 0x40C08068U #define IOMUXC_GPIO_LPSR_11_LPI2C6_SCL 0x40C0802CU, 0x2U, 0x40C0808CU, 0x1U, 0x40C0806CU これは正しいようです。 この後に得られるMSR値は0x02000801です。 Re: LPI2C6 can't send 0 bit? こんにちは、 @alex0 さん。 1:すみません、先ほどの私の言い方が分かりにくかったです。プローブを外して電源を入れ直した後にJTAGを無効にするために追加のソフトウェアステップが必要だと言いたかったわけではありません。私が懸念しているのは、後続のピン設定によって、GPIO_LPSR_10/11のLPI2C6設定が上書きされる可能性があるかどうかです。転送直前にピンマルチパクサ、入力選択、パッドコントロールのレジスタを読み返して、LPI2C6構成がまだ有効かどうか確認していただけますか? 2:I²Cマスターとスレーブは同じ基板上にありますか?そうでない場合は、両者に共通点があることを確認してください。 3: プローブを切断した状態で、UARTまたはGPIOでアプリケーションが転送に到達したことを確認し、転送の直前と直後に転送返送状況とLPI2C6のMSRを記録してください。利用可能な場合、SWDデバッグは転送停止時にレジスタを検査するのに役立ちます。 よろしくお願いします、 5月 Re: LPI2C6 can't send 0 bit? こんにちは、メイさん。 問題が解決したことをご報告できて嬉しく思います。問題は、ピン配置の重複に起因していた。ピンマルチプレクサはCM7の設定で定義されていましたが、CM4によって上書きされました。 解決済みとしてマークできます。お時間をいただきありがとうございました! Re: LPI2C6 can't send 0 bit? こんにちは、メアリーさん。 「単にJTAGプローブを抜いても、基板上のSDA/SCLネットにコネクテッドの抵抗や他の回路を絶縁できない可能性がある」というあなたの言いたい意味がよくわかりません。 イメージをフラッシュし、JTAGプローブを基板から取り外し、電源投入リセットを実行します。JTAGを無効にするためにソフトウェア側で追加の設定が必要なのでしょうか?それともハードウェアの問題でしょうか? 私が挙げた2つの抵抗は、あなたが説明したように確かにコネクテッドされています。それらは回路図には記載されていませんが、I2Cスレーブ側に存在します。 Re: LPI2C6 can't send 0 bit? こんにちは、 @alex0 さん。 最新情報をありがとうございます。 比較テストのためにSWDに切り替え、デバッガとRT1170ターゲットボードの両方がSWD対応でコネクテッド・設定されているかを確認することをお勧めします。単にJTAGプローブのプラグを抜くだけでは、基板上のSDA/SCLネットに接続された抵抗や他の回路を分離できない場合があります。 あなたが共有してくれた回路図では、SDAやSCLネットのプルアップ抵抗を特定できませんでした。2.2 kΩプルアップを2つ追加すると言われましたが、1つはSDAに接続され、もう1つはSCLに接続されており、両方とも適切なI/O電源に引き上げられているか確認していただけますか? よろしくお願いします、 5月
View full article
SAF Framework License query Hello, We are evaluating the NXP S32K series for a safety-critical railway product and exploring the S32K3 Safety Software Framework (SAF). We have following queries regarding the license. Can a SAF Single Project License be used by multiple engineers working on the same project from multiple location ( USA, India)? Within the same project, we have multiple boards that use the same S32K3 MCU family. Can a SAF Single Project License be used across all such boards as long as they belong to the same project? Re: SAF Framework License query Hello @beherehardik, This topic is outside the scope of our online technical support. If your company has NXP FAEs assigned , please contact them directly. Otherwise, please reach out to your local distributor for further assistance. Thank you for your understanding. Regards, Daniel
View full article
PN5190B2HN/C131Y chip FW version The manual for PN5190B2HN/C131Y states that it has built-in Firewall 3.2. However, the official Firewall is only updated to Firewall 3.08. What is the difference between these two? I'd like to know the import time for FW version 3.07 and above. Re: PN5190B2HN/C131Y 芯片FW版本 Initialized with FW 3.2, supports encrypted firmware download. For the version history about FW3.07 please refer the link below: RN00066: PN5190 B2 firmware release v03.08 | NXP Semiconductors
View full article
LPI2C6 can't send 0 bit? Hello, I am trying to implement controls on a device connected to T5 and R5 on my MIMXRT1170 SoC. Initially, I tried to set it up like so:    lpi2c_master_config_t cfg;   LPI2C_MasterGetDefaultConfig(&cfg);   LPI2C_MasterInit(I2C_BASE, &cfg,                    srcClockHz);   status_t start_status = LPI2C_MasterStart(I2C_BASE, 0x15, kLPI2C_Write);   And I saw that it does not seem to work as expected on the scope. What I saw was the start sequence, followed by a 0, and then nothing. So I tried to replace the start command by directly writing into MTDR something like:     I2C_BASE->MTDR = 0x4FA;   This address has a bunch of ones, followed by alternating ones and zeroes. What I see on the scope is that after the first zero, the module gives up and does not transmit the remaining bits. Why would that happen? For your convenience, I'll attach the schematic: and I'll also add that we added a couple of 2.2k pullups. Re: LPI2C6 can't send 0 bit? Hi @alex0 , Thank you so much for your interest in our products and for using our community. regarding your question, for the LPI2C6 communication issue on pins T5 and R5, please check the below: 1: Pin configuration: Configure both SCL and SDA with SION enabled and open drain enabled . Confirm that T5/GPIO_LPSR_11 is muxed to LPI2C6_SCL and R5/GPIO_LPSR_10 to LPI2C6_SDA.  Also verify that the SCL and SDA input DAISY selections point to these pads, and check the pull-ups. 2: Debug interface: Confirm whether you are using SWD or JTAG. These pins(T5 and R5) also have JTAG functions.  if JTAG is in use, please check for a pin-mux or board-level connection conflict. 3: Clock configuration: Confirm that the LPI2C6 functional clock is enabled and that the srcClockHz value passed to LPI2C_MasterInit() matches its configured frequency. LPI2C timing depends on that functional clock. Please retry the transfer after these checks. If it still stops during the address byte, please share the SCL/SDA waveforms and the LPI2C6 MSR value captured after the failure.  Wish it helps you Best Regards May Liu Re: LPI2C6 can't send 0 bit? Minor correction, we are actually using JTAG, not SWD.  With JTAG disconnected and the configuration suggested by you (fast slew rate, normal drive strength, keeper select), we now get no clock.   Re: LPI2C6 can't send 0 bit? Hello May, thank you for your quick response! 1. Regarding the pin configuration, I noticed that it differs slightly from what we had, but SION and open drain were enabled. Regardless, we tried to modify it to match the screenshot exactly - and it still did not work.  2. Regarding JTAG - we are aware of this. We are using SWD, but it seems that the default configuration works as is with no pin configurations.  3. Clock works as expected. The I2C is configured to run at 100khz and it runs at exactly that. Below is how we configure the pads: IOMUXC_SetPinMux(IOMUXC_GPIO_LPSR_10_LPI2C6_SDA,1U); IOMUXC_SetPinMux(IOMUXC_GPIO_LPSR_11_LPI2C6_SCL, 1U); IOMUXC_SetPinConfig(IOMUXC_GPIO_LPSR_10_LPI2C6_SDA, 0x21U); IOMUXC_SetPinConfig(IOMUXC_GPIO_LPSR_11_LPI2C6_SCL, 0x21U); It is my understanding that IOMUXC_SetPinMux handles the input DAISY selections.  #define IOMUXC_GPIO_LPSR_10_LPI2C6_SDA 0x40C08028U, 0x2U, 0x40C08090U, 0x1U, 0x40C08068U #define IOMUXC_GPIO_LPSR_11_LPI2C6_SCL 0x40C0802CU, 0x2U, 0x40C0808CU, 0x1U, 0x40C0806CU This seems correct: The MSR value we get after this is: 0x02000801 Re: LPI2C6 can't send 0 bit? Hi @alex0 , Thanks for your updated information. I recommend switching to SWD for a comparison test and confirming that both the debugger and the RT1170 target board are connected and configured for SWD. Simply unplugging the JTAG probe may not isolate resistors or other circuitry that remain connected to the SDA/SCL nets on the board. I could not identify pull-up resistors on the SDA and SCL nets in the schematic you shared. Since you mentioned adding two 2.2 kΩ pull-ups, could you please confirm that one is connected to SDA and the other to SCL, and that both are pulled up to the appropriate I/O supply? Best regards, May Re: LPI2C6 can't send 0 bit? Hi Mary, I'm not sure I understand what you mean by "Simply unplugging the JTAG probe may not isolate resistors or other circuitry that remain connected to the SDA/SCL nets on the board." We flash the image, disconnect the JTAG probe from the board itself, and perform power on reset. Is there some additional configuration that is necessary on the software side to disable JTAG, or is this a hardware issue? The two resistors I mentioned are indeed connected as you described. They are not on the schematic, but are present on the I2C slave side. Re: LPI2C6 can't send 0 bit? Hi May, I'm happy to share the issue has been resolved. The issue stemmed from overlapping pin configurations. The pin mux was defined in the setup for the CM7, and was overwritten by the CM4. We can mark it as solved. Thank you for your time! Re: LPI2C6 can't send 0 bit? Hi @alex0 , 1: Sorry, my earlier wording was unclear. I did not mean that you need an additional software step to disable JTAG after disconnecting the probe and performing a power-on reset. My concern is whether any subsequent pin configuration might overwrite the LPI2C6 settings for GPIO_LPSR_10/11. Could you please read back the pin-mux, input-selection, and pad-control registers immediately before the transfer to confirm that the LPI2C6 configuration is still in effect? 2: Are the I²C master and slave on the same board? If not, please confirm that they share a common ground. 3: With the probe disconnected, please confirm via UART or GPIO that the application reaches the transfer, and record the transfer return status and LPI2C6 MSR immediately before and after it. If available, SWD debugging could help inspect the registers when the transfer stops. Best Regards, May
View full article
SAF框架许可证查询 你好, 我们正在评估 NXP S32K 系列产品在安全至关重要的铁路产品中的应用,并探索 S32K3 功能安全软件框架 (SAF)。 关于许可证,我们有以下疑问。 SAF 单项目许可证是否可以供多个工程师在多个地点(例如美国、印度)使用,共同完成同一个项目? 在同一个项目中,我们有多个板使用相同的 S32K3 MCU 系列。SAF 单一项目许可证是否可以在所有属于同一项目的板上使用? Re: SAF Framework License query 你好@beherehardik , 此主题超出我们的在线技术支持范围。 如果贵公司已指派 NXP FAE,请直接与他们联系。否则,请联系您当地的代理商以获取进一步帮助。 感谢您的理解。 问候, 丹尼尔
View full article
rt1180 フラッシュメモリ上のプログラム こんにちは、 RT1180で変な問題があります。M33でMCUXpresso提案のデフォルト設定で新しいプロジェクトを作成し、Flashにコンパイルしてダウンロードすると、プログラムは問題なく動作します。デフォルトの「Hello Word」を正しく印刷すれば、すべての作業が問題なく進みます。 M7で新しいプロジェクトを使って同じことを行うと、コンパイルは正しく行われますが、デバッグしようとすると、次のような結果になります。 LinkServer RedlinkMulti Driver v24.12(2024年12月18日 18:34:07 - crt_emu_cm_redlinkビルド869) C:/Users/colombos/Documents/MCUXpressoIDE_24.12.148/workspace/MIMXRT1189_Project_m7/Debug\MIMXRT1189xxxxx.xmlでチップXMLファイルを発見 既存のLinkServerプロセスに再接続しました。 ============= スクリプト: RT1180_connect_M33_wake_M7_ITC.scp ============= RT1180 Connect M33およびWake M7 to ITCスクリプト DpID = 5BA02477 APID = 0x74770001 ************ シリアルダウンローダーモードに入るには runBootLoader を実行してください ************* PC = 1001BC6A、SP = 2001FFF4 DpID = 5BA02477 APID = 0x74770001 R15 = 0x1001C086 ********** CM33を初期化します ************ 0xE000E180 + 0x00000040 を 0xFFFFFFFF で埋めます 0xE000E280 + 0x00000040 を 0xFFFFFFFF で埋めます 0x201E0000 + 0x00020000 を 0x00000000 で埋めます 0x20200008 + 0x0001FFF8 を 0x00000000 で埋めます ************* CM7 を有効にする ************** ************ 時計の準備 ************* ******** 着陸ゾーンの作成 ********* 0x303C0000 + 0x00020000 を 0x00000000 で埋めます 0x303E0000 + 0x00020000 を 0x00000000 で埋めます 0x30400000 + 0x00020000 を 0x00000000 で埋めます 0x30420000 + 0x00020000 を 0x00000000 で埋めます ************* キックオフ CM7 ************** 応答1:0xE1D20206 応答2:0x000000D6 TAP 0: 5BA02477 AP 0: APID: 74770001 ROMテーブル: 00000002 TAP 0: 5BA02477 AP 1: APID: 44770002 ROMテーブル: 80000003 TAP 0: 5BA02477 コア 2: M7 APID: 74770001 ROM テーブル: E00FD003* TAP 0: 5BA02477 コア 3: M33 APID: 74770001 ROM テーブル: E00FF003 APID = 0x74770001 ============= スクリプト終了 ============================================== プローブファームウェア:MCU-LINK搭載(r1E2) CMSIS-DAP V3.153(NXPセミコンダクターズ) シリアル番号:OK1PG5OV03J1X VID:PID: 1FC9:0143 USBパス: 0001:002a:00 適切なコアを検索した後、コア2のメモリを使用する (30) エミュレーター接続済み デバッグインターフェースタイプ = CoreSight DP(DAP DP ID 5BA02477)over SWD TAP 0 プロセッサタイプ = DAP AP 2 上の Cortex-M7(CPU ID 00000C27) ハードウェアブレークポイントの数 = 8 フラッシュパッチの数 = 0 ハードウェアウォッチポイントの数 = 4 プローブ(0): 接続済み&リセット。DPID: 5BA02477。CPUID: 00000C27。情報: デバッグプロトコル:SWD。RTCK: 無効です。ベクターキャッチ:無効。 CoreSightデバッグROMの内容: RBASE E00FD000: CID B105100D PID 000008E88C ROM (タイプ 0x1) ROM 1 E00FE000: CID B105100D PID 04000BB4C8 ROM (タイプ 0x1) ROM 2 E00FF000: CID B105100D PID 04000BB4C7 ROM (タイプ 0x1) ROM 3 E000E000: CID B105E00D PID 04000BB00C Gen SCS (タイプ 0x0) ROM 3 E0001000: CID B105E00D PID 04000BB002 Gen DWT (タイプ 0x0) ROM 3 E0002000: CID B105E00D PID 04000BB00E Gen (タイプ 0x0) ROM 3 E0000000: CID B105E00D PID 04000BB001 Gen ITM (タイプ 0x0) ROM 2 E0041000:CID B105900D PID 04001BB975 CSt ARM ETMv4.0 タイプ0x13 トレースソース - コア ROM 2 E0042000: CID B105900D PID 04004BB906 CSt タイプ 0x14 デバッグ制御 - トリガー、例:ECT ROM 1 E0043000: CID B105900D PID 04001BB908 CSt CSTFタイプ 0x12 トレースリンク - トレースファンネル/ルーター CM7 Rev. 7.0 DTCM: 512KB ITCM: 512KB LoUU: レベル2: LoC: レベル2 レベル1キャッシュタイプ:命令+データ ICache 32K: WT: Y WB: Y RA: Y WA: Y NumSets: 512 Assoc: 2 LineSize: 8 DCache 32K: WT: Y WB: Y RA: Y WA: Y NumSets: 256 Assoc: 4 LineSize: 8 NXP: MIMXRT1189xxxxx SFDP JEDEC ID MIMXRT1180_SFDP_FlexSPI1_A_QSPI.cfxを使用してSPI上のv.2外部フラッシュデバイスを検査しました。 イメージ「iMXRT1180_SFDP_FlexSPI1_A_QSPI 2024年12月18日 17:30:53」 フラッシュドライバーの開MIMXRT1180_SFDP_FlexSPI1_A_QSPI.cfx フラッシュドライバーを実行するためにVECTRESETを送信する ドライバ起動タイムアウト後(302 5msのリトライ) ドライバーアドレス 開始: 20000000 エントリー番号: 2000009D 終了: 2000075C スタック: 20002760 メールボックス:2000A760 ドライバ登録状態 R0: 00000000 R1: 00000000 R2: 00000000 R3: 00000000 R4: 2000A760 R5: 00000000 R6: 00000000 R7: 00000000 R8: 00000000 R9: 00000000 R10: 00000000 R11: 00000000 R12: 00000000 SP: 20002740 LR:FFFFFFF9(メインThreadからの例外) PC: E7FEE7FE xPSR: 40000003 MSP: 20002740 PSP: 20002760 CFBP: 00000001 (CONTROL=0x0、FAULTMASK=0x0、BASEPRI=0x0、PRIMASK=0x1) MSP でのスタック例外情報 2000275C: xPSR: 41000000 20002758: VECTPC: 200000A2 20002754: LR: 2000009D 20002750: R12: 00000000 2000274C: R3: 00000000 20002748: R2: 00000000 20002744: R1: 00000000 20002740: R0: 00000000 例外レジスタ E000ED04: ICSR: 00400803 (ISRPENDING、VECTPEND=0(なし)、RETTOBASE、VECTACTIVE=3(ハードフォルト)) E000ED08: VTOR: 00000000 TBLBASE=0(INCODE)、TBLOFF=0x0 E000ED28: MMFSR: 01 (IACCVIOL) E000ED29: BFSR: 00 E000ED2A: UFSR: 0001 (未定義STR) E000ED2C: HFSR: 40000000 (強制) E000ED30: DFSR: 00000001 (停止) E000ED3C: AFSR: 00000000 E000ED24: SHCSR: 00000000 E000ED34: MMAR: 00000000 E000ED38: BFAR: 00000000 E000EDFC: DEMCR: 01000000 (TRCENA) VECTPC命令数約41000000 40FFFFFC:(読めません - Nn(05)。DAPアクセスにおけるワイヤーACK故障) 40FFFFFE:(読めない) Flash Driver V.2の起動失敗 - rc Ef(34):フラッシュ初期化タイムアウト。 チップの初期化に失敗しました - Ef(34): フラッシュの初期化がタイムアウトしました。 フラッシュドライバーの初期化に失敗MIMXRT1180_SFDP_FlexSPI1_A_QSPI.cfx この問題を解決するのを手伝ってください。 私はMCUXpresso 24.12ビルド148とSDKs 24.12.00を使っていて、最近MCU-Linkをバージョン3.153にアップデートしようとしました デモボードは以下のとおりです。 SCH-5077 REV C3 700-5077 REV C1(ペンで署名されている) シモーネ Re: rt1180 program on flash これは依然として非常に妥当な質問だと思います。製品はもはやプリプロダクション段階ではありませんが、問題は依然として残っています。外部フラッシュからM7コアコードを実行するようにデバイスをどのように設定すればよいでしょうか。 Re: rt1180 program on flash こんにちは。お元気ですか? RT1180は製品がまだプリプロダクション段階です。詳細については、NXPの担当者までお問い合わせください。 よろしくお願いします、 オマール Re: rt1180 program on flash 必要に応じてプロジェクト
View full article
MCXN94/54/53: USB組み込みメモリの混乱 こんにちは、 新しいボードデザインに使うためのMCX N MCUの正しいモデルを選ぼうとしています。 データシートMCXNP184M150F70.pdfの12ページのモデル比較表の下には、「USB FSモジュールを搭載しないデバイスには専用のUSB RAMは利用できません」という小さなNOTE 4の記載があります。 USB FSデバイスは必要ありません。私はUSB HSデバイスのみを使用する必要があります。そこでBOMの予算を少し節約するために、USB FSなしのモデル(例えばMCXN537など)を選びましたが、Note 4のトーンは重要そうですね。リファレンス・マニュアルを確認して、少し光を当てたかったんです。 リファレンス・マニュアル:MCXNP184M150F70RM.pdf 第61章、61.7.1項、2197ページ(USB LSについて)には次のように記載されています。 「USBFSレジスタが占めるアドレス空間に加えて、キープアライブで使用するために512バイトの組み込みRAMが必要です。」 モード。このチップでは、USB RAMブロックの開始アドレスは4801_0000hです。 このUSB RAMはアクティブ電源モードでBDTエントリやUSBデータバッファ、その他の用途に使用できます。」 データシートの注記4で言及されているのは、おそらくそのRAMのことだろう。 次の章である第62章(USB HSについて)では、「RAM」という言葉は一切出てこない。 私は混乱しています。 質問: 1. なぜUSB LSを搭載していないモデルにはUSB内蔵RAMがないことに注目するのか? 2. USB HSデバイスだけで、「USB組み込みRAM」なしで、USBペンドライブからMCXN53でISPプログラミングはできますか? 皆さん、本当にありがとうございます! F. ボード設計 MCX N USB Re: MCXN94/54/53: USB embedded memory confusion こんにちは、 @elfarolab さん 「専用USB RAM」が搭載されていないからといって、MCXN537でUSB HSを使用することが妨げられるわけではありません。データシートにはUSB HSが存在し、USB FSは存在しないと記載されています。注4ではUSB FSモジュールには専用RAMがありません。 1. メモが重要な理由:USB FSがない部品を選ぶ際に、そのメモリアドレスやUSBFSのKeep Alive機能に頼らないようにと警告しています。USB HSのみを使用する設計の場合、それ自体が不合格の理由にはなりません。また、ここでいうモジュール名はUSB FS(フルスピード)であり、USB LS(ロースピード)ではありません。 2. USBメモリからのISP: 工場出荷時のROMでそれができるとは思わないでください。NXPの文書化されたMCX N ISPプログラミングパスは、コネクテッドコンピュータとblhostなどのツール、または記載されたシリアルインターフェースのいずれかを備えたUSB HIDを使用します。代わりにペンドライブは、MCUがUSBホストとして機能し、マスストレージを読み込み、イメージをプログラムする必要があります。 BR ハリー Re: MCXN94/54/53: USB embedded memory confusion ご協力の程、よろしくお願い申し上げます。
View full article
PN5190B2HN/C131Y 芯片FW版本 PN5190B2HN/C131Y,手册写了内置FW3.2。但是官方FW只更新到FW3.08,这两个有什么区别吗 想了解下FW 3.07版本及以上的导入的时间 Re: PN5190B2HN/C131Y 芯片FW版本 已初始化固件版本 3.2,支持加密固件下载。 有关FW3.07的版本历史记录,请参考以下链接: RN00066:PN5190 B2 固件版本 v03.08 | 恩智浦半导体
View full article
LPI2C6 无法发送 0 位吗? 您好,我正在尝试在我的 MIMXRT1170 SoC 上对连接到 T5 和 R5 的设备实现控制。 最初,我尝试这样设置:   lpi2c_master_config_t cfg ;   LPI2C_MasterGetDefaultConfig ( & cfg );   LPI2C_MasterInit ( I2C_BASE , & cfg ,                    srcClockHz );   status_t start_status = LPI2C_MasterStart ( I2C_BASE , 0x15 , kLPI2C_Write );   我发现它在示波器上似乎没有按预期工作。我看到的是起始序列,然后是 0,之后就什么都没有了。所以我尝试直接在 MTDR 中写入类似这样的内容来替换启动命令:   I2C_BASE -> MTDR = 0x4FA ;   这个地址由很多 1 组成,后面跟着 1 和 0 交替出现。我在示波器上看到,在接收到第一个零之后,模块就放弃了,不再传输剩余的比特。为什么会发生这种情况? 为了方便起见,我附上原理图: 我还要补充一点,我们还增加了几个 2.2k 的引体向上。 Re: LPI2C6 can't send 0 bit? 嗨@alex0 , 非常感谢您对我们产品的关注以及对我们社区的使用。 关于您提出的LPI2C6引脚T5和R5的通信问题,请查看以下内容: 1:引脚配置:将 SCL 和 SDA 配置为启用 SION 和启用开漏。确认 T5/GPIO_LPSR_11 已复用至 LPI2C6_SCL,R5/GPIO_LPSR_10 已复用至 LPI2C6_SDA。还要确认 SCL 和 SDA 输入 DAISY 选择是否指向这些焊盘,并检查上拉电阻。 2:调试接口:确认您使用的是 SWD 还是 JTAG。这些引脚(T5 和 R5)也具有 JTAG 功能。如果使用 JTAG,请检查是否存在引脚复用或板级连接冲突。 3:时钟配置:确认 LPI2C6 功能时钟已启用,并且传递给 LPI2C_MasterInit() 的 srcClockHz 值与其配置的频率相匹配。LPI2C 时序取决于该功能时钟。 请在完成这些检查后重试转账。如果在地址字节处仍然停止,请提供故障发生后捕获的SCL/SDA波形和LPI2C6 MSR值。 希望对你有帮助 顺祝商祺! 刘梅 Re: LPI2C6 can't send 0 bit? 你好May,谢谢你的快速回复! 1. 关于引脚配置,我注意到它与我们之前使用的略有不同,但 SION 和开漏已启用。尽管如此,我们还是尝试修改它,使其与截图完全一致——但仍然无效。 2. 关于 JTAG——我们已经了解。我们使用的是SWD,但似乎默认配置无需任何引脚配置即可正常工作。 3. 时钟工作正常。I2C配置为以100kHz运行,并且它正是以这个频率运行的。 以下是我们配置焊盘的方式: IOMUXC_SetPinMux(IOMUXC_GPIO_LPSR_10_LPI2C6_SDA,1U); IOMUXC_SetPinMux(IOMUXC_GPIO_LPSR_11_LPI2C6_SCL, 1U); IOMUXC_SetPinConfig(IOMUXC_GPIO_LPSR_10_LPI2C6_SDA, 0x21U); IOMUXC_SetPinConfig(IOMUXC_GPIO_LPSR_11_LPI2C6_SCL, 0x21U); 据我了解,IOMUXC_SetPinMux 函数负责处理输入 DAISY 引脚的选择。 #define IOMUXC_GPIO_LPSR_10_LPI2C6_SDA 0x40C08028U, 0x2U, 0x40C08090U, 0x1U, 0x40C08068U #define IOMUXC_GPIO_LPSR_11_LPI2C6_SCL 0x40C0802CU, 0x2U, 0x40C0808CU, 0x1U, 0x40C0806CU 这似乎是正确的: 之后得到的 MSR 值为: 0x02000801 Re: LPI2C6 can't send 0 bit? 稍作更正,我们实际上使用的是JTAG,而不是SWD。 断开 JTAG 连接并按照您建议的配置(快速转换速率、正常驱动强度、保持选择)后,我们现在没有时钟信号。   Re: LPI2C6 can't send 0 bit? 嗨,玛丽, 我不太明白您所说的“仅仅拔掉 JTAG 探针可能无法隔离仍然连接到板上 SDA/SCL 网络的电阻器或其他电路”是什么意思。 我们将镜像写入板,断开 JTAG 探针与板的连接,然后执行上电复位。是否需要在软件方面进行一些额外的配置才能禁用 JTAG,还是这是硬件问题? 我提到的那两个电阻器确实是按照你描述的方式连接的。它们不在原理图中,但存在于 I2C 从设备侧。 Re: LPI2C6 can't send 0 bit? 嗨@alex0 , 感谢您提供的最新信息。 我建议切换到 SWD 进行对比测试,并确认调试器和 RT1170 目标板均已连接并配置为 SWD。仅仅拔下 JTAG 探针可能无法隔离仍然连接到板上 SDA/SCL 网络的电阻器或其他电路。 我无法在您提供的原理图中识别出 SDA 和 SCL 网络上的上拉电阻。既然您提到要添加两个 2.2 kΩ 的上拉电阻,请您确认一个连接到 SDA,另一个连接到 SCL,并且两个电阻都上拉到相应的 I/O 电源? 此致, 可能 Re: LPI2C6 can't send 0 bit? 嗨@alex0 , 1:抱歉,我之前的措辞不够清楚。我的意思并不是说在断开探针并执行上电复位后,还需要额外的软件步骤来禁用 JTAG。我担心后续的任何引脚配置是否可能会覆盖 LPI2C6 的 GPIO_LPSR_10/11 设置。请您在传输之前立即读取引脚多路复用寄存器、输入选择寄存器和焊盘控制寄存器,以确认 LPI2C6 配置仍然有效? 2:I²C 主设备和从设备是否在同一块板上?如果没有,请确认他们是否有共同点。 3:断开探针连接后,请通过 UART 或 GPIO 确认应用程序是否到达传输点,并记录传输返回状态以及传输前后 LPI2C6 MSR 的值。如果可用,SWD 调试可以帮助在传输停止时检查寄存器。 此致, 可能 Re: LPI2C6 can't send 0 bit? 嗨,May, 我很高兴地告诉大家,这个问题已经解决了。问题源于引脚配置重叠。CM7 的设置中定义了引脚复用,但 CM4 覆盖了该定义。 我们可以将其标记为已解决。感谢您抽出时间!
View full article
MCXN94/54/53: USB embedded memory confusion Hello, I am trying to select the correct model of MCX N MCU to use for a new board design. In the datasheet MCXNP184M150F70.pdf, at page 12, below the models comparison table, there is the small NOTE 4 saying, "Dedicated USB RAM not available for devices which do not have USB FS module."  I don't need the USB FS device. I need to use the USB HS device only. So I thought to save a bit of the BOM budget, selecting a model without the USB FS, such as the MCXN537, but the tone of the note 4 sounds important. I wanted to check the reference manual to get some light. Reference manual: MCXNP184M150F70RM.pdf Chapter 61, paragraph 61.7.1, page 2197 (about USB LS) says: "In addition to the address space occupied by the USBFS registers, 512 bytes of embedded RAM are required for use in Keep Alive mode. On this chip the starting address of the USB RAM block is 4801_0000h. You can use this USB RAM in Active power mode for BDT entries, USB data buffers, or other purposes." I suppose that is the RAM that note 4 of the datasheet is referring to. The following chapter, 62, about USB HS, never mentions the word "RAM." I am confused. Questions: 1. Why is it important to notice that models without USB LS don't have USB embedded RAM? 2. Can I still do ISP programming with the MCXN53 from an USB pendrive, using only the USB HS device and without the "USB embedded RAM"? Thank you so much to everybody! F. Board Design MCXN USB Re: MCXN94/54/53: USB embedded memory confusion Hi @elfarolab  The missing “dedicated USB RAM” does not prevent you from using USB HS on an MCXN537. The datasheet lists USB HS as present and USB FS as absent for that model; Note 4 says the dedicated RAM is absent with the USB FS module . 1. Why the note matters: It warns you not to count on that memory address or its USBFS Keep Alive function when selecting a part without USB FS. For a design using only USB HS, it is not, by itself, a disqualifier. Also, the module name here is USB FS (full-speed), not USB LS (low-speed). 2. ISP from a USB pendrive: Do not plan on the factory ROM doing that. NXP’s documented MCX N ISP programming path uses USB HID with a connected computer and a tool such as blhost , or one of the listed serial interfaces. A pendrive instead requires the MCU to act as a USB host , read mass storage, and program the image; BR Harry Re: MCXN94/54/53: USB embedded memory confusion thank you!
View full article
PN5190B2HN/C131Yチップのファームウェアバージョン PN5190B2HN/C131Yのマニュアルには、ファイアウォール3.2が内蔵されていると記載されています。しかし、公式のファイアウォールは3.08にしかアップデートされていません。この2つの違いは何でしょうか? ファームウェアバージョン3.07以降のインポート時間を知りたいです。 Re: PN5190B2HN/C131Y 芯片FW版本 FW 3.2で初期化され、暗号化されたファームウェアダウンロードをサポートします。 FW3.07のバージョン履歴については、以下のリンクを参照してください。 RN00066:PN5190 B2 ファームウェアリリース v03.08 |NXP Semiconductors
View full article