Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
マイクロセーフティマニュアルへのアクセス こんにちは、 2026年12月6日時点で、私はS32K3のセキュアなリソースを閲覧できる状態になっているはずです。 S32K358のセーフティマニュアルを探しているのですが、まだ全く見つかりません。 ここ https://www.nxp.com/products/S32K3#myDocument の安全なドキュメントやMy NXPアカウントの「Secure Resources」>で試しましたが、見つかりませんでした。 どなたか助けていただけますか? ありがとう、 サイモン Re: Accessing Micro Safety Manual こんにちは、 @simon98さん お客様のアカウントおよび内部記録を確認しましたが、S32K3セーフティマニュアルの過去のリクエストは見つかりませんでした。この文書を取得するために、より高いアクセス権限を申請する手助けをいただけますか? BR、VaneB Re: Accessing Micro Safety Manual こんにちは、 @VaneB さん。 セーフティマニュアルのアクセスをどう申請すればよいか教えていただけますかS32K358? 安全な資源(2006年12月にキャンプされたもの)にアクセスできると思っていましたが... BR、 サイモン Re: Accessing Micro Safety Manual こんにちは、 @simon98さん 役立つかもしれない「 NXPのセキュアアクセス権初回ユーザー登録ガイド」をご覧ください。 Re: Accessing Micro Safety Manual こんにちは、 @VaneBさん すでに安全なリソースへのアクセスはできていますが、セーフティマニュアルは安全なリソースのセクションで見つかりませんでした。 私は自分のニーズを具体的に明記した、より上位の権限要求を申請しようと試みました。それは正しいですか? ありがとうございます サイモン Re: Accessing Micro Safety Manual こんにちは、 @VaneB さん。 上記で言及されていたガイドを確認しました。 S32自動車処理プラットフォームの権利をさらに高めて申請しようとしましたが、ページがすべてのアイテムについてまだ保留中であることを思い出させてくれました。 これがs32k358セーフティマニュアルにアクセスする正しい方法なのか、それとも他に見落としや見落としがあるのかをお聞きしたいです。アクセスするには何かをプロビッドする必要がありますか? ありがとうございます サイモン
View full article
访问微型功能安全手册 您好, 截至 2026 年 12 月 6 日,我应该能够查看 S32K3 的安全资源。 我正在寻找S32K358的功能安全手册,但我仍然找不到。 我尝试在以下安全文档中查找: https://www.nxp.com/products/S32K3#myDocument以及“我的 NXP 帐户”->“安全资源”,但都找不到。 请问有人能帮帮我吗? 谢谢, 西蒙 Re: Accessing Micro Safety Manual 嗨@simon98 我们已查阅您的账户和我们的内部记录,但未能找到任何之前对 S32K3 功能安全手册的请求。请您帮忙申请更高的访问权限,以便我们获取这份文件? BR,VaneB Re: Accessing Micro Safety Manual 嗨@simon98 请查阅《NXP 安全访问权限首次用户注册指南》 ,您可能会觉得它很有用。 Re: Accessing Micro Safety Manual 嗨@VaneB , 请问如何申请获取S32K358功能安全手册? 我以为有了安全资源访问权限(这项权限已于 12 月 6 日完成),我就能访问它了…… BR, 西蒙 Re: Accessing Micro Safety Manual 嗨@VaneB 我已经获得了访问安全资源的权限,但我在安全资源部分找不到功能安全手册。 我尝试申请更高的权限,并详细说明了我的需求。这样说对吗? 谢谢! 西蒙 Re: Accessing Micro Safety Manual 嗨@VaneB , 我已查阅过您上面提到的指南。 我尝试申请更高的S32 汽车处理平台权限,但页面提示我所有项目的申请仍在审核中。 我想问一下,这是获取 s32k358 功能安全手册的正确方法吗?还是我遗漏了其他方法,或者还有其他什么原因?我需要提供什么才能获得访问权限? 谢谢! 西蒙
View full article
SC16IS740:需要帮助配置自动RTS SC16IS740_750_760 我目前正在编写一个MicroPython库,以支持通过SPI接口使用SC16IS740。 我正在使用分线板测试与 MAX3237 连接的 SC16IS740。 所有基本功能均有效(包括 RX & TX FiFo),并通过物理 TX > RX 环回(以及我的示波器)进行了测试。 现在,我想测试/实现自动RTS功能。 为了验证这一点:我放置了一个示波器,通道 1 接 RX,通道 2 接 RTS。 我向接收缓冲区发送大量数据,期望示波器上的RTS信号变为高电平……但这种情况并没有发生。 以下是 Halt_trigger 和 resume_trigger 的值(以字符为单位)的 MicroPython 代码。代码主要读取和写入给定通道(“ch”参数)的寄存器。 数据手册里好像漏掉了什么,但我找不到原因。 备注:最后一条指令强制 RTS 为高电平,以便在瞄准镜上检查手动激活。然后它的值会降到很低,并且永远不会被自动RTS激活……可以肯定的是,RX FIFO已满。 def enable_rts( self, halt_trigger, resume_trigger ): assert 4<=halt_trigger<=60, "RTS trigger must be within 4-60 range" assert 4<=resume_trigger<=60, "RTS trigger must be within 4-60 range" assert (halt_trigger%4) + (resume_trigger%4) == 0, "Trigger level are step by 4!" assert halt_trigger > resume_trigger, "halt_trigger must be greater than resume_trigger!" _halt = halt_trigger//4 _resume = resume_trigger//4 # Set LCR=0xBF to access EFR register _old_lcr = self.owner.bus_wrapper.read_reg( REG_LCR, ch=self.ch ) # store transmission config (eg: 8n1) self.owner.bus_wrapper.write_reg( REG_LCR, 0xBF, ch=self.ch ) # activate enhanced feature _efr = self.owner.bus_wrapper.read_reg(REG_EFR, ch=self.ch) _efr = _efr | 0b00010000 self.owner.bus_wrapper.write_reg(REG_EFR, _efr, ch=self.ch) print( "EFR:" , bin(self.owner.bus_wrapper.read_reg(REG_EFR, ch=self.ch)) , 'Enhanced function activation') # Close access to EFR & restore transmission config (eg:8n1) self.owner.bus_wrapper.write_reg( REG_LCR, _old_lcr, ch=self.ch ) # Enable TCR & TLR register access _mcr = self.owner.bus_wrapper.read_reg(REG_MCR, ch=self.ch) _mcr = _mcr | 0b00000100 self.owner.bus_wrapper.write_reg(REG_MCR, _mcr, ch=self.ch) print( "MCR:" , bin(self.owner.bus_wrapper.read_reg(REG_MCR, ch=self.ch)), 'Enable TCR & TLR register') # Set TCR trigger values _tcr = self.owner.bus_wrapper.read_reg(REG_TCR, ch=self.ch) _tcr = _tcr | (_resume<<4) _tcr = _tcr | _halt self.owner.bus_wrapper.write_reg(REG_TCR, _tcr, ch=self.ch) print( "TCR:", bin(self.owner.bus_wrapper.read_reg(REG_TCR, ch=self.ch)), "Transmission Control register (resume & halt levels)") # TLR must be cleared (to use TCR) self.owner.bus_wrapper.write_reg(REG_TLR, 0x00, ch=self.ch) print( "TLR:", bin(self.owner.bus_wrapper.read_reg(REG_TLR, ch=self.ch)), "Disable TLR values (so use TCR)") # Disable TCR & TLR register access _mcr = self.owner.bus_wrapper.read_reg(REG_MCR, ch=self.ch) _mcr = _mcr & 0b11111011 self.owner.bus_wrapper.write_reg(REG_MCR, _mcr, ch=self.ch) print( "MCR:" , bin(self.owner.bus_wrapper.read_reg(REG_MCR, ch=self.ch)), 'Disable TCR & TLR register') self.owner.bus_wrapper.write_reg( REG_LCR, 0xBF, ch=self.ch ) # Enable auto RTS flow control _efr = _efr | 0b01000000 self.owner.bus_wrapper.write_reg(REG_EFR, _efr, ch=self.ch) print( "EFR:" , bin(self.owner.bus_wrapper.read_reg(REG_EFR, ch=self.ch)) , 'Enable auto RTS') # Close access to EFR & restore transmission config (eg:8n1) self.owner.bus_wrapper.write_reg( REG_LCR, _old_lcr, ch=self.ch ) # Initial State of RTS bit in Modem (MCR) _mcr = self.owner.bus_wrapper.read_reg( REG_MCR, ch=self.ch ) _mcr = _mcr | 0x02 self.owner.bus_wrapper.write_reg( REG_MCR, _mcr, ch=self.ch ) 非常欢迎提出建议和意见。 干杯, 多米尼克 Re: SC16IS740 : Need help to configure Auto-RTS 你好, 根据数据表,我建议检查以下几点: 请确认 EFCR[4] = 0。EFCR[4] 启用自动 RS-485 RTS 控制。当此位被设置时,发射器将控制 RTS 引脚,并且此功能优先于手动 RTS 控制和硬件流控制电路。因此,在使用 Auto-RTS 硬件流控制时,应清除 EFCR[4]。 TLR 未定义 Auto-RTS 停止/恢复阈值。对于 Auto-RTS,接收器 FIFO 触发电平取自 TCR,如果 TCR 位被清除,则取自 FCR。TLR 用于与中断生成相关的可编程发送和接收 FIFO 触发电平。因此,自动RTS操作不应要求清除TLR。 Re: SC16IS740 : Need help to configure Auto-RTS 嗨@ErikaC , 谢谢你的留言。 虽然我检查了 EFCR[4],但我注意到一切都按预期进行。 总之,感谢 EFCR[4],这在未来会非常有用。 问:发生了什么变化? 响应:完全重启电源。 推测:测试和尝试次数过多可能导致 SC16IS7xxx 配置损坏。 感谢您的帮助。 多米尼克
View full article
SC16IS740:Auto-RTSの設定について助けが必要です SC16IS740_750_760 現在、SPIを使ったこのSC16IS740をサポートするMicroPythonライブラリを書いています。 私はブレークアウトボードを使って、MAX3237に接続されたSC16IS740のテストを行っています。 すべての基本機能(RX & TX FiFoを含む)は正常に動作し、物理的なTX->RXループバック(および私のオシロスコープ)でテスト済みです。 今、Auto-RTS機能をテスト・実装したいと思っています。 確認するために、ch1をRXに、ch2をRTSに接続してオシロスコープを設置しました。 RXバッファをフラッディングして、RTS信号がスコープでHighに切り替わると思っていますが、実際には起こりません。 以下に、halt_trigger と resume_trigger の値 (文字単位) を含む MicroPython コードを示します。コードは主に特定のチャネル(「ch」パラメータ)に対してレジスタの読み書きを行います。 データシートに何か見落としがあるのですが、それが何なのか分かりません。 注記:最後の命令は、オシロスコープでの手動アクティベーションを確認するために、RTSをハイレベルに強制します。その後、その数値が低くなり、オートRTSで一度も起動されません......確かに、RXのFIFOは満タンになります。 def enable_rts( self, halt_trigger, resume_trigger ): assert 4<=halt_trigger<=60, "RTS trigger must be within 4-60 range" assert 4<=resume_trigger<=60, "RTS trigger must be within 4-60 range" assert (halt_trigger%4) + (resume_trigger%4) == 0, "Trigger level are step by 4!" assert halt_trigger > resume_trigger, "halt_trigger must be greater than resume_trigger!" _halt = halt_trigger//4 _resume = resume_trigger//4 # Set LCR=0xBF to access EFR register _old_lcr = self.owner.bus_wrapper.read_reg( REG_LCR, ch=self.ch ) # store transmission config (eg: 8n1) self.owner.bus_wrapper.write_reg( REG_LCR, 0xBF, ch=self.ch ) # activate enhanced feature _efr = self.owner.bus_wrapper.read_reg(REG_EFR, ch=self.ch) _efr = _efr | 0b00010000 self.owner.bus_wrapper.write_reg(REG_EFR, _efr, ch=self.ch) print( "EFR:" , bin(self.owner.bus_wrapper.read_reg(REG_EFR, ch=self.ch)) , 'Enhanced function activation') # Close access to EFR & restore transmission config (eg:8n1) self.owner.bus_wrapper.write_reg( REG_LCR, _old_lcr, ch=self.ch ) # Enable TCR & TLR register access _mcr = self.owner.bus_wrapper.read_reg(REG_MCR, ch=self.ch) _mcr = _mcr | 0b00000100 self.owner.bus_wrapper.write_reg(REG_MCR, _mcr, ch=self.ch) print( "MCR:" , bin(self.owner.bus_wrapper.read_reg(REG_MCR, ch=self.ch)), 'Enable TCR & TLR register') # Set TCR trigger values _tcr = self.owner.bus_wrapper.read_reg(REG_TCR, ch=self.ch) _tcr = _tcr | (_resume<<4) _tcr = _tcr | _halt self.owner.bus_wrapper.write_reg(REG_TCR, _tcr, ch=self.ch) print( "TCR:", bin(self.owner.bus_wrapper.read_reg(REG_TCR, ch=self.ch)), "Transmission Control register (resume & halt levels)") # TLR must be cleared (to use TCR) self.owner.bus_wrapper.write_reg(REG_TLR, 0x00, ch=self.ch) print( "TLR:", bin(self.owner.bus_wrapper.read_reg(REG_TLR, ch=self.ch)), "Disable TLR values (so use TCR)") # Disable TCR & TLR register access _mcr = self.owner.bus_wrapper.read_reg(REG_MCR, ch=self.ch) _mcr = _mcr & 0b11111011 self.owner.bus_wrapper.write_reg(REG_MCR, _mcr, ch=self.ch) print( "MCR:" , bin(self.owner.bus_wrapper.read_reg(REG_MCR, ch=self.ch)), 'Disable TCR & TLR register') self.owner.bus_wrapper.write_reg( REG_LCR, 0xBF, ch=self.ch ) # Enable auto RTS flow control _efr = _efr | 0b01000000 self.owner.bus_wrapper.write_reg(REG_EFR, _efr, ch=self.ch) print( "EFR:" , bin(self.owner.bus_wrapper.read_reg(REG_EFR, ch=self.ch)) , 'Enable auto RTS') # Close access to EFR & restore transmission config (eg:8n1) self.owner.bus_wrapper.write_reg( REG_LCR, _old_lcr, ch=self.ch ) # Initial State of RTS bit in Modem (MCR) _mcr = self.owner.bus_wrapper.read_reg( REG_MCR, ch=self.ch ) _mcr = _mcr | 0x02 self.owner.bus_wrapper.write_reg( REG_MCR, _mcr, ch=self.ch ) ご意見やご提案を心よりお待ちしております。 乾杯、 ドミニク Re: SC16IS740 : Need help to configure Auto-RTS こんにちは、 データシートに基づき、以下の点を確認することをお勧めします。 EFCR[4] = 0 であることを必ず確認してください。EFCR[4] は Auto RS-485 RTS コントロールを有効にします。このビットが設定されると、**トランスミッタ**はRTSピンの制御を行い、この機能は手動RTS制御およびハードウェアフロー制御回路の両方よりも優先されます。したがって、Auto-RTSハードウェアフロー制御を使用する場合はEFCR[4]をクリアする必要があります。 TLRはAuto-RTSの停止/再開閾値を定義していません。Auto-RTSでは、**レシーバ**のFIFOトリガーレベルはTCRから、またはTCRビットがクリアされている場合はFCRから取られます。TLRは、割り込み生成に関連する、プログラム可能な送信および受信FIFOトリガーレベルに使用されます。したがって、オートRTS動作にTLRのクリアリングは必須ではありません。 Re: SC16IS740 : Need help to configure Auto-RTS こんにちは、 @ErikaC さん。 ご連絡ありがとうございます。 EFCR[4]を確認したところ、すべてが予想通りに進んでいることがわかりました。 ともあれ、EFCR[4]ありがとうございます。FUTURE的に役立つでしょう。 質問:何が変わったのですか? 応答:完全な電源サイクル。 推測:テストと試行錯誤が多すぎたために、SC16IS7xxxの設定が壊れてしまった可能性が高い。 ご協力いただきありがとうございます。 ドミニク
View full article
为什么丹佛移动应用开发公司是企业的理想选择? 丹佛的一家移动应用开发公司可以帮助企业将数字创意转化为可扩展的 iOS 和 Android 应用,这些应用具有自定义功能、直观的界面、安全的集成和可靠的后端系统。这些服务可以支持客户互动、业务自动化、支付、实时功能和其他数字化需求。JPLOFT开发符合业务目标和用户需求的定制化移动应用程序。
View full article
SC16IS740 : Need help to configure Auto-RTS SC16IS740_750_760  I'm currently writing a MicroPython library to support the SC16IS740 over SPI. I'm using a breakout for testing the SC16IS740 coupled to a MAX3237. Every basic features works (including RX & TX FiFo) and tested with physical  TX->RX Loopback (and my scope). Now, I want to test/implement the Auto-RTS feature. To check it: I placed a scope with ch1 on RX and ch2 on RTS. I flood the RX buffer and expect the RTS signal to switch High on the scope.... but it doesn't happens. Here follows the MicroPython code with value of halt_trigger & resume_trigger (in chars). Code mainly read & write register for a given channel (the 'ch' parameter). I'm missing something with the datasheet but I'm not able to identify it. Remark: the last instructions force the RTS high for checking manual activation at the scope. It then goes low and never gets activated by auto-RTS.... for sure, the RX FIFO get full. def enable_rts( self, halt_trigger, resume_trigger ): assert 4<=halt_trigger<=60, "RTS trigger must be within 4-60 range" assert 4<=resume_trigger<=60, "RTS trigger must be within 4-60 range" assert (halt_trigger%4) + (resume_trigger%4) == 0, "Trigger level are step by 4!" assert halt_trigger > resume_trigger, "halt_trigger must be greater than resume_trigger!" _halt = halt_trigger//4 _resume = resume_trigger//4 # Set LCR=0xBF to access EFR register _old_lcr = self.owner.bus_wrapper.read_reg( REG_LCR, ch=self.ch ) # store transmission config (eg: 8n1) self.owner.bus_wrapper.write_reg( REG_LCR, 0xBF, ch=self.ch ) # activate enhanced feature _efr = self.owner.bus_wrapper.read_reg(REG_EFR, ch=self.ch) _efr = _efr | 0b00010000 self.owner.bus_wrapper.write_reg(REG_EFR, _efr, ch=self.ch) print( "EFR:" , bin(self.owner.bus_wrapper.read_reg(REG_EFR, ch=self.ch)) , 'Enhanced function activation') # Close access to EFR & restore transmission config (eg:8n1) self.owner.bus_wrapper.write_reg( REG_LCR, _old_lcr, ch=self.ch ) # Enable TCR & TLR register access _mcr = self.owner.bus_wrapper.read_reg(REG_MCR, ch=self.ch) _mcr = _mcr | 0b00000100 self.owner.bus_wrapper.write_reg(REG_MCR, _mcr, ch=self.ch) print( "MCR:" , bin(self.owner.bus_wrapper.read_reg(REG_MCR, ch=self.ch)), 'Enable TCR & TLR register') # Set TCR trigger values _tcr = self.owner.bus_wrapper.read_reg(REG_TCR, ch=self.ch) _tcr = _tcr | (_resume<<4) _tcr = _tcr | _halt self.owner.bus_wrapper.write_reg(REG_TCR, _tcr, ch=self.ch) print( "TCR:", bin(self.owner.bus_wrapper.read_reg(REG_TCR, ch=self.ch)), "Transmission Control register (resume & halt levels)") # TLR must be cleared (to use TCR) self.owner.bus_wrapper.write_reg(REG_TLR, 0x00, ch=self.ch) print( "TLR:", bin(self.owner.bus_wrapper.read_reg(REG_TLR, ch=self.ch)), "Disable TLR values (so use TCR)") # Disable TCR & TLR register access _mcr = self.owner.bus_wrapper.read_reg(REG_MCR, ch=self.ch) _mcr = _mcr & 0b11111011 self.owner.bus_wrapper.write_reg(REG_MCR, _mcr, ch=self.ch) print( "MCR:" , bin(self.owner.bus_wrapper.read_reg(REG_MCR, ch=self.ch)), 'Disable TCR & TLR register') self.owner.bus_wrapper.write_reg( REG_LCR, 0xBF, ch=self.ch ) # Enable auto RTS flow control _efr = _efr | 0b01000000 self.owner.bus_wrapper.write_reg(REG_EFR, _efr, ch=self.ch) print( "EFR:" , bin(self.owner.bus_wrapper.read_reg(REG_EFR, ch=self.ch)) , 'Enable auto RTS') # Close access to EFR & restore transmission config (eg:8n1) self.owner.bus_wrapper.write_reg( REG_LCR, _old_lcr, ch=self.ch ) # Initial State of RTS bit in Modem (MCR) _mcr = self.owner.bus_wrapper.read_reg( REG_MCR, ch=self.ch ) _mcr = _mcr | 0x02 self.owner.bus_wrapper.write_reg( REG_MCR, _mcr, ch=self.ch )   Hint and suggestions would be warmly welcome. Cheers, Dominique Re: SC16IS740 : Need help to configure Auto-RTS Hello, Based on the data sheet, I would suggest checking the following points: Please verify that EFCR[4] = 0. EFCR[4] enables the Auto RS-485 RTS control. When this bit is set, the transmitter takes control of the RTS pin, and this function has precedence over both manual RTS control and the hardware flow-control circuitry. Therefore, EFCR[4] should be cleared when using Auto-RTS hardware flow control. TLR does not define the Auto-RTS halt/resume thresholds. For Auto-RTS, the receiver FIFO trigger levels are taken from TCR, or from FCR if the TCR bits are cleared. TLR is used for the programmable transmit and receive FIFO trigger levels associated with interrupt generation. Therefore, clearing TLR should not be required for Auto-RTS operation. Re: SC16IS740 : Need help to configure Auto-RTS Hi @ErikaC , Thank for the note. While I did check the EFCR[4], I noticed that everything went as expected. Anyway, thank for the EFCR[4], this will be very useful in the future. Question: What changed? Response: a complete power cycle. Supposition: too many test and tries did probably brick the SC16IS7xxx configuration. Thanks for your help. Dominique
View full article
S32DS许可证已过期 您好,NXP支持团队, 我的S32DS v2.2许可证已于2026年8月24日到期。请问您能否帮忙延长许可证期限? 激活码:563B-6314-7B07-7945 感谢您的支持。 Re: S32DS License Expired 您好, 您的S32DS许可证已延期。请使用您之前的激活码重新激活S32DS。 Re: S32DS License Expired 您好: 我的 S32DS for ARM 2018R1 IDE 许可证已过期。您能帮我检查并延长一下吗? 我的软件激活码是 09D2-DE37-6529-87FB 谢谢。
View full article
デンバーのモバイルアプリ開発会社が企業にとって良い選択肢である理由は何ですか? デンバーのモバイルアプリ開発NXPについては、デジタルアイデアをカスタム機能、直感的なインターフェース、安全な統合、信頼性の高いバックエンドシステムを備えたスケーラブルなiOSやAndroidアプリケーションへと変換するお手伝いをします。これらのサービスはお客様エンゲージメント、ビジネスオートメーション、ペイメント、リアルタイム機能、その他のデジタル要件をサポートできます。JPLOFT は、ビジネス目標やユーザーニーズに沿ったカスタマイズされたモバイルアプリケーションを開発しています。
View full article
i.MX93 SAI1 TX FIFO errors Platform Board: i.MX93 EVK; /sys/devices/soc0/soc_id=i.MX93, /sys/devices/soc0/revision=1.1. Package marking/mask not yet recorded. Linux: 6.12.20-lts-next-gdfaf2136deb2, PREEMPT, A55. SAI1 at 0x443b0000, TX via 44000000.dma-controller-CH21. SAI1 serial root: 40 MHz from VIDEO_PLL; 40 MHz BCLK, 1.25 MHz frame rate. SAI3/WM8962 is Linux-owned and was idle for the reproductions below. LMX2571 I2S FSK sink: signed 16-bit code in active slot, zero in other slot. Constant code +8500 produces the expected +17 kHz RF offset. Minimal Linux reproduction (M33 remoteproc offline) Custom DTB exposes SAI1 as an ALSA playback device; SAI1 PCM card 0. Static ALSA PCM: hw:0,0, S16_LE, 2 channels, 1,250,000 frames/s; period 2,400 frames, buffer 19,200 frames. No Gaussian filter or other real-time waveform generation. TX FIFO depth 32 words, TX DMA burst 8 words, FIFO watermark 24. Static data: slot 0=8500, slot 1=0. Command: python3 /root/cp7g_static_playback.py --device hw:0,0 --seconds 600 Latest result: 750,000,000 frames written in 599.958 s, ALSA xruns=0. SAI1 FEF IRQ diagnostic: 1 episode, 9 IRQ entries over 2.685 ms. First observed at monotonic uptime about 675.892537 s, approximately 7.16 s before playback stopped; not an end-of-stream drain event. First-IRQ instrumentation (timings are after the hardware FEF assertion) TCSR=0x90150c01; consecutive time reads=41 ns; handler work before first TCSR read=209 ns; first TCSR regmap read=120,607 ns (return 0). FEF W1C regmap write=241,007 ns (return 0), before detailed snapshot. Post-ACK TFR0=0x00020001, read=242,799 ns. Post-ACK eDMA CH21 first raw register read=241,423 ns; total CH21 snapshot time=487,722 ns. CH_CSR=0x80000005, CH_ES=0x00000000, CH_INT=0x00000000, CH_SBR=0x00208003, CH_PRI=0x00000000. The TFR0 and CH21 values were sampled after the acknowledgment, not at initial FEF assertion. The long reads/writes cannot establish that they caused the initial FIFO error; CH_ES=0 only says no channel error was latched when sampled. The FEF is a hardware event despite ALSA xruns=0. Independent simplified firmware reproduction With Linux booted and ALSA capture idle, M33 code drove the same SAI1 TX using a single self-linked eDMA CH21 TCD, constant +8500 / zero slots, no major-loop callbacks, no foreground buffer refill, no Gaussian filter. At 40 MHz BCLK, FIFO depth 32, watermark 24, DMA minor loop 16 bytes, it stopped on SAI1 FEF after 216 s (Rev R). In the post-FEF fault snapshot, CH21_ES=0 and DMA global ES=0; the TCD was still self-linked. Similar faults occurred in later priority and internal-BCLK trials. A half-rate trial also failed. Thus neither Python nor M33 waveform computation/refill is necessary to reproduce the intermittent SAI1 FEF. Linux playback also fails with the M33 offline. Probe loading and external wire length changes did not remove the problem. Additional observation A burst-4 / watermark-28 Linux run had one FEF episode at uptime about 676.889 s on a separate boot; the latest burst-8 fault was at 675.893 s. A system journal search around 670–682 s in the latest boot found no logged activity. Similar uptime is suggestive only, not proof of a timer. Questions for NXP 1. Is there a known i.MX93 rev 1.1 mask erratum or low-power/interconnect condition that can delay SAI1 and eDMA CH21 register access and/or DMA service by 100–250 us while SAI1 TX and its clocks are enabled? 2. What hardware status, clock-gating, interconnect, or eDMA traces can identify the first missed SAI1 FIFO service request before FEF? 3. Does SAI1 TX FEF indicate any condition other than an actual FIFO underrun in this asynchronous master configuration? 4. Are there documented SAI1/eDMA burst, watermark, or clock constraints for continuous 40 MHz BCLK / 1.25 MHz stereo frame output on i.MX93? Can provide custom DTB, Linux fsl_sai.c/h changes and static playback script, M33 self-linked TCD source, full boot clock tree, and scope/RF data. Audio(PDM | I2S | SAI) Re: i.MX93 SAI1 TX FIFO errors Hello, I apologize for the delay, please note that due to limited bandwidth during the holidays in China, the response may be delayed. Thank you for your understanding. 1. No, there are no erratum describing the behavior you are seeing in your design. 2. TCSR[FEF] means that an enabled transmit FIFO has an underrun error, it does not identify whether the cause was a lost DMA request. 3. No, just FIFO underrun. 4. This configuration is within the SAI switching specifications. Please share the modifications you made so we can review them for any noticeable issue that could be contributing to this behavior. Please note that driver modifications are not validated on our side. Best regards.
View full article
S32K322 定制板:调试器无法连接,RESET_b 保持低电平 你好 , 我使用的是 S32K 322 MCU,该板是预开发空白芯片,不是量产板。我没有更改任何与 HSM 相关的设置,我使用的是 S32DS 版本 3.6.10。在使用 Flash Debug 进行调试时,出现上述消息,调试无法进行,因此我想咨询一下。 谢谢你的帮助 这是李 Re: S32K322 custom board: debugger cannot connect, RESET_b stays low 您好, 安全调试消息可能是结果,而不是根本原因。由于这是定制板,并且 RESET_b 保持低电平,我首先会调查硬件相关的问题,例如电源、复位电路或外部设备保持 RESET_b 钳位。处于复位状态的设备无法被调试器访问,即使未启用安全调试,也可能导致出现此消息。   BR,彼得 Re: S32K322 custom board: debugger cannot connect, RESET_b stays low 此外,我还使用了 Multilink Universal FX Port G Mini 10 针 jtag。
View full article
KW47: How to obtain deviceId for Gap_CheckIfBonded()? Hello, I am developing a BLE application on KW47 and would like to remove bonding information using Gap_RemoveBond(). While reviewing the APIs, I found Gap_CheckIfBonded(), but I am not sure what value should be passed as the deviceId parameter or how to obtain it. Could you please explain: What deviceId should be passed to Gap_CheckIfBonded()? How can I obtain this deviceId on KW47? Thank you. Protocol: BLE -> connectivity Protocol: Bluetooth Re: KW47: How to obtain deviceId for Gap_CheckIfBonded()? Hello @hyama, The Gap_CheckIfBonded() function takes Device ID of the GAP peer as input and returns whether the connected peer device is bonded, along with the corresponding NVM index. For a practical example of how Gap_CheckIfBonded() and Gap_RemoveBond() can be used, please refer to the ble_shell_freertos SDK example for the KW47-EVK. Specifically in the shell_gap.c file. Please let me know if you have any further questions. BR Habib. Re: KW47: How to obtain deviceId for Gap_CheckIfBonded()? Thank you. I'll check the example implementation.
View full article
imx93 eMMC boot container set selection Hi, I'm trying to get redundant bootloader in eMMC working, were I want to have a version of the bootloader in both eMMC bootarea 1 and 2. As I understand it, the iMX93 ROM should select the container set with the highest SWVersion as primary image set. I created two versions of the bootloader by doing a dummy change in u-boot to get different git hashes and version strings so I can differentiate between them. Then I built imx-boot boot containers and manually modified the SWVersion field for the OEM container by changing the header at offset 1K. Lets call them V1 and V2 where V2 has higher SWVersion field. I then flashed these versions to the eMMC bootareas. This is the behavior I see for different scenarios: Bootarea1: V1, Bootarea2: V2. V1 boots, even though V2 has higher SWVersion Bootarea1: V2, Bootarea2: V1. V2 boots as expected Bootarea1: none, Bootarea2: V2. V2 boots as expected It seems bootarea1 is always used as long as it is valid. I would expect V2 to boot in scenario 1 above.  As far as I understand, eMMC fast boot is not enabled. All the boot fuses are 0 and unmodified. Secondary boot offset as well, I think it is not used when eMMC bootareas are used? The eMMC is has the following boot configuration: => mmc partconf 0 EXT_CSD[179], PARTITION_CONFIG: BOOT_ACK: 0x0 BOOT_PARTITION_ENABLE: 0x1 PARTITION_ACCESS: 0x0 I tried both with and without boot acknowledgment enabled, with no difference in behavior. Re: imx93 eMMC boot container set selection Thank you for clarifying how it works. I hope the documentation can be updated to reflect this. Re: imx93 eMMC boot container set selection Hello, I have investigated further on this issue, and checked internally. On i.MX93, for boot partitions on eMMC, primary image is in boot1 and secondary image is in boot2. Moreover, the SW_Version won't be checked here. So to say the version it is skipped but in case of failure it does jump to the secondary image, in case of using user partition then offset needs to be set as we have discussed before. Please do accept my apologize for the confusion. Best regards/Saludos, Aldo. Re: imx93 eMMC boot container set selection Secondary_boot_offset will be 1 MB if fuse is 2. This is not what we want, it should be 0 MB since the bootloader is stored at the beginning of the boot areas. Is this possible to configure? From table 24: Secondary_boot_offset Offset = 1 MB*(2^n). n = 2 if fuse is 0. n = 0 if fuse is 2. Secondary boot flow is disabled if fuse value is bigger than 10. 0000 - 4 MB 0001 - 2 MB 0010 - 1 MB 0011 - 8 MB 0100 - 8MB 0101 - 32MB … 1001 - 512 MB EMMC : 254 - last 128 M 255 - last 24K In general this documentation is very confusing with binary and decimal values mixed. I guess secondary boot flow disabled if fuse is bigger than 10 decimal? At the same time the values 254 and 255 are specified for eMMC? Re: imx93 eMMC boot container set selection Hello,. Note that the offset of the 1st boot image container set is fixed on the primary boot device and hard code in ROM code. The offset of the 2nd boot image container set on the primary boot device is specified by the fuses “Secondary_boot_offset”: As stated in Reference Manual table 24: Secondary_boot_offset Offset = 1 MB*(2^n). n = 2 if fuse is 0. n = 0 if fuse is 2. Secondary boot flow is disabled if fuse value is bigger than 10 If Secondary_boot_offset = 0 → n = 2; If Secondary_boot_offset = 2 → n = 0; Best regards/Saludos, Aldo. Re: imx93 eMMC boot container set selection I believe Scenario 3 should result in "No valid Image Set, no image set is picked up for boot" according to the diagram if the offset is invalid. But I can try setting the secondary boot offset. What should it be set to when using eMMC boot areas? I think it should be zero, but that is not possible to set? Re: imx93 eMMC boot container set selection Hello, It seems that the Secondary_boot_offset you have is not correct this is why is not taking into account the second container unless the first one is absent, please refer to the figure 18  Scenario 1 & 2 Scenario 3 Best regards/Saludos, Aldo. Re: imx93 eMMC boot container set selection Here is information and logs about the three cases. Headers from imx-boot containers output using od --width=4 -A x -t x1 NXP header is same for both containers. v1 header: ... 000400 00 a0 00 87 OEM header 000404 10 00 00 00 000408 01 00 00 01 SW Version: 1, Fuse version 0 00040c 90 00 00 00 ... v1 u-boot git hash: e65c48e v2 header: ... 000400 00 a0 00 87 OEM header 000404 10 00 00 00 000408 02 00 00 01 SW Version: 2, Fuse version: 0 00040c 90 00 00 00 ... v2 u-boot git hash: 669f2a5 Logs flash_bootloader.sh below is a simple script which flashes a given boot area (0 or 1). Scenario 1: Bootarea1 v1, Bootarea 2 v2 v1 boots, see git hash in version string. Expecting v2 to boot. Setup: # ./flash_bootloader.sh 0 imx-boot-v1 3960+1 records in 3960+1 records out # ./flash_bootloader.sh 1 imx-boot-v2 Boot log: U-Boot SPL 2024.04+ge65c48e26ef+p0 (Jan 17 2025 - 08:03:10 +0000) SOC: 0xa1009300 LC: 0x2040010 PMIC: Over Drive Voltage Mode EA: Using gzipped ddr data from eeprom M33 prepare ok Normal Boot Trying to boot from BOOTROM Boot Stage: Primary boot image offset 0x0, pagesize 0x200, ivt offset 0x0 Load image from 0x54800 by ROM_API NOTICE: TRDC init done NOTICE: BL31: v2.10.0 (release):android-14.0.0_2.2.0-rc2-0-g7c64d4e86 NOTICE: BL31: Built : 10:35:32, Aug 29 2024 U-Boot 2024.04+ge65c48e26ef+p0 (Jan 17 2025 - 08:03:10 +0000) Reset Status: POR CPU: NXP i.MX93(52) Rev1.1 A55 at 1700 MHz CPU: Extended Industrial temperature grade (-40C to 125C) at 51C Scenario 2: Bootarea1 v2, Bootarea2 v1 v2 boots, see git hash in version string Setup: # ./flash_bootloader.sh 0 imx-boot-v2 3960+1 records in 3960+1 records out # ./flash_bootloader.sh 1 imx-boot-v1 3960+1 records in 3960+1 records out Boot log: U-Boot SPL 2024.04+g669f2a5bf5d+p0 (Jan 17 2025 - 14:34:22 +0000) SOC: 0xa1009300 LC: 0x2040010 PMIC: Over Drive Voltage Mode EA: Using gzipped ddr data from eeprom M33 prepare ok Normal Boot Trying to boot from BOOTROM Boot Stage: Primary boot image offset 0x0, pagesize 0x200, ivt offset 0x0 Load image from 0x54800 by ROM_API NOTICE: TRDC init done NOTICE: BL31: v2.10.0 (release):android-14.0.0_2.2.0-rc2-0-g7c64d4e86 NOTICE: BL31: Built : 10:35:32, Aug 29 2024 U-Boot 2024.04+g669f2a5bf5d+p0 (Jan 17 2025 - 14:34:22 +0000) Reset Status: POR CPU: NXP i.MX93(52) Rev1.1 A55 at 1700 MHz CPU: Extended Industrial temperature grade (-40C to 125C) at 50C Scenario 3: Bootarea1 empty, Bootarea2 v2 v2 boots, see git hash in version string Setup: # ./flash_bootloader.sh 0 /dev/zero dd: error writing '/dev/mmcblk0boot0': No space left on device 8193+0 records in 8192+0 records out # ./flash_bootloader.sh 1 imx-boot-v2 3960+1 records in 3960+1 records out Boot log: U-Boot SPL 2024.04+g669f2a5bf5d+p0 (Jan 17 2025 - 14:34:22 +0000) SOC: 0xa1009300 LC: 0x2040010 PMIC: Over Drive Voltage Mode EA: Using gzipped ddr data from eeprom M33 prepare ok Normal Boot Trying to boot from BOOTROM Boot Stage: Secondary boot image offset 0x0, pagesize 0x200, ivt offset 0x0 Load image from 0x54800 by ROM_API NOTICE: TRDC init done NOTICE: BL31: v2.10.0 (release):android-14.0.0_2.2.0-rc2-0-g7c64d4e86 NOTICE: BL31: Built : 10:35:32, Aug 29 2024 U-Boot 2024.04+g669f2a5bf5d+p0 (Jan 17 2025 - 14:34:22 +0000) Reset Status: WDOG3 CPU: NXP i.MX93(52) Rev1.1 A55 at 1700 MHz CPU: Extended Industrial temperature grade (-40C to 125C) at 51C Re: imx93 eMMC boot container set selection Hello, It does behave as it is said even you may refer to the Figure 18. Boot Image Container Sets Selection in reference manual. Could you help me sharing the boot logs when running your test? Best regards/Saludos, Aldo. Re: imx93 eMMC boot container set selection Hello, I am interested in this topic too By doing some tests I reached the conclusion that there is some kind of fallback between mmcblk0boot0 and mmcblk0boot1 when the "partition" selected for boot is somehow corrupted. This means it is not possible (at least, I don't see a way) to be fully sure to know which is the current active one from Linux side thus it is not possible to safely implement an A/B swupdate for imx-boot Are boot0/boot1 meant to be compliant with A/B updates or are they just built used for a redundant copy of the same imx-boot? Also, how to manage the u-boot environment, in case a swupdate fails it may be possible to rollback to a previous working version but the environment may be not compliant anymore with the previously working u-boot Thanks in advance Regards
View full article
S32 Design Studio 3.6.11搭載のS32K142EVB-Q100評価ボード S32 Design Studio 3.6.11でS32K142EVB-Q100評価ボードを使うのに問題が発生しています S32DSの拡張機能とアップデートを使ってS32K1xx開発パッケージとリアルタイム・ドライバ S32K1_S32M24X AUTOSAR R21-11バージョン3.0.0 QLP07をインストールしました  問題は、S32K142で新しいプロジェクトを作成すると、S32の設定ツールを使えないと表示されることです。ピンの設定などができません。 このセットアップはどうやって始めればいいですか?   Re: S32K142EVB-Q100 evaluation board with S32 Design Studio 3.6.11 こんにちは、 SW32K1_S32M24x_RTD_R21-11_3.0.0_QLP07_D2606には数種類のドライバープラグインのみが含まれています。パッケージリリースノートを参照してください。 初回インストール S32K1_S32M24X リアルタイム・ドライバ AUTOSAR R21-11 バージョン 3.0.0その後、SW32K1_S32M24x_RTD_R21-11_3.0.0_QLP06_D2603_DesignStudio_updatesite.zip S32K1_S32M24xリアルタイム・ドライバAUTOSAR R21-11バージョン3.0.0をインストールします必要であればQLP07を使用してください。 また、新しいプロジェクトを作成する際には、GCC v10.2ツールチェーンを選択することを忘れないでください。S32DSにこれがインストールされていない場合は、拡張機能とアップデートから追加してください。   BR、ペトル Re: S32K142EVB-Q100 evaluation board with S32 Design Studio 3.6.11 ありがとう、うまくいったよ!
View full article
MCUXpresso IDE 25.6 Build 136 – LPC-Link2 is not automatically booted on Linux Ladies and Gentlemen, I am experiencing a reproducible problem with MCUXpresso IDE v25.6 Build 136 on Linux and an LPC-Link2 debug probe. When the LPC-Link2 is connected, it initially appears in DFU mode: 1fc9:000c NXP Semiconductors LPC4330FET180 (device firmware upgrade mode) Linux detects the DFU device correctly. For example: $ /usr/bin/dfu-util -l Found DFU: [1fc9:000c] ver=0100, devnum=19, cfg=1, intf=0, path="1-6", alt=0, name="DFU", serial="ABCD" The important observation is that the LPC-Link2 boot process itself works correctly. Running the LinkServer boot command manually from a terminal successfully boots the probe. It then re-enumerates as: 1fc9:0090 NXP Semiconductors LPC-LINK2 CMSIS-DAP V5.460 I can also boot the probe successfully using LinkFlash. However, if I start a debug session with the green Debug button while the LPC-Link2 is still in DFU mode, MCUXpresso IDE fails to boot the probe and reports: No bootable LPC-Link2 found The IDE's pre-launch command is: /usr/local/LinkServer_26.9.130/binaries/boot_link2 The IDE reports: Non-zero return code (1) from pre-launch command: .../boot_link2 and the corresponding dfu_boot invocation reports that no bootable LPC-Link2 was found. I have verified that the same DFU device is still visible from a normal terminal while MCUXpresso IDE is running: $ /usr/bin/dfu-util -l Found DFU: [1fc9:000c] ... If I boot the LPC-Link2 externally first (for example with LinkFlash), the blue Debug button works correctly and I can debug the target normally. I have tested both the original LinkServer version supplied with MCUXpresso IDE 25.6 and LinkServer 26.9.130. The behaviour is the same. I also restored the IDE's original/default LinkServer configuration, with no improvement. Therefore the problem does not appear to be: LPC-Link2 hardware USB enumeration Linux DFU support the LinkServer boot image the LinkServer boot mechanism itself The failure appears to be specifically in the automatic LPC-Link2 boot performed by MCUXpresso IDE as part of the green Debug launch sequence on Linux. As a workaround, I can start LinkFlash, let it boot the LPC-Link2, close LinkFlash, and then use the blue Debug button. This works, but it is obviously not the intended workflow. Has anyone seen this behaviour with MCUXpresso IDE 25.6 Build 136 on Linux? Is there a known fix or patch for the IDE's automatic LPC-Link2 boot procedure? I would particularly like to know whether this is a known IDE issue, since the LPC-Link2 and the LinkServer boot process itself are demonstrably working. Re: MCUXpresso IDE 25.6 Build 136 – LPC-Link2 is not automatically booted on Linux Thank you. I checked this. My system has: dfu-util 0.11 The MCUXpresso IDE 25.6.136 installation itself does not contain a dfu-util binary, so it appears to use the system version: /usr/bin/dfu-util This is indeed version 0.11. I also checked the forum post you linked. The situation described there looks potentially relevant, since it specifically concerns dfu-util 0.11 and the parsing of the VID:PID returned by dfu-util -l. However, there is one important difference in my case: the same boot_link2 / dfu_boot command works correctly when I run it manually from a terminal. The problem occurs when MCUXpresso IDE invokes boot_link2 as the pre-launch command of the green Debug launch. Could the dfu_boot script included with LinkServer/MCUXpresso IDE 25.6.136 still contain the dfu-util 0.11 parsing problem described in the linked post? That topic is from 2024, is it possible, that this issue still present in 2026? bela@bela-ThinkPad-P70:~ $ find /usr/local/mcuxpressoide-25.6.136 -type f -name 'dfu-util*' -ls bela@bela-ThinkPad-P70:~ $ which dfu-util dfu-util --version /usr/bin/dfu-util dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ bela@bela-ThinkPad-P70:~ $ Re: MCUXpresso IDE 25.6 Build 136 – LPC-Link2 is not automatically booted on Linux Hi @jeanvaljean  Thank you for your post! Could you please review the dfu-util version your IDE is using?  Please review the post: Report dfu boot problem to LPC Link2 with lpscrypt under Linux Re: MCUXpresso IDE 25.6 Build 136 – LPC-Link2 is not automatically booted on Linux Hi @jeanvaljean  Apologize the late reply. Yes, that topic could be affecting due the dfu version is still the same. Please try to implement the patches that are provided in the post I share before and let me know if that resolves the issue.  Re: MCUXpresso IDE 25.6 Build 136 – LPC-Link2 is not automatically booted on Linux Hello Carlos, Sorry for the late reaction. I have issues with my Yahoo mail, I had to create a new registration to the forum with another mail address. I'm the same Jean Valjean, who started this thread. Thank you for your reply and for pointing me to the dfu-util 0.11 issue. Since I'm a HW engineer, I needed the help of chatgpt to follow Your advices. Here's the result: I applied the suggested patch to dfu_boot and tested it. However, it did not resolve my problem. In fact, with the patch enabled, dfu_boot searched for: 0x1fc9:0x000c while my installed dfu-util 0.11 reports the device as: Found DFU: [1fc9:000c] so the patched version could not find the device. I therefore restored the original dfu_boot. There is an important observation, however: the original dfu_boot / boot_link2 combination works correctly when started from a terminal. I can boot the LPC-Link2 from DFU mode successfully, and it changes from 1fc9:000c to 1fc9:0090 as expected. I also created a simple pre-launch script: /home/bela/LPC_Projects/boot_and_wait.sh which contains only: #!/bin/bash /usr/local/LinkServer_26.9.130/binaries/boot_link2 sleep 2 This script also works correctly when started from a terminal. The problem occurs only when the same script is used as the MCUXpresso IDE pre-launch command. In that case the IDE reports: Non-zero return code (1) from pre-launch command: /usr/local/LinkServer_26.9.130/binaries/boot_link2 and the log shows: Looking for DFU devices with VID 1fc9 PID 000c ... No bootable LPC-Link2 found followed by the dfu-util -l output. So at this point it seems that the problem is not simply the dfu-util 0.11 VID/PID parsing issue, because the same dfu_boot works from the terminal. My setup is: Linux Mint MCUXpresso IDE v25.6 Build 136 LinkServer 26.9.130 dfu-util 0.11 LPC-Link2 / LPC11U68 Could there be an issue with how MCUXpresso IDE executes the internal.prelaunch.command, for example with its environment, process handling, or USB access? Any suggestion on where to look next would be appreciated. Best regards, jean
View full article
S32K3 上的 eTPU 曲柄、凸轮、喷射和点火装置 你好 我需要执行驱动程序,以根据曲柄和凸轮信号相位启动喷油和点火装置。 我需要了解实施该驱动程序的最佳解决方案是什么。 我的疑问是 1) AN4907SW.zip 提供的 API 是否与 S32K3xx 中的 eTPU 兼容? 2)如果不是,那么将此 API 用于 S32K3xx 是一个好的解决方案,还是使用 ConfigTool 才是最佳解决方案? S32K3xx 有关于此应用的示例吗? 敬请期待,弗朗切斯科。 Re: eTPU crank, cam, injections and Ignitions on S32K3 你好@francescovico 将数据从大端转换为小端序涉及通过根据数据类型大小调整位移和掩码来反转字节顺序。 GCC 提供了内置函数来简化这个过程,例如:uint32_t __builtin_bswap32 (uint32_t x)。你可以在 GCC 文档中找到更多细节:7.2.3 字节交换内置函数 Re: eTPU crank, cam, injections and Ignitions on S32K3 你好@VaneB、 如果我理解得不错,汽车功能(CRANK、SPARK......)是为大位微控制器设计的。 要在 S32K364(小二进制)上使用带有汽车功能的 eTPU,我需要下载一个功能集,选择 .NET 和 .NET: francescovico_0-1761136257258.pngfrancescovico_0-1761136257258.png 并更改功能: uint32_t *fs_memcpy32(uint32_t *dest,uint32_t *source,uint32_t size); void fs_memset32(uint32_t *start,uint32_t value,int32_t size); 交换每个 32 位的值,以读取/写入小端代码和参数,是这样吗? 敬请期待,弗朗切斯科。 Re: eTPU crank, cam, injections and Ignitions on S32K3 你好@francescovico 用于电气化应用的 S32K39/37/36 微控制器包括 eTPU。但是,目前没有适用于这些设备的与 MPC5634 的 AN4907 相似的专用文档或演示。 也就是说,AN4907 文档、演示和微码适用于 S32K39/37/36 系列,但请注意,这些设备使用小端架构。因此,您需要修改内存访问 API。 您可以参考 CodeWarrior eTPU 功能选择器 中与电机控制相关的模块,该功能 选择器 已更新为 little-endian。 BR、VaneB Re: eTPU crank, cam, injections and Ignitions on S32K3 感谢您指出这一点! 这是个endianity转换问题。因此,缺齿掩模的配置不正确,每转 350 度,每周期 700 度。 现在,原帖中的演示程序已经修复。 Re: eTPU crank, cam, injections and Ignitions on S32K3 你好@MilanBrejl、 现在,我正在尝试使用 Fuel Cyl 1 etpu 驱动程序。 驱动程序似乎使用 s24AngleNormalEnd 作为"的起始角度" ,并在 s24AngleStop 停止注入。 u24InjectionTime 的持续时间永远不会被遵守。 有可能吗? 附件中有一个 .rar 文件该文件包含"燃料缸 1" 的 picoscope 采集信息,其中喷油器参数为: Etpu_Fuel_Ip_ConfigType fuel_1_config = { .s24AngleNormalEnd= DEG2TCR2(-180), .s24AngleStop= DEG2TCR2(-360), .s24AngleOffsetRecalc= DEG2TCR2(-30), .u24InjectionTime= USEC2TCR1(1200), .u24CompensationTime= USEC2TCR1(0), .u24InjectionTimeMinimum= USEC2TCR1(0), .u24OffTimeMinimum= USEC2TCR1(0), .eGenerationDisable= etpu_fuel_generation_allowed }; 在 picoscope 采集器中,可以看到注入开始点正好是 180°,注入停止点是 360°,注入持续时间为 30 毫秒(应为 1.2 毫秒)。 敬请期待,弗朗切斯科。 Re: eTPU crank, cam, injections and Ignitions on S32K3 你好@MilanBrejl、 现在,我正在尝试使用 Fuel Cyl 1 etpu 驱动程序。 驱动程序似乎使用s24AngleNormalEnd 作为"的起始角度" ,并在 s24AngleStop 停止所有注入。 u24InjectionTime 的持续时间永远不会被遵守。 有可能吗? 附件中有一个 .rar 文件文件,其中包含喷油器参数所在的"燃油 1 缸" 的 picoscope 采集结果: Etpu_Fuel_Ip_ConfigType fuel_1_config = { .s24AngleNormalEnd= DEG2TCR2(-180), .s24AngleStop= DEG2TCR2(-360), .s24AngleOffsetRecalc= DEG2TCR2(-30), .u24InjectionTime= USEC2TCR1(1200), .u24CompensationTime= USEC2TCR1(0), .u24InjectionTimeMinimum= USEC2TCR1(0), .u24OffTimeMinimum= USEC2TCR1(0), .eGenerationDisable= etpu_fuel_generation_allowed }; 在 picoscope 采集器中,可以看到注入开始点正好是 180°,注入停止点是 360°,注入持续时间为 30 毫秒(应为 1.2 毫秒)。 敬请期待,弗朗切斯科。 Re: eTPU crank, cam, injections and Ignitions on S32K3 你好@MilanBrejl、 你说得没错,s24AngleOffsetRecalc 必须是正数,但要把它放进去: s24AngleOffsetRecalc = DEG2TCR2(30) 结果还是一样(......)。 我使用的 S32K364 有 2 个 ETPU(A 和 B),共 16 个通道。 在 ETPUA 上使用燃料驱动程序,驱动程序工作正常,但我需要使用 ETPUB 通道 0。 我需要使用 STAC 寄存器将 TCR1 和 TCR2 从 ETPUA 共享到 ETPUB。 可能是 STAC 寄存器没有正确初始化? 敬请期待,弗朗切斯科。 Re: eTPU crank, cam, injections and Ignitions on S32K3 你好@francescovico, 这是如何配置 STAC_ENG1 和 STAC_ENG2 寄存器,以便从 eTPU1 到 eTPU2 共享 TCR1 和 TCR2: MilanBrejl_0-1770199430269.pngMilanBrejl_0-1770199430269.png 如果有帮助,请告诉我。 致: Milan Re: eTPU crank, cam, injections and Ignitions on S32K3 你好@MilanBrejl、 我的注册表与您的建议完全相同: ETPU_A_B_REGISTER.pngETPU_A_B_REGISTER.png 但问题依然存在。 在所附的皮镜采集中,您可以看到 ETPU A 产生的火花为蓝色,ETPU B 产生的火花为红色。 两个火花的端角都是 180 度,停留时间都是 8000 秒。 敬请期待,弗朗切斯科。   Re: eTPU crank, cam, injections and Ignitions on S32K3 你好,@francescovico、 我在我的网站上复制了你的问题,并找到了根本原因。在两个 eTPU 引擎之间共享 TCR1/TCR2 时间/角度总线是不够的。火花和燃油功能根据发动机的实际转速进行时间到角度的转换。它使用 TRR(跳动速率寄存器)。该寄存器是角度时钟逻辑的一部分,由运行在 eTPU A 上的 Crank eTPU 功能维护。然后,使用 eTPU B TRR 对 eTPU B 进行时间到角度的变换会返回错误的结果。 这是最基本的问题,我可能从未见过有人同时在两个 eTPU 引擎上运行引擎控制,因此这个问题一直没有得到解决。尤其是在新的 S32K3 设备仅限于 16+16 个通道的情况下,这一点变得很重要。感谢您提出这个用例,也感谢您的耐心。 所附的演示程序以之前的程序(在本主题中)为基础,并增加了以下改动: 火花 2 通道从 eTPU 引擎 A 移至 eTPU 引擎 B MilanBrejl_0-1770672522362.pngMilanBrejl_0-1770672522362.png 相应更新通道掩码 MilanBrejl_1-1770672675064.pngMilanBrejl_1-1770672675064.png 通道链接需要支持两个引擎的使用(使用宏 ETPU_IP_CHANNEL_TO_LINK) MilanBrejl_2-1770672729220.pngMilanBrejl_2-1770672729220.png 引脚配置已更新,中断配置已更新 现在是 Crank eTPU FW 的新功能: 更新 eTPU FW 映像。曲柄功能可在两个发动机上运行,并更新另一个 eTPU 发动机的 TRR 值。 这项新功能需要在曲柄配置中设置一个新参数 MilanBrejl_4-1770673143063.pngMilanBrejl_4-1770673143063.png 其中 MilanBrejl_3-1770673103441.pngMilanBrejl_3-1770673103441.png 希望对您有所帮助。 致: Milan Re: eTPU crank, cam, injections and Ignitions on S32K3 你好@MilanBrejl、 现在它工作得很好。 非常感谢你们的支持! 敬请期待,弗朗切斯科。 Re: eTPU crank, cam, injections and Ignitions on S32K3 您好,我也在研究k396的板子,也想将etpu用于曲轴凸轮轴和喷油,我们可以交流一下嘛 Re: eTPU crank, cam, injections and Ignitions on S32K3 嗨@MilanBrejl 我目前正在开发基于S32K396芯片的V12 ECU项目。 第一个原型我将使用 lqfp176 封装,很高兴看到这个项目也是用这种封装编写的。我想请问一下,是否有办法为 crank_instance 添加更多链接通道? Etpu_Crank_Ip_InstanceType 曲柄实例= { .u8ChanNum = ETPU_CRANK_CHAN ,​ .u8OtherEngChanNum = ETPU_CRANK_OTHER_ENG_CHAN ,​ . ePriority = ETPU_PRIORITY_HIGH , . ePolarity = ETPU_CRANK_IP_POLARITY_FALLING , .u8TeethTillGap = TEETH_TILL_GAP ,​ .u8TeethInGap = TEETH_IN_GAP ,​ .u8TeethPerCycle = TEETH_PER_CYCLE ,​ . u24Tcr2TicksPerTooth = TCR2_TICKS_PER_TOOTH , .u24Tcr2TicksPerAddTooth = 0 ,​ .eLogToothPeriods = ETPU_CRANK_IP_LOG_TOOTH_PERIODS_ON ,​ .u32LinkCam = ( ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_CAM_CHAN ) << 0 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_CAM_CHAN ) << 8 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_CAM_CHAN ) << 16 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_CAM_CHAN ) << 24 ) ) .u32Link1 = ( ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_SPARK_1_CHAN ) << 0 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_SPARK_2_CHAN ) << 8 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_SPARK_3_CHAN ) << 16 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_SPARK_4_CHAN ) << 24 )) , .u32Link2 = ( ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_FUEL_1_CHAN ) << 0 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_FUEL_2_CHAN ) << 8 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_FUEL_3_CHAN ) << 16 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_FUEL_4_CHAN ) << 24 )) , .u32Link3 = ( ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_KNOCK_1_CHAN ) << 0 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_KNOCK_2_CHAN ) << 8 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_INJ_BANK_1_CHAN ) << 16 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_INJ_BANK_2_CHAN ) << 24 )) , .u32Link4 = ( ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_INJ_1_CHAN ) << 0 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_INJ_2_CHAN ) << 8 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_INJ_3_CHAN ) << 16 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_INJ_4_CHAN ) << 24 ) ) .pCpba = NULL_PTR ,​ . pCpbaToothPeriodLog = NULL_PTR } ; 我想使用 eTPU 发动机 A 来实现 12 缸 DI、12 缸点火和曲轴、右侧进气凸轮轴、右侧排气凸轮轴,使用 eTPU 发动机 B 来实现 12 缸 PI 喷射和左侧凸轮轴。 或者 eTPU 发动机 A 适用于 6DI、6Ignition、6PI、Knock、RH CAMx2,eTPU 发动机 B 适用于 6DI、6Ignition、6PI、Knock、LH CAMx2。 但为此我还需要另外两个链接条目。我还没算上我可能还需要的其他东西呢。我需要WMI,也需要Nitro。我知道这是个大工程,但我真的非常感谢大家的帮助。 我是 eTPU 编程新手,对整个 NXP 生态系统也不熟悉。 感谢您的解答。 理查德 Re: eTPU crank, cam, injections and Ignitions on S32K3 你好@rudikakk11 , 如果当前参数集 .u32Link1 到 .u32Link4(最多 16 个通道) 扩展至 .u32Link1 到 .u32Link12(最多 48 个通道) 你觉得可行吗? 问候, 米兰 Re: eTPU crank, cam, injections and Ignitions on S32K3 嗨@MilanBrejl 那真是太好了! eTPU编译器都是付费使用的吗?以防我需要任何其他修改或自定义功能。 感谢您的回复,也提前感谢您的下次回复! 理查德 Re: eTPU crank, cam, injections and Ignitions on S32K3 你好, @MilanBrejl 还有一个问题,如何控制 GDI 发动机的高压燃油泵 (HPFP)?我在库中找不到对应的函数。 我的想法是使用注入实例来实现它。 此致, 理查德 Re: eTPU crank, cam, injections and Ignitions on S32K3 更新后的曲柄功能已在 eTPU 功能选择器中上线: https://www.nxp.com/webapp/etpu_cw/ 它支持在摊位上连接多达 48 个通道。 Re: eTPU crank, cam, injections and Ignitions on S32K3 是的,我认为 INJ 函数足够通用,可以支持各种功能。但我不知道您的具体要求。
View full article
LinuxのQoriQでPREEMPT_RT こんにちは、 現在はlinux-6.12-rtブランチのNXP QorIQのLinuxカーネルを使用しています が、おそらくLinux 6.18のような新しいカーネルバージョンに移行したいと考えています。 RTカーネルのサポートとブランチ戦略についていくつか質問があります。 linux-6.12-rtとlf-6.12.yの違いは正確には何ですか? linux-6.12-rtと同様に、別のLinux-6.18-rtブランチが計画されているのでしょうか? そうでない場合、 lf-6.18.yはCONFIG_PREEMPT_RT=yと直接併用することを想定していますか? 私の理解では、linux-6.12-rtはlf-6.12.yと比べて追加の PREEMPT_RT 関連の変更が含まれています。しかし、Linux 6.12 以降、コア PREEMPT_RT サポートは上流カーネルに統合されています。 https://kernel-internals.org/locking/preempt-rt/ 同時に、RT専用の開発と安定したRTパッチのリリースは、上流で別々に続いているのも見て取れます。 以上のことから、NXPの最新版QorIQではこの問題がどのように処理されているのかを知りたいです。 Linux 6.18の場合、lf-6.18.yのブランチをCONFIG_PREEMPT_RT=yで使い、NXP固有の変更をすべて含めて、すでにNXP固有の変更をPREEMPT_RTに入れるべきでしょうか? それとも、 lf-6.18.yの上にさらに RT パッチを加えた、QorIQ RT 専用のブランチ/リリースがまだ計画されているのでしょうか? RTブランチを別途計画していない場合、NXPがlf-6.18.yの上に適用することを推奨する追加のRTパッチはありますか? Re: PREEMPT_RT on Linux QoriQ こんにちは、 QorIQ/Layerscapeの場合、 lf-6.18.y と CONFIG_PREEMPT_RT=y 組み合わせがNXPがサポートするRTリリースと同等であると想定しないでください。NXPの現在のReal Time Edge資料では、LF 6.18に基づくLinux PREEMPT_RT 6.18のリリースが示されており、内部開発では別の下流RTパッチスタックが追跡されています。 対応するNXP 6.18 RTリリース、できればQorIQプラットフォーム向けの最新バージョンを使いましょう。現在の状況を比較してください linux-6.12-rt 対応するLF 6.18ベースに対してツリーを実行しますが、 CONFIG_PREEMPT_RT=y を有効にするだけでNXP固有のRT変更がすべて含まれるとは考えないでください。 また、以下も検証してください。 ARCH_SUPPORTS_RT のアーキテクチャサポート、 NXPネットワーク、DPAA/DPAA2、ENETC、DSA、TSN、PTP、割り込み動作; 代表負荷下でのレイテンシ; NXPの下流スタックにあるドライバ固有のRTパッチ。 上流の記事の主な条件も重要です。PREEMPT_RT 6.12でメインライン選択可能になりましたが、サポートはアーキテクチャに依存しており、すべてのベンダードライバーがデターミニスティックな挙動を検証されているとは限りません よろしくお願いします。 Re: PREEMPT_RT on Linux QoriQ ご説明ありがとうございます。NXP Linux 6.18 RTのサポートリリースはいつ頃期待できるかご存知ですか? Re: PREEMPT_RT on Linux QoriQ SO、次の6.18ベースのことを指しているならRTアップデート、現在のロードマップでは、Real-Time Edge 3.6が2026年12月にリリースされる予定です。 なお、Linux BSP i.MX 標準(RTではなく)はすでに新しい6.18リリースがあり、 2026年9月24日の6.18.37も含まれています。 よろしくお願いします。
View full article
S32K3のeTPUクランク、カム、インジェクション、イグニッション こんにちは、 クランクとカムの信号に合わせてインジェクションと点火を作動させるドライバを実装する必要があります。 このドライバを実装するための最適なソリューションを理解する必要があります。 私の疑問は次のとおりです: 1) AN4907SW.zip で提供される API は、S32K3xx に存在する eTPU と互換性がありますか? 2)いいえの場合、この API を S32K3xx に適合させるのは良い解決策ですか、それとも ConfigTool を使用するのが最善の解決策でしょうか? このアプリケーションについて S32K3xx の例はありますか? よろしく、フランチェスコ。 Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは@francescovico ビッグ エンディアンからリトルエンディアンにデータを変換するには、データ型のサイズに応じてビット シフトとマスクを調整してバイト順序を逆にする必要があります。 GCC は、このプロセスを簡素化する組み込み関数を提供します。例: uint32_t __builtin_bswap32 (uint32_t x)。詳細については、GCC ドキュメントの7.2.3 バイトスワッピング組み込みを参照してください。 Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは@VaneB 、 私が正しく理解していれば、オートモーティブ機能 (CRANK、SPARK...) はビッグエンディアンマイクロコントローラ用に作られています。 S32K364 (リトルエンディアン) 上のオートモーティブ機能で eTPU を使用するには、次を選択して関数セットをダウンロードする必要があります。 francescovico_0-1761136257258.pngfrancescovico_0-1761136257258.png そして関数を変更します: uint32_t *fs_memcpy32(uint32_t *dest、uint32_t *source、uint32_t size); void fs_memset32(uint32_t *開始、uint32_t 値、int32_t サイズ); 各 32 ビット値を交換して、リトルエンディアン コードとパラメータを読み書きするというのは本当ですか? よろしく、フランチェスコ。 Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは@francescovico 電動化アプリケーション向け S32K39/37/36 マイクロコントローラにはeTPU が含まれています。ただし、現在、これらのデバイス向けに利用できる MPC5634 の AN4907 に類似した専用のドキュメントやデモはありません。 ただし、AN4907 ドキュメント、デモ、マイクロコードは S32K39/37/36 ファミリに適していますが、これらのデバイスはリトルエンディアン アーキテクチャを使用していることに注意してください。したがって、メモリ アクセス API を変更する必要があります。 リトルエンディアン に更新された CodeWarrior eTPU 関数セレクタ でモータ制御関連のモジュールを参照できます。 BR、ヴェインB Re: eTPU crank, cam, injections and Ignitions on S32K3 指摘していただきありがとうございます! エンディアン変換の問題が発生しました。その結果、欠落した歯のマスクが正しく構成されず、1 回転あたり 350 度、または 1 サイクルあたり 700 度とカウントされました。 現在、元の投稿のデモ アプリは修正されています。 Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは@MilanBrejlさん、 現在、Fuel Cyl 1 etpu ドライバを使用しようとしています。 ドライバは s24AngleNormalEnd を「開始角度」として使用し、s24AngleStop で噴射を停止するようです。 u24InjectionTime の持続時間は決して尊重されません。 それは可能ですか? .rarが添付されていますインジェクターパラメータが以下の「燃料シリンダー 1」のピコスコープ取得を含むファイル: Etpu_Fuel_Ip_ConfigType fuel_1_config = { .s24角度法線終了= DEG2TCR2(-180)、 .s24アングルストップ= DEG2TCR2(-360)、 .s24角度オフセット再計算= DEG2TCR2(-30)、 .u24注入時間= USEC2TCR1(1200)、 .u24補償時間= USEC2TCR1(0)、 .u24注入時間最小値= USEC2TCR1(0)、 .u24オフタイム最小値= USEC2TCR1(0)、 .eGenerationDisable= ETPU_FUEL_GENERATION_ALLOWED }; ピコスコープ取得では、正確に 180° で注入が開始され、360° で注入が停止し、注入持続時間が 30 ms (1.2 ms であるべき) であることが確認できます。 よろしく、フランチェスコ。 Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは@MilanBrejlさん、 現在、Fuel Cyl 1 etpu ドライバを使用しようとしています。 ドライバはs24AngleNormalEnd を「開始角度」として使用し、s24AngleStop ですべての噴射を停止するようです。 u24InjectionTime の持続時間は決して尊重されません。 それは可能ですか? .rarが添付されていますインジェクターパラメータが以下の「燃料シリンダー 1」のピコスコープ取得を含むファイル: Etpu_Fuel_Ip_ConfigType fuel_1_config = { .s24角度法線終了= DEG2TCR2(-180)、 .s24アングルストップ= DEG2TCR2(-360)、 .s24角度オフセット再計算= DEG2TCR2(-30)、 .u24注入時間= USEC2TCR1(1200)、 .u24補償時間= USEC2TCR1(0)、 .u24注入時間最小値= USEC2TCR1(0)、 .u24オフタイム最小値= USEC2TCR1(0)、 .eGenerationDisable= ETPU_FUEL_GENERATION_ALLOWED }; ピコスコープ取得では、正確に 180° で注入が開始され、360° で注入が停止し、注入持続時間が 30 ms (1.2 ms であるべき) であることが確認できます。 よろしく、フランチェスコ。 Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは@MilanBrejlさん、 おっしゃる通り、 s24AngleOffsetRecalc は正の数である必要がありますが、次のように記述します。 s24角度オフセット再計算 = DEG2TCR2(30) 結果は同じです(。 私は 16 チャネルの 2 つの ETPU (A と B) を備えた S32K364 を使用しています。 ETPUA で燃料ドライバーを使用するとドライバーは正常に動作しますが、ETPUB チャネル 0 を使用する必要があります。 私の必要性は、STAC レジスタを使用して、ETPUA から ETPUB に TCR1 と TCR2 を共有することです。 STAC レジスタが正しく初期化されていない可能性があります。 よろしく、フランチェスコ。 Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは@francescovicoさん、 これは、eTPU1 から eTPU2 に TCR1 と TCR2 を共有するように STAC_ENG1 および STAC_ENG2 レジスタを設定する方法です。 MilanBrejl_0-1770199430269.pngMilanBrejl_0-1770199430269.png 役に立つかどうか教えてください。 よろしくお願いいたします。 ミラノ Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは@MilanBrejlさん、 私のレジスターはあなたの提案と全く同じです: ETPU_A_B_REGISTER.pngETPU_A_B_REGISTER.png しかし、問題はまだ存在しています。 添付のピコスコープ取得では、ETPU A で生成されたスパークが青色で、ETPU B で生成されたスパークが赤色で確認できます。 両方のスパークの終了角度は 180 度、滞在時間は 8000 マイクロ秒です。 よろしく、フランチェスコ。   Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは@francescovicoさん、 私のサイトでもあなたの問題を再現し、根本的な原因を見つけました。両方の eTPU エンジン間で TCR1/TCR2 時間/角度バスを共有するだけでは不十分です。スパークおよび燃料機能は、実際のエンジン速度に基づいて時間を角度に変換します。TRR(ティック レート レジスタ)を使用します。このレジスタは、Angle Clock ロジックの一部であり、eTPU A で実行される Crank eTPU 機能によって管理されます。したがって、TRR の正しい値は eTPU A でのみ保持されます。次に、eTPU B TRR を使用した eTPU B の時間から角度への変換で間違った結果が返されます。 これはかなり基本的な問題で、おそらく両方の eTPU エンジンでエンジン制御を実行している人に会ったことがないので、これは解決されていません。特に、新しい S32K3 デバイスは 16+16 チャネルに制限されているため、これは重要になります。このユースケースを提起していただき、またお待ちいただきありがとうございます。 添付のデモ アプリケーションは、(このスレッド内の) 以前のものに基づいており、次の変更が追加されています。 Spark 2 チャネルは eTPU エンジン A から eTPU エンジン B に移動されます。 MilanBrejl_0-1770672522362.pngMilanBrejl_0-1770672522362.png チャネルマスクはそれに応じて更新されます MilanBrejl_1-1770672675064.pngMilanBrejl_1-1770672675064.png チャネルリンクは両方のエンジンの使用をサポートする必要があります(マクロ ETPU_IP_CHANNEL_TO_LINK を使用) MilanBrejl_2-1770672729220.pngMilanBrejl_2-1770672729220.png ピン構成が更新され、割り込み構成が更新されました Crank eTPU FW の新機能: eTPU FW イメージが更新されました。Crank 関数は両方のエンジンで実行でき、他の eTPU エンジンの TRR 値も更新できます。 この新機能では、クランク構成に1つの新しいパラメータを設定する必要があります。 MilanBrejl_4-1770673143063.pngMilanBrejl_4-1770673143063.png どこ MilanBrejl_3-1770673103441.pngMilanBrejl_3-1770673103441.png これが役に立つことを願います。 よろしくお願いいたします。 ミラノ Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは@MilanBrejlさん、 今では完璧に動作しています。 サポートしていただき本当にありがとうございます! よろしく、フランチェスコ。 Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは。私もK396基板について調べており、クランクシャフト、カムシャフト、オイルインジェクターにETPUを使用したいと考えています。この件についてもう少し詳しくお話しいただけますでしょうか? Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは、 @MilanBrejl 現在、S32K396を使用したV12 ECUプロジェクトに取り組んでいます。 最初のプロトタイプではlqfp176パッケージを使用する予定なので、このプロジェクトがそのパッケージで記述されているのを見て嬉しく思いました。crank_instanceでリンクチャネルを増やす方法はありますか? Etpu_Crank_Ip_InstanceType crank_instance = { . u8ChanNum = ETPU_CRANK_CHAN 、 . u8OtherEngChanNum = ETPU_CRANK_OTHER_ENG_CHAN 、 . ePriority = ETPU_PRIORITY_HIGH 、 . ePolarity = ETPU_CRANK_IP_POLARITY_FALLING 、 . u8TeethTillGap = TEETH_TILL_GAP 、 . u8TeethInGap = TEETH_IN_GAP 、 . u8TeethPerCycle = TEETH_PER_CYCLE 、 . u24Tcr2TicksPerTooth = TCR2_TICKS_PER_TOOTH 、 . u24Tcr2TicksPerAddTooth = 0 、 . eLogToothPeriods = ETPU_CRANK_IP_LOG_TOOTH_PERIODS_ON 、 . u32LinkCam = (( ETPU_IP_CHANNEL_TO_LINK ( ETPU_CAM_CHAN ) << 0 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_CAM_CHAN ) << 8 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_CAM_CHAN ) << 16 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_CAM_CHAN ) << 24 )) 、 . u32Link1 = (( ETPU_IP_CHANNEL_TO_LINK ( ETPU_SPARK_1_CHAN ) << 0 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_SPARK_2_CHAN ) << 8 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_SPARK_3_CHAN ) << 16 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_SPARK_4_CHAN ) << 24 )) 、 . u32Link2 = (( ETPU_IP_CHANNEL_TO_LINK ( ETPU_FUEL_1_CHAN ) << 0 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_FUEL_2_CHAN ) << 8 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_FUEL_3_CHAN ) << 16 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_FUEL_4_CHAN ) << 24 )) 、 . u32Link3 = (( ETPU_IP_CHANNEL_TO_LINK ( ETPU_KNOCK_1_CHAN ) << 0 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_KNOCK_2_CHAN ) << 8 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_INJ_BANK_1_CHAN ) << 16 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_INJ_BANK_2_CHAN ) << 24 )) 、 . u32Link4 = (( ETPU_IP_CHANNEL_TO_LINK ( ETPU_INJ_1_CHAN ) << 0 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_INJ_2_CHAN ) << 8 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_INJ_3_CHAN ) << 16 ) + ( ETPU_IP_CHANNEL_TO_LINK ( ETPU_INJ_4_CHAN ) << 24 )) 、 . pCpba = NULL_PTR 、 . pCpbaToothPeriodLog = NULL_PTR } ; eTPUエンジンAを12DI、12点火、クランク、右バンク吸気カム、右バンク排気バンクに、eTPUエンジンBを12PI噴射、左側カムインスタンスに使用したいと考えています。 あるいは、eTPUエンジンA(6DI、6点火、6PI、ノック、RHカムx2)、eTPUエンジンB(6DI、6点火、6PI、ノック、LHカムx2)かもしれません。 しかし、そのためにはあと2つリンクエントリが必要になります。しかも、他にも必要になりそうなものは数えていません。WMIとNitroも欲しいです。大変なプロジェクトだとは承知していますが、どなたかお手伝いいただけると本当にありがたいです。 私はeTPUプログラミング、そしてNXPのエコシステム全体について初心者です。 ご回答ありがとうございます。 リチャード Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは、@rudikakk11 さん。 現在のパラメータセットが .u32Link1 から .u32Link4(最大16チャネル) は次のように拡張されます .u32Link1から.u32Link12へ(最大48チャネル) あなたには合いますか? 敬具 ミラノ Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは、 @MilanBrejl それは完璧ですね! eTPUコンパイラはすべて有料ですか?念のために、他に改造や自作機能が必要になるかもしれない。 ご返信ありがとうございます。次回もよろしくお願いいたします! リチャード Re: eTPU crank, cam, injections and Ignitions on S32K3 こんにちは、 @MilanBrejl もう一つ質問です。GDIエンジンの高圧燃料ポンプ(HPFP)はどのように制御するのですか?ライブラリの中にそれに対応する関数が見つかりませんでした。 私の考えでは、インジェクションインスタンスを使うのが良いだろうと思いました。 よろしくお願いいたします。 リチャード Re: eTPU crank, cam, injections and Ignitions on S32K3 はい、INJ機能はさまざまな機能をサポートするのに十分汎用的だと思います。しかし、あなたの要望が分かりません。 Re: eTPU crank, cam, injections and Ignitions on S32K3 更新されたクランク機能はeTPUファンクションセレクタにあります: https://www.nxp.com/webapp/etpu_cw/ 最大48チャネルのストール接続に対応しています。
View full article
S32 设计工作室许可证问题 您好。 我最近更换了笔记本电脑,并在新电脑上重新安装了S32设计工作室。 但是,我遇到了许可证激活错误——软件无法激活,因为许可证仍然绑定到我之前的笔记本电脑上。 我尝试通过 NXP 许可证管理器退回许可证,但收到一条消息,称许可证无法退回。 请问您能否帮我从旧电脑上停用/释放许可证,以便我可以在新笔记本电脑上激活它?(我的)许可证密钥为 81B8-B707-440D-FE7C) 谢谢你的帮助。 Re: S32 Design Studio License Problem 你好, 可用许可证数量已增加。 Re: S32 Design Studio License Problem 你好。我的情况也一样。我无法退回许可证,因此无法在另一台机器上安装 S32 DS。请问您能帮忙吗?
View full article
Linux QoriQ 上的 PREEMPT_RT 您好, 我们目前使用的是linux-6.12-rt分支的 NXP QorIQ Linux 内核,但我们希望升级到更新的内核版本,可能是 Linux 6.18。 关于RT内核支持和分支策略,我有几个问题: linux-6.12-rt和lf-6.12.y之间到底有什么区别? 是否计划像linux-6.12- rt那样,创建一个独立的linux-6.18- rt分支? 如果不是, lf-6.18.y是否可以直接与CONFIG_PREEMPT_RT=y一起使用? 我的理解是, linux-6.12-rt相对于lf-6.12.y包含了额外的与 PREEMPT_RT 相关的更改。然而,从 Linux 6.12 开始,核心 PREEMPT_RT 支持已经合并到上游内核中: https://kernel-internals.org/locking/preempt-rt/ 与此同时,我可以看到,RT 的特定开发和稳定的 RT 补丁版本仍然在上游独立地继续发布。 鉴于此,我想了解 NXP QorIQ 新版本是如何处理这个问题的。 对于 Linux 6.18,我们是否应该直接使用lf-6.18.y分支,并将CONFIG_PREEMPT_RT 设置为 y ,其中已经包含了所有 NXP 特有的 PREEMPT_RT 更改? 或者,是否仍计划发布一个单独的 QorIQ RT 分支/版本,其中包含在lf-6.18.y之上的额外 RT 补丁? 如果没有单独的 RT 分支计划,NXP 是否建议在lf-6.18.y的基础上应用任何额外的 RT 补丁? Re: PREEMPT_RT on Linux QoriQ 你好, 对于QorIQ/Layerscape ,不要假设 lf-6.18.y 加上 CONFIG_PREEMPT_RT=y 等同于 NXP 支持的 RT 版本。NXP 目前的实时边缘技术资料显示,Linux PREEMPT_RT 6.18 版本基于 LF 6.18,而内部开发则跟踪一个单独的下游 RT 补丁堆栈。 请使用匹配的 NXP 6.18 RT 版本,最好是适用于您的 QorIQ 平台的最新版本。请将您当前的 linux-6.12-rt 版本进行比较与相应的 LF 6.18 基础进行树状结构比较,但不要假设仅启用 CONFIG_PREEMPT_RT=y 就包含了所有 NXP 特有的 RT 更改。 同时验证: 架构支持 ARCH_SUPPORTS_RT ; NXP 网络、DPAA/DPAA2、ENETC、DSA、TSN、PTP 和中断行为; 典型负载下的延迟; NXP 下游堆栈中任何特定于驱动程序的 RT 补丁。 上游文章的主要限定条件也同样重要:PREEMPT_RT 在 6.12 版本中成为主线可选选项,但其支持取决于架构,并不意味着每个供应商的驱动程序都已验证其确定性行为。 此致 Re: PREEMPT_RT on Linux QoriQ 所以,如果你指的是下一个基于 6.18 的版本。RT 更新,目前的路线图指向Real-Time Edge 3.6 将于 2026 年 12 月发布。 请注意,标准的 i.MX Linux BSP(而非 RT)已经有了更新的 6.18 版本,包括2026 年 9 月 24 日发布的 6.18.37 版本。 此致 Re: PREEMPT_RT on Linux QoriQ 谢谢你的解释。您知道NXP Linux 6.18 RT支持版本大概什么时候发布吗?
View full article
i.MX 95 NPU NXP团队您好, 我们正在评估 i.MX 95 在边缘 AI 应用方面的性能,并希望了解其实际的 NPU 性能和基准测试信息。 根据最新的 i.MX 95 工业数据表,神经处理单元 (NPU) 的规格为:1 GHz 时 8 eTOPS,NPU 可以以 800 MHz 运行以降低功耗,NPU 内部有 1 MB 嵌入式 SRAM。 然而,i.MX 95 参考手册似乎表明 NPU 性能高达 2 TOPS。 NXP能否澄清以下问题: 1)最新数据表中规定的 8 eTOPS 与参考手册文档中提到的 2 TOPS 之间存在差异的原因是什么?(这是每个核心的性能吗?因为它有 4 个中子核) https://www.nxp.com/docs/en/data-sheet/IMX95XEC.pdf https://www.nxp.com/docs/en/reference-manual/IMX95RM.pdf 2)8 eTOPS 这个数值是否代表 NPU 在 1 GHz 下的理论峰值性能? 3)本规范中的“eTOPS”究竟代表什么? 4) 8 eTOPS 能力是否在所有 i.MX 95 型号上都可用,还是取决于具体的 SoC 订购/部件号? 5) i.MX 95 各版本之间的 NPU 配置是否存在差异,可以解释 8 TOPS 与 2 TOPS 的性能差异吗? 6) NXP 能否提供实际的 NPU 基准测试结果,而不仅仅是理论上的 TOPS/eTOPS 数值? 7) 您能否提供 i.MX 95 NPU 和 i.MX 8M Plus NPU 在相同型号、输入分辨率和精度下的基准测试对比? 对于输入来自摄像头的应用,NXP能否提供一个完整的端到端示例来展示: 摄像头 → ISP → 预处理 → NPU 推理 → 后处理 对于一个具有代表性的目标检测模型,其可达到的帧率/延迟是多少? 😎 对于实际的 INT8 CNN 工作负载,通常可以达到宣传的 NPU 峰值性能的多少? 9) NXP 是否有任何公开可用的工具或基准测试套件推荐给客户,用于测量 i.MX 95 EVK 上的 NPU 性能? 谢谢 Re: i.MX 95 NPU 你好, eTOPS 和 TOPS 是根据不同的测试方法测量的。 eTOPS 是以 imx8mp NPU 为参考计算出的值。例如,如果imx8mp的性能为2 TOPS,那么imx95 NPU的性能经计算是imx8mp NPU的4倍,即8 eTOPS。   由于 NPU 的架构不同,使用 TOPS 可能无法真正反映其性能,因此改用 eTOPS。   NPU imx8mp/imx95 之间没有直接的比较,但以下示例或许能让您了解NPU 在 iMX95 上无法正常工作的情况:iMX 8M 机器学习演示 | NXP 半导体   推荐工具和基准测试:   eIQ AI 工具包 它提供了一个 i.MX 95 工作流程,用于将量化的 TensorFlow Lite 模型转换为 Neutron 兼容格式,并在目标上分析模型。 eIQ Neutron SDK Neutron 转换工具可将 TFLite 模型转换为 Neutron 兼容格式,并可在转换过程中生成模拟 NPU 性能统计数据。 TensorFlow Lite/LiteRT benchmark_model NXP 的 i.MX 95 功率测量应用笔记使用 benchmark_tool 和转换后的 INT8 MobileNet 模型。这是目前进行可重复目标推断测量的最合适工具。 中子剖面分析
View full article