Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
使用 S32G3 进行 A53 RESET 和锁步启动 尊敬的恩智浦技术支持团队: 当从 S32G399A-EVB3 上的 Cortex-M7 启动时,Cortex-A53 是否会自动保持 RESET 状态? M7 配置 Cortex-A53 锁步模式后,释放 A53 RESET 并允许其开始执行的正确步骤是什么? 请您阐明预期的 RESET 行为,并提供推荐的 RESET 释放顺序? 此致, 托安 Re: A53 reset and lockstep boot with S32G3 你好,Toan 感谢您与我们联系。 我会帮您核实,并在下次回复您。 关于 S32G3 电路板支持包。48.0.0 的 RESET 顺序和 A53 锁步启动流程的说明 - NXP 社区 BR 乔伊
View full article
RT1186 TSN DEMO build problem I have two i.MX RT1186 FRDM boards, then import frdmimxrt1186_tsn_app_cm33 project, there are several build configrations, I have no idea which one should I choose. My goal is to test the basic TSN communication with fgptp enabled. After connecting two boards via an Ethernet cable, I expect to see serial port logs showing that the two devices have negotiated their master and slave roles. The description in the user guide is complicated. Could anyone please outline the general steps to achieve this? Re: RT1186 TSN DEMO build problem Dear @ChandlerY , Please select ‘release’ for fgptp testing. For detailed configuration instructions, please refer to  Please refer to https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/Step-by-Step-Guide-to-Running-the-GenAVB-TSN-Stack-FreeRTOS/ta-p/2390969, chapter 2.4: Best Regards, Shelly
View full article
カスタムi.MX95 SOMでLPUART3とCAN1を有効にするとカーネルパニックが発生する こんにちは、 私たちはNXP i.MX95カスタムSOMの開発に取り組んでおり、 RS485通信用にLPUART3を設定しようとしています。 しかし、デバイスツリーで適切なピン多重化設定を使用してLPUART3を有効にすると、カーネルパニックが発生します。CAN1ピンの設定時にも同様の問題が発生しています。 調査の結果、これらのペリフェラルとピンは現在imx-sm-manager構成を通じてM7コアに割り当てられていることが判明しました。 mx95evk.cfgファイルを修正し、M7の所有権を削除し、A55コアへのアクセス権限を付与しました。しかし、これらの変更後もカーネルパニックは解消されない。 A55側でLPUART3およびCAN1を有効にするために、追加のリソース所有権、アクセス権限、または設定変更が必要かどうか、ご説明いただけますか?参考のために、ログファイルと設定ファイルを共有します。 この問題の特定と解決にあたり、ご指導いただければ幸いです。 Re: Kernel Panic When Enabling LPUART3 and CAN1 on Custom i.MX95 SOM こんにちは、 @Govind1807さん mx95evk.cfgファイルへの変更は正しいです。DTSファイルが正しく設定されていることを確認してください。 B.R
View full article
在自定义 i.MX95 SOM 上启用 LPUART3 和 CAN1 时发生内核崩溃 您好, 我们正在开发一款定制的NXP i.MX95 SOM ,并尝试配置LPUART3 以进行 RS485通信。 但是,当我们在设备树中启用 LPUART3 并进行适当的引脚复用配置时,会遇到内核崩溃。我们在配置CAN1 引脚时也观察到了类似的问题。 在调查过程中,我们发现这些外设和引脚目前通过 imx-sm-manager 配置分配给了 M7 内核。 我们修改了mx95evk.cfg 文件,移除了 M7 的所有权,并授予了 A55 内核的访问权限。然而,即使经过这些更改,内核崩溃仍然存在。 请问是否需要对 A55 端的 LPUART3 和 CAN1 进行任何额外的资源所有权、访问权限或配置更改?我会把日志文件和配置文件发给你参考。 我们希望您能指导我们找出并解决这个问题。 Re: Kernel Panic When Enabling LPUART3 and CAN1 on Custom i.MX95 SOM 你好@Govind1807 您对mx95evk.cfg文件的修改是正确的。请确保您的 DTS 文件配置正确。 B.R
View full article
RT1186 TSN DEMO 版本问题 我有两块 i.MX RT1186 FRDM 板,然后导入 frdmimxrt1186_tsn_app_cm33 项目,有好几种版本配置,我不知道该选哪一种。 我的目标是测试启用 fgptp 后的基本 TSN 通信。通过以太网线连接两块板后,我希望看到串口日志显示这两个设备已经协商好主从角色。 用户指南中的描述很复杂。请问谁能概述一下实现这一目标的一般步骤? Re: RT1186 TSN DEMO build problem 亲爱的@ChandlerY , 请选择“版本”进行 fgptp 测试。 有关详细配置说明,请参阅 请参考https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/Step-by-Step-Guide-to-Running-the-GenAVB-TSN-Stack-FreeRTOS/ta-p/2390969第2.4章: 顺祝商祺! 雪莉
View full article
A53リセットとS32G3によるロックステップブート 親愛なるNXPサポートチームへ、 S32G399A-EVB3でCortex-M7から起動すると、Cortex-A53は自動的にリセットされたままになりますか? M7がCortex-A53ロックステップモードを設定した後、A53リセットを解除して実行を開始する正しい手順は何でしょうか? 想定されるリセット動作を明確にし、推奨されるリセットから解放までの順序を教えていただけますか? よろしくお願いします、 トアン Re: A53 reset and lockstep boot with S32G3 こんにちは、トアン お問い合わせいただきありがとうございます。 確認をお手伝いし、次のCASEで返信します。 S32G3 BSP 48.0.0におけるリセットシーケンスおよびA53ロックステップブートフローに関する説明 - NXPコミュニティ BR ジョーイ
View full article
S32DS_ARM_Win32_v2018.R1_b180326.exe のアクティベーションに失敗しました。 アクティベーションコードの有効期限が切れました:8FE5-AD8E-E76D-42C8 Re: S32DS_ARM_Win32_v2018.R1_b180326.exe 激活失效 こんにちは、 お客様のS32DSライセンスが延長されました。
View full article
NXPカップ2026/27:主催者からはまだFRDM-MCXN947とPixy 2を受け取ることはできますか? こんにちは、 私たちはブレーマーハーフェン大学(Nordsee Nitro)のチームで、NXPカップEMEA 2026/27に参加しており、Gitbookで3DプリントされたMCXN947キットをビルディングしています。 Gitbookのコンポーネントリストによると、FRDM-MCXN947基板とPixy 2カメラは主催者から受け取れるそうです。https://nxp.gitbook.io/nxp-cup/2025-fall-2026-nxp-cup-mcxn947/assembly-and-hardware/component-list今シーズンもそうなのでしょうか?もしそうなら、どのように申請すればよいのでしょうか?事前に登録が必要ですか、それともコーディネーターを通して手続きできますか? 残りのパーツも注文する予定で、この2台を二度買いたくないので、どんな情報でも助かります。 ありがとう、 イティシャム
View full article
NXP Cup 2026/27:参赛队伍还能从主办方那里获得 FRDM-MCXN947 和 Pixy 2 吗? 您好, 我们是来自不来梅港应用技术大学(Nordsee Nitro)的一支队伍,正在参加 NXP Cup EMEA 2026/27,我们正在根据 Gitbook 构建 3D 打印的 MCXN947 套件。 Gitbook 上的元器件清单显示,FRDM-MCXN947 板和 Pixy 2 相机可以从组织者处获得。https://nxp.gitbook.io/nxp-cup/2025-fall-2026-nxp-cup-mcxn947/assembly-and-hardware/component-list本赛季情况依然如此吗?如果可以,我们该如何申请?我们需要先注册吗?还是通过我们的协调员办理? 我们正准备订购其余零件,不想重复购买这两个零件,所以任何信息都很有帮助。 谢谢, 伊赫蒂沙姆
View full article
NXP Cup 2026/27: can teams still get the FRDM-MCXN947 and Pixy 2 from the organizers? Hi, We’re a team from Hochschule Bremerhaven (Nordsee Nitro) taking part in the NXP Cup EMEA 2026/27, and we’re building the 3D-printed MCXN947 kit from the Gitbook. The component list on the Gitbook says the FRDM-MCXN947 board and the Pixy 2 camera can be received from the organizers. https://nxp.gitbook.io/nxp-cup/2025-fall-2026-nxp-cup-mcxn947/assembly-and-hardware/component-list Is that still the case this season? And if so, how do we request them? Do we need to be registered first, or does it go through our coordinator? We’re about to order the rest of the parts and don’t want to buy these two twice, so any info helps. Thanks, Ihtisham
View full article
S32DS_ARM_Win32_v2018.R1_b180326.exe activation failed. Activation code expired: 8FE5-AD8E-E76D-42C8 Re: S32DS_ARM_Win32_v2018.R1_b180326.exe 激活失效 Hi,  your S32DS license has been extended. 
View full article
S32 Design Studio バージョン v.3.5 ライセンス こんにちは、NXPサポートチームの皆さん、 私のS32 Design Studio バージョン3.5のライセンスは2026年10月19日に期限切れとなりました。ライセンス延長を手伝ってもらえますか? 起動コード:30E0-0F7D-F883-9AFB サポートありがとうございます。 Eclipse IDEの使用と設定
View full article
HSE [Wait for Interrupt(WFI)] status understanding Currently, I am working on MCU clock initialization and waiting for the HSE to enter the WFI state (CLOCK_IP_WFI_EXECUTED == 0x80000000U) before proceeding with the clock configuration. The current implementation is shown below. However, my concern is that if the HSE never transitions to the WFI state, the ECU will remain stuck in the waiting loop indefinitely. Could you please suggest a suitable safeguard or timeout mechanism to handle this scenario safely? do { WfiStatus = (IP_MC_ME->PRTN0_CORE2_STAT & MC_ME_PRTN0_CORE2_STAT_WFI_MASK); } while (CLOCK_IP_WFI_EXECUTED != WfiStatus); Re: HSE [Wait for Interrupt(WFI)] status understanding Hi @ManuSharma1  The worst case is HSE firmware installation, update, or recovery, which can take approximately 1 second as mentioned in HSE-B firmware reference manual. Therefore, I would recommend a timeout of approximately 1.3 seconds to provide some margin and avoid an infinite wait if the expected WFI state is not reached. Regards, Lukas Re: HSE [Wait for Interrupt(WFI)] status understanding Dear @lukaszadrapa  Thanks for the details. As suggested, I plan to use a timer-based timeout of approximately 1.3 seconds while waiting for the HSE to enter the WFI state. If the WFI status is not achieved within this timeout period, I intend to perform a fail-safe action. For the fail-safe action, I am considering performing an MCU reset, since the HSE would not be in a proper state to handle further requests. Before proceeding, I would appreciate your guidance on the following points: Is performing an MCU reset the correct approach for handling an HSE WFI timeout condition? If a reset is recommended, which reset type should be used: Functional Reset (FES), or Destructive Reset (DES)? In the S32K312 architecture, the HSE operates as a separate engine responsible for security-related functions. If an MCU reset is issued, will the HSE engine also be reset, or will it continue running independently? Your inputs will help ensure the timeout handling mechanism is implemented correctly and robustly. Thanks & Regards, Manu Sharma Re: HSE [Wait for Interrupt(WFI)] status understanding Hi @ManuSharma1  Generally, first step is to check HSE GPR at 0x4039_C028 if bit 0 is set. If bit 0 is ‘0’ after reset, HSE firmware is not present at all, it is erased completely due to some fatal error. If the bit 0 in HSE GPR is ‘1’ (HSE FW present) but HSE_STATUS_INIT_OK remains ‘0’ after reset, it means that it’s necessary to start the handshake procedure. See “14.6.7  HSE Firmware Handshake” in HSE FW RM for details. As described in that section, you should trigger several functional resets. External reset cannot be used because it triggers destructive reset. An option is to trigger functional reset by software. You can take a look at this post: https://community.nxp.com/t5/S32K/S32K344-How-to-manually-trigger-one-Function-Reset/m-p/1506101/highlight/true#M17079 To sum it up: After reset, check the bit 0 in HSE GPR register at 0x4039_C028. If it is 0, the firmware was already erased and you can try to install it again. If it is 1, go to next step. Wait until bit HSE_STATUS_INIT_OK in FSR register is set. If it is set, HSE firmware is up and running. If it is not set in about 1s after reset (use timeout about 1.3s or more), trigger functional reset. Repeat this procedure until the firmware is either recovered or erased. If it is erased, it’s necessary to install the firmware again. Also notice that if you use AB_SWAP version and if the firmware is erased by SBAF due to some fatal error, the only option to install the firmware again is “installation via MU interface” method. Installation via IVT or installation via default location methods do not work in this case. For more details, see section “10   Error and Warning Management” in HSE Firmware reference manual. Regards, Lukas
View full article
Matter Stack 移植到 MIMXRT700-EVK (MIMXRT798S) — 持久存储初始化失败 您好, 我目前正在使用 MCUXpresso SDK 和 VS Code 将 NXP Matter 协议栈移植到 MIMXRT700-EVK (MIMXRT798S)板上。该板使用基于 IW612 芯片组的外部 Murata Type 2EL 无线模块。 开发设置和变更 我通过 VS Code 下载并设置了 Matter MCUXpresso SDK 工作区。该工作区位于matter_mcuxpresso/mcuxsdk 。 我针对RT700进行了以下方面的修改: Matter:修改了中间件/matter下的文件,用于 RT700 平台集成。 无线框架:增加了对外部 Murata Type 2EL (IW612) 无线模块的 RT700 特定平台支持和集成。 链接器脚本:使用 RT700 SDK 提供的MIMXRT798Sxxxx_cm33_core0_flash.ld作为参考,并根据 Matter 应用程序的内存布局和 NVS 存储配置对其进行了修改。 问题描述 Matter 应用程序构建成功,并且可以使用 LinkServer 进行编程。但是,运行时初始化失败,并在src/platform/nxp/common/NXPConfigNVS.cpp中的以下调用处出现CHIP_ERROR_PERSISTED_STORAGE_FAILED错误: flash_init(fa->fa_dev) CHIP_ERROR_PERSISTED_STORAGE_FAILED 链接器脚本附件 我将附上修改后的MIMXRT798Sxxxx_cm33_core0_flash.ld链接器脚本供您参考。该脚本基于 RT700 SDK 提供的链接器脚本,并针对 Matter 应用程序的内存布局和 NVS 存储配置进行了修改。 需要支持 请问您能否帮忙澄清一下: 如何在RT700-EVK上配置Matter持久存储的闪存设备和驱动程序? 是否还需要任何针对 RT700 的额外闪存驱动程序或 NVS 集成步骤? 修改后的链接器脚本或 NVS 内存布局是否会导致flash_init()失败? 我希望您能指导我如何解决这个问题。 谢谢! 评估板 Re: Matter Stack Porting to MIMXRT700-EVK (MIMXRT798S) — Persistent Storage Initialization Failure 嗨@Aparna1 , 谢谢你的提问! 我已审核提供的链接脚本。它目前引用了以下与 FlexSPI 相关的对象: *(EXCLUDE_FILE( ... *fsl_adapter_flexspi_nor_flash.c.o* *mflash_drv.c.o* *fsl_flexspi.c.o* ) .text*) 但是,MIMXRT700 使用的是 XSPI 控制器。请确认该应用程序已链接到正确的 RT700 XSPI 闪存后端,并且 fa->fa_dev 指的是该设备,而不是其他 i.MX RT 平台使用的 FlexSPI 后端。 另请检查映射文件中的 flash_init() 、闪存擦除/编程功能以及相关的 XSPI_* 功能。这些功能及其所需的配置数据应该位于 RAM 中,而不是 XIP 闪存区域中。 我们建议按以下顺序检查端口: 验证 SDK 中的官方 RT700 XSPI 或非 闪存示例; 确认 fa->fa_dev 使用正确的XSPI后端; 验证闪存操作代码是否确实从 RAM 中执行; 然后检查 NVS 地址、扇区对齐方式,以及驱动程序是否期望绝对地址或设备相对偏移量。 此致, 加文 Re: Matter Stack Porting to MIMXRT700-EVK (MIMXRT798S) — Persistent Storage Initialization Failure 嗨@Gavin_Jia 我已根据建议修改了链接器文件( MIMXRT798Sxxxx_cm33_core0_flash.ld ),并更新了与 XSPI 相关的配置。但是,问题仍然存在, flash_init()函数仍然失败。 我已将修改后的MIMXRT798Sxxxx_cm33_core0_flash.ld文件分享给您审核。请您检查一下链接器配置,并指导我还需要做哪些更改才能解决 XSPI 闪存初始化问题? 谢谢! Re: Matter Stack Porting to MIMXRT700-EVK (MIMXRT798S) — Persistent Storage Initialization Failure 嗨@Aparna1 , 谢谢你的更新。 我仍然建议使用 `mimxrt700evk_flash_component_octal_xspi_cm33_core0` 项目及其相关的链接器脚本(LD 文件)作为基准。请确保与闪存操作相关的代码已成功移植,然后再继续移植到 Matter。 仅凭链接器脚本无法对您的移植项目进行全面诊断,因此我只能提供一些建议。感谢您的理解。 以下是我审阅您的剧本后发现的一些问题: 1.XSPI 代码可能仍然链接到 XIP 区域 在 .text 部分,脚本首先排除 XSPI 和 NVS 相关对象文件: *(EXCLUDE_FILE( ……​​ *fsl_xspi_nor_flash.c* *mflash_drv.c.o* *fsl_xspi.c.o* ) 。文本*) 然而,脚本后面包含无条件规则:   *(。文本) *(。文本*) *(.rodata) *(.rodata*) 后面的规则可以再次收集先前排除的输入部分,并将它们放回位于外部 XSPI Flash 区域的 m_text 中。 因此,当前的 EXCLUDE_FILE 规则不能保证 XSPI/NVS 执行路径是从 RAM 运行的。 2. RAM 部分仍然包含 FlexSPI 对象,而不是 RT700 XSPI 对象。 .data 部分目前将以下代码放入 RAM 中: *fsl_adapter_flexspi_nor_flash.c.o* *mflash_drv.c.o* *fsl_flexspi.c.o*   然而,RT700 使用的是 XSPI 控制器。 3. fsl_xspi_nor_flash 常量并未始终如一地移至 RAM 中 fsl_xspi_nor_flash 包含在 .text* 排除列表中,但不包含在 .rodata* 排除列表中。 如果您对修改后的链接器脚本或最终图像有任何疑问,从映射文件中提取关键信息是一种值得尝试的调试方法。 此致, 加文 Re: Matter Stack Porting to MIMXRT700-EVK (MIMXRT798S) — Persistent Storage Initialization Failure 你好@Gavin_Jia 之前报告的 flash_init 问题( CHIP_ERROR_PERSISTED_STORAGE_FAILED )已解决。应用程序现在可以成功完成 flash 初始化过程。 但是,在使用外置 Murata Type 2EL (IW612) M.2 模块的 RT700-EVK 进行 IW612 Wi-Fi 初始化时,我目前遇到了一个新问题。 启动过程中会出现以下错误信息: [wifi_io] Error: SDIO - FW Ready Registers not set [wifi] Error: sd_wifi_init failed. status code -1 [wlcm] Error: wifi init/reinit failed. status code -1 ASSERT ERROR " WM_SUCCESS == ret " 请您协助我们调查此问题,并提出所需的 SDIO 配置、固件下载顺序或 IW612 初始化所需的任何 RT700 特定更改? 谢谢
View full article
Clock - power relationship : MIMXRT685 - EVK Hello,  For an application I'm shooting the core clock frequency to max possible, i.e., 297MHz from the default 250 MHz. I wanted to know what implications it causes from the power perspective. Although nothing breaks right now, from the static characteristics from the datasheet, I think I need to make some changes, to avoid future hardfaults. I would really appreciate some guidance here.  Thanks in advance! Shri Re: Clock - power relationship : MIMXRT685 - EVK Hi @shri00 , Thank you so much for your interest in our products and for using our community. For 297 MHz operation on the MIMXRT685-EVK, please check the VDDCORE voltage as well as the clock configuration. The fact that the board currently runs without faults does not necessarily mean that VDDCORE meets the operating requirements for your target frequency and temperature range.   When increasing the clock frequency, first set VDDCORE to the level required for the target frequency, and then switch to the higher frequency.   For the relationship between VDDCORE and clock frequency, please refer to Tables 20 and 21 of the RT600 data sheet. Dual-core microcontroller with 32-bit Cortex®-M33 and Xtensa HiFi4 Audio DSP CPUs Have a nice day. Best Regards May Liu
View full article
Technical Inquiry Regarding Human and Pet Classification Using 77–81 GHz FMCW Radar Hello, My name is Eunjin Kwon, and I am a researcher in the Eco-Friendly Building Research Team at GS Engineering & Construction in South Korea. We are currently exploring the application of mmWave radar technology for non-contact fall detection and activity monitoring in residential environments. One of our key technical requirements is to distinguish humans from pets (such as dogs and cats) to prevent false alarms caused by pet movements while ensuring reliable fall detection for human occupants. We are particularly interested in NXP's 77–81 GHz FMCW radar solutions and would appreciate your technical guidance on the following questions: 1. Does NXP have any existing technologies, research results, or application examples related to human versus pet (Human / Non-human) classification using mmWave radar? 2. Is it technically feasible to distinguish humans from pets using radar data, such as point clouds and Doppler information, through AI-based classification algorithms? 3. Are there any relevant reference designs, technical documents, or development resources available for this application? We would also appreciate the opportunity to discuss this topic with an NXP radar technical specialist or Field Application Engineer (FAE) in South Korea. Thank you for your time and assistance. I look forward to your response. Best regards, Eunjin Re: Technical Inquiry Regarding Human and Pet Classification Using 77–81 GHz FMCW Radar Hello, Let me look closer if we have done something similar as our RADARs are automotive. Best regards, Peter Re: Technical Inquiry Regarding Human and Pet Classification Using 77–81 GHz FMCW Radar Hello, 1. Does NXP have any existing technologies, research results, or application examples related to human versus pet (Human / Non-human) classification using mmWave radar? NXP does not currently offer a ready-to-use 77–81 GHz reference solution specifically for residential fall detection and human-versus-pet classification. NXP’s 77–81 GHz radar portfolio is primarily intended for automotive radar applications. 2. Is it technically feasible to distinguish humans from pets using radar data, such as point clouds and Doppler information, through AI-based classification algorithms? Human/pet classification using radar is technically feasible in principle. Machine-learning models can use features such as range, velocity, Doppler or micro-Doppler characteristics, spatial distribution and movement over time. Nevertheless, this would require customer-specific data collection, model training and validation under representative residential conditions. Robust performance cannot be guaranteed based on point-cloud data alone; lower-level range-Doppler or range-angle data may be beneficial. 3. Are there any relevant reference designs, technical documents, or development resources available for this application? NXP can provide radar evaluation hardware and signal-processing resources based on the SAF85xx platform to support feasibility evaluation and custom development. These resources do not include a finished fall-detection or pet-classification algorithm. We would also appreciate the opportunity to discuss this topic with an NXP radar technical specialist or Field Application Engineer (FAE) in South Korea. Please get in touch with NXP representative Sales/FAE assigned to your company or with your distributor so the separate support channel can be established. Best regards, Peter
View full article
BCC MC33771C 测量时序 各位同事好,   我们正在使用 MC33771C 电池单元控制器 (BCC),并观察到使用不同的读取间隔时电压/温度测量读取时间存在差异。   测试观察结果:   配置:与 BCC 配置相同,有 4 个从节点。 读取间隔:10 毫秒:从所有 4 个从站读取温度数据大约需要 40 毫秒。 读取间隔:100 毫秒:从所有 4 个从站读取相同的温度数据大约需要 7.7 毫秒。 我们观察到,即使配置保持不变,当读取间隔设置为 10 毫秒时,总测量读取时间也会明显增加。   请问您能否帮我们理解以下问题?   为什么 10 毫秒和 100 毫秒读取间隔的测量读取时间会有显著差异? 读取间隔与ADC转换、测量更新或BCC通信时序之间是否存在任何依赖关系? 使用 4 个 BCC 从设备时,是否有推荐的配置或步骤来实现一致且优化的电压/温度读取时序? 从多个 MC33771C 设备读取测量数据时,我们是否需要考虑任何特定的时间限制或同步要求? 如需进一步分析,如需其他配置详情或测量日志,请与我们联系。 Re: BCC MC33771C measurement timing 你好,Nirmal, 感谢您确认ADC配置。这是一个重要的澄清:当 ADC_CFG[AVG] = 0 且分辨率为 16 位时,硬件 tEOC 仅为 ~520 µs。您在 10 毫秒间隔内观察到的 40 毫秒读取时间不可能是 ADC 转换本身造成的,几乎可以肯定是由固件测量序列造成的。 tEOC ≈ 520 µs,因此在两个时间间隔到期之前,数据就已经准备就绪。因此,观察到的读取时间差异源于固件触发信号 SOC 并读取结果相对于该时间间隔的方式和时间。导致这种特定症状的最常见原因是: 1. SYS_CFG1[CYCLIC_TIMER] 在 10 毫秒时激活 如果循环定时器设置为 10 毫秒,则设备每 10 毫秒自动触发信号一次循环转换。但是,循环转换不会更新 MEAS_xxxx 测量寄存器——它们只会更新 OV/UV/OT/UT 故障标志。如果 MCU 固件在发出在线点播 SOC 之前等待循环触发信号,则有效测量周期将与循环周期耦合,每次读取之前最多会增加 10 毫秒的延迟。在 100 毫秒的循环周期下,这种延迟消失了,因为 MCU 可以独立地在线点播发出 SOC。请验证 SYS_CFG1[CYCLIC_TIMER] 的值,如果已激活,请考虑禁用它或将 MCU 读取序列与其完全解耦。 2. 读取前插入固定时间间隔延迟(不等待 EOC) 如果固件发出 SOC 信号,然后等待完整的读取间隔(10 毫秒或 100 毫秒)后再进行读取,而不是轮询 EOC 标志,则其行为将是: 100 毫秒:SOC → 等待 100 毫秒 → 读取(通信时间 7.7 毫秒)→ 测量值 ≈ 7.7 毫秒 ✓ 10 毫秒:SOC → 等待 10 毫秒 → 读取(7.7 毫秒通信) → 但是如果循环重复且时间累积,则有效测量持续时间会增加。 3. SOC 是按从设备发放的,而不是广播发放的。 如果固件分别向每个从设备触发信号 SOC,并强制执行每次读取之间的间隔,则 4 个从设备的总和将是间隔的倍数。 4个奴隶的正确顺序是: - 同时向所有 4 个从设备发出单个广播 SOC。 - 轮询 EOC 标志(或在 16 位时等待至少 520 µs,AVG=0)— 不要使用等于读取间隔的固定延迟。 - 确认 EOC 后,依次读取所有 4 个从属设备。 BRs,托马斯 按您所需的时间间隔重复。 Re: BCC MC33771C measurement timing 你好@TomasVaverka 感谢您的详细解释。 在我们的配置中,我们使用以下设置: ADC_CFG[AVG] = 0 ADC分辨率 = 16位 BCC 从节点数量 = 4 我们对两个测试用例使用了相同的配置(读取间隔分别为 10 毫秒和 100 毫秒)。 但是,我们观察到以下时间差异: 10 毫秒读取间隔:从所有 4 个从站读取温度数据大约需要 40 毫秒。 100 毫秒读取间隔:从所有 4 个从站读取温度数据大约需要 7.7 毫秒。 由于两种情况下 ADC 平均值和分辨率设置相同,请问为什么转换和测量读出时间会有如此大的差异? 是否存在与 SOC 触发信号间隔、ADC 转换状态或 EOC 标志处理相关的依赖关系,可以解释这种行为? 您能否也建议一下,如何在 10 毫秒的测量间隔下实现一致的测量读数时间? Re: BCC MC33771C measurement timing 你好,Nirmal, 时间差异很可能是由您的 ADC_CFG[AVG] 平均设置引起的。 启用平均值后,tEOC(从 SOC 到数据准备就绪的时间)与样本计数成正比。例如,在 16 位分辨率且 AVG=64 的情况下,tEOC ≈ 32.5 毫秒 — 远远超过您的 10 毫秒读取间隔。这就解释了观察到的现象: 每隔 100 毫秒:当 MCU 读取时转换已经完成 → 仅测量通信时间(~7.7 毫秒)。 每隔 10 毫秒:MCU 必须等待转换完成 → 测量时间 = 剩余的 tEOC 等待时间 + 通信时间 ≈ 40 毫秒。 以下几点与您的问题相关: 1. 循环模式 (SYS_CFG1[CYCLIC_TIMER]) 不会更新 MEAS_xxxx 寄存器 — 它只会更新故障标志 (OV/UV/OT/UT)。要获得实际的电压/温度读数,需要在线点播 SOC 信息。循环模式下也不支持平均值计算。 2. 务必等待 EOC 标志出现后再读取结果。除非能保证延迟时间超过 tEOC,否则不要使用等于读取间隔的固定延迟时间。 3. 对于 4 个从设备:同时向所有从设备广播一个 SOC(所有设备并行转换,在 tEOC 完成),然后按顺序读取。在 16 位,AVG=0 时,最小总时间约为 0.52 毫秒 (tEOC) + 4 × 0.7 毫秒 (TPL 通信) ≈ 3.3 毫秒。 4. 有关完整的时序优化框架,请参阅 AN12637:基于 MC33771C 和 MC33772C 的系统时序优化(可在 nxp.com 上获取,需要登录)。 BRs,托马斯 Re: BCC MC33771C measurement timing 你好@TomasVaverka , 我使用广播消息进行 SoC 通信,但仍然遇到时序差异问题。
View full article
ホールセンサーベースのモータ制御リファレンスウェアおよびトレーニング・マテリアルの要請 NXPチームの皆様へ 私たちは、24V、3.47Aモーターを用いた空冷システムを開発するお客様と協力しています。 センサーレスFOCベースのモータ制御を用いたデモンストレーションを成功裏に完了しました。顧客は現在、FRDM-MCXA156 EVK(制御カード)とFRDM-MC-LVPMSM(電源カード)を用いてローター位置検出用のホールセンサーを統合したいと考えています。 このハードウェアの組み合わせでホールセンサーベースのモーター制御を実装するための適切なリファレンスファームウェアやアプリケーション例を教えていただけますか? GitHubで公開されているLPC55S36用のホールセンサー搭載BLDCモーターのサンプルコードを確認しました。 しかし、この例に対応するFreeMASTER設定ファイル(.pmpx)を見つけることができませんでした。 以下の点についてご協力いただけますか? FRDM-MCXA156とFRDM-MC-LVPMSMのホールセンサー統合に関するリファレンスファームウェア。 利用可能な場合は、対応するFreeMASTERプロジェクト/設定ファイル(.pmpx)。 既存のセンサーレスFOCプロジェクトにホールセンサーフィードバックを統合するための関連するアプリケーションノート、トレーニング・マテリアル、または実装ガイド(FRDM-MCXA156 EVKに基づくもの。 技術的なご指導やご提案をいただければ大変ありがたく存じます。 よろしくお願いします ダルシャン・J・L WPGインド ボード設計 開発ボード FRDMトレーニング ハンズオン・トレーニング MCXA モータ制御 Re: Request for Hall Sensor-Based Motor Control Reference Firmware and Training Material こんにちは、 @Darshan_J_L さん。 投稿ありがとうございます。 MCUXpresso SDKには複数のモーター制御の例プロジェクトが含まれています。FRDM-MCXA156の詳細については、次のページでご覧いただけます。 MCUXpresso モータ制御用SDK |NXP Semiconductors。   FRDM-MCXA156 + FRDM-MC-LVPMSM の組み合わせのpmsm_enc例はSDK v25.06にあります。センサーレスおよびセンサー付きFOCをサポートし、pmsm_float_enc.pmpx FreeMASTERプロジェクトを含んでいます。ご参照くださいUG10247.pdf 詳細については、こちらをご覧ください。   デモ用の対応するFreeMASTER設定ファイル(.pmpx)については、こちらLPC55S36:an-lpc55s36_mc_bldc_whall/LPC5536_mc_bldc_wHall.pmpx at main · nxp-appcodehub/an-lpc55s36_mc_bldc_whall ·GitHub   お役に立てば幸いです。他に何かご質問がありましたら、お気軽にお知らせください。   BR セレステ    
View full article
MPC5777C Nexus trace while eTPU A/B clock halted Hi, It was found that if eTPU A/B clock is halted via SIU_HLT1.ETPUA bit, then MDO and MSEO Nexus outputs from Nexus Port Controller (NPC) are stuck to 0V (dead). Even if other Nexus client (e.g. e200) is generating Nexus trace data. If SIU_HLT1.ETPUA is later written with '0' (clock not halted anymore), Nexus trace stream from e200 Nexus client reaches NPC and outside world. After doing some testing it seems that no other clock halt request within HLT1 register seems to produce same behavior on MSEO/MDO pins. So the core problem is that it seems that eTPU A/B clock halt affects Nexus trace operation in general. This happens regardless of clock divider or port width in NPC. Workaround I found by trial and error is that if you firstly disable each (A and B) eTPU engine via respective ECR.MDIS bit and then disable whole module clock via HLT1.ETPUA, MSEO/MDO pins still behave normally if trace is initiated from other Nexus clients (e.g. e200 core).   This workaround however is not optimal as it requires change to the user application. I am interested if something can be done by debugger to mitigate this behavior?   Re: MPC5777C Nexus trace while eTPU A/B clock halted Hello, I have never encountered such issue as we always use simulator for eTPU from Ashware of the Codewarrior. I will have  a closer look and feedback you ASAP. Best regards, Peter Re: MPC5777C Nexus trace while eTPU A/B clock halted Hi, thanks for looking into this. Problem is that as a debugger we try to strain away from modifying SoC periphery related registers because it affects user application. In this case the problem is that SIU_HLT1[ETPUA] = 1 is written by user application, not us as a debugger. Hence debugger cannot know when user application will do that so that debugger can write ECR[MDIS] before application writes SIU_HLT1[ETPUA] = 1; We will recommend to user that they update application in a way ECR[MDIS] is written before SIU_HLT1[ETPUA] = 1. Re: MPC5777C Nexus trace while eTPU A/B clock halted Hello, This behavior appears to be related to the MPC5777C clock-gating implementation. We are not aware of an NPC configuration that prevents the eTPU A/B halt request from affecting the Nexus outputs. As a debugger workaround, execute the following sequence before setting SIU_HLT1[ETPUA] = 1: Set both eTPU engine ECR[MDIS] bits to 1. Wait until the engines have completed their current activity. Set SIU_HLT1[ETPUA] to 1. This sequence can be automated in the debugger stop script. It will, however, stop both eTPU engines, so it is not transparent to the application. The issue should also be reviewed by the silicon design team as a possible device erratum. Best regards, Peter
View full article
需要MBD职业建议 5年前我开始从事汽车软件的基于模型的设计工作,现在我觉得这份工作非常单调,而且在工具方面也没有太多学习机会,你是如何应对这种情况的? 我每月可能参与的工作量可能是:10% 用于 Simulink 建模,50% 用于测试这些模型和报告,其余时间用于手动编写合规性文档。
View full article