Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
参考文献:lx2080(yocto画像とデバッグ) 以下の質問に対する回答が欲しいです。 SDカードイメージのフラッシュについて説明します。Flex Installer Toolやその他の方法でSDカードにコードをフラッシュします。 temp/deploy/lx2160ardb には n 個の bin ファイルがありますが、どのファイルを選択して SD カードにフラッシュするか、ブート可能なイメージを取得する方法を教えてください。 QorIQ LS1デバイス QorIQ LS2デバイス Re: lx2080(yocto image and debug) こんにちは、 @jagannathr さん。 フレックスインストーラー方法は、SDブート複合ファームウェア、ブートパーティションアーカイブ、ルートファイルシステムアーカイブの3つの部分を使用します */tmp/deploy/images/lx2160ardb-rev2 内 1. SDブート複合ファームウェア firmware_lx2160ardb...sdboot.img 2. ブートパーティションアーカイブ boot_lx2160ardb...tgz 3. Yoctoルートファイルシステムアーカイブ fsl-image-networking-...lx2160ardb....rootfs.tar.gz コマンドは次のようになります。 flex-installer -b -r -f -d よろしくお願いします。 6月
View full article
imx95 CRA Hi NXP I need to transplant my EU CRA (Certificate of Infectious Disease). Where can I find official documentation on this transplant? (Could you please provide a link?) Linux Re: imx95 CRA Hi @yrj CRA is not a directly portable software component, but rather a cybersecurity regulation that a product must comply with. If you are implementing CRA requirements on the i.MX platform, we recommend prioritizing the following resources: 1. NXP Official CRA Special Page Entry The Documentation section of the page lists application notes, white papers, and training materials, and also introduces the correspondence between security capabilities such as secure boot, secure updates, and key management and regulatory requirements.   2. i.MX Platform Application Notes This document describes how to leverage i.MX 93 to support OEMs in meeting CRA requirements. 3. Product Overall Compliance Implementation White Paper This section introduces compliance requirements for security product design and lifecycle, and is suitable for establishing a product-level implementation framework first, rather than focusing solely on the BSP or a specific security function. 4. Official EU Implementation Guidelines The implementation guidelines from the issuing body of regulations include Commission guidance, FAQs, manufacturer obligations, conformity assessments, and vulnerability reporting obligations. Determining which requirements a product needs to meet should be based on these official EU documents. Best Regards, Zhiming Re: imx95 CRA HI @Zhiming_Liu You're right, my description was too simplistic. I have now followed the documentation to sign and verify uboot, Image, and imx95-xxx.dtb. My question is whether rootfs also needs to be signed. I haven't seen any signing information for rootfs yet. Does that mean it doesn't need to be signed? Re: imx95 CRA Hi @yrj The file system typically uses dm-verity. You can refer to this document to enable file system protection: https://www.nxp.com/docs/en/application-note/AN15078.pdf Best Regards, Zhiming Re: imx95 CRA HI @Zhiming_Liu dm-verity is read-only; is there documentation for dm-crypt? Re: imx95 CRA Hi @yrj Please refer to the following document: 10.5.5 DM-Crypt usage on i.MX Platforms without CAAM hardware IP https://www.nxp.com/docs/en/user-guide/UG10163.pdf Best Regards, Zhiming
View full article
imx95 CRA Hi NXP           我需要移植欧盟的CRA,请问官方哪个地方有移植的文档(可以发下链接吗) Linux Re: imx95 CRA Hi @yrj  CRA 不是可以直接移植的软件组件,而是产品需要满足的网络安全法规。 如果你是要在i.MX 平台上落地 CRA 要求,建议优先看以下资料: 1. NXP 官方 CRA 专题入口 页面的 Documentation 栏目列出了应用笔记、白皮书和培训资料,也介绍了安全启动、安全更新、密钥管理等安全能力与法规要求之间的对应关系。   2.i.MX 平台相关应用笔记 这份文档介绍如何利用 i.MX 93支持 OEM 实现 CRA 要求。 3. 产品整体合规实施白皮书 介绍安全产品设计及生命周期方面的合规要求,适合先建立产品级实施框架,而不只是关注 BSP 或某个安全功能。 4. 欧盟官方实施指南 法规发布方的实施入口,包含 Commission guidance、FAQ、制造商义务、符合性评估、漏洞报告义务等资料。判断产品需要满足哪些要求,应以这类欧盟官方资料为依据。 Best Regards, Zhiming Re: imx95 CRA HI @Zhiming_Liu           您说的对,我描述的太通俗了          我现在参考文档对uboot 、Image、imx95-xxx.dtb,进行了签名与验证。          我现在是疑问是rootfs是否也需要签名呢,暂时没有看到rootfs的签名资料,是不需要吗? Re: imx95 CRA HI @Zhiming_Liu        dm-verity只读的,有dm-crypt的文档吗 Re: imx95 CRA Hi @yrj  文件系统一般用dm-verity。你可以参考这个文档来使能文件系统的保护:https://www.nxp.com/docs/en/application-note/AN15078.pdf Best Regards, Zhiming Re: imx95 CRA Hi @yrj  请参考下面文档中的:10.5.5 DM-Crypt usage on i.MX Platforms without CAAM hardware IP https://www.nxp.com/docs/en/user-guide/UG10163.pdf Best Regards, Zhiming
View full article
回复:lx2080(yocto镜像和调试) 我希望得到以下问题的答案: 解释SD卡镜像闪存的使用方法。使用 flex installer 工具和其他方法将代码刷入 SD 卡。 在 temp/deploy/lx2160ardb 目录下,我有 n 个 bin 文件,应该选择哪些文件并将其刷入 SD 卡,如何获取可启动镜像? QorIQ LS1设备 QorIQ LS2 设备 Re: lx2080(yocto image and debug) 你好@jagannathr , flex-installer 方法使用三个部分:SD 卡启动复合固件、启动分区归档文件和根文件系统归档文件。 在 */tmp/deploy/images/lx2160ardb-rev2 中 1. SD启动复合固件 firmware_lx2160ardb...sdboot.img 2. 启动分区归档 boot_lx2160ardb...tgz 3. Yocto 根文件系统归档 fsl-image-networking-...lx2160ardb....rootfs.tar.gz 命令是: flex-installer -b -r -f -d 谢谢! 六月
View full article
i.MX9 Power consumption estimation SKILL Here's the imx-power-estimation SKILL for any AI agents: name: imx-power-estimation description: Estimate the Power Consumption for i.MX95/952/943 SoC. Use this skill when user ask for the i.MX SoC power consumption with their application scenarios. Input: Describe your use case in natural language. e.g: "estimate the power consumption of i.MX95 for Automotive IVI use cases.". You can also specify the temperature/corner/mode, as well as the IP modules usage/bandwidth, like 2xA55 core running 50% loading, DDR bandwidth 30%, 1xETH 500Mbps. Output: Detailed power breakdown by voltage rail with total consumption
View full article
RAPID BLHOST (RBLHOST) 0.3.0 release We are pleased to announce the release of Rapid Blhost (RBLHOST) 0.3.0. RBLHOST is a host-side utility for communicating with embedded devices over interfaces such as USB and UART. Built in Rust with a focus on high performance for time-critical applications, it can be seamlessly integrated into systems developed in Python, C, or Rust. Features UART communication with configurable baudrate and timeout I2C communication with configurable slave address USB-HID communication with configurable VID/PID, and selection of one specific device by OS path, serial number or USB topology (port) path when several identical boards are connected Command-line interface compatible with the original blhost tool Batch command files executed sequentially in one process and one device session Python bindings for integration with other tools C/C++ bindings supported (UART, I2C and USB-HID, see MBoot C Bindings) ... and more!  Check this out! 🐙 GitHub: https://github.com/nxp-mcuxpresso/rblhost 📦 Crates.io: https://crates.io/crates/rblhost announcement
View full article
SPSDK v3.13.0 now available We are excited to announce the release of Secure Provisioning SDK (SPSDK) 3.13.0 🆕 New device support MCXC353, MCXC352 MCXN526T MIMXRT1183, MIMXRT118D ✨ Key new features nxpdebugmbox: new tool execute command, Debug Authentication Response export, improved debug connection diagnostics, and probe discovery without a mandatory family filter. Debug probes: ARM ADIv6 (CoreSight 600 / DPv3) support with automatic ADI-version detection and MEM-AP/debug-mailbox discovery. nxpimage: DevHSM SRK-set support plus secondary-image tables and parallel AHAB verification for MIMXRT266x devices. nxpele: new forward-boot-crypto command, HSE core reset/status support, and second Cortex-M7 core support for MCXE327 and MCXE32B. nxpcrypto: new --fuse-script option for rot calculate-hash to generate device-specific RoT fuse scripts where supported. Migration checks: new SPSDK_DEPRECATED_STRICT environment variable to report deprecated register aliases and schema properties as errors. For more details: Release Notes Supported Devices Github PyPi Documentation SPSDK Plugins: Github (Plugins) PyPi (Plugins) Note: nxp-codecheck was moved to separated repository bellow: SPSDK Codecheck: GitHub: https://github.com/nxp-mcuxpresso/nxp-codecheck PyPi: https://pypi.org/project/nxp-codecheck/ announcement
View full article
i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue Dear NXP Support Team, Following Weidong’s recommendation, we are opening a new ticket for Bluetooth bring-up on our i.MX95 platform. Wi-Fi is now working, but we need guidance on restoring Bluetooth UART communication while maintaining the correct reference-clock selection during reset. 1. Hardware and software configuration Host board: NXP i.MX95 19×19 EVK, B0 Wireless module: u-blox JODY-W263-00B, based on 88W8987, connected through M.2 Key-E BSP: Automotive Android 15.0.0_2.1.0 Kernel: 6.12.23 Wi-Fi interface: SDIO through uSDHC3 Bluetooth interface: LPUART5, exposed as /dev/ttyLP4 Wi-Fi driver: NXP mwifiex from automotive-15.0.0_2.1.0, release 537.p9 Firmware: sduart8987_combo.bin from the corresponding Android BSP firmware repository Firmware version: 16.92.21.p151.4 Firmware size: 628,200 bytes We intend to continue with the recommended SDIO + UART configuration. 2. Wi-Fi activation failure and switch observation Previously, the module was detected over SDIO and firmware transfer completed, but firmware activation failed with: Fail to poll firmware status: firmwarestat=0xf005 FW failed to be active in time! During investigation, NXP advised that 88W8987 GPIO[8]/UART_SOUT is sampled during reset to select the reference clock: LOW: 38.4 MHz HIGH: 26 MHz This signal also serves as the Bluetooth UART TX output during normal operation and connects to the host LPUART5 RX input. On our EVK, the relevant connection is: Module Bluetooth TX → M.2 J24 pin 22 → R607 → BT_UART5_RXD → R17 → SW1 contacts 7–8 → host LPUART5 RX Our repeatable observation is: SW1 contacts 7–8 ON during cold boot: Wi-Fi firmware activation fails with 0xf005. SW1 contacts 7–8 OFF during cold boot: Wi-Fi initializes successfully and is operational. We also tested the suggested host RX pad pull-down configuration: IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e However, the earlier tests did not resolve the failure with SW1 contacts 7–8 ON. The running device tree we subsequently extracted showed RX pad configuration 0x31e, so we would appreciate guidance on the complete configuration and when it takes effect during boot/reset. 3. Bluetooth failure with the working Wi-Fi configuration Keeping SW1 contacts 7–8 OFF allows Wi-Fi to work, but it also disconnects the module Bluetooth TX from the host UART RX. We therefore expect Bluetooth initialization to fail because the host cannot receive controller responses. Bluetooth is tested through ADB because the board has no connected display. The installed vendor configuration is: mchar_port = /dev/ttyLP4 baudrate_fw_init = 3000000 The vendor library defaults baudrate_bt to 3000000. UART firmware download is disabled by default; the current configuration relies on the combo firmware loaded through the Wi-Fi driver. The Bluetooth vendor HAL reports version 009.030 and successfully opens the UART device: bt_vnd_init --- BT Vendor HAL Ver: 009.030 --- mchar_port set to /dev/ttyLP4 baudrate_fw_init is set to 3000000 open uart port successfully, fd=6, mchar_port=/dev/ttyLP4 However, the Bluetooth stack remains in BLE_TURNING_ON and eventually aborts: Can't start stack, last instance: starting HciHal During close/recovery, the vendor library also reports: Read hci complete event failed timed out Failed to read HCI RESET CMD response! The source configuration sequence begins with an HCI Reset command. Opening the UART device succeeds, but successful controller communication has not been established. 4. Guidance requested Could you please advise on the following? How should this shared clock-configuration/Bluetooth UART signal be handled on i.MX95? We need the module TX/host RX line LOW during reset for 38.4 MHz selection, followed by a connected, functional UART receive path during normal operation. What is the recommended configuration for SW1 contacts 7–8 and the LPUART5 RX pad? Should the switch remain ON with a specific pad configuration, or is an additional board-level change required? At which boot stage must the pull-down be applied? Is the Linux device-tree setting sufficient, or must U-Boot, System Manager/SCMI pin control, or another earlier initialization stage configure this pad before module reset is released? Please provide the recommended power/reset and pin-control sequence, including any required handling of W_DISABLE2#/Bluetooth enable, to ensure correct clock sampling and subsequent UART operation. Please confirm the Bluetooth configuration for the BSP-provided sduart8987_combo.bin: initial UART baud rate, operating baud rate, RTS/CTS flow control, and any required wake/sleep settings or vendor configuration entries. Is there a validated DTS/patch and Bluetooth vendor configuration for an 88W8987 module on this BSP? If available, please share the reference configuration and module part number used for validation. We investigated the SDIO-SDIO alternative, but understand from Weidong that those specialized packages are outdated and have not kept pace with kernel upgrades. We have not validated an SDSD firmware on this target and would like to resolve the issue using the standard SDIO + UART architecture. We can provide full Bluetooth logs, the running device tree, schematic excerpts, and oscilloscope measurements of the shared strap/UART line during reset and Bluetooth initialization. Please advise which measurement points and timing conditions would be most useful. Thank you for your continued support in enabling Wi-Fi. We would appreciate your guidance on completing Bluetooth bring-up while preserving the working Wi-Fi configuration. Best regards, Rakesh Kumar Thakur Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue Dear @Rakesh_Kumar_Thakur , Please change  baudrate_fw_init = 3000000 to baudrate_fw_init = 115200 Then try. Thanks, Regards, weidong Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue Dear @Rakesh_Kumar_Thakur , Please confirm if baud rate is fixed in your wifi/bt module with u-blox. if the fixed baud rate is 115200, try the configuration: mchar_port = /dev/ttyLP4 baudrate_fw_init = 115200 If the fixed baud rate is 3000000, use the configuration mchar_port = /dev/ttyLP4 baudrate_fw_init = 3000000 Then try it. I will have time to test it next week. you can try it first. BYW,I'm not quite sure I understand your operation. To turn Wi-Fi off and back on, you can simply do it through Android. There is no need to operate the SW1 switch on the board. Thanks, Best Regards, Weidong Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue Subject: i.MX95 / JODY-W263: Baud-rate test results and request for a permanent solution without manual SW1 switching Dear Weidong, Thank you for your support. We tested your recommendation to change baudrate_fw_init from 3000000 to 115200. Below are the results and the remaining boot-time issue. We need a permanent solution for our next week’s integration activities, so your guidance on the required configuration or patch would be appreciated. Platform Board: NXP i.MX95 19×19 EVK, B0 Module: u-blox JODY-W263-00B / 88W8987, M.2 Key-E BSP: Automotive Android 15.0.0_2.1.0 Kernel: 6.12.23 Bluetooth Vendor HAL: 009.030 Wi-Fi interface: SDIO through uSDHC3 Bluetooth interface: UART5, /dev/ttyLP4 Firmware: sduart8987_combo.bin Switch under investigation: SW1, switch section 4, contacts 7–8, on the Bluetooth UART RX path toward the host. 1. Boot with SW1 contacts 7–8 ON Wi-Fi firmware activation fails: Fail to poll firmware status: firmwarestat=0xf005 FW failed to be active in time! WLAN: Fail download FW with nowwait: 0 Bluetooth also fails to reach the ON state. We have applied the recommended Linux RX pad configuration: IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e We extracted the running device tree and verified that this value is present and referenced by the enabled UART5 node. However, the switch-ON boot issue remains. 2. Working sequence with initialization baud rate 3000000 The following sequence allows Wi-Fi and Bluetooth to operate: Keep SW1 contacts 7–8 OFF before power-on. Power on the board and allow firmware initialization to complete. Confirm: [12.738590] WLAN FW is active [12.954531] wlan: Driver loaded successfully Disable Bluetooth and confirm STATE_OFF. With the board running, physically turn SW1 contacts 7–8 ON. Enable Bluetooth. With: baudrate_fw_init = 3000000 baudrate_bt = 3000000 we obtained: wait-for-state:STATE_ON: Success enabled: true state: ON Wi-Fi remained connected to P3-Devices, with IP address 10.17.36.30, supplicant state COMPLETED, and network status VALIDATED. Bluetooth scanning and pairing had also worked previously using this manual switch sequence. In the latest 3M comparison run, Bluetooth ON and the Wi-Fi connection were confirmed. 3. Test of your recommended initialization baud rate 115200 We rebuilt and flashed the vendor/super images and matching board-specific AVB metadata with: mchar_port = /dev/ttyLP4 baudrate_dl_image = 115200 iSecondBaudrate = 3000000 baudrate_fw_init = 115200 baudrate_bt = 3000000 Both the deployed configuration and HAL logs confirmed that 115200 was used. We followed the same sequence: boot with contacts 7–8 OFF, confirm WLAN firmware active, disable Bluetooth, physically turn contacts 7–8 ON, and enable Bluetooth. Wi-Fi continued to operate, but Bluetooth initialization failed: baudrate_fw_init is set to 115200 open uart port successfully, fd=6, mchar_port=/dev/ttyLP4 Read hci complete event failed timed out. Total_duration = 1000 Failed to read HCI RESET CMD response! config_uart failed The adapter did not reach STATE_ON; repeated Bluetooth stack initialization failures occurred. After restoring only the initialization baud setting to 3000000 and rebuilding the images while retaining the same experimental bootloaders and kernel, Bluetooth reached ON using the same OFF-at-boot → ON-after-initialization sequence. 4. Additional boot-time experiments We also tested: Adding the RX 0x51e configuration to the U-Boot early pinctrl hog. An experimental SCMI pinctrl-driver change to include a mux request for the zero-offset DAP_TDI pin. The original driver condition, if (mux_ofs), skips the mux request for this pin because its mux offset is zero. These experiments did not resolve the switch-ON boot failure. We have not yet confirmed through early serial logs when the configuration is applied or whether the SCMI request succeeds. We therefore do not consider these changes proven fixes. Request for a permanent solution The manual switch sequence is useful for debugging, but it is not suitable for normal operation. We need Wi-Fi and Bluetooth to initialize reliably with SW1 contacts 7–8 left ON throughout power-on and runtime, without user intervention. Could you please review these results and provide: The correct initialization baud rate for JODY-W263 / 88W8987 with this combo firmware, given that 115200 failed and 3000000 succeeded in our comparison. The required pin configuration and module power/reset sequence to maintain the correct GPIO[8]/UART_SOUT strap state during initialization while preserving UART operation afterward. The appropriate implementation location—System Manager, SPL/U-Boot, Linux pinctrl/MMC power sequencing, or a hardware change. A specific patch or validated configuration for our board/BSP, including any required GPIO polarity, reset timing, or pin-ownership changes. Please also confirm whether the zero-offset mux handling in the SCMI pinctrl driver is intentional for i.MX95. We can provide the complete successful and failed logs, running device tree, source diffs, and SW1 photographs. Please let us know which additional early-boot traces you require. Thank you for helping us move from the working manual sequence to a reliable permanent solution. Best regards, Rakesh Kumar Thakur Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue Dear Weidong, Thank you for your reply and for offering to test this next week. We checked the u-blox JODY-W2 System Integration Manual, UBX-18068879, revision R14: Page 17 documents the default UART baud rate as 3000000. Section 2.4.2, page 29, states that the baud rate after firmware loading is 3000000, and that other supported rates can be configured using the dedicated HCI baud-rate command. Therefore, the documented default is 3M; the UART is not described as permanently restricted to this rate. Our tests also support the following configuration: mchar_port = /dev/ttyLP4 baudrate_fw_init = 3000000 baudrate_bt = 3000000 With WLAN firmware active and the UART path connected, initialization at 115200 repeatedly timed out waiting for the HCI Reset response. Restoring 3000000 allowed Bluetooth to reach enabled: true, state: ON, while Wi-Fi remained connected. I would also like to clarify the physical switch operation. We are not operating SW1 to toggle Wi-Fi ON/OFF. According to the i.MX95 EVK baseboard schematic, SPF-87753-B, sheet 4, we operate SW1 section 4, contacts 7–8, on this path: Host JTAG_TDI / LPUART5_RX ↔ SW1 contacts 7–8 ↔ R17 (49.9 Ω) ↔ BT_UART5_RXD toward M.2. Here, R17 is the board resistor reference. It is separate from the u-blox document revision R14. Board resistor R14 belongs to the different CTS channel. Our observed behavior is: Contacts 7–8 ON before power-on: WLAN firmware activation fails with firmwarestat=0xf005. Contacts 7–8 OFF before power-on: WLAN firmware initializes successfully. After firmware initialization, contacts 7–8 turned ON: Bluetooth initializes at 3M, and Wi-Fi remains connected. The recommended Linux RX pull-down configuration is already applied: IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e We verified this value and the enabled UART5 node’s reference in the running device tree. However, the manual switch sequence is still required. Android Wi-Fi toggling does not physically disconnect/reconnect this UART signal path. The remaining problem is therefore reliable initialization with SW1 contacts 7–8 left ON throughout boot and runtime. Could you please investigate the required early pin configuration and module power/reset sequence, and advise whether the permanent solution requires a System Manager, U-Boot, Linux, or hardware change? We can provide the schematic excerpt, switch photographs and early serial logs for your testing. Best regards, Rakesh Kumar Thakur Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue Dear @Rakesh_Kumar_Thakur , OK, understood. Sorry , I ignored the switch. Yes, if you want to use LPUART5 on M.2,  need to enable all LPUART5 signals through SW1. Because LPUART5 signals are multiplexed through these JTAG PADs. But SW1 doesn't affect system boot.   The configuration ,  IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e is only needed to be configured in linux device tree. Not needed in u-boot device tree. Thanks, Regards, weidong Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue Dear Weidong, Thank you for clarifying the SW1 routing and that the RX pull-down configuration is required only in the Linux device tree. Could you please confirm whether this configuration alone is the complete fix for the 88W8987 initialization issue on both Linux and Automotive Android 15.0.0_2.1.0? IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e This setting is already applied and verified in our running Android device tree. However, our observed behavior remains: SW1 contacts 7–8 ON before power-on: WLAN firmware activation fails with firmwarestat=0xf005. Contacts OFF before power-on: WLAN firmware activates successfully. Contacts turned ON after firmware activation: Bluetooth initializes at 3M, and Wi-Fi remains connected. To clarify, our issue concerns WLAN firmware activation, rather than the i.MX95 system boot itself. Have you verified Wi-Fi and Bluetooth initialization from a cold power-on with all required SW1 sections left ON throughout, on both Linux and Automotive Android? Please share the tested module part number, BSP versions, and any additional patches or power/reset sequencing changes required. Our goal is reliable initialization without manually operating SW1. Best regards, Rakesh Kumar Thakur
View full article
ICEを使用したPROFINET上の周期的および非周期的通信 こんにちは、 私はFRDM i.MX RT1186ボード用のPROFINET入出力デバイスを開発しています。ICCツールでアプリケーションを作成し、ICEツールを使って動作を確認しました。 これまでにサイクリック通信をテストしましたが、wiresharkでコントローラが定期的にパケットを送受信していることがわかります。非巡回通信をテストすることは可能でしょうか?例えば、コントローラからIOデバイスを設定するための通信です。 goal_appl.c のappl_pnioCbWriteRecord 関数とappl_pnioCbReadRecord 関数は、私がやりたいことに関連しているようですが、ICE を介して非巡回通信をどのように実装すればよいのかわかりません。   よろしくお願いします!
View full article
Cyclic and acyclic communications on PROFINET with ICE Hi,  I'm working on a PROFINET I/O device for the FRDM i.MX RT1186 board. I have managed to create the application with the ICC tool and have used the ICE tool to verify that the application works. So far I have tested cyclic communications, and I can see on wireshark that the controller sends/receives packets periodically. I was wondering if it's possible to test acyclic communications. For example, communications intended to configure the IO device from the controller.   The functions appl_pnioCbWriteRecord, and appl_pnioCbReadRecord in goal_appl.c seem relevant for what I want to do, but I'm not sure how to implement the acyclic communications through ICE.   Thanks!
View full article
i.MX95 Android 15:88W8987 蓝牙 UART 超时和共享时钟带/UART RX 引脚问题 尊敬的恩智浦技术支持团队: 根据魏东的建议,我们正在为 i.MX95 平台上的蓝牙启动创建一个新的工单。Wi-Fi 现在可以正常工作了,但是我们需要指导如何在RESET期间保持正确的参考时钟选择的同时恢复蓝牙 UART 通信。 1. 硬件和软件配置 主机板:NXP i.MX95 19×19 EVK,B0 无线模块:u-blox JODY-W263-00B,基于 88W8987,通过 M.2 Key-E 接口连接。 电路板支持包。:汽车 Android 15.0.0_2.1.0 内核版本:6.12.23 Wi-Fi接口:通过uSDHC3的SDIO 蓝牙接口:LPUART5,暴露为/dev/ttyLP4 Wi-Fi 驱动程序:NXP mwifiex,来自automotive-15.0.0_2.1.0 ,版本 537.p9 固件:来自相应 Android 电路板支持包。固件库的sduart8987_combo.bin文件 固件版本:16.92.21.p151.4 固件大小:628,200 字节 我们打算继续采用推荐的 SDIO + UART 配置。 2. Wi-Fi激活失败及交换机观察 之前,已通过 SDIO 检测到该模块并完成固件传输,但固件激活失败,错误信息如下: Fail to poll firmware status: firmwarestat=0xf005 FW failed to be active in time! 调查期间,NXP 指出,RESET期间会对 88W8987 GPIO[8]/UART_SOUT 进行采样,以选择参考时钟: 低频:38.4 MHz 高:26 MHz 该信号在正常操作期间也用作蓝牙 UART TX 输出,并连接到主机 LPUART5 RX 输入。 在我们的 EVK 中,相关连接是: Module Bluetooth TX → M.2 J24 pin 22 → R607 → BT_UART5_RXD → R17 → SW1 contacts 7–8 → host LPUART5 RX 我们可重复观察到的现象是: 冷启动期间 SW1 触点 7–8 ON: Wi-Fi 固件激活失败,错误代码为0xf005 。 冷启动期间 SW1 触点 7–8 关闭: Wi-Fi 初始化成功并可运行。 我们还测试了建议的主机 RX 焊盘下拉配置: IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e 然而,之前的测试并未解决SW1触点7-8导通的问题。我们随后提取的运行设备树显示RX焊盘配置为0x31e,因此我们希望获得关于完整配置及其在启动/RESET过程中生效时间的指导。 3. Wi-Fi 配置正常,但蓝牙功能失效 将 SW1 触点 7-8 保持关闭状态可使 Wi-Fi 工作,但也会断开模块蓝牙 TX 与主机 UART RX 的连接。因此,我们预计蓝牙初始化会失败,因为主机无法接收控制器响应。 由于该板没有外接显示屏,因此蓝牙功能是通过 ADB 进行测试的。 已安装的供应商配置如下: mchar_port = /dev/ttyLP4 baudrate_fw_init = 3000000 供应商库默认将baudrate_bt设置为 3000000。UART 固件下载默认处于禁用状态;当前配置依赖于通过 Wi-Fi 驱动程序加载的组合固件。 蓝牙供应商 HAL 报告版本为 009.030,并成功打开 UART 设备: bt_vnd_init --- BT Vendor HAL Ver: 009.030 --- mchar_port set to /dev/ttyLP4 baudrate_fw_init is set to 3000000 open uart port successfully, fd=6, mchar_port=/dev/ttyLP4 然而,蓝牙协议栈仍处于BLE_TURNING_ON状态,最终中止: Can't start stack, last instance: starting HciHal 在关闭/恢复期间,供应商库还会报告: Read hci complete event failed timed out Failed to read HCI RESET CMD response! 源配置序列以 HCI RESET 命令开始。UART 设备打开成功,但尚未建立成功的控制器通信。 4. 请求指导 请问您能否就以下问题提供建议? 在 i.MX95 上应该如何处理这个共享时钟配置/蓝牙 UART 信号? 我们需要在 RESET 期间将模块的 TX/主机 RX 线置低,以选择 38.4 MHz 频率,然后在正常运行期间保持 UART 接收路径连接正常。 SW1 的 7-8 号触点和 LPUART5 RX 焊盘的推荐配置是什么?在特定的焊盘配置下,开关是否应该保持开启状态,还是需要进行额外的板级更改? 下拉电阻必须在启动的哪个阶段应用? Linux 设备树设置是否足够,还是必须在模块 RESET释放之前,由 U-Boot、系统管理器/SCMI 引脚控制或其他更早的初始化阶段配置此焊盘? 请提供推荐的电源/RESET 和引脚控制顺序,包括对 W_DISABLE2#/蓝牙使能的任何必要处理,以确保正确的时钟采样和后续的 UART 操作。 请确认电路板支持包。提供的sduart8987_combo.bin:初始 UART 波特率、工作波特率、RTS/CTS 流控制以及任何所需的唤醒/睡眠设置或供应商配置条目。 此电路板支持包。中是否存在针对88W8987模块的已验证的DTS/补丁和蓝牙供应商配置?如有,请分享用于验证的参考配置和模块部件号。 我们研究了 SDIO-SDIO 替代方案,但从 Weidong 那里了解到,这些专用软件包已经过时,没有跟上内核升级的步伐。我们尚未在此目标设备上验证 SDSD 固件,希望使用标准的 SDIO + UART 架构来解决此问题。 我们可以提供完整的蓝牙日志、运行中的设备树、原理图摘录以及RESET和蓝牙初始化期间共享跳线/UART线的示波器测量结果。请告知哪些测量点和时间条件最有用。 感谢您一直以来对启用Wi-Fi的支持。我们恳请您指导我们如何在保持现有 Wi-Fi 配置的情况下完成蓝牙启动。 此致, 拉凯什·库马尔·塔库尔 Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue 尊敬的@Rakesh_Kumar_Thakur , 请更改 baudrate_fw_init = 3000000 至 baudrate_fw_init = 115200 那就试试。 谢谢! 此致, 卫东 Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue 主题:i.MX95 / JODY-W263:波特率测试结果及无需手动切换SW1的永久解决方案请求 亲爱的卫东, 感谢您的支持。我们已测试了您提出的将baudrate_fw_init从3000000更改为115200的建议。以下是测试结果以及仍然存在的启动时间问题。 我们需要为下周的集成活动找到一个永久解决方案,因此,如果您能就所需的配置或补丁提供指导,我们将不胜感激。 平台 板:NXP i.MX95 19×19 EVK,B0 模块:u-blox JODY-W263-00B / 88W8987,M.2 Key-E 电路板支持包。:汽车 Android 15.0.0_2.1.0 内核版本:6.12.23 蓝牙供应商 HAL:009.030 Wi-Fi接口:通过uSDHC3的SDIO 蓝牙接口:UART5, /dev/ttyLP4 固件: sduart8987_combo.bin 被调查的开关: SW1,开关部分 4,触点 7–8 ,位于通往主机的蓝牙 UART RX 路径上。 1. 将 SW1 的 7-8 号触点拨至 ON 位置进行启动 Wi-Fi固件激活失败: Fail to poll firmware status: firmwarestat=0xf005 FW failed to be active in time! WLAN: Fail download FW with nowwait: 0 蓝牙也无法进入开启状态。 我们已应用推荐的Linux RX焊盘配置: IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e 我们提取了运行中的设备树,并验证了该值存在,并且已被启用的 UART5 节点引用。然而,开机启动问题仍然存在。 2. 初始化波特率为 3000000 的工作序列 以下步骤可使 Wi-Fi 和蓝牙正常工作: 开机前 请保持SW1触点7-8 关闭 。 接通板电源,等待固件初始化完成。 确认: [12.738590] WLAN FW is active [12.954531] wlan: Driver loaded successfully 关闭蓝牙并确认STATE_OFF 。 在板运行的情况下,将 SW1 触点 7-8 物理打开。 启用蓝牙。 其中: baudrate_fw_init = 3000000 baudrate_bt = 3000000 我们获得了: wait-for-state:STATE_ON: Success enabled: true state: ON Wi-Fi 仍然连接到P3 设备,IP 地址为10.17.36.30 ,请求状态为COMPLETED ,网络状态为 VALIDATED 。 之前使用这种手动切换顺序也能成功进行蓝牙扫描和配对。在最新的 3M 对比测试中,蓝牙开启和 Wi-Fi 连接均已确认。 3. 测试推荐的初始化波特率 115200 我们重新构建并刷写了厂商/超级镜像以及匹配的板 AVB 元数据,内容如下: mchar_port = /dev/ttyLP4 baudrate_dl_image = 115200 iSecondBaudrate = 3000000 baudrate_fw_init = 115200 baudrate_bt = 3000000 已部署的配置和 HAL 日志均证实使用了115200 。 我们按照相同的步骤进行操作:启动时触点 7-8 关闭,确认 WLAN 固件已激活,禁用蓝牙,物理打开触点 7-8,然后启用蓝牙。 Wi-Fi 可以继续运行,但蓝牙初始化失败: baudrate_fw_init is set to 115200 open uart port successfully, fd=6, mchar_port=/dev/ttyLP4 Read hci complete event failed timed out. Total_duration = 1000 Failed to read HCI RESET CMD response! config_uart failed 适配器未达到STATE_ON 状态;蓝牙协议栈初始化反复失败。 仅将初始化波特率设置恢复为3000000 ,并在保留相同的实验性引导加载程序和内核的情况下重建映像后,蓝牙通过相同的启动时关闭 → 初始化后开启的序列实现了开启。 4. 额外的启动时间实验 我们还测试了: 将 RX 0x51e配置添加到 U-Boot 早期引脚控制占用中。 一项实验性的 SCMI pinctrl 驱动程序更改,旨在为零偏移的 DAP_TDI 引脚添加多路复用请求。原始驱动程序条件if (mux_ofs)会跳过此引脚的多路复用请求,因为其多路复用偏移量为零。 这些实验并没有解决启动失败的问题。我们尚未通过早期串行日志确认何时应用了配置,或者 SCMI 请求是否成功。因此,我们认为这些改动并不能证明是有效的解决方案。 请求提供永久解决方案 手动切换顺序对于调试很有用,但不适用于正常运行。我们需要 Wi-Fi 和蓝牙在整个上电和运行过程中,无需用户干预,就能可靠地初始化,并且开关 SW1 的 7-8 号触点始终保持开启状态。 请您审核这些结果并提供以下信息: 鉴于在我们的比较中,115200 波特率失败而 3000000 波特率成功,因此,对于使用此组合固件的 JODY-W263 / 88W8987,正确的初始化波特率是 3000000。 初始化期间保持正确的 GPIO[8]/UART_SOUT 跳线状态,同时保持 UART 操作,所需的引脚配置和模块电源/RESET 顺序。 合适的实施位置——系统管理器、SPL/U-Boot、Linux pinctrl/MMC 电源时序控制或硬件更改。 针对我们的板/电路板支持包。 的特定补丁或已验证的配置,包括任何所需的 GPIO 极性、复位时序或引脚所有权更改。 另外,请确认 SCMI pinctrl 驱动程序中的零偏移多路复用器处理是否是 i.MX95 的有意设计。 我们可以提供完整的成功和失败日志、运行中的设备树、源代码差异和 SW1 照片。请与我们联系您还需要哪些早期启动跟踪信息。 感谢您帮助我们从手动操作流程过渡到可靠的永久解决方案。 此致, 拉凯什·库马尔·塔库尔 Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue 尊敬的@Rakesh_Kumar_Thakur , 请确认您的 u-blox wifi/bt 模块的波特率是否固定。 如果固定波特率为 115200,请尝试以下配置: mchar_port = /dev/ttyLP4 baudrate_fw_init = 115200 如果固定波特率为 3000000,请使用以下配置 mchar_port = /dev/ttyLP4 baudrate_fw_init = 3000000 那就试试吧。 我下周有时间测试一下。你可以先试试。 BYW,我不太明白你的操作。要关闭再重新打开 Wi-Fi,您只需通过 Android 系统即可完成。无需操作板上的SW1开关。 谢谢! 顺祝商祺! 卫东 Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue 亲爱的卫东, 感谢您的回复,也感谢您愿意下周进行测试。 我们查阅了u-blox JODY-W2系统集成手册,UBX-18068879,修订版R14 : 第 17 页记录了默认的 UART 波特率为3000000 。 第 2.4.2 节,第 29 页指出,固件加载后的波特率为3000000 ,其他支持的波特率可以使用专用的 HCI 波特率命令进行配置。 因此,官方记录的默认值为 3M;UART 并未被描述为永久限制于此速率。 我们的测试也支持以下配置: mchar_port = /dev/ttyLP4 baudrate_fw_init = 3000000 baudrate_bt = 3000000 在 WLAN 固件激活且 UART 路径连接的情况下,初始化过程在115200处反复超时,等待 HCI RESET 响应。恢复到3000000后,蓝牙状态变为启用:true,状态:开启,而 Wi-Fi 连接仍然保持连接。 我还想澄清一下物理开关的操作。我们并非通过操作 SW1 来切换 Wi-Fi 的开关状态。 根据 i.MX95 EVK 底板原理图 SPF-87753-B,第 4 页,我们按以下路径操作SW1 第 4 部分,触点 7–8 : 主机 JTAG_TDI / LPUART5_RX ↔ SW1 触点 7–8 ↔ R17 (49.9 Ω) ↔ BT_UART5_RXD 朝向 M.2。 此处,R17 为板电阻参考。与 u-blox 文档修订版中的 R14 不同。板电阻 R14 属于不同的 CTS 通道。 我们观察到的行为是: 开机前触点 7–8 接通: WLAN 固件激活失败,固件状态为 0xf005 。 开机前触点 7–8 关闭: WLAN 固件初始化成功。 固件初始化后,触点 7-8 开启:蓝牙初始化至 3M,Wi-Fi 保持连接。 已应用推荐的 Linux RX 下拉配置: IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e 我们验证了该值以及运行设备树中已启用 UART5 节点的引用。但是,仍然需要手动切换顺序。 Android 的 Wi-Fi 开关操作并不会物理断开/重新连接此 UART 信号路径。因此,剩下的问题是如何在整个启动和运行时保持 SW1 触点 7-8 开启的情况下可靠地进行初始化。 请您调查一下所需的早期引脚配置和模块电源/RESET 顺序,并告知永久解决方案是否需要系统管理器、U-Boot、Linux 或硬件更改? 我们可以提供原理图摘录、开关照片和早期串行日志供您测试。 此致, 拉凯什·库马尔·塔库尔 Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue 尊敬的@Rakesh_Kumar_Thakur , 好的,明白了。抱歉,我忽略了开关。 是的,如果要在 M.2 上使用 LPUART5,需要通过 SW1 启用所有 LPUART5 信号。 因为 LPUART5 信号是通过这些 JTAG 焊盘进行多路复用的。 但SW1不影响系统启动。 配置, IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e 只需在 Linux 设备树中进行配置即可。 u-boot 设备树中不需要。 谢谢! 此致, 卫东 Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue 亲爱的卫东, 感谢您澄清了 SW1 的路由,并说明 RX 下拉配置仅需要在 Linux 设备树中进行。 请问仅此配置是否能完全解决 Linux 和 Automotive Android 15.0.0_2.1.0 上的 88W8987 初始化问题? IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e 此设置已在我们正在运行的 Android 设备树中应用和验证。然而,我们观察到的现象依然存在: SW1 触点 7–8 在上电前处于 ON 状态:WLAN 固件激活失败,固件状态为 0xf005 。 开机前触点断开:WLAN固件成功激活。 固件激活后联系人开启:蓝牙初始化距离为 3 米,Wi-Fi 保持连接。 需要澄清的是,我们的问题与 WLAN 固件激活有关,而不是 i.MX95 系统本身的启动有关。 您是否已验证在 Linux 和车载 Android 系统上,从冷启动开始,所有必需的 SW1 部分始终保持开启状态,Wi-Fi 和蓝牙初始化是否正常?请提供测试模块的部件号、电路板支持包。版本以及所需的任何其他补丁或电源/复位顺序更改。 我们的目标是在无需手动操作SW1的情况下实现可靠的初始化。 此致, 拉凯什·库马尔·塔库尔
View full article
S32 Power Arhitecture Design Studio バージョン 2017.R1 ライセンスが切れました こんにちは、NXPさん。 タイトルのIDEライセンスが切れてしまい、この特定のバージョンが必要なレガシーコードベースを維持しなければなりません。ライセンスを延長してもらえますか? フルフィルメントID: 203520687 有効期限:2025年12月31日 製品:PA E200向けS32 Design Studio Re: S32 Design Studio for Power Arhitecture Version 2017.R1 license expired こんにちは、ヨシップさん。 お客様のS32DSライセンスが延長されました。以前のコードを使用して、S32DSを再度有効化してください。
View full article
S32 电力架构设计工作室 2017.R1 版许可证已过期 您好,NXP, 我购买的 IDE 许可证已过期,但我需要维护一个遗留代码库,因此我需要这个特定版本。您能否延长许可证期限? 订单号:203520687 有效期至:2025年12月31日 产品:S32 设计工作室(适用于 PA E200) Re: S32 Design Studio for Power Arhitecture Version 2017.R1 license expired 嗨,约瑟普, 您的S32DS许可证已延期。请使用您之前的激活码重新激活S32DS。
View full article
在PROFINET上使用ICE进行循环和非循环通信 你好, 我正在为 FRDM i.MX RT1186 板开发 PROFINET I/O 设备。我已经使用 ICC 工具创建了应用程序,并使用 ICE 工具验证了该应用程序是否有效。 到目前为止,我已经测试了循环通信,并且我可以在 Wireshark 中看到控制器周期性地发送/接收数据包。我想知道是否可以测试非循环通信。例如,用于从控制器配置 I/O 设备的通信。 goal_appl.c 中的appl_pnioCbWriteRecord 和 appl_pnioCbReadRecord 函数似乎与我想要做的事情相关,但我不知道如何通过 ICE 实现无循环通信。   谢谢您!
View full article
i.MX95 Android 15:88W8987 Bluetooth UARTタイムアウトと共有クロックストラップ/UART RXピンの問題 親愛なるNXPサポートチームへ、 Weidongの勧告に従い、i.MX95プラットフォームでBluetooth導入の新規チケットを開設します。Wi-Fiは正常に動作するようになりましたが、リセット中に正しい基準クロックを選択したまま、Bluetooth UART通信を復旧させる方法についてご教示いただく必要があります。 1. ハードウェアおよびソフトウェア構成 ホストボード:NXP i.MX95 19×19 EVK、B0 無線モジュール:u-blox JODY-W263-00B、88W8987をベースに、M.2 Key-Eを介してコネクテッド BSP:オートモーティブAndroid 15.0.0_2.1.0 カーネル: 6.12.23 Wi-Fiインターフェース:SDIOからuSDHC3まで Bluetoothインターフェース:LPUART5、/dev/ttyLP4として公開されています Wi-Fiドライバー: オートモーティブ-15.0.0_2.1.0のNXP mwifiex、リリース537.p9 ファームウェア: 対応するAndroid BSPファームウェアリポジトリからsduart8987_combo.bin ファームウェアバージョン:16.92.21.p151.4 ファームウェアサイズ:628,200バイト 推奨されているSDIO + UART構成を引き続き採用する予定です。 2. Wi-Fiの起動失敗とスイッチの観察 以前は、モジュールはSDIO経由で検出され、ファームウェアの転送は完了しましたが、ファームウェアのアクティベーションが以下のエラーで失敗しました。 Fail to poll firmware status: firmwarestat=0xf005 FW failed to be active in time! 調査の結果、NXPは、88W8987 GPIO[8]/UART_SOUTがリセット時にサンプリングされ、基準クロックが選択されていると報告した。 低周波数: 38.4 MHz HIGH: 26 MHz この信号は、通常動作時にはBluetooth UART TX出力としても機能し、ホストのLPUART5 RX入力に接続されます。 当社のEVKにおける関連接続は次のとおりです。 Module Bluetooth TX → M.2 J24 pin 22 → R607 → BT_UART5_RXD → R17 → SW1 contacts 7–8 → host LPUART5 RX 我々が繰り返し観察した結果は以下のとおりです。 コールドブート中にSW1が7–8オンに接続:Wi-Fiファームウェアのアクティベートが0xf005で失敗します。 SW1がコールドブート中に7–8のOFFに接触: Wi-Fiは正常に初期化され、動作します。 また、推奨されたホストRXパッドのプルダウン構成についてもテストしました。 IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e しかし、以前のテストではSW1接点7–8オンの故障は解決しませんでした。その後抽出した実行中のデバイスツリーにはRXパッドの設定 が示0x31eため、完全な構成方法と起動・リセット時にいつ発効するかについてのガイダンスをいただけるとありがたいです。 3. Wi-Fi設定は正常に動作しているが、Bluetoothが故障する SW1の接点を7〜8オフにするとWi-Fiは動作しますが、同時にモジュールのBluetooth TXがホストUART RXから切断されます。したがって、ホストがコントローラの応答を受け取れないため、Bluetoothの初期化が失敗すると予想されます。 BluetoothはADBでテストされます。基板にはコネクテッドディスプレイがないためです。 インストールされているベンダー構成は以下のとおりです。 mchar_port = /dev/ttyLP4 baudrate_fw_init = 3000000 ベンダーライブラリはデフォルトbaudrate_btで 3000000です。UARTファームウェアのダウンロードはデフォルトで無効化されています。現在の構成はWi-Fiドライバを通じて読み込まれたコンボファームウェアに依存しています。 BluetoothベンダーのHALはバージョン009.030を報告し、UARTデバイスを正常に開きました。 bt_vnd_init --- BT Vendor HAL Ver: 009.030 --- mchar_port set to /dev/ttyLP4 baudrate_fw_init is set to 3000000 open uart port successfully, fd=6, mchar_port=/dev/ttyLP4 しかし、BluetoothスタックはBLE_TURNING_ON状態のままになり、最終的に異常終了します。 Can't start stack, last instance: starting HciHal クローズ/リカバリ中、ベンダーライブラリは以下の情報も報告します。 Read hci complete event failed timed out Failed to read HCI RESET CMD response! ソース構成シーケンスは、HCIリセットコマンドから始まります。UARTデバイスの起動は成功しましたが、コントローラとの通信は成功していません。 4. 指導要請 以下の点についてアドバイスいただけますか? この共有クロック設定/Bluetooth UART信号はi.MX95上でどのように扱うべきでしょうか? 38.4 MHz選択時にはリセット時にモジュールTX/ホストRXラインをLOWにし、通常動作時にはコネクテッドされた機能するUART受信パスが必要です。 SW1の接点7〜8とLPUART5 RXパッドの推奨構成は何ですか? スイッチは特定のパッド構成でオンのままでいるべきでしょうか、それとも基板レベルの追加の変更が必要ですか? プルダウンはどのブート段階で適用すべきですか? Linuxのデバイスツリー設定で十分でしょうか?それともモジュールリセットが解放される前にU-Boot、System マネージャ/SCMIピン制御、または他の初期化段階でこのパッドを設定する必要がありますか? クロックサンプリングとそれに続くUART動作が正しく行われるように、推奨される電源投入/リセットおよびピン制御シーケンス(W_DISABLE2#/Bluetooth有効化の必要な処理を含む)を提供してください。 BSPが提供するsduart8987_combo.binのBluetooth設定を確認してください。具体的には、初期UARTボーレート、動作ボーレート、RTS/CTSフロー制御、および必要なウェイク/スリープ設定やベンダー設定エントリなどを確認してください。 このBSP上で、88W8987モジュール用の検証済みDTS/パッチおよびBluetoothベンダー構成はありますか?もしあれば、検証に使用した参照構成とモジュール部品番号を教えてください。 SDIO-SDIOの代替案も調査しましたが、Weidongによると、これらの専門パッケージは時代遅れでカーネルのアップグレードに追いついていないとのことです。このターゲット上でSDSDファームウェアの検証は行っておらず、標準のSDIO + UARTアーキテクチャを使用して問題を解決したいと考えています。 リセットおよびBluetooth初期化時に共有されたストラップ/UARTラインの完全なBluetoothログ、動作装置ツリー、回路図抜粋、オシロスコープ測定などを提供できます。どの測定ポイントと測定タイミング条件が最も有用か教えてください。 Wi-Fiの有効化を引き続きサポートいただき、ありがとうございます。動作中のWi-Fi設定を維持したまま、Bluetoothの起動を完了させるためのご指導をいただければ幸いです。 よろしくお願いします、 ラケシュ・クマール・タクール Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue @Rakesh_Kumar_Thakur様、 変更してください baudrate_fw_init = 3000000 ~ baudrate_fw_init = 115200 それでは、試してみてください。 ありがとうございます よろしくお願いいたします。 魏東 Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue 件名:i.MX95 / JODY-W263:ボーレートテスト結果と、手動SW1切り替えなしの恒久的な解決策のリクエスト 親愛なる魏東様 サポートありがとうございます。baudrate_fw_initを3000000 から115200に変更するという推奨をテストしました。以下に結果と残りの起動時間の問題を示します。 来週の統合活動のために恒久的な解決策が必要なので、必要な構成やパッチについてのご指導をいただけるとありがたいです。 プラットフォーム ボード: NXP i.MX95 19×19 EVK、B0 モジュール: u-blox JODY-W263-00B / 88W8987、M.2 Key-E BSP:オートモーティブAndroid 15.0.0_2.1.0 カーネル: 6.12.23 BluetoothベンダーHAL: 009.030 Wi-Fiインターフェース:SDIOからuSDHC3まで Bluetoothインターフェース:UART5、 /dev/ttyLP4 ファームウェア: sduart8987_combo.bin 調査中のスイッチ: SW1、スイッチセクション4、接点7–8、ホスト側のBluetooth UART RX経路上。 1. SW1接点7–8オンのブート Wi-Fiファームウェアの有効化に失敗しました。 Fail to poll firmware status: firmwarestat=0xf005 FW failed to be active in time! WLAN: Fail download FW with nowwait: 0 Bluetoothもオン状態になりません。 推奨されているLinux RXパッドの構成を適用しました: IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e 実行中のデバイスツリーを抽出し、この値が存在し、有効化されたUART5ノードによって参照されていることを確認しました。しかし、スイッチオン時の起動問題は依然として残っています。 2. 初期化ボーレート3000000での動作シーケンス 以下の手順を実行することで、Wi-FiとBluetoothが動作します。 電源を入れる前に SW1の接点を7〜8度オフに保ち ましょう。 基板の電源を入れ、ファームウェアの初期化が完了するまで待ちます。 確認する: [12.738590] WLAN FW is active [12.954531] wlan: Driver loaded successfully Bluetoothを無効にして、 STATE_OFFであることを確認してください。 ボードが動いている状態で、物理的にSW1接点を7〜8のオンに回します。 Bluetoothを有効にする。 説明: baudrate_fw_init = 3000000 baudrate_bt = 3000000 我々は以下を得た: wait-for-state:STATE_ON: Success enabled: true state: ON Wi-FiはP3デバイスとコネクテッドのままで、IPアドレスは10.17.36.30、請求者の状態は完了、ネットワークステータスは検証済みでした。 Bluetoothスキャンやペアリングも、この手動スイッチシーケンスで以前は動作していました。最新の3M社による比較テストでは、Bluetoothのオン状態とWi-Fi接続が確認されました。 3. 推奨初期化ボーレート115200のテスト ベンダー/スーパーイメージと、それに対応するボード固有のAVBメタデータを再構築してフラッシュしました。 mchar_port = /dev/ttyLP4 baudrate_dl_image = 115200 iSecondBaudrate = 3000000 baudrate_fw_init = 115200 baudrate_bt = 3000000 展開された構成とHALログの両方で、 115200が使用されたことが確認されました。 同じ手順で、連絡先7–8をOFFで起動し、WLANファームウェアが有効か確認、Bluetoothを無効にし、お問い合わせ7–8を物理的にオンにしてからBluetoothを有効にしました。 Wi-Fiは引き続き動作したが、Bluetoothの初期化に失敗した。 baudrate_fw_init is set to 115200 open uart port successfully, fd=6, mchar_port=/dev/ttyLP4 Read hci complete event failed timed out. Total_duration = 1000 Failed to read HCI RESET CMD response! config_uart failed アダプタがSTATE_ON状態に達しませんでした。Bluetoothスタックの初期化に繰り返し失敗しました。 初期化時のボーレート設定のみを3000000に戻し、同じ実験的なブートローダーとカーネルを保持したままイメージを再構築したところ、Bluetoothは起動時にオフ→初期化後にオンという同じシーケンスを使用してオンになりました。 4. 追加の起動時実験 また、以下の項目もテストしました。 U-Bootの初期のpinctrl hogにRX 0x51eの設定を追加します。 実験的なSCMIのpinctrl-ドライバ変更により、ゼロオフセットDAP_TDIピンへの多解請求が含まれています。元のドライバ条件(mux_ofs)は、そのピンの多解消オフセットがゼロであるため、多解請求をスキップします。 これらの実験ではスイッチオンの起動失敗は解決しませんでした。初期シリアルログからは、設定がいつ適用されたのか、あるいはSCMIリクエストが成功したのかはまだ確認できていません。したがって、これらの変更は確実な解決策とは考えていません。 恒久的な解決策を求める 手動スイッチシーケンスはデバッグには有用ですが、通常の動作には適していません。Wi-FiとBluetoothが、電源オンおよび実行時の間、SW1のお問い合わせ7〜8をオンのままにして、ユーザーの介入なしに確実に初期化する必要があります。 これらの結果を確認し、以下の内容をご提供いただけますか: このコンボファームウェアを使用したJODY-W263 / 88W8987の正しい初期化ボーレートは、比較において115200が失敗し、3000000が成功したことを踏まえて決定しました。 初期化中に正しい GPIO[8]/UART_SOUT ストラップの状態を維持し、その後も UART の動作を維持するために必要なピン構成とモジュール電源/リセットシーケンス。 適切な実装場所は、システムマネージャー、SPL/U-Boot、Linux pinctrl/MMCの電源シーケンス、またはハードウェアの変更です。 必要なGPIO極性、リセットタイミング、ピン所有権の変更などを含め、当社のボード/BSP専用のパッチまたは検証済み構成。 また、SCMIのpinctrlドライバにおけるゼロオフセットマルチプレクサ処理がi.MX95向けに意図されているかどうかも確認してください。 成功ログと失敗ログの完全なファイル、デバイスツリーの実行、ソース差分、SW1の写真も提供可能です。追加の起動時トレースが必要な場合はお知らせください。 手作業による手順から、信頼性の高い恒久的な解決策へと移行するお手伝いをしていただき、ありがとうございました。 よろしくお願いします、 ラケシュ・クマール・タクール Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue @Rakesh_Kumar_Thakur様、 u-blox製のWi-Fi/Bluetoothモジュールでボーレートが固定されているかどうかをご確認ください。 固定ボーレートが115200の場合は、以下の設定を試してください。 mchar_port = /dev/ttyLP4 baudrate_fw_init = 115200 固定ボーレートが3000000の場合は、設定を使用します mchar_port = /dev/ttyLP4 baudrate_fw_init = 3000000 それでは、試してみてください。 来週ならテストする時間が取れるだろう。まずは試してみてはどうでしょうか。 ところで、あなたの事業内容がよく理解できていないのですが。Wi-FiのオンオフはAndroid経由で簡単にできます。ボード上のSW1スイッチを操作する必要はありません。 ありがとうございます よろしくお願いいたします。 維東 Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue @Rakesh_Kumar_Thakur様、 はい、わかりました。すみません、スイッチを無視しました。 はい、M.2でLPUART5を使用する場合は、SW1を介してすべてのLPUART5信号を有効にする必要があります。 LPUART5信号はこれらのJTAGパッドを介して多重化されるためです。 しかし、SW1はシステム起動には影響しません。 構成、 IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e Linuxデバイスツリーでのみ設定すればよい。 u-bootのデバイスツリーには不要です。 ありがとうございます よろしくお願いいたします。 魏東 Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue 親愛なる魏東様 ご返信いただき、また来週テストしていただけるとのこと、ありがとうございます。 u-blox JODY-W2システム統合マニュアル(UBX-18068879、改訂版R14) を確認しました 。 17ページには、デフォルトのUARTボーレートが3000000であると記載されています。 セクション2.4.2の29ページには、ファームウェアロード後のボーレートは3000000であり、専用のHCIボーレートコマンドで他のサポートレートを設定できると記載されています。 したがって、文書に記載されているデフォルト値は3Mであり、UARTがこの速度に恒久的に制限されているとは記載されていません。 私たちのテストは以下の構成もサポートしています: mchar_port = /dev/ttyLP4 baudrate_fw_init = 3000000 baudrate_bt = 3000000 WLANファームウェアが有効でUARTパスが接続されている場合、 115200 での初期化が繰り返しタイムアウトし、HCIリセット応答を待ちました。 3000000 を復元することで、Bluetoothは有効(true、state:ON)に到達し、Wi-Fiはコネクテッドされたままでした。 また、物理的なスイッチの操作についても明確にしたいと思います。SW1ではWi-Fiのオン/オフを切り替えることはできません。 i.MX95 EVKベースボード回路図SPF-87753-B、シート4によれば、SW1セクション4、接点7–8を以下の経路で操作しています。 ホストJTAG_TDI/LPUART5_RX ↔ SW1がM.2に向かって7–8 ↔ R17(49.9 Ω)↔ BT_UART5_RXD接触。 ここで、R17は基板抵抗の基準です。これはu-blox文書のリビジョンR14とは別です。基板抵抗R14は異なるCTSチャネルに属します。 我々が観察した行動は以下のとおりです。 電源オン前の7–8のコンタクト:firmwarestat=0xf005でWLANファームウェアのアクティベーションが失敗します。 7–8の接点が電源オン前にOFF: WLANファームウェアが正常に初期化されました。 ファームウェア初期化後、連絡先7〜8がオンになり、 Bluetoothは3Mで初期化され、Wi-Fiはコネクテッドのままです。 推奨されるLinux RXのプルダウン構成はすでに適用されています: IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e 実行中のデバイスツリー内で、この値と有効化されたUART5ノードの参照を確認しました。しかし、手動のスイッチシーケンスは依然として必要です。 Android Wi-Fiの切り替えは、このUART信号経路を物理的に切断・再接続することはありません。したがって、残りの問題は、起動および実行時を通じてSW1の接点7–8をオンのままにしたままの信頼性の高い初期化です。 必要な早期ピン設定やモジュールの電源/リセットシーケンスについて調査し、恒久的な解決策にはシステムマネージャー、U-Boot、Linux、またはハードウェアの変更が必要なのか助言いただけますか? テストのために、回路図抜粋、スイッチ写真、初期シリアルログを提供できます。 よろしくお願いします、 ラケシュ・クマール・タクール Re: i.MX95 Android 15: 88W8987 Bluetooth UART timeout and shared clock-strap/UART RX pin issue 親愛なる魏東様 SW1のルーティングについて明確にしてくれて、RXのプルダウン設定はLinuxデバイスツリーでのみ必要だと教えてくれてありがとうございます。 この構成だけでLinuxとオートモーティブAndroid 15.0.0_2.1.0の両方で88W8987の初期化問題が完全に解決できるのか確認していただけますか? IMX95_PAD_DAP_TDI__LPUART5_RX 0x51e この設定はすでに当社の実行中のAndroidデバイスツリーで適用・検証されています。しかし、我々が観察した行動は依然として以下の通りである。 SW1は電源オン前に7〜8オンに接続:firmwarestat=0xf005でWLANファームウェアのアクティベーションが失敗します。 電源オン前にお問い合わせがオフ:WLANファームウェアが正常にアクティベートされます。 ファームウェア起動後に連絡先がオンになった場合:Bluetoothは3Mで初期化され、Wi-Fiはコネクテッドのままです。 明確にしておきますが、私たちの問題はi.MX95システムの起動自体ではなく、WLANファームウェアの有効化に関するものです。 LinuxとオートモーティブAndroidの両方で、必要なSW1セクションをすべてオンにして冷たい電源を入れた状態でWi-FiとBluetoothの初期化を確認しましたか?テスト対象モジュールの部品番号、BSPバージョン、および必要な追加パッチや電源/リセットシーケンスの変更点をお知らせください。 私たちの目標は、SW1を手動で操作することなく、確実に初期化することです。 よろしくお願いします、 ラケシュ・クマール・タクール
View full article
S32K344 QuadSPIから外部NVMメモリへ 私はQuadSPIモジュールを使用して、外部FRAM NVMデバイスであるCY15B102QSNと通信しています。今のところはシンプルさを保つため、デバイスとモジュールをシングルSPIモードで使用しています。 メモリへの読み書きルーチンと、読み書きをサポートするLUTシーケンスを作成しました。私の問題は、これらの関数とLUTシーケンスにおける処理の流れがどうあるべきかという点です。 s32k344 参照。マニュアルにはこの点についてあまり明確な説明がありません。 NVMへの読み書きアクセスを開始するために、s32k344のどのレジスタに書き込みが必要ですか?もし良いNXPドライバの例があれば助かります。 以下のサンプル関数を読み書きしてください。 // 読み取りシーケンス =============================================== ReadコマンドでLUTシーケンスを指定するためにBFGENCRレジスタを使用しています。 次に、C言語のステートメントを使用してメモリのアドレスを変数に読み込みます。 // 擬似コードの例 /* AHB クワッド読み取り操作 */      for(unit32 i=0; i < buf_size; ++i)         {             /*  AHB 読み取り用の LUT Seq id の値で BFGENCR[SEQID] を書き込みます。*/                quad_base_addr->BFGENCR = (quad_base_addr->BFGENCR &  ~QuadSPI_BFGENCR_SEQID_MASK) |  QuadSPI_BFGENCR_SEQID(qspi_lut_seq_read_memory);                /* 次のデータ要素を取得します */ buffer[i] = *(volatile U8_T *)(mem_addr[i]);         } // 書き込みシーケンス ============================================ 書き込みコマンドでLUTシーケンスを指定するためにBFGENCRレジスタを使用するかどうかは私には明確ではありません。 または、レジスタ書き込み時と同様にSFARとIPCRを使用するためです。 // SFARとIPCRを使用した擬似コードの例     for(unint32 i=0; i < buf_size; ++i)         {                            /* FRAMへの書き込みを有効にするためにWRENコマンドを書き込む */ cy15_write_opcode_wren(quad_base_addr, qspi_lut_seq_wren_opcode);             if(G_FALSE == qspi_is_tx_full(quad_base_addr)){     /** シリアルフラッシュアドレスレジスタ(SFAR)にメモリのアドレスをロードします */ quad_base_addr->SFAR = mem_addr;         /* シーケンスをトリガーする前に、データを TX FIFO に書き込みます。*/                    quad_base_addr->TBDR = buffer[i];         /** シーケンス ID = (1) で IPCR を書き込み用に設定、IDATASZ = 8 バイト * これでシーケンスが開始されます。*/               quad_base_addr->IPCR  = QuadSPI_IPCR_SEQID(1) | QuadSPI_IPCR_IDATSZ(8);         /* 操作が完了するまで待機してから戻ります。*/                    if( G_FALSE == qspi_wait_for_idle(quad_base_addr)){                        ret_val = QSPI_TIMEOUT_BUSY;                 }            }     } // または、読み取り操作により近いものを使用します ======================= /* AHB 書き込みクワッド操作 */     for(i=0; i < buf_size; ++i)         {             /* AHB 書き込み用の LUT Seq id の値で BFGENCR[SEQID] を書き込みます。*/                quad_base_addr->BFGENCR = (quad_base_addr->BFGENCR & ~QuadSPI_BFGENCR_SEQID_MASK) |  QuadSPI_BFGENCR_SEQID(qspi_lut_seq_write_memory);                /* 次のデータ要素を取得します */ *(volatile U8_T *)(mem_addr[i]) = buffer[i];     } Re: S32K344 QuadSPI to external NVM Memory AHBの読み取りフローは原理的には正しいですが、BFGENCR[SEQID]は読み取りループの前に一度だけ設定し、バイトごとに設定しないでください。QSPI AHBウィンドウから、例えばQSPIベースアドレスとFRAMオフセットを読み取ります。mem_addrがベースアドレスである場合は、mem_addr[i]ではなく、ベースアドレスに現在のオフセットを加えた値を使用します。 S32K344ではAHB書き込みアクセスはサポートされていません。したがって、BFGENCR の後にポインタ書き込みを行わないでください。IPコマンドを使用してFRAMに書き込みます。 CY15B102QSNデータシートの指示に従ってWRENを送信してください。 SFARには、メモリマップされたCPUアドレスではなく、外部FRAMオフセットを書き込みます。 TBDRを介して、書き込みデータ全体をTX FIFOにロードします。 書き込みLUTシーケンスIDとIDATASZを使用してIPCRを書き込みます。 QuadSPIモジュールがアイドル状態になり、IPトランザクションが完了するまでお待ちください。 示されている例では、IDATASZは8ですが、TBDRには1つのバッファ要素しかロードされていません。8バイトすべてをロードして8バイトのトランザクションを1回実行するか、IDATASZを1に設定して1バイトのトランザクションを実行するかのいずれかを選択してください。最初の選択肢の方が望ましい。SFARは各ブロックごとに前倒しで算出する必要がある。WRENは、FRAMデータシートの要件に従って、書き込みトランザクション全体ごとに処理されるべきであり、個々のバイトをロードする際に意図せず繰り返されるべきではない。 IP読み出しの場合、FRAMオフセットをSFARに書き込み、IPCRを介して読み出しシーケンスを開始し、RXバッファから結果を読み出します。通常のリードでは、AHB方法の方がシンプルで効率的です。 LUTはCY15B102QSNプロトコルに準拠している必要があります。具体的には、シングルパッドのコマンド、アドレス、データフェーズ、および正しいアドレス幅が必要です。このFRAMに適用可能でない限り、NORフラッシュの消去やWIP処理を追加しないでください。FRDM-A-S32K344用のQspi_Ip_Example_S32K344およびQSPIフラッシュメモリ読み書きデモは出発点として使用できますが、それらのNRフラッシュLUTコマンドやステータス処理はFRAMに適応する必要があります。
View full article
GUI Guider V2.0.1导入图片有问题 我使用相同的图片使用GUI Guider 1.9.0导入时显示正常,实际效果如下: 但是使用GUI Guider 2.0.1导入后效果如下: 下面是我使用的图片源文件: Re: GUI Guider V2.0.1导入图片有问题 嗨@Byronyang , 对于带有透明度的图像,请使用 RGB565A8 或 ARGB8888。RGB565 不支持 alpha 通道,因此使用此格式导入图像时,背景为黑色是正常的。 此致, 文斌 Re: GUI Guider V2.0.1导入图片有问题 请您帮忙确认一下您使用 GUI Guider 2.0.1 的操作系统是什么? Windows 11 您的项目是空白模板吗?适用于哪个板? 其他步骤和你一样,只是不同的是图片设置为RGB565 然后再导入图片 Re: GUI Guider V2.0.1导入图片有问题 Hello 请您帮忙确认一下您使用 GUI Guider 2.0.1 的操作系统是什么? 您的项目是空白模板吗?适用于哪个板? 创建项目时,你选择了什么比例?   我用的是 Windows 11 系统;我分享一下我导入图片的方法捕获,看看这个方法对你有没有用。 在 GUI 引导侧菜单中,选择图像 在“属性”部分,单击选择图像源并加载您的图像。   我使用的是同一张图片,它在用户界面编辑器中显示正常,你是不是做了什么不同的操作?如果是这样,请解释一下步骤。   此致敬礼,路易斯
View full article
将外部 32K 振荡器定义为 FLL 源时存在问题 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我配置32K作为时钟源时遇到问题……配置代码附在后面。 MCG_C2 = 0; //new MCG_C2 = MCG_C2_HGO_MASK | MCG_C2_EREFS_MASK; //new MCG_C1 = 0; //new /* Wait for crystal to initialize */ while (!(MCG_S & MCG_S_OSCINIT_MASK)) {}; /* Wait for Reference Clock Status bit to clear */ while (MCG_S & MCG_S_IREFST_MASK) {}; /* Wait for clock status bits to show clock source * is external reference clock */ //while (((MCG_S & MCG_S_CLKST_MASK) >> MCG_S_CLKST_SHIFT) != 0x2) {}; //new while (((MCG_S & MCG_S_CLKST_MASK) >> MCG_S_CLKST_SHIFT) != 0x0) {}; //new FEE MCG_C4 |= MCG_C4_DMX32_MASK | MCG_C4_DRST_DRS(3); /* Now in FBE * Configure PLL Reference Divider, PLLCLKEN = 0, PLLSTEN = 0, PRDIV = 0x18 * The crystal frequency is used to select the PRDIV value. * Only even frequency crystals are supported * that will produce a 2MHz reference clock to the PLL. */ //MCG_C5 = MCG_C5_PRDIV(BSP_REF_CLOCK_DIV - 1); /* Ensure MCG_C6 is at the reset default of 0. LOLIE disabled, * PLL disabled, clock monitor disabled, PLL VCO divider is clear */ MCG_C6 = 0; /* Calculate mask for System Clock Divider Register 1 SIM_CLKDIV1 */ SIM_CLKDIV1_COPY = SIM_CLKDIV1_OUTDIV1(BSP_CORE_DIV - 1) | SIM_CLKDIV1_OUTDIV2(BSP_BUS_DIV - 1) | SIM_CLKDIV1_OUTDIV3(BSP_FLEXBUS_DIV - 1) | SIM_CLKDIV1_OUTDIV4(BSP_FLASH_DIV - 1); Re: Problem with defining external 32K oscillator as FLL source 感到孤独吗?打破沉默,瞬间与世界连接!试试Omegle 聊天,结识来自世界各地的新朋友,随时随地开启即兴对话。 Re: Problem with defining external 32K oscillator as FLL source 感到孤独吗?打破沉默,瞬间与世界连接!试试 Omegle 聊天,结识来自世界各地的新朋友,随时随地开启即兴对话。https://omeglechat.love/ Re: Problem with defining external 32K oscillator as FLL source <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 在 SIM 模块中有一个寄存器;SIM_SOPT2,其中包含字段;MCGCLKSEL,允许您将 RTS 振荡器(EXTAL32 和 XTAL32 输入)映射到 FLL。您已将此字段设置为 1。 从那里,您可以使用 FEE 模式来产生更高的 FLL 时钟频率。 Re: Problem with defining external 32K oscillator as FLL source <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 那就是罪魁祸首。我可以将实时时钟 (RTC) 配置为系统时钟吗? Re: Problem with defining external 32K oscillator as FLL source <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 1. 您的外部 32K 振荡器是连接到 EXTAL 还是 EXTAL32 / XTAL32(RTC 振荡器)?
View full article
IMX8MM ECSPI引脚未配置为SPI;卡在GPIO模式 我有一颗 IMX8MM 处理器,我正在尝试将其配置为 Linux 6.6.52.2.2.1。其中一个关键外围设备位于 ECSPI1 上。在DTS中,引脚控制组设置如下: pinctrl_ecspi1: ecspi1grp { #define CAN_CS_N_PIN <&gpio5 9 GPIO_ACTIVE_LOW> fsl,pins = < MX8MM_IOMUXC_ECSPI1_SCLK_ECSPI1_SCLK 0x19 MX8MM_IOMUXC_ECSPI1_MOSI_ECSPI1_MOSI 0x19 MX8MM_IOMUXC_ECSPI1_MISO_ECSPI1_MISO 0x19 MX8MM_IOMUXC_ECSPI1_SS0_GPIO5_IO9 0x15F // GPIO CS to avoid known hardware bug >; }; 引脚控制组绑定到 ecspi1,如下所示 &ecspi1 { clocks = <&clk IMX8MM_CLK_ECSPI1_ROOT>, <&clk IMX8MM_CLK_ECSPI1_ROOT>; clock-names = "ipg", "per"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi1>; num-cs = <1>; cs-gpios = CAN_CS_N_PIN; #address-cells = <1>; #size-cells = <0>; status = "okay"; // Peripheral 0 }; 但是,当我使用 memtool 检查 SCLK、MOSI 和 MISO 的引脚复用配置时,它显示为 5,这是 GPIO 模式,也是默认值。 果然,时钟没有脉冲,但我可以使用 gpioset 命令将这些引脚作为 GPIO 进行控制。 这些引脚复用器处于默认值这一事实表明我在 DTS 中缺少某些东西,但我不知道是什么。有人了解情况吗? i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Linux Re: IMX8MM ECSPI pins not configuring for SPI; stuck in GPIO mode 嗨@jmosi 请反编译你正在使用的 dtb 文件,需要检查是否有其他代码将 ECSPI 引脚设置为 GPIO 模式。 此致, 志明 Re: IMX8MM ECSPI pins not configuring for SPI; stuck in GPIO mode 分解过程已完成。初步检查未发现任何重复使用情况——ECSPI1 的引脚复用寄存器偏移量(0x1f4、0x1f8、0x1fc、0x200)除了我设置的(ecspi1grp)之外,没有出现在输出的任何其他 fsl、pin 属性中——但我对这些事情远非专家。您的意见非常宝贵。谢谢你! Re: IMX8MM ECSPI pins not configuring for SPI; stuck in GPIO mode 嗨@jmosi 我检查了反编译后的 DTS 文件,看起来一切正常——没有配置问题。请确认运行时是否正在使用此 DTB,以及是否存在 DTB 覆盖配置。 此致, 志明
View full article
GUI Guider V2.0.1で画像のインポートに問題が発生しています。 GUI Guider 1.9.0を使用して同じ画像をインポートしたところ、正しく表示され、実際の結果は以下のとおりです。 しかし、GUI Guider 2.0.1を使用してインポートした結果は以下のとおりです。 以下は私が使用した画像ソースファイルです。 Re: GUI Guider V2.0.1导入图片有问题 こんにちは、 @Byronyang さん。 透明度のある画像には、RGB565A8またはARGB8888を使用してください。RGB565はアルファチャネルをサポートしていないため、このフォーマットで画像をインポートする際には黒い背景が予想されます。 よろしくお願いします、 ウェンビン Re: GUI Guider V2.0.1导入图片有问题 GUI Guider 2.0.1を使っているOSを教えていただけますか? Windows 11 あなたのプロジェクトは空白のテンプレートですか?どの委員会向けですか? その他の手順と唯一の違いは、画像が RGB565 に設定されていることです。 その後、再び写真を挿入します Re: GUI Guider V2.0.1导入图片有问题 Hello GUI Guider 2.0.1を使っているOSを教えていただけますか? あなたのプロジェクトは空白のテンプレートですか?どの委員会向けですか? プロジェクトを作成した際、どの比率を選択しましたか?   私はWindows 11を使っています。画像をインポートする方法のキャプチャを共有しています。もしそれがあなたに合うか教えてください GUI Guider サイドメニューで、画像を選択します。 プロパティセクションで画像ソースを選択し、画像を読み込みます。   私も同じ画像を使っていますが、UIエディタにも表示されます。何か違うことをされたのですか?もしそうなら、手順を説明してください   敬具、ルイス
View full article