Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
S32K344 裸机 RTD 封装可用性(非 AUTOSAR) 您好,NXP团队, 我是 S32K344 平台的新手,最近购买了一块基于 S32K344 的主板。 我想使用 S32 设计工作室和实时驱动程序 (RTD) 进行裸机开发,而不使用 AUTOSAR。 然而,在 NXP 软件下载页面上,我只能找到以下标签的软件包: S32K1_S32M24x 实时驱动程序 AUTOSAR R21-11 S32K1_S32M24x 实时驱动程序 AUTOSAR 4.4 我特别想找的是: 裸机/非AUTOSAR RTD 代码包,软件包 GPIO、UART、SPI、ADC 示例 S32K344 支持 S32 Design Studio 集成 请问您能否澄清一下: S32K344 是否有单独的 RTD 软件包可用于裸机开发? 如果不行,目前可用的 RTD 软件包能否用于非 AUTOSAR 项目? 哪里可以下载 S32K344(GPIO、UART、SPI 等)的裸机示例? 有没有推荐的入门指南,用于在不使用 AUTOSAR 的情况下学习 S32K344 的寄存器级别和 RTD 级别? Re: S32K344 Bare-Metal RTD Package Availability (Non-AUTOSAR) 不,S32K344 没有单独的裸金属 RTD 封装。标准 S32K3 RTD 封装适用于 AUTOSAR 和非 AUTOSAR 应用。 是的,目前可用的 RTD 代码包,软件包可以在非 AUTOSAR 项目中使用。RTD 版本说明明确指出,S32K3 实时驱动也可以在非 AUTOSAR 环境中使用,作为一组外围驱动程序,旨在简化和加速 NXP 微控制器上的应用程序开发。 RTD 软件包中包含 GPIO、UART、SPI、ADC 和其他外设示例,可通过 RTD 安装和 S32 设计工作室示例项目获取。RTD 与 S32 设计工作室集成,并支持非 AUTOSAR 开发工作流程。 对于初学者,我们建议使用 S32K3 参考手册进行寄存器级编程,并结合 RTD 入门文档、RTD 发行说明以及软件包中包含的 RTD 示例项目。 此外,对于 S32K344,您应该使用 S32K3_S32M27x RTD 软件包。您帖子中提到的 S32K1 RTD 软件包是针对不同设备系列的。
View full article
Availability of Quantized (INT8) Model for Latest MediaPipe Face Mesh (478 Landmarks) I am looking to run Google's MediaPipe Face Mesh (478-point landmark model with iris tracking / Attention Mesh) efficiently on iMX Platforms. Does NXP currently provide an official quantized version (e.g., INT8) for the 478-point Face Landmarker model? If not currently available, any Plans to release in future? I have tried to quantize this original model from google using eIQ toolkit, but the accuracy is reducing drastically. When I quantize the Google's old Facemesh model (486 Landmarks) same way, i am able to get decent performance. Has NXP has the same observation? Anyone else has tried quantising Google's latest FaceMesh(478 Landmark) model? Machine Learning Re: Availability of Quantized (INT8) Model for Latest MediaPipe Face Mesh (478 Landmarks) Hello,  It is not currently available but we are testing internally to have an int8 improvement. Regards. 
View full article
Gui-guider 2.0.1 Ubuntu 错误 在 Ubuntu 26.04 LTS 系统中,使用 GUI-Guider 2.0.1(该项目即在此版本中创建)打开一个非常简单的项目时出现错误: 错误:/__w/sharp/sharp/node_modules/@img/sharp-libvips-dev/include/vips/VImage8.h:134:vips::VObject& vips::VObject::operator=(const vips::VObject&): 断言失败:(!a.vobject || VIPS_IS_OBJECT(a.vobject)) 赶紧逃命!错误:/__w/sharp/sharp/node_modules/@img/sharp-libvips-dev/include/vips/VImage8.h:134:vips::VObject& vips::VObject::operator=(const vips::VObject&): 断言失败:(!a.vobject || VIPS_IS_OBJECT(a.vobject)) 有什么解决办法吗? 此外,Ninja框架需要手动安装。 Re: Gui-guider 2.0.1 Ubuntu error 谢谢你, @EdwinHz 。 我只查看了入门指南页面,其中在“主机操作系统”一栏中写着“Ubuntu 24.04 或更高版本”。总之,我成功创建了一个非常简单的项目,问题出在我想向资源中添加图像的时候。 删除资源文件夹后,我就可以再次打开项目了。似乎一切正常,但偶尔会再次停止并显示相同的消息。 Re: Gui-guider 2.0.1 Ubuntu error 嗨@poldo , 正如GUI Guider 页面的系统要求部分或GUI Guider 文档页面的安装过程中所述,GUI Guider 2.0.1 是为 Ubuntu 24.04 开发的,这或许可以解释为什么您在 Ubuntu 26.04 LTS 上打开一个简单的项目时会立即看到错误(以及安装 ninja 框架时遇到困难)。安装过程中是否遇到任何警告或错误信息?如果可以,请尝试在 24.04 版本上运行此工具。 BR, 埃德温。 Re: Gui-guider 2.0.1 Ubuntu error 嗨@poldo , 这可能是由于某些不兼容问题导致 sharp 出现错误,所以添加图像资源时才会出现该错误描述。如果可以,请尝试使用 Ubuntu 24.04,因为 GUI Guider 已被证明即使在使用镜像资源的情况下也能在此 LTS 版本上运行。 BR, 埃德温。 Re: Gui-guider 2.0.1 Ubuntu error 降级是不可能的,但我通过在 Ubuntu 24.04 发行版容器中运行 GUI-Guider 解决了兼容性问题。需要手动安装一些库和程序,但看起来它运行正常! Re: Gui-guider 2.0.1 Ubuntu error 嗨@poldo , 真是个好消息!如果您遇到任何其他问题,请告诉我,我将很乐意提供帮助。 BR, 埃德温。
View full article
S32K1 功能安全外围驱动器 我的“常规”(即无需签署任何形式的 NDA 或类似协议)NXP 帐户,我即可访问 K3 和 K5 系列的功能安全外设驱动程序。但对于 K1 系列手机来说,似乎只能通过 Digikey 等授权代理商付款才能获得。请看下面的屏幕截图。 我想知道这样做的理由是什么。我原以为,由于 K1 是一款非常成熟的产品,其软件应该比 K3 更容易获取,但事实似乎恰恰相反。 或者我的理解有误? durga_choudhury_0-1788184794909.png Re: S32K1 safety peripheral drivers 你好@Julián_AragónM 非常感谢您的支持。 Re: S32K1 safety peripheral drivers 你好@durga_choudhury , 您提到的用于 Digikey 分发的镜像似乎缺失了。 最近 SAF/SPD 产品目录和产品页面发生了一些变化。S32K1 的 SPD 是标准软件产品的一部分,因此访问方面应该不会有任何问题。 Julin_AragnM_0-1788212683758.png 我已通过社区给你发送了一条私信。 此致, 朱利安
View full article
S32K3x4EVB-T172 PIL通信エラー/タイムアウト(MBDT S32K3xx 1.4.0使用時) こんにちは、 MATLAB 2023a上で、MBDT S32K3xx (v1.4.0)を使用してPIL S32CTのサンプルを実行してみました。私のセットアップは、S32K3x4EVB-T172をオンボードのOpenSDAポートに接続しています。 試み1(OpenSDA COM): 生成されたターゲットモデルのフラッシュは成功しますが、PIL実行はすぐに以下のエラーで失敗します。 「通信チャネルが開かれませんでした」(添付のエラーメッセージのスクリーンショット参照) 試み2(外部USB2シリアルコンバータ) OpenSDAポートはフラッシュ用に繋いだままにしつつ、外部USB2SirealコネクタをJ44(1からTX、2からRX)に接続してPIL通信を行い、ハードウェア設定でCOMポートを更新しました。モデルは正常にフラッシュしますが、実行時にタイムアウトするとエラーがあります。 エラー:rtiostreamインターフェースからのデータ受信に10秒のタイムアウトが超過しました。この通信障害には複数の原因が考えられます。 あなたは以下のことをすべきです: (a) ターゲットハードウェア構成が正しいか、例えばバイトの順序が正しいかを確認します。 (b) ターゲットアプリケーションがターゲットハードウェア上で動作していることを確認。 (c) アプリケーションの実行時障害(例:例外で割り算、誤ったカスタムコード統合など)の可能性を考慮します。 注(c):実行時の失敗の原因を特定するために、シグナルハンドラとデバッグをサポートするSILの使用を検討してください。 解決策が見つからない場合は、rtw.connectivity.RtIOStreamHostCommunicatorのsetTimeoutRecvSecs方法を使ってタイムアウト値を増加させることを検討してください。   質問: 1.S32K3x4EVB-T172ボードはPIL用に外部USB2Serialコンバータが必要ですか?それとも内蔵のOpenSDAポート経由でPILを動かせますか? 2. 外部USB-シリアル変換が必要な場合、想定されるハードウェアUART構成は具体的にどのようなものですか? 3. 何か設定が抜けているのでしょうか? どんなアドバイスでも大変ありがたく思います! Re: S32K3x4EVB-T172 PIL Communication Error/ Timeout with MBDT S32K3xx 1.4.0 こんにちは、 @PruthviB さん、 さらに調査する前に、なぜ MBDT S32K3xx v1.4.0を使っているのか、もう少し詳しく教えていただけますか?最新のリリースはv1.8.0で、いくつかの修正と改善が含まれています。まずはバージョン1.8.0にアップグレードして、問題が再現するかどうかを確認することをお勧めします。 あなたの構成についてですが、S32K3X4EVB-T172のPIL通信には外部のUSB-シリアル変換器は必須ではありません。オンボードの OpenSDAインターフェースはすでにホスト-ターゲット通信に使われるターゲットUARTへのアクセスを提供しているため、同じUSB接続でプログラミングとPIL通信の両方に使用できます。 OpenSDAはUARTピンに直接アクセスできるため、追加のUSBからシリアルアダプターへの接続は一般的に不要であり、複数のシリアルインターフェースが同時に動作している場合には設定競合を引き起こすことさえあります。 以下のような例を試してみていただけますか: MBDT S32K3xx v1.8.0 オンボードのOpenSDA USB接続のみ ハードウェア設定で選択された、OpenSDAによって公開されるCOMポート よろしくお願いします、 ドラゴス Re: S32K3x4EVB-T172 PIL Communication Error/ Timeout with MBDT S32K3xx 1.4.0 やあ、 @dragostoma OpenSDAのオンボードインターフェースに関するご案内ありがとうございます。 バージョンに関しては、MBDT for BMSではMBDT v1.4.0が推奨バージョンでした。v1.4.0でのPILシミュレーションの実行についてのガイダンスを教えていただけますか? よろしくお願いいたします。 プルートヴィ Re: S32K3x4EVB-T172 PIL Communication Error/ Timeout with MBDT S32K3xx 1.4.0 こんにちは、 @PruthviB さん、 確かに、おっしゃる通りです。BMS Toolboxには、S32K3 Toolboxバージョン1.4.0が必要です。最初の議論ではBMSツールボックスについて言及されていなかったので、問題は古いバージョンのS32K3ツールボックスを使用していることに関連していると考えました。 バージョン1.4.0におけるPILシミュレーションに関しては、ワークフローに変更はありません。ツールボックスに付属する例モデルは、 LPUARTインスタンスを使用し、そのRXおよびTX信号がOpenSDAインターフェースを通じてルーティングされるように設定されています。専用の USBからシリアルコンバータを使用する場合は、別のLPUARTインスタンスを設定し、コネクテッドする受信および送信ピンを割り当てる必要があります。 要約すると: OpenSDAインターフェースの使用:ツールボックスに付属する例モデルは、追加の修正なしで動作するはずです。必要なLPUARTインスタンスと関連するRX/TXピンは既に設定済みです。 専用のUSBからシリアルコンバータを使用する場合:コンバーターは対象機器の特定のRXピンおよびTXピンに接続する必要があります。したがって、これらのピンは構成され、利用可能なLPUARTインスタンスにマッピングされる必要があり、それに伴いプロジェクト構成も更新する必要があります。 USB2Serialコンバーターを使用する際は、正しいCOMポートを使用し、J44のRXピンとTXピンが設定されているか確認してください。 どのように機能するか教えてください。 ドラゴス
View full article
変更不可のFlash S32kボード上のブートイメージとアプリケーションイメージを含む内部フラッシュ領域を保護したいと考えています。イメージはProgram Flash(PFlash)に保存され、関連するアプリケーションデータはData Flash(DFlash)に保存される可能性があります。 承認されたソフトウェアがプログラムされた後、選択した領域を書き込み不可かつ消去不可にする方法はありますか?理想的には、この保護はアプリケーションソフトウェア、JTAG/デバッグアクセス、プログラミングツール、大量消去、復旧メカニズム、ライフサイクルの移行による改変を防ぐものです。 S32K344は、選択したPFlashまたはDFlashセクターを書き込み不可および消去不可にする永続的なメカニズムを提供しますか? 恒久的な保護機能が利用できない場合、NXPが推奨する最も強力な可逆的保護のための構成は何ですか? 専用のピンやジャンパー制御信号など、内部PFlashやDFlashのプログラミングを有効または停止できるハードウェアベースの方法はありますか? Re: Not Modifiable Flash こんにちは、 S32K344は、任意のPFlashまたはDFlashセクターを消去・書き込みに対して永久にロックするユーザーアクセス可能なOTPメカニズムを提供していません。 MPC57xxのOTPフラッシュセクタロックに相当するメカニズムはS32K344にはありません。 ブートおよびアプリケーションイメージの保護は、PFlashセクターの恒久的なOTPロックではなく、HSEセキュリティアーキテクチャ(セキュアブート、ライフサイクルマネジメント、デバッグ認証、認証済みファームウェア更新)を用いて実装されることを想定しています。 よろしくお願いいたします。 ピーター Re: Not Modifiable Flash JTAG信号を物理的に隔離したり、デバッグ接続を切断したり、外部ハードウェアを通じたアクセス制御など、S32K344内部PFlashやDFlashへのアクセス、消去、変更を物理的に無効化または物理的に制限する方法はありますか?
View full article
eIQ Neutron 是否支持 i.MX 上的 NPU 加速的 Vision Transformer (RF-DETR / DETR) 转换 目标 部署 RF-DETR Nano (视觉变压器+DETR头)开启 NXP FRDM-IMX95 运行推理 eIQ Neutron NPU 通过 libneutron_delegate.so 需要确认: eIQ 是否支持基于视觉转换器的 NPU 加速模型? 我的板详情 板: NXP FRDM-IMX95 (imx95-15x15-lpddr4x-frdm) 核心: Linux 6.18.2-1.0.0-gf49f45233f7b (aarch64,2026年2月) 中央处理器: 6 个 ARM Cortex-A55 处理器(500–1800 MHz) NPU: eIQ Neutron-S ( libneutron_delegate.so ) 使用的指南: FRDM i.MX95 入门指南 – NPU 部分 模型和管道试验 模型: RF-DETR Nano (DINOv2 ViT 主干网 + DETR 解码器) 输入: 384×384,COCO 80 类 流动: PyTorch → ONNX(选项集 18) ONNX → TFLite onnx2tf (-fdosm 对于 SavedModel) TFLite 动态范围量化(float32 I/O)— CPU推理工作正常 主持人: neutron-converter --input model.tflite --output model_neutron.tflite --target imx95 板:TFLite + Neutron 代表 哪些方法有效 ✅ ONNX导出成功 TFLite转换成功(约30MB模型) CPU推断正确 — 检测结果与 PyTorch 匹配(测试图像中的狗/人/汽车) 该模型在 FRDM 上运行,无论是否使用委托。 失败/阻塞的原因 ❌ 转换后未创建 NPU 图 检查转换 .tflite : 不 中子图 / 中子操作员 标记 中子代表似乎卸载 0 个节点 → 完整 CPU回退 完整的 INT8 量化失败 关于变压器操作(范围, (例如,除法) 用过的 动态范围量化 改为(权重量化,float32 I/O) 为什么我认为它不受支持(需要确认) RF-DETR 是 transformer-heavy :注意,BatchMatMul,Softmax,LayerNorm,Gather 等。 Neutron 文档列表主要 CNN运营 (Conv2D、DepthwiseConv2D、池化、加法……) 中子变流器 支持的运营商 需要采用类似的拆分模型方法 瑞芯微NPU (主干部分在NPU上,解码器在CPU上): rfdetr-on-rockchip-npu 我的具体问题 i.MX95 上的 eIQ Neutron 是否支持端到端视觉转换器模型(ViT / DETR / RF-DETR)? 如果 不,那是什么? 建议拆分 (例如DNOv2 主干网位于 NPU 上,DETR 头位于 CPU 上)? 是 批量多头注意力 当前 SDK 中是否支持 Neutron-S for i.MX95? 哪个 eIQ 工具包版本 匹配 BSP 内核 6.18.2-1.0.0 适用于 FRDM-IMX95? 我们应该使用恩智浦半导体吗? tflite-profiler + tflite-quantizer 为了更好地兼容NPU,为什么不使用onnx2tf动态范围量化呢? 模型部署快速入门 任何 参考示例 适用于 i.MX95 Neutron 上的变压器或 DETR 型型号 使用的命令(用于复现问题) 主机(转换): 中子变流器 \ --输入rf_detr_nano_full_int8.tflite \ --输出rf_detr_nano_neutron_imx95.tflite \ --target imx95 板(推断): python3 redetr_test_neutron_imx95.py \ --model rf_detr_nano_neutron_imx95.tflite \ --image dog.jpg \ --delegate /usr/lib/libneutron_delegate.so 预期问题: 转换后的模型没有 中子图 → 不支持NPU加速。 请确认: 是 支持视觉转换器 NPU 加速 今天在 i.MX95 上? 如果不是,那又是什么呢? 官方解决方法 (模型拆分、不同的导出路径,还是未来的路线图)? Re: Does eIQ Neutron support Vision Transformer (RF-DETR / DETR) conversion for NPU acceleration on 你好, Q1- Neutron N3.2 引入了专用硬件功能,可高效支持现代 GenAI 工作负载,包括语言模型 (LLM)、视觉 Transformer (ViT) 和 Transformer 派生算子。它还指出:“视觉转换器不需要动态形状,因此可以自然地集成到现有的 Neutron 变流器管道中。”它们的实现主要得益于扩展的运算符集和改进的量化选项(仍在开发中)。 Q2- 是的,不支持的操作会自动回退到 CPU。 Q3- 所有张量量化必须为 INT8,而不是 float32。Neutron 上的 BatchMatMul 仅对量化的 INT8 张量进行操作 第四季度 - 升级到最新的 电路板支持包 + SDK 3.2.2,以获得最佳的变压器运营商覆盖率。 Q5- 没错,这是推荐的做法。 Q6- 目前还没有公开的端到端DETR示例。 此致问候
View full article
eIQ NeutronはNPU加速用のビジョントランスフォーマー(RF-DETR/DETR)変換をサポートしています i.MX ゴール NXP FRDM-IMX95 に展開 RF-DETR Nano(ビジョントランス+DESTRヘッド)を展開 推論を eIQ Neutron NPU via  libneutron_delegate.so で実行してください 確認が必要です: eIQはNPU加速のためのビジョントランスフォーマーモデルをサポートしていますか? 私のボードの詳細 ボード: NXP FRDM-IMX95 (imx95-15x15-lpddr4x-frdm) カーネル: Linux 6.18.2-1.0.0-gf49f45233f7b (aarch64, 2026年2月) CPU: 6× ARM Cortex-A55(500–1800 MHz) NPU: eIQ Neutron-S (libneutron_delegate.so) 使用したガイド: FRDM i.MX95入門 – NPUセクション モデルとパイプラインの試み モデル: RF-DETR Nano (DINOv2 ViTバックボーン+DESTRデコーダ) 入力: 384×384、COCO 80クラス 流れ: PyTorch → ONNX (opset 18) ONNX → TFLite 経由 onnx2tf (-fdomsm SavedModel 用) TFLiteのダイナミックレンジ量子化(float32入出力)— CPU推論が機能する Host: 中性子コンバーター --input model.tflite --output model_neutron.tflite --target imx95 取締役会:TFLite + Neutron代表 何が効果的か ✅ ONNXエクスポートに成功しました TFLite変換成功(~30MBモデル) CPU推論は正しい — 検出結果はPyTorchの結果と一致しました(テスト画像上の犬/人/車)。 モデルはFRDM上でデリゲートの有無にかかわらず動作します 何が失敗するか/何がブロックされるか ❌ 変換後にNPUグラフは作成されませんでした。 変換された検査 .tflite : いいえ neutronGraph / ニュートロンオペレーター マーカー Neutron delegateは ノード 0 個 →フル CPUフォールバック をオフロードするようです INT8の完全量子化が失敗しました 変圧器の動作について (範囲、 DIV など) 使用済み ダイナミックレンジクオンツ 代わりに(重みは量子化され、float32 入出力) なぜそれが裏付けられていないと思うのか(要確認) RF-DESTRは トランスフォーマー重視 、attention、BatchMatMul、Softmax、LayerNorm、Gatherなどです。 Neutron ドキュメントリストは主に CNN操作(Conv2D、DepthwiseConv2D、プーリング、加算など) Neutron コンバータ 対応オペレーター 同様の分割モデル方式が必要です Rockchip NPU (NPUにバックボーン、CPUにデコーダ): RFDETR-オン-ロックチップ-NPU 私の具体的な質問 i.MX95上のeIQ Neutronはエンドツーエンドのビジョントランスモデル(ViT / DETR / RF-DETR)をサポートしていますか? もし いいえ、それは 推奨分割 (例えばDINOv2のバックボーンはNPU、DETRのヘッドはCPU上? 現在のSDKで、i.MX95用のNeutron-Sで BatchMatMul / Multi-Head Attention サポート されていますか? どれの eIQツールキットバージョン BSPに一致する カーネル 6.18.2-1.0.0 FRDM-IMX95用ですか? NXPを使うべきでしょうか? tflite-profiler + tflite-quantizer NPUとの互換性を向上させるために、onnx2tfのダイナミックレンジクオンツの代わりにこれを使用する? モデル展開クイックスタート i.MX95 Neutron  トランスまたはDESTRスタイルモデルの参考例があれば教えてください 使用したコマンド(再現性のため) ホスト(変換): Neutron-converter \ --input rf_detr_nano_full_int8.tflite \ --output rf_detr_nano_neutron_imx95.tflite \ --ターゲットimx95 ボード(推論): python3 redetr_test_neutron_imx95.py \ --モデルrf_detr_nano_neutron_imx95.tflite \ --画像dog.jpg \ --delegate /usr/lib/libneutron_delegate.so 予想される問題点: 変換モデルには中性子グラフ  →NPU加速がありません。 ご確認ください:  visionトランスフォーマーのNPU加速は、現在i.MX95でサポートされている ですか? もしそうでなければ、公式 回避策 (モデル分割、異なる輸出ルート、将来のロードマップなど)は何でしょうか? Re: Does eIQ Neutron support Vision Transformer (RF-DETR / DETR) conversion for NPU acceleration on こんにちは、 Q1 - Neutron N3.2は、言語モデル(LLM)、ビジョントランスフォーマー(ViT)、トランスフォーマー由来演算子など、現代のGenAIワークロードを効率的にサポートするための専用ハードウェア機能を導入します。」さらに「ビジョン トランスフォーマーは動的な形状を必要としないため、既存のNeutron変換パイプラインに自然に統合できます。これらのサポートは主に拡張演算子セットと改良された量子化オプション(まだ開発中)によって可能になっています。 Q2 - はい、サポートされていないオペレーションは自動的にCPUにフォールバックします Q3- すべてのテンソル量子化は INT8 でなければならず、float32 ではありません。Neutron上のBatchMatMulは量子化されたINT8テンソルでのみ動作します Q4 - 変圧器オペレーターのカバレッジを最適化するために最新のBSP + SDK 3.2.2へのアップグレード Q5- その通りです。それが推奨される手順です。 Q6:現時点で、エンドツーエンドのDETRの公開事例はありません。 よろしくお願いします。
View full article
Does eIQ Neutron support Vision Transformer (RF-DETR / DETR) conversion for NPU acceleration on i.MX Goal Deploy RF-DETR Nano (vision transformer + DETR head) on NXP FRDM-IMX95 Run inference with eIQ Neutron NPU via libneutron_delegate.so Need confirmation: Does eIQ support vision-transformer-based models for NPU acceleration? My Board Details Board: NXP FRDM-IMX95 (imx95-15x15-lpddr4x-frdm) Kernel: Linux 6.18.2-1.0.0-gf49f45233f7b (aarch64, Feb 2026) CPU: 6× ARM Cortex-A55 (500–1800 MHz) NPU: eIQ Neutron-S (libneutron_delegate.so) Guide used: FRDM i.MX95 Getting Started – NPU section Model & Pipeline Tried Model: RF-DETR Nano (DINOv2 ViT backbone + DETR decoder) Input: 384×384, COCO 80 classes Flow: PyTorch → ONNX (opset 18) ONNX → TFLite via onnx2tf (-fdosm for SavedModel) TFLite dynamic-range quant (float32 I/O) — CPU inference works Host: neutron-converter --input model.tflite --output model_neutron.tflite --target imx95 Board: TFLite + Neutron delegate What Works ✅ ONNX export succeeds TFLite conversion succeeds (~30 MB model) CPU inference is correct — detections match PyTorch (dog/person/car on test image) Model runs on FRDM with and without delegate What Fails / Blocked ❌ No NPU graph created after conversion Inspecting converted .tflite: no neutronGraph / NeutronOperator markers Neutron delegate appears to offload 0 nodes → full CPU fallback Full INT8 quantization fails on transformer ops (RANGE, DIV, etc.) Used dynamic-range quant instead (weights quantized, float32 I/O) Why I Think It’s Unsupported (Need Confirmation) RF-DETR is transformer-heavy: attention, BatchMatMul, Softmax, LayerNorm, Gather, etc. Neutron docs list mainly CNN ops (Conv2D, DepthwiseConv2D, Pooling, Add…) Neutron Converter Supported operators Similar split-model approach needed on Rockchip NPU (backbone on NPU, decoder on CPU): rfdetr-on-rockchip-npu My Specific Questions Does eIQ Neutron on i.MX95 support end-to-end vision transformer models (ViT / DETR / RF-DETR)? If not, what is the recommended split (e.g. DINOv2 backbone on NPU, DETR head on CPU)? Are BatchMatMul / Multi-Head Attention supported on Neutron-S for i.MX95 in current SDK? Which eIQ Toolkit version matches BSP kernel 6.18.2-1.0.0 for FRDM-IMX95? Should we use NXP tflite-profiler + tflite-quantizer instead of onnx2tf dynamic-range quant for better NPU compatibility? Model Deployment Quick Start Any reference example for transformer or DETR-style models on i.MX95 Neutron Commands Used (for reproducibility) Host (convert): neutron-converter \ --input rf_detr_nano_full_int8.tflite \ --output rf_detr_nano_neutron_imx95.tflite \ --target imx95 Board (inference): python3 redetr_test_neutron_imx95.py \ --model rf_detr_nano_neutron_imx95.tflite \ --image dog.jpg \ --delegate /usr/lib/libneutron_delegate.so Expected issue: converted model has no neutronGraph → no NPU acceleration. Please confirm: Is vision-transformer NPU acceleration supported on i.MX95 today? If not, what is the official workaround (model split, different export path, or future roadmap)? Re: Does eIQ Neutron support Vision Transformer (RF-DETR / DETR) conversion for NPU acceleration on Hello, Q1- Neutron N3.2 introduces dedicated hardware features to efficiently support modern GenAI workloads including Language Models (LLMs), Vision Transformers (ViTs), and transformer-derived operators." It further notes: "Vision Transformers do not require dynamic shapes, and thus integrate naturally into the existing Neutron converter pipeline. Their support is primarily enabled through the extended operator set and improved quantization options (still under development). Q2- Yes, unsupported ops fall back to CPU automatically Q3- All tensor quantization must be INT8, not float32. BatchMatMul on Neutron only operates on quantized INT8 tensors Q4- Upgrade to the latest BSP + SDK 3.2.2 for best transformer operator coverage Q5- It is correct, that is the recommended path to follow Q6- There are no public end-to-end DETR examples yet.  Regards.
View full article
Gui-guider 2.0.1 Ubuntu error Opening a very simple project in GUI-Guider 2.0.1 (where it was created) in Ubuntu 26.04 LTS gives an error: ERROR:/__w/sharp/sharp/node_modules/@img/sharp-libvips-dev/include/vips/VImage8.h:134:vips::VObject& vips::VObject::operator=(const vips::VObject&): assertion failed: (!a.vobject || VIPS_IS_OBJECT(a.vobject)) Bail out! ERROR:/__w/sharp/sharp/node_modules/@img/sharp-libvips-dev/include/vips/VImage8.h:134:vips::VObject& vips::VObject::operator=(const vips::VObject&): assertion failed: (!a.vobject || VIPS_IS_OBJECT(a.vobject)) Any workaround to this? Also, Ninja framework needs to be manually installed. Re: Gui-guider 2.0.1 Ubuntu error Thank you, @EdwinHz . I only checked the Getting started page where under Host OS it states "Ubuntu 24.04 or later". Anyway, I was able to create a very simple project, the problem arose when I wanted to add an image to the resource. When I remove the folder resources I can again open the project. It seems to be ok, but once in a while it stops again with the same message. Re: Gui-guider 2.0.1 Ubuntu error Hi @poldo, As mentioned on the System Requirements section of the GUI Guider page, or the installation process on the Getting started — GUI Guider Documentation page, GUI Guider 2.0.1 was developed for Ubuntu 24.04, which might explain why you see errors as soon as you open a simple project (as well as difficulties installing the ninja framework) on Ubuntu 26.04 LTS. Did you encounter any warning or error messages during the installation process? If possible, try running this tool on 24.04. BR, Edwin. Re: Gui-guider 2.0.1 Ubuntu error Hi @poldo, It's likely due to some incompatibility issue that might be causing an error with sharp, which is why you see that error description when adding image resources. If possible, try using Ubuntu 24.04, since GUI Guider has been proven to work with this LTS even when using image resources. BR, Edwin. Re: Gui-guider 2.0.1 Ubuntu error Hi @poldo, That's great news! Let me know if you encounter any other issues and I will gladly help. BR, Edwin. Re: Gui-guider 2.0.1 Ubuntu error Downgrading is not possible, but I solved the incompatibilty running GUI-Guider in a distrobox Ubuntu 24.04 container. Some manual libraries and programs installation was necessary, but it looks like it's working!
View full article
S32K3x4EVB-T172 PIL Communication Error/ Timeout with MBDT S32K3xx 1.4.0 Hello,  I tried running the example PIL S32CT with MBDT S32K3xx (v1.4.0) on MATLAB 2023a. My setup consists of an S32K3x4EVB-T172 connected via the onboard OpenSDA port. Attempt 1 (OpenSDA COM): I can flash the generated target model successfully, but PIL execution fails immediately with the following error: "The communication channel could not be opened" (see attached screen shot of the error message) Attempt 2 (External USB2Serial Convertor) I kept the OpenSDA port connected for flashing, but connected an external USB2Sireal  connector to J44(1 to TX and 2 to RX) for PIL communication and updated the COM port in the hardware settings. The model flashes successfully, but execution times out with this error: Error: The timeout of 10 seconds for receiving data from the rtiostream interface has been exceeded. There might be multiple reasons for this communications failure. You should: (a) Check that the target hardware configuration is correct, for example, check that the byte ordering is correct. (b) Confirm that the target application is running on the target hardware. (c) Consider the possibility of application run-time failures (e.g. divide by zero exceptions, incorrect custom code integration, etc.). Note (c): To identify possible reasons for the run-time failure, consider using SIL, which supports signal handlers and debugging. If you cannot find a solution, consider using the method setTimeoutRecvSecs of rtw.connectivity.RtIOStreamHostCommunicator to increase the timeout value.   Questions:   1. Does the S32K3x4EVB-T172 board require an external USB2Serial convertor for PIL or can it run PIL over the onboard OpenSDA port ?  2. If an external USB2Serial convertor required , what is the exact hardware UART configuration expected?  3. Am i missing any configuration ? Any guidance i highly appreciated!  Re: S32K3x4EVB-T172 PIL Communication Error/ Timeout with MBDT S32K3xx 1.4.0 Hi, @PruthviB, Before investigating further, could you clarify why you are using MBDT S32K3xx v1.4.0? The latest available release is v1.8.0, which includes several fixes and improvements. We recommend upgrading to v1.8.0 first and checking whether the issue still reproduces. Regarding your setup, an external USB-to-Serial converter is not required for PIL communication on the S32K3X4EVB-T172. The onboard OpenSDA interface already provides access to the target UART used for host-target communication, so the same USB connection can be used for both programming and PIL communication. Since OpenSDA has direct access to the UART pins, connecting an additional USB-to-Serial adapter is generally unnecessary and may even introduce configuration conflicts if multiple serial interfaces are active. Could you please try the example with: MBDT S32K3xx v1.8.0 Only the onboard OpenSDA USB connection The COM port exposed by OpenSDA selected in the hardware settings Best regards, Dragos Re: S32K3x4EVB-T172 PIL Communication Error/ Timeout with MBDT S32K3xx 1.4.0 Hi, @dragostoma Thank you for the guidance regarding OpenSDA onboard interface. Regarding the version, MBDT v1.4.0 was the recommended version for MBDT for BMS. Could you please provide guidance on running PIL simulations in v1.4.0 ?  Best Regards, Pruthvi Re: S32K3x4EVB-T172 PIL Communication Error/ Timeout with MBDT S32K3xx 1.4.0 Hi, @PruthviB, Indeed, you are correct. The BMS Toolbox requires S32K3 Toolbox version 1.4.0. Since the initial discussion did not mention the BMS Toolbox, I assumed the issue was related to the use of an outdated S32K3 Toolbox version. Regarding the PIL simulation in version 1.4.0, the workflow remains unchanged. The example model provided with the toolbox is configured to use the LPUART instance whose RX and TX signals are routed through the OpenSDA interface. If you intend to use a dedicated USB-to-Serial converter, you will need to configure a different LPUART instance and assign the corresponding RX and TX pins to which the converter will be connected. To summarize: Using the OpenSDA interface: the example model included with the toolbox should work without any additional modifications. The required LPUART instance and associated RX/TX pins are already configured. Using a dedicated USB-to-Serial converter: the converter must be connected to specific RX and TX pins on the target device. Consequently, those pins must be configured and mapped to an available LPUART instance, which requires corresponding updates to the project configuration. Please make sure that the correct COM Port is used, and the RX and TX pins from J44 are configured when using the USB2Serial converter. Let us know how it works, Dragos
View full article
S32K3x4EVB-T172 PIL 通信错误/超时,MBDT S32K3xx 1.4.0 你好, 我尝试在 MATLAB 2023a 上运行 PIL S32CT 示例和 MBDT S32K3xx (v1.4.0)。我的配置包括通过板载 OpenSDA 端口连接的 S32K3x4EVB-T172。 尝试 1(OpenSDA COM): 我可以成功刷写生成的目标模型,但是 PIL 执行立即失败,并出现以下错误: “无法打开通信通道”(请参见附件中的错误信息截图) 尝试 2(外置 USB 转串口转换器) 我保持 OpenSDA 端口连接以进行刷写,但将外部 USB2Sireal 连接器连接到 J44(1 到 TX,2 到 RX)以进行 PIL 通信,并在硬件设置中更新了 COM 端口。模型刷写成功,但执行超时并出现以下错误: 错误:从 rtiostream 接口接收数据的超时时间已超过 10 秒。通信失败可能由多种原因造成。 你应该: (a)检查目标硬件配置是否正确,例如,检查字节顺序是否正确。 (b)确认目标应用程序正在目标硬件上运行。 (c)考虑应用程序运行时故障的可能性(例如除以零异常、不正确的自定义代码集成等)。 注(c):要确定运行时失败的可能原因,请考虑使用 SIL,它支持信号处理程序和调试。 如果找不到解决方案,请考虑使用 rtw.connectivity.RtIOStreamHostCommunicator 的 setTimeoutRecvSecs 方法来增加超时值。 问题: 1.S32K3x4EVB-T172开发板运行PIL时是否需要外接USB转串口转换器,还是可以通过板载OpenSDA端口运行PIL? 2. 如果需要外部 USB 转串口转换器,所需的硬件 UART 配置具体是什么? 3. 我是否遗漏了什么配置? 非常感谢您的指导! Re: S32K3x4EVB-T172 PIL Communication Error/ Timeout with MBDT S32K3xx 1.4.0 你好, @PruthviB , 在进一步调查之前,能否请您说明一下您使用MBDT S32K3xx v1.4.0 的原因?最新版本为v1.8.0 ,其中包含多项修复和改进。我们建议您先升级到 v1.8.0 版本,然后检查问题是否仍然存在。 关于您的设置, S32K3X4EVB-T172上的PIL 通信不需要外部 USB 转串口转换器。板载OpenSDA 接口已经提供了对用于主机-目标通信的目标 UART 的访问,因此同一个 USB 连接可以用于编程和 PIL 通信。 由于 OpenSDA 可以直接访问 UART 引脚,因此通常不需要连接额外的 USB 转串口适配器,如果多个串口处于活动状态,甚至可能会引入配置冲突。 请您尝试一下以下示例: MBDT S32K3xx v1.8.0 仅板载OpenSDA USB 连接 在硬件设置中选择的 OpenSDA 公开的 COM 端口 此致, 德拉戈斯 Re: S32K3x4EVB-T172 PIL Communication Error/ Timeout with MBDT S32K3xx 1.4.0 你好, @dragostoma 感谢您对OpenSDA板载接口的指导。 关于版本,MBDT v1.4.0 是推荐用于电池管理系统的 MBDT 版本。请问能否提供在v1.4.0版本中运行PIL仿真的指导? 顺祝商祺! 普鲁特维 Re: S32K3x4EVB-T172 PIL Communication Error/ Timeout with MBDT S32K3xx 1.4.0 你好, @PruthviB , 没错,你说得对。The 电池管理系统 Toolbox requires S32K3 Toolbox version 1.4.0. 由于最初的讨论没有提到电池管理系统 工具箱,我假设这个问题与使用过时的 S32K3 工具箱版本有关。 关于 1.4.0 版本中的PIL 模拟,工作流程保持不变。工具箱提供的示例模型配置为使用LPUART 实例,其 RX 和 TX 信号通过 OpenSDA 接口路由。如果您打算使用专用的USB 转串口转换器,则需要配置不同的 LPUART 实例,并将转换器连接的相应 RX 和 TX 引脚分配给该实例。 总结起来: 使用 OpenSDA 接口:工具箱中包含的示例模型无需任何额外修改即可工作。所需的 LPUART 实例和相关的 RX/TX 引脚已配置完毕。 使用专用 USB 转串口转换器:转换器必须连接到目标设备上的特定 RX 和 TX 引脚。因此,必须配置这些引脚并将其映射到可用的 LPUART 实例,这需要对项目配置进行相应的更新。 使用 USB2Serial 变流器时,请确保使用正确的 COM 端口,并配置 J44 的 RX 和 TX 引脚。 与我们联系, 德拉戈斯
View full article
Gui-guider 2.0.1 Ubuntu エラー Ubuntu 26.04 LTS 上で、GUI-Guider 2.0.1 (作成元) で非常にシンプルなプロジェクトを開くと、エラーが発生します。 エラー:/__w/sharp/sharp/node_modules/@img/sharp-libvips-dev/include/vips/VImage8.h:134:vips::VObject& vips::VObject::operator=(const vips::VObject&): アサーション失敗: (!a.vobject || VIPS_IS_OBJECT(a.vobject)) 逃げろ!エラー:/__w/sharp/sharp/node_modules/@img/sharp-libvips-dev/include/vips/VImage8.h:134:vips::VObject& vips::VObject::operator=(const vips::VObject&): アサーション失敗: (!a.vobject || VIPS_IS_OBJECT(a.vobject)) これを回避する方法はありますか? また、Ninjaフレームワークは手動でインストールする必要があります。 Re: Gui-guider 2.0.1 Ubuntu error エドウィン・Hzさん、ありがとうございます。 私は「はじめに」ページだけを確認したのですが、ホストOSの項目に「Ubuntu 24.04以降」と記載されていました。とにかく、非常にシンプルなプロジェクトを作成することはできたのですが、リソースに画像を追加しようとしたときに問題が発生しました。 フォルダリソースを削除すると、再びプロジェクトを開けます。問題なさそうに見えるのですが、時々同じメッセージが表示されてまた停止してしまいます。 Re: Gui-guider 2.0.1 Ubuntu error こんにちは、 @poldo さん。 GUI Guiderページのシステム要件セクションや「Getting started — GUI Guider ドキュメント」ページのインストールプロセスで述べられているように、GUI Guider 2.0.1はUbuntu 24.04向けに開発されました。これがUbuntu 26.04 LTSで簡単なプロジェクトを開くとすぐにエラーが出たり、ninjaフレームワークのインストールが困難になったりする理由かもしれません。インストール中に警告メッセージやエラーメッセージが表示されましたか?可能であれば、このツールをUbuntu 24.04で実行してみてください。 BR、 エドウィン。 Re: Gui-guider 2.0.1 Ubuntu error こんにちは、 @poldo さん。 これはおそらく、sharpとの互換性の問題が原因でエラーが発生しているため、画像リソースを追加する際にそのエラーメッセージが表示されるのでしょう。可能であれば、Ubuntu 24.04 を試してみてください。GUI Guider は、イメージ リソースを使用する場合でも、この LTS 環境で動作することが確認されています。 BR、 エドウィン。 Re: Gui-guider 2.0.1 Ubuntu error ダウングレードは不可能ですが、GUI-GuiderをdistroboxのUbuntu 24.04コンテナ内で実行することで互換性の問題を解決しました。手動でライブラリやプログラムをインストールする必要がありましたが、うまく動作しているようです! Re: Gui-guider 2.0.1 Ubuntu error こんにちは、 @poldo さん。 それは素晴らしいニュースですね!他に何か問題が発生した場合はお知らせください。喜んでお手伝いいたします。 BR、 エドウィン。
View full article
S32K1 セーフティ ペリフェラル ドライバ 私の「通常」(つまり、NDAや同様の契約に署名していないのですが、NXPアカウントからK3およびK5ファミリのセーフティ ペリフェラル ドライバにアクセスできます。しかしK1ファミリーでは、Digikeyのような認可された代理店からペイメントでのみ入手できるようです。下記のスクリーンショットをご覧ください。 これにはどのような理由があるのか疑問に思っています。K1は非常に成熟した製品なので、K3よりもソフトウェアが使いやすいはずだと予想していましたが、実際は逆のようです。 私の理解が間違っているのでしょうか? durga_choudhury_0-1788184794909.png Re: S32K1 safety peripheral drivers こんにちは、@Julián_AragónM さん サポートありがとうございます。 Re: S32K1 safety peripheral drivers こんにちは、 @durga_choudhury さん、 ご指摘のDigiKey配布用のイメージが見つからないようです。 最近、SAF/SPDの提供表と製品ページにいくつかの変更がありました。S32K1のSPDは標準のSWの一部なので、アクセスに問題はないはずです。 Julin_AragnM_0-1788212683758.png コミュニティを通じてプライベートメッセージを送りました。 よろしくお願いします、 ジュリアン
View full article
关于使用S32K396控制板驱动100kW永磁同步逆变器的咨询 尊敬的恩智浦技术支持团队: 你好, 我们目前正在进行一个项目,旨在开发一款100千瓦级的永磁同步电机逆变器驱动模块。 我们的目标规格大约如下: 直流母线电压:800 伏 电机相电流:250 安培 电机类型:永磁同步电机 功率级:约100千瓦 在研究过程中,我们对恩智浦半导体的“带S32K396的三相永磁同步电机控制开发套件”产生了浓厚的兴趣。 由于我们需要开发自己的 100 kW 功率级,我们的计划是只使用开发套件中的 S32K396 控制板,并自行设计栅极驱动器和 IGBT 功率级。 在审阅了开发套件的原理图后,我们了解到控制板通过外部连接器与功率级连接,这些外部连接器包括: 用于控制三相逆变器的PWM信号 解析器相关信号 三相电流检测信号 直流母线电压检测 直流母线电流检测 请问我们的理解是否正确? 如果是这样,我们预期的系统配置如下: 使用 NXP S32K396 控制板生成我们定制的 100 kW 逆变器功率级所需的 PWM 信号。 使用霍尔效应电流传感器进行相电流测量,并将相应的模拟信号馈送到控制板。 参考 NXP 开发套件/电源板中使用的旋转变压器电路,实现旋转变压器接口电路。 向控制板的ADC输入端提供所需的直流母线电压和电流检测信号。 换句话说,我们希望使用现有的 S32K396 控制板和电机控制软件平台,同时用我们自己的 800 V / 250 Arms 逆变器硬件替换原有的功率级。 我们非常希望您能就以下问题提供建议: 在这种配置下,使用 S32K396 控制板和定制的大功率逆变器级是否可行? 将外部栅极驱动器/功率级连接到控制板时,有哪些接口要求、限制或注意事项需要考虑? 是否有任何应用笔记、参考设计、原理图、软件示例或其他技术文档可以帮助开发基于 S32K396 的 100 kW 级 PMSM 逆变器? NXP 是否提供,或者 NXP 能否推荐任何用于约 100 kW、800 V PMSM 逆变器的参考设计或评估平台? 任何补充信息或建议都将不胜感激。 感谢您的支持。 顺祝商祺! 亨文善 Re: Inquiry About Using the S32K396 Control Board for a 100 kW PMSM Inverter 您好, 你的理解基本正确。只要将所需的反馈信号(相电流、直流母线电压/电流、转子位置、故障信号等)适配到新的功率级接口,S32K396 控制器就可以独立于 MCSPTR2AK396 套件中包含的低压逆变器使用。MCSPTR2AK396 套件主要用作低压电机控制开发平台和软件使能套件。  对于 100 kW 左右的牵引级应用,您可能还需要查看 NXP 的 EV 牵引逆变器参考设计(EV-INVERTERGEN1 / EV-INVERTERGEN2),这些设计是为高压、大功率电动汽车逆变器应用而设计的,并且比 MCSPTR2AK396 评估套件提供了更相关的参考点。S32K39 系列是恩智浦牵引逆变器生态系统中受支持的电机控制平台之一。  MCSPTR2AK396 文档 (AN14481) 仍然可以作为 PMSM FOC 软件架构、外设配置、电流检测、旋转变压器集成和 FreeMASTER/MCAT 支持的参考资料。  您可以在这里找到有关电动汽车牵引逆变器平台的更多信息: NXP 电动汽车电源逆变器解决方案。 BR,彼得
View full article
Inquiry About Using the S32K396 Control Board for a 100 kW PMSM Inverter Dear NXP Support Team, Hello, We are currently working on a project to develop a 100 kW-class PMSM inverter drive module. Our target specifications are approximately: DC-link voltage: 800 V Motor phase current: 250 Arms Motor type: PMSM Power level: approximately 100 kW During our research, we became very interested in NXP's "3-Phase Permanent Magnet Synchronous Motor Control Development Kit with S32K396." Since we need to develop our own 100 kW power stage, our plan is to use only the S32K396-based control board from the development kit and design the gate-driver and IGBT power stage ourselves. After reviewing the schematics of the development kit, our understanding is that the control board interfaces with the power stage through external connectors, including: PWM signals for controlling the three-phase inverter Resolver-related signals Three-phase current sensing signals DC-link voltage sensing DC-link current sensing Could you please confirm whether our understanding is correct? If so, our intended system configuration would be as follows: Use the NXP S32K396 control board to generate the PWM signals for our custom 100 kW inverter power stage. Use Hall-effect current sensors for phase-current measurement and feed the corresponding analog signals to the control board. Implement the resolver interface circuitry by referring to the resolver circuit used in the NXP development kit/power board. Provide the required DC-link voltage and current sensing signals to the ADC inputs of the control board. In other words, we would like to use the existing S32K396 control board and motor-control software platform while replacing the original power stage with our own 800 V / 250 Arms inverter hardware. We would appreciate your advice regarding the following questions: Is it feasible to use the S32K396 control board in this configuration with a custom high-power inverter stage? Are there any interface requirements, limitations, or precautions that we should consider when connecting an external gate-driver/power stage to the control board? Are there any application notes, reference designs, schematics, software examples, or other technical documents that would be helpful for developing a 100 kW-class PMSM inverter based on the S32K396? Does NXP offer, or can NXP recommend, any reference design or evaluation platform for an approximately 100 kW, 800 V PMSM inverter? Any additional information or recommendations would be greatly appreciated. Thank you for your support. Best regards Hyeong Mun Seon Re: Inquiry About Using the S32K396 Control Board for a 100 kW PMSM Inverter Hi, Your understanding is generally correct. The S32K396 controller can be used independently of the low-voltage inverter included with the MCSPTR2AK396 kit, provided the required feedback signals (phase currents, DC bus voltage/current, rotor position, fault signals, etc.) are adapted to the new power stage interface. The MCSPTR2AK396 kit is primarily intended as a low-voltage motor-control development platform and software enablement kit.  For traction-class applications around 100 kW, you may also want to review NXP's EV traction inverter reference designs (EV-INVERTERGEN1 / EV-INVERTERGEN2), which are intended for high-voltage, high-power electric vehicle inverter applications and provide a more relevant reference point than the MCSPTR2AK396 evaluation kit. The S32K39 family is one of the supported motor-control platforms within NXP's traction inverter ecosystem.  The MCSPTR2AK396 documentation (AN14481) can still be useful as a reference for the PMSM FOC software architecture, peripheral configuration, current sensing, resolver integration, and FreeMASTER/MCAT support.  You can find additional information on the EV traction inverter platforms here: NXP EV Power Inverter Solutions. BR, Petr
View full article
i.mxrt1187/1189 核心时钟配置 i.mxrt1180 数据手册列出了运行速度高达 800 MHz 的 Cortex-M7 内核和运行速度高达 300 MHz 的 Cortex-M33 内核。 是否真的可以将核心配置成以这样的速度运行? 示例代码全部显示内核运行频率分别为 792 MHz (M7) 和 240 MHz (M33)。 看来这是我能配置 M7 核心的最快速度了。 看起来我可以通过切换到 PLL_ARM 输入时钟除以 3 来配置 M33 内核以 264 MHz 的频率运行。 谢谢! 彼得·斯坦伯格 Re: i.mxrt1187/1189 core clock configuration 亲爱的@petersteinberg , 谢谢你的提问。 i.MX RT1180 数据手册列出了 Cortex-M7 的 800 MHz 和 Cortex-M33 的 300 MHz,但这些是每个核心各自的最高频率——不可能同时达到两者。 原因在于 PLL 架构:两个内核共享同一个 ARM_PLL,CM33 时钟必须通过整数分频器从中导出——不支持分数分频器。 ARM_PLL 本身的硬件最大频率为 798 MHz(“800 MHz”是一个四舍五入的标称值),通过设置 VDIV = 133 实现: ShellyZhang_0-1788249495288.pngShellyZhang_0-1788249495288.pngShellyZhang_0-1788249495288.pngShellyZhang_0-1788249495288.pngShellyZhang_0-1788249495288.png 当 ARM_PLL 频率为 798 MHz 时,CM33 的最佳整数除法是除以 3,即 798 MHz ÷ 3 = 266 MHz — 因此,当 CM7 以其真正的最大频率 798 MHz 运行时,CM33 最多只能达到 266 MHz,而不是 300 MHz。 如果您的应用需要 CM33 运行在 300 MHz,则必须将 ARM_PLL 重新配置为 600 MHz,这样 CM33 就可以运行在 600 MHz ÷ 2 = 300 MHz,但在这种情况下,CM7 的运行频率被限制在 600 MHz。 如有任何其他疑问,请随时联系。 顺祝商祺! 雪莉 Re: i.mxrt1187/1189 core clock configuration 谢谢,这下我明白了参考手册里的内容。 彼得 Re: i.mxrt1187/1189 core clock configuration 当前版本的 MCUXpresso (25.6.136)不支持将 M33 内核配置为超过 240 MHz。 当前版本的独立 MCU 配置工具 (26.06) 支持更高的 M33 内核速度,但不支持 MCUXpresso IDE 工具。 Re: i.mxrt1187/1189 core clock configuration 亲爱的@petersteinberg , 我使用 MCUXpresso IDE 中的集成配置工具成功配置了时钟。这个问题很可能与配置工具版本不匹配有关。请按照以下说明更新配置工具: 更新 MCUXpresso IDE 中的配置工具 更新后,请重启 MCUXpresso IDE。此外,配置完时钟后,请务必点击“更新代码”以生成更新后的配置代码: ShellyZhang_0-1788333111591.pngShellyZhang_0-1788333111591.png 更新后如果仍然遇到同样的问题,请告诉我。 顺祝商祺! 雪莉 Re: i.mxrt1187/1189 core clock configuration 谢谢。 我昨天在发表评论之前就这么做了。 今天又试了4次之后,似乎终于下载并安装了正确的版本,现在运行正常了。 彼得
View full article
i.mxrt1187/1189 コアクロック構成 i.mxrt1180のデータシートには、Cortex-M7コアが最大800 MHz、Cortex-M33コアが最大300 MHzで動作すると記載されています。 実際に、これらの速度でコアを動作するように構成することは可能なのでしょうか? サンプルコードでは、コアが792MHz(M7)と240MHz(M33)で動作していることが示されています。 これがM7コアの設定できる最速のようです。 M33コアを264 MHzで動作させるには、PLL_ARM入力クロックを3で割ることで設定できるようです。 ありがとうございます ピーター・スタインバーグ Re: i.mxrt1187/1189 core clock configuration @petersteinberg様、 ご質問ありがとうございます。 i.MX RT1180のデータシートではCortex-M7が800 MHz、Cortex-M33が300 MHzと記載されていますが、これらは各コアの個別最大値であり、両方を同時に達成することはできません。 その理由はPLLアーキテクチャにあります。両方のコアが同じARM_PLLを共有しており、CM33クロックは整数分周器を介してそこから生成する必要があります。分数分周器はサポートされていません。 ARM_PLL自体の真のハードウェア最大値は798MHz(「800MHz」という数値は丸められた公称値)で、これはVDIV = 133に設定することで実現されます。 ShellyZhang_0-1788249495288.pngShellyZhang_0-1788249495288.pngShellyZhang_0-1788249495288.pngShellyZhang_0-1788249495288.pngShellyZhang_0-1788249495288.png ARM_PLLが798 MHzの場合、CM33の最良の整数分割は3で割り算され、798 MHz ÷ 3 = 266 MHzとなります。つまり、CM7が真の最大798 MHzで動作しているとき、CM33は最大266 MHzに達し、300 MHzには達しません。 もしアプリケーションが300 MHzでCM33を必要とする場合、ARM_PLL 600 MHzに再構成する必要があります。これによりCM33は600 MHz ÷ 2 = 300 MHzで動作しますが、この場合CM7は600 MHzに制限されます。 ご不明な点がございましたら、お気軽にお問い合わせください。 よろしくお願いいたします。 シェリー Re: i.mxrt1187/1189 core clock configuration ありがとうございます。リファレンス・マニュアルで読んでいたことがわかりました。 ピーター Re: i.mxrt1187/1189 core clock configuration MCUXpressoの現在のバージョン(25.6.136)M33コアを240MHz以上に設定することはできません。 スタンドアロンのMCU構成ツール(26.06)の現行バージョンは、より高いM33コア速度をサポートしていますが、MCUXpressoのIDEツールには対応していません。 Re: i.mxrt1187/1189 core clock configuration @petersteinberg様、 MCUXpresso IDEの統合設定ツールを使ってクロックをうまく設定できました。この問題は、おそらくConfig Toolsのバージョン不一致に関連していると思われます。以下の手順に従って、設定ツールを更新してください。 MCUXpresso IDE内の設定ツールの更新 アップデート後は、MCUXpresso IDEを再起動してください。また、時計の設定が完了したら、 「コードの更新」をクリックして、更新された設定コードを生成してください。 ShellyZhang_0-1788333111591.pngShellyZhang_0-1788333111591.png アップデート後も同じ問題が発生する場合は、お知らせください。 よろしくお願いいたします。 シェリー Re: i.mxrt1187/1189 core clock configuration ありがとう。 私は昨日、コメントを投稿する前にそれを済ませました。 今日さらに4回試してみたところ、ようやく適切なバージョンがダウンロードされ、インストールされたようで、今は期待通りに動作しています。 ピーター
View full article
i.mxrt1187/1189 core clock configuration The i.mxrt1180 datasheet lists the Cortex-M7 core operating at speeds of to 800 MHz and the Cortex-M33 core at speeds up to 300 MHz. Is it actually possible to configure the cores to operate at these speeds? The sample code all shows the cores operating at 792 MHz (M7) and 240 MHz (M33). It looks like that's as fast as I can configure the M7 core. It looks like I can configure the M33 core to operate at 264 MHz by switching to the PLL_ARM input clock divided by 3. Thanks,   Peter Steinberg Re: i.mxrt1187/1189 core clock configuration Dear @petersteinberg , Thank you for your question. The i.MX RT1180 datasheet lists the Cortex-M7 at 800 MHz and the Cortex-M33 at 300 MHz, but these are each core's individual maximum — it is not possible to achieve both simultaneously. The reason lies in the PLL architecture: both cores share the same ARM_PLL, and the CM33 clock must be derived from it via an integer divider — fractional dividers are not supported. The ARM_PLL itself has a true hardware maximum of 798 MHz (the "800 MHz" figure is a rounded nominal value), achieved by setting VDIV = 133: ShellyZhang_0-1788249495288.pngShellyZhang_0-1788249495288.pngShellyZhang_0-1788249495288.pngShellyZhang_0-1788249495288.pngShellyZhang_0-1788249495288.png With ARM_PLL at 798 MHz, the best integer division for CM33 is divide-by-3, giving 798 MHz ÷ 3 = 266 MHz — so when CM7 is running at its true maximum of 798 MHz, CM33 can reach at most 266 MHz, not 300 MHz. If your application requires CM33 at 300 MHz, ARM_PLL must be reconfigured to 600 MHz , which allows CM33 to run at 600 MHz ÷ 2 = 300 MHz, but in this case CM7 is limited to 600 MHz. Please feel free to reach out if you have any further questions. Best Regards, Shelly Re: i.mxrt1187/1189 core clock configuration Thanks, that clarifies what I was reading in the reference manual. Peter Re: i.mxrt1187/1189 core clock configuration The current version of MCUXpresso (25.6.136) does not support configuring the M33 core to over 240 MHz. The current version of the stand-alone MCU Configuration Tools (26.06) does support the higher M33 core speed, but it does not support the MCUXpresso IDE tools. Re: i.mxrt1187/1189 core clock configuration Thanks. I did that yesterday before posting the comment. After doing it 4 more times today it looks like it finally downloaded and installed the proper version and is now working as expected. Peter Re: i.mxrt1187/1189 core clock configuration Dear @petersteinberg , I was able to configure the clocks successfully using the integrated Config Tools in MCUXpresso IDE. The issue is most likely related to a Config Tools version mismatch. Please update the Config Tools by following the instructions in: Updating Config Tools in the MCUXpresso IDE After the update, please restart MCUXpresso IDE. Also, after configuring the clocks, make sure to click Update Code to generate the updated configuration code: ShellyZhang_0-1788333111591.png Please let me know if you still experience the same issue after updating. Best Regards, Shelly
View full article
S32K1 safety peripheral drivers With my 'regular' (i.e. without having signed any kind of NDA or similar arrangements) NXP account, I can access the Safety Peripheral driver for the K3 and K5 family. But it seems for the K1 family it can only be obtained for payment from authorized agents such as Digikey. Please see the screen shot below. I am wondering about the rationale behind this. I'd have expected that, since the K1 is a very mature product, it's software should be more readily available compared to the K3, but it seems it is the other way around. Or is my understanding incorrect? durga_choudhury_0-1788184794909.png Re: S32K1 safety peripheral drivers Hello @Julián_AragónM  Thank you very much for your support. Re: S32K1 safety peripheral drivers Hello @durga_choudhury, It seems the image for Digikey distribution you've mentioned is missing. Recently there have been some changes in the SAF/SPD offering table and product page. S32K1's SPD is part of the Standard SW offering, so there should be no issues with access. Julin_AragnM_0-1788212683758.png I have sent you a private message through community. Best regards, Julián
View full article