Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
S32K328 RTCがウェイクアップ後に失敗 NXPチームの皆様、こんにちは。 私は以前、S32K314上でRTC(リアルタイムクロック)機能を開発しましたが、スリープ状態から復帰した後も正常に時間を計測し続けることができました。 現在、プロジェクトをS32K328に移植しているところです。しかし、RTC機能を移植する際に、次のような問題に遭遇しました。 起動後、日付(年/月/日)はデフォルト値の1970/1/1にリセットされます。さらに、時刻(時/分/秒)は最初に設定された値を保持せず、RTCの開始点から経過した時間のみを反映します。 例えば、RTCを2026/05/08 05:06:07に初期化します。1分間の動作後、MCUが起動してRTCの時刻を読み取ったところ、日付が1970/01/01に戻っており、時刻は期待される05:07:07ではなく00:01:00と表示されていました。 この問題はS32K314では発生しませんでした。この問題の考えられる原因は何でしょうか? よろしくお願いします。 Re: S32K328 RTC FAIL AFTER WAKEUP こんにちは、ジュリアンさん。 ご回答ありがとうございます。 クロックソースについては、S32K314のプロジェクトと同じSXOSCを選択しました。ご参考までに、下記の画像をご覧ください。 初期化に関しては、S32K314 のプロジェクトと同様に、WAKEUP_REASON != MCU_WAKEUP_REASON の場合にのみ rtc_app_init() を実行します。ご参考までに、下記の画像をご覧ください。   スリープモード中もカウンターはカウントを続けると思いますが、日付と時刻はリセットされます。 私のテスト結果は以下のとおりです。 最初の電源投入時、rtc_app_init() が完了した後、システムは 2026/05/08、5 時間 6 分 7 秒からカウントを開始します。 これはCANメッセージ0x521を介して送信されます。 バイト0:年 バイト1:月 バイト2:日 バイト3:時間 BYTE 4: 分 バイト5:2番目 バイト7:リセット理由   5分間の睡眠から目覚めた後も、カウンター(CNT)はカウントを続けます。しかし、年、月、日、時、分、秒はすべて、初期化時に設定された時刻からではなく、1970/01/01 00:00:00からカウントを開始します。 0x263の場合、バイト2からバイト5は、Rtc_Ip_ConvertTimeDateToSeconds()を使用して抽出された時間を表します。 S32K328とS32K314の違いを確認してください。 S32K328のRTCは、S32K314では同じ設定が正しく機能するのに、なぜ以前に設定した日付と時刻を保持しないのでしょうか? Re: S32K328 RTC FAIL AFTER WAKEUP こんにちは、 @Wade0905 さん。 RTCクロックソースを確認しましたか?SIRCと「スタンバイ時に有効」オプションが選択されていることを確認してください。 また、 RTCカウンタの値はウェイクアップ後にはリセットされませんが、main.cのRTC初期化コードを呼び出すことでリセットされることに注意してください。ウェイクアップイベント後にのみRTCを初期化しているようです。リセット理由を読み取って、他の種類のリセットが発行されていないか、そして誤ってRTCの値がクリアされていないかを確認してみてください。 参照できるコミュニティ投稿があります: S32K312: RTC - ウェイクアップのたびに一度リセットされないようにRTCカウンタ値を保持する。 ご自身の設定と比較してみてください。 よろしくお願いします、 ジュリアン
查看全文
How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks Dear sir, I want to use S32DS command line to import, update code, and cleanbuild. I can do successfull for the examples(Dio_Example_S32K388) in RTD, but failed for the examples in stacks, like lwip_FreeRTOS_s32k388. Could you help to check? Or could you provide the method? I test some examples of S32K388 and S32K344 like below. Now just lwip_FreeRTOS_s32k388 is failed. lwip_FreeRTOS_s32k344 is OK. FreeRTOS_Toggle_Led_Example_S32K388 and FreeRTOS_Toggle_Led_Example_S32K344 are OK. Dio_Example_S32K388 and Uart_Example_S32K388 are OK.   And my cusomter now is using lwip_FreeRTOS_s32k388, so I need resolve this issue.   Test environment: S32DS3.6.3 RTD : S32K3_S32M27x Real-Time Drivers ASR R21-11 Version 6.0.0 QLP04 FREERTOS: SW32K3 FreeRTOS 11.1.0 version 6.0.0 Code Drop TCPIP stack: SW32K3_S32M27X_TCPIP_STACK_3.0.0_D2507 Thanks. BR, Sean Wu Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks Hi @PavelL , I read the thread before, and tried the command mantioned in the thread. But still failed. -HeadlessTool is required; otherwise, the S32DS GUI window will pop up, which is not what the customer wants. lwip_FreeRTOS_s32k344 is worked using my command. Could you please try lwip_FreeRTOS_s32k388 using your suggested command? My customer is using lwip_FreeRTOS_s32k388, so must resolve the issue.   Thanks. BR, Sean Wu Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks Hello @seanwu , Based on this related thread: Load Config and Building in CLI failed You need to (some updates might be required to meet your project): load mex by -Load %PROJECT_PATH%\%PROJECT_NAME%.mex This row is not equivalent to "Update Code", remove -HeadlessTool Peripherals Explicitly set MCU by -MCU S32K388 Use -SDKVersion PlatformSDK_S32K3 "Click Update Code" by -ExportAll %PROJECT_PATH% Alternatively, add debug stuff to see what's happening there by -consoleLog So, the "Update code" could look like that: .\s32dsc.exe -noSplash ^ -application com.nxp.swtools.framework.application ^ --launcher.ini %DS_INSTALL%\eclipse\s32ds.ini ^ -data %WORKSPACE% ^ -sdkPath %RTD_PATH% ^ -MCU S32K388 ^ -SDKVersion PlatformSDK_S32K3 ^ -Load %PROJECT_PATH%\%PROJECT_NAME%.mex ^ -ExportAll %PROJECT_PATH% The example lwip_FreeRTOS_s32k344 can work only by accidentally, caused by some default settings.  Best regards, Pavel Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks Hi @PavelL , I can see "tcpip_stack_1", and add "S32K388" in tcpip_itm_manifest.xml. S32DS can generate the folders after "Update Code", but command line still can't generate. Thanks. BR, Sean Wu Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks Hello @seanwu , Double click on mex file. Click on icon Peripherals. Can you see this: If you can't see tcpip_stack and you can't even see the stack in Mange SDK Components window, try to fix tcpip_itm_manifest.xml as it has been discussed in this thread S32K388 tcpip stack 4.0.0 missing lwip folder while compiling Best regards, Pavel Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks HI @PavelL , I use the command line(see attached file) to "update code"  lwip_FreeRTOS_s32k388. But It won't generate "FreeRTOS", "RTD", and "stacks" folders, and files in the folders like below(The picture is "update code" using S32DS.).  Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks Hello @seanwu , You installation setup appears to be correct. What do you mean by "failed"? Build errors or tcpip functional issue? Please check my example Example S32K388 GMAC0 lwIP FreeRTOS S32DS 3.6.1 RTD600 - list of my changes is provided. Best regards, Pavel
查看全文
ISO/IEC 18000-3 模式 2 您好, 我想问一下恩智浦目前是否提供任何支持 ISO/IEC 18 000-3模式2的读卡器IC。 标签的具体示例:https://www.satoeurope.com/products/tags.php 我知道恩智浦的大多数读卡器集成电路(如 PN7462 或 CLRC663)都支持模式 3,但我在恩智浦的产品组合中没有找到明确支持模式 2 的芯片。是有这样的产品,还是恩智浦生态系统根本不支持模式 2? 谢谢。 米兰 Re: ISO/IEC 18000-3 Mode 2 你好@m_sedlak 希望你一切顺利。 目前,我们产品组合中的NFC 阅读器集成电路支持 ISO/IEC 18000-3 模式 3,此外,PN7642 还支持 ISO/IEC 18000-3 模式 1。 不便之处,敬请原谅。 Eduardo。
查看全文
VDD_SOC voltage Hi, I will like to known what will be the better voltage to apply on VDD_SOC on our board IMX943. On your EVK, you have put 0.92V. On power file, it is somtime 0.85 or 0.9V. Re: VDD_SOC voltage According to available NXP documentation, VDD_SOC is associated with different SoC driving modes. Typical values are: 0.9V (Over-drive mode) 0.85V (Nominal mode) 0.8V (Low-power mode) https://docs.nxp.com/bundle/AN14935/page/topics/soc_driving_mode.html On the EVK platform, measurements show that VDD_SOC can be around 0.92V under certain operating conditions. As i.MX943 is still in preproduction, final recommended values are defined in the datasheet under NDA. For board design, you need contact nxp marketing team to get further support.
查看全文
VDD_SOC 电压 您好, 我想知道对我们的主板 IMX943 上的 VDD_SOC 施加什么更好的电压。在您的 EVK 上,电压为 0.92V。在电源文件中,有时为 0.85 或 0.9V。 Re: VDD_SOC voltage 根据现有的恩智浦文档,VDD_SOC 与不同的 SoC 驱动模式有关。典型值为 0.9V(超速模式) 0.85V(标称模式) 0.8V(低功耗模式) https://docs.nxp.com/bundle/AN14935/page/topics/soc_driving_mode.html 在 EVK 平台上进行的测量显示,在某些工作条件下,VDD_SOC 可能在 0.92V 左右。 由于 i.MX943 仍处于试生产阶段,最终建议值将在数据表中根据 NDA 进行定义。 对于电路板设计,您需要联系恩智浦营销团队以获得更多支持。
查看全文
FreeRTOS integration with AUTOSAR FlexCAN driver — RTD 3.0.0 / S32DS We have developed a FlexCAN (CAN driver) using NXP RTD 3.0.0 on S32DS as a bare-metal AUTOSAR MCAL implementation. We now need to integrate FreeRTOS as the RTOS for this project. Our specific questions are: 1. Is it officially supported to run AUTOSAR MCAL drivers (RTD 3.0.0) under FreeRTOS instead of AUTOSAR OS? 2. If it is supported how to port FREERTOS any example SDK? 3. Are there any known limitations or additional configuration steps required in S32DS when using FreeRTOS with the Can driver (FlexCAN)? 4. What is the recommended interrupt priority setup for FlexCAN ISRs when using FreeRTOS (with respect to configMAX_SYSCALL_INTERRUPT_PRIORITY)? Environment: - MCU: [FRDM s32k344 ] - RTD version: 3.0.0 - IDE: S32DS - RTOS: FreeRTOS - Driver: FlexCAN / Can driver (AUTOSAR MCAL) Re: FreeRTOS integration with AUTOSAR FlexCAN driver — RTD 3.0.0 / S32DS HI , Julián_AragónM Thanks for your early reply and fast response. Yes, it was a very helpful Re: FreeRTOS integration with AUTOSAR FlexCAN driver — RTD 3.0.0 / S32DS Hi , 1. Is it officially supported to run AUTOSAR MCAL drivers (RTD 3.0.0) under FreeRTOS instead of AUTOSAR OS? Yes. NXP provides a FreeRTOS release for S32K3 based on RTD 3.0.0 for FreeRTOS kernel v10.5.1: However, all of the routines are based on the low-level layer (LLD or IP), not the high-level layer (HLD or MCAL). Mainly because FreeRTOS is not ISO26262 certified. 2. If it is supported how to port FREERTOS any example SDK? This is up to the customer. FreeRTOS implementation will depend on your project's complexity. As I've mentioned, we provide some example routines in the FreeRTOS package which you can use as reference:   There is also a lot of useful information in the FreeRTOS' user manual. It notes linker script, interrupt vector table, timers, interrupts along with RTD integration.  (FreeRTOS User Manual is available from version 6.0.0 and up.) 3. Are there any known limitations or additional configuration steps required in S32DS when using FreeRTOS with the Can driver (FlexCAN)? Other than usual RTOS configurations (heap size, handlers, OS rate with timers, priorities, etc.), there are no specific FlexCAN + FreeRTOS limitations. 4. What is the recommended interrupt priority setup for FlexCAN ISRs when using FreeRTOS (with respect to configMAX_SYSCALL_INTERRUPT_PRIORITY)? You can refer to this other community post: Solved: How to configure interrupt priorities when using freertos for s32k142 - NXP Community. It mentions S32K1, but the principles are the same. S32K3 also has 4 priority bits. In case you are not too far in application development, I would suggest updating your current RTD version, as there have been several releases containing bug fixes, known issues and optimizations. Added to this, there is also a compatible FreeRTOS package with latest RTD release (7.0.1). Hope this helps!  Best regards, Julián
查看全文
S32K312 RTD [SW32K3_S32M27x_RTD_R21-11_5.0.0] 拝啓 当社では、アプリケーション開発にS32k312ミニ評価ボードを使用しています。 SW32K3_S32M27x_RTD_R21-11_5.0.0 または SW32K3_S32M27x_RTD_R23-11_7.0.0 を使用する予定です。このRTDを使用するには、秘密保持契約(NDA)に署名する必要がありますか? S32Kデザインスタジオ [S32DS.3.6.6]設定ファイル生成に使用される設定ツール。設定ファイルの生成にはオープンソースが使用されていますが、コンパイルとデバッグにはIARが使用されています。設定利用にはNDAが必要ですか? ぜひサポートください。 よろしくお願いいたします。 タラプシュパム Re: S32K312 RTD [SW32K3_S32M27x_RTD_R21-11_5.0.0] こんにちは、 @Thalapushpam1さん RTDへのアクセスや使用にNDAは必要なく、S32DSについても同様です。しかし、ご利用規約を理解するためには、ライセンス契約書を確認することが重要です。 IARに関しては、S32DSはIARコンパイラを使用できるIARプラグインを通じてサポートを提供しています。ただし、使用するにはIARから有効なライセンスを取得する必要があります。ライセンスや使用方法に関する詳細については、IARに直接お問い合わせいただくことをお勧めします。 BR、VaneB
查看全文
VDD_SOC電圧 こんにちは、 IMX943ボードのVDD_SOCに印加するのに最適な電圧はどれくらいでしょうか?あなたのEVKには0.92Vが入っています。電源ファイルでは、0.85Vまたは0.9Vになることがあります。 Re: VDD_SOC voltage 入手可能なNXPのドキュメントによると、VDD_SOCはさまざまなSoC駆動モードに関連付けられています。典型的な値は次のとおりです。 0.9V(オーバードライブモード) 0.85V(定格モード) 0.8V(低電力モード) https://docs.nxp.com/bundle/AN14935/page/topics/soc_driving_mode.html EVKプラットフォームでは、測定結果によると、特定の動作条件下ではVDD_SOCは約0.92Vになることがわかっています。 i.MX943はまだ試作段階にあるため、最終的な推奨値はNDA(秘密保持契約)に基づきデータシートに記載されています。 基板設計に関しては、NXPのマーケティングチームに連絡して詳しいサポートを受ける必要があります。
查看全文
FreeRTOS 与 AUTOSAR FlexCAN 驱动程序的集成 - RTD 3.0.0/ S32DS 我们在 S32DS 上使用恩智浦 RTD 3.0.0 开发了一个 FlexCAN(CAN 驱动程序),作为裸机 AUTOSAR MCAL 实现。我们现在需要将 FreeRTOS 集成为这个项目的实时操作系统。 我们的具体问题是 1.官方是否支持运行 AUTOSAR MCAL 驱动程序 (RTD 3.0.0)在 FreeRTOS 而不是 AUTOSAR 操作系统下运行? 2.如果支持,如何移植 FREERTOS 的任何示例 SDK? 3.在 S32DS 中使用带有 Can 驱动程序 (FlexCAN) 的 FreeRTOS 时,是否有任何已知的限制或需要额外的配置步骤? 4.使用 FreeRTOS 时,建议对 FlexCAN ISR 进行怎样的中断优先级设置(与 configMAX_SYSCALL_INTERRUPT_PRIORITY 有关)? 环境: - MCU:[FRDM s32k344 ] - RTD 版本:3.0.0 - IDE:S32DS - 实时操作系统:FreeRTOS - 驱动程序:FlexCAN / Can 驱动程序(AUTOSAR MCAL) Re: FreeRTOS integration with AUTOSAR FlexCAN driver — RTD 3.0.0 / S32DS HI , Julián_AragónM 感谢您的及早回复和快速反应。是的,这非常有帮助 Re: FreeRTOS integration with AUTOSAR FlexCAN driver — RTD 3.0.0 / S32DS 嗨 、 1.官方是否支持运行 AUTOSAR MCAL 驱动程序 (RTD 3.0.0)在 FreeRTOS 而不是 AUTOSAR 操作系统下运行? 是的。恩智浦为 S32K3 提供基于 RTD 3.0.0 的 FreeRTOS 版本用于 FreeRTOS 内核 v10.5.1: 但是,所有例程都基于低级层(LLD 或 IP),而不是高级层(HLD 或 MCAL)。主要是因为 FreeRTOS 没有通过 ISO26262 认证。 2.如果支持,如何移植 FREERTOS 的任何示例 SDK? 这取决于客户。FreeRTOS 的实施取决于项目的复杂程度。正如我已经提到的,我们在 FreeRTOS 包中提供了一些示例例程,您可以将其用作参考: FreeRTOS 用户手册 中还有很多有用的信息 。它说明了链接器脚本、中断向量表、定时器、中断以及 RTD 集成。 (FreeRTOS 用户手册从 6.0.0 及以上版本开始提供)。 3.在 S32DS 中使用带有 Can 驱动程序 (FlexCAN) 的 FreeRTOS 时,是否有任何已知的限制或需要额外的配置步骤? 除了通常的 RTOS 配置(堆大小、处理程序、带定时器的操作系统速率、优先级等)外,FlexCAN + FreeRTOS 没有特定的限制。 4.使用 FreeRTOS 时,建议对 FlexCAN ISR 进行怎样的中断优先级设置(与 configMAX_SYSCALL_INTERRUPT_PRIORITY 有关)? 您可以参考社区的其他帖子:已解决:在为 s32k142 使用 freertos 时如何配置中断优先级 - NXP 社区。它提到了 S32K1,但原理是一样的。S32K3 也有 4 个优先级位。 如果你在应用程序开发方面还不算太远,我建议你更新你当前的RTD版本,因为已经有几个版本包含错误修复、已知问题和优化。除此之外,还有一个兼容的FreeRTOS软件包,其中包含最新的RTD版本(7.0.1)。 希望对您有所帮助! 致以最诚挚的问候, Julián
查看全文
S32K312 热电阻 [SW32K3_S32M27x_RTD_R21-11_5.0.0] 亲爱的先生/女士 我们正在使用S32k312迷你评估板进行应用程序开发。 计划使用 SW32K3_S32M27x_RTD_R21-11_5.0.0 或 SW32K3_S32M27x_RTD_R23-11_7.0.0 。使用该 RTD 是否需要签署任何 NDA 协议? S32K 设计工作室 [S32DS.3.6.6]用于生成配置文件的配置工具。由于它是开源的,用于生成配置文件,但 IAR 用于编译& 调试。配置使用是否需要保密协议? 请给予支持。 谢谢& 、 塔拉普什帕姆 Re: S32K312 RTD [SW32K3_S32M27x_RTD_R21-11_5.0.0] 你好@Thalapushpam1 访问或使用 RTD 不需要 NDA,S32DS 也是如此。不过,查看许可协议以了解使用条款非常重要。 关于 IAR,S32DS 通过 IAR 插件提供支持,允许您使用 IAR 编译器。 不过,您仍然需要 IAR 颁发的有效许可证才能使用。有关许可或使用的详细信息,建议直接联系 IAR。 BR、VaneB
查看全文
SAE J1939 Stack I am using the FRDM-A-S32K344 board with S32K3 SDK 3.0.0. Could you please confirm whether the FlexCAN driver supports the SAE J1939 protocol stack? Additionally, is there an official or recommended SAE J1939 stack available from NXP that is compatible with this SDK version 3.0.0 and CAN configuration Re: SAE J1939 Stack Hi @ganavi1, S32K3 devices provide the FlexCAN IP. Quoting the S32K3XX's reference manual: "FlexCAN is a communication controller implementing the CAN protocol according to the ISO 11898-1:2015 standard and CAN 2.0 Part B protocol specifications." Since J1939 also uses CAN 2.0B protocol, it is fully compatible with FlexCAN IP block. However, NXP does not provide any J1939 stack for S32K3. You will need to contact a third-party provider, such as Vector or Simma for instance. Best regards, Julián
查看全文
ISO/IEC 18000-3 モード2 こんにちは、 NXP社は現在、 ISO/IEC 18000-3 モード2をサポートするリーダーICを提供しているかどうかをお伺いしたいと思います。 タグの具体的な例: https://www.satoeurope.com/products/tags.php NXPのリーダーIC(PN7462やCLRC663など)のほとんどがモード3をサポートしていることは承知していますが、NXPの製品ポートフォリオの中でモード2を明示的にサポートするチップは見当たりません。そのような製品は存在するのでしょうか、それともNXPのエコシステムではモード2はサポートされていないのでしょうか? ありがとう。 ミラノ Re: ISO/IEC 18000-3 Mode 2 こんにちは、 @m_sedlakさん あなたの調子が良いといいのですが。 現在、当社の製品ポートフォリオに含まれるNFC リーダICはISO/IEC 18000-3モード3をサポートしており、さらにPN7642はISO/IEC 18000-3モード1もサポートしています。 ご迷惑をおかけして申し訳ございません。 よろしくお願いいたします。 エドゥアルド。
查看全文
唤醒后 S32K328 RTC 故障 您好,NXP团队, 我之前在 S32K314 上开发了 RTC 功能,睡眠唤醒后它可以继续正常计时。 现在,我正在将该项目移植到 S32K328 上。不过,在移植 RTC 功能时,我遇到了一个问题: 唤醒后,日期(年/月/日)将重置为默认值 1970/1/1。此外,时间(小时/分钟/秒)不保留最初配置的值,而只反映从 RTC 起始点开始计算的经过时间。 例如,我将 RTC 初始化为 2026/05/08 05:06:07。运行 1 分钟后,当 MCU 唤醒并读取 RTC 时间时,日期恢复为 1970/01/01,时间显示为 00:01:00,而不是预期的 05:07:07。 S32K314 没有出现这个问题。造成这一问题的可能原因是什么? 谢谢! Re: S32K328 RTC FAIL AFTER WAKEUP 你好,胡利安、 感谢您的回复。 关于时钟源,我选择了 SXOSC,这与我们在 S32K314 中的项目相同。请参考下图。 关于启动,我只在 WAKEUP_REASON !=MCU_WAKEUP_REASON 时才执行 rtc_app_init(),这与我们的 S32K314 项目相同。 请参考下图。   我相信计数器在睡眠模式下会继续计数,但是日期和时间已 RESET。 下面是我的测试结果。 首次开机时,rtc_app_init() 完成后,系统开始从 2026/05/08 5 小时 6 分 7 秒开始计数。 该信息通过 CAN 报文 0x521 发送。 字节 0:年份 字节 1:月 字节 2:天 字节 3:小时 字节 4:分钟 字节 5:第二 字节 7: RESET 原因   从睡眠中醒来五分钟后,计数器(CNT)继续计数。但是,年、月、日、时、分、秒都从 1970/01/01 00:00:00 开始计数,而不是从初始化时设置的时间开始计数。 对于 0x263,字节 2 到字节 5 表示使用 rtc_ip_convertTimeDateToSeconds () 提取的时间。 请查看 S32K328 和 S32K314 之间的区别。 为什么 S32K328 上的 RTC 不能保留先前配置的日期和时间,即使相同的设置在 S32K314 上也能正常工作? Re: S32K328 RTC FAIL AFTER WAKEUP 你好,@Wade0905、 您检查过 RTC 时钟源吗?确认是否选择了 SIRC 和"Enabled in Standby" 选项: 另外,请记住,RTC 计数器值在唤醒后不会被重置,但会通过调用 main.c 中的 RTC 初始化代码来重置。我可以看到你只有在唤醒事件之后才初始化 RTC。你可以尝试阅读重置原因,看看是否有任何其他类型的重置正在发出,从而错误地清除 RTC 值。 有一篇社区帖子你可以参考:S32K312:RTC-保留 RTC 计数器的值,防止每次醒来后 RESET 一次。 请与您的配置进行比较。 致以最诚挚的问候, Julián
查看全文
S32K328 RTC FAIL AFTER WAKEUP Hello NXP Team, I have previously developed RTC functionality on the S32K314, and after sleep wake-up it can continue counting time normally. Now I am porting the project to the S32K328. However, while porting the RTC function, I encountered an issue: After wake-up, the date (year/month/day) is reset to the default value 1970/1/1. In addition, the time (hours/minutes/seconds) does not preserve the originally configured value, but instead reflects only the elapsed time counted from the RTC start point. For example, I initialize the RTC to 2026/05/08 05:06:07. After 1 minute of operation, when the MCU wakes up and I read back the RTC time, the date has reverted to 1970/01/01, and the time shows 00:01:00 instead of the expected 05:07:07. This issue did not occur on the S32K314. What could be the possible causes of this problem? Thank you. Re: S32K328 RTC FAIL AFTER WAKEUP Hi Julián, Thanks for your reponse. Regarding clock source, I select SXOSC which same as our project in S32K314. Please see below picture for you ref. Regarding init, I only do rtc_app_init() when WAKEUP_REASON != MCU_WAKEUP_REASON which same as our project in S32K314. Please see below picture for you ref.   I believe the counter continues counting during sleep mode, but the date and time are reset. You can refer to my test results below. At the first power-on, after rtc_app_init() is completed, the system starts counting from 2026/05/08, 5 hours, 6 minutes, and 7 seconds. This is transmitted via CAN message 0x521. BYTE 0: Year BYTE 1: Month BYTE 2: Day BYTE 3: Hour BYTE 4: Minute BYTE 5: Second BYTE 7: RESET REASON   After waking up from sleep for five minutes, the counter (CNT) continues counting. However, the year, month, day, hour, minute, and second all start counting from 1970/01/01 00:00:00, instead of continuing from the time set during initialization. For 0x263, BYTE 2 to BYTE 5 represent the time extracted using Rtc_Ip_ConvertTimeDateToSeconds(). Please check the differences between the S32K328 and S32K314. Why does the RTC on the S32K328 not retain the previously configured date and time, even though the same settings work correctly on the S32K314? Re: S32K328 RTC FAIL AFTER WAKEUP Hello @Wade0905, Have you checked RTC clock source? Confirm if SIRC and "Enabled in Standby" options are selected: Also, keep in mind that RTC counter value will not be reset after wake-up, but it will reset by calling RTC initialization code in main.c. I can see you initialize RTC only after wake-up event. You can try reading reset reason to see if any other type of reset is being issued, and thus, clearing RTC value by mistake. There is a community post you can refer to: S32K312: RTC- Preserving RTC counter value from getting resets once after every wakeup. Please compare it to your configuration. Best regards, Julián
查看全文
ISO/IEC 18000-3 Mode 2 Hi, I would like to ask whether NXP currently offers any reader IC that supports ISO/IEC 18000-3 Mode 2. A concrete example of the tags: https://www.satoeurope.com/products/tags.php  I am aware that most NXP reader ICs (such as the PN7462 or CLRC663) support Mode 3, but I have not been able to find any chip in the NXP portfolio that explicitly supports Mode 2. Is there any such product available, or is Mode 2 simply not supported within the NXP ecosystem? Thank you. Milan Re: ISO/IEC 18000-3 Mode 2 Hello @m_sedlak Hope you are doing well. Currently, NFC Readers ICs in our portfolio support ISO/IEC 18000-3 Mode 3, and in addition, PN7642 also supports ISO/IEC 18000-3 Mode 1. I apologize for the inconvenience. Regards, Eduardo.
查看全文
如何使用 S32DS 命令行在 TCPIP 栈中导入、更新代码和清理构建示例 亲爱的先生, 我想使用 S32DS 命令行来导入、更新代码和清理构建。 我可以在 RTD 中成功执行示例(Dio_Example_S32K388),但在堆栈中执行示例(如 lwip_FreeRTOS_s32k388)时却失败了。 您能帮忙检查一下吗?或者您能提供方法吗? 我测试了 S32K388 和 S32K344 的一些示例,如下所示。 现在只需 lwip_FreeRTOS_s32k388失败。 lwip_FreeRTOS_s32k344 正常。 FreeRTOS_Toggle_Led_Example_S32K388 和 FreeRTOS_Toggle_Led_Example_S32K344 均正常。 Dio_Example_S32K388 和 Uart_Example_S32K388 正常。   而我的客户现在使用的是 lwip_FreeRTOS_s32k388,所以我需要解决这个问题。   测试环境: S32DS3.6.3 RTD:s32k3_s32m27x 实时驱动程序 ASR R21-11 版本 6.0.0 QLP04 FREERTOS: SW32K3 FreeRTOS 11.1.0版本 6.0.0 代码删除 TCPIP 协议栈:SW32K3_S32M27X_TCPIP_STACK_3.0.0_D2507 谢谢。 BR、 肖恩-吴 Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks 你好@PavelL、 我阅读了之前的主题,并尝试了主题中提到的命令。但还是失败了。 必须使用 -HeadlessTool 工具,否则会弹出 S32DS 图形用户界面窗口,这不是客户想要的。 lwip_FreeRTOS_s32k344 已使用我的命令运行。 请使用您建议的命令尝试 lwip_FreeRTOS_s32k388。 我的客户使用的是 lwip_FreeRTOS_s32k388,所以必须解决这个问题。   谢谢。 BR、 肖恩-吴 Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks 你好@seanwu、 根据这个相关的主题: 加载配置和在 CLI 中构建失败 您需要(可能需要进行一些更新,以满足您的项目需要): load mex by -Load%PROJECT_PATH%\%PROJECT_NAME%.mex 此行不等同于"更新代码", 删除 -HeadlessTool Peripherals 通过-MCU S32K388明确设置 MCU 使用 -SDKVersion PlatformSDK_S32K3 "单击更新代码" by -ExportAll%PROJECT_PATH% 或者,通过 -consoleLog 添加调试内容,查看发生了什么。 因此,"更新代码" 可以是这样的: .\s32dsc.exe -noSplash ^ -应用程序 com.nxp.swtools.framework.application ^ --launcher.ini%DS_INSTALL%\eclipse\s32ds.ini ^ 数据%WORKSPACE% ^ -sdkPath%RTD_PATH% ^ -MCU S32K388 ^ -SDK版本 PlatformSDK_S32K3 ^ -Load%PROJECT_PATH%\%PROJECT_NAME%.mex^ -全部导出%PROJECT_PATH% 由于某些默认设置,lwip_FreeRTOS_s32k344 示例只能意外运行。 顺祝商祺! 帕维尔 Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks 你好@PavelL、 我可以看到" tcpip_stack_1" ,并在 tcpip_itm_manifest.xml 中添加"S32K388" 。 "更新代码" 后,S32DS 可以生成文件夹,但命令行仍无法生成。 谢谢。 BR、 肖恩-吴 Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks 你好@seanwu、 双击 mex 文件。点击外设图标。 你能看到这个吗? 如果你看不到 tcpip_stack,甚至在 Mange SDK 组件窗口中看不到堆栈,请尝试修复 tcpip_itm_manifest.xml,正如本话题中所讨论的那样 S32K388 tcpip stack 4.0.0 在编译时缺少 lwip 文件夹 顺祝商祺! 帕维尔 Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks 你好@PavelL、 我使用命令行(见附件)"更新代码" lwip_FreeRTOS_s32k388。但它不会生成"FreeRTOS","RTD", 和"堆栈"文件夹,以及如下文件夹中的文件(图片是"更新代码" 使用 S32DS)。 Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks 你好@seanwu、 您的安装设置似乎是正确的。 "失败的" 是什么意思?编译错误或 tcpip 功能问题? 请查看我的示例示例 S32K388 GMAC0 lwIP FreeRTOS S32DS 3.6.1 RTD600- 提供了我的更改列表。 顺祝商祺! 帕维尔
查看全文
SAE J1939スタック 私はFRDM-A-S32K344ボードとS32K3 SDK 3.0.0を使用しています。FlexCANドライバがSAE J1939プロトコルスタックをサポートしているかどうか確認していただけますか?さらに、NXPからこのSDKバージョン3.0.0と互換性のある公式または推奨のSAE J1939スタックは入手可能でしょうか?CAN構成 Re: SAE J1939 Stack こんにちは、 @ganavi1 さん。 S32K3デバイスはFlexCAN IPを提供します。S32K3XXのリファレンスマニュアルには、「FlexCANは、ISO 11898-1:2015規格およびCAN 2.0 Part Bプロトコル仕様に従ってCANプロトコルを実装した通信コントローラです。」と記載されています。 J1939もCAN 2.0Bプロトコルを使用しているため、FlexCAN IPブロックと完全に互換性があります。 しかし、NXPはS32K3用のJ1939スタックを提供していません。VectorやSimmaなどの第三者プロバイダーに連絡する必要があります。 よろしくお願いします、 ジュリアン
查看全文
SAE J1939 堆栈 我正在使用带有 S32K3 SDK 3.0.0 的 FRDM-A-S32K344 主板。请确认 FlexCAN 驱动程序是否支持 SAE J1939 协议栈?此外,恩智浦官方或推荐的 SAE J1939 协议栈是否与 SDK 3.0.0 版兼容?和 CAN 配置 Re: SAE J1939 Stack 嗨,@ganavi1、 S32K3 设备提供 FlexCAN IP。引用 S32K3XX 的参考手册:" FlexCAN 是一款根据 ISO 11898-1:2015 标准和 CAN 2.0 B 部分协议规范实现 CAN 协议的通信控制器。" 由于 J1939 也使用 CAN 2.0B 协议,因此与 FlexCAN IP 模块完全兼容。 不过,恩智浦没有为 S32K3 提供任何 J1939 栈。您需要联系第三方供应商,例如Vector或Simma。 致以最诚挚的问候, Julián
查看全文
mc33774 醒来 你好。 目前,我使用 S32K310、MC33665A 和 MC33774 芯片进行电压采集。目前,我的 MC33665A 运行正常,MC33774 的电源和电路也正常。但是,当我通过 MC33665A 发送唤醒帧来唤醒 MC33774 时,总线链中的两个 AFE 都无法唤醒(这是通过测量 VDDC 电压是否可以达到 5V 来确定的)。我目前的唤醒方法是先发送一帧唤醒帧,然后延迟至少 10 毫秒再发送另一帧唤醒帧。无法正常醒来的可能原因是什么? 另一个问题是发送唤醒命令后,MC33774 没有唤醒。然而,当我发送单个电压采集指令时,第一个 MC33774 被唤醒,并在 DADD=0 状态下响应正确的电压值。这合理吗? wakeup frame唤醒帧 AFE_1 responds with data in the DADD=0 stateAFE_1在 DADD=0 状态下响应数据 MC33774 initialization processMC33774 初始化过程 Re: MC33774 WAKE UP HI. 我尝试了这种方式,但是这种枚举方式下我的AFE1被枚举为了DADD=2,相当于我发送的枚举AFE1为DADD=1的报文被忽略或者被当成了唤醒帧。唤醒帧和枚举帧的时间间隔设置了10ms,应该满足手册中的2.4ms。请问是不是我的唤醒帧发送格式错误? Re: MC33774 WAKE UP Hi  可以尝试: 唤醒第一个 33774 → 给第一个 33774 写入 DADD → 唤醒第二个 33774 → 给第二个 33774 写入 DADD→唤醒第 n 个33774 →给第 n 个 33774 写入 DADD。流程图如下所示:
查看全文
MC33774 WAKE UP HI. Currently, I am using the S32K310, MC33665A, and MC33774 chips to perform voltage acquisition. At present, my MC33665A is operating normally, and the power supply and circuit of MC33774 are also normal. However, when I send a wakeup frame through MC33665A to wake up MC33774, neither of the two AFEs in the bus chain cannot be awakened (this is determined by measuring whether the VDDC voltage can reach 5V). My current wakeup method is to send one frame of the wakeup frame and then delay for at least 10ms before sending another frame of the wakeup frame. What could be the possible reasons for the inability to wake up normally? Another issue is that after sending the wakeup command, MC33774 did not wake up. However, when I sent a single voltage acquisition instruction, the first MC33774 was awakened, and it responded with the correct voltage value in the DADD=0 state. Is this reasonable? wakeup framewakeup frame AFE_1 responds with data in the DADD=0 stateAFE_1 responds with data in the DADD=0 state MC33774 initialization processMC33774 initialization process Re: MC33774 WAKE UP HI. I tried this method, but with this enumeration method my AFE1 is enumerated as DADD=2, which means that the messages I send with enumerated AFE1 as DADD=1 are ignored or treated as wakeup frames. The time interval between wakeup frame and enumeration frame is set to 10ms, which should meet the 2.4ms in the manual, is it possible that my wakeup frame is sent in the wrong format? Re: MC33774 WAKE UP Hi. You can try: Wake up the first 33774 → write DADD to the first 33774 → wake up the second 33774 → write DADD to the second 33774 → wake up the nth 33774 → write DADD to the nth 33774. the flowchart is shown below:
查看全文