Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
Inquiry regarding PF09 PMIC OTP Configuration and Settings on imx95 based module. Hi NXP, We are currently working with the imx95 soc B-step based module utilizing the PF09 PMIC. As per our schematics and hardware review, the VDDOTP line is grounded, meaning the default OTP configuration is loaded, and we are unable to read the settings via software. Our customer is requesting the specific PF09 OTP settings/configuration details to understand the power sequence (specifically regarding RESET input control and power-up behavior). the laser etching on the pf09 part we are using is PF09 CTAGACE Could you please provide the default OTP settings documentation or guidance for the PF09 PMIC used on the iMX95 evk platform? thanks Re: Inquiry regarding PF09 PMIC OTP Configuration and Settings on imx95 based module. Hi M.Shangavelan Please see attached file page2/3. Re: Inquiry regarding PF09 PMIC OTP Configuration and Settings on imx95 based module. Hi guoweisun, thanks for the prompt reply. Below is our part number in use currently, MPF0900AVNA1ES, NXP thanks M.Shangavelan Re: Inquiry regarding PF09 PMIC OTP Configuration and Settings on imx95 based module. Hi Shanga Please let me know the full part number of PF09 your mentioned,I will request its OTP file.
View full article
NFC 目前,我们发现支持的 PN7XX 芯片在某些 NFC XTS 测试用例中出现故障。请问谷歌是否计划从未来的 XTS 测试套件中移除相关的 B 型和 F 型卡模拟测试项?另外,NXP是否已向谷歌确认过这一具体方面? #PN7220 Re: NFC 你好@Max4 是的,这个问题已经提交,将会发布官方声明。 请稍等片刻。
View full article
RW612 - Triple Antenna RF front-end Hello I would like to use RW612 in Triple Antenna setup where Bluetooth, Wi-Fi 2GHz and Wi-Fi 5GHz  has own antenna. In your document AN14002 - RW61x Design Guide you only describe double and single antenna configuration. What is the correct RF front-end impedance matching (50 Ω) for pins RF_TR_5 (Wi-Fi 5GHz) and RF_TR_2 (Wi-Fi 2GHz) when each has own antenna? Is NXP providing a Front-end module (FEM) calibration file for triple antenna setup? Re: RW612 - Triple Antenna RF front-end Hello @MarcinM  We don't have sample tri antenna design for you refer. You may develop it yourself. About FEM calibration file, the calibration guide shows how to configure FEM part. You could refer to that document to custom your FEM calibration file. Best Regards Shaun
View full article
RW612 - トリプルアンテナRFフロントエンド こんにちは Bluetooth、Wi-Fi 2GHz、Wi-Fi 5GHzそれぞれに専用アンテナを備えたトリプルアンテナ構成でRW612を使用したいと考えています。 あなたのドキュメントAN14002 - RW61x設計ガイド では、ダブルアンテナとシングルアンテナの構成のみが説明されています。 ピン RF_TR_5 (Wi-Fi 5GHz)と RF_TR_2 (Wi-Fi 2GHz)それぞれにアンテナがある場合、正しいRFフロントエンドインピーダンス整合(50 Ω)はどれくらいでしょうか? NXPは、トリプルアンテナ構成用のフロントエンドモジュール(FEM)校正ファイルを提供していますか? Re: RW612 - Triple Antenna RF front-end こんにちは、 @MarcinM さん。 参考までに、トライアンテナ設計のサンプルはありません。ご自身で開発することも可能です。FEMキャリブレーションファイルについては、キャリブレーションガイドにFEM部品の設定方法が記載されています。そのドキュメントを参照してFEMキャリブレーションファイルをカスタムできます。 よろしくお願いいたします。 ショーン
View full article
S32K312MINI-EVB: RESET LED stays on after first successful debug, cannot connect anymore Hello, Board: S32K312MINI-EVB / IDE: S32DS 3.5 / Debugger: on-board (Embedded Multilink Rev A) Power: 12V via J1, J19/J20 = 2-3 (also tried USB-C with 1-2) 1.With 12V power, the factory demo was running (D3 blue ON), and I successfully debugged and flashed an empty S32DS project (main.cwith only for(;;)). 2.After that, I cannot connect anymore.Error: “PEmicro GDB Launch Failure: The GDB Server was not able to establish a connection to the target processor (E54431355)”. 3.The RESET LED stays ON continuously, even right after power-up and before starting debug.(Before the first flash, the RESET LED turned off after aborting the connection.) 4.Voltages at J23 (VBAT) and J16 (P5V0) are normal.I tried full power removal (30 s), different power-up orders, delay after reset, and lower speed. I suspect the FS26 watchdog is not serviced by my empty application, so FS26 keeps the MCU in reset. How can I put the FS26 into debug mode (watchdog disabled) on the MINI-EVB, or otherwise recover the board? Thank you. Re: S32K312MINI-EVB: RESET LED stays on after first successful debug, cannot connect anymore Hello @hjkimmmm, By default, the FS26 operates in debug mode. To switch to normal operation, hardware modifications are required. Specifically, resistor R147 is populated by default to keep the FS26 in debug mode. To enable normal mode, R147 must be removed and R146 must be populated instead. You can see this from the FRDM-A-S32K312 schematic: Which LED indicator is on after flashing this blank project? D9 or D10 (or both)? Are you able to attach to the MCU (Debug Configuration > Startup > Attach to Running Target)? Have you tried to connect with an external debugger (using Ten-pin cortex debug interface on J7)? Can you share the blank project so I can analyze if any other configuration was uploaded by mistake to the MCU?  Best regards, Julián
View full article
KW45B41Z-EVK BLE examples fail with NBU/rpmsg assertion while other examples work normally Hi,   I am using the KW45B41Z-EVK with MCUXpresso IDE.   The following examples run successfully: - lpuart_polling - freertos_hello - flexcan_loopback_transfer - connectivity_test_bm   However, BLE examples such as: - wireless_uart_bm - beacon_bm   fail during startup and stop at an NBU/rpmsg-related assertion before BLE advertising starts.   I also tried using SDK 26.09, but I am having difficulties importing some example projects into MCUXpresso IDE.   My questions are: 1. Are there any required NBU firmware images that must be programmed before running BLE examples? 2. Is there any additional setup required for BLE examples on the KW45B41Z-EVK? 3. Are there any known issues with SDK 26.09 example import in MCUXpresso IDE?   Any guidance would be greatly appreciated.   Thank you. Re: KW45B41Z-EVK BLE examples fail with NBU/rpmsg assertion while other examples work normally Hello, hope you are doing well.   MCUXpresso IDE support has been removed from wireless board examples starting from SDK version 25.06. I would recommend continuing your development using MCUXpresso for VS Code. Here is additional documentation and guides that might be helpful: MCUXpresso for VS Code 26.09 documentation Before running any BLE examples, the NBU firmware must be programmed. For the KW45B41Z-EVK board, use a prepared SB file with NBU firmware. The NBU is programmed with a signed image with provisioned NXP keys. NXP provides the default keys in the fuse (SB3KDK and RoTKTH). The *.sb3 file related to these keys is included in each SDK under the path \main\mcuxsdk\mcuxsdk\middleware\wireless\ble_controller\bin. The steps to load the NBU firmware for KW45 are included in section 6.1 of AN14796.   Best regards, Sofia.
View full article
JN5189 Suddenly Stops Working in the Field and Recovers After Full Flash Erase and Reprogramming Hello, I am using the JN5189 in a custom lighting control module with SDK version 2.6.16. One unit suddenly stopped working in the field, and I would like to understand the possible root causes, diagnostic methods, and preventive measures. What Happened 1. I removed the faulty module and read the entire Flash contents using DK6 Programmer. 2. I programmed the dump into another new JN5189 module, which worked normally. This suggests that the firmware and data contained in the dump are valid. 3. I programmed the same dump back into the original faulty chip, but the issue was not resolved. 4. I performed a 'full Flash erase' on the original chip and then programmed the same dump again. The module started working normally. Questions 1. Possible Root Causes What could cause this behavior? Why would programming the same Flash dump fail to recover the original chip, while performing a full erase before programming successfully restores normal operation? 2. Diagnostic Methods If this issue occurs again, what should I check before performing a full erase to identify the root cause? Are there any recommended debugging procedures or tools for investigating this type of failure? 3. Preventive Measures in Firmware Are there any firmware-level measures that could help prevent this issue from occurring again? I would appreciate any advice, similar experiences, or references to relevant technical documentation. Thank you for your help. Johnny9 Re: JN5189 Suddenly Stops Working in the Field and Recovers After Full Flash Erase and Reprogramming Hello, Hope you are doing well. Thank you for the detailed description. 1. Possible root cause The fact that the Flash dump works when programmed into another JN5189 indicates that the extracted image itself can result in a functional device. Also, since the original device recovered after a full Flash erase followed by programming the same dump, the device does not appear to have suffered a permanent failure. An important point is that programming Flash and erasing Flash are different operations. For the JN5189, a Flash page must be erased before it is programmed. Consecutive FLASH_Program() operations can be performed at different addresses, provided that the page has previously been erased. Therefore, programming the dump back to the affected device without first erasing the Flash does not necessarily restore the Flash to the intended state. Performing a full erase first ensures that the Flash pages are in the appropriate state before the image is programmed again. This can explain why the erase + program sequence recovered the device. However, based only on the observations above, we cannot determine what originally caused the unit to stop working. A power interruption, reset, or another event occurring while the application is modifying Flash may be worth investigating if the application performs Flash erase/program operations during normal operation, but the current evidence does not confirm one of these as the root cause. 2. Diagnostic steps If the issue occurs again, I would recommend preserving the device state before performing any erase or programming operation. In particular: Read and save the complete Flash contents, as you did in this case. Compare the dump against the expected programmed image. Identify which Flash regions differ and determine whether those regions are expected to be modified during normal operation. Check whether the application performs any Flash erase/program operations at runtime. If runtime Flash operations are used, investigate whether a reset or power interruption could occur while those operations are in progress. If possible, preserve reset-cause information and other diagnostic information from the failing unit before reprogramming it. The most valuable evidence would be a Flash dump from another failed device taken before any recovery operation, together with information about which Flash regions are modified by the application. 3. Firmware considerations For application-managed Flash storage, make sure that a page is erased before it is programmed. FLASH_ErasePages() can be used for page erase operations, and consecutive programming operations to different locations are possible once the corresponding page has been erased. If the application modifies nonvolatile data during normal operation, it would also be useful to review the application's handling of interruptions or resets occurring during those operations. At this point, the erase + reprogram recovery indicates that the previous Flash state was relevant to the observed behavior, but it is not sufficient to identify how that state was originally reached. Best regards, Ricardo
View full article
S32K312MINI-EVB: RESET LED stays on after first successful debug, cannot connect anymore Hello, Board: S32K312MINI-EVB / IDE: S32DS 3.5 / Debugger: on-board (Embedded Multilink Rev A) Power: 12V via J1, J19/J20 = 2-3 (also tried USB-C with 1-2) 1.With 12V power, the factory demo was running (D3 blue ON), and I successfully debugged and flashed an empty S32DS project (main.c with only for(;;)). 2.After that, I cannot connect anymore. Error: “PEmicro GDB Launch Failure: The GDB Server was not able to establish a connection to the target processor (E54431355)”. 3.The RESET LED stays ON continuously, even right after power-up and before starting debug. (Before the first flash, the RESET LED turned off after aborting the connection.) 4.Voltages at J23 (VBAT) and J16 (P5V0) are normal. I tried full power removal (30 s), different power-up orders, delay after reset, and lower speed. I suspect the FS26 watchdog is not serviced by my empty application, so FS26 keeps the MCU in reset. How can I put the FS26 into debug mode (watchdog disabled) on the MINI-EVB, or otherwise recover the board? Thank you. Re: S32K312MINI-EVB: RESET LED stays on after first successful debug, cannot connect anymore 你好@hjkimmmm , FS26 默认以调试模式运行。要恢复正常运行,需要进行硬件改造。 具体来说,电阻 R147 默认安装,以使 FS26 保持调试模式。要启用正常模式,必须移除 R147,并替换为 R146。从FRDM-A-S32K312原理图中可以看出这一点: 刷新此空白项目后,哪个 LED 指示灯亮起?D9 或 D10(或两者都有)? 您能否连接到 MCU(调试配置 > 启动 > 连接到运行目标)? 你试过连接外部调试器(使用 J7 上的十针 Cortex 调试接口)吗? 能否分享一下空白项目文件,以便我分析是否误将其他配置上传到了MCU? 此致, 朱利安
View full article
JN5189 在现场突然停止工作,完全擦除闪存并重新编程后恢复正常 你好, 我正在使用 JN5189 开发一个自定义照明控制模块,SDK 版本为 2.6.16。现场一台设备突然停止工作,我想了解可能的根本原因、诊断方法和预防措施。 发生了什么 1.我拆下了故障模块,并使用 DK6 编程器读取了整个 Flash 内容。 2. 我将该转储文件编程到另一个新的 JN5189 模块中,该模块工作正常。这表明转储文件中包含的固件和数据是有效的。 3. 我将相同的转储文件重新编程到原来的故障芯片中,但问题仍然没有解决。 4. 我对原芯片执行了“完全闪存擦除”,然后再次写入了相同的转储文件。模块开始正常工作。 问题 1. 可能的根本原因 什么原因会导致这种行为?为什么对同一个 Flash 转储文件进行编程无法恢复原始芯片,而先进行完全擦除再进行编程却能成功恢复正常运行? 2. 诊断方法 如果再次出现此问题,在执行完全擦除之前,我应该检查哪些内容以确定根本原因?对于这类故障,是否有推荐的调试步骤或工具进行调查? 3. 固件中的预防措施 是否有任何固件层面的措施可以帮助防止此类问题再次发生? 任何建议、类似经验或相关技术文档的参考资料都将不胜感激。 感谢您的帮助。 Johnny9 Re: JN5189 Suddenly Stops Working in the Field and Recovers After Full Flash Erase and Reprogramming 你好, 希望你一切都好。感谢您提供的详细描述。 1. 可能的根本原因 Flash 转储文件在编程到另一个 JN5189 中可以正常工作,这表明提取的映像本身可以生成一个功能正常的设备。此外,由于原设备在完全擦除闪存并重新编程相同的转储后恢复正常,因此该设备似乎并未遭受永久性故障。 需要强调的是,对 Flash 进行编程和擦除 Flash 是不同的操作。对于 JN5189,必须先擦除 Flash 页才能对其进行编程。只要页面之前已被擦除,就可以在不同的地址执行连续的 FLASH_Program() 操作。 因此,在未先擦除 Flash 的情况下将转储文件编程回受影响的设备,并不一定能将 Flash 恢复到预期状态。先执行完全擦除操作,以确保 Flash 页面在再次编程图像之前处于适当的状态。 这就解释了为什么擦除+编程序列能够恢复设备。 然而,仅根据以上观察,我们无法确定最初导致该设备停止工作的原因。如果应用程序在正常运行期间执行 Flash 擦除/编程操作,则在应用程序修改 Flash 时发生的电源中断、RESET 或其他事件可能值得调查,但目前的证据尚不足以确认其中任何一项是根本原因。 2. 诊断步骤 如果问题再次发生,我建议在执行任何擦除或编程操作之前先保存设备状态。 尤其: 读取并保存完整的 Flash 内容,就像你在本例中所做的那样。 将转储文件与预期的编程映像进行比较。 确定哪些闪存区域不同,并确定这些区域是否预计在正常运行期间会被修改。 检查应用程序在运行时是否执行任何 Flash 擦除/编程操作。 如果使用运行时 Flash 操作,请调查在这些操作进行期间是否可能发生 RESET 或断电。 如果可能,在重新编程故障单元之前,请保留故障单元的RESET原因信息和其他诊断信息。 最有价值的证据是从另一台故障设备中提取的、在进行任何恢复操作之前的 Flash 转储文件,以及有关应用程序修改了哪些 Flash 区域的信息。 3. 固件方面的考虑 对于应用程序受控的闪存存储,请确保在对页面进行编程之前将其擦除。FLASH_ErasePages() 可用于页面擦除操作,一旦相应的页面被擦除,就可以对不同的位置进行连续的编程操作。 如果应用程序在正常运行期间修改非易失性数据,那么审查应用程序对这些操作期间发生的中断或重置的处理方式也很有用。 此时,擦除+重新编程恢复表明先前的 Flash 状态与观察到的行为相关,但这不足以确定最初是如何达到该状态的。 顺祝商祺! 里卡多
View full article
KW45B41Z-EVK BLE 示例程序出现 NBU/rpmsg 断言错误而失败,而其他示例程序运行正常。 您好,   我正在使用 KW45B41Z-EVK 和 MCUXpresso IDE。   以下示例运行成功: - lpuart_polling - freertos_hello - flexcan_loopback_transfer - connectivity_test_bm   然而,BLE 的例子包括: - wireless_uart_bm - beacon_bm   启动时失败,并在 BLE 广播开始之前因 NBU/rpmsg 相关断言而停止。   我还尝试使用 SDK 26.09,但在将一些示例项目导入 MCUXpresso IDE 时遇到了困难。   我的问题是: 1. 运行 BLE 示例之前,是否需要对 NBU 固件映像进行编程? 2. 在 KW45B41Z-EVK 上使用 BLE 示例是否需要任何额外的设置? 3. 在 MCUXpresso IDE 中导入 SDK 26.09 示例是否存在任何已知问题?   任何指导都将不胜感激。   谢谢! Re: KW45B41Z-EVK BLE examples fail with NBU/rpmsg assertion while other examples work normally 你好,希望你一切都好。   从 SDK 版本 25.06 开始,无线板示例中已移除对 MCUXpresso IDE 的支持。我建议您继续使用MCUXpresso for VS Code进行开发。以下是一些可能对您有帮助的补充文档和指南: MCUXpresso for VS Code 26.09 文档 在运行任何 BLE 示例之前,必须先对 NBU 固件进行编程。对于 KW45B41Z-EVK 板,请使用带有 NBU 固件的已准备好的 SB 文件。NBU 已编程,其中包含已配置 NXP 密钥的签名映像。NXP 在熔丝中提供默认密钥(SB3KDK 和 RoTKTH)。与这些密钥相关的 *.sb3 文件包含在每个 SDK 的路径 \main\mcuxsdk\mcuxsdk\中间件\wireless\ble_controller\bin 下。 KW45 的 NBU 固件加载步骤包含在AN14796的第 6.1 节中。   此致, 索菲亚。
View full article
关于74AHC1G04GW的VOH和VOL特性的问题 我有一个关于 74AHC1G04GW 的 VOH 和 VOL 特性的问题。 根据数据手册,VOH 和 VOL 规格是在输出电流为 8 mA 时提供的。 但是,当实际输出电流小于 8 mA 时,我不知道如何确定或估计 VOH 和 VOL。 请问能否提供一些特性曲线、参考数据或推荐方法,用于估算输出电流低于 8 mA 时的 VOH 和 VOL? 如果在这种低电流条件下进行设计计算时,有推荐的 VOH 和 VOL 值可以使用,请告诉我。
View full article
FRDM-IMX93 ブートが「M33 prepare ok」で停止する原因は、JSC DDR (JSL4BAG167ZAMF) との非互換性です。 こんにちは、NXPコミュニティの皆さん、 現在、FRDM-IMX93開発ボードを使い、公式のFlexbuildツール(lsdk2606)を使ってDebianシステムを構築しています。しかし、ハードウェアの変更に関連していると思われるブートハングの問題に直面しています。 1. 問題点: ビルドしたイメージをSDカードに書き込み、ボードを起動した後、以下のSPLログが表示された後、システムがハングアップします。それ以降、出力はありません。 文章 编辑       1U-Boot SPL 2025.04 (Oct 14 2026 - 09:56:14 +0800)2PMIC: PCA9451A 3PMIC: Over Drive Voltage Mode 4DDR: 3733MTS 5DDR: 3733MTS 6M33 prepare ok 2.根本原因分析: 私のFRDM-IMX93ボード上のDDRチップは JSC LPDDR4X(部品番号:JSL4BAG167ZAMF)は、回路図に記載されているオリジナルのMicron DDRとは異なります。 U-Bootのソースコード(board/freescale/imx93_frdm/spl.c and Makefile)を分析したところ、Flexbuildが提供するデフォルトの lpddr4x_2gb_timing.c はMicron DDR向けに最適化されている可能性が高いことが分かりました。U-BootがこのMicronタイミングで3733MTSでJSC DDRを初期化しようとすると、初期化が失敗します( ddr_init() ループが「found DRAM ...matched」を印刷せずに2回実行されます)。その結果、Cortex-M33コアは初期化されていない/不安定なDDRメモリにアクセスしようとした際にハングします。 3. 質問: NXPは 、FRDM-IMX93ボード上のJSC DDR(JSL4BAG167ZAMF)向けに公式に検証された、 更新されたU-Boot BSPまたは特定のLPDDR4Xタイミングファイル(lpddr4x_2gb_timing.c)を提供していますか ? もし事前に構築されたタイミングファイルがなければ、この特定のJSCチップに推奨されるDDRパラメータ(例:ODT、Vref、tRFCなど)を教えてもらえますか?または正しいConfig Toolsテンプレートを教えていただけませんか? このDDRベンダーの変更に関して、FRDM-IMX93に関して特定のソフトウェアパッチが必要な既知のエラッタやハードウェアリビジョンはありますか? 何らかのガイダンスや公式の計時データがあれば大変ありがたいです。ありがとう! Re: FRDM-IMX93 Boot Hangs at "M33 prepare ok" due to JSC DDR (JSL4BAG167ZAMF) Incompatibil こんにちは、迅速かつ役立つご回答、本当にありがとうございます!U-Bootのソースツリーを確認したところ、ご指摘のコミット(4c35a6086aed)が確かに欠落していることが確認できました。このアップデートでJSC JSL4BAG167ZAMF 2CS LPDDR4Xデバイスのサポートを追加した結果、問題は完全に解決され、ボードは期待通りに動作しています。 Re: FRDM-IMX93 Boot Hangs at "M33 prepare ok" due to JSC DDR (JSL4BAG167ZAMF) Incompatibil 以下のアップデートがU-Bootのソースツリーに含まれているか確認していただけますか? https://github.com/nxp-imx/uboot-imx/commit/4c35a6086aedca2f6220382920242ad81ae372f6 このアップデートでは、新しいFRDM-IMX93ボードで使用されるJSC JSL4BAG167ZAMF 2CS LPDDR4Xデバイスのサポートが追加されました。 このアップデートが現在お使いのU-Bootバージョンに含まれていない場合、発生している問題の原因となっている可能性があります。 ありがとうございます。
View full article
PCA82C251T/YM,118のVOL特性に関する質問 PCA82C251T/YM,118のVOL特性について質問があります。 データシートによると、最大VOLは出力電流10mAで1.5V、出力電流1mAで0.2×VCCと規定されている。 しかし、実際の出力電流が1mA未満の場合、VOLをどのように決定または推定すればよいのか分かりません。 出力電流1mA未満でのVOL推定の特性曲線、参考データ、または推奨される方法を教えていただけますか? このような低電流条件下での設計計算に推奨されるVOL値があれば、ぜひ教えてください。 Re: Question about VOL characteristics of PCA82C251T/YM,118 こんにちは、 yoshiki11457901 51 IVN製品については、データシート以外に追加のパラメータは提供していません。 したがって、電流から1mAを引いた場合、I4 = 1 mAのテスト条件下でのVOL値を参照できます。
View full article
MKW38 BLEスキャンが長時間テスト時に動作しない クリスティン・リー様、NXPチームの皆様   ご支援ありがとうございます   以前ご報告したBLEスキャンに関する問題について、長期テストから得られた追加の分析結果を共有し、いくつか質問をしたいと思います。     1. 要約 連続スキャン中、コントローラは時折LE広告レポートをホストに届けなくなることがあります。 この期間中、LLレジスタはスキャンがまだアクティブであることを示していますが(SCAN_STATUS.Scan_on = 1)、パケットは全く受信されません。PKT_RSSI_STATUSとCH_ADDRは変更されません。 ほとんどの場合、コントローラは1秒から2.5分以内に自動的に回復します。あるケースでは、ログが終了するまで8時間以上回復 しませんでした 。 SDKは2.6.916であると知らされましたこの問題は解決します。 しかし、 SDK 2.6.916のライブラリで約1週間以内に問題が再発しました。 テスト条件   単位数/期間:約5単位それぞれ14.6日、テスト中にMCUリセットなし コントローラーライブラリ: 2023年4月にインポート、2.6.615以降(Controller_SetPeripheralDiscThreshold(を含む);正確なバージョンは不明) lib_ble_kw38a4_controller_gcc.a、617,384バイト、MD5プレフィックス 50417a8d65 別個テスト: SDK 2.6.916図書館 – 約1週間以内に同じ症状が再現 スキャンパラメータ: アクティブスキャン、インターバル0x0011(10.625ms)、ウィンドウ0x0008(5ms) フィルタポリシー: 全て許可、重複フィルタリング無効 連続スキャン(gGapScanContinuously_d)、拡張スキャン(PHYレジスタ0x14E = 0x0005をスキャン) スキャン開始/停止:起動後に一度開始。テスト中はスキャン停止/開始なし。 環境:約通常動作時、毎秒75~110件の広告レポート アプリケーション側のレジスタアクセス: LLレジスタの読み取り専用ポーリングを1秒ごとに実行します(0x01C、0x01E、0x064、0x0C4、0x0D2、0x0D4、0xF28)。 診断のために、180秒ごとにINIT_SCN_ADV_RX_FIFO(0x4008007C)の16ビット読み取りを1回実行します。 アプリケーションによってLLレジスタは書かれません 3. 問題の検出方法 各レイヤーにおける広告レポート数を毎秒カウントしています。 L1: LE(拡張)広告レポートイベント情報がコントローラーからホストへ渡されます。Controller_Init() に登録された Ble_HciRecv() のラッパー内でカウントされます。 L2: gDeviceScanned_c / gExtDeviceScanned_c アプリケーションコールバックに届けられます。 L4: アプリケーションタスクによって処理されるレポート。 この問題が発生すると、すべてのカウンターがL1で停止します。コントローラは広告レポートの生成を停止します。ホストとアプリケーションは関与していません: その時点では、Ble_HciRecv() はエラーを報告していません。 アプリケーションメッセージの割り当ては失敗しません。 アプリケーションキューが空です。 4. 統計 (5単位、約14.6日) ユニット#1:8回の失速イベント情報、8回の回収(持続時間11〜35秒) ユニット#2:9回の失速イベント情報、8回回復(持続時間11〜159秒);最後のイベント未回収(>8時間) ユニット#3:7回の失速イベント情報、7回の回収(持続時間11〜78秒) ユニット#4:失速2イベント情報、回収2イベント情報(持続時間11〜30秒) ユニット#5:失速3回、回収3回(持続時間12〜14秒) 合計:29回の失速イベント情報、28回の回復 (所要時間には、検出時間である10秒が含まれます。) 重要な観察事項: 28件 の回収されたイベント情報のうち、失速前に最後に受信したパケットは 二次広告チャネルに送られていました。CH_ADDR RX インデックスは、0x06、0x0A、0x0C、0x0E、0x10、0x12、0x14、0x16、0x1E、0x22、0x26、0x28、0x2A、0x30、0x3E、0x4A のいずれかでした。ほとんどの場合、PKT_PAYLOAD_STATUS = 0x0007、すなわち7バイトのペイロードです。これは、AUXパケットを受信した直後に停止現象が発生することを示唆している。 回復されなかったイベントでは、最後に受信されたパケットはプライマリチャンネル37にありました(CH_ADDR = 0x0018、PKT_PAYLOAD_STATUS = 0x0025)。 5. 未回復イベントのレジスタスナップショット(ユニット#2) -SCAN_STATUS(0x01C) = 0x0900 (Scan_on = 1、保留中の割り込みなし) -SCAN_NEXT_INSTANT(0x01E) = 0xB4B7 -REF_CLK(0x064) = 0xB4AD -CH_ADDR(0x0C4) = 0x0018 -PKT_PAYLOAD_STATUS(0x0D2) = 0x0025 -PKT_RSSI_STATUS(0x0D4) = 0x3FB3 -SCAN_SYNC_RX_PKT_CNT(0xF28) = 0x0000   SCAN_STATUS、CH_ADDR、PKT_RSSI_STATUS、およびSCAN_SYNC_RX_PKT_CNTは8時間以上変化しませんでした。この期間中、L1レポートカウンターも一定のままだった。 6. リリースノートのレビュー SDK 2.6.212で唯一のスキャン関連項目– 2.6.916 は 2.6.815 に含まれています。リンクレイヤーのバージョン別修正/変更点: 2.6.212(ble_controller 1.6.11.1):変更なし 2.6.415(2022年5月1日、6月14日):ホスト側の修正のみ 2.6.615(2023-02、1.6.14.1):ACLの早期終了オプション(Controller_SetPeripheralDiscThreshold) 2.6.715(2023-03、1.6.14.3):MDビット処理 2.6.815(2023-05、1.6.14.4):チャネルマップ修正; 「一部のケースで広告が見逃されていたスキャンの問題を修正しました。」 2.6.915(2023年9月、1.6.14.5):拡張通知の配置修正。自律長さ手順が無効化されました。 2.6.916(2023-10、1.6.14.6):EnhancedNotification でマッピングされていない ChannelNumber を返します (アルゴリズム #1) 7. 質問 これはKW38 BLEコントローラーの既知の問題でしょうか?2.6.815に関連していますか?「広告が表示されない原因となっているスキャン問題」を修正しますか?もしそうなら、修正された正確な状態を教えていただけますか? 拡張スキャン(AUXポインタをセカンダリチャネルに追い込む)で、LLスキャナーをSCAN_STATUS中はどのチャネルでも受信できなくなる状態にすることはできますか ?Scan_on 1のままですか? SDK 2.6.916で再発された問題ですが、新しいコントローラーライブラリやパッチはありますか? アプリケーションレベルでこの状態を検出し回復する推奨方法は何でしょうか?例えば: Gap_StopScanning() / Gap_StartScanning() で十分でしょうか? コントローラのリセットが必要でしょうか(例:HCIリセットまたはLL SOFT_RESETコマンド)? 確認すべきLLステータス登録簿はありますか? 拡張スキャン(従来型スキャンのみ)を無効にすることで、この問題は回避できるでしょうか? 診断用のアプリケーションからINIT_SCN_ADV_RX_FIFO(0x4008007C)を読み取ることは許されていますか?この読み取り値がコントローラのFIFOハンドリングに影響を与える可能性はありますか? Re: MKW38 BLE Scan not working when long time test 主な観察事項:[修正済み] - 28回の回収されたイベント情報のうちは、最後に受信したパケットは二次広告チャネルにあり、ほとんどの場合PKT_PAYLOAD_STATUS = 0x0007(7バイトのペイロードで、AuxPtrを搭載した拡張広告PDUに典型的)でした。これは、スキャナがAUXポインタを追跡している間にこれらの停止が発生することを示唆している。 - 回復されていないイベント(ユニット#2)は異なるシグネチャを持ちます。最後に受信されたパケットはプライマリチャンネル37にあり、37バイトのペイロード(PKT_PAYLOAD_STATUS = 0x0025)で、つまりおそらくレガシー広告PDUです。この件で広告の長期関与の兆候は見つかりませんでした。失速中INIT_SCN_ADV_RX_FIFO 3分ごとに0と表示され、コントローラは8時間以上回復しませんでした。 Re: MKW38 BLE Scan not working when long time test 注:以前のファームウェアでは、アプリケーションが定期的に0xFFFFをSCAN_INTR_CLEAR(0x4008001C)に書き込みていました。 そのファームウェアでは、INIT_SCN_ADV_RX_FIFOがデータを保持しているにもかかわらずSCAN_SYNC_RX_PKT_CNTが0になっているという、別の種類の停止現象が観測されました。J-Link経由で0x4008007Cを一度読み取ると、すぐにスキャンが回復しました。 その後、その書き込みは削除しました。このレポートの統計情報は、現在のファームウェアに基づいています。このファームウェアでは、FIFOは停止中に0を読み取り、その読み取りは復旧に影響を与えません。 Re: MKW38 BLE Scan not working when long time test こんにちは、 @JungkyuHan1 新しいCASEを作り出してくれてありがとう。 詳細情報を確認し、できるだけ早く最新情報をお知らせします。 BR、 Christine。 Re: MKW38 BLE Scan not working when long time test こんにちは、 @JungkyuHan1 返信までもう少しお時間をください。 社内チームにいくつか確認事項があります。 BR、 Christine。 Re: MKW38 BLE Scan not working when long time test こんにちは、 @JungkyuHan1 私の理解が正しければ、私はあなたから「 SDK 2.6.916 を使ってBLEスキャンテストを実施しました。かなりうまく動作しています。8日以上スキャンエラーはありませんでした。「2025年12月のことです。」 しかし今、あなたはこの問題に直面しています:「しかし、この問題は約1週間以内にSDK 2.6.916ライブラリで再現されました。" これらのOKとNOKのCASEの間にテストの違いはありますか? 違いが分かれば、今後の追跡調査に非常に役立つだろう。 ご質問は下記までお問い合わせください。 これはKW38 BLEコントローラーの既知の問題でしょうか?2.6.815に関連していますか?「広告が表示されない原因となっているスキャン問題」を修正しますか?もしそうなら、修正された正確な状態を教えていただけますか? ==>[クリスティン]: 先ほどお伝えした通り、はい、それは既知の問題です。そしてご存知のとおり、 私が知っているのは2.6..916のバージョンで、少なくとも回避策があればスキャンの問題に役立つと思います。私の知る限り、スキャンの問題はスキャンFIFOの競合が原因で、スキャンFIFOをフラッシュする必要があります。  拡張スキャン(AUXポインタをセカンダリチャネルに追い込む)で、LLスキャナーをSCAN_STATUS中はどのチャネルでも受信できなくなる状態にすることはできますか ?Scan_on 1のままですか? SDK 2.6.916で再発された問題ですが、新しいコントローラーライブラリやパッチはありますか? ==>[Christine]:すみません、この問題を解決した新しいSDKsリリースはSDKs 2.6.916以外ありません。 アプリケーションレベルでこの状態を検出し回復する推奨方法は何でしょうか?例えば: Gap_StopScanning() / Gap_StartScanning() で十分でしょうか? コントローラのリセットが必要でしょうか(例:HCIリセットまたはLL SOFT_RESETコマンド)? 確認すべきLLステータス登録簿はありますか? ==>[クリスティン]: 回避策として、アプリケーションコードに以下のように手動で追加する必要がある場合があります。 ll_flush_adv_rx_fifo() という関数が必要です。この関数のコードはアプリケーションコードには存在しないので、「extern」を使い宣言する必要があります。この関数を外部化すると、入力パラメータと戻り値は両方ともvoidになり、その後、次のように呼び出されます。 1.スキャンを停止する前に毎回電話してください 2. デバイスが長時間スキャンされない場合は、スキャンを停止して再度呼び出し、スキャンを開始します。 拡張スキャン(従来型スキャンのみ)を無効にすることで、この問題は回避できるでしょうか? 診断用のアプリケーションからINIT_SCN_ADV_RX_FIFO(0x4008007C)を読み取ることは許されていますか?この読み取り値がコントローラのFIFOハンドリングに影響を与える可能性はありますか? ==>[クリスティン]:これらの2つの質問については、もう少し調べてからお答えします。   BR、 Christine。 Re: MKW38 BLE Scan not working when long time test こんにちは、クリスティンさん。 ご返信よろしくお願いします。 OK CASE(2025年12月)とNOK CASEの違いについて: SDK 2.6.916に誤りがあることを発見しました移住。現在、正しいSDK 2.6.916で再テストを行っています図書館。 テスト設定も異なっていた。 前回のテスト(OK):アンテナなしの3ユニット(サンプルユニット2台と開発ユニット1台)。 現在のテスト:アンテナを搭載した新型量産ユニット5台。 他にもいくつか質問があります。 2.6.815は「一部のケースで広告が見逃されるスキャン問題を修正しました」という修正方法を、SDK 2.6.916のスキャンFIFOロックアップ回避(ll_flush_adv_rx_fifo())と同じ修正ですか? フラッシュ後、従来のSTART_SCANコマンド(0x42)を使用してスキャンが再開されます。拡張スキャンを有効にした場合、この再起動後にAUX(セカンダリチャネル)の受信は正しく再開しますか? コントローラISRが動作している間に、アプリケーションタスクから直接ll_flush_adv_rx_fifo()を呼び出すのは安全ですか?コントローラのスキャン割り込み処理に並行性や同期の問題はありますか? SDK 2.6.615においてコントローラライブラリ、ll_self_device_data[18]のビット0とはどういう意味ですか?(2.6.615で同じフラッシュを手動で適用することを検討しています。) よろしくお願いします、 ハン・ジョンギュ Re: MKW38 BLE Scan not working when long time test こんにちは、 @JungkyuHan1 情報ありがとうございます。 ご質問への回答を得るため、現在社内チームに確認中です。 何か新しい情報があれば、お知らせします。 BR、 Christine。 Re: MKW38 BLE Scan not working when long time test こんにちは、 @JungkyuHan1 参考までに、弊社の社内チームからの回答を以下に記載いたします。 1. 拡張スキャン(従来型スキャンのみ)を無効にすることで、この問題は回避できますか? [NXP]: 答えはノーです。このCASEは検証しませんが、拡張スキャンとは関係ないはずです。 診断のためにアプリケーションからINIT_SCN_ADV_RX_FIFO(0x4008007C)を読み取ることは 2.Is 可能でしたか?この読み取り値がコントローラのFIFOハンドリングに影響を与える可能性はありますか? [NXP]: アプリケーション側からはいつでも読み取るのは避けたほうがいいです。まずスキャンを止めてから読み取り、またスキャンを始めることができます 3.2.6.815は「一部のCASEで広告が見逃されるスキャン問題を修正しました」という修正方法を、SDK 2.6.916のスキャンFIFOロックアップ回避(ll_flush_adv_rx_fifo())と同じ修正ですか? [NXP]:今のところはわかりません。調査に時間が必要です。 4.フラッシュ後、従来のSTART_SCANコマンド(0x42)を使用してスキャンが再開されます。拡張スキャンを有効にした場合、この再起動後にAUX(セカンダリチャネル)の受信は正しく再開しますか? [NXP]: はい。ただし、この手順に従う必要があります。スキャンを停止 > ll_flush_adv_rx_fifo() > 再度スキャンを開始します。 コントローラISRが動作している間にアプリケーションタスクから直接ll_flush_adv_rx_fifo()を呼び出すのは安全 5.Is ですか? [NXP]: 前述の通り、スキャンを止めるときはll_flush_adv_rx_fifo()と呼ぶべきです コントローラのスキャン割り込み処理に並行性や同期の問題はありますか?6.Is [NXP]: 並行性や同期の問題とはどういう意味ですか?もう少し詳しく教えてもらえますか?上記の通りにスキャンを停止してフラッシュし、スキャンを再開すれば、並行性や同期の問題は起きないと思います。 7. 拡張スキャン(AUXポインタをセカンダリチャネルに追い込む)で、LLスキャナーがSCAN_STATUS中はどのチャネルでも受信できなくなる状態にすることはありますか?Scan_on 1のままですか? [NXP]:これまでのところ、そのような問題は見られていません。 BR、 Christine。 Re: MKW38 BLE Scan not working when long time test こんにちは、 @JungkyuHan1 2.6.815の修正「一部のCASEで広告が見逃されるスキャン問題を修正」は、SDK 2.6.916のスキャンFIFOロックアップ回避策(ll_flush_adv_rx_fifo())と同じ修正 3.Is ですか? [NXP]:同じではありませんが相関があります。2.6.815の修正ではスキャンFIFOロックアップの回避には不十分で、スキャンFIFOの問題を完全に解決するわけではないので、その回避策を追加したほうがいいです。 このThreadで他に疑問があれば教えてください。 BR、 Christine。
View full article
MKW38 BLE Scan not working when long time test Dear Christine Li and NXP team   Thank your for support   Following up on the BLE scan issue we reported earlier, we would like to share additional analysis results from our long-run test and ask a few questions.     1. Summary During continuous scanning, the controller sometimes stops delivering any LE Advertising Reports to the host. During this period, the LL registers show that scanning is still active (SCAN_STATUS.Scan_on = 1), but no packet is received at all. PKT_RSSI_STATUS and CH_ADDR do not change. In most cases the controller recovers by itself within 1 s – 2.5 min. In one case it never recovered (more than 8 hours, until the log ended). We were informed that SDK 2.6.916 fixes this issue. However, the issue was reproduced within about one week with the SDK 2.6.916 libraries. Test conditions   Units / duration: 5 units, approx. 14.6 days each, no MCU reset during the test Controller library: imported in Apr 2023, 2.6.615 or later (contains Controller_SetPeripheralDiscThreshold(); exact version unknown) lib_ble_kw38a4_controller_gcc.a, 617,384 bytes, MD5 prefix 50417a8d65 Separate test: SDK 2.6.916 libraries – same symptom reproduced within about 1 week Scan parameters: Active scan, interval 0x0011 (10.625 ms), window 0x0008 (5 ms) Filter policy: accept all, duplicate filtering disabled Continuous scanning (gGapScanContinuously_d), extended scanning (scanning PHY register 0x14E = 0x0005) Scan start/stop: started once after boot; no scan stop/start during the test Environment: approx. 75–110 advertising reports per second in normal operation Application-side register access: Read-only polling of LL registers every 1 s (0x01C, 0x01E, 0x064, 0x0C4, 0x0D2, 0x0D4, 0xF28) One 16-bit read of INIT_SCN_ADV_RX_FIFO (0x4008007C) every 180 s for diagnostics No LL register is written by the application 3. How we detect the issue We count advertising reports at each layer every second: L1: LE (Extended) Advertising Report events passed from the controller to the host. Counted in a wrapper around Ble_HciRecv() registered with Controller_Init(). L2: gDeviceScanned_c / gExtDeviceScanned_c delivered to the application callback. L4: Reports processed by the application task. When the issue occurs, all counters stop at L1. The controller stops generating advertising reports. Host and application are not involved: Ble_HciRecv() reports no failure at that time. Application message allocation does not fail. The application queue is empty. 4. Statistics (5 units, approx. 14.6 days) Unit #1: 8 stall events, 8 recovered (duration 11 – 35 s) Unit #2: 9 stall events, 8 recovered (duration 11 – 159 s); last event not recovered (> 8 h) Unit #3: 7 stall events, 7 recovered (duration 11 – 78 s) Unit #4: 2 stall events, 2 recovered (duration 11 – 30 s) Unit #5: 3 stall events, 3 recovered (duration 12 – 14 s) Total: 29 stall events, 28 recovered (Duration includes the 10 s detection time.) Key observation: In all 28 recovered events, the last received packet before the stall was on a secondary advertising channel. The CH_ADDR RX index was one of 0x06, 0x0A, 0x0C, 0x0E, 0x10, 0x12, 0x14, 0x16, 0x1E, 0x22, 0x26, 0x28, 0x2A, 0x30, 0x3E, 0x4A. In most cases PKT_PAYLOAD_STATUS = 0x0007, i.e. a 7-byte payload. This suggests the stall starts right after receiving an AUX packet. In the non-recovered event, the last received packet was on primary channel 37 (CH_ADDR = 0x0018, PKT_PAYLOAD_STATUS = 0x0025). 5. Register snapshot of the non-recovered event (unit #2)  -SCAN_STATUS(0x01C) = 0x0900 (Scan_on = 1, no pending interrupt)  -SCAN_NEXT_INSTANT(0x01E) = 0xB4B7  -REF_CLK(0x064) = 0xB4AD  -CH_ADDR(0x0C4) = 0x0018  -PKT_PAYLOAD_STATUS(0x0D2) = 0x0025  -PKT_RSSI_STATUS(0x0D4) = 0x3FB3  -SCAN_SYNC_RX_PKT_CNT(0xF28) = 0x0000   SCAN_STATUS, CH_ADDR, PKT_RSSI_STATUS and SCAN_SYNC_RX_PKT_CNT stayed unchanged for more than 8 hours. The L1 report counter also stayed constant during this period. 6. Release note review The only scan-related item in SDK 2.6.212 – 2.6.916 is in 2.6.815. Link Layer fixes/changes by version: 2.6.212 (ble_controller 1.6.11.1): No changes 2.6.415 (2022-05, 1.6.14): Host fixes only 2.6.615 (2023-02, 1.6.14.1): Premature ACL termination option (Controller_SetPeripheralDiscThreshold) 2.6.715 (2023-03, 1.6.14.3): MD bit handling 2.6.815 (2023-05, 1.6.14.4): Channel map fix; “Fixed a Scan issue causing Advertising to be missed for some cases.” 2.6.915 (2023-09, 1.6.14.5): EnhancedNotification alignment fix; Autonomous Length Procedure disabled 2.6.916 (2023-10, 1.6.14.6): Return unmapped ChannelNumber in EnhancedNotification (Algo #1) 7. Questions Is this a known issue of the KW38 BLE controller? Is it related to the 2.6.815 fix “Scan issue causing Advertising to be missed”? If so, could you describe the exact condition that was fixed? Can extended scanning (following an AUX pointer to a secondary channel) put the LL scanner into a state where it no longer receives on any channel while SCAN_STATUS.Scan_on stays 1? Since the issue was reproduced with SDK 2.6.916, is there a newer controller library or patch that addresses it? What is the recommended way to detect and recover from this state at application level? For example: Is Gap_StopScanning() / Gap_StartScanning() sufficient? Is a controller reset required (e.g. HCI Reset or the LL SOFT_RESET command)? Is there any LL status register we should check? Would disabling extended scanning (legacy scanning only) avoid this issue? Is it allowed to read INIT_SCN_ADV_RX_FIFO (0x4008007C) from the application for diagnostics? Could this read affect the controller’s FIFO handling? Re: MKW38 BLE Scan not working when long time test Key observations: [modified] -In all 28 recovered events, the last received packet was on a secondary advertising channel, and in most cases PKT_PAYLOAD_STATUS = 0x0007 (7-byte payload, typical of an extended advertising PDU carrying an AuxPtr). This suggests these stalls start while the scanner follows an AUX pointer. -The non-recovered event (unit #2) has a different signature: the last received packet was on primary channel 37 with a 37-byte payload (PKT_PAYLOAD_STATUS = 0x0025), i.e. most likely a legacy advertising PDU. We found no indication of extended advertising involvement in this case. INIT_SCN_ADV_RX_FIFO read as 0 every 3 minutes during the stall, and the controller did not recover for more than 8 hours. Re: MKW38 BLE Scan not working when long time test Note: In an earlier firmware, the application periodically wrote 0xFFFF to SCAN_INTR_CLEAR (0x4008001C). In that firmware we observed a different stall where INIT_SCN_ADV_RX_FIFO still held data while SCAN_SYNC_RX_PKT_CNT was 0, and reading 0x4008007C once via J-Link immediately recovered scanning. We have since removed that write. The statistics in this report are from the current firmware, where the FIFO reads 0 during the stall and reading it does not affect recovery. Re: MKW38 BLE Scan not working when long time test Hi, @JungkyuHan1  Thanks for creating new case to us. I will check the detailed info and updates to you ASAP. BR, Christine. Re: MKW38 BLE Scan not working when long time test Hi, @JungkyuHan1  Please allow me some more time to reply to you.  I need to check some points with our internal team. BR, Christine. Re: MKW38 BLE Scan not working when long time test Hi, @JungkyuHan1  If I am correct, I received your email that mentioned " We have conducted the BLE Scan test With the SDK 2.6.916. It works pretty well. There was no scan error for more than 8days." in the December of 2025.  But now you meet this issue: "However, the issue was reproduced within about one week with the SDK 2.6.916 libraries." May I ask whether have any test differences between these OK and NOK cases? If we know the differences, it will be really helpful for us to track it further. For your questions: Is this a known issue of the KW38 BLE controller? Is it related to the 2.6.815 fix “Scan issue causing Advertising to be missed”? If so, could you describe the exact condition that was fixed? ==>[Christine]: As our communicated before, yes, it is a known issue. And as we know,  the 2.6..916 is the version I know so far that at least have a work around can help on scan issue. As far as I know, the scan issue is because an conflict on scan FIFO, so it needs flush the scan FIFO.  Can extended scanning (following an AUX pointer to a secondary channel) put the LL scanner into a state where it no longer receives on any channel while SCAN_STATUS.Scan_on stays 1? Since the issue was reproduced with SDK 2.6.916, is there a newer controller library or patch that addresses it? ==>[Christine]:Sorry, no we do not have other newer SDK release which fixed this issue than SDK 2.6.916. What is the recommended way to detect and recover from this state at application level? For example: Is Gap_StopScanning() / Gap_StartScanning() sufficient? Is a controller reset required (e.g. HCI Reset or the LL SOFT_RESET command)? Is there any LL status register we should check? ==>[Christine]: The workaround you may need manually add in applicaiton code as below there should have an function ll_flush_adv_rx_fifo(). The code by this function does not exist in applicaiton code, so you need use "extern" declare it . After externing this function, the input parameter and return value are both void, and then call: 1. Call before stopping scan every time 2. If the device is not scanned for a long time, stop scanning and call it again, than start scaning. Would disabling extended scanning (legacy scanning only) avoid this issue? Is it allowed to read INIT_SCN_ADV_RX_FIFO (0x4008007C) from the application for diagnostics? Could this read affect the controller’s FIFO handling? ==>[Christine]:For these 2 questions, let me check further then reply to you.   BR, Christine. Re: MKW38 BLE Scan not working when long time test Hi Christine, Thank you for your reply. Regarding the difference between the OK case (December 2025) and the NOK case: We found a mistake in our SDK 2.6.916 migration. We are now re-testing with the correct SDK 2.6.916 libraries. The test setups were also different: Previous test (OK): 3 units (2 sample units and 1 development unit), without antennas. Current test: 5 new mass-production units, all with antennas installed. We also have some additional questions: Is the 2.6.815 fix “Fixed a Scan issue causing Advertising to be missed for some cases” the same fix as the scan FIFO lockup workaround (ll_flush_adv_rx_fifo()) in SDK 2.6.916? After the flush, the scan is restarted with the legacy START_SCAN command (0x42). When extended scanning is enabled, does AUX (secondary channel) reception resume correctly after this restart? Is it safe to call ll_flush_adv_rx_fifo() directly from an application task while the controller ISR is running? Is there any concurrency or synchronization issue with the controller’s scan interrupt handling? In the SDK 2.6.615 controller library, what is the meaning of bit 0 of ll_self_device_data[18]? (We are considering applying the same flush manually on 2.6.615.) Best regards, Jungkyu Han Re: MKW38 BLE Scan not working when long time test Hi, @JungkyuHan1  Thanks for the info. I am still checking with our internal team to get the answers for your questions. Once have any updates, I will let you know. BR, Christine. Re: MKW38 BLE Scan not working when long time test Hi, @JungkyuHan1  Below is our internal team's reply, for your referrence. 1. Would disabling extended scanning (legacy scanning only) avoid this issue? [NXP]: The answer is no, although we not test this case, but it should no relate to extended scanning. 2.Is it allowed to read INIT_SCN_ADV_RX_FIFO (0x4008007C) from the application for diagnostics? Could this read affect the controller’s FIFO handling? [NXP]: It's better not read from applicaiton side in any time, you can stop scanning first, then read it and start scanning again 3.Is the 2.6.815 fix “Fixed a Scan issue causing Advertising to be missed for some cases” the same fix as the scan FIFO lockup workaround (ll_flush_adv_rx_fifo()) in SDK 2.6.916? [NXP]: I'm not sure for now, need some time to investigate it. 4.After the flush, the scan is restarted with the legacy START_SCAN command (0x42). When extended scanning is enabled, does AUX (secondary channel) reception resume correctly after this restart? [NXP]: Yes. But you need to follow this process, stop scanning > ll_flush_adv_rx_fifo() > start scaning again. 5.Is it safe to call ll_flush_adv_rx_fifo() directly from an application task while the controller ISR is running? [NXP]: As mentioned in above, it better call ll_flush_adv_rx_fifo() when you stop the scanning 6.Is there any concurrency or synchronization issue with the controller’s scan interrupt handling? [NXP]: what do you mean concurrency or synchronization issue ? can you clarify it? If do as mentioned above, stop scan and flush, then re-start the scan, I do not think it will causing any concurrency or synchronization issue.  7.Can extended scanning (following an AUX pointer to a secondary channel) put the LL scanner into a state where it no longer receives on any channel while SCAN_STATUS.Scan_on stays 1? [NXP]: So far, we not observe such issue. BR, Christine. Re: MKW38 BLE Scan not working when long time test Hi, @JungkyuHan1  3.Is the 2.6.815 fix “Fixed a Scan issue causing Advertising to be missed for some cases” the same fix as the scan FIFO lockup workaround (ll_flush_adv_rx_fifo()) in SDK 2.6.916? [NXP]: Not same, but have correlation, the fix in 2.6.815 not enough for scan FIFO lockup workaround, so that fix no completely fix the scan fifo issue, so better add that workaround. Please let me know if still have any other concerns in this thread. BR, Christine.
View full article
FRDM-ADPT-MCX-M2: Wi-Fi Server Temperature Monitor In this lab, we'll learn how to access Application Code Hub directly from Visual Studio Code, download a https-wifi-server-temperature-monitor-demo, and run it on the FRDM-MCXN947 using IW610G-M2 + FRDM-ADPT-MCX-M2 to add WiFi capabilities. Hardware Requirements: FRDM-MCXN947 FRDM-ADPT-MCX-M2 IW610G-M2 Type C USB Cable Software Requirements: IDE: Visual Studio Code 1.130 or later SDK: V26.06.00 LTS Wi-Fi Server Temperature Monitor Lab Guide (function() { var wrapper = document.getElementById('lia-vid-6405436914112w960h540r316'); var videoEl = wrapper ? wrapper.querySelector('video-js') : null; if (videoEl) { if (window.videojs) { window.videojs(videoEl).ready(function() { this.on('loadedmetadata', function() { this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) { bar.setAttribute('role', 'presentation'); bar.setAttribute('aria-hidden', 'true'); }); }); }); } }})(); (view in My Videos) Community Support If you have questions regarding this training, please leave your comments in our MCU Community! here 
View full article
MKW38 BLE 扫描在长时间测试后无法工作 尊敬的 Christine Li 和 NXP 团队   感谢您的支持   针对我们之前报告的 BLE 扫描问题,我们想分享我们长期测试的更多分析结果,并提出一些问题。     1. 总结 在连续扫描期间,控制器有时会停止向主机发送任何 LE 广告报告。 在此期间,LL 寄存器显示扫描仍在进行中(SCAN_STATUS.Scan_on = 1),但根本没有收到任何数据包。PKT_RSSI_STATUS 和 CH_ADDR 不会改变。 大多数情况下,控制器会在 1 秒至 2.5 分钟内自行恢复。其中一次,它始终未能恢复(超过 8 小时,直到日志结束)。 我们获悉 SDK 2.6.916修复了此问题。但是,使用 SDK 2.6.916 库大约一周后,该问题再次出现。 测试条件   单元数/持续时间:约 5 个单元每次测试持续14.6天,测试期间MCU未发生RESET。 控制器库:于 2023 年 4 月导入,版本为 2.6.615 或更高版本(包含 Controller_SetPeripheralDiscThreshold();确切版本未知) lib_ble_kw38a4_controller_gcc.a,617,384 字节,MD5 前缀 50417a8d65 单独测试: SDK 2.6.916图书馆 – 大约一周内出现相同症状。 扫描参数: 活动扫描,间隔 0x0011 (10.625 毫秒),窗口 0x0008 (5 毫秒) 筛选策略:全部接受,禁用重复项筛选 连续扫描(gGapScanContinuously_d),扩展扫描(扫描 PHY 寄存器 0x14E = 0x0005) 扫描启动/停止:启动后启动一次;测试期间不进行扫描停止/启动。 环境:约正常运行时每秒发送 75-110 条广告报告 应用层寄存器访问: 每隔 1 秒对 LL 寄存器进行只读轮询(0x01C、0x01E、0x064、0x0C4、0x0D2、0x0D4、0xF28) 每隔 180 秒对 INIT_SCN_ADV_RX_FIFO (0x4008007C) 进行一次 16 位读取,用于诊断。 应用程序不会写入任何LL注册表。 3. 我们如何检测问题 我们每秒都会统计每一层的广告报告数量: L1: LE(扩展)广告报告事件从控制器传递到主机。在通过 Controller_Init() 注册的 Ble_HciRecv() 的包装器中进行计数。 L2: gDeviceScanned_c / gExtDeviceScanned_c 已传递给应用程序回调。 L4:应用程序任务处理的报告。 当出现问题时,所有计数器都停止在 L1。控制器停止生成广告报告。主机和应用程序不参与其中: 当时ble_HciRecv()没有报告任何故障。 应用程序消息分配不会失败。 应用程序队列为空。 4. 统计学(5 个单元,约 100 个学分)14.6天) 单元 1:8 次停滞事件,8 次恢复(持续时间 11 – 35 秒) 单元 #2:9 次失速事件,8 次已恢复(持续时间 11 – 159 秒);最后一次失速事件未恢复(> 8 小时) 单元#3:7次停滞事件,7次恢复(持续时间11-78秒) 单元#4:2次停滞事件,2次恢复(持续时间11-30秒) 单元#5:3次停滞事件,3次恢复(持续时间12-14秒) 总计:29起停滞事件,28起已恢复 (持续时间包含10秒检测时间。) 关键观察结果: 在所有 28 个恢复事件中,停滞之前接收到的最后一个数据包是在辅助广告频道上。CH_ADDR RX 索引为 0x06、0x0A、0x0C、0x0E、0x10、0x12、0x14、0x16、0x1E、0x22、0x26、0x28、0x2A、0x30、0x3E、0x4A 之一。大多数情况下,PKT_PAYLOAD_STATUS = 0x0007,即 7 字节有效载荷。这表明,在接收到 AUX 数据包后,故障立即开始出现。 在未恢复的事件中,最后一个接收到的数据包位于主通道 37上(CH_ADDR = 0x0018,PKT_PAYLOAD_STATUS = 0x0025)。 5. 注册未恢复事件的快照(单元 #2) -SCAN_STATUS(0x01C) = 0x0900 (Scan_on = 1,无待处理的中断) -SCAN_NEXT_INSTANT(0x01E) = 0xB4B7 -REF_CLK(0x064) = 0xB4AD -CH_ADDR(0x0C4) = 0x0018 -PKT_PAYLOAD_STATUS(0x0D2) = 0x0025 -PKT_RSSI_STATUS(0x0D4) = 0x3FB3 -SCAN_SYNC_RX_PKT_CNT(0xF28) = 0x0000   SCAN_STATUS、CH_ADDR、PKT_RSSI_STATUS 和 SCAN_SYNC_RX_PKT_CNT超过 8 小时保持不变。在此期间,L1报告计数器也保持不变。 6. 版本说明回顾 SDK 2.6.212 中唯一与扫描相关的项– 2.6.916 包含在 2.6.815 中。链路层各版本修复/更改: 2.6.212(ble_controller 1.6.11.1):无变化 2.6.415(2022-05,1.6.14):仅主机修复 2.6.615(2023-02,1.6.14.1):提前终止 ACL 选项(Controller_SetPeripheralDiscThreshold) 2.6.715(2023-03,1.6.14.3):MD 位处理 2.6.815(2023-05,1.6.14.4):频道映射修复; “修复了扫描问题,该问题会导致某些情况下广告无法显示。” 2.6.915(2023-09,1.6.14.5):增强通知对齐修复;自主长度程序已禁用 2.6.916(2023-10,1.6.14.6):在增强通知中返回未映射的 ChannelNumber(算法 #1) 7. 问题 这是KW38 BLE控制器的已知问题吗?它与 2.6.815 有关吗?修复“扫描问题导致广告漏播”?如果是这样,您能否详细描述一下具体修复了什么问题? 扩展扫描(跟随 AUX 指针到辅助通道)是否会导致 LL 扫描器进入一种状态,即当SCAN_STATUS.Scan_on保持为 1时,它不再接收任何通道的信号? 由于该问题已在 SDK 2.6.916 中重现,是否有更新的控制器库或补丁可以解决该问题? 在应用层,检测和恢复这种状态的推荐方法是什么?例如: Gap_StopScanning() / Gap_StartScanning() 是否足够? 是否需要RESET控制器(例如,HCI RESET 或 LL SOFT_RESET 命令? 是否有任何LL状态登记册需要查阅? 禁用扩展扫描(仅使用传统扫描)是否可以避免这个问题? 是否允许从应用程序中读取 INIT_SCN_ADV_RX_FIFO (0x4008007C) 以进行诊断?这次读取操作是否会影响控制器的 FIFO 处理? Re: MKW38 BLE Scan not working when long time test 主要观察结果:[已修改] -在所有 28 个恢复事件中,最后一个接收到的数据包位于辅助广告通道上,并且在大多数情况下,PKT_PAYLOAD_STATUS = 0x0007(7 字节有效载荷,是携带 AuxPtr 的扩展广告 PDU 的典型值)。这表明这些卡顿现象是在扫描仪跟随 AUX 指针时开始发生的。 -未恢复的事件(单元 #2)具有不同的签名:最后一个接收到的数据包在主通道 37 上,有效载荷为 37 字节(PKT_PAYLOAD_STATUS = 0x0025),即很可能是一个传统的通告 PDU。我们没有发现任何迹象表明本案涉及大量广告宣传。在系统卡死期间,INIT_SCN_ADV_RX_FIFO 每 3 分钟读取一次为 0,并且控制器超过 8 小时没有恢复。 Re: MKW38 BLE Scan not working when long time test 注意:在早期固件中,应用程序会定期向 SCAN_INTR_CLEAR (0x4008001C) 写入 0xFFFF。 在该固件中,我们观察到不同的停滞情况,即 INIT_SCN_ADV_RX_FIFO 仍然保存着数据,而 SCAN_SYNC_RX_PKT_CNT 为 0,通过 J-Link 读取一次 0x4008007C 后,扫描立即恢复。 我们已删除该条记录。本报告中的统计数据来自当前固件,其中 FIFO 在卡顿期间读取 0,读取 0 不会影响恢复。 Re: MKW38 BLE Scan not working when long time test 你好, @JungkyuHan1 感谢您向我们提交新的案件。 我会尽快核实详细信息并向您汇报最新情况。 BR, Christine。 Re: MKW38 BLE Scan not working when long time test 你好, @JungkyuHan1 请允许我再花些时间回复您。 我需要和内部团队确认一些事项。 BR, Christine。 Re: MKW38 BLE Scan not working when long time test 你好, @JungkyuHan1 如果我理解正确,我收到了您提到“ 我们使用SDK 2.6.916进行了 BLE 扫描测试,效果非常好。超过 8 天没有出现扫描错误。 “2025 年 12 月。” 但现在您遇到了这个问题:“然而,使用 SDK 2.6.916 库大约一周后,该问题再次出现。 ” 请问OK和NOK病例在测试方面是否存在任何差异? 如果我们知道这些差异,对我们进一步追踪它将会非常有帮助。 关于您的问题: 这是KW38 BLE控制器的已知问题吗?它与 2.6.815 有关吗?修复“扫描问题导致广告漏播”?如果是这样,您能否详细描述一下具体修复了什么问题? ==>[Christine]: 正如我们之前沟通的那样,是的,这是一个已知问题。我们知道, 目前我知道的版本 2.6..916 至少有一个变通方法可以帮助解决扫描问题。据我所知,扫描问题是由于扫描 FIFO 冲突引起的,因此需要刷新扫描 FIFO。  扩展扫描(跟随 AUX 指针到辅助通道)是否会导致 LL 扫描器进入一种状态,即当SCAN_STATUS.Scan_on保持为 1时,它不再接收任何通道的信号? 由于该问题已在 SDK 2.6.916 中重现,是否有更新的控制器库或补丁可以解决该问题? ==>[Christine]:抱歉,我们没有比 SDK 2.6.916 更新的 SDK 版本修复此问题。 在应用层,检测和恢复这种状态的推荐方法是什么?例如: Gap_StopScanning() / Gap_StartScanning() 是否足够? 是否需要RESET控制器(例如,HCI RESET 或 LL SOFT_RESET 命令? 是否有任何LL状态登记册需要查阅? ==>[克里斯汀]: 您可能需要手动在应用程序代码中添加以下解决方法 应该有一个函数 ll_flush_adv_rx_fifo()。该函数的代码在应用程序代码中不存在,因此需要使用“extern”声明它。将此函数外部化后,输入参数和返回值均为 void,然后调用: 1.每次停止扫描前都要打电话 2. 如果设备长时间未扫描,请停止扫描并重新呼叫,然后再开始扫描。 禁用扩展扫描(仅使用传统扫描)是否可以避免这个问题? 是否允许从应用程序中读取 INIT_SCN_ADV_RX_FIFO (0x4008007C) 以进行诊断?这次读取操作是否会影响控制器的 FIFO 处理? ==>[Christine]:关于这两个问题,我需要进一步了解后再回复你。   BR, Christine。 Re: MKW38 BLE Scan not working when long time test 嗨,克里斯汀, 感谢您的回复。 关于OK案例(2025年12月)和NOK案例之间的区别: 我们在 SDK 2.6.916 中发现了一个错误迁移。我们现在正在使用正确的 SDK 2.6.916 版本重新进行测试。图书馆。 测试设置也不同: 先前测试(合格):3 个单元(2 个样品单元和 1 个开发单元),无天线。 当前测试:5 台全新量产机型,全部安装天线。 我们还有一些其他问题: 是 2.6.815修复“修复了某些情况下导致广告丢失的扫描问题”是否与 SDK 2.6.916 中的扫描 FIFO 锁定解决方法 (ll_flush_adv_rx_fifo()) 相同? 刷新后,使用传统的 START_SCAN 命令 (0x42) 重新启动扫描。启用扩展扫描后,重启后 AUX(辅助频道)接收是否能正常恢复? 在控制器中断服务例程 (ISR) 运行时,直接从应用程序任务调用 ll_flush_adv_rx_fifo() 是否安全?控制器的扫描中断处理是否存在并发或同步问题? 在 SDK 2.6.615 中控制器库中,ll_self_device_data[18]的第0位是什么意思?(我们正在考虑在2.6.615版本上手动执行相同的刷新操作。) 此致, 韩正奎 Re: MKW38 BLE Scan not working when long time test 你好, @JungkyuHan1 谢谢你提供的信息。 我仍在向我们的内部团队核实,以获取您问题的答案。 如有任何更新,我会通知您。 BR, Christine。 Re: MKW38 BLE Scan not working when long time test 你好, @JungkyuHan1 以下是我们内部团队的回复,供您参考。 1. 禁用扩展扫描(仅使用传统扫描)是否可以避免此问题? [NXP]:答案是否定的,虽然我们没有测试过这种情况,但这应该与扩展扫描无关。 2.是否允许从应用程序中读取 INIT_SCN_ADV_RX_FIFO (0x4008007C) 以进行诊断?这次读取操作是否会影响控制器的 FIFO 处理? [NXP]:最好不要从应用程序端读取数据,可以先停止扫描,读取后再继续扫描。 3.是2.6.815吗?修复“修复了某些情况下导致广告丢失的扫描问题”是否与 SDK 2.6.916 中的扫描 FIFO 锁定解决方法 (ll_flush_adv_rx_fifo()) 相同? [NXP]:目前我还不确定,需要一些时间进行调查。 4.刷新后,使用传统的 START_SCAN 命令 (0x42) 重新启动扫描。启用扩展扫描后,重启后 AUX(辅助频道)接收是否能正常恢复? [NXP]:是的。但您需要按照以下步骤操作:停止扫描 > ll_flush_adv_rx_fifo() > 重新开始扫描。 5.当控制器中断服务例程运行时,直接从应用程序任务调用 ll_flush_adv_rx_fifo() 是否安全? [NXP]:如上所述,最好在停止扫描时调用 ll_flush_adv_rx_fifo() 函数。 6.控制器的扫描中断处理是否存在并发或同步问题? [NXP]:您说的并发或同步问题是什么意思?能否详细说明一下?如果按照上述步骤操作,停止扫描并刷新,然后再重新启动扫描,我认为不会导致任何并发或同步问题。 7.扩展扫描(跟随 AUX 指针到辅助通道)是否会导致 LL 扫描器进入一种状态,即当 SCAN_STATUS.Scan_on 保持为 1 时,它不再接收任何通道的信号? [NXP]:到目前为止,我们还没有发现此类问题。 BR, Christine。 Re: MKW38 BLE Scan not working when long time test 你好, @JungkyuHan1 3. 2.6.815 版本中的修复程序“修复了某些情况下导致广告丢失的扫描问题”是否与 SDK 2.6.916 中的扫描 FIFO 锁定解决方法 (ll_flush_adv_rx_fifo()) 相同? [NXP]:虽然不完全相同,但存在关联。2.6.815 中的修复不足以解决扫描 FIFO 锁定问题,因此该修复无法完全解决扫描 FIFO 问题,所以最好添加该解决方法。 如果您对此帖还有其他疑问,请告诉我。 BR, Christine。
View full article
FRDM-ADPT-MCX-M2: RTP USB Camera Stream over Wi-Fi In this lab, we'll learn how to access Application Code Hub directly from Visual Studio Code, download a RTP USB Camera Stream over WiFi (FRDM‑MCXN947 + IW610), and run it on the FRDM-MCXN947 using IW610G-M2 + FRDM-ADPT-MCX-M2 to add Wi-Fi capabilities and USB camera to video stream. Hardware Requirements: FRDM-MCXN947 FRDM-ADPT-MCX-M2 IW610G-M2 Logitech C920 HD Pro WebCam Type C USB Cable Software Requirements: IDE: Visual Studio Code 1.130 or later SDK: V26.06.00 LTS VLC  RTP USB Camera Stream over Wi-Fi lab guide (function() { var wrapper = document.getElementById('lia-vid-6405436030112w960h540r364'); var videoEl = wrapper ? wrapper.querySelector('video-js') : null; if (videoEl) { if (window.videojs) { window.videojs(videoEl).ready(function() { this.on('loadedmetadata', function() { this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) { bar.setAttribute('role', 'presentation'); bar.setAttribute('aria-hidden', 'true'); }); }); }); } }})(); (view in My Videos) Community Support If you have questions regarding this training, please leave your comments in our MCU Community! here 
View full article
Question about VOL characteristics of PCA82C251T/YM,118 I have a question regarding the VOL characteristics of the PCA82C251T/YM,118. According to the datasheet, the maximum VOL is specified as 1.5 V at an output current of 10 mA, and 0.2 × VCC at an output current of 1 mA. However, I am not sure how to determine or estimate the VOL when the actual output current is less than 1 mA. Could you please provide any characteristic curves, reference data, or a recommended method for estimating VOL at output currents below 1 mA? If there is a recommended VOL value to use for design calculations under such low-current conditions, please let me know. Re: Question about VOL characteristics of PCA82C251T/YM,118 Hi yoshiki11457901 51 For IVN products we don't provide additional parameters except datasheet included. So you can refer to the VOL value under test condition of I4 = 1 mA for current less  1 mA.
View full article
QEMU for i.MX 95 Hello, We have built the OpenBMC for the i.MX 95 ( Machine ->evb-imx95  , Image ->obmc-phosphor-image  ) using walnascar branch of the nxp-imx-support repository ( https://github.com/nxp-imx-support/meta-nxp-openbmc/tree/walnascar ) . We don't have an evaluation board available for testing, so we would like to know whether QEMU Emulation support is available for the i.MX 95 platform to run the OpenBMC image. Specifically: Does NXP provide a QEMU machine model for the i.MX 95 (for example, in the imx-qemu repository), and does it support booting the OpenBMC image?. If not, is there a recommended way to test the OpenBMC image without hardware? We checked upstream QEMU and did not find an i.MX 95 machine type. Thank you Re: QEMU for i.MX 95 Hi @Kavinraj_08  We have not yet released a QEMU package supporting the i.MX 95. At the same time, there is no hardware-free testing solution for i.MX 95 OpenBMC. B.R
View full article