Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
i.MX8QXP ベースのプラットフォームの FCT (機能回路テスト) および EOL 検証。 こんにちは、NXP チームの皆様、 現在、i.MX8QXP ベースのボードの FCT および EOL 検証に取り組んでいます。 現時点では、SoC にコネクテッドされたUSB-UART コンバータを使用して、ホスト PC からのシリアル インターフェース経由で LTE、eSIM、GNSS、CPU、および PMIC を検証するためのAT コマンドを呼び出しています。 ただし、最終的なハードウェア セットアップには、直接USB デバイス モード インターフェースが含まれており、次の点を理解しておく必要があります。 🔹 USBインターフェースUSB-to-USBを使用してPCからターゲットに直接ATコマンドを送信できるかどうか、 🔹 このユースCASEに最適なUSBガジェット、クラスドライバはどれでしょうか? 🔹 USB 経由で仮想シリアルポートを公開し、ホストが AT コマンドを送信できるようにする推奨方法はありますか (現在 USB-UART 経由で行われていることと同様) 🔹 この方法を大量生産 (EOL テスト) で使用する場合の注意点や制限事項はありますか。 皆様の推奨事項や、このアプローチに関して予想される課題があればお知らせください。
View full article
FRDM RW612 flash mcuboot and frdmrw612_ota_mcuboot_server_wifi using Jlink I am using FRDM RW-612 evk for my development. For that I have flashed bootloader (frdmrw612_mcuboot_opensource) at 0x8000000 location. And application (frdmrw612_ota_mcuboot_server_wifi) at 0x8020400 location. I have uncommented #define CONFIG_BOOT_OTA_TEST to generate MCU boot for testing without image signature verification I followed readme steps (1) erase flash (2) debugged bootloader stop the execution (3) debugged application then pause the execution and in debugger console write ''jump ResetISR'. then start the execution and these steps worked for me. I want to flash the bootloader and application without using debugger console. e.g. using Jlink or any other GUI tool Re: FRDM RW612 flash mcuboot and frdmrw612_ota_mcuboot_server_wifi using Jlink Hi @Meera_Shah. Is there any particular reason that you are uploading the image to address 0x08020400? Since the start address for the primary slot is 0x8020000 this may cause MCUboot to not recognize the image. Additionally please try to upload a signed image to address 0x08020000. To sign the image I suggest to use the MCUXpresso Secure Provisioning Tool (SPT) and following the "MCUXpresso Secure Provisioning Tool User Guide" file provided within the installation path of the SPT. In section "7.5 - MCUboot workflow" step 5 indicates the way to sign the image using the tool. Notice that the "imgtool arguments" for the MCUboot to recognize a signed image are specified inside the "example_board_readme.md" file of the mcuboot example. Also, the path to find the keys to sign images is the following:  \middleware\mcuboot_opensource\boot\nxp_mcux_sdk\keys. Please let me know if loading wifi ota server example as a signed binary image with J-Link Commander works for you. Re: FRDM RW612 flash mcuboot and frdmrw612_ota_mcuboot_server_wifi using Jlink connect RW612 SWD 4000 loadbin , 0x8000000 I did the above for the bootloader, then ran: loadbin , 0x8020400 However, after reset, the application does not boot. Console log: hello sbl. Disabling flash remapping function Bootloader Version 2.0.0 Image 0 Primary slot: Image not found Image 0 Secondary slot: Image not found No slot to load for image 0 Unable to find bootable image It seems the bootloader cannot find the application image when flashed via J-Link. Re: FRDM RW612 flash mcuboot and frdmrw612_ota_mcuboot_server_wifi using Jlink Hello @Meera_Shah, hope you are doing well. In order to flash the application or the bootloader you could use the Jlink commander tool by going through the following commands: > connect > RW612  > SWD > 4000 > loadbin , 0x Please let me know if this works out for you.
View full article
S32SDK_S32K1xx_RTM_4.0.3へのアップデート方法 S32DS.3.5_b220726_win32.x86_64.exeをインストールした後、S32SDK_S32K1xx_RTM_4.0.1 がインストールされている場合、S32SDK_S32K1xx_RTM_4.0.3 にアップデートする方法 Re: how update to S32SDK_S32K1xx_RTM_4.0.3 ハイ S32K1のインストールをお勧めします RTD 3.0.x と S32DS の拡張機能とアップデート S32DSで v3.6.x 。   またはS32K1をインストールする SDK RTM 4.0.3 と S32DS の拡張機能とアップデート S32DSで バージョン3.4。 S32K1のインストールは推奨されません SDK 4.0.x S32DSで バージョン3.5。現在入手可能な情報によると、S32SDK S32K1XX 4.0.x を S32DS 3.5 以降のバージョンに統合する予定はありません。   よろしくお願いします、 ロビン --------------------------------------------------------------------------------- 注記: - この投稿があなたの質問への回答である場合は、「正解としてマーク」ボタンをクリックしてください。ありがとう! - Threadは最後の投稿から7週間フォローされます。それ以降の返信は無視されます。 後ほど関連する質問がある場合は、新しいThreadを開いて、閉じたThreadを参照してください。 ---------------------------------------------------------------------------------
View full article
MPC5744P & AUTOSAR (MPC574XP_MCAL4_0_RTM_2_0_2) こんにちは専門家の皆様 AUTOSAR MCAL パッケージ MPC574XP_MCAL4_0_RTM_2_0_2 をインストールしましたが、MPC5744P では動作しません。問題を切り分けるために、main() 内のすべてのアプリケーション コードをコメント アウトし、最小限のテスト CASE に置き換えました。 BoardInit(); GPIOInit(); CAInit(); このテスト コード (レジスタ値がハードコードされ、レジスタ アドレスのみが初期化されている) は信頼されており、複数の MPC5744P S32 プロジェクトで動作しています。ただし、AUTOSAR プロジェクトでは、デバッガーはレジスタが正しく設定されていることを確認しますが、CAN ペリフェラルは機能しないままになります。 質問: MPC574XP_MCAL パッケージは、ブランドが共通しているにもかかわらず、MPC5744P と互換性がない可能性がありますか? 他の場所では動作しているにもかかわらず、テスト コードが AUTOSAR コンテキストで失敗する可能性があるのはなぜですか? AUTOSAR スタートアップ コード (クロックの初期化、MPU 構成、例外処理など) が MCAL またはハードウェアと競合する可能性がありますか? 前もって感謝します。 Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) こんにちは、 SW チームからのフィードバックは次のとおりです。 この問題は起動時に発生するようです。何かが間違っています。メモリ領域に Can_ControllerStatuses、キャッシュなどが保存されている可能性があります。このパッケージにはサンプルが添付されているので、それを実行して自分の起動時と比較することができます。 例を実行して自分のコードと比較してください。 よろしくお願いいたします。 ピート Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) こんにちは、 Diab バージョンは次のとおりです: Can_FlexCan_InitVariables 関数の Can_ControllerStatuses 値: Can_FlexCan_ChangeBaudrate関数のCan_ControllerStatuses値: CTRL1値を設定する前のCan_ControllerStatusesの値は同じです ありがとう Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) こんにちは、 SW チームからのフィードバックは次のとおりです。 リリース ノートに従って、このリリースでサポートされている diab バージョンが次のとおりであることを確認してください。 Can_ControllerStatuses を読み取り、以下のようにいくつかの時点でこの構造体内のすべての要素の値を表示できますか。 このようになります: RM が述べたように、CTRL1 の一部のビットはフリーズ モードで CAN 書き込む。 したがって、CTRL1の値を設定する前に、CANコントローラがフリーズモードになっていることを確認してください。これはレジスタMCRを通じて確認できます。 この設定とチェックは関数Can_FlexCan_ChangeBaudrate()で行われます。 よろしくお願いいたします。 ピーター Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) こんにちは、 私は CAN ドライバに精通していないため、あなたの問題を SW チームに転送しました。 回答が得られ次第、お知らせします。 よろしくお願いいたします。 ピーター Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) 直接書き込みを試みたところ、うまくいきました。問題は、「Can_ControllerStatuses[CAN_MAXCTRL_CONFIGURED]」という構造体のグローバル配列が、個々のFlexCANコントローラの現在のステータス/実行時構成を保持するこの構造体のどのメンバーの直接書き込みにも影響を受けないことに気付きました。 Can_Flexcan.cのCan_FlexCan_InitVariables関数すべてのコントローラのすべてのグローバル変数/ステータスを初期化します。 このスクリーンショットは、構造体のこのメンバーに 0 を書き込んだ後の 1111 の値を示しています。 なぜこのようなことが起こるのでしょうか?私は diab コンパイラと S32 を使用しています。これは添付のプロジェクトです。何か解決策があれば教えてください。 よろしくお願いします。 Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) こんにちは、 CTRL1レジスタへのアクセスには制限はありません。 アセンブリ デバッグにスイッチして、コア上の命令実行をチェックし、レジスタが実際に変更されるかどうかを確認します。デバッガー経由の直接書き込みも試してください。 ここではハードウェアに問題はないと確信しています。 ペリフェラルがクロックされていない状態で書き込みをしようとしているか、またはソフトウェアがレジスタ アドレスへの書き込みを実行していないかのいずれかです。 このペリフェラルにバグはありますか? すべての問題はエラッタシートに記載されています。しかし、私はその問題が MCU にあるとは思っていません。あなたのSWを疑っています。 デバッガー経由でレジスタに書き込んでみてください。 よろしくお願いいたします。 ピーター Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) ピーターさん、ご回答ありがとうございます。 まず、私の開発ボードはhttps://www.nxp.com/design/design-center/development-boards-and-designs/DEVKIT-MPC5744Pです。 以下のパッケージをダウンロードしました: Autosar バージョン 4.0.3 2 つ目: CAN0 を使用する CAN タスクをテストする必要がありますが、動作しなかったSO、EB tresos を使用して別の構成ファイルを生成しました。 生成された構成のこの部分を見てください: Can_PBcfg.cファイル: FlexCanコントローラの構成 CTRL1レジスタは設定変更の影響を受けなかった。 スクリーンショットのCASE - 例えば - PSEG1 =2 PSEG2 =2 プロプセグ =5 RJW =2 しかし、CTRL1レジスタの値は1です(CAN.cのCAN_Init関数の戻り後) CAN_FlexCAN_ChangeBaudrate 関数のこの部分の後に記入されるもの - CAN_FlexCAN.c 内- Can_Init 関数で呼び出されます。 このペリフェラルにバグはありますか? これらのパッケージを使用して CAN ペリフェラルを操作するソリューションはありますか? よろしくお願いいたします。     Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) こんにちは、 MPC574XP_MCAL パッケージは、ブランドが共通しているにもかかわらず、MPC5744P と互換性がない可能性がありますか? いいえ。MPC574xP デバイスで完全に互換性があり、テスト済みです。 AUTOSAR スタートアップ コード (クロックの初期化、MPU 構成、例外処理など) が MCAL またはハードウェアと競合する可能性がありますか? いいえ。MCAL は AUTOSAR に準拠しています。(AUTOSAR 標準に従って開発されています)。 他の場所では動作しているにもかかわらず、テスト コードが AUTOSAR コンテキストで失敗する可能性があるのはなぜですか? わからない。サンプルコードはインポート後すぐに動作するはずです。 MPC574XP_MCAL パッケージは、ブランドが共通しているにもかかわらず、MPC5744P と互換性がない可能性がありますか? 常に SW パッケージのリリース ノートを参照してください。 したがって、おそらく autosar 4.0 以外のバージョンをお持ちでしょう。 よろしくお願いいたします。 ピーター
View full article
FCT (Functional Circuit Testing) and EOL validation for our i.MX8QXP-based platform. Hi NXP Team, We are currently working on FCT and EOL validation for our i.MX8QXP-based board. As of now, we are using a USB-to-UART converter connected to the SoC to invoke AT commands for validating LTE, eSIM, GNSS, CPU, and PMIC via a serial interface from the host PC. However, our final hardware setup includes a direct USB device mode interface, and we would like to understand: 🔹 Whether it is possible to use the USB interface USB-to-USB to directly send AT commands from PC to target, 🔹 What USB gadget,class driver  would be best suited for this use case, 🔹 Any recommended way to expose a virtual serial port over USB to allow the host to send AT commands (similar to what’s done via USB-UART today) 🔹 Any caveats or limitations for using this method in mass production (EOL testing). Please let us know your recommendations or if you foresee any challenges with this approach.
View full article
how update to S32SDK_S32K1xx_RTM_4.0.3 After install S32DS.3.5_b220726_win32.x86_64.exe, find S32SDK_S32K1xx_RTM_4.0.1 is installed , how update to S32SDK_S32K1xx_RTM_4.0.3 Re: how update to S32SDK_S32K1xx_RTM_4.0.3 Hi It is recommended to install S32K1 RTD 3.0.x with S32DS Extensions and Updates in S32DS v3.6.x.     Or install S32K1 SDK RTM 4.0.3 with S32DS Extensions and Updates in S32DS v3.4. It is not recommended to install S32K1 SDK 4.0.x in S32DS v3.5. According to the currently available information, we don’t have any plan to integrate S32SDK S32K1XX 4.0.x into S32DS 3.5 or above version.   Best Regards, Robin ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
View full article
i.MX7D の DRAM_SDCLK0 は約 270MHz で遅いです。 こんにちは。 CCM_ANALOG_PLL_DDR が 0x0000302C に設定されている場合、DRAM_SDCLK0 は 132MHz になります。 SO、CCM_ANALOG_PLL_DDR の TEST_DIV_SELECT ビットが 0x01 に設定され、0x0020302C に設定されている場合、DRAM_SDCLK0 は約 270MHz になります。 533Mhzの半分です。 DRAM_PHYM_ALT_CLK_ROOT と DRAM_ALT_CLK_ROOT は DDR_PLL_DIV2 に設定されています。 1/2にする設定はありますか? よろしくお願いいたします。 Re: DRAM_SDCLK0 of i.MX7D is about 270MHz,  it's slow ! こんにちは、ジョアンシー。 よろしくお願いします。 計算結果と実際の DDR_SDCKE には 1/2 の差があります。 理由は分かりませんが、とりあえずここで終わりにします。 周波数が高くなると、DDR_SDCLKE の電圧レベルは低下します。 SO、頻度を下げようと考えています。 よろしくお願いいたします。 Re: DRAM_SDCLK0 of i.MX7D is about 270MHz,  it's slow ! 私が示したドライバは式を教えてくれるので、 CCM_ANALOG_PLL_DDR、CCM_ANALOG_PLL_DDR_NUM、CCM_ANALOG_PLL_DDR_DENOMレジスタを読み取って、正しいかどうかを確認する必要があります。 Re: DRAM_SDCLK0 of i.MX7D is about 270MHz,  it's slow ! こんにちは、ジョアンシー。 uboot-2022.01をビルディングしています。 示したコードは get_ddrc_clk(void) です。 このコードで見つけたもの reg = readl(&ccm_reg->root[DRAM_CLK_ROOT].target_root; 「図5-7.DRAM_Clock構造」に記載されていないDRAM_CLK_ROOTがregにロードされます。 DRAM_CLK_ROOTの初期値は0x00000001でした。 DRAM_CLK_ROOT をクリアすると正しく表示されるようになりました。 ただし、DRAM_SDCKE0 は 270MHz です。これは正しいですか?オシロスコープで確認しました。 よろしくお願いいたします。 Re: DRAM_SDCLK0 of i.MX7D is about 270MHz,  it's slow ! 以下のようにソースコードを確認しました https://github.com/nxp-imx/uboot-imx/blob/lf_v2025.04/arch/arm/mach-imx/mx7/clock.c#L162 decode_pll関数をチェックした CASE PLL_DDR: reg = readl(&ccm_anatop->pll_ddr); (reg & CCM_ANALOG_PLL_DDR_POWERDOWN_MASK) の場合 0を返します。 num = ccm_anatop->pll_ddr_num; denom = ccm_anatop->pll_ddr_denom; (reg & CCM_ANALOG_PLL_DDR_BYPASS_MASK) の場合 MXC_HCLK を返します。 div_sel = (reg & CCM_ANALOG_PLL_DDR_DIV_SELECT_MASK) >> CCM_ANALOG_PLL_DDR_DIV_SELECT_SHIFT; 頻度を返します * (div_sel + num / denom); SO、式は24M *(DIV_SELECT+(NUM/DENOM))、div_selはCCM_ANALOG_PLL_DDRから、mumはCCM_ANALOG_PLL_DDR_NUMから、denomはCCM_ANALOG_PLL_DDR_DENOMから取得されます。 Re: DRAM_SDCLK0 of i.MX7D is about 270MHz,  it's slow ! こんにちは、ジョアンシー。 説明していただいた図は理解できました。 しかし、リファレンスマニュアルには、FASTMIX がどのレジスタであるかは説明されていません。 レジスター名を教えてください。 このCASE、CCM_ANALOG_PLL_DDRn の TEST_DIV_SELECT を 0x00 に設定する必要がありますか? よろしくお願いいたします。 Re: DRAM_SDCLK0 of i.MX7D is about 270MHz,  it's slow ! 1/2にする設定はありますか? >どういう意味ですか? DRAM_SDCLKに533Mhzが必要だということですか? 図5-7を参照してください。専用のDRAM_PLLを使用して1066MHzの2倍クロックを生成し、分周器を使用してそれを2で分割して、デューティサイクルが良好な533MHzクロックを生成します。この533MHzクロックは PHY_MCLK として使用されます。一方、1066MHzのクロックも2で割られ、 1/N 分周器を使用して 533MHz を PHY_CLK として取得するほか、PHY クロックを 266MHz や 133MHz などの低い周波数に分割するために使用される 1/N 分周器があります。1/N除算器は3ビットの除算器である Nは2から8までの範囲で設定できます。SO、1/Nを1/2に設定すると533MHzになります。
View full article
A30: HVQFN 20パッケージにはピン配置がありません こんにちは、 A30 データシートに HVQFN20 パッケージのピン配置図が見つかりません。 どこで見つけられるか知っている人はいませんか? ありがとうございます エルソン Re: A30: There is no pinout for HVQFN 20 package こんにちは@jung-chihweiさん、 データシートは不足している情報を更新中です。迅速な解決策として、詳細については以下を参照してください。 ご不便をおかけして申し訳ございませんが、 すてきな一日を、 カン --------------------------------------------------------------------------------- 注記: - この投稿があなたの質問への回答である場合は、「正解としてマーク」ボタンをクリックしてください。ありがとう! - Threadは最後の投稿から7週間フォローされます。それ以降の返信は無視されます。 後ほど関連する質問がある場合は、新しいThreadを開いて、閉じたThreadを参照してください。 --------------------------------------------------------------------------------- 回复: A30: There is no pinout for HVQFN 20 package こんにちは、A1006の開発についてご存知ですか?開発が必要な古いプロジェクトがありますので、お気軽にご相談ください!
View full article
iMX RT1064 串行下载器 你好,RT1064 Champ! 我试图将 BOOT_MODE[1:0]设置为 01,使用 RT1064 串行下载模式通过 UART1 下载固件。我使用的是 macOS PC,想知道如何通过串口下载固件。 能否请您介绍一下相关的工具和手册? 是否建议在 Mac OS 版本的 McuXPress 安全配置工具中使用 blhost 工具? 谢谢。 谢谢、 杰克 Re: Serial Downloader for iMX RT1064 你好@Jack-Cha、 感谢您对 NXP MIMXRT 系列的关注! 恩智浦提供专门的图形软件来帮助客户执行此操作,他们使用blhost作为基础层,但使用起来要简单得多。 您可以尝试:https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-secure-provisioning-tool:MCUXPRESSO-SECURE-PROVISIONING?tid=vanMCUXPRESSO-SECURE-PROVISIONING 或者,您可以找到 MCUBootUtility 项目,它是恩智浦应用专家创建的开发版本,功能基本相同,但更新速度更快。 致以最诚挚的问候, Gavin
View full article
MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) Hello experts, I installed the AUTOSAR MCAL package MPC574XP_MCAL4_0_RTM_2_0_2, but it fails to work on the MPC5744P. To isolate the issue, I commented out all application code in main() and replaced it with a minimal test case: BoardInit(); GPIOInit(); CANInit(); This test code (with hardcoded register values, where only register addresses are initialized) is trusted—it has worked in multiple MPC5744P S32 projects. However, in the AUTOSAR project, while the debugger confirms registers are set correctly, the CAN peripheral remains non-functional. Questions: Could the MPC574XP_MCAL package be incompatible with the MPC5744P despite shared branding? Why might the test code fail in the AUTOSAR context despite working elsewhere? Could the AUTOSAR startup code (e.g., clock initialization, MPU configuration, or exception handling) conflict with the MCAL or hardware? Thanks in advance. Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) Hello, Here is the SW team feedback: Seem this issue come from their startup, something is wrong, maybe the memory region stores Can_ControllerStatuses, cache,... I saw the example was attached in this package, they can try to run it and compare with their startup. Please run the example and compare it to your code. Best regards, Pete Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) Hello,  Diab version is:  Can_ControllerStatuses value at Can_FlexCan_InitVariables function:  Can_ControllerStatuses value at Can_FlexCan_ChangeBaudrate function: The same value for Can_ControllerStatuses before setting CTRL1 value Thanks Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) Hello, Here is the feedback from SW team: Follow the release note, please make sure that the diab version was supported for this release is: Can you read Can_ControllerStatuses and show value of all elements in this structure at some points as below: like this: Some bits in CTRL1 just can be write in Freeze mode as RM mentioned: So, please make sure that CAN controller is in Freeze mode before setting CTRL1 value, you can check this through the register MCR This setting and checking is in the function Can_FlexCan_ChangeBaudrate()  Best regards, Peter Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) Hello, I have forwarded your issue to the SW team as I am not familiar with CAN driver. Once I have answer I will update you. Best regards, Peter Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) I tried direct write; worked , and I noticed that the problem is the global array of struct named "Can_ControllerStatuses[CAN_MAXCTRL_CONFIGURED]" was not affected with direct write of any member of this struct that should holding current status/run-time configuration of individual FlexCAN controllers,  At Can_FlexCan_InitVariables function in Can_Flexcan.c that initializes all global variables/statuses for all controllers,  this screenshot shows the 1111 values after write 0 to this member of the struct !  why is this happen ? I use diab compiler and S32 , this is my project attached, if you could help for any solutions. Thanks for advance.   Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) Hello, there is no restriction on access to CTRL1 register: Switch to assembly debug to check the instruction execution on core to see if the register is really going to be modified. Also try direct write via debugger. I am sure there is no issue in HW here. Either the peripheral is not clocked and you trying to write or the SW is simply not performing writes to the register address. Are there any bugs at this peripheral ? All issues are described in errata sheets. But I do not expect the issue is in uC. I suspect your SW. Simply try write via debugger to the register.. Best regards, Peter Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) Thank you Peter for your answer, First:  My development Board is https://www.nxp.com/design/design-center/development-boards-and-designs/DEVKIT-MPC5744P I downloaded these packages: Autosar Version 4.0.3 Second: I need to test the CAN task which uses CAN0, it didn't work, so I used EB tresos to generate another configuration file; Look at this part of the generated configuration: Can_PBcfg.c file:  Configuration of FlexCan controller the CTRL1 register was not affected by changing the configuration, the case in screenshot  - for example - PSEG1 =2 PSEG2 =2 PROPSEG =5 RJW =2 but the values in the CTRL1 register are ones ( after Can_Init function -in Can.c - return )  Ones filled after this part in Can_FlexCan_ChangeBaudrate function - in Can_Flexcan.c - which called in Can_Init function. Are there any bugs at this peripheral ? Are there any solutions to operate the CAN peripheral using these package ? Thanks in advance.     Re: MPC5744P & Autosar (MPC574XP_MCAL4_0_RTM_2_0_2) Hello, Could the MPC574XP_MCAL package be incompatible with the MPC5744P despite shared branding? No. It is fully compatible and tested on MPC574xP device. Could the AUTOSAR startup code (e.g., clock initialization, MPU configuration, or exception handling) conflict with the MCAL or hardware? No. As the MCAL is AUTOSAR compliant. (developed according the autosar standard). Why might the test code fail in the AUTOSAR context despite working elsewhere? Not sure. Example code should work right after import. Could the MPC574XP_MCAL package be incompatible with the MPC5744P despite shared branding? Always refer to release notes of the SW packages. So maybe you have autosar other then 4.0. Best regards, Peter
View full article
S32 Design Studio v3.5 インストールのロールバックの問題 NXPについて のデバイス (Windows 11) に S32 Design Studio v3.5 をインストールしようとしていますが、インストールが 6% に達するとすぐにロールバックが発生し、インストールが失敗します。私は以下のコミュニティ投稿で提供されているいくつかの提案に従いました S32 デザインのロールバックインストールエラー - NXPコミュニティ 「管理者として実行」や「C:\Users\ユーザー\AppData\Local\Temp」へのフルコントロールの有効化など 参考のためにログを添付しますので、この問題の解決にご協力ください。 アクティベーション | インストール | ライセンス | インストーラーのダウンロード Re: S32 Design Studio v3.5 installation rollback issue この exe ファイルを「管理者として実行」することで問題は解決するようです。それでも解決しない場合は、IT 部門に相談することをお勧めします。
View full article
A30: There is no pinout for HVQFN 20 package Hello there, I cannot find the pinout diagram for HVQFN20 package in A30 datasheet. Does anyone know where I can find it? Thanks, Elson Re: A30: There is no pinout for HVQFN 20 package Hi @jung-chihwei , The data sheet is under a flow to update with the missing info, and as a quick solution, please refer to the following for details. Sorry for the inconvenience that has caused, Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- 回复: A30: There is no pinout for HVQFN 20 package Hello, do you know how to develop A1006? I have an old project that needs to be developed, interested in chatting!
View full article
S3K312 C++ 使用s32k312进行C++编程,构造函数和虚函数编译时会报错没有section段及需要额外的init,请问一下有这方面的demo可以参考一下吗 Re: S3K312 C++ 我附上了 S32K344 和 IAR 的空项目,您可以将缺失的部分添加到您的项目中。希望对您有所帮助 Re: S3K312 C++ 3.5,用的是iar 9.50.2 Re: S3K312 C++ 什么是 S32DS 和编译器版本?
View full article
S3K312 C++ Using s32k312 for C++ programming, constructor and dummy function will report error when compiling no section and need extra init, is there any demo for this? Re: S3K312 C++ I am attaching empty project for S32K344 and IAR, you could possibly add missing sections to your project. Hope it helps Re: S3K312 C++ 3.5 with iar 9.50.2 Re: S3K312 C++ what is S32DS and compiler version?
View full article
S32K14WEVB-Q064 (RTM 2.0.0) の点滅 LED の例 こんにちは、 私は次の URL を参照して、S32K14WEVB-Q064 リファレンス ボードで「点滅 LED の例」プロジェクトを作成し、テストしています。 https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-S32K144-SDK を使用して点滅 LED の例題プロジェクトを作成する/ta-p/1128260 プロジェクトの作成には問題ありませんが、デバッグモードで実行すると、CLOCK_DRV_Init 関数で実行が停止します。S32K14WEVB-Q064 リファレンス ボードには、別途クロックまたはピン マップの設定が必要ですか? Re: Blinking LED Example on S32K14WEVB-Q064 (RTM 2.0.0) ご返信ありがとうございます。これについてさらに質問があります。 CAN経由のファームウェアアップデート機能を開発する予定です。解決策として、Unitfied ブートローダー ( https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099 ) を見つけました。そして、このソリューションを構築しようとしたところ、特定の S32DS (2018、RTM 2.0.0) で実行できることがわかりました。 私の質問は - 現在のビルド環境(2018、RTM 2.0.0)のまま開発を進めるのは不可能でしょうか? - あなたが言及したバージョンでは、CAN 通信に基づいてファームウェアの更新を実装するために参照できるソリューションまたはサンプル コードはありますか? よろしくお願いします。 Re: Blinking LED Example on S32K14WEVB-Q064 (RTM 2.0.0) 当社製品にご興味をお持ちいただき、また当社コミュニティに貢献していただき、ありがとうございます。 S32K144W (またはその他の S32K1 派生製品) を使用した開発では、最新の S32DS および RTD バージョンを使用することをお勧めします。 • S32 Design Studio 3.6.3 – Windows/Linux • S32K1_S32M24X リアルタイム・ドライバ AUTOSAR R21-11 バージョン 3.0.0 IDEsをダウンロードするには、 S32プラットフォーム用のS32 Design Studioページにアクセスしてください-> ダウンロード -> S32 Design Studio 3.6.3 – Windows/Linux RTD をダウンロードするには、 S32K1ページ-> デザイン リソース -> ソフトウェア -> S32K1 用リアルタイム・ドライバ -> オートモーティブ SW - S32K1_S32M24x - Cortex-M 用リアルタイム・ドライバにアクセスしてください。 各SWへのインストールフロー/詳細についてはリリースノートをご確認ください。 SW をインストールしたら、プロジェクトの例を参照できます。 この情報が役に立つことを願います。リアルタイム・ドライバ (RTD) の使用に関してさらに質問がある場合は、お気軽にお問い合わせください。 Re: Blinking LED Example on S32K14WEVB-Q064 (RTM 2.0.0) 参考までに、Unified ブートローダ デモ ( https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099 ) を使用するためにこの S32DS バージョンを選択しました。 Re: Blinking LED Example on S32K14WEVB-Q064 (RTM 2.0.0) 下記の私の回答を参照してください。よろしくお願いします。 1) S32DSのバージョン S32 Design Studio for ARM バージョン 2018.R1 2)デバッグプローブ(例:オンボード OpenSDA、外部 PEmicro マルチリング、segger....) OpenSDA搭載 3) CLOCK_DRV_Init() のコードを示したスクリーンショットを、できれば逆アセンブリ ビューも含めて投稿していただけますか。 スクリーンキャプチャを添付しました   Re: Blinking LED Example on S32K14WEVB-Q064 (RTM 2.0.0) こんにちは、 さらに詳しい情報を教えていただけますか? 1) S32DSのバージョン 2)デバッグプローブ(例:オンボード OpenSDA、外部 PEmicro マルチリング、segger....) 3) CLOCK_DRV_Init() のコードを示したスクリーンショットを、CAN逆アセンブリ ビューも含めて投稿していただけますか。 ありがとうございます Stan
View full article
未找到 RDDRONE-MBS772 SMBus 地址 嗨,团队、 我首先尝试使用 J18 接头通过 SMBus 与 RDDRONE-BMS772 通信。 我正在通过 SMBUS 接头连接 ESP32 和 RDDRONE-电池管理系统 772 板,我正在连接 SDA、SCL 和 GND。 我正在使用下面的代码,我已经用 I2C 显示器测试了代码,并能用下面的代码找到从属地址。 我已经使用 " 电池管理系统 set smbus-enable 1 " 命令使用 CLI 启用了 SMBus,并使用了 电池管理系统 get smbus 进行了验证。 我已经测试了 UAVCAN,它工作正常,我可以使用 PixHawk 获取数据。 #include #define SDA_PIN 6 #define SCL_PIN 7 void setup() { Serial.begin(115200); Serial.println("\nI2C Scanner starting..."); Wire.begin(SDA_PIN, SCL_PIN, 100000); // SDA, SCL, 100kHz Serial.println("\nI2C Scanner starting..."); } void loop() { byte error, address; int count = 0; for (address = 1; address < 127; address++) { Wire.beginTransmission(address); error = Wire.endTransmission(); if (error == 0) { Serial.print("I2C device found at 0x"); Serial.println(address, HEX); count++; } } if (count == 0) { Serial.println("No I2C devices found."); } delay(2000); } 请告诉我,我可能做错了什么?我的目的是使用 SMBus 获取电压、电流等数据。 Re: RDDRONE-MBS772 SMBus Address not found 你好@abhishekBLD、 要让 Arduino 使用这种硬件配置,你可以在 https://github.com/PowerCartel/PackProbe/tree/master 下载这个 smBus packProbe.ino 文件,你可以做以下 更改:将 SCL_PIN 改为 0 即可使用 Arduino Uno 的数字引脚 7 和 8。 将 deviceAddress 更改为 11。 然后让它与串行监测而不是控制台桥一起使用: 按照说明将控制台/桥接器转换为串行接口:https://github.com/PowerCartel/PackProbe/blob/master/PackProbe/PackProbe.ino#L74-L77 这应该能与上述硬件配合使用。 希望对您有所帮助! 此致敬礼, Cis Re: RDDRONE-MBS772 SMBus Address not found 你好@abhishekBLD、 我看到 SMBus 也能与 RDDRONE-BMS772 的 BMS6.0 一起工作。 我在 rddrone -bms772/二进制 中对 nuttx.bin 进行了编程·nxphovergames/rddrone-bms772 · GitHub。 不过,我注意到 6.0 版中有一个错误,在 7.2 版中得到了修复。 电池电压只显示以 mv 符号表示的整数电压(4000mV 或 3000mV),这与我的 RDDRONE-BMS772 上的实际电池电压不符(例如,我的 RDDRONE-BMS772 上的电池电压为 4000mV 或 3000mV)。4123mV 或 3978mV)。 要获取 RDDRONE-BMS772 的 BMS7.2,你可以按照说明版本和制作 .bin,但只需为 RDDRONE-BMS772 配置即可。 请关注:GitHub-nxphoverGames/mr-bms771。 当你开始配置和制作二进制文件(GitHub-nxphovergames/mr-bms771)时,一定要为 RDDRONE-BMS772 进行配置,例如: tools/configure.sh -e rddrone-bms772:bms But if you did not get any messages via SMBus, I doubt that this will fix that problem. Meaning that it is either a HW issue or a SW issue.  In the attached picture you can see the pinning that I use. Unfortunately I'm not allowed to share the code that I'm using on the Arduino. Maybe I will still find a way to share an example or a link.  For the BMS code, you should have the same code as I tested with.   Pinout of the SMBus connection between RDDRONE-BMS772 and an Arduino Uno board:    I hope this information and picture helps debugging the problem!   Kind regards,   Cis Re: RDDRONE-MBS772 SMBus Address not found 嗨 @cisvmierlo, 我使用的是我从最新的 github 仓库中克隆出来的电池管理系统 6.0 版 https://github.com/NXPHoverGames/RDDRONE-BMS772/tree/main?tab=readme-ov-file 你 能测试一下上面给定仓库中的 SMBUS 通信吗? 我使用的是 RDDRONE-BMS772,这就是我使用上述链接而不是您提供的链接(BMS771)的原因。您能确认两者的固件是否相同吗,因为我看到 BMS771 是用于 7S-14S 的。 电池管理系统 设置 smbus 启用 1 电池管理系统 保存 我之前也做过上面的两个命令,当我做电池管理系统 get-all 时我能看出来。 我还检查了连续性,一切正常。 请调查并提出解决方案。 Re: RDDRONE-MBS772 SMBus Address not found 你好@abhishekBLD、 感谢您对用于移动机器人的 RDDRONE-BMS772 小型多合一电池管理系统的关注! 很遗憾您遇到了这个问题。 您在 RDDRONE-BMS772 上使用的 SW 版本是什么? 在 CLI 上启动软件或发出 " 重启 "(命令)时,您可以看到电池管理系统版本。 目前,最新版本(7.2)可在 MR-BMS771 的 git 仓库中找到:https://github.com/NXPHoverGames/MR-BMS771、配置正确后,RDDRONE-BMS772 也可以使用这个软件 我刚刚在以下 RDDRONE-电池管理系统 软件版本上测试了带有 Arduino Uno 的 SMBus:电池管理系统 版本:电池管理系统7.2-11.0-RDDRONE-电池管理系统772。 SDA 端口 Dpin7 和 SCL 端口 Dpin8。 我可以看出你使用的是正确的 SMBus 连接器 J18 并使用 "电池管理系统 set smbus-enable 1 " 命令正确启用了 SMBus。 你还用 "电池管理系统 save" 命令保存了参数吗?否则,重启或 RESET 可能会将 smbus 启用参数 RESET 为 0。 我看不到你的实际设置,但我建议尽量缩短电线,也许可以将 I2C 速度降低到 I2C 慢速模式(例如使用 I2C 进行板对板通信时为 25kHz)。 如果你能分享你的电池管理系统版本号,我也可以在上面测试 SMBus。 谨致问候、 Cis
View full article
HSE-B FW: MU1 Enable/Disable Only Takes Effect After Reset Hello, The "Post" button is Greyed out on the HSE Community.... FW V 2.4. CUST_DEL Lifecycle. Super User rights. Customer is saying that Enable / Disable of the MU1 attribute does not take effect until after a Reset. I see this table: Is this expected behavior? Seems odd to me. See attached email chain. HSE_FW Priority: MEDIUM Source: Partner Re: HSE-B FW: MU1 Enable/Disable Only Takes Effect After Reset OK, I think that made sense and have not heard back from them so we can close this one. Thanks Re: HSE-B FW: MU1 Enable/Disable Only Takes Effect After Reset Hi Scott,  Here's my analysis: Issue: You are polling  Hse_Ip_GetHseStatus(MU1)  to decide whether MU1 is enabled/disabled, but those status bits aren’t per‑MU—they’re global and mirrored on all MU instances. So, your loop never converges until you reset, which makes it look like a reset is required. Fix (minimal): 1) Don't use  Hse_Ip_GetHseStatus(MU1)  as MU1 enable/disable evidence. Instead, read back the attribute with  GET_ATTR  and check  muInstances[MU1].muConfig . 2) (Optional) After enabling MU1, init the driver for MU1 ( Hse_Ip_Init(MU1, &state1) ) and verify by trying to allocate a channel or send a trivial admin request on MU1; after disabling, deinit MU1. Not: If you use XRDC isolation, ensure host access to MU1 is allowed; HSE doesn’t configure XRDC. With these changes, MU enable/disable will take effect at runtime (no reset). Thanks, Sindhu Re: HSE-B FW: MU1 Enable/Disable Only Takes Effect After Reset Hi, They say that they cannot run the demo because they don't have a LB. Attached is a basic project that they say demonstrates the behavior.  I will be looking at it also, but thought perhaps you could see something obvious faster than I can. Thanks Re: HSE-B FW: MU1 Enable/Disable Only Takes Effect After Reset Hello Scott,  No this is not expected behavior. There must be some other part of the customer's application code that is influencing this behavior.  We can debug it further if they can share their project file. They can also use our DemoApp where we have an example to demonstrate how to enable MU.  Thanks, Sindhu
View full article
S32ZE_EB_ACP_M33_McalExt_TS_TxDxM1I0R0_RTD_2.0.0_P04 cannot be opened Hi expert,  I am following GreenVIP 1.3.0 to download S32ZE_EB_ACP_M33_McalExt_TS_TxDxM1I0R0_RTD_2.0.0_P04. It shows like below. I've tried several times but failed to open it.  Could you please kindly help?   GREEN_VIP Re: S32ZE_EB_ACP_M33_McalExt_TS_TxDxM1I0R0_RTD_2.0.0_P04 cannot be opened Hello @Catherine, Input from Ghennadi  Buleev: "In order to successfully unzip the folder the user must use - 7z - WinRAR or any other types of archivers. In this case everything will work." Best regards, Radu
View full article
iMX8MP eqos not working for 10base-t Hello, Since we introduced the Verdin iMX8MP SoM, we knew that the 10base-t speed wasn't working on the ethernet port that's included in the SoM. This ethernet port is connected to the eqos MAC and we include a KSZ9131 PHY. At first, we thought this would be a software bug, but even the latest upstream kernel (currently .17-rc1) still presents the same issue. On a web search I found this thread: https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-ethernet-eqos-ksz9131-can-link-but-ping-fail-at-10M/m-p/1559076#M197932 In the solution, they mention that the reason for the failure is the fact that the KSZ9131 removes the preamble bytes, which it does. However, the Errata ERR050694 states (emphasis mine): "However due to the defect, in configurations where frame preemption is enabled, when preamble byte does not precede the SFD, SMD-S, or SMD-C byte, the received packet is discarded by the MAC receiver" I checked, and could only find that frame preemption is enabled when using the traffic shaping utilities, so no frame preemption enabled by default.  Could someone confirm that the Errata ERR050694 applies even when frame preemption is disabled?  Re: iMX8MP eqos not working for 10base-t Thank you for your response! I verified that after setting bit 2 in register 0x11, data started flowing in 10BaseT mode. Re: iMX8MP eqos not working for 10base-t Hi, Thank you for your interest in NXP Semiconductor products, According to the IP experts, when the PHY removes the preamble, EQOS discards the packet. The PHY must be configured to send the preamble. It was revealed by Microchip that there is a reserved bit (register 0x11, bit 2 is marked read-only in the datasheet) that prevents the preamble removal in 10Mbps mode, allowing this to work. Regards
View full article
Blinking LED Example on S32K14WEVB-Q064 (RTM 2.0.0) Hi, I'm creating and testing  a 'Blinking LED Example' project on S32K14WEVB-Q064 reference board refering to the follwoing url: https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Create-the-Blinking-LED-example-project-using-S32K144-SDK/ta-p/1128260 There is no problem with creating the project, but when running in debug mode, execution stops at the CLOCK_DRV_Init function. Are there any separate clock or pin map settings required for the S32K14WEVB-Q064 reference board? Re: Blinking LED Example on S32K14WEVB-Q064 (RTM 2.0.0) Thank you for your reply and I have more questions about this. I'm planning to develop the firmware update function via CAN. I found the solution, Unitfied bootloader(https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099). And I tried to build this solution and found that it's possible to do it on the specific S32DS(2018, RTM 2.0.0).  My questions are - Is it impossible to proceed with development using the current build environment(2018, RTM 2.0.0)? - In the version you mentioned, is there any solution or example code we can refer to for implementing firmware updates based on CAN communication? I appreciate in advance. Re: Blinking LED Example on S32K14WEVB-Q064 (RTM 2.0.0) Thank you for your interest in our products and for contributing to our community. For development with S32K144W (or any other S32K1 derivative) we recommend to use the latest S32DS and RTD versions: • S32 Design Studio 3.6.3 – Windows/Linux • S32K1_S32M24X Real Time Drivers AUTOSAR R21-11 Version 3.0.0 To download IDE, go to S32 Design Studio for S32 Platform page -> Downloads -> S32 Design Studio 3.6.3 – Windows/Linux To download RTD, go to S32K1 page -> Design Resources -> Software-> Real-Time Drivers for S32K1 -> Automotive SW - S32K1_S32M24x - Real-Time Drivers for Cortex-M Please check before Release Notes for installation flow/details to each SW. Once you have installed SW, you could refer to project examples: I hope this information is helpful. Feel free to reach out if you have any further questions using Real-Time Drivers (RTD). Re: Blinking LED Example on S32K14WEVB-Q064 (RTM 2.0.0) For your reference, I chose this S32DS version to use Unified bootloader demo(https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099).  Re: Blinking LED Example on S32K14WEVB-Q064 (RTM 2.0.0) Please refer to my answer as belows. I appreciate in advance. 1) version of S32DS S32 Design Studio for ARM Version 2018.R1 2)debug probe (e..g. onboard OpenSDA, external PEmicro multiling, segger....) onboard OpenSDA 3) can you post a screenshot showing the code at CLOCK_DRV_Init() ideally including disassembly View. attached a screen catpture   Re: Blinking LED Example on S32K14WEVB-Q064 (RTM 2.0.0) Hi,  Could you provide us with more details? 1) version of S32DS 2)debug probe (e..g. onboard OpenSDA, external PEmicro multiling, segger....) 3) can you post a screenshot showing the code at CLOCK_DRV_Init() ideally including disassembly View. Thanks, Stan
View full article