Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
Wi-Fi Aware NAN with iOS 26 on IW612 and FRDM-IMX93 sample code and 88W9098 support Hello, I am developing a consumer accessory for iPhone that uses Wi-Fi Aware (NAN) as its data link. Apple added a public Wi-Fi Aware framework in iOS 26, and I already have a working iPhone-to-iPhone benchmark app (Publish/Subscribe, paired devices, TCP data path). I am now selecting the NXP side. My plan is to evaluate the IW612 on the FRDM-IMX93 board as the NAN peer, then move to an i.MX 8M Plus based design with NVMe storage. I have four questions: 1. In thread 2170706 ("Sample code for WiFi Aware (NAN) on iMX boards with the IW612 tri-radio module"), NXP shared Wi-Fi Aware sample code for iOS interoperability through secure files. Could I get access to the same material? I can open a formal support case if that is the proper channel. 2. Does the FRDM-IMX93 Debian/Yocto BSP ship with an IW612 firmware that has NAN enabled out of the box, and which BSP release should I use? 3. For a 2x2 variant of the same design, does the 88W9098 firmware support NAN / Wi-Fi Aware under the MXM driver? 4. Has NXP validated NAN pairing and data path against iOS 26 (Wi-Fi Aware 4.0 / PASN pairing)? Any known limitations would be very helpful. Target: iPhone 17 Pro Max and iPhone 12 Pro Max on iOS 26.5, Xcode 26. Any throughput figures for the IW612 NAN data path would also be welcome. Thank you, Youssef (https://community.nxp.com/t5/i-MX-Processors/Sample-code-for-WiFi-Aware-NAN-on-iMX-boards-with-the-IW612-tri/td-p/2170706) Re: Wi-Fi Aware NAN with iOS 26 on IW612 and FRDM-IMX93 sample code and 88W9098 support Hello, Hope you are doing well. For feature list of our Wi-Fi devices, I would recommend checking the NXP Wireless SoC Features and Release Notes for Linux. For documents that are under Secure Files: Secure Access Rights | NXP Semiconductors Could you please follow the process?  Also, I would recommend checking the Secure Access Rights FAQs | NXP Semiconductors Best Regards, Ricardo
View full article
回复:关于 FRDM-A-S32K34 的 SafeRTOS 支持和软件包可用性 大家好 , 我从 SAFERTOS® Archives - High Integrity Systems 下载了 SAFERTOS。 我正在按照以下步骤操作,使用 S32 设计工作室和 RTD 版本来开发 SAFERTOS。(版本)正如他们在文件中提到的那样) 组件版本 S32 Design Studio IDE v3.6.4 ARM GCC 编译器 11.4 S32K3 实时驱动程序 (RTD) 6.0.0 我遇到了一些错误, Vardhman_0-1788413006999.pngVardhman_0-1788413006999.png 我尝试了不同的 S32 设计工作室(版本 3.5)和 RTD 版本 RTD(2.0.0)。以及 5.0.0) 这是.mex吗?是用不同版本创建的? 请问可能的解决方案是什么? 谢谢。 Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 你好@Vardhman , 我很高兴听到 SafeRTOS 演示程序现在已经在板上运行了。   标准的变量和表达式视图通常仅在目标停止运行时才显示值。由于该项目使用了 PEmicro 调试器,请打开: 窗口 → 显示视图 → 其他… → PE 微型计算机系统 → 实时表达式 将 ulTickHookCallCount 添加到此视图并恢复应用程序。此视图专门用于在目标运行时监控变量。 如果需要,请将调试变量声明为 volatile,并使用编译器优化级别较低或禁用的调试版本。 另请参阅以下 NXP 社区帖子,其中介绍了如何在目标运行时启用和使用实时表达式视图来监视变量: 如何实时查看变量 - NXP 社区 已解决:调试时如何启用变量的实时视图? - NXP 社区 此致敬礼, 帕维尔 Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 各位团队成员,大家好! Vardhman_0-1788508409179.pngVardhman_0-1788508409179.png 当我复制到本地目录时,S32 删除了双引号并修改了路径。当我修正路径时。演示实时操作系统已在板载上运行。 问题 - 我在 S32 设计工作室中无法实时查看全局变量。我需要进行什么设置?每次我暂停代码后才能看到变量值。 Vardhman_1-1788508801698.pngVardhman_1-1788508801698.png      Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 你好, 步骤 1 - 我安装了 S32-3.6.4 版本 RTD 6.0.0。我之前遇到这个问题,现在已经解决了。我安装错了RTD软件包。现在可以用了。 Vardhman_0-1788436426474.pngVardhman_0-1788436426474.png 步骤 2 - 现在我已经导入了 highintegrity systems 提供的 Demo SAFERTOS 项目,请参见下面的截图。 Vardhman_1-1788436679719.pngVardhman_1-1788436679719.png 步骤 3 - 我进入管理 SDK,发现 PlatformSDK_S32K344_M7 报错或不受支持,可能是什么原因?为了解决这个问题 Vardhman_2-1788436993601.pngVardhman_2-1788436993601.png 步骤 4 - 创建新项目时,仍然看不到 SDK。如何解决这个问题? 步骤 5 - 我有一个查询,我安装了 3.6.4 版本。我在 S32 设计工作室安装这个 RTD 软件包 (6.0.0) 时遇到了问题。我看到 S32 设计工作室已更新至 3.6.10 版本。如果 S32 设计工作室更新到 3.6.10那么,Highintegrity Systems 将不支持此版本,因为他们提到 DEMO SAFERTOS 的兼容版本为 3.6.4。请就此发表意见。 步骤 6 - S32 设计工作室更新至 3.6.10 版本 Vardhman_4-1788437960107.pngVardhman_4-1788437960107.png 步骤7 - 代码编译后出现此错误, Vardhman_3-1788437895528.pngVardhman_3-1788437895528.png 我附上了我安装的RTD。 SW32K3_S32M27x_RTD_R21-11_6.0.0_D2506_DesignStudio_updatesite 谢谢 , Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 你好@Vardhman , 请检查是否已安装NXP GCC 10.2 。另外,创建应用程序项目时,请确保选择GCC 10.2 工具链。 以下社区帖子描述了类似的问题,并附有截图。虽然该帖子指的是 S32K1xx RTD,但所报告的依赖性相关症状是类似的: S32DS 3.6.7:S32K1xx RTD 3.0.0创建新项目时未检测到 顺祝商祺! 帕维尔 Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 谢谢,这方法有效。
View full article
RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 Hi Team  , I downloaded SAFERTOS from SAFERTOS® Archives - High Integrity Systems I am following below S32 design studio and RTD version for SAFERTOS.(Version as they mentioned in document) ComponentVersion S32 Design Studio IDE v3.6.4 ARM GCC Compiler 11.4 S32K3 Real-Time Drivers (RTD) 6.0.0 I am facing some error, Vardhman_0-1788413006999.pngVardhman_0-1788413006999.png I tried with different S32 design studio( Version 3.5) and RTD version RTD (2.0.0. and 5.0.0) Is this .mex created with different version ?  Can you please provide what could be the solution. Thanks. Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 Hello @Vardhman , I am glad to hear that the SafeRTOS demo is now running on the board.   The standard Variables and Expressions views normally display values only when the target is halted. Since the project uses the PEmicro debugger, please open: Window → Show View → Other… → PE Microcomputer Systems → Real Time Expressions Add ulTickHookCallCount to this view and resume the application. This view is specifically intended for monitoring variables while the target is running. If required, declare the debug variable as volatile and use a debug build with low or disabled compiler optimization. Please also refer to the following NXP Community threads, which describe how to enable and use the Real Time Expressions view for monitoring variables while the target is running: How to watch variables live - NXP Community Solved: How do I enable Live View for variables when debugging? - NXP Community Best regrads, Pavel Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 Hello Team, Vardhman_0-1788508409179.pngVardhman_0-1788508409179.png S32 was removing this double quotes and modifying path when I copied to local directory. when I corrected path. Demo RTOS is running on board. Query - I am not able to see global variable live on S32 design studio.What setting I need to do ?? Everytime I suppose to halt the code then I can able to see variable values. Vardhman_1-1788508801698.pngVardhman_1-1788508801698.png      Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 Hello, Step 1 - I installed S32-3.6.4 version RTD 6.0.0. I was facing this issue now its resolved. I was installing wrong RTD package. Now its working. Vardhman_0-1788436426474.pngVardhman_0-1788436426474.png Step 2 - Now I have imported the Demo SAFERTOS project provided by highintegrity systems see below snip. Vardhman_1-1788436679719.pngVardhman_1-1788436679719.png Step 3 - I went in manage SDK there I found that PlatformSDK_S32K344_M7 giving error or its not supported, what could be the possibility? to resolve this  Vardhman_2-1788436993601.pngVardhman_2-1788436993601.png Step 4 - When I am creating new project not able to see SDK there still. How to resolve this ?  Step 5 - I have one query I installed 3.6.4 S32 design studio when I am installing this RTD package(6.0.0) I can see S32 design studio updated to 3.6.10. If this S32 design studio updating to 3.6.10 then this version will not supported by  highintegrity systems as they mentioned compatible version for DEMO SAFERTOS IS 3.6.4 - pls give openion on this.  Step 6 - S32 design studio updated to 3.6.10  Vardhman_4-1788437960107.pngVardhman_4-1788437960107.png Step 7 - I am getting this error after building code, Vardhman_3-1788437895528.pngVardhman_3-1788437895528.png I have attached RTD that i have installed. SW32K3_S32M27x_RTD_R21-11_6.0.0_D2506_DesignStudio_updatesite Thanks ,  Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 Hello @Vardhman , Please check that NXP GCC 10.2 is installed. Also, make sure that the GCC 10.2 toolchain is selected when creating the application project. A similar issue is described in the following Community thread, including screenshots. Although the thread refers to the S32K1xx RTD, the reported dependency-related symptoms are similar: S32DS 3.6.7: S32K1xx RTD 3.0.0 not detected when creating a new project Best regards, Pavel Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 Thanks this is working.
View full article
支持 iOS 26 的 Wi-Fi 感知型 NAN(适用于 IW612 和 FRDM-IMX93 的示例代码)以及 88W9098 支持 你好, 我正在开发一款使用 Wi-Fi Aware (NAN) 技术的 iPhone 消费级配件。 作为其数据链路。苹果在 iOS 26 中添加了公共 Wi-Fi 感知框架, 我已经有一个可用的 iPhone 到 iPhone 基准测试应用程序(发布/订阅, 配对设备,TCP 数据路径)。我现在选择NXP一方。 我的计划是在FRDM-IMX93板上评估IW612作为NAN对等器件的性能, 然后转向基于 i.MX 8M Plus 的设计,并采用 NVMe 存储。 我有四个问题: 1.在主题 2170706 中(“iMX 板上 WiFi Aware (NAN) 的示例代码”) IW612 三频模块”),NXP 分享了 Wi-Fi Aware 示例代码 通过安全文件实现iOS互操作性。我可以获得访问权限吗? 同一种材料?如果需要,我可以提交正式的支持案例。 渠道。 2. FRDM-IMX93 Debian/Yocto 电路板支持包 是否附带 IW612 固件? 是否默认启用NAN?我应该使用哪个电路板支持包 版本? 3. 对于相同设计的 2x2 变体,88W9098 固件是否支持 MXM驱动程序支持NAN/Wi-Fi吗? 4. NXP 是否已针对 iOS 26(Wi-Fi 感知)验证了 NAN 配对和数据路径 4.0 / PASN 配对)?任何已知的局限性都将非常有帮助。 目标平台:运行 iOS 26.5 和 Xcode 26 的 iPhone 17 Pro Max 和 iPhone 12 Pro Max。 也欢迎提供 IW612 NAN 数据路径的吞吐量数据。 谢谢你, 优素福 ( https://community.nxp.com/t5/i-MX-Processors/Sample-code-for-WiFi-Aware-NAN-on-iMX-boards-with-the-IW612-tri/td-p/2170706 ) Re: Wi-Fi Aware NAN with iOS 26 on IW612 and FRDM-IMX93 sample code and 88W9098 support 你好, 希望你一切都好。有关我们 Wi-Fi 设备的功能列表,我建议查看NXP 无线 SoC 功能和 Linux 版本说明。 对于受“安全文件”保护的文档:安全访问权限 | NXP 半导体 请您按照以下步骤操作? 另外,我建议您查看恩智浦半导体 (NXP Semiconductors) 的“安全访问权限常见问题解答”。 顺祝商祺! 里卡多
View full article
RE: FRDM-A-S32K34のSafeRTOSサポートおよびパッケージの入手可能性 チームの皆さん、こんにちは。 SAFERTOS®アーカイブのHigh Integrity SystemsからSAFERTOSをダウンロードしました 以下にS32のデザインスタジオとSAFERTOSのRTDバージョンを追っています。(バージョン(文書に記載されている通り) コンポーネントバージョン S32 Design Studio IDE v3.6.4 ARM GCCコンパイラ 11.4 S32K3 リアルタイム・ドライバ (RTD) 6.0.0 エラーが発生しています。 Vardhman_0-1788413006999.pngVardhman_0-1788413006999.png S32デザインスタジオ(バージョン3.5)とRTDバージョンのRTD(2.0.0)で試しました。および 5.0.0) これは.mexですか?異なるバージョンで作成されましたか? 解決策が何か教えていただけますか? ありがとうございます。 Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 こんにちは、 @Vardhman さん。 SafeRTOSのデモがボード上で動作するようになったと聞いて、嬉しく思います。   標準の変数ビューと式ビューは、通常、対象が停止している場合にのみ値を表示します。このプロジェクトではPEmicroデバッガーを使用しているため、以下を開いてください。 ウィンドウ → ビューの表示 → その他… → PEマイクロコンピュータシステム → リアルタイム式 このビューにulTickHookCallCountを追加し、アプリケーションを再開します。このビューは、ターゲットの実行中に変数を監視することを特に目的としています。 必要に応じて、デバッグ変数をvolatileとして宣言し、コンパイラの最適化レベルを低くするか無効にしたデバッグビルドを使用してください。 また、ターゲットが実行中の変数を監視するためのリアルタイム表現ビューの有効化と利用方法を説明している以下のNXPコミュニティスレッドもご参照ください。 変数のライブ視聴方法 - NXPコミュニティ 解決済み:デバッグ時に変数のライブビューを有効にするにはどうすればいいですか?- NXPコミュニティ よろしくお願いいたします。 パベル Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 こんにちは、チームの皆さん、 Vardhman_0-1788508409179.pngVardhman_0-1788508409179.png S32は、私がローカルディレクトリにコピーした際に、この二重引用符を削除し、パスを変更していました。パスを修正したとき。デモRTOSが搭載されています。 質問です - S32 Design Studioでグローバル変数がライブで表示されません。どんな設定をすればいいのでしょうか?コードを停止するたびに変数の値が見えるようになっています。 Vardhman_1-1788508801698.pngVardhman_1-1788508801698.png      Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 こんにちは、 ステップ1 - S32-3.6.4 バージョン RTD 6.0.0 をインストールしました。この問題に直面していましたが、解決しました。間違ったRTDパッケージをインストールしていました。今は正常に動作しています。 Vardhman_0-1788436426474.pngVardhman_0-1788436426474.png ステップ 2 - 次に、highintegrity systems が提供するデモ SAFERTOS プロジェクトをインポートしました。以下のスニペットを参照してください。 Vardhman_1-1788436679719.pngVardhman_1-1788436679719.png ステップ3 - 管理SDKに入ったところ、エラーが出るかサポートされていないPlatformSDK_S32K344_M7、どんな可能性があるのでしょうか?これを解決するには Vardhman_2-1788436993601.pngVardhman_2-1788436993601.png ステップ4 - 新しいプロジェクトを作成してもSDKが見えない。この問題を解決するにはどうすればいいですか? ステップ5 - 3.6.4をインストールしたクエリが1つありますこのRTDパッケージ(6.0.0)をインストールするときにS32 Design Studioを起動しますS32 Design Studioは3.6.10にアップデートされているのが見えます。もしこのS32デザインスタジオが3.6.10にアップデートされた場合このバージョンはhighintegrity systemsではサポートされません。なぜなら、DEMO SAFERTOSの互換バージョンは3.6.4であると記載されているからです。これについてご意見をお聞かせください。 ステップ6 - S32デザインスタジオを3.6.10に更新 Vardhman_4-1788437960107.pngVardhman_4-1788437960107.png ステップ7 - 建築基準をクリアした後にこのエラーが出ます。 Vardhman_3-1788437895528.pngVardhman_3-1788437895528.png インストール済みのRTDを添付しました。 SW32K3_S32M27x_RTD_R21-11_6.0.0_D2506_DesignStudio_updatesite ありがとう 、 Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 こんにちは、 @Vardhman さん。 NXP GCC 10.2がインストールされていることを確認してください。また、アプリケーションプロジェクトを作成する際にはGCC 10.2ツールチェーンを選択していることも確認してください。 同様の問題が以下のコミュニティスレッドで説明されており、スクリーンショットも含まれています。スレッドではS32K1xx RTDについて言及していますが、報告されている依存関連の症状は類似しています。 S32DS 3.6.7:S32K1xx RTD 3.0.0新規プロジェクト作成時に検出されません よろしくお願いいたします。 パベル Re: RE: SafeRTOS Support and Package Availability for FRDM-A-S32K34 ありがとうございます、うまくいきました。
View full article
iOS 26のWi-Fi Aware NAN(IW612、FRDM-IMX93サンプルコード、88W9098サポート) こんにちは、 私はWi-Fi Aware(NAN)を使ったiPhone向けの消費者向けアクセサリーを開発しています データリンクとして。AppleはiOS 26で公開Wi-Fi Awareフレームワークを追加し、 すでにiPhone間で動作するベンチマークアプリ(Publish/Subscribe、 ペアリングされたデバイス、TCPデータパスなどです。NXP側を選択します。 私の計画は、FRDM-IMX93ボード上のIW612をNANピアとして評価することです。 その後、NVMeストレージを備えた i.MX 8M Plusベースの設計に移行します。 私には4つの質問があります。 1.スレッド2170706(「iMXボード上のWiFi Aware(NAN)のサンプルコードと IW612 トライラジオ モジュール」)、NXPはWi-Fi Awareのサンプルコードを共有していました。 iOSのセキュアファイルによる相互運用性。アクセスできますか? 同じ素材?もしそれが適切であれば、正式なサポートケースを開くこともできます チャネル。 2. FRDM-IMX93 Debian/Yocto BSPはIW612ファームウェアを搭載していますか? NANは最初から有効になっていますか?どのBSPリリースを使うべきでしょうか? 3. 同じ設計の2x2バリアントの場合、88W9098ファームウェアはサポートしていますか? MXMドライバーでNAN / Wi-Fi Awareはどうですか? 4. NXPはiOS 26(Wi-Fi対応)に対してNANペアリングとデータパスの検証を行いましたか? 4.0 / PASNペアリング)?既知の制限事項があれば、ぜひ教えていただけると大変助かります。 対象: iOS 26.5、Xcode 26 を搭載した iPhone 17 Pro Max および iPhone 12 Pro Max。 IW612 NANデータパスのスループットに関するデータも歓迎します。 ありがとう、 ユセフ ( https://community.nxp.com/t5/i-MX-Processors/Sample-code-for-WiFi-Aware-NAN-on-iMX-boards-with-the-IW612-tri/td-p/2170706 ) Re: Wi-Fi Aware NAN with iOS 26 on IW612 and FRDM-IMX93 sample code and 88W9098 support こんにちは、 あなたの調子が良いといいのですが。Wi-Fiデバイスの機能リストについては、 NXPワイヤレスSoCのLinux版機能とリリースノートをご確認ください。 Secure Filesの対象となる文書: Secure Access Rights |NXPセミコンダクターズ その手順に従っていただけますか? また、 Secure Access Rights FAQs | NXP Semiconductorsをご確認することをお勧めします。 よろしくお願いいたします。 リカルド
View full article
Failed to add the HSE component I am using S32 Design Studio IDE version 3.6.8, RTD version 7.0.1, with an S32K314 project. I cannot add the HSE IP core in the peripheral configuration view, which prevents the configuration tool from automatically generating the hse_mu driver in the generated files. How can I solve this problem? 1131_0-1788401575417.png What components should I add further? 1131_1-1788401624401.png Re: Failed to add the HSE component Hi You also need to install a separate patch package whose description includes "Crypto Driver", such as S32K3 Real-Time Drivers ASR R23-11 Version 7.0.1 P02. The SW32K3_RTD_R23-11_7.0.1_P02_D2603_ReleaseNotes.pdf, specifically section 2.5 Support and Driver Plugins Delivered, mentions Hse_IP. Best Regards, Robin
View full article
Time Sensitive Networking (TSN) Protocols Usage on I.MX95 Platform This document analyzes IMX95 supported TSN protocols such as 802.1Qav, 802.1Qbv, 802.1Qbu and 802.1Qci, and introduces use cases design to implement these protocols on I.MX95 platform.
View full article
Using DMA for Pulse Counting on S32K3 Application note AN5258 for the S32K1 describes how to implement external pulse counting using DMA and PORT modules. Referring to that application note, we will implement a similar function using SIUL2 and DMA on the S32K3.   1. Introduction This article describes how to perform pulse counting using Enhanced Direct Memory Access (eDMA) and the SIUL2 module on a 32-bit automotive MCU in the S32K3 series. Typically, signal pulses can be counted using the eMios module; however, eMios can also be used for PWM output, ICU, OCU, and GPT. If resources available for eMios are insufficient, consider using the SIUL2 and DMA modules to implement external pulse counting. In this note, the SIUL2 module will be used to capture multiple pulse inputs, and the current major loop iteration count(CITER) register of the eDMA channel will be used as a pulse counter. 2. SIUL2 supports DMA triggering. SIUL2, or System Integration Unit Lite2, is primarily responsible for controlling the electrical attributes, multiplexing functions, GPIO, EIRQ, etc., of external pins. For the S32K3, SIUL2 functions can be categorized as follows: Pin mux/pad control: Configures MSCR, IMCR, etc. GPIO input/output: Typically used via Siul2_Dio/Siul2_Port drivers. External interrupt EIRQ: Only pins with the EIRQn option support SIUL2 external interrupts. DMA is triggered by external edge events. When using SIUL2 pins to trigger DMA, note that: SIUL2 EIRQ[0-15] can be used for interrupt requests or DMA requests, while EIRQ[16-31] can only be used for interrupt requests. In other words, the SIU2L module can support up to 16 external edge events triggering DMA. The file "S32K3xx_IOMUX.xlsx" can be found in the datasheet appendix. 3. Basic Event Chain for SIUL2 Triggered DMA SIUL2 external events still rely on the EIRQ path: a pad needs to be connected to the corresponding EIRQ input via IMCR, input buffering needs to be enabled, rising/falling edge detection needs to be configured, and the relevant request needs to be enabled. In this example, PTB26 is configured as SIUL2 EIRQ13, and external interrupt configuration is completed through registers such as IREER/IFEER and DIRSR. IP_SIUL2->IREER0 |= (1 << 13); // IREER0[EIRE13] = 1 (Enable Rising Edge) IP_SIUL2->IFEER0 &= ~(1 << 13); // IFEER0[EIRE13] = 1 (Enable Falling Edge) IP_SIUL2->DIRSR0 |= (1 << 13); // Select DMA Request for PTB26 The above bare-metal code clearly shows how to configure the Siul2 module to trigger DMA. However, if using RTD, note that: the current "Siul2_Icu" driver does not support configuring the DMA option. Therefore, when using the "Siul2_Icu" component, you also need to manually add and modify the "DIRSRx" bit to 1, i.e., select to enable "DMA request". SIUL2->DIRSR0 |= (1<<13);/* Select DMA Request for PTB26 */ 4. DMAMUX / RM Configuration After a DMA request is generated on the SIUL2 side, the request source needs to be connected to a DMA channel via DMAMUX. This path is described in “S32K3xx_DMAMUX_map.xlsx”: 1.EIRQ[0 ~ 7] corresponds to 1 to 7 of DMAMUX0 Source, and EIRQ[8 ~ 15] corresponds to 1 to 7 of DMAMUX1 Source. 2.TCD 0 ~ 15 can be configured with any channel corresponding to EIRQ[0 ~ 7], and TCD 15 ~ 31 can be configured with any channel corresponding to EIRQ[8 ~ 15].  eDMA is mainly used for data transfer between main memory and other peripheral register spaces without CPU intervention. Upon receiving a peripheral request, the eDMA module's second loop begins basic data transfer. We set an empty transfer; each time SIUL2 triggers DMA, an empty transfer is performed, and the CITER bit is decremented accordingly. At this time, the value of the CITER register reflects the actual pulse count. Based on the above principle, we can calculate the pulse count or pulse frequency by periodically reading the CITER register. Note:       The CITER register can only hold a maximum of 15 bits of data. Check the CITER register each time you read it to ensure its value is not zero. When the CITER register is zero, CITER will reload its value from the BITER register and continue decrementing. 5. Example Project Demonstration This example program is based on the S32K344, using RTD version 7.0.1. It implements the function of acquiring the pulse frequency input from PTB26, PTA18, and PTA19 pins. 1.The timer is set to 1 second; the count value read in 1 second can be directly used as the measured frequency. 2. The maximum value of the CITER register is 0x7FFF, or 32767. When the count value exceeds 0x7FFF, the register will be reloaded with an initial value of 0x7FFF.. 3. CITER triggers a DMA interrupt during reload. "g_DmaChx_CallbackCounter" can be used to record the number of overflow reloads. 4. Based on CITER and "g_DmaCh16_CallbackCounter", high-frequency pulse input counting can be achieved. 5. To measure an input frequency of 40kHz, connect the signal generator's output signal to PTB26, PTA18, and PTA19. Senlent_0-1787211805542.png 6. Test result in S32 DS. Senlent_1-1787211927621.png        Using the Siul2 module to trigger DMA for counting is a very efficient method, but it should be noted that if other eDMA transfers are enabled in your application, more testing is required to ensure stable execution of all eDMA channels.
View full article
我的 JLINK 无法连接到 S32K118 大家好, 我目前的情况是,我通过SWD读取MDM-AP的状态,返回值为0x0001003A。保护位(0x400~0x40f)为0xFFFFFFFFFFFFFFFFFFFFFFFFFE7FFFFF。但是我的JLINK无法连接到S32K118。我应该如何排查这个问题? 谢谢,此致敬礼! 莉卡。 Re: my JLINK can't connect to the S32K118 我已经连接了 RESET_b。 Re: my JLINK can't connect to the S32K118 你好 Robin_Shen, MDM-AP 控制寄存器的值为 0x00000000。我已经完成了 S32K14x 的 SWD 主机调试。对于 S32K11x 芯片,我的代码遵循与 S32K14x 相同的调试流程,但出现了我描述的情况。我想请问 S32K11x 和 S32K14x 的 SWD 调试流程是否存在任何差异? 目前,我的个人程序员可以访问 S32K118 的 SWD 调试端口,但在使用 MASS ERASE 后,通过 RAM 执行的算法返回 ack 错误,而 MASS ERASE 之前并没有发生这种情况。 谢谢,此致敬礼! 莉卡。 Re: my JLINK can't connect to the S32K118 HI MDM-AP STATUS 和 FSEC 的值似乎是正确的。顺便问一下,MDM-AP 控制寄存器的值是多少? 请检查调试接口是否符合 AN5426 S32K1xx 微控制器硬件设计指南 中的 表 8. S32K1xx - JTAG 和 SWD 接口 。 强烈建议连接RESET_b 。另外,请确保调试接口上的上拉/下拉电阻接对了。 表 8. S32K1xx - JTAG 和 SWD 接口 AN5426.png 或者,尝试“修复 S32K146”中提到的方法。 此致敬礼, Robin 回复: my JLINK can't connect to the S32K118 还有什么细节需要补充吗? 回复: my JLINK can't connect to the S32K118 在 JLINK 连接失败之前,我自己的编程器设备无法读取 0x40c~0x40f 处的数据,我可以确认该芯片未处于安全状态或设置了任何保护。在我尝试使用 MASS ERASE 之后,我拥有的所有设备都无法完全操作 S32K118。之后的事情就和我寻求帮助时描述的一模一样了。
View full article
请问能否提供LS1021AXE7KQB的引脚延迟? 你好, 目前,我正在为我的板设计PCB。对于 DDR4 接口的关键时序要求,我需要补偿 PCB 上 LS1021AXE7KQB 封装的引脚延迟差异。所以,请问您能否提供LS1021AXE7KQB的引脚延迟信息? 提前感谢! 顺祝商祺! 杰森 QorIQ LS1设备 Re: Could you please provide me the pin delay of LS1021AXE7KQB? DDR4接口所有内部芯片到焊盘的连接线在封装内长度均匹配,因此布局走线长度的调整工作只需在处理器引脚和同步动态随机存取存储器(SDRAM)引脚之间进行即可。由于设计方法不需要提供具体的封装延迟值,因此没有提供这些值。 Re: Could you please provide me the pin delay of LS1021AXE7KQB? 嗨,一平 对于LS1021A 的 DDR4 接口,是否需要在 PCB 封装中补偿引脚延迟差异? 提前感谢! 顺祝商祺! 杰森 Re: Could you please provide me the pin delay of LS1021AXE7KQB? 所请求的文件属于 NXP 机密专有信息,只能在签署保密协议 (NDA) 后提供。   你和恩智浦签过保密协议吗?如果可以,请您提供保密协议副本或保密协议编号?   您可以从https://www.nxp.com/webapp-signup/ndaReqForm签署新的保密协议。 Re: Could you please provide me the pin delay of LS1021AXE7KQB? 向AE团队询问了所需信息。 Re: Could you please provide me the pin delay of LS1021AXE7KQB? 您好, 欢迎任何回复! 提前感谢! 顺祝商祺! 杰森 Re: Could you please provide me the pin delay of LS1021AXE7KQB? 请为您的新问题创建一个新主题帖好吗? 谢谢。 Re: Could you please provide me the pin delay of LS1021AXE7KQB? 嗨,一平: 收到了,非常感谢!!! 对了,我还有个问题。LS1021A 的 eTSEC1 和 eTSEC3 将配置为 RGMII 模式以驱动 PHY。但是我的电路板尺寸很大,我担心PCB上过长的走线会导致RGMII接口(每个数据信号250Mbps)的驱动能力不足。请提供 RGMII 接口的布线约束,特别是基于常用 FR-4 PCB(Dk 4.2~4.4)的 PCB 上的走线长度,自由度为 0.022)?因为我在恩智浦的网站上找不到任何关于PCB设计方面的考虑因素。此外,AN4878_设计检查清单仅显示原理图的设计要求。 提前感谢! 顺祝商祺! 杰森 Re: Could you please provide me the pin delay of LS1021AXE7KQB? 收到! 非常感谢! 顺祝商祺! 杰森
View full article
Access NDA required for SR040 and SR150 I'm interested in having a meeting talking about the above IC's - I cant seem to find an easy way to do this or to request the NDA to access more knowledge about the SR040 and SR150 and would appreciate some help being pointed in the right direction. Thank you! Re: Access NDA required for SR040 and SR150 Hello, Hope you are doing well. Sorry for the inconvenience this might cause you but as the information of this product it's under NDA (Non-Disclosure Agreement) the information it's not public. For more information about the chip could you please contact one of our distributors available in the Distributor Network|NXP? Or if you have any direct contact who helped you getting this device, please contact them. If you are looking for information about our UWB products or you are interested in this technology, I would recommend you check these Development Kits and Modules from our Partners (Trimension UWB Partners). In case you are interested in one of these Kits/Modules, you would need to go directly with them to know the process and the support that they can provide them, as the support path for this technology is through them. The documentation and software are distributed by the corresponding UWB Module partner. By selecting a module, you will be guided to our partner’s page where you can access datasheets, application notes, and the required enablement Regards, Ricardo
View full article
S32K312 Firmware-Compatibility Hello NXP Support, We are developing TPMS controllers using S32K312HVS MCUs. Currently sourced from China (Rev: 0P09C), we are transitioning to Malaysia production (same MCU model). For Phase 1 validation, please confirm the following: 1. SILICON & FIRMWARE COMPATIBILITY - Will identical firmware binary (we developed ourselves) run identically on Malaysia-sourced S32K312HVS without recompilation? - Are there ANY silicon-level differences between China and Malaysia MCUs (same part number)? 2. SPECIFICATION CONSISTENCY – exact match on Malaysia MCUs? - Reset module (RGM: FREC/FRET/DREC/DRET counters) – identical behavior? - FlexCAN peripheral (500 kbps, ISO-TP) – no variations? - Clock accuracy & PLL lock time – same specs? 3. ERRATA & WORKAROUNDS - Current firmware includes workarounds (RGM escalation, CAN timeout handling). - Are these workarounds still valid on Malaysia MCUs, or do we need adjustments? - Any NEW errata specific to Malaysia production? 4. PROCESS VARIATIONS - Any electrical parameter shifts (timing, power, temperature coefficient)? - ECC reliability differences on Malaysia-sourced Flash/NVM? Please confirm: Can we use the SAME firmware binary and expect IDENTICAL product behavior on Malaysia MCUs, or are adjustments required? Timeline: Phase 1 validation starts in the end of September. Your quick response would be appreciated. Re: S32K312 Firmware-Compatibility Hello, The S32K3xx ordering part number system uses a "N" prefix to designate "Non-China manufacturing qualified ordering part number." This is purely a sourcing/ordering designation. Critically, it does not indicate a new mask set or silicon revision — the same die/mask (0P09C) is used. The Malaysia assembly/test site is ATKL (Petaling Jaya, Malaysia), which is NXP's qualified assembly and test facility for the S32K family. What you have to pay attention is the mask revision petervlna_0-1788419667576.png petervlna_1-1788419699369.png The "N" prefix is essentially a supply chain resilience and geopolitical risk mitigation tool. It gives customers: Guaranteed non-China assembly & test — the device is assembled and tested exclusively at non-China sites (e.g., ATKL Petaling Jaya, Malaysia). Customers who have contractual, regulatory, or policy requirements to avoid China-origin manufacturing can source the "N" variant to satisfy those requirements. Export control / trade compliance — some customers (especially in defense-adjacent, government, or regulated automotive supply chains) are required to document and control country-of-origin for components. The "N" variant provides a clean audit trail. Supply diversification — having both "S" and "N" qualified variants gives customers flexibility to switch sourcing without re-qualification, since both variants share the same silicon die, mask set, and electrical specifications. Best regards, Peter
View full article
WoAをサポートするCortex-A53 SoCに関する問い合わせ NXPテクニカルサポート担当者様 NXP S32G2/S32G3プラットフォーム上のCortex-A53コアについてアドバイスをいただきたいです。 NXPはCortex-A53コア向けに公式にLinux BSPを提供していると理解しています。しかし、Linux以外のオペレーティングシステム、特にWindows on Armを実行できるかどうかを調査したいと考えています。 私の初期調査によると、Windows on ArmはAArch64(ARM64)アーキテクチャをサポートしており、Cortex-A53はARMv8-A 64ビットアーキテクチャに基づいています。したがって、CPUアーキテクチャの観点から見ると、両者は互換性があるように思われる。しかし、CPUアーキテクチャの互換性だけでは特定のハードウェアプラットフォームでWindowsを動かすには不十分かもしれないことは理解しています。 以下の点についてアドバイスいただけますか? Linux BSP以外で、S32G2/S32G3のCortex-A53コアでWindows on Armを動かすことは可能でしょうか? 可能であれば、どのような方法が利用できますか? 例えば、既存のBSPやポーティングソリューションはありますか?それともブートローダーやUEFI、ACPIの設定、デバイスドライバなどのコンポーネントを移植・開発する必要があるのでしょうか? Windows on ArmがS32G2/S32G3プラットフォームで動作するなら、ハードウェアやドライバーの互換性はどの程度期待できるのでしょうか? 特に、既存のペリフェラルやドライバがWindows上でサポートできるかどうかを理解したいと考えています。 Windows on ArmがCortex-A53コア上で動作している場合、Cortex-A53のロックステップ機能はまだ使えますか? もしそうなら、ロックステップはどのように設定されているのでしょうか?また、Linux BSP環境と比べて何か違いや制限はありますか? 私たちのプロジェクトの目標は、S32Gプラットフォーム上でWindows on Armを動かすだけでなく、Cortex-A53のロックステップ機能がWindows環境で使用可能かどうかを検証することです。 このテーマについて、皆さまのアドバイスやおすすめをいただけると大変ありがたいです。 Re: Inquiry about Cortex-A53 SoC supporting WoA こんにちは、 @Toan 投稿ありがとうございます。 1.Linux BSP以外にも、一部の顧客はQNX、Vxworks、さまざまなRTOSなどS32G上で他のOSを使用している場合があります。 2. Windows(ARM版)をS32Gプラットフォームに移植することに関する参考文献やサンプル、ドキュメントは一切ありません。 3. 私の理解では、理論的にはARM用のWindowsはArm64と互換性があるため、S32GのA53コアで使用可能です。ただし、ACPI、GPU、UEFIなどはWindows(ARMバージョン)で必要とされる場合があります。既存のS32Gソフトウェア実装とは全く異なるため、WindowsをARMで動かすために必要なすべての項目を実装するのは簡単ではありません。 BR チェイン 
View full article
LS1028A Felix (swp0): Hardware TX Timestamp Not Produced for Custom-EtherType Frames on the CPU-Inje 1. Environment Platform: NXP LS1028ARDB (VSC9959 / Felix switch) Kernel: Linux 6.18.2-rt3 (NXP Yocto real-time-edge, PREEMPT_RT) Topology (DSA): eno2 (ENETC) = DSA conduit / NPI port swp0 = Felix user port (CPU-injection path: CPU → eno2 → NPI → egress swp0 physical port) eno0 (ENETC) = separate test port (now directly cabled to swp0, used to verify the actual egress frame content) Application: AF_PACKET SOCK_RAW socket bound to swp0, SO_TIMESTAMPING(TX_HARDWARE|RAW_HARDWARE), transmitting frames with custom EtherType 0x88B5, expecting the hardware TX timestamp from the socket error queue (SCM_TIMESTAMPING). ptp4l is running on swp0 (HWTSTAMP_TX_ON, syncing normally, unaffected). 2. Goal Obtain a hardware TX timestamp for custom 0x88B5 (non-PTP) frames transmitted on swp0, without breaking PTP synchronization on swp0. 3. Confirmed working PTP frames DO get timestamps: using the same AF_PACKET raw socket on swp0, transmitting 0x88F7 + a valid PTP header, 30/30 frames returned a hardware TX timestamp via the error queue (ocelot_get_txtstamp matched, timestamp delivered to the socket error queue). The driver timestamp-request path works for the custom frames: 0x88B5 frames reach ocelot_port_txtstamp_request (dmesg shows felix-tx-ts: port 0 non-PTP=1 ts_id=0..3), i.e. ocelot_port->ptp_cmd is non-zero (set by ptp4l) and a timestamp ID is allocated. 4. Problem For 0x88B5 frames, a timestamp ID is allocated, but the hardware produces no timestamp: SYS_PTP_STATUS PTP_MESS_VLD = 0 immediately after sending a burst of 0x88B5 frames (no FIFO entries, no overflow). The socket error queue stays empty. 5. What we checked and ruled out (evidence) Check Result ocelot_port->ptp_cmd (two-step enable) ✅ non-zero (set by ptp4l) IFH BYPASS (bit 127) ✅ =1 (driver ocelot_ifh_set_bypass) IFH REW_OP1 (bits 125–117) ✅ confirmed by code: two-step(3) + ts_id written for 0x88B5 frames REW_PTP_CFG.PTP_2STEP_DIS ✅ =0 (two-step not disabled) PTP_CFG_MISC.PTP_ENA ✅ =1 SYS_PORT_MODE.DATA_WO_TS (ports 0/4/6) ✅ =0 (inline timestamp write not disabled) REW_PORT_CFG.FCS_UPDATE_CPU_ENA ✅ =1 (CPU frames always get FCS recomputed, no bad-CRC drops) IS2 rules adding two-step authorization for 0x88B5 (ingress swp0, then swp0|NPI) ❌ no effect (CPU-injected frames have BYPASS=1, analyzer/IS2 is skipped) Inline timestamp insertion SYS_TIMESTAMP_OFFSET (ETH_TYPE_CFG=0x88B5, TIMESTAMP_OFFSET=14; register write/readback verified) ❌ no effect (with swp0↔eno0 direct cable, no timestamp at absolute byte 28 of the egress frame) 6. Questions for Official Confirmation Does the VSC9959/Felix two-step TX timestamping (IFH REW_OP1, REW_OP[2:0]=3) actually work for CPU-injected frames with a non-PTP EtherType? The reference manual (16.4.13.12.3.1) states "can be applied to any frame, also non-PTP frames", but we measure SYS_PTP_STATUS VLD=0 (zero FIFO entries). Is the actual silicon behavior that, even with BYPASS=1 and REW_OP1 in the IFH, the rewriter still requires the frame to be classified as PTP (by EtherType / PTP header) before it produces a timestamp FIFO entry? Does SYS_TIMESTAMP_OFFSET (inline timestamp insertion) have any hidden enable/trigger condition beyond the ETH_TYPE_CFG match? We verified: the register is written correctly (ETH_TYPE_CFG=0x88B5, offset=14), FCS update is enabled, DATA_WO_TS=0, and with a direct swp0↔eno0 cable we confirmed the egress frame content — but no timestamp was written into the frame. Is this feature also restricted on the CPU-injection (BYPASS) path? On the CPU-injection (BYPASS=1) path, is there an officially supported way to get a hardware TX timestamp for arbitrary-EtherType custom frames transmitted on swp0? (e.g., some enable bit, a PTP classification table configuration, or a required frame format.) If neither of the two manual-documented mechanisms supports non-PTP frames on this silicon, is there a known erratum or a recommended alternative? Re: LS1028A Felix (swp0): Hardware TX Timestamp Not Produced for Custom-EtherType Frames on the CPU- Two-step TX timestamping for non-PTP CPU-injected frames The RM documents REW_OP[2:0] = 3 in the CPU Injection Header as “Two-step PTP,” with REW_OP[8:3] carrying the timestamp identifier; IDs 0–3 are explicitly pre-allocated for CPU-injected frames. It also states that two-step timestamping can be applied to “any frame, also non-PTP frames,” because the frame itself is not modified, and the TX timestamp is stored in SYS::PTP_STATUS / SYS::PTP_TXSTAMP .  So, from the RM, BYPASS=1 + IFH REW_OP[2:0]=3 should be a valid mechanism for CPU-injected two-step timestamping, including non-PTP frames . I did not find RM evidence that the rewriter must first classify the frame as PTP by EtherType/header when the IFH supplies the two-step command. The contradictory part is your measurement: SYS_PTP_STATUS.PTP_MESS_VLD=0 after confirmed IFH REW_OP1 , which is not explained by the RM text I retrieved. SYS_TIMESTAMP_OFFSET / inline timestamp insertion ES_SYS_SYSTEM_TIMESTAMP_OFFSET is documented as matching ETH_TYPE_CFG and placing a 64-bit nanosecond TX timestamp at TIMESTAMP_OFFSET ; the manual even gives a “generic timestamp insert (Chronos)” example where offset 14 places the timestamp at absolute byte 28 in the Ethernet frame.  I did not retrieve documentation that states an additional hidden enable bit beyond the general PTP enable / timestamp-offset configuration, nor documentation that explicitly says this feature is supported or blocked on CPU-injected BYPASS=1 frames. The RM wording supports the generic mechanism, but your direct-cable observation that no bytes are written at the expected offset indicates that, in this CPU-injection path, ETH_TYPE_CFG match alone is not sufficient in your setup. Officially supported way under Linux DSA to timestamp arbitrary EtherType frames on swp0 The strongest software-side evidence says: generic packet timestamping is not supported by the DSA framework used by the LS1028A switch driver, even though the switch hardware is capable of it .  Therefore, under the stock/standard DSA Felix driver model, I would treat PTP/IEEE-1588 event message timestamping as the supported path , and arbitrary EtherType 0x88B5 TX timestamping via SO_TIMESTAMPING on swp0 as not officially supported by that software stack . That aligns with your observation that valid 0x88F7 PTP frames timestamp reliably while 0x88B5 does not. Erratum / recommended alternative I did not retrieve a timestamp-specific LS1028A/Felix erratum for this behavior. The evidence I found says the published Felix erratum mentioned in the retrieved ticket material is ERR A-050484 , related to NPI flow control / frame-loss management rather than timestamp FIFO generation. 
View full article
RT1180 EVKのETH1/ETH2/ETH3をlwIP用に1Gbpsで初期化する方法は? 私はMIMXRT1180-EVKを使用しています。利用可能なSDKの例、例えばlwIP pingやiPerfでは、イーサネット初期化は ETH4のみで示されています。 私たちの製品は、RT1180と外部デバイス間のデータ交換のために ETH1/ETH2/ETH3 を1Gbpsで使用する必要があります。 ETH1/ETH2/ETH3のイーサネット初期化と設定は自分たちで開発することが期待されているのか、それとも既存のリファレンス実装があるのか? よろしくお願いします! Re: How to Initialize RT1180 EVK ETH1/ETH2/ETH3 at 1 Gbps for lwIP? @JuiHung様、 現時点では、この特定の要件をカバーした参考例やユーザーガイドは存在しません。 もう少しお待ちいただけますか?社内の専門家が現在、関連するサンプルプロジェクトを準備中ですが、公開できるまでにはもう少し時間がかかります。 ご理解とご辛抱に感謝いたします。進捗状況については随時ご報告いたします。 よろしくお願いいたします。 シェリー
View full article
添加 HSE 元器件失败 我使用的是S32 Design Studio IDE 3.6.8版本,RTD 版本 7.0.1,采用 S32K314 项目。我无法在外围配置视图中添加 HSE IP 核,这导致配置工具无法在生成的文件中自动生成 hse_mu 驱动程序。我该如何解决这个问题? 1131_0-1788401575417.png 我还需要添加哪些元器件? 1131_1-1788401624401.png Re: Failed to add the HSE component HI 您还需要安装一个单独的补丁包,其描述包含“加密驱动程序”,例如S32K3 实时驱动程序 ASR R23-11 版本 7.0.1 P02 。 SW32K3_RTD_R23-11_7.0.1_P02_D2603_ReleaseNotes.pdf ,特别是第2.5 节“支持和提供的驱动程序插件” ,提到了Hse_IP 。 此致敬礼, Robin
View full article
LS1028A Felix (swp0):CPU-Inje 上的 Custom-EtherType 帧未生成硬件发送时间戳 1. 环境 平台:NXP LS1028ARDB(VSC9959 / Felix 交换机) 内核:Linux 6.18.2-rt3 (NXP Yocto real-time-edge, PREEMPT_RT) 拓扑结构(DSA): eno2 (ENETC) = DSA 导管 / NPI 端口 swp0 = Felix 用户端口(CPU 注入路径:CPU → eno2 → NPI → 出口 swp0 物理端口) eno0 (ENETC) = 单独的测试端口(现在直接连接到 swp0,用于验证实际的出口帧内容) 应用程序:AF_PACKET SOCK_RAW套接字绑定到swp0 , SO_TIMESTAMPING(TX_HARDWARE|RAW_HARDWARE) ,使用自定义 EtherType 0x88B5发送帧,期望从套接字错误队列 (SCM_TIMESTAMPING) 获取硬件 TX 时间戳。 ptp4l 在 swp0 上运行( HWTSTAMP_TX_ON ,同步正常,不受影响)。 2. 目标 获取在 swp0 上传输的自定义 0x88B5(非 PTP) 帧 的硬件 TX 时间戳 ,而不破坏 swp0 上的 PTP 同步。 3. 已确认正常工作 PTP 帧确实会获取时间戳:在 swp0 上使用相同的 AF_PACKET 原始套接字,发送 0x88F7 + 有效的 PTP 标头,30/30 个帧通过错误队列返回硬件 TX 时间戳( ocelot_get_txtstamp匹配,时间戳已传递到套接字错误队列)。 驱动程序时间戳请求路径适用于自定义帧:0x88B5 帧到达ocelot_port_txtstamp_request (dmesg 显示felix-tx-ts:端口 0 非 PTP=1 ts_id=0..3 ),即ocelot_port->ptp_cmd非零(由 ptp4l 设置),并且分配了时间戳 ID。 4. 问题 对于 0x88B5 帧,会分配一个时间戳 ID,但硬件不会生成时间戳: 发送 0x88B5 帧突发后, SYS_PTP_STATUS PTP_MESS_VLD = 0 (无 FIFO 条目,无溢出)。 套接字错误队列保持为空。 5. 我们检查并排除的内容(证据) 检查结果 ocelot_port->ptp_cmd (两步启用) ✅ 非零值(由 ptp4l 设置) IFH旁路(位127) ✅ =1(驱动程序 ocelot_ifh_set_bypass ) IFH REW_OP1 (位 125–117) ✅ 代码已确认:two-step(3) + ts_id 已写入 0x88B5 帧 REW_PTP_CFG.PTP_2STEP_DIS ✅ =0(两步走未禁用) PTP_CFG_MISC.PTP_ENA ✅ =1 SYS_PORT_MODE.DATA_WO_TS (端口 0/4/6) ✅ =0(未禁用内联时间戳写入) REW_PORT_CFG.FCS_UPDATE_CPU_ENA ✅ =1(CPU帧总是重新计算FCS,不会出现CRC校验错误丢帧) IS2 规则为 0x88B5 添加两步授权(入口 swp0,然后 swp0|NPI) ❌ 无影响(CPU注入的帧具有BYPASS=1,分析器/IS2被跳过) 内联时间戳插入SYS_TIMESTAMP_OFFSET (ETH_TYPE_CFG=0x88B5, TIMESTAMP_OFFSET=14; 寄存器写入/读取已验证) ❌ 无影响(使用 swp0↔eno0 直连电缆,出口帧第 28 个字节无时间戳) 6. 需要官方确认的问题 VSC9959/Felix 的两步发送时间戳(IFH REW_OP1,REW_OP[2:0]=3)是否真的适用于 CPU 注入的非 PTP 以太网类型帧?参考手册 (16.4.13.12.3.1) 指出“可应用于任何帧,包括非 PTP 帧”,但我们测量到SYS_PTP_STATUS VLD=0(FIFO 条目为零)。实际的芯片行为是否是,即使 BYPASS=1 且 IFH 中设置了 REW_OP1,重写器仍然需要先将帧分类为 PTP(通过以太网类型/PTP 头部),然后才会生成时间戳 FIFO 条目? SYS_TIMESTAMP_OFFSET (内联时间戳插入)除了 ETH_TYPE_CFG 匹配之外,是否还有其他隐藏的启用/触发条件?我们已验证:寄存器写入正确(ETH_TYPE_CFG=0x88B5,偏移量=14),FCS 更新已启用,DATA_WO_TS=0,并且使用直接连接 swp0↔eno0 的线缆确认了输出帧的内容——但帧中并未写入时间戳。此功能是否也仅限于 CPU 注入(旁路)路径? 在 CPU 注入(BYPASS=1)路径下,是否存在官方支持的方法,可以为通过 swp0 发送的任意以太网类型自定义帧获取硬件发送时间戳? (例如,通过启用位、PTP 分类表配置或所需的帧格式。) 如果这两种手册中记录的机制都不支持此硅芯片上的非 PTP 帧,是否有已知的勘误或推荐的替代方案? Re: LS1028A Felix (swp0): Hardware TX Timestamp Not Produced for Custom-EtherType Frames on the CPU- 对非PTP CPU注入帧采用两步发送时间戳 RM 文档在 CPU 注入头中将 REW_OP[2:0] = 3 表示为“两步 PTP”,其中 REW_OP[8:3] 携带时间戳标识符;ID 0-3 已明确预先分配给 CPU 注入的帧。它还指出,两步时间戳可以应用于“任何帧,包括非PTP帧”,因为帧本身不会被修改,发送时间戳存储在SYS::PTP_STATUS/SYS::PTP_TXSTAMP中。 因此,从 RM 来看,BYPASS=1 + IFH REW_OP[2:0]=3 应该是 CPU 注入的两步时间戳的有效机制,包括非 PTP 帧。我没有找到 RM 证据表明,当 IFH 提供两步命令时,重写器必须首先根据 EtherType/报头将帧分类为 PTP。矛盾之处在于您的测量结果:在确认 IFH REW_OP1 之后,SYS_PTP_STATUS.PTP_MESS_VLD=0,而我检索到的 RM 文本并未对此进行解释。 SYS_TIMESTAMP_OFFSET / 内联时间戳插入 ES_SYS_SYSTEM_TIMESTAMP_OFFSET 的文档说明是与 ETH_TYPE_CFG 匹配,并在 TIMESTAMP_OFFSET 处放置一个 64 位纳秒级的发送时间戳;手册甚至给出了一个“通用时间戳插入(Chronos)”示例,其中偏移量 14 将时间戳放置在以太网帧的绝对第 28 个字节处。 我没有找到任何文档说明除了通用的 PTP 启用/时间戳偏移配置之外,还有额外的隐藏启用位,也没有找到任何文档明确说明 CPU 注入的 BYPASS=1 帧是否支持或阻止此功能。RM 的措辞支持通用机制,但您通过直接电缆观察到,在预期的偏移量处没有写入任何字节,这表明,在此 CPU 注入路径中,仅 ETH_TYPE_CFG 匹配在您的设置中是不够的。 Linux DSA 官方支持的方法,用于在 swp0 上为任意 EtherType 帧添加时间戳 最有力的软件方面证据表明:尽管LS1028A交换机硬件具备通用数据包时间戳功能,但LS1028A交换机驱动程序使用的DSA框架并不支持该功能。 因此,在标准的 DSA Felix 驱动程序模型下,我会将 PTP/IEEE-1588 事件消息时间戳视为支持的路径,而通过 swp0 上的 SO_TIMESTAMPING 进行任意 EtherType 0x88B5 TX 时间戳则不被该软件栈正式支持。这与您的观察结果一致,即有效的 0x88F7 PTP 帧的时间戳可靠,而 0x88B5 帧的时间戳则不可靠。 勘误/推荐替代方案 我没有找到针对此行为的特定时间戳的 LS1028A/Felix 勘误表。我找到的证据表明,已发布的Felix勘误表(在检索到的工单材料中提到)是ERR A-050484,它与NPI流程控制/丢帧管理有关,而不是与时间戳FIFO生成有关。
View full article
关于支持 WoA 的 Cortex-A53 SoC 的咨询 尊敬的恩智浦技术支持人员: 我想请教您关于 NXP S32G2/S32G3 平台上的 Cortex-A53 内核的问题。 据我了解,NXP 官方为 Cortex-A53 内核提供了 Linux BSP。但是,我们想研究一下是否有可能在 Arm 上运行 Linux 以外的操作系统,特别是 Windows。 根据我的初步研究,Windows on Arm 支持 AArch64 (ARM64) 架构,而 Cortex-A53 基于 ARMv8-A 64 位架构。因此,从 CPU 架构的角度来看,它们似乎是兼容的。但是,我明白仅凭 CPU 架构兼容性可能不足以在特定硬件平台上运行 Windows。 请您就以下几点提供建议? 除了 Linux BSP 之外,是否有可能在 S32G2/S32G3 的 Cortex-A53 内核上运行 Windows on Arm? 如果可行,有哪些方法可以实现? 例如,是否有现成的 电路板支持包。 或移植解决方案可用,或者是否需要移植和开发诸如引导加载程序/UEFI、ACPI 配置和 设备驱动程序等 元器件? 如果 Windows on Arm 可以在 S32G2/S32G3 平台上运行,那么硬件和驱动程序的兼容性可以达到什么水平? 我们尤其想了解现有的外围设备和驱动程序在 Windows 下是否受支持。 如果 Windows on Arm 运行在 Cortex-A53 内核上,是否仍然可以使用 Cortex-A53 的锁定步进功能? 如果是这样,锁步是如何配置的?与 Linux 电路板支持包。环境相比,有哪些不同或限制? 我们项目的目标不仅是在 S32G 平台上运行 Arm 架构的 Windows,还要验证 Cortex-A53 的锁步功能是否可以在 Windows 环境下使用。 我们非常希望您能就此主题提出建议和意见。 Re: Inquiry about Cortex-A53 SoC supporting WoA 你好, @Toan 感谢你的帖子。 1.除了 Linux 电路板支持包。 之外,一些客户可能在 S32G 上使用其他操作系统,例如 QNX、Vxworks、各种 RTOS 等。 2. 没有任何关于将 Windows(ARM 版本)移植到 S32G 平台的参考资料/示例/文档。 3. 据我了解,理论上,由于与 Arm64 兼容,ARM 版 Windows 可以在 S32G 的 A53 内核上使用。然而,ACPI、GPU、UEFI 等可能是 Windows(ARM 版本)所必需的,它们与 S32G 的现有软件实现完全不同,要实现运行 Windows for ARM 所需的所有项目并不容易。 BR 陈银 
View full article
MCUXpresso Secure Provisioning Tool无法通过USB连接目标板 Hi NXP, 请教一下问题: 开发板:MIMXRT1170-EVKB,使用MCUXpresso Secure Provisioning Tool无法连接,如图显示: hayden178_0-1788428456159.pnghayden178_0-1788428456159.pnghayden178_0-1788428456159.pnghayden178_0-1788428456159.png 电脑设备管理器显示如下: hayden178_1-1788428566738.pnghayden178_1-1788428566738.pnghayden178_1-1788428566738.pnghayden178_1-1788428566738.png 开发板拨码开关如图: hayden178_2-1788428637373.pnghayden178_2-1788428637373.pnghayden178_2-1788428637373.pnghayden178_2-1788428637373.png 另外使用IDE下载程序,debug都没问题。请问如何排查?谢谢 Re: MCUXpresso Secure Provisioning Tool无法通过USB连接目标板 Hi @hayden178 , 感谢提问! 我检查了您提供的拨码开关配置和供电选项,都没有问题。选择的也是USB OTG1没有问题。 因此怀疑可能是有什么异常导致flashloader没有及时通过usb端口加载到SRAM。建议您先换用UART接口试一下。如果UART接口没问题,再换到USB接口,此时flashloader已经在运行了,usb端口应当也没有问题了。 如果UART端口也有问题,那就需要检查具体的输出,在工作目录下的,gen_scripts/init_flashloader_win.bat 中详细列举了具体的命令。重新执行test之前先删除之前的log,在新的log中核对具体是哪一步失败。 Best regards, Gavin Re: MCUXpresso Secure Provisioning Tool无法通过USB连接目标板 Hi @Gavin_Jia , 感谢您的支持! 我换成UART连接MIMXRT1170-EVKB,已经解决问题。 我遇到一个新的问题,请帮忙看看问题出在哪里: 使用MCUXpresso Secure Provisioning Tool上的自带的示例,跑不通mcuboot_opensource&ota_mcuboot,现象为一致复位,如图: hayden178_0-1789004746339.pnghayden178_0-1789004746339.png 工程配置如下: hayden178_1-1789004822575.pnghayden178_1-1789004822575.png hayden178_2-1789004848902.pnghayden178_2-1789004848902.png hayden178_4-1789005368832.pnghayden178_4-1789005368832.png hayden178_3-1789005332451.pnghayden178_3-1789005332451.png 另外我用IDE已经跑通这两个工程,但是把生成的bin文件使用SPSP下载到板子上同样一致复位 hayden178_5-1789005846515.pnghayden178_5-1789005846515.png Re: MCUXpresso Secure Provisioning Tool无法通过USB连接目标板 Hi @hayden178 , 感谢分享你那边的好消息,很高兴第一个SPT连接的问题已经解决了。 关于mcuboot这个操作流程,你参考的guide是哪个能同步下吗?之前一直是通过python脚本和imgtool来做签名的,没尝试过这个SPT的方案。 关于这个新的问题,欢迎重新创建一个ticket以保持每个thread下的主题一致。 感谢您的理解和协作! Best regards, Gavin
View full article