Multi Source Translation Content

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi Source Translation Content

讨论

排序依据:
使用 MBDT 的 S32K358 ASIL 兼容架构 我目前正在 Simulink 中使用 S32K358 和 MBDT 开发一个系统,目的是支持芯片的 ASIL 功能。 我已经能够在单核 S32K 上部署我的模型,为了与芯片的 ASIL 功能保持一致,我想了解如何构建系统和模型,以便在多核上运行。 该模型的架构使其分为两个部分,“功能安全” 层将部署在支持 ASIL D 的锁步核心上,“应用程序” 层部署在另一个核心上。 通过阅读社区页面上的一些信息,S32K 似乎不支持使用 MBDT 的多核功能。您能确认情况是否如此吗? 如果不是,你能否提供一些关于最佳方法的见解,例如,我是否必须使用你的 S32DS 开发 “功能安全” 层,同时将应用程序代码保留在 Simulink 中? 我认为这需要额外考虑代码生成、闪烁和管理多个文件以及在 simulink 环境中进行 MiL 测试。 作为后续问题,应用程序需要了解功能安全元素并读取各种信号。核心间通信的方法是什么?是否需要一个两个内核都能访问的共享内存区域,能否使用 MBDT 对其进行管理。 作为参考,我目前使用 S32K3 1.4.0 和 电池管理系统 1.2.0 MBDT 工具箱。 感谢您的支持。
查看全文
NXP S32R294 QSPI Flash Memory swap. Hello Guys, I use NXP S32R294 microcontroller with External Flash over Qspi interface. I want to use Flash memory from another supplier. Actually I use: Winbond (W25Q32JW) and i want to swap this chip to: ISSI (IS25WP032). after memory swap to the ISSI(IS25WP032) i have problem with bootup procedure.  Debugger - T32 seems works and program flash was flashed properly, but every in-target reset i got warning like:  "Warning: Timeout while waiting for boot ROM execution finished (SOCDATA1=0x00000000)" I only changed "Flash memory command sequence" in "QuadSPI reconfiguration data" block, to enable Quad-mode (QE=1). in winbound to set QE=1 following command sequence shall be used: "0x06;  0x31 0x2" and in ISSI for QE=1 following command sequence shall be used:  "0x06 ; 0x01 0x40". Thats only change i made in SW. Orginal SW with windbound chip works well after in-target reset in T32 i can see  Program-Pointer (PC) set on Ram Start Pointer and it works. With ISSI chip after in-target-reset in T32 i only see this warning (SOCDATA1=0x00000000) and it not works. Could somebody help me? Why memory chip swap is so problematic here? Re: NXP S32R294 QSPI Flash Memory swap. Hello, If the BootROM doesn’t recognize the JEDEC ID or the device density bits, it will not configure QSPI and will stall, causing your exact timeout. Your manual QuadSPI configuration block never gets executed because the BootROM already hangs before reaching it. On S32R devices: Boot sequence is: BootROM tries to auto-configure QSPI using JEDEC ID + default assumptions Only after that it loads your QuadSPI Reconfiguration Block Then your application runs If step (1) fails → nothing else happens → T32 shows: Warning: Timeout while waiting for boot ROM execution finished SOCDATA1=0x00000000 Best regards, Peter Re: NXP S32R294 QSPI Flash Memory swap. Swapping QSPI flash chips can be tricky because even if both are 32 Mb devices, their command sets, timing, and status register layouts differ slightly. In your case, the ISSI device may require additional initialization beyond just setting QE (e.g., different dummy cycles, read command codes, or status register bits). The boot ROM on the S32R294 expects exact sequences to match the flash’s JEDEC ID and timing; if these don’t align, it won’t complete the boot process, hence the timeout. You’ll likely need to adjust the QuadSPI reconfiguration data not only for QE but also for read commands, dummy cycles, and possibly the reset/enable sequence to fully match ISSI’s datasheet.
查看全文
電力レベルADC mcxa153   おはよう、 MCXA153 ボード上に ADC をセットアップしていますが、ペリフェラルで設定可能なさまざまな電力レベル モードの意味を知りたいです。どこで見つけられますか?それらはどういう意味ですか? よろしくお願いいたします。   よろしくお願いいたします。 Re: Power level adc mcxa153 こんにちは@Transidico 、 このウィンドウでは、説明に記載されているように、ADC が動作する電力レベルを構成します。MCXA153 の場合、ADC は低電力モードと高電力モードの 2 つの電力モードをサポートします。それぞれに特定の構成 (クロック ソースの選択、レジスタ ビットの設定など) が必要です。詳細については、RM のセクション 40.3.1「電力制御モード」を参照してください。 さらに、ADC ペリフェラルの詳細な説明が記載されており、その動作を理解するのに非常に役立つAN14390 を確認することを強くお勧めします。 BR ハビブ
查看全文
ドキュメントの不一致: i.MX RT700 ベクターテーブルマッピング (RM テーブル 47 と SRM テーブル 79) こんにちは、NXPチーム Cortex-M33 ベクター テーブルのイメージ ヘッダー オーバーレイに関して、i.MX RT700 リファレンス マニュアル (RM) とセキュリティ リファレンス マニュアル (SRM) の間に重大な矛盾があることを報告します。 矛盾点: リファレンス マニュアル (表 47): オフセット 0x34 を imageExecutionAddress として正しく識別します。これは、ブート ROM によって XIP と Load-to-RAM の実行を決定するために使用されます。 セキュリティ リファレンス マニュアル (表 79): オフセット 0x34 を DebugMon ハンドラーとして誤ってラベル付けしています。 裏付けとなる調査結果: ARM 標準: Cortex-M33 汎用ユーザー ガイドによると、DebugMonitor 例外はアーキテクチャ上オフセット 0x30 に固定されていますが、オフセット 0x34 は予約済みです。 内部矛盾: SRM 自体では、図 19 はオフセット 0x34 の「Load Addr」を正しく示していますが、次のページの表 79 ではそのスロットに DebugMon がリストされているため、これと矛盾しています。 SDK 実装: NXP SDK スタートアップ コードは RM (表 47) および SRM 図 19 に従い、ロード アドレスを 0x34 に配置して、ブート ROM が正しく機能することを保証します。 Re: Documentation Discrepancy: i.MX RT700 Vector Table Mapping (RM Table 47 vs SRM Table 79) @mayliu1 SRM の文脈で、表 79 が伝える情報と目的は何なのかを説明していただけますか。オフセットエントリが間違っているように見えます。提供されている例の起動コードは、表 47 に従ってベクター テーブルを提供します。また、Coretx-M33 の汎用ユーザー ガイドによれば、オフセットはオフになっています。比較ドキュメントで共有した画像を見てもらえますか。可能であれば、私が何かを見逃している場合に備えて、これをよりよく理解するための他のリソースとドキュメントを教えていただけますか。 Re: Documentation Discrepancy: i.MX RT700 Vector Table Mapping (RM Table 47 vs SRM Table 79) こんにちは@prathamvoraさん、 弊社の製品にご興味をお持ちいただき、またコミュニティをご利用いただき誠にありがとうございます。 RT700RMとRT700SRMを確認しましたが、RT700RMとRT700SRMの間に矛盾はないと思います。 比較している 2 つのテーブルは、2 つの異なるデータ構造を記述しています。 RT700RM 表 47 および RT700SRM 図 19 の場合: これらは、ブート ROM によって挿入されるイメージ ヘッダー オーバーレイについて説明します。 これは標準の NVIC ベクター テーブルではありません。   RT700SRM 表79の場合: この表はCortex-M33 NVICベクターテーブルについて説明しています。   それらは異なる目的で使用されます: 1: イメージヘッダー: ブートROMの解析構造です 2: NVICベクターテーブル: Cortex-M33の例外処理構造 お役に立てれば幸いです よろしくお願いいたします。 メイリュー Re: Documentation Discrepancy: i.MX RT700 Vector Table Mapping (RM Table 47 vs SRM Table 79) こんにちは@prathamvoraさん、 あなたの混乱は十分に理解しており、この件を私たちに伝えていただきありがとうございます。 RT700 RM の表 47 は、RT700 チップを参照するのに正しい表ですので、ご安心ください。 RT700SRM に示されている表 (表 79) は、標準の Cortex-M33 NVIC ベクター テーブルを示しています。これは、RT700 に固有のものではなく、一般的な ARM 定義です。 この違いにより、ユーザーは混乱しやすくなります。 さらなる誤解を避けるため、関連チームに内部チケットを送信し、ドキュメントの明確化と整合性の向上を要求します。   他にご質問がございましたら、お気軽にお問い合わせください。 よろしくお願いいたします。 メイリュー
查看全文
MCUXpresso IDE の Github Copilot プラグイン こんにちは、皆さん 私はマイクロコントローラ プロジェクトでしばらく MCUXpresso IDE を使用しており、ターゲットでのデバッグにも使用しています。 少し前に、私たちは Github Copilot を使い始めました。ただし、公式プラグインはインストールできません。これは、おそらく、最新の MCUXpresso IDE 2025-06 が Eclipse の 2023 コア ランタイムで実行されており、Eclipse バージョン 2024-03 以降の Copilot 要件を満たしていないためです。 回避策を提供したり、アップデートが計画されているかどうかを教えていただけますか? 他の人がプラグインのサポートに興味を持っている場合は、いいねや何かしてもらえると嬉しいです 😊 ありがとうございます ジュリアン Re: Github Copilot Plugin on MCUXpresso IDE こんにちは、Luisさん。ありがとうございます。私はWindows 11 Pro 25H2でMIMXRT1176DVMAA (FreeRtos)を使用しています。ベスト、ジュリアン Re: Github Copilot Plugin on MCUXpresso IDE こんにちは、ジュリアン どのようなマイクロコントローラを使用しているのか教えていただけますか?使用しているOSは何ですか? 敬具、ルイス Re: Github Copilot Plugin on MCUXpresso IDE こんにちは@ksdbo52さん、 Copilot、Gemini などの AI 拡張機能をサポートする VS Code 用の MCUXpresso の使用を検討することもできます。 Visual Studio Code 向け MCUXpresso | NXP セミコンダクターズ BR セレステ Re: Github Copilot Plugin on MCUXpresso IDE こんにちは、セレステ。 推薦ありがとうございます。私はすでに nxp プラグインを使用して VSCode を試しました。しかし、実行できませんでした。 事前に構築した.axfをロードしますMCUXpresso IDE の imxrt1176 用の SDK サンプル デバッグ構成を使用します。VSCode への移行パスは何ですか? ありがとうございます ジュリアン Re: Github Copilot Plugin on MCUXpresso IDE 他のコメントで述べたように、回避策としては、AI 拡張機能を備えた VScode 用の MCUXpresso を使用することです。 このツールのインストール、フラッシュ、デバッグに関する追加情報については、 MCUXpresso for VS Code のドキュメントを参照してください。 敬具、ルイス Re: Github Copilot Plugin on MCUXpresso IDE こんにちは、ジュリアン MCUXpresso IDE から Visual Studio コードにプロジェクトをインポートするための移行パスについては、次のドキュメントで説明します。 MCUXpresso IDE プロジェクトコンバーター — MCUXpresso for VS Code ドキュメント プロジェクトをVisual Studioにインポートした後、右クリックしてバイナリユーティリティオプションを使用して.binを作成できます。選択したターゲットをフラッシュする手順については、こちらにドキュメントへのリンクがあります。Flash — MCUXpresso for VS Code ドキュメント それがあなたにとってうまくいくかどうか、また他に何か必要なことがあればお知らせください。 敬具、ルイス
查看全文
MC33774 responded to an error in data Currently we are debugging the MC33774 encountered: MC33774 response data error problem, the specific problem is in the MC33774 wake up after the completion of the configuration address and then read the contents of MC33774 register 1h, MC33774 response data occasionally correct see the third picture, most of the response data error see the last picture, and the error is not regular, we use the SPI baud rate is about 1.6M, the MC33774 response baud rate is 2M. The SPI baud rate we use is about 1.6M, and the baud rate used by MC33774 is 2M. The program used is the shifted value MC33774_MC33664_example_S32K344_DS __2__AFE__Working, every time the program goes to the MC33774_CDD_BCC_SWC_Init_Slot4 function the received data is wrong, only occasionally correct. The program we are using is the MCU is GD32A503 and sends the SPI to daisy chain to MC33774 via MC33664. for the specific problem you can look at the following pictures MC33664的电路图MC33664 circuit diagram MC33774电路图MC33774 circuit diagram 正确接收到MC33774回应的寄存器1的波形correctly receives the register 1 waveform in response to MC33774 MC33774发送的错误波形图error waveform sent by MC33774 Re: MC33774回应的数据出错 https://community.nxp.com/t5/Power-Management/MC33774%E5%9B%9E%E5%BA%94%E7%9A%84%E6%95%B0%E6%8D%AE%E5%87%BA%E9%94%99/m-p/2321715/highlight/false#M4999 Duplicate ticket so cancel.
查看全文
[MPC5674F] Is IVOR16 reserved or not? Hello! While reading the e200z760 Reference Manual, I saw that in some places, like Table 7-2, IVOR 16 is treated as Reserved. However, in other places, like Table 7-8, it is treated as a functional IVOR and actually has a section describing it (Section 7.6.17). Do I need to implement an exception handler for IVOR 16 like for IVOR 0:15 and IVOR 32:35? Was it just a typo and IVOR 16 is just functional as the other functional IVORs? Best regards, Matheus Re: [MPC5674F] Is IVOR16 reserved or not? No, it is reserved. It is incorrectly documented. System reset interrupt is defined by Book-E specification, not used with e200z759.
查看全文
CodeWarrior revisions Hello NXP Support, Me and my friend are developing on NXP T2080 platform using CodeWarrior for Power Architecture. Our current install is CW_PowerArchitecture_v10.5.1 with CCS 4.13. We have RevD CodeWarrior TAP hardware and we are not facing any problems. We also have RevH CodeWarrior TAP hardware which fails to connect: - CCS reports “CC communications timeout” - The TAP appears via USB but never completes protocol handshake - RevD TAP works fine with same setup Request: - Access to a newer CodeWarrior PA release (10.6 / 10.7) or updated CCS supporting RevH TAP - If needed, evaluation license or package links - Or just a simple adjustment advice Thanks. Re: CodeWarrior revisions Hello, First of all, thank you for your assistance. I checked the NXP download portal, but I can only find the versions I already have (CCS 4.13 and CW PA 10.5.1). I was not able to locate a newer CCS patch or a standalone CCS 11.x package required for Rev. H TAP support. Could you please provide a direct download link to the appropriate CCS update/patch compatible with Rev. H? Alternatively, could you share the installer for the required CCS 11.x version? Thank you in advance for your support. Best regards, Re: CodeWarrior revisions Hello, The Rev. H CodeWarrior TAP was released long after CW PA v10.5.1, and the CCS (Command Converter Server) version 4.13 included in that suite does not have the necessary firmware images or drivers to handle the Rev. H hardware logic.  To resolve this, you need to update your CCS stack, which contains the low-level drivers and firmware for the TAP.  1. The Solution: Update CCS (Not necessarily the whole IDE)  You don't always need to perform a full upgrade of CodeWarrior to v10.5.1's successor to get the TAP working. NXP provides standalone CCS updates. Required Version: You generally need CCS v11.x or higher to reliably support Rev. H TAPs. Download Path: Go to the NXP CCS Download Page. Download the latest standalone CCS installer (currently often bundled with the "CodeWarrior Development Software for Networked Elements"). Install it over your existing CCS directory or in a separate folder and point CodeWarrior to the new CCS executable in Remote Systems settings.    2. Upgrading to CodeWarrior PA v10.6.2 If you prefer a clean environment, CW PA v10.6.2 is the recommended stable release for the T2080. It includes the updated CCS stack natively. Evaluation/Download: You can find the installer on the NXP CodeWarrior for PA product page. Licensing: Your existing v10.5.1 license (if it is a perpetual license with active maintenance or a subscription) usually allows you to run v10.6.x. If your license is expired, you can request an Evaluation License directly through the NXP website by clicking "Evaluation Software" on the download page.    3. Troubleshooting the Rev. H Handshake If you install the new CCS and still see a timeout, follow these steps to force a firmware sync: Direct Connection: Connect the Rev. H TAP via USB. CCS Console: Open the CCS console (usually found in the installation folder as ccs.exe ). Manual Update: Type the following command to see if the TAP is detected: config If the TAP is listed but shows a firmware mismatch, CCS should prompt or allow an update via: update (where device name is usually usb:x ).    Summary Table   Component Rev. D Compatibility Rev. H Compatibility CCS 4.13 Supported Incompatible (Timeout) CCS 11.x+ Supported Supported CW PA 10.5.1 Native Needs CCS Patch CW PA 10.6.2 Native Native   Regards Re: CodeWarrior revisions Hello, First of all, thank you for your assistance. I checked the NXP download portal, but I can only find the versions I already have (CCS 4.13 and CW PA 10.5.1). I was not able to locate a newer CCS patch or a standalone CCS 11.x package required for Rev. H TAP support. Could you please provide a direct download link to the appropriate CCS update/patch compatible with Rev. H? Alternatively, could you share the installer for the required CCS 11.x version? Thank you in advance for your support. Best regards,
查看全文
S32K1xx開発パッケージのインストールエラー 3.4 v IDEをダウンロードしましたが、S32K1xx開発パッケージをダウンロードできません。何らかのエラーが発生します。   Re: S32K1xx Development Package installation Error こんにちは@AmanPrasad 一部のお客様は、利用可能な S32DS ソフトウェア サイトの URL を http から https に変更することでパッケージをインストールできました。詳細については、次のコミュニティ スレッドを参照してください。 どこで入手できますか?S32_SDK_S32K1xx_RTM_4.0.3 さらに、ファイアウォール設定やセキュリティ ポリシーによって更新サイトへのアクセスがブロックされていないことを確認してください。 BR、ヴェインB
查看全文
Cannot set CONFIG_DDR_NODIMM I am using latest flexbuild from https://github.com/NXP/flexbuild I am modifying `flexbuild/components_lsdk2512/bsp/atf/plat/nxp/soc-lx2160a/lx2160ardb/platform.mk` to include `CONFIG_DDR_NODIMM := 1` Afterwards, I am rebuilding atf with `bld atf -m lx2160ardb -b sd` , but I am getting the following error: Building ATF for lx2160ardb sd boot cp: cannot stat 'build/lx2160ardb/release/bl2_sd*.pbl': No such file or directory make[1]: *** [/home/bezeria/repos/flexbuild/src/bsp/atf.mk:107: atf] Error 1 make: *** [Makefile:14: atf] Error 2 Re: Cannot set CONFIG_DDR_NODIMM Dear @bezeria , The LX2160 platform doesn't have support for NODIMM out of the box. you need to add  your DDR_NODIMM_Custom file to ATF. Please use the DDRv tool to obtain the ddr_init.c acoording to your needs, then add it to the ATF.  BR LFGP Re: Cannot set CONFIG_DDR_NODIMM I have the values for CONFIG_DDR_NODIMM for the ATF. I place them to ddr_init.c then place CONFIG_DDR_NODIMM:=1 to platform.mk, and issue bld bsp -m lx2160ardb But I get the error described in the previous post. Re: Cannot set CONFIG_DDR_NODIMM One problem is fixed when I updated the ddr_get_ddr_params in ddr_init.c The atf compiles now succesfully, but when I deploy it, I get  NOTICE: BL2: Built : 18:50:19, Feb 28 2026 NOTICE: Fixed DDR Config 1 ERROR: DDR Clk: MCLK cycle is 625 ps. ERROR: DDR Clk is faster than DIMM can support. ERROR: Execution FW failed (error code -5) ERROR: Calculating DDR PHY registers failed. The DIMM I am deploying is 2933Mhz (lower than the default 3200Mhz); I have already edited the RCW to lower the DDR controller to 2900 and even 2600. The error still happens. How can I correctly configure the DDR clock? Re: Cannot set CONFIG_DDR_NODIMM I managed to fix the MCLK cycle problem, but I arrived to a new problem of interleaving mode. I am using the default 2 ddr controllers NUM_OF_DDRC . The error is: NOTICE: BL2: Built : 23:02:58, Feb 28 2026 NOTICE: Fixed DDR Config 1 ERROR: Unknown interleaving modeERROR: Assigning address error This happens with 2 or 4 DIMM configuration (info.dimm_on_ctlr = DDRC_NUM_DIMM  = 2 or 4)
查看全文
モーターHIL こんにちは、 私はボードを使用しています S32K344MINI-EVBにGD3000ドライバとSunriseモーターを取り付けました。プロジェクト「S32K344:mc_pmsm_1sh_s32ct」を使って、モーターの速度を制御できるプログラムをテストしました。できるだけ早く目標を達成したいです。   私の目標は、Speedgoat リアルタイム システム プラットフォームを使用して、Sunrise のエンジン プラントを制御するアルゴリズムを実装することです。これを実現するために、パワーエレクトロニクスとともにエンジンプラントをシミュレートし、S32K344-MINIEV 評価ボードを使用してエンジンを制御したいと考えています。次の画像とリンクは、MATLAB チームが Texas Instruments マイクロプロセッサを使用してこれを実行した方法を示しています。モデルベースデザイン (電流コントローラーと速度コントローラー) から NXP のブロックを使用してコントローラーを実現したいと考えています。目標を達成するにはどうすればいいか教えていただけますか? https://es.mathworks.com/help/mcb/gs/field-oriented-control-pmsm-using-hardware-in-the-loop-hil-simulation.html 皆様ありがとうございました。 ジョン・アンダー Re: Motor HIL こんにちは@JonAnder_Amante あなたが参照している MathWorks のモータ制御 HiL のリファレンス例には、変更が必要な要素が多数あります。S32K344-MINI EVB に合わせた完全なモデルを提供することはできませんが、どのサブシステムを独自に作業する必要があるかについての簡単な概要とガイダンスを提供することはできます。 1. まず、最上位モデルを見ると、組み込みプロセッササブシステムとインバータおよびモーターサブシステムという 2 つの主要なサブシステムがあります。組み込みプロセッサ サブシステムは組み込みターゲットに展開されるコードを生成し、インバーターとモーター サブシステムは SpeedGoat HiL に展開されます。 モーター制御アプリケーション全体は、PWM によってトリガーされる ADC 割り込み内で実行されます。ハードウェア モデル設定を見ると、組み込みプロセッサ サブシステムの基本レート トリガーが ADCB1_INT に設定されています。 NXP ブロックを使用してこの種のアプローチを実行するには、コードを生成する場合、ADC 割り込みに設定されたハードウェア割り込みコールバックブロックに接続されたトリガー サブシステム内にすべてのモータ制御アプリケーションを含める必要があります。シミュレーションの目的でこの動作を再現するには、ハードウェア割り込みブロックを関数呼び出しジェネレーターブロックに置き換えて、シミュレートされた ADC 割り込みをトリガーする頻度を設定できます。 2. 相電流の測定値とローターの位置および速度の推定を取得するための入力ドライバ。このために、センサ ドライバブロックと呼ばれるバリアント サブシステムがあります。中に入ると、コード生成用とシミュレーション用の 2 つのサブシステムが表示されます。codegen サブシステムの内部に入り、ここで ADC ペリフェラルからデータを取得するためのブロックを置き換える必要があります。BCTU ペリフェラルを使用してすべての ADC インスタンスをトリガーし、電流と DC バス電圧を取得する場合は、NXP Adc ブロックを使用してそれを Adc_CtuReadFifoData に設定できます。 ローターの速度と位置を推定するには、使用しているセンサーによって異なります。サンライズモーターにはエンコーダが装備されていないため、エンコーダのすべてのブロックと計算を削除する必要があります。使用できるホール センサが搭載されており、センサレス技術を使用することもできます。センサレスの場合、このアプローチをどのように実現できるかを確認するには、当社が提供するモータ制御の例を参照してください。 3. FOC参照モデル。FOC アーキテクチャを実装するためにどのブロックを使用するかによって異なります。Motor Control Blockset を評価する場合は、最終的には小さな変更を加えて、FOC サブシステム全体をそのまま残すことができます。ただし、NXP の AMMCLib ブロックを使用する場合は、FOC リファレンス モデルから各サブシステムに移動し、Clark、Park、PI コントローラなどの各ブロックを AMMCLib の同等のブロックに置き換える必要があります。 4.出力ドライバサブシステム。このサブシステムは、PWM ジェネレータ ペリフェラルの PWM デューティ サイクルの更新を処理します。このサブシステム内で可能であれば、TI の PWM ブロックを NXP Pwm ブロックに置き換えて適切に構成する必要があります。ここでも、提供されているモーター制御の例を参照して、Pwm ブロックの使用方法と、モーターの各位相で PWM 生成を実現するために Pwm ブロックを構成する方法を確認してください。 SpeedGoat 側では、サブシステムをそのままにしておくことができると思いますが、 pmsm_hil_data.mスクリプト内でモーターのパラメータを提供する必要があります。 これらは高レベルの観察ですが、他にどのような点を変更する必要があるかを正確に把握するには、必ず自分で作業する必要があります。 これが役に立つことを願います! 敬具 ステファン。
查看全文
MCU 电源斜率 S32K116 我的应用是简单的汽车车身电子模块,正在考虑使用 S32K116。 AN5426 表示,MCU 电源必须处于监控状态,如果不是,设备可能会卡住或损坏。最小和最大 rampt 速率非常宽,不成问题。 通常情况下,非单调供电可能发生在关机再开机时,或者开/关开关出现跳动(如本例中的点火开关)。 传统上,我们使用 Brown out reset 或 LVR 来恢复这种状态,但对于这部分来说,这似乎还不够。 如果设备仅由汽车应用中的低压差线性稳压器(LDO)供电,则由于电源供应中的开关反弹等,电源很容易出现非单调性。恩智浦对使用该处理器进行汽车应用的超小型系统的电源管理单元有何评论? Re: MCU Supply Ramp Rate S32K116 感谢您的及时回复。 也感谢您引用勘误表项目。 我明白初始启动的适用性,但用什么标准来决定这是初始启动呢? 在电源电压必须接近 0 并再次单调上升之前,电源电压可以降到多低? 另外,下一次 "初始上电 "需要多接近 0 伏? Re: MCU Supply Ramp Rate S32K116 你好@donald3、 对于 S32K1xx 设备,AN5426 中对单调电源斜坡的要求专门指通过内部 POR/ LVD 电路工作阈值的初始加电斜坡。这一要求是大多数基于 ARM 的汽车 MCU 的共同要求,目的是避免在启动过程中出现未定义的数字状态。 电池或点火线上的短暂非单调事件本身不会损坏设备。只有当电源精确地在内部模拟RESET电路过渡的区域内振荡,并且微控制器可能无法完全退出RESET时,才会出现风险。这就是 AN5426 建议在上电期间采用单调斜坡的原因。 一旦设备通过 POR 并开始运行,当电源下降到阈值以下时,低压检测/BOR 模块将正确触发 RESET。 请查看 S32K116_0N96V 勘误表,项目 ERR052092。建议使用能以最小 200 mA 电流提供指定电压的外部稳压器。 顺祝商祺! 帕维尔 Re: MCU Supply Ramp Rate S32K116 你好@donald3、 很抱歉因休假而延迟回复。 据我所知,没有这样的要求。 顺祝商祺! 帕维尔
查看全文
S32K344 WBボードはSegger J-Linkデバッガに接続できます。 こんにちは Segger J-Link デバッガーを使用して S32K344-WB ボードにコードをフラッシュする際に問題が発生しています。Segger J-Link に対して何らかの設定を行う必要がありますか、またはリンカー ファイルで何かを変更する必要がありますか?間違った PC 値とその他のレジスタ値を取得しているためです。 Re: The S32K344 WB board can be connected to the Segger J-Link debugger はい、添付しております。 これは RTD の Siul2_Dio_Ip の例であり、SEGGER J-Link デバッグ構成を追加しました。RTD 6.0.0 と S32DS 3.6.6 に基づいています。 よろしくお願いします、 ジュリアン Re: The S32K344 WB board can be connected to the Segger J-Link debugger すべての構成ファイルを含む、上記のスナップショットからの完全なサンプル プロジェクトを共有していただけますか?startup.sなどのファイルを確認したいのですが、system.cおよびリンカーファイル Re: The S32K344 WB board can be connected to the Segger J-Link debugger こんにちは@ganavi1さん、 ログから、HSE がインストールされておらず、デバイスがロックされていないことがわかります。 また、追加の設定は必要ありません。念のため、J-Link Plus プローブを S32K344-WB でテストしたところ、期待どおりに動作しました。Siul2_Dio の例をテストしました: RTD の例、または WB パッケージを使用してみてください。 解決済み: S32K344-WB (ホワイトボード) EVB ソースコード - NXP コミュニティ S32K344 ホワイトボードのサンプル プロジェクト。 問題が解決しない場合は、SEGGER にお問い合わせください:チケット | SEGGER - The Embedded Experts 。 よろしくお願いします、 ジュリアン Re: The S32K344 WB board can be connected to the Segger J-Link debugger 現在、 J-Link Commander を使用してターゲットに接続できますが、 S32 Design Studioを介したフラッシュは正しく機能しません。リセット後に PC やレジスタの値が間違っていたり、アプリケーションが正しく起動しなかったりするなどの問題が発生しています。 現時点では、 SEGGER J-Link Baseのみが利用可能です。接続をクロスチェックするための別のデバッガーや EVB がありません。 SEGGER J-Link ファームウェアおよびソフトウェア バージョンが更新されました(S32DS で必要な V9.16)。さらなる分析のためにデバッグ ログ ファイルを共有します。 S32K344-WB ボードに特定のJ-Link または S32DS 構成が必要かどうかをお知らせください。 SWD経由でターゲットに接続する ConfigTargetSettings() の開始 ConfigTargetSettings() 終了 - 787us かかりました InitTarget() 開始 SDA_APが検出されました 必要に応じてデバイスのロックを解除しています... デバイスはロックされていません。ロック解除手順を行わずに続行します。 デバッグ アクセスがすでに有効になっているかどうかを確認しています... デバッグ アクセスはまだ有効になっていません。デバッグ アクセス シーケンスの有効化を実行しています... デバッグアクセスが有効 HSE ファームウェアがインストールされているかどうかを確認しています... HSEファームウェアがインストールされていません Cortex-M7_0とCortex-M7_1がロックステップモードで動作しているかどうかを確認する ロックステップモードが有効 InitTarget() 終了 - 16.5ms かかりました ID 0x6BA02477 の SW-DP が見つかりました DPIDR: 0x6BA02477 CoreSight SoC-400 以前 AP マップの検出をスキップしました。手動で構成された AP マップが見つかりました。 AP[0]: MEM-AP (IDR: 未設定、ADDR: 0x00000000) AP[1]: APB-AP (IDR: 未設定、ADDR: 0x00000000) AP[2]: MEM-AP (IDR: 未設定、ADDR: 0x00000000) AP[3]: AHB-AP (IDR: 未設定、ADDR: 0x00000000) AP[4]: AHB-AP (IDR: 未設定、ADDR: 0x00000000) AP[5]: AHB-AP (IDR: 未設定、ADDR: 0x00000000) AP[6]: MEM-AP (IDR: 未設定、ADDR: 0x00000000) AP[7]: MEM-AP (IDR: 未設定、ADDR: 0x00000000) AP[4]: ROMBASE読み取りをスキップしました。CoreBaseAddrはユーザーが手動で設定します AP[4]: コア発見 CPUIDレジスタ: 0x411FC272。実装者コード: 0x41 (ARM) キャッシュ: L1 I/Dキャッシュあり Cortex-M7 r1p2、リトルエンディアンが見つかりました。 FPUnit: 8 つのコード (BP) スロットと 0 つのリテラル スロット ROM テーブル スキャンはスキップされました。ユーザーが手動で設定した CoreBaseAddr: 0x40250400 I-Cache L1: 8 KB、128 セット、32 バイト/ライン、2 ウェイ DキャッシュL1: 8 KB、64セット、32バイト/ライン、4ウェイ SetupTarget() 開始 ECC RAM を初期化しています... RAMコードアドレス: 0x20000000 RAM初期化アドレス: 0x20000010 RAM初期化サイズ: 0x00007FF0 初期化パターン: 0xDEADBEEF ECC RAMが正常に初期化されました ECC RAM を初期化しています... RAMコードアドレス: 0x20000000 RAM初期化アドレス: 0x20400000 RAM初期化サイズ: 0x00004000 初期化パターン: 0xDEADBEEF ECC RAMが正常に初期化されました SetupTarget() 終了 - 22.2 ミリ秒かかりました メモリゾーン: ゾーン: 「デフォルト」 説明: デフォルトのアクセスモード Cortex-M7 が識別されました。 J-Link>mem32 0x00400000, 16 00400000 = 5AA55AA5 00000001 00000000 00400800 00400010 = 00000000 00400800 00000000 00400800 00400020 = 00000000 00000000 00000000 00000000 00400030 = 00000000 00000000 00000000 00000000 00400040 = 00000000 00000000 00000000 00000000 00400050 = 00000000 00000000 J-Link>デバイス情報の実行 J-Link>エミュリストを表示 J-Link[0]: 接続: USB、シリアル番号: 59306081、製品名: J-Link、ニックネーム: J-Link>mem32 0x4007C000, 16 メモリを読み取ることができませんでした。 J-Link> Re: The S32K344 WB board can be connected to the Segger J-Link debugger こんにちは@ganavi1さん、 設定は問題ないようです。 J-Flash や J-Link コマンダーなどを使用して、正しく接続してフラッシュできますか?SEGGER には、K3 用の独自の Wiki ページがあります: NXP S32K3xx - SEGGER Knowledge Base 。 接続を試みる前に、MCU に何がプログラムされていたかご存知ですか?デバイスにはセキュリティまたはライフサイクルが設定されていますか? 接続をテストするための別のデバッガーまたは EVB をお持ちでしょうか? 最後に、デバッグ プローブと S32DS の両方に最新の SEGGER ファームウェアがインストールされているかどうかを確認します。デバッグ時にログ ファイルを共有できます。 よろしくお願いします、 ジュリアン Re: The S32K344 WB board can be connected to the Segger J-Link debugger こんにちは これは私のデバッグ構成です S32プラットフォーム用のS32 Design StudioのIDEバージョン バージョン: 3.5 ビルドID: 240924 (アップデート 14) Re: The S32K344 WB board can be connected to the Segger J-Link debugger こんにちは@ganavi1さん、 これはおそらくデバッグ構成の問題です。まず、K344-WB と SEGGER プローブ間の接続をテストするために、空のクリーンなプロジェクトを作成してみてください。正しいアプリケーション (.elf) とデバイス名およびスクリプトが選択されていることを確認します。デバッグ構成は次のようになります。 よろしくお願いします、 ジュリアン Re: The S32K344 WB board can be connected to the Segger J-Link debugger こんにちは! S32K344-WB ボードでは、プロジェクトでカスタム メモリ マッピングを使用しない限り、通常、リンカー ファイルを変更する必要はありません。間違った PC 値とレジスタ値の原因として最も多いのは、間違ったコアの選択、誤ったリセット モード、デバッグ認証の欠落など、デバッガーの設定です。J-Link が正しい Cortex-M7 コア用に設定されていることを確認し、接続時に「リセットと停止」を使用し、リセット ベクターとスタック ポインターがフラッシュで適切に定義されていることを確認します。これはリンカーの問題ではなく、構成の問題です。
查看全文
Errors pin configuration I am new to NXP microcontrollers, and while working with the MCU FS32K118LAT0MLFT, In S32 design studio, I encountered some errors in the pin configuration.    (i) I didn't find the part number in the S32DS (ii) After , I creating the project in pin configuration, i got errors like files to import Re: Errors pin configuration Hi @manibharathi, Could you please share RTD + S32 Design Studio versions?  When creating a project, you must: Select a device > Select toolchain (GCC 10.2 for RTD package) > Attach RTD.   After this, you should be able to open the .mex file into S32 Config Tools without issues: Are you able to import any examples instead of creating a new project?  Best reagrds, Julián Re: Errors pin configuration Hi, @Julián_AragónM , Thanks for your reply. My S32 Design Studio version is 3.6.6 and my RTD version is 3.0.0 . I very beginner to NXP microcontroller, Can you guide me what version are needed to download and How to allocate the pins and write the code? Re: Errors pin configuration Hi @manibharathi, Sorry for the late reply. RTD 3.0.0 is already the latest version for the S32K1 drivers. I assume you already have them installed, if not, please refer to the attached document (Getting Started with the Real Time Drivers (RTD).pdf). I recommend checking our list of HOWTOs: S32DS - list of HOWTOs. It shows how to create a new project from example, scratch, how to create a LED blinky example, with and without AUTOSAR layer. There are also some examples inside the RTD package. Specifically, Dio_Example and Gpio_Dio_Ip_Example projects configure a LED output in the board. Lastly, you can also refer to the RTD training presentation for Pins and Clocks: S32K3XX Pins and Clocks with RTD. It is based on S32K3XX, however, functionality is very similar. If you have any issues configuring pinout or with code, please let me know. Best regards, Julián Re: Errors pin configuration Hi @Julián_AragónM Thanks for your reply , I will go through this and I will update you.
查看全文
QBV on S32G-VNP-RDB3 请问如何在S32G-VNP-RDB3 上配置QBV功能,谢谢! Re: QBV on S32G-VNP-RDB3 @piaochunri 您好 SJA1110的FW修改和功能的设置需要通过SJA1110的SDK,这个SDK可以在S32DS中进行配置,修改和编译,最后烧写到SJA1110内部的FLASH使用。 BR Chenyin Re: QBV on S32G-VNP-RDB3 那请问在sja1110上配置QBV的方法是什么,是否有教程?是通过S32DS吧。 Re: QBV on S32G-VNP-RDB3 @piaochunri ,您好 感谢回复 我之前的回复是基于您直接使用RDB3上的普通网络端口的情况下。 如果您是使用RDB3上的SJA1110的egress port连接的网口的话,因为sja1110本身支持QBV,也就是其egress 端口支持基于时间的流量调度。那么,您可能不需要额外使用Host端的工具(比如TC)来进行相应配置。 BR Chenyin Re: QBV on S32G-VNP-RDB3 我需要在SJA1110上实现QBV,需要配置GMAC链接SJA1110吗?我看目前SJA1110就是一个支持QBV的网关,如果配置PFE链接SJA1110能否实现QBV?谢谢 Re: QBV on S32G-VNP-RDB3 @piaochunri, 您好 rdb3板卡上的gmac支持qbv,但是目前的bsp文档中没有相关正式的章节进行说明,按照经验,您可以先参考以下内容 https://man7.org/linux/man-pages/man8/tc-taprio.8.html 然后尝试利用 tc 命令来配置相关tsn 的特性 BR 切宁
查看全文
Does SIUL2 VIRT_WRAPPER isolate per‑core access to shared registers? Hi, I am working on S32K324 with two M7 cores, each running its own Design Studio project. Both cores need to control different pins that belong to the same SIUL2 register (same MSCR/GPDO word). I have read AN14715 and the VIRT_WRAPPER documentation, which explains that SIUL2 can expose multiple virtual interfaces (PDAC) and that XRDC can restrict access per core. However, I cannot find an explicit statement saying whether: A) VIRT_WRAPPER actually isolates access to the physical SIUL2 registers, preventing two cores from writing to the same register word, or B) it does not isolate the physical registers, meaning both cores still write to the same hardware register and therefore require another protection mechanism. Since we have separate designs for each core, what mechanisms do you recommend? Could you confirm whether the VIRT_WRAPPER does or does not prevent multi‑core write conflicts on the same SIUL2 register? Thank you. Re: Does SIUL2 VIRT_WRAPPER isolate per‑core access to shared registers? Hi @luigi_sanpaolo, Virtual Wrapper does isolates the SIUL2 registers by assigning PDACs (Peripheral domain access control) to the respective cores or domain IDs. It locks the XRDC configuration and programs VIRT_WRAPPER registers for pad assignments. Either HSE-B (which boots first) or main application core should configure PDAC3 to prevent VIRT_WRAPPER being reprogrammed by the second core. Best regards, Julián Re: Does SIUL2 VIRT_WRAPPER isolate per‑core access to shared registers? Hi @luigi_sanpaolo, SEMA42 must be used in conjunction with XRDC for resource protection, meaning hardware semaphores are used when XRDC, SEMA42 and VIRT_WRAPPER is used. Recommendation is to use the Hardware Resource Isolation and Protection modules, which are described in chapters 8, 17 & 19 from the S32K3XX reference manual. However, you can refer to the following application note: AN14715: Hardware Resource Isolation and Protection. Here is an excerpt from it, describing VIRT_WRAPPER initialization and usage: In the RM module, check "RM Enable Virtual Wrapper feature" to enable VIRT_WRAPPER configuration. In the Virtual Wrapper submodule, configure the virtual addresses and ownership domains for each pad and register. In the XRDC module, assign the pad virtual addresses as peripherals to different domains. In the Dio module, check "Dio VirtWrapper Support" to enable the VIRT_WRAPPER feature for Dio and assign a Virt_Wrapper PDAC to each Dio channel. In the Port module, check "Port VirtWrapper Support" to enable the VIRT_WRAPPER feature for Port and assign a Virt_Wrapper PDAC to the MSCR and IMCR of each Port pin. To ensure pad protection takes effect, follow the initialization order:  VIRT_WRAPPER initialization → PORT initialization → XRDC initialization. I suggest reading the Usage and error handling of VIRT_WRAPPER section, it notes the steps for configuration. Best regards, Julián  Re: Does SIUL2 VIRT_WRAPPER isolate per‑core access to shared registers? Hi, Thanks for the explanation.   I'd like to clarify a few points to better understand the concurrency scenario. In our use case, we have two cores that may attempt to access the same SIUL2 register at the same time.   Could you provide more details on how concurrent access should be protected?   In particular: Is there any built‑in mechanism that prevents race conditions when both cores perform operations on the same register? For S32K324 devices, what protection method do you recommend? Would using a hardware semaphore be the right approach, or is there another preferred mechanism to coordinate register access between cores?   Any guidance or recommended best practices would be greatly appreciated. Thanks
查看全文
MIMX8MM6CVTKZAA セキュリティ MIMX8MM6CVTKZAAセキュアブートシステムのマニュアルはありますか?リンクを教えていただけますか?ありがとうございます。 Re: MIMX8MM6CVTKZAA security mimx8mm6cvtkzaa 回路図の PDF が必要です。 Re: MIMX8MM6CVTKZAA security https://www.nxp.com/webapp/sps/download/download.jsp ここからダウンロードできます。
查看全文
mpc5775e uart 引导加载程序 您好,NXP团队: 我正在使用MPC5775E EVB,我想使用 UART 引导加载器进行固件更新。我使用的是 S32 Power Architecture 集成开发环境。 我想知道 MPC5775E 是否有支持 UART 的内置 ROM 引导加载程序? 如果是 使用哪个 UART 模块? 需要哪些引脚? 我们如何进入启动模式(启动配置引脚)? 如果没有: 是否有关于实现自定义 UART 引导加载程序的恩智浦参考示例或应用说明? 是否有可用的示例项目? S32 设计工作室? 恩智浦软件开发工具包还是应用笔记? 我已经查看了参考手册,但无法清楚地找到 UART 引导加载程序的详细信息。 谁能给我指点迷津? 启动配置(BOOTCFG 引脚) 所需的闪存配置 任何示例代码或文档 感谢和问候, A.Ajith Kumar Re: MPC5775E UART BOOTLOADER 你好 MPC5775E 是否有支持 UART 的内置 ROM 引导加载程序? 不,没有。 是否有关于实现自定义 UART 引导加载程序的恩智浦参考示例或应用说明? 我们的示例发布在这里,但没有 UART 引导加载程序: https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5-software-example-list/ta-p/1102445#MPC5777C 谁能给我指点迷津? 启动配置(BOOTCFG 引脚) 所需的闪存配置 任何示例代码或文档       请查看此主题中的引导加载程序示例: https://community.nxp.com/t5/MPC5xxx/MPC5777C-bootloader/m-p/1221173 这可以给你一个很好的概览。 顺祝商祺! Peter
查看全文
mimxrt1052 System security Hello everyone, I am using the mimxrt1052dvl6b EVK, and I have developed the final code. So I just want to know how to implement security for my product, so no one can read the flashed firmware (readback protection). If somehow someone gets read access, how can I use cryptography to encrypt this firmware? Also, how can I prevent access through J-Link debug and stop any read/write operation? No one should be able to read or write the firmware, even if it is stored in external flash. Please share any reference, reference manual, or steps to implement this. Thank you. Re: mimxrt1052 System security Hi @raj20024, hope you are doing well. Please check on the RT1050 HAB Encrypted Image Generation and Analysis community post, which contains information and a guide to use HAB encryption which may fit your requirements. Let me know if the information is useful.
查看全文
S32K344 用 I2C マスターの例 (RTD 5.0.0) S32K344 (RTD 5.0.0) のマスターモードで I2C を使用したいと考えています。利用可能なI2Cサンプルプロジェクトをインポートしようとしたとき、多くのエラーが発生しました(.mexファイルを含む)RTD 5.0.0 をサポートする動作する I2C マスター サンプル プロジェクトはありますか? Re: I2C Master Example for S32K344 (RTD 5.0.0) こんにちは@gayancho 例を実行する前に、構成ファイルを生成する必要があります。これを行うには、S32DS のプロジェクト エクスプローラー ビューに移動し、現在のプロジェクトを選択します。次に、S32 構成ツール メニューを開き、操作するツール (ピン、クロック、ペリフェラルなど) を選択します。 必要な変更を行った後、[S32 構成ツール] → [コードの更新]ボタンをクリックします。コードが更新されると、例はエラーなしでビルドされるはずです。 さらに、 S32K344 LPI2C0 Transmission FailuresのThreadでは、設定ファイル(.mex)とmain.cを共有しました。LPI2C0 をマスターとして使用したブロッキング伝送例のファイル。実際のソフトウェアバージョンと一致しない場合もありますが、参考として役立ちます。 BR、ヴェインB Re: I2C Master Example for S32K344 (RTD 5.0.0) こんにちは@gayancho あなたの.mexを確認しましたファイルで、I2C クロック ソースの構成が見つからないのは、必要な Clock_Ip_ReferencePoint エントリが存在しないことが原因です。 McuClockReference セクション内で I2C クロックの適切な参照ポイントを定義する必要があります。Clock_Ip_ReferencePoint ドライバーで、I2C クロック ソースに対応する新しい参照ポイントを追加します。これは AIPS_SLOW_CLK になります。 参照ポイントを追加したら、Lpi2c ドライバ構成に進みます。I2C クロック ソースでは、新しく作成された McuClockReferencePoint が選択可能なオプションとして表示されます。 AIPS_SLOW_CLKに対応する参照ポイントを選択します。共有したスクリーンショットに基づくと、これは次のようになります: /Clock_Ip_ReferencePoints/Clock_Ip_ReferencePoints/McuClockReferencePoint_1 Re: I2C Master Example for S32K344 (RTD 5.0.0) こんにちは@VaneB 、クロック コンポーネントで LPI2C0 PCC クロックを有効にしましたが、LPI2C 構成にはまだ「ソース クロックが有効になっていません」と表示され、I2C クロック ソース ドロップダウンは空のままです。クロックと LPI2C が同じ機能グループ (BOARD_InitPeripherals) にあることを確認しました。クロック ソースを使用できるようにするために、LPI2C0 の RTD 5.0.0 でどのクロック ソース/構成設定を有効にする必要があるかを正確に教えていただけますか?
查看全文