Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
Example S32K344 UART Transmit & Receive Using DMA DS3.5 RTD300 *******************************************************************************  The purpose of this demo application is to present a usage of the  UART IP Driver for the S32K3xx MCU.  The example uses LPUART6 for transmit & receive five bytes using the DMA.  ------------------------------------------------------------------------------ * Test HW: S32K3X4EVB-T172 * MCU: S32K344 * Compiler: S32DS3.5 * SDK release: RTD 3.0.0 * Debugger: PE micro * Target: internal_FLASH ******************************************************************************** Dinesh_Guleria_0-1718197381145.png Dinesh_Guleria_1-1718197381161.png Putty output :-- Dinesh_Guleria_2-1718197434242.png Re: Example S32K344 UART Transmit & Receive Using DMA DS3.5 RTD300 Hi @Dinesh_Guleria , Can we use DMA without Autosar (RM CDD)?  Re: Example S32K344 UART Transmit & Receive Using DMA DS3.5 RTD300 @Dinesh_Guleria  do you have an example of DMA UART in RTD 4.0.0?
查看全文
Solyball Cooling Ace Designed for Modern Living Solyball When temperatures begin to rise, maintaining a comfortable indoor environment becomes a priority for many people. Whether at home, in the office, or in a personal workspace, excessive warmth can affect concentration, relaxation, and overall comfort. This is where Solyball offers a convenient and practical solution. Designed with portability, simplicity, and modern living in mind, Solyball is a compact cooling device that helps users create a more pleasant atmosphere in a variety of indoor settings. One of the most notable features of Solyball is its lightweight and portable design. Unlike large cooling systems that can be difficult to move or require significant space, Solyball is compact enough to fit comfortably in almost any room. Its portable nature allows users to carry it from one location to another with ease, making it suitable for use throughout the day as needs change. Whether you are working in a home office, relaxing in the living room, or preparing for a restful night's sleep, Solyball can be positioned wherever additional comfort is desired. The versatility of Solyball makes it a valuable addition to many different indoor environments. In bedrooms, it can help create a more enjoyable atmosphere during warm evenings. Comfortable sleeping conditions are important for overall well-being, and a compact cooling device can contribute to a more pleasant bedtime experience. Solyball's convenient size allows it to fit neatly on a bedside table or nearby surface without creating clutter. For professionals and remote workers, Solyball maintaining a comfortable workspace can be essential for productivity. Warm indoor temperatures may sometimes make it difficult to stay focused on tasks and responsibilities. Solyball offers a practical way to improve comfort while working, helping users create a more pleasant environment throughout the day. Its compact footprint means it can sit conveniently on a desk or workstation without occupying excessive space. Solyball Living rooms and shared family spaces can also benefit from the convenience of Solyball. These areas often serve as central gathering points where people spend time watching television, reading, socializing, or simply relaxing. By incorporating Solyball into these spaces, users can enjoy a more comfortable atmosphere while going about their daily activities. Its modern appearance ensures that it blends naturally with contemporary home décor.
查看全文
Flutter 在 IMX93 上的运行 你好 我有一个 IMX93 主板,我想在上面运行一个 Flutter 程序。我在 CPU 使用率方面遇到了很大问题(显示一个每秒刷新一次的时钟的静态画面时,CPU 使用率约为 20%% ;而滚动包含图片的整页内容时,CPU 使用率则超过 90%% )。这主要取决于栅格(在静态屏幕上,每秒约180毫秒)。我正在尝试启用 PxP,但要么是我无法启用,要么是 Flutter 无法使用它进行栅格化。 我看到 Flutter 使用的 API 包括 OpenGL ES、Vulkan 和 Metal,因此我不确定是否可以使用 PXP 来辅助 CPU。  谢谢!
查看全文
SPI Underrun Hello: I am using the SPI of S32K312 as a slave to communicate with external devices, in the actual test I found that it works fine when the SPI bus is 5MHZ, but because of the demand I need the SPI to communicate at 10MHZ rate, the test found that the trigger event of SPI is LPSPI_IP_EVENT_FAULT and the SPI is configured for DMA, I have set the DMA in the void Lpspi_Ip_IrqTxDmaHandler(uint8 Instance). void Lpspi_Ip_IrqRxDmaHandler(uint8 Instance);Interrupt point observation to SR register for observation. Found out that triggering RX first at this point SR = 6914, after that it will return to the callback function I registered, then triggering TX at this point SR = 3; By checking the datasheet I found out that an SPI underflow and FIFO overflow problem occurs when triggering the RX. I have run the slave's asynchronous transceiver program Lpspi_Ip_AsyncTransmit before the host initiates the communication, I would like to know why and how this problem occurs, and how I can optimize it hope to get some suggestions. Attached is my SPI configuration. Re: SPI Underrun Hello @siyuanzhengwei, What do you mean by this statement: "Without monitoring the slave device's SPI interrupt trigger events, the master device can receive the correct data sent by the slave device." TX underrun (SR[TEF]) is set only when the master starts the transfer while the slave TX FIFO does not contain valid data, i.e. the driver or DMA did not write the next data word in time. There is no other condition under which this flag is set. Therefore, this error cannot be explained by SPI signal quality; it indicates that the slave transmit path was not serviced early enough before or during the transfer. BR, Daniel Re: SPI Underrun Hello: I roughly say the workflow, MCU slave will start the first reception after power on, the external master device sends about 15ms to initiate a communication, after that the slave will be based on the information received to parse and send the corresponding data, in the not pay attention to the slave SPI interrupt triggering event, the host is able to receive the correct data sent by the slave. There is about 10ms from the first time the slave calls Lpspi_Ip_AsyncTransmit to the time the host initiates the communication, and the SPI error occurs not after a period of time, but the first time the communication is faulty. I call the slave's Lpspi_Ip_AsyncTransmit every 2ms through a timer, 10ms should be enough time to prepare the data, but every SPI trigger event is FAULT, I have used a logic analyzer to check the waveform of the data, and I can observe the correct send/receive data, but through the oscilloscope to observe the quality of the signal is not good and not a smooth square wave. The signal quality is not very good and not a smooth square wave, is it possible that this is also related to the signal quality? Re: SPI Underrun Hi @siyuanzhengwei, The return status of Lpspi_Ip_AsyncTransmit is LPSPI_IP_STATUS_SUCCESS because this is an asynchronous transfer (it only indicates that the transfer was started, not completed). The key issue is the TX underrun (SR[TEF]). This means the slave did not have data available in the TX FIFO when the master started clocking. In SPI slave mode, the TX FIFO must be populated before the master asserts CS and starts the transfer.  The RTD drivers introduce some overhead, and starting the transfer on the slave side takes time. As a result, Lpspi_Ip_AsyncTransmit is called too late and the first data words are not ready in time. Do you monitor the TX line with an oscilloscope? What do you measure there? Regards, Daniel Re: SPI Underrun One more piece of information to add; although the SPI trigger event is LPSPI_IP_EVENT_FAULT, the return status of Lpspi_Ip_AsyncTransmit is LPSPI_IP_STATUS_SUCCESS, the LpspiHwStatus is LPSPI_IP_BUSY, and the received data again is correct.
查看全文
IMX8mp gstreamer vpuenc_h264 プロファイルとレベルを設定 当社では、カスタムボード上にIMX8mpを搭載し、NXP Yocto Hardknottをベースプラットフォームとして使用しています。 ハードウェアH264エンコーダーであるvpuenc_h264プラグインを使用して、カメラストリームをH264/MP4に圧縮/エンコードしています。 基本的な例としては、次のようなものがあります。 gst-launch-1.0-v videotestsrc num-buffers=100 !video/x-raw、幅=720、高さ=576、フレームレート=25/1 !vpuenc_h264 !video/x-h264,profile=main !h264parse !mp4mux fragment-duration=10 !filesink location=/tmp/Video1.mp4 しかし、vpuenc_h264 は profile= および level= ストリームパラメータを無視するようです。imx-gst1.0-plugin を見てみるとコードには、H264プロファイルを設定する機能がないようです。 GStreamerのパラメータを使用してH264ハードウェアエンコーダのプロファイルを設定する機能はありますか? インターネットで、この設定をVPUのハードウェアレジスタにハードコーディングする必要があることを示唆する情報を見かけたのですが、実際はどうなのでしょうか? 代替案(コミュニティ?)があることに気付いた。gstreamer1.0-plugins-imxこのプラグインはプロファイルとレベルをサポートしているようです。これは、NXP fsl-nxp-bsp-hardknott Yoctoビルドのソフトウェアモジュール/カーネルでは使用できないということでしょうか? Re: IMX8mp gstreamer vpuenc_h264 set profile and level 裏付けとなるご意見をありがとうございます。 私も同様に、v4l2-ctl -d /dev/video1 --all がこれらのエンコーダーパラメータに関して誤解を招くような表示をしており、変更可能であるかのように誤って示唆し、「high」がデフォルトのプロファイルであるかのように見せかけているのを目にしました。 Re: IMX8mp gstreamer vpuenc_h264 set profile and level はい、ご指摘ありがとうございます。 NXPの公式ドキュメントは通常入手困難なため、インターネット検索やコードの確認を通して私が収集した情報を他のユーザー向けに以下にまとめました。 H264エンコーディングプロファイルは、vpu_wrapper内でBaselineにハードコーディングされています。例えばこれをMainlineに変更すると(vpu_wrapperを再構築する)、H264ストリームがMainlineとしてマークされます。実際の圧縮率が異なるかどうかは分かりません。 レベルは、ビデオの解像度に基づいてvpu_wrapperによって設定されます。このレベルをH264ストリームにタグ付けする以外に、何か影響があるかどうかは分かりません。どうやら、vpu_wrapperの古いバージョンには、このレベルを誤って設定するバグがあったようです。 ビットレートを指定しない場合、少なくともgstreamerのvpuenc_h264レベルでは、結果として得られるストリームのビットレートは非常に低くなり、したがって非常に低品質になります(少なくとも私たちのビデオストリーム(通常は静止画で、時折動きがある)の場合)。ビットレートを設定しない場合、H264エンコーダーは私が知らない何らかの可変ビットレートアルゴリズムを使用することになります。 NXPへのフィードバック: H264エンコーダーのプロファイル、レベル、ビットレートに関するドキュメントが必要であり、おそらく「i.MX Linuxリファレンスマニュアル」または他の場所に記載されているでしょう。 NXPのgstreamer vpuenc_h264コードは、gst-inspect-1.0でモジュールに関する情報を一覧表示する際に、この点について言及すべきです。なぜなら、多くのエンドユーザーがこのレベルで作業を行うからです。 Re: IMX8mp gstreamer vpuenc_h264 set profile and level こんにちは、 @TerryBarnaby1 さん。 お元気でお過ごしでしょうか。   関連情報については、下記のスレッドをご覧ください。 https://community.nxp.com/t5/ i-MX-プロセッサ/Encoding-H-264-amp-H-265-using-vpu-wrapper-h/mp/1347610   この情報がお役に立てば幸いです。   ありがとう、よろしく。 ドゥルヴィット・ヴァサヴァダ Re: IMX8mp gstreamer vpuenc_h264 set profile and level 同様に、デバイスはforce_key_frame ( V4L2_BUF_FLAG_KEYFRAME )が使用可能であると誤って宣伝しているようですが、実際には、私がそれを送信してもVPUによって完全に無視されているようです。
查看全文
S32K3 - 電源ドメインとコントローラブロックの概要 どの電源ドメイン (V11、V15、VDD_HV_A、VDD_HV_B など) がコントローラー上のどのブロックに電力を供給しているかの概要はありますか?特に、V11、V15、VDD_HV_A、VDD_HV_B については、どのペリフェラルがどの電源ドメインから供給されるかについての説明が見つかりませんでした。データシートの表 2 の絶対最大定格では、非常に大まかな説明のみが記載されています。 Re: S32K3 - Overview power domains supplies versus controller blocks 迅速なご対応ありがとうございます。 Re: S32K3 - Overview power domains supplies versus controller blocks こんにちは@DirkEtzlerさん、 S32K3—パワーマネージメントトレーニングプレゼンテーションを参照してください。 Julin_AragnM_1-1771518891378.png モジュールについては、S32K3XX リファレンス マニュアルの31.7 章(モジュール リセット ステータス) を参照してください。この章には、どのモジュールがどのドメイン (スタンバイまたは実行) にあるかが記載されています。 使用しているデバイスに応じて、PMC のブロック図については、第 42/43/44/45 章(電源管理) を参照してください。 Julin_AragnM_2-1771519284572.png 最後に、Excel シートS32K3XX_IOMUX.xlsx (S32K3 リファレンス マニュアルの埋め込み添付ファイル) の「IO 信号テーブル」タブの「I/O 電源ドメイン」列で、どのパッドがレールVDD_HV_Aに関連し、どのパッドがVDD_HV_Bに関連しているかを確認できます。 よろしくお願いします、 ジュリアン
查看全文
HAB ブート可能イメージ生成用の SREC ファイルの作成 アプリケーションイメージを MIMXRT1170 ( EVKB ボード) の NOR フラッシュにフラッシュするためのコマンドライン ツールを生成しています。 nxpimage ツールは、次のように axf/elf ファイルから SREC 形式のファイルを作成するのに役立つことがわかっています。 nxpimage utils バイナリイメージ変換-i " %AXF_FILE% " -f s19 -o " %SREC_FILE% "   しかし、生成されたSRECファイルは、MCUXpresso Secure Provisioning Toolを使用した際に生成されるSRECファイルとは内容とアドレス指定が異なります。MCUXpresso Secure Provisioning Toolを使用してelf/axfファイルを読み込み、ブートイメージを作成すると、MCUXpresso Secure Provisioning Toolのワークスペースのソースフォルダにsrecファイルと解析済みdcdファイルが追加されます。MCUXpresso Secure Provisioning Toolによってこれらのsrecファイルと解析済みdcdファイルがどのように生成されるのかを知りたいです。また、CLIツールを使用してSREC/elf/axfファイルから解析済みdcdファイルを個別に抽出する方法があるかどうかも確認したいと思っています。   MCUXpresso セキュア プロビジョニング ツールを CLI から呼び出してプロセス全体を自動化できることはわかっていますが、nxpimage ツールと blhost ツールだけで MCU をフラッシュできるスクリプトを作成しようとしています。     Re: Creating SREC file for HAB bootable image generation こんにちは@tj787さん、 ここでわかるのは、次のコマンドがこの出力を指定された「parsed-directory」に作成しているということです。 nxpimage.exe hab parse -f mimxrt1176 -o 解析ディレクトリ -b my-application-with-dcd.bin Kan_Li_0-1770780123329.png お役に立てれば幸いです。 すてきな一日を、 カン --------------------------------------------------------------------------------- 注記: - この投稿があなたの質問への回答である場合は、「正解としてマーク」ボタンをクリックしてください。ありがとう! - スレッドは最後の投稿から7週間フォローされます。それ以降の返信は無視されます。 後ほど関連する質問がある場合は、新しいスレッドを開いて、閉じたスレッドを参照してください。 ---------------------------------------------------------------------------------
查看全文
[ABB] [SE050C][Nano-package][Zephyr] setting PlatformSCP hello  Customer ABB is using SE050C1 via nRF5340 + Zephyr, he in integrating our nano-package MW. It is needed to communicate in SCP03 I suppose that first step is to compile the nanopackage library accordingly, and I believe there is a unique define involved at that stage which is CONFIG_PLUGANDTRUST_SCP03 Can I ask you how to configure it / define it ? Is it a preprocessor define that need to be passed to CMake ? Also I see that there is another define whici is PLUGANDTRUST_SE05X_AUTH that need to be set to PlatformSCP03 How does this one relate to CONFIG_PLUGANDTRUST_SCP03 ? Thank you, Mehdi Re: [ABB] [SE050C][Nano-package][Zephyr] setting PlatformSCP thank you Michael Would the right compilation flow be like ? step1 - on the one hand, use CMake to build the mw library (with CONFIG_PLUGANDTRUST_SCP03 being defined in the Cmake option) step 2 - compile the Zephyr exemple with CONFIG_PLUGANDTRUST_SCP03=y in the .proj file I understand that only CONFIG_PLUGANDTRUST_SCP3 need to be declared in the proj file, while CONFIG_PLUGANDTRUST_SCP03 is rather a Cmake option is that correct ? Mehdi Re: [ABB] [SE050C][Nano-package][Zephyr] setting PlatformSCP Hello Mehdi, for the defines: CONFIG_PLUGANDTRUST_SCP03 : Enables the SCP03 code/libraries in the build (includes SCP03 source files, crypto dependencies) PLUGANDTRUST_SE05X_AUTH=PlatformSCP03 : Tells the runtime code to actually USE SCP03 authentication when communicating with the SE050 Both must be set for SCP03 to work properly. For zephyr compilation the defines can be set in the zephyr prj.conf file, by default all is off: CONFIG_PLUGANDTRUST_SCP03=n CONFIG_PLUGANDTRUST_ECKEY=n CONFIG_PLUGANDTRUST_ECKEY_SCP03=n CONFIG_PLUGANDTRUST_SM_APDU_MUTEX=n   In this way no cmake config change is necessary.   KInd regards, Michael Re: [ABB] [SE050C][Nano-package][Zephyr] setting PlatformSCP Hello Mehdi,  only thing need to be done for using platform scp is:  in prj.conf file  set this: CONFIG_PLUGANDTRUST_SCP03=y I tested nano package with zephyr: 1.  in prj.conf file inside the example folder (example : ..\workspace\modules\crypto\nxp-plugandtrust\examples\se05x_GetInfo\zephyr\prj.conf) , only set this: CONFIG_PLUGANDTRUST_SCP03=y 2. build example: >west build -b frdm_k64f modules/crypto/nxp-plugandtrust/examples/se05x_GetInfo/zephyr --pristine 3. flash binary : C:\nxp\workspace\build\zephyr\zephyr.bin to k64  and it works. kind regards, Parth
查看全文
S32DS v3.5 - 在创建项目时不可见 SDK& OpenSDA 调试问题 (S32K144) MCU:S32K144 板:S32K144 EVB(板载 OpenSDA) 集成开发环境:S32 Design Studio v3.5 SDK:S32K1xx SDK v4.0.1 操作系统:Windows 11 问题 1:创建项目时看不到 SDK 已成功安装 S32K1xx SDK v4.x,可在下面看到:   首选项→ S32 Design Studio → SDK 管理   但是,在创建新的 S32DS 应用程序项目时,"选择要附加的 SDK "列表是空的,没有 SDK 出现。 发生在S32DS v3.5中 SDK 在首选项中可见,但在创建项目时无法选择 问: S32DS v3.5和S32K1xx SDK v4.x 之间是否存在已知的兼容性问题? 建议 v3.5 使用哪个 SDK 版本? 问题 2:使用板上 OpenSDA (peMicro) 调试失败 在板载 O penSDA 上使用 GDB peMicro 接口调试时,我经常会遇到以下错误: "启动 GDB 服务器任务遇到问题" "执行 MI 命令失败:-exec-run" "不知道怎么跑。试试'帮助目标'" 说明: 板被检测为 OpenSDA USB 设备 即使是基本的hello_world也会出现问题 重新刷新 OpenSDA 固件后有时能正常工作 在S32DS v3.5中发生得更频繁 问题: v3.5 中 是否完全支持板载 OpenSDA,还是推荐使用外部调试器? 申请它 请告知: 针对 S32K144 推荐的S32DS + SDK版本组合 SDK 附件和 OpenSDA 调试的已知问题或变通方法 谢谢! Re: S32DS v3.5 – SDK not visible during project creation & OpenSDA debug issues (S32K144) 你好@mahesh7、 一般来说,SDK 不再得到支持和维护。 最后一个版本 - S32 SDK for S32K1xx RTM 4.0.2 - 用于 S32DS 3.4。 请使用 S32K1 的实时驱动程序而不是 SDK: S32K1_S32M24X 实时驱动程序 AUTOSAR 4.4 & R21-11 版本 2.0.0 适用于 S32DS 3.5 S32K1_S32M24X 实时驱动程序 AUTOSAR R21-11 版本 3.0.0 适用于 S32DS 3.6 可以从页面访问实时驱动程序 (RTD) https://www.nxp.com/products/S32K1软件部分。 顺祝商祺! 帕维尔 Re: S32DS v3.5 – SDK not visible during project creation & OpenSDA debug issues (S32K144) 你好@PavelL、 感谢您对 SDK 的弃用以及对 S32K1 使用实时驱动程序 (RTD) 的建议的澄清。 根据建议,我已将S32 Design Studio 3.5移至RTD。不过,我目前在RTD 的安装和使用方面也遇到了问题,尤其是在创建项目和调试时。 我面临的问题是 RTD 软件包似乎已安装,但是在创建新应用程序项目期间,RTD 并非总是可以选择或正确识别的 即使创建了项目,我在调试过程中也会遇到问题,例如调试器无法启动,或者目标程序无法在 main() 处停止。 如果您能提供或指点我一个分步骤的程序,包括S32DS 3.5 和 RTD 的完整工作流程,将对我非常有帮助: S32DS 3.5 和热电阻的正确安装顺序 如何验证S32DS 内部的RTD 安装情况 创建基于 RTD 的新项目的正确步骤 所需项目设置(编译器、SDK/RTD 路径等) 推荐的调试探针和调试配置 在 S32DS 3.5 中使用热电阻进行调试时的任何已知限制或常见陷阱 这些详细的指导将大大有助于建立稳定的开发和调试环境。 感谢您的支持。 致以最诚挚的问候, @mahesh7 Re: S32DS v3.5 – SDK not visible during project creation & OpenSDA debug issues (S32K144) 你好@mahesh7、 请查看以下相关链接: 安装 -https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-offline-install-S32K1-RTD-2-0-0-in-S32DS-v3-5/ta-p/1927845 创建新项目 -https://community.nxp.com/t5/S32-Design-Studio/Install-SDK-RTD-into-S32-Design-Studio/m-p/1779464 上述主题的解决方案中有几个相关链接。 具体到 S32K1,要查看可用的 SDK/RTD,可能需要选择工具链的上一版本。 推荐的调试探针取决于您的要求,例如: 多链路调试探器:适用于许多 ARM 和 8-/16/32 位设备的调试探器 世纪佳缘 J-Link 调试探头 劳特巴赫 TRACE32 调试和跟踪解决方案 顺祝商祺! 帕维尔 Re: S32DS v3.5 – SDK not visible during project creation & OpenSDA debug issues (S32K144) 你好@PavelL、 谢谢你的参考。我使用 S32K1 SDK RTM 4.0.3 安装了 S32DS v3.4,并开始使用建议的设置创建项目。在运行 SDK 示例项目(FTM、ADC、UART、GPIO)时,我仍然会遇到版本和集成问题,希望获得有关同时使用 ConfigTools、生成的代码和 SDK 驱动程序的推荐工作流程的指导。您能否还阐明可靠地导入和构建 SDK 示例的正确方法?此外,查看运行日志的推荐工具是什么?S32DS 是否提供串行终端,还是应该通过 OpenSDA 虚拟 COM 端口使用 PuTTY?如果能就所需的驱动程序和调试工具提出建议,将非常有帮助。 Re: S32DS v3.5 – SDK not visible during project creation & OpenSDA debug issues (S32K144) 你好@mahesh7、 示例流程可能是这样的 根据示例创建项目 打开配置工具 修复所有错误(如果有 检查外围设备的引脚、时钟和设置(如果所有设置都符合板要求) 更新源代码 返回代码 - S32DS C/C++ 构建 闪存 调试时可使用 printf() -已解决:如何在 S32DS.3.5 中使用 printf 函数?- 恩智浦社区 你可以使用 S32设计工作室知识库——恩智浦社区作为参考点。 顺祝商祺! 帕维尔
查看全文
IMX8QX DDR RPA_tool 構成、レジスタ情報が欠落しています こんにちは、 IMX8QX 上の DDR3L 用の RPA_tool の構成に記載されているいくつかのレジスタに関する情報が必要です。次のようなレジスタ アドレスが記述されています。 0x41C80044 0x41C80208 0x41C80204 0x41C82C00 0x41C83800 しかし、それらはドキュメントのどこにも記載されていません。 それぞれの機能と設定フィールドを教えていただけますか。 よろしくお願い申し上げます。 Re: IMX8QX DDR RPA_tool configuration, missing register information こんにちは、 @CPE さん。 この設定ファイルは、サードパーティのIPベンダーによって提供されています。ポイント付きレジスタはNDAドキュメントには表示されていません。i.MX8X実装の場合、提供された値以外に選択肢はないとご理解ください。 よろしくお願いいたします。
查看全文
i.MX95 VPU H265 latency and performance(v4l2h265enc/v4l2h265dec) Hello, I am currently evaluating the H265 decode → encode pipeline on i.MX95 and I am observing significantly worse latency and stability compared to i.MX8MP, using similar workloads and configurations. Context On i.MX8MP, using: imxvpudec_h265 vpuenc_hevc I am able to achieve: Very low end-to-end latency (≈ 10 ms) Stable operation with multiple streams No visible freezes or artifacts On i.MX95, using: v4l2h265dec v4l2h265enc I observe: ~90 ms latency for a single decode → encode pipeline Freezes and visual artifacts when running 4 simultaneous camera streams Test pipeline To reproduce the issue, I used IP cameras (H265 over RTSP) with the following pipeline: test-launch "( rtspsrc location=rtsp://10.42.0.85 drop-on-latency=true latency=0 buffer-mode=4 ! rtph265depay ! h265parse config-interval=1 ! v4l2h265dec ! v4l2h265enc ! rtph265pay name=pay0 pt=96 )" This pipeline works correctly with a single camera, but when scaling to 4 cameras, freezes and artifacts start to appear. Questions Why is the H265 VPU pipeline on i.MX95 significantly more latent than on i.MX8MP? Is DMABUF zero-copy fully supported between v4l2h265dec and v4l2h265enc on i.MX95? If not, is there an implicit memory copy that could explain the additional latency and bandwidth pressure? Are there known limitations in the current i.MX95 VPU driver regarding: Low-latency operation Multi-stream decode + encode Internal buffering depth Are there recommended V4L2 controls or io-modes (capture/output-io-mode) to minimize latency on i.MX95? Is the i.MX95 VPU driver expected to reach performance parity with i.MX8MP in future BSP releases, or is the higher latency an inherent design tradeoff? Goal My objective is real-time, low-latency video processing (decode → process → encode), similar to what is achievable on i.MX8MP. Thank you for your support. Re: i.MX95 VPU H265 latency and performance(v4l2h265enc/v4l2h265dec) Hello, Which BSP version are you using on i.MX8MP and i.MX95 to recreate this issue? Are you using the same GST pipeline (other than the decoder/encoder elements) on both 8MP and 95? AFAIK, there is no known limitation that results in high latency on i.MX95. On i.MX95, encoder support mmap and dmabuf, which can make a pipeline to transfer dma-buf without copy b/w decoder and encoder. Does the IP camera encode without B frames? Then we can disable decode frame reorder, which will reduce the latency. Please check this. You can disable frame reorder using below v4l2 control " v4l2h264dec extra-controls="decode,display_delay_enable=1,display_delay=0" " You can list all v4l2 controls using below command: v4l2-ctl -l -d Regards Re: i.MX95 VPU H265 latency and performance(v4l2h265enc/v4l2h265dec) The kernel versions: imx95: 6.6.101-0 imx8mp: 6.6.84-0 Yes it is the same gstreamer pipeline. The IP camera encode without B frames. I tired your command and it doesn't solve the issue. There are still artifacts on the screen and the latency is high. However qualitatively speaking, it seems to remove the freezes. ``` v4l2-ctl -l -d /dev/v4l/by-path/platform-4c480000.vpu-video-index0 User Controls min_number_of_capture_buffers 0x00980927 (int) : min=1 max=32 step=1 default=1 value=1 flags=read-only thumbnail_mode 0x00981901 (bool) : default=0 value=0 flags=write-only Codec Controls h264_profile 0x00990a6b (menu) : min=0 max=4 default=0 value=0 (Baseline) hevc_profile 0x00990b67 (menu) : min=0 max=0 default=0 value=0 (Main) display_delay 0x00990b8d (int) : min=0 max=0 step=1 default=0 value=0 display_delay_enable 0x00990b8e (bool) : default=0 value=0 ``` ``` v4l2-ctl -l -d /dev/v4l/by-path/platform-4c480000.vpu-video-index1 User Controls horizontal_flip 0x00980914 (bool) : default=0 value=0 vertical_flip 0x00980915 (bool) : default=0 value=0 rotate 0x00980922 (int) : min=0 max=270 step=90 default=0 value=0 flags=modify-layout min_number_of_output_buffers 0x00980928 (int) : min=1 max=32 step=1 default=1 value=1 flags=read-only Codec Controls video_gop_size 0x009909cb (int) : min=0 max=2047 step=1 default=30 value=30 video_bitrate_mode 0x009909ce (menu) : min=0 max=1 default=1 value=1 (Constant Bitrate) flags=update video_bitrate 0x009909cf (int) : min=1 max=1500000000 step=1 default=2097152 value=2097152 frame_level_rate_control_enable 0x009909d7 (bool) : default=1 value=1 h264_mb_level_rate_control 0x009909da (bool) : default=1 value=1 number_of_mbs_in_a_slice 0x009909dc (int) : min=0 max=262143 step=1 default=1 value=1 slice_partitioning_method 0x009909dd (menu) : min=0 max=1 default=0 value=0 (Single) force_key_frame 0x009909e5 (button) : value=0 flags=write-only, execute-on-write intra_refresh_period 0x009909ec (int) : min=0 max=2160 step=1 default=0 value=0 intra_refresh_period_type 0x009909ed (menu) : min=0 max=1 default=1 value=1 (Cyclic) h264_i_frame_qp_value 0x00990a5e (int) : min=0 max=51 step=1 default=30 value=30 h264_p_frame_qp_value 0x00990a5f (int) : min=0 max=51 step=1 default=30 value=30 h264_b_frame_qp_value 0x00990a60 (int) : min=0 max=51 step=1 default=30 value=30 h264_minimum_qp_value 0x00990a61 (int) : min=0 max=51 step=1 default=8 value=8 h264_maximum_qp_value 0x00990a62 (int) : min=0 max=51 step=1 default=51 value=51 h264_8x8_transform_enable 0x00990a63 (bool) : default=1 value=1 h264_cpb_buffer_size 0x00990a64 (int) : min=0 max=18750000 step=1 default=0 value=0 h264_entropy_mode 0x00990a65 (menu) : min=0 max=1 default=1 value=1 (CABAC) h264_i_frame_period 0x00990a66 (int) : min=0 max=2047 step=1 default=0 value=0 h264_level 0x00990a67 (menu) : min=0 max=16 default=14 value=14 (5) h264_loop_filter_alpha_offset 0x00990a68 (int) : min=-6 max=6 step=1 default=0 value=0 h264_loop_filter_beta_offset 0x00990a69 (int) : min=-6 max=6 step=1 default=0 value=0 h264_loop_filter_mode 0x00990a6a (menu) : min=0 max=2 default=0 value=0 (Enabled) h264_profile 0x00990a6b (menu) : min=0 max=4 default=4 value=4 (High) vertical_size_of_sar 0x00990a6c (int) : min=0 max=65535 step=1 default=0 value=0 horizontal_size_of_sar 0x00990a6d (int) : min=0 max=65535 step=1 default=0 value=0 aspect_ratio_vui_enable 0x00990a6e (bool) : default=0 value=0 vui_aspect_ratio_idc 0x00990a6f (menu) : min=0 max=17 default=0 value=0 (Unspecified) h264_constrained_intra_pred 0x00990a7f (int) : min=0 max=1 step=1 default=0 value=0 h264_chroma_qp_index_offset 0x00990a80 (int) : min=-12 max=12 step=1 default=0 value=0 hevc_minimum_qp_value 0x00990b58 (int) : min=0 max=51 step=1 default=8 value=8 hevc_maximum_qp_value 0x00990b59 (int) : min=0 max=51 step=1 default=51 value=51 hevc_i_frame_qp_value 0x00990b5a (int) : min=0 max=51 step=1 default=30 value=30 hevc_p_frame_qp_value 0x00990b5b (int) : min=0 max=51 step=1 default=30 value=30 hevc_b_frame_qp_value 0x00990b5c (int) : min=0 max=51 step=1 default=30 value=30 hevc_profile 0x00990b67 (menu) : min=0 max=0 default=0 value=0 (Main) hevc_level 0x00990b68 (menu) : min=0 max=8 default=7 value=7 (5) hevc_loop_filter 0x00990b6c (menu) : min=0 max=2 default=1 value=1 (Enabled) hevc_loop_filter_beta_offset 0x00990b6d (int) : min=-6 max=6 step=1 default=0 value=0 hevc_loop_filter_tc_offset 0x00990b6e (int) : min=-6 max=6 step=1 default=0 value=0 hevc_refresh_type 0x00990b6f (menu) : min=0 max=2 default=2 value=2 (IDR) hevc_num_of_i_frame_b_w_2_idr 0x00990b70 (int) : min=0 max=2047 step=1 default=0 value=0 hevc_constant_intra_prediction 0x00990b72 (int) : min=0 max=1 step=1 default=0 value=0 hevc_strong_intra_smoothing 0x00990b76 (int) : min=0 max=1 step=1 default=1 value=1 hevc_tmv_prediction 0x00990b79 (int) : min=0 max=1 step=1 default=1 value=1 prepend_sps_and_pps_to_idr 0x00990b84 (int) : min=0 max=1 step=1 default=1 value=1 frame_skip_mode 0x00990b86 (menu) : min=0 max=2 default=0 value=0 (Disabled) average_qp_value 0x00990b91 (int) : min=0 max=51 step=1 default=0 value=0 flags=read-only ``` Re: i.MX95 VPU H265 latency and performance(v4l2h265enc/v4l2h265dec) The BSP versions are : imx8mp: lf-6.6.52-2.2.0 imx95: lf-6.6.52-2.2.1 Thank you Re: i.MX95 VPU H265 latency and performance(v4l2h265enc/v4l2h265dec) Yes the IP camera encode without B frames. I tried your command and it doesn't solve the issue. There are still artifacts on the screen and the latency is high. However qualitatively speaking, it seems to remove the freezes. Re: i.MX95 VPU H265 latency and performance(v4l2h265enc/v4l2h265dec) ok Also please confirm the B frame question I mentioned above. Regards Re: i.MX95 VPU H265 latency and performance(v4l2h265enc/v4l2h265dec) Hello, To confirm: the IP cameras encode without B frames (I-P only). I have applied display_delay_enable=1, display_delay=0 on the decoder. This helped remove freezes, but the latency remains at ~90 ms. To isolate the bottleneck, I used the GStreamer element-latency tracer on this pipeline: ``` rtspsrc location=rtsp://... drop-on-latency=true latency=0 buffer-mode=4 !  rtph265depay ! h265parse config-interval=1 !  v4l2h265dec extra-controls="decode,display_delay_enable=1,display_delay=0" capture-io-mode=4 output-io-mode=4 !  v4l2h265enc extra-controls="encode,video_bitrate_mode=1,video_bitrate=2097152,frame_level_rate_control_enable=0,video_gop_size=30" capture-io-mode=4 output-io-mode=4 !  h265parse config-interval=1 ! rtph265pay name=pay0 pt=96 ``` Per-element latency results (640x480 @ 30fps, single stream): v4l2h265enc: ~67 ms v4l2h265dec ~2 ms all other elements < 1 ms The encoder alone accounts for ~67 ms (~2 frame periods). This is consistent across runs. The decoder is fine at ~2 ms. I have tried: frame_level_rate_control_enable=0 capture-io-mode=4 and output-io-mode=4 (DMABUF) on both encoder and decoder Minimal queue buffering between elements (max-size-buffers=1) None of these significantly reduce the encoder latency. My questions, focused on the encoder: Is the Wave6 encoder expected to hold 2 frames internally before producing output? Is there a way to reduce this internal buffering (similar to display_delay=0 on the decoder side)? Does output-io-mode=5 (DMABUF_IMPORT) work on the encoder to achieve zero-copy from upstream? Would this help latency? Is there a V4L2 control or driver parameter to enable a low-latency / zero-delay encoding mode on the Wave6? On i.MX8MP, vpuenc_hevc achieves ~10 ms for the same workload. Is this latency gap with v4l2h265enc on i.MX95 expected to improve in future BSP releases? Thank you for your help.
查看全文
2014年飞思卡尔杯全球规则 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 全球飞思卡尔杯官方规则! 2014 年新内容——联赛推出: 根据地区的不同,现在将有三个联赛。全球比赛将仅使用普通联赛车辆。 股票联赛 -使用认可的部件进行比赛,允许较少的定制 自定义联赛 -限制较少且配备自定义硬件的比赛 创新联盟 -不止于竞速。完成目标或任务即可获得积分,赢得胜利。 说明 您可以使用操作菜单栏以 PDF 格式查看此文档。 此规则适用于全球挑战。在此处查找您所在地区的规则 目前,全球挑战赛仅对普通(未修改)挑战者开放。 如果您对这些规则有任何疑问,请在下方评论区留言。如果您对区域规则有任何疑问,请在您所在区域的群组中提问。 第 1 部分:团队要求 地区冠军球队必须参加“普通”(未修改)联赛才有资格。 团队规模最多为四人。 一个团队只能有一名研究生。 汽车将仅由学生设计和制造。 希望参与者、顾问和观众表现出良好的体育精神。任何不当行为或作弊行为都可能导致取消资格。 第二部分:活动注册 参加全球挑战赛的参赛者必须获得邀请。每个地区冠军队伍都会收到一份邀请。 地区冠军队伍中的一人必须在地区决赛结束后两周内为整个队伍报名参加全球挑战赛。 第 3 节:设备要求 每支队伍应使用如下所述的相同基本零件套件。为了保证公平的比赛环境,以下要求已到位。您必须使用经批准的控制器和电机驱动板。如果赛车模型的任何标准部件损坏,则应使用相同的替换部件。 机械的 参赛时必须使用原始且未经改动的设备。 外轮胎胎面和轮辋 驱动 - 直流电机 驱动电机传动比 Servo Motor 允许的修改和限制: 您不得更改轮距(车轮之间的距离) 车辆的任何部件尺寸不得超过 250 毫米/9.85 英寸(宽)x 400毫米/15.75英寸(长)x 305毫米/12英寸(高) 您可以在底盘上钻孔并安装辅助部件,假设它包含在上述尺寸范围内。 您可以改变伺服电机和相关连杆的方向。 您可以为汽车添加“外壳”,但在检查期间必须是可拆卸的。 您可以调整或移除弹簧、连杆和其他非必要部件。 您可以将胎面粘到轮辋上。 电气 电池(单独购买) 7.2V,<=3000mAh,可充电镍镉电池或镍氢电池  每次只能使用一 (1) 块电池为车辆及其连接硬件供电 您必须使用下面其中一个经过批准的电路板来控制您的汽车。 控制系统 FRDM系列电路板 FRDM-KL25Z包含在内,但不是强制使用。 TRK系列 基于 Kinetis 的 TWR - 系列 高压电机控制和接口 TFC-屏蔽 包含 TFC-SHIELD,但不是强制使用。 Landzo 技术的双电机控制板。 允许的修改和限制: 一个处理器 – 不允许使用辅助处理器或其他可编程设备。 汽车必须使用光学传感器来导航 DC-DC升压电路不得超过电池电压。 所有电容器的总容量不应超过 2000 uF。 传感器限值 您可以使用额外的相机。 最多十六 (16) 个传感器 传感器数量示例:  红外发射器/接收器对为 1 个传感器 CCD 传感器是 1 个传感器 提供的线扫描相机是 1 个传感器 两个后轮上的霍尔效应传感器是2个传感器 安装在一个车轮上的编码器是1个传感器 显示器(允许)不算作传感器 第四部分:车辆检验 比赛前,裁判将对所有参赛作品进行技术检查。这包括第 3 部分列出的车辆规格、尺寸和设备要求。 所有车辆必须在指定时间或之前进入检查区。 一旦进入检查区,您就不能触摸赛车,直到被叫去比赛! 如有违反,组委会可取消相应队伍的参赛资格。 第五节:计时赛流程 比赛顺序将通过随机抽签决定。 当您的团队被叫到时,您可以将您的车从检查区域移走。您将有两 (2) 分钟的时间来准备汽车。 已批准的调整 -您可以: 通过板载接口配置参数。(开关、旋钮等) 改变相机的角度 更换电池  不允许的调整 - 您不得: 重新编程你的处理器 通过有线或无线通信配置参数。 任何时候都只能有一名队员在赛道上。(不包括测试时间) 2 分钟时间到之前,您必须向裁判发出“准备就绪”的信号,然后才能启动车辆。 裁判确认“就绪”后,车辆应在30秒内驶离起跑区。 每个队伍有三次机会完成一圈。将记录第一个(不是最好的)完成时间。 示例: 尝试 1 – 车辆在弯道上行驶过快并偏离轨道。沒有記錄時間。 第二次尝试——车辆成功绕轨道行驶。时间被记录下来。 尝试 3 – 因第一次(尝试 2)已被记录,因此被判失败。 每次尝试后,您有两分钟的时间对车辆进行批准(见上文)的调整。 尝试结束后,车队应将车辆送回检查区。 赛事显示屏将在每场团体赛结束后公布成绩。 第六部分:比赛日程安排 练习时间 - 在决赛之前,将提供测试赛道。此时可以进行最终校准。这将通过团队时段和/或“空闲时间”来组织。 2.将练习跑道重新配置为最终跑道。 车辆检验(参见第 4 部分) 计时赛 颁奖典礼 第 7 部分:活动人员 组委会——由资深评委和飞思卡尔活动组织者组成的委员会。负责协调活动当天的活动,并调解和解决任何争议。 裁判- 负责赛道活动。包括赛道管理,例如车辆启动和停止,以及计时和记分。裁判员由教职员工、学生和/或飞思卡尔及行业员工组成。 评委——负责解释并强制执行比赛规则。评委由飞思卡尔员工和行业赞助商成员组成。 赛事人员不得协助任何特定队伍。沟通应向所有队伍公开,不得泄露任何可能损害比赛公平性的信息。 第 8 节:犯规、失败和取消资格 本规则由飞思卡尔和活动组委会负责解释。 犯规,是一种轻微犯规,会导致罚时。 失败,则不记录当前尝试时间。允许后续尝试。 取消资格是一种严重违规行为,会导致所有时间都不被记录。 裁判将判定赛车是否冲出赛道并判罚时间。 下列任何一种情况都将被视为犯规,并会导致加时处罚: 比赛开始后,赛车未能在 30 秒内离开起跑区 [+1 秒]。 赛车越过终点线后未能在 2 米/6 英尺处停下或离开赛道 [+1 秒]。 下列任何一种情况都将被视为失败并且不会给予时间: 三个或更多车轮离开赛道表面。 赛车队未能在规定的两 (2) 分钟内做好准备。 选手在技术检查后未经裁判同意触碰赛车。 赛车离开起跑区后120秒内未能完成比赛。 在开始和结束之间的任何时间触摸汽车。 “开始”——一旦车辆越过起跑线。 “完成”——一旦车辆越过终点线。 有下列情况之一者,视为取消资格:   任何可能影响或阻碍车辆的赛道外设备或行为。 检查后随时 进行不允许的 修改。 比赛场地上有多名队员。 比赛期间有任何作弊行为。 未通过技术检验。 在切实可行的条件下,尽量保证公平、公正。争议将由飞思卡尔、组委会成员和评委投票解决。 第 9 节:计时/计分 将使用电子门和/或手持计时器来记录时间。 当赛车的第一部分冲出起跑线/终点线时,时间开始和结束。 犯规将导致赛车的单圈时间被加长。 取消资格和失败将导致没有分数。 第十节 赛道参数 在决赛前一天,将提供一条采用与最终赛道相同材料制成的测试赛道,用于校准和设计修改。 直到比赛当天,参赛者才会知道最终赛道的实际布局。 赛道宽度不得小于 600 毫米/23.65 英寸。 材料和尺寸规格可以在社区中找到。 赛道表面为哑光白色,赛道每条边缘都有一条连续的黑线(25 毫米/1 英寸宽)。 赛道可以90°交叉角相交。 赛道可以有上坡、下坡和隧道。 如有必要,飞思卡尔可能会更改这些规则和条件。飞思卡尔保留随时自行取消、暂停和/或修改飞思卡尔杯比赛的权利。这些官方规则是用英语制定的。如果这些官方规则以任何其他语言提供且文本存在冲突,则以英语文本为准。 Freescale 和 Freescale 徽标是飞思卡尔半导体公司在美国和其他国家的商标或注册商标。所有其他产品或服务名称均为其各自所有者的财产。©飞思卡尔半导体公司,2014 年 飞思卡尔杯内容 回复:2014年飞思卡尔杯全球规则 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 由于赛道的布局事先并不清楚,所以我无法透露全球总决赛期间是否会有隧道。确保您的车辆符合规则允许的尺寸(高度、宽度和长度),以便您能够顺利进入隧道(如果有)。 回复:2014年飞思卡尔杯全球规则 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Hi FlavioStiffan 今年的全球大赛会有隧道吗? 根据2014 年马来西亚飞思卡尔杯比赛规则,隧道也不会被纳入全球比赛项目。谢谢。 回复:2014年飞思卡尔杯全球规则 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,做信号调节是可以的。只要您没有其他 MCU 部件并且您通过授权板控制伺服器和电机就可以了。请确保您使用 BOM(物料清单)和示意图记录您的额外开发,以防技术检查期间出现任何问题。 回复:2014年飞思卡尔杯全球规则 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 好的,谢谢您的回答,关于模拟放大器,它将用于调节来自传感器或摄像机的信号,我提到的模拟比较器将用于相同的目的。例如,我们有一个红外传感器,其输出电压为 0 至 250 mV,我们想将信号放大到 3.3V 左右,或者希望比较器仅检查传感器是否在白色区域或黑线...诸如此类。 回复:2014年飞思卡尔杯全球规则 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好JoseManuelSandovalChavez我认为规则对可以使用的内容已经说得很清楚了。对于电路的 MCU 和电机控制部分,只允许使用经批准的电路板。关于小型模拟放大器,它与什么相关?它的功能是什么? 回复:2014年飞思卡尔杯全球规则 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好, FlavioStiffan,所以只是为了确保这意味着在比赛中我们不能使用我们自己用模拟元件构建的电机控制板和 FRDM 板,所以为了控制直流电机,我们只能使用提到的两块板(TFC-SHIELD 和 Landzo 技术的双电机控制板)对吗? 此外我还有一个问题,我们可以使用自己构建的小型模拟电路吗?例如,用运算放大器构建的模拟放大器或用运算放大器构建的模拟比较器 回复:2014年飞思卡尔杯全球规则 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,Jose Manuel,对于全球飞思卡尔杯挑战赛,我们要求学生只使用经批准的电路板。您无法开发自己的定制板。这是为了公平起见,也为了避免团队在技术检查时遇到困难,因为团队的定制板被“隐藏”或无法访问以验证板子是否符合规则(例如:没有第二个处理组件或任何其他受限制的组件)。这些规则每年都会进行审查,因此请继续关注 2015 赛季的任何变化。 回复:2014年飞思卡尔杯全球规则 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,已停用的用户,我有一个问题,对于库存联盟,当它提到“批准的组件”时,具体是什么意思?这是否意味着在比赛中我们只能使用“机械”和“电气”部分列出的组件?例如,对于“高压电机控制和接口”,是否意味着我们只能使用上述两个板中的一个(Landzo 技术的 TFC-SHIELD 和双电机控制板)或者我们可以为电机控制阶段构建自己的板? 回复:2014年飞思卡尔杯全球规则 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 已停用用户 约翰,看看这些问题。您是否有 Landzo 双电机控制板的链接?您能确认所用控制板的限制吗? 谢谢! 回复:2014年飞思卡尔杯全球规则 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,我对这些规则有一些疑问。 关于第 3 节的电气限制“您必须使用下面其中一个经批准的电路板来控制您的汽车。”。 问题 1:规则是否说我们不能使用自制的最小系统板(使用 kinetis MCU,链接)或一些自制的高压控制板(链接)? --- 关于“一个处理器 - 不允许使用辅助处理器或其他可编程设备”这一行。 Q2:一些传感器,如相机,具有内置电路,可以在硬件中进行二值化(链接),或者带有 fifo 芯片的相机(链接)。 规则中提到的“其他可编程设备”是否包括这些相机? 或者“可编程设备”仅仅指 MCU 或 FPGA 设备? ---- 关于“Landzo 技术的双电机控制板”。 Q3:那是这个吗? 非常感谢! 回复:2014年飞思卡尔杯全球规则 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,约翰,下一届全球比赛什么时候举办?
查看全文
LX2160A 最多支持多少个 DPDMUX 实例 Hi, LX2160A 中可以创建的最大 DPDMUX 实例是多少? 我尝试创建 8 个 dpdmux 对象,但只有 6 个成功。 我创建 dpdmux 的参数是 #--default-if=1 --num-ifs=2 --method DPDMUX_METHOD_CUSTOM --options=DPDMUX_OPT_CLS_MASK_SUPPORT,DPDMUX_OPT_AUTO_MAX_FRAME_LEN 尝试第 7 次时出现以下错误: MC 错误:无可用内存(状态 0x9) 回复:LX2160A 支持的最大 DPDMUX 实例是多少 这是有关调整 DPAA2 资源使用情况的一些有用信息。但仍然需要进一步微调,以将所有对象(8x DPDMUX + DPMACs/DPNIs)塞入 DPAA2 使用的内存缓冲区。 - DPNI:如果流量仅用于管理目的,则降低流量控制规则,参数“--fs-entries” - DPDMUX:如果分割不复杂,则降低自定义规则的使用,参数“--max-dmat-entries”。并且在创建 dpdmux 时降低内存(PEB 缓冲区)的使用率,参数“--mem-size” 进一步的调整正在进行中。希望这对社区有所帮助。 回复:LX2160A 支持的最大 DPDMUX 实例是多少 @dunk  太感谢了, 祝您有美好的一天。 BR, 赫克托尔 回复:LX2160A 支持的最大 DPDMUX 实例是多少 你好,赫克托, 是的,感谢恩智浦的支持。我会继续和你们的团队成员讨论。并尝试与社区分享我最近获得的一些有用的信息。 回复:LX2160A 支持的最大 DPDMUX 实例是多少 Hello @dunk  希望这篇文章对你有帮助, 我们注意到我们的一名团队成员已经为您提供有关此主题的支持。 为了避免任何混淆,并尽可能保持沟通清晰, 请与我们的团队成员保持沟通。 祝您有美好的一天。 BR, 赫克托尔 回复:LX2160A 支持的最大 DPDMUX 实例是多少 你好@Hector_Villarruel , 对于我对 DPAA2 内存设置的反馈有什么评论吗? 我仍然无法在我的设置中创建 8 个 DPDMUX。 回复:LX2160A 支持的最大 DPDMUX 实例是多少 谢谢, @Hector_Villarruel 。 这是我的 MC 固件的配置和内存分配。 -u-boot:mcmemsize=0x70000000 -dpc:total_bman_buffers = <0x9EB100> 我在我的 DPC 文件中找不到 total_num_buffers,所以我推测它的默认设置是 640000。 对于如上的配置和设置,我相信内存应该足够了。我还遗漏了什么吗? 回复:LX2160A 支持的最大 DPDMUX 实例是多少 Hello @dunk  希望您收到这封邮件后一切安好, 当您超过有关 MC 内存限制的最大缓冲区数量时,可能会遇到此错误( MC 错误:无可用内存(状态 0x9)) ,请参阅 DPAA2UM、Rev 53、08/2023 中的 3.5 最低内存要求。 请注意,LX2160 具有 256MB 内存,但有以下限制: 所有队列中可同时存在的缓冲区总数限制为 640000。如果 dpc 文件中的 total_num_buffers 大于 640000 MC 将无法启动。 如果 dpc 文件中缺少 total_num_buffers,MC 将使用默认值 640000。 祝您有美好的一天。 BR, 赫克托·维拉鲁埃尔
查看全文
App to read/write on EV3 cards with AES-128? Hello. Does the NXP company provide an app to read/write to EV3 cards securely using AES-128? I am talking about a program that can: - Create and change the master key of the card. - Create and manage applications. - Create different files on each application using the application keys. Is there such a thing? I have tried using the Taplinkx SDK but it was a pain to get it working; I couldn't reach meaningful documentation (other than the Javadoc for it, which wasn't really helpful) so I don't know here to go from here. I bought a couple of EV3 cards from NXP, and I don't know how to write/read on them. MIFARE Smart Cards Re: App to read/write on EV3 cards with AES-128? Hello @samerhaddad   Pegoda CLRD730 reader recommends to you, purchase link as the below: PEGODA Contactless Smart Card Reader | NXP Semiconductors   Pegoda CLRD730 reader + RFID Discover is the perfect combination for reading/writing to EV3 cards. Re: App to read/write on EV3 cards with AES-128? They have refused to give me RFID Discover program. Apparently, you have be a large registered company of some sort so that they just give you program to write on the cards you have bought. There is no way on Earth to write on EV3 cards apparently.
查看全文
S32K3 上の FlexCAN DMA – 割り込みと TCD NXPチームの皆様、こんにちは。 私たちはS32K3 上で FlexCAN Rx DMAを評価しており、私たちの観察結果が予想通りであるか、または推奨されるアプローチがあるかどうかを確認したいと思います。 アプローチ1:割り込みベースのDMA完了イベント情報 DMA は 1 つの CAN フレームを Rx FIFO から RAM 一時バッファにコピーし、割り込みを生成します。 データをアプリケーションの循環バッファにプッシュする前に、一時バッファが必要です。 観察/質問: eDMA は循環キューや車載再Arm機能をサポートしていないため、一時ストレージが必要なようです。 負荷がかかると RX メッセージが失われ、場合によっては TX が停止することがわかりました。 レガシー Rx FIFOおよびER-FIFOに対して DMA を使用してロスのない循環 Rx バッファリングを実装するための推奨方法はありますか、それともこれは既知の制限ですか? アプローチ2: TCDベースのDMA DMA は、生の FlexCAN レジスタ ワード(CS/DLC/フラグ、ID、データ) を RxFIFO 出力場所 (ソース) から RAM バッファ (宛先) にコピーします。 受信データは正規化された CAN メッセージ形式ではありません。 観察/質問: CPU は、メッセージ ID (STD/EXT)、ペイロード長 (DLC から派生)、正しい順序のペイロード バイト、FD/BRS フラグ、およびタイムスタンプを解析する必要があります。 FlexCAN DMA は生の転送のみを実行し、メッセージの正規化は常にソフトウェアで実行する必要があると考えられますか? DMA 受信フレームの RTD ドライバ解析ロジックを再利用するための推奨方法はありますか? もう 1 つの問題は、宛先モジュロが CAN FD フレームの循環キュー操作を処理できないことです。つまり、TCD 方法には宛先アドレスを特定のバイト数後にラップするのに役立つ宛先モジュロの概念が 1 つあります。SO、CAN FD フレーム バイト数 (フレームあたり 72 バイト) は、モジュロ値と適切に一致しません。 そして、宛先最終アドレスレジスタの調整に別のオプションを試しました。単一フレームでは機能しますが、20 フレームのキューのようなフレーム数に対して宛先アドレスが適切にラップされないなどの問題があります。 追加の質問 通常の Rx FIFO 割り込みと比較して、 CAN DMA 割り込みを使用する利点は何ですか。 上記のすべての観察が S32K3 上の FlexCAN Rx DMA の予想される動作であるかどうかを確認してください。 ありがとう... Re: FlexCAN DMA on S32K3 –Interrupt vs TCD こんにちは@kapidlitap 同様のトピックの質問。 https://community.nxp.com/t5/S32K/S32K358-レガシー-RX-Fifo-DMA 付き vs-強化された RX-Fifo-DMA/td-p/2266494 当社の RTD ドライバはユーザー向けの DMA 構成をすでに完了しているため、ユーザーは自分のニーズに合わせて DMA を再構成する必要はありません。 割り込み方法と DMA 方法のパフォーマンス比較データは提供していません。ユーザーは実際の使用ケースに応じて構成およびテストを行い、最適な方法を選択する必要があります。 拡張FIFO+DMAデモ https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-FlexCAN-Ip-TX-RX-EnhanceRXFIFO-DMA-test-S32DS3-5/ta-p/2015832
查看全文
S32K3xx、FLS 阵列完整性检查 队员们好 是否有示例或验证测试项目可演示在旧 RTD 版本(如 3.0.0)的 FLS 驱动程序中使用 ArrayIntegrityCheck、我可以与客户分享吗? 我注意到较新 RTD 版本(例如 6.0.0)的用户手册包括此类示例,但我找不到旧版 FLS 的类似内容。 谢谢! BR,丹尼尔 RTD Re: S32K3xx, FLS ArrayIntegrityCheck 你好,我是@danielmartynek、 我附上了基于 RTD 3.0.0 的 C40_Ip_ArrayIntegrityCheck 示例P07 版本。 顺祝商祺! 丹 Re: S32K3xx, FLS ArrayIntegrityCheck 你好,@DanNguyenDuy、 谢谢你的举例。 由于目前不在办公室,我还没能进行测试。 但是,客户报告遇到了指令总线故障异常。 澄清一下:我的理解是,阵列完整性检查中涉及的 C40_Ip API 必须从 SRAM 中执行,因为闪存阵列在测试期间不可用。 这样做对吗? 能否确认在测试/验证驱动程序期间,从 SRAM 运行了哪些特定的驱动程序 API? 谢谢! BR,丹尼尔 Re: S32K3xx, FLS ArrayIntegrityCheck 你好,我是@danielmartynek、 1.这样做对吗? => 是的,这是正确的。 2.能否确认在测试/验证驱动程序期间,从 SRAM 运行了哪些特定的驱动程序 API? => 到目前为止,还没有特定的驱动程序支持在 SRAM 上运行 C40_Ip_ArrayIntegrityCheck。 顺祝商祺! 丹 Re: S32K3xx, FLS ArrayIntegrityCheck 你好,@DanNguyenDuy、 感谢您的回复。 我知道我们需要将C40_Ip_ArrayIntegrityCheck()和C40_Ip_CheckUserTestStatus()放在 SRAM 中。 是否有其他功能也需要放在 SRAM 中? C40_Ip 驱动程序的功能肯定已经测试过了,对吗? 那么,您能否提供有关测试设置的详细信息?如果驱动程序所有者能就验证是如何进行的发表评论,将会很有帮助。 BR,丹尼尔 Re: S32K3xx, FLS ArrayIntegrityCheck 你好,我是@danielmartynek、 RTD 团队使用 linker_ram 代替 linker_flash 测试了该功能。 在示例中,用户可以修改 makefile 中的一个变量:LOAD_TO=ram 以使用 linker_ram 顺祝商祺! 丹
查看全文
MWCT2016S 无法更改 UART 波特率 嗨,恩智浦社区、 我有一个关于 MCAL 中 UART 模块配置的问题。我无法更改波特率。SBR 和 OSR 寄存器符合预期,但实际测量的波特率为 72254。请帮助解决这个问题。 感谢您的帮助! Johnson97_0-1765938756521.png Johnson97_1-1765938839658.png Re: MWCT2016S can't change UART baud rate 请参阅[RTD400 MCAL 3] K312 MCU 时钟系统配置 的 2.2 EB 配置 部分配置 Mcu 。 Re: MWCT2016S can't change UART baud rate 是的,我已经调用了 Mcu_DistributePllClock() 函数。 如有必要,附加文件包含基于参考例程的源代码。 Johnson97_0-1766022864617.png Re: MWCT2016S can't change UART baud rate 您是否在主函数中调用了Mcu_DistributePllClock()?请参考以下代码: /* Initialize the clock driver */ Mcu_Init(NULL_PTR); /* Initialize the clock tree and apply PLL as system clock */ Mcu_InitClock(McuClockSettingConfig_0); #if (MCU_NO_PLL == STD_OFF) while ( MCU_PLL_LOCKED != Mcu_GetPllStatus() ) { /* Busy wait until the System PLL is locked */ } Mcu_DistributePllClock(); #endif Re: MWCT2016S can't change UART baud rate HI 一开始,我使用了 aips 慢时钟,但问题依然存在。波特率为 142857。在我将时钟更改为 aips plat 之后,波特率发生了变化,甚至变得更低,达到了 72254,但仍然不是预期的波特率。 我和 UART 例程的区别似乎只在于核心时钟。我使用 PLL 作为核心时钟源。会是这个原因吗?使用 PLL 时有什么特别的注意事项吗? 如有必要,附件中包含我的 EB 项目。 Re: MWCT2016S can't change UART baud rate HI 请根据表 130配置UartClockRef 。S32K3XXRM Rev12 的LPUARTn 实例时钟。 对于 S32K312,LPUART [1:7] 由AIPS_SLOW_CLK 提供时钟。 祝好, Robin ------------------------------------------------------------------------------- 注: - 如果本帖回答了您的问题,请点击"ACCEPT AS SOLUTION" 按钮。谢谢! - 我们会在最后一次发帖后的 7 周内跟踪主题,之后的回复将被忽略 如果您以后有相关问题,请另开新主题,并参考已关闭的主题。 ------------------------------------------------------------------------------- Re: MWCT2016S can't change UART baud rate 问题已经解决。 非常感谢!
查看全文
iMX6ULL 控制台 UART 与其他使用 RS-485 的 UART 相互干扰 iMX6ULL 系统,内核为 lf-6.6.52-2.2.1。控制台设置为 ttymxc3 上的 RS-485 串行端口 ttymxc0。收发器"驱动使能" 连接到 SNVS_TAMPER7,我们有一个 DTS: &iomuxc_snvs { pinctrl_rs485_snvs: rs485grp_snvs { fsl,pins = < MX6ULL_PAD_SNVS_TAMPER7__GPIO5_IO07 0x1b0b1 /* RS485.DE as RTS */ >; }; }; &uart4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_rs485>, <&pinctrl_rs485_snvs>; fsl,dte-mode; rts-gpios = <&gpio5 7 GPIO_ACTIVE_HIGH>; linux,rs485-enabled-at-boot-time; status = "okay"; label = "rs485"; }; 我注意到,如果向控制台打印数据,会干扰 RS-485 串行端口:RTS/DE 信号有时会延迟 5-10 毫秒。该值在 9600 bps 时超过 3.5 个字符,这意味着由于主机仍在驱动总线,因此来自设备的响应将出现乱码。可以用以下方法复制: while true;do echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >/dev/kmsg;done 这是一个已知的问题吗? i.MX6UL 疑似软件缺陷 Yocto Project Re: iMX6ULL console UART interferes with other UART using RS-485 你好@astrand 这似乎是 Linux 内核中的一个常见问题。以下是 LWN.NET 中的讨论。 printk/console 是一个速度慢的设备。当遇到大量日志时,内核必须同步向控制台写入信息。在这一过程中,它持有相关锁并消耗 CPU 时间,从而延迟其他任务调度和中断处理。即使您的控制台不同于 RS-485 串行端口,系统的整体调度/软中断/任务队列仍然会被拖慢。这将延迟 UART 传输完成事件到达驱动器并随后拉低 DE 位所需的时间。更多详情,请参阅该讨论。 https://lwn.net/Articles/909980/ 您可以尝试在运行时设置较低的控制台日志级别,或定义 rs485-rts-delayin dts. echo "4 4 1 7" > /proc/sys/kernel/printk 致敬, Zhiming
查看全文
MPC5748G 将 uart 与 tcpip 结合使用 我想把以太网传输和串行端口打印功能结合起来。在代码 A 中,我试图在串行端口打印的基础上添加以太网传输功能 (tcpip),但失败了。我想在代码 B 的 LWIP 例程中添加串行端口显示功能,但按下 SW2 按钮后串行端口显示屏上看不到发送的信息。我不知道这两个地方设置得不对。 我是一名学生,这个问题已经困扰了我一个星期。如能解决,我将不胜感激 Re: MPC5748G combine uart with tcpip 我承认我用 AI 编写的代码是电子垃圾,但我不明白为什么在修改了两个例程的文件中使用相同的代码段只能实现一半的功能(UART 或 tcpip) 谁能帮帮我? QING_QUE_0-1765711747775.png
查看全文
i.MX95 安卓 15_2.0.0 电路板支持包 — 480p 视频显示蓝色水平线(720p/1080p OK) 你好 、 我们在自定义板上使用搭载安卓 15_2.0.0 电路板支持包的 i.MX95。 我们只有在播放分辨率为 480p 的视频时才会遇到这个问题。 其他分辨率(如720p和1080p)也能正常播放,没有任何伪影。 在播放 480p 视频时,我们观察到蓝色水平线横跨整个显示区域。 此问题出现在所有显示界面上: *LVDS 面板 *HDMI *MIPI-DSI 显示器 因此,问题似乎与显示屏无关。 其他观察结果 ============================ 同样 的硬件(LVDS/HDMI/MIPI)在带有 480p 视频的 Linux 电路板支持包 中完美运行。 在 Android Auto 电路板支持包 15_1.3.0 中不会出现此问题。 → 在 Auto 电路板支持包 中,480p 的播放效果是干净的。 只有安卓 15_2.0.0 标准电路板支持包才显示这个 480p 的伪影。 Auto 电路板支持包是否有任何必须应用于标准电路板支持包的补丁? 随附参考照片供您审阅。 任何指导或补丁都将非常有用。 谢谢, Maruti Naik Re: i.MX95 Android 15_2.0.0 BSP – 480p Video Shows Blue Horizontal Lines (720p/1080p OK) 您能在 nxp imx95 板上重现这个问题吗? Re: i.MX95 Android 15_2.0.0 BSP – 480p Video Shows Blue Horizontal Lines (720p/1080p OK) 目前,我们没有与i.MX95 19×19 EVK板兼容的显示器。请尝试在您这边重现这个问题,并分享观察结果。 Re: i.MX95 Android 15_2.0.0 BSP – 480p Video Shows Blue Horizontal Lines (720p/1080p OK) 我用下面的演示图像测试了 480P 视频、 15.0.0_2.0.0_demo_95 这个玩家是仙人掌玩家,我没发现任何问题,我也测试了 1080p,所以我请你在恩智浦板上重现这个 Re: i.MX95 Android 15_2.0.0 BSP – 480p Video Shows Blue Horizontal Lines (720p/1080p OK) 感谢您的更新和在演示图像上的测试。 目前,由于我们这端没有兼容的显示器,我们无法在19×19 EVK板上测试显示。不过,我们观察到,在 "开发者选项 "中将显示布局更改为 "瀑布式剪切 "后,480p 回放问题消失了,而使用默认布局时,问题始终存在。 您是否了解默认布局配置可能出了什么问题,特别是影响 480p 视频播放的问题? Re: i.MX95 Android 15_2.0.0 BSP – 480p Video Shows Blue Horizontal Lines (720p/1080p OK) 如何在 "开发者选项 "中将显示布局更改为瀑布式剪切?
查看全文