Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
i.MX8DXL EVK (J20) の TAMPER_OUT0/TAMPER_IN4 アクティブタンパーループ用の正しい snvs_cfg 値 こんにちは、 U-Boot を介して、i.MX8DXL EVK (MCIMX8DXL-WEVK) 上の外部アクティブタンパーループを検証しています。 基板の回路図から、J20(TAMPERヘッダー、1x3)の配線が以下のようになっていることを確認しました。 - ピン 1 = TAMPER_IN4 (ネット SNVS.TAMPER_IN4、ボール AJ13) - ピン2 = GND - ピン3 = TAMPER_OUT0 (ネットSNVS.TAMPER_OUT0、ボールAP22) これらは専用のSNVSピンであり、TAMPER_OUT1-4/IN0-3のようにSAI2/SAI3と共有されていません。 使用可能な U-Boot コマンド: tamper_pin_cfg、snvs_cfg (サブレジスタ hp.lock、hp.secvio_intcfg、hp.secvio_ctl、lp.lock、lp.secvio_ctl、lp.tamper_filt_cfg、lp.tamper_det_cfg、lp.tamper_det_cfg2、lp.tamper_filt1_cfg、lp.tamper_filt2_cfg、lp.act_tamper1_cfg ~ lp.act_tamper5_cfg、lp.act_tamper_ctl、lp.act_tamper_clk_ctl、lp.act_tamper_routing_ctl1、lp.act_tamper_routing_ctl2 を含む)、snvs_sec_status、snvs_clear_status。 TAMPER_OUT0/TAMPER_IN4はアクティブなタンパーペアを形成するため、私の質問は次のとおりです。 1. どのlp.act_tamperN_cfgチャネル(1-5)がTAMPER_OUT0に対応しているか? 2. lp.act_tamper_routing_ctl1/routing_ctl2ルートTAMPER_OUT0のパターンの値をTAMPER_IN4と比較してチェックする価値は? 3. このチャネルのパターンクロックを可能にするlp.act_tamper_clk_ctlの値は何? 4. このチャネルのアクティブ改ざん検出を可能にするグローバルなlp.act_tamper_ctl価値は何でしょうか? 目標:J20ピン1~3間のジャンパーを閉じるとsnvs_sec_statusでセキュアと表示され、ジャンパーを開くと違反が発生するようにする。 i.MX8DXLにおける外部アクティブタンパー検証に関するリファレンステスト手順またはアプリケーションノートはありますか? よろしくお願いします!
View full article
Safety Mechanism SM1.INTERCONNECT_EDC _GASKET I need to enable the SM1.INTERCONNECT_EDC_GASKET safety mechanism for my project. I am using AUTOSAR RTD 3.0.0 and the S32 Design Studio (S32DS) tool to generate the code. Could you please clarify the following: 1.  Is there an option available within S32DS to enable this safety mechanism? If so, could you guide me on how to enable it? 2.  If this option is not available in S32DS, what is the recommended way to enable it? Please share example code if possible. Re: Safety Mechanism SM1.INTERCONNECT_EDC _GASKET Hello @sandeepSingh18606, Use Safety Peripheral Drivers for S32K3xx. https://www.nxp.com/docs/en/product-brief/S32K-SPDPB.pdf The drivers are included in the S32K3xx Standard SW package: https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-STDSW-D S32K3 Safety Peripheral Drivers version 1.0.3 is compatible with RTD 3.0.0. In the eMCEM driver, all available faults can be enabled. danielmartynek_1-1789975567252.png The SPD package contains a single EB Tresos demo. For S32DS, there is just one SPD example available (SPD 1.0.6, RTD 7.0.0): https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-BIST-eMCEM-SPD106-v2-0-S32DS365-RTD700/ta-p/2373113 Regards, Daniel Re: Safety Mechanism SM1.INTERCONNECT_EDC _GASKET Hi @sandeepSingh18606, Safety Peripheral Drivers (SPD) are available free of charge, and it is an extension to RTD. Whereas Safety Software Framework (SAF) is a paid premium SW. Refer to this documentation: https://www.nxp.com/design/design-center/software/functional-safety-software/s32-safety-software-framework-saf-and-safety-peripheral-drivers-spd:SAF Regards, Daniel Re: Safety Mechanism SM1.INTERCONNECT_EDC _GASKET I believe SPD is not free and requires a package purchase. Since the SM1 mechanism is implemented by NXP, the user only needs to enable it. However, NXP RTD does not support this feature. Without the SPD package, what is the recommended approach? Re: Safety Mechanism SM1.INTERCONNECT_EDC _GASKET Hello @sandeepSingh18606, How did you install it if it is not listed? First of all, you need a version that is compatible with your RTD release. According to the SPD release notes: SPD v1.0.3: This SPD version is compatible with S32K3 Real-Time Drivers Version 3.0.0 and 3.0.0 P07. SPD v1.0.4: This SPD version is compatible with S32K3 Real-Time Drivers Version 4.0.0 and S32K3 Real-Time Drivers Version 3.0.0 P07 (Tresos version for the S32K324_MAPBGA257 derivative). The newer versions, v1.0.5 and v1.0.6, are compatible only with newer RTD releases. Download the update site ZIP package, for example: S32K3_SPD_1.0.3_DS_updatesite.zip Then add the update site in S32 Design Studio under Extensions. Thank you, BR, Daniel Re: Safety Mechanism SM1.INTERCONNECT_EDC _GASKET It is available in the Previous tab, which appears to be inactive in your account. Let me check with the team responsible for managing it. I will get back to you as soon as possible. Regards, Daniel Re: Safety Mechanism SM1.INTERCONNECT_EDC _GASKET Hi Daniel, I am currently using RTS 3.0.0. Per your suggestion, I need SPD v1.0.3, but I am unable to locate this version on the NXP website. Could you please advise on where I can find it or provide a direct link? Re: Safety Mechanism SM1.INTERCONNECT_EDC _GASKET Hi Daniel, Thanks for the confirmation. I tried to install the SPD drivers in S32 Design Studio, but even after installing, I am still unable to find them under S32DS extensions and updates. Below is a screenshot of the RTDs currently installed on my system: Re: Safety Mechanism SM1.INTERCONNECT_EDC _GASKET Hello Sandeep, Please check your account now. Let me know. Thank you  Re: Safety Mechanism SM1.INTERCONNECT_EDC _GASKET HI Daniel, I am able to access previous version now. Thanks for support.
View full article
针对1080p RTSP IP摄像机,推荐使用NXP i.MX处理器 大家好, 请问哪位可以推荐一款价格最低、能够处理 1080p RTSP IP 摄像头视频流的 NXP i.MX 处理器? 我的要求是: 1 个 RTSP IP 摄像头输入 2. 1080p分辨率 3. 大约 25–30 帧/秒 4. 寻找能够可靠处理此任务的最低成本 i.MX 处理器/主板 主要目标是以尽可能低的硬件成本接收和处理/显示 1080p RTSP 摄像头流。 如果有人针对类似用途测试过低成本的 i.MX 处理器,请分享您的推荐和经验。 谢谢您! Re: Recommendation for NXP i.MX Processor for 1080p RTSP IP Camera 你好, 对于使用 IP 摄像机的纯粹接收/显示应用,您可以考虑 i.MX8MM,因为它包含一个专用的硬件 VPU,能够解码 1080p60。 顺祝商祺!
View full article
imx6q DDRストレステストについて i.mX6QでDDRストレステストを実行しているのですが、どのExcelファイルを使用すればよいか知りたいです。 `MX6Q_SabreSD_DDR3_register_programming_aid_v2.5.xlsx`というファイルを入手しましたが、これは正しいファイルでしょうか? 現在、Samsung K4B4G16 256M×16チップ(合計2GBのチップ4個)を使用していますが、テストが完了しず、「チップセレクトが有効になっていません」というエラーが表示されます。 この問題をどう解決すればいいでしょうか? ありがとう。 Re: about imx6q ddr stresstest こんにちは、 @GavinChen さん。 このRPAテーブルはi.MX6Qに適しています。 あなたのRPAに関するご意見をお聞かせください。 B.R
View full article
S32K344 Kicad symbols and footprints Hello, Is there a KiCad library available for the S32K344 MCU family, including schematic symbols, footprints and 3D models (STEP)? Thank you. Re: S32K344 Kicad symbols and footprints Thanks. So I figure that I have to design the kicad symbol, footprint and 3D models by myself. Re: S32K344 Kicad symbols and footprints Hi @manu_fenixecu  In case of S32K3, we provide 3D STEP files and symbols and footprints for CADENCE Allegro. It can be found in Hardware Design Package: https://www.nxp.com/webapp/Download?colCode=S32K3_HW-DesignPackage Regards, Lukas
View full article
QorIQ T1022 DDR Validation Suite Passes with Good Margin, but Memory Corruption Seen in Application Hello, We are working with a QorIQ T1022 design and have completed DDR bring-up and validation using the NXP DDR Validation Suite. The results are encouraging: All DDR validation tests pass successfully. We have achieved good timing margins across the tested conditions. No errors are reported by the validation suite during stress testing. However, when we load and run our main application, we begin to observe what appear to be memory-related issues/corruption. These issues are not reproducible using the DDR validation tests alone. This has raised the question of whether there are additional mechanisms or test methodologies we should be using to detect issues that may only appear under real application workloads. We are interested in understanding: What types of DDR or memory subsystem issues can escape the standard DDR Validation Suite tests on the T1022? Are there known application-level scenarios that can expose problems not detected during DDR training and validation? Are there additional stress tests, performance monitors, error counters, or debugging techniques available on the T1022 that could help identify the root cause? Has anyone encountered a situation where DDR validation showed excellent margins, yet memory corruption or instability was later observed in a production application? Any guidance on additional diagnostics, hardware checks, or software debugging approaches would be greatly appreciated. Thank you. QorIQ T1 Devices Re: QorIQ T1022 DDR Validation Suite Passes with Good Margin, but Memory Corruption Seen in Applicat Hello, The QCVS DDRv tool tests DDR timing margins (write leveling, read/write centering, clock adjustment) using sequential, deterministic access patterns from a single core via JTAG. It does not exercise: Multi-master / multi-core concurrent access — The T1022 has two e5500 cores plus the DPAA (Data Path Acceleration Architecture) with frame managers, queue managers, and DMA engines all competing for the DDR bus simultaneously. Contention-induced timing violations only appear under real traffic. Cache coherency stress — Application workloads involving cache flushes, invalidations, and coherent DMA transfers create access patterns the validation suite never generates. Thermal and power-supply variation — DDR margins measured at room temperature under light load can degrade significantly when the SoC is at full utilization and the AVDD_DDR supply droops under load. DQ mapping errors — If the DQ_MAPn registers are incorrect, the controller may still pass validation (which uses known training patterns) but corrupt data under real application traffic. This is a documented T1022-specific issue. Marginal single-bit ECC errors — The validation suite may not accumulate enough transactions to trigger SBE threshold reporting, while a real application running for hours will accumulate them silently. DQ Mapping Misconfiguration The DQ_MAPn registers provide the mapping of DRAM DQ signals to the controller. If these are wrong, the controller cannot correctly interpret training patterns, and data corruption occurs under real workloads. NXP has confirmed this on T1022 designs: clearing all DQn_MAP registers (setting to 0 for 1:1 mapping) is a recommended diagnostic step. Memory Ordering / Pipeline Effects (PowerPC e5500) The e5500 core has well-documented memory ordering subtleties. Writes may not be fully committed to DDR before subsequent reads, especially without explicit msync/isync barriers. NXP's apps team has confirmed: "The write may not be fully committed to memory before the error injection is disabled. The subsequent read may hit a cache or pipeline, not triggering the ECC logic immediately."In application code, missing barriers around DMA setup or shared-memory structures can cause apparent corruption that is actually a coherency ordering issue. ECC Single-Bit Error Accumulation The T1022 DDR controller supports ECC. Single-bit errors (SBEs) are silently corrected by the hardware but counted in ERR_SBE[SBEC]. If the SBE counter crosses the threshold ERR_SBE[SBET], a critical interrupt is generated. Under light validation traffic, this threshold is never reached. Under a real application, accumulated SBEs can eventually become uncorrectable multi-bit errors (MBEs), which are fatal — data cannot be recovered. Multi-Bit ECC Errors Manifesting as Application Crashes NXP has documented cases on QorIQ platforms (P2020, T1042) where application crashes (e.g., a lwz instruction faulting on a valid-looking address) were traced to MBE events in DDR. The crash is not a software bug — it is the e5500 core receiving corrupted data from the DDR controller and raising an IVOR1 Machine Check Exception. Importantly, the MCSR register shows 0xA000 (uncorrectable L1 cache/tag error) even when the memory region is cache-inhibited, because the DDR controller asserts a corrupted-data signal that the core registers as an L1 error Cross-check your board design against: AN3940 — Hardware and Layout Design Considerations for DDR3 SDRAM Memory Interfaces AN5097 — Hardware and Layout Design Considerations for DDR4 SDRAM Memory Interfaces AN4039 — PowerQUICC and QorIQ DDR3 SDRAM Controller Register Setting Considerations Pay particular attention to: AVDD_DDR power supply noise and decoupling, DDR reset signal routing (HRESET_B to DRAM RESET), and termination resistor values. Regards Re: QorIQ T1022 DDR Validation Suite Passes with Good Margin, but Memory Corruption Seen in Applicat Hi, Analysis of the Two Results Figure 1 (QCVS Tool 😞 The tool results show the "Centering the clock" validation stage. The optimal CLK_ADJ is highlighted in bright yellow/green at 1/8, with the corresponding WRLVL_START determined as 1/2 clocks showing 8/8 passes. The WRLVL margin per byte lane also shows a good wide green band. Figure 2 (Your own measurements 😞 Your board-level test sweeps CLK_ADJ across all values while keeping the WRLVL register (0x8655F606U, WRLVL_START = 3/4) fixed. The results show that only a narrow band of CLK_ADJ values (approximately 1/4 to 1/2 range) pass, and a large portion of the sweep fails. The blue-highlighted original CLK_ADJ appears to be at 9/16, which is at or near the edge of the passing window. Possible Causes for the Discrepancy 1. WRLVL_START Values Are Not Being Recalculated When CLK_ADJ Changes This is the most likely root cause. The QCVS tool correctly recalculates WRLVL register values for each CLK_ADJ value it tests. When you sweep CLK_ADJ in your own test while keeping the WRLVL_CNTL register value fixed at 0x8655F606U (WRLVL_START = 3/4), you are testing an invalid combination for most CLK_ADJ settings — the write leveling start delay must be appropriate for the specific CLK_ADJ phase chosen. In the QCVS tool, after "Centering the clock" completes, if you click on any other passing CLK_ADJ cell, it generates updated WRLVL register values in the "Updated Configuration Registers" window corresponding to that specific CLK_ADJ. This is the correct way to evaluate margin at alternative CLK_ADJ settings. 2. QCVS Uses Write-Read-Compare; Your Test May Use BIST or a Different Algorithm The QCVS "Centering the clock" scenario uses the Write-Read-Compare (WRC) algorithm, which performs a proper margin sweep and optimization of CLK_ADJ and WRLVL simultaneously. If your own testing uses BIST-based patterns, it is important to note that BIST tests do NOT retrain or tune any PHY timing — they only validate functionality using existing settings, and do not measure margin. 3. Signal Integrity / Board-Level Factors The QCVS tool operates under its own controlled test sequence and does not account for board-specific factors such as PCB trace length skew, temperature variation, or supply voltage margins. Board-level measurements can reveal a narrower effective timing window, which is expected for a custom board versus the reference design assumptions built into QCVS. Regarding the Blue-Highlighted Original CLK_ADJ Setting Your original CLK_ADJ setting (highlighted in blue, at 9/16) falls at or beyond the edge of the passing window in your board-level tests. This indicates it is operating with insufficient margin. The QCVS tool selected 1/8 as the optimum — a significantly different value — which implies the WRLVL_START register values used with your original 9/16 setting may not be appropriately matched to that CLK_ADJ, further reducing the effective margin. Recommended Margin Requirements The QCVS tool considers the bright green cell as the optimal setting and the passing window (green cells) around it as the margin indicator. The generally accepted NXP recommendation is: A minimum of 2–3 passing green cells on each side of the selected operating point is considered adequate margin. Only 1 passing cell on either side is considered insufficient/marginal and should not be used for production. The operating point should be centered within the passing window — not at an edge. Recommended Next Steps Use the QCVS tool's optimal CLK_ADJ of 1/8 and extract the corresponding WRLVL_CNTL register values from the "Updated Configuration Registers" window. Do not manually sweep CLK_ADJ while keeping WRLVL fixed. Re-run the full "Centering the clock" validation using the Write-Read-Compare test (not BIST) to ensure both CLK_ADJ and WRLVL_START are co-optimized. Verify the CLK-to-DQS skew input in QCVS is correctly set based on your PCB trace length measurements (CLK length minus DQS length from your EDA tool), as this directly seeds the initial WRLVL_START values. If you wish to evaluate the margin at your preferred CLK_ADJ, click that cell in the QCVS tool after the "Centering the clock" run so the tool recalculates the correct WRLVL values, then run the WRLVL margin scenario with those updated registers Regards Re: QorIQ T1022 DDR Validation Suite Passes with Good Margin, but Memory Corruption Seen in Applicat Hi, Thank you for the detailed response. Since then, we have carried out some additional investigation. Figure 1 shows the data extracted from the QorIQ validation tool. Based on these results, it appeared that we had sufficient margin available, and when we reviewed our register settings, they were within the values reported by the tool. Because of this, we initially did not make any changes to the register settings, as the validation results did not indicate that there was an issue. Figure 2 shows the results from our own testing. As you can see, these results do not appear to correlate with what the validation tool is reporting. From our measurements, the available margin seems to be significantly lower than that indicated by the tool. Is there anything we may be missing, or are there any additional factors that could explain the discrepancy between the validation tool results and our measurements? Please also note that the value highlighted in blue was our original CLK_ADJ setting. Could you also clarify what would be considered a sufficient margin in this case? The tool appears to indicate that having one green value on either side of the optimum setting is acceptable, but we would appreciate confirmation of the recommended margin requirements. figure 1) Are testing carried out on QorIQ DDR Validation tool. figure 2) Actual results when adjusting the CLK ADJ values with our own software. 
View full article
R52_0_0とR52_0_1間のIPCF設定 2つのR52 RTU0コア間でIPCFプロジェクトをセットアップしようとしています。コア同期とMRU IRQがヒットしないという問題が発生しています。.mexファイルを添付します参考資料として保管してください。問題解決を手伝ってもらえますか?現在、私には2つの問題があります。 1. Core 0とCore 1の同期問題、レースの問題。 2. IRQの発射が正しくなく、正しいMRUチャネルを使っているか不明です。 Re: IPCF setup between R52_0_0 and R52_0_1 PrabhanjanKopp_0-1789991578266.pngPrabhanjanKopp_0-1789991578266.pngPrabhanjanKopp_0-1789991578266.pngPrabhanjanKopp_0-1789991578266.pngプラバンジャンコップ_0-1789991578266.png 私はS32E2コントローラー評価ボードを使っています。何らかの設定が不足しているのではないかと思います。SMU-R52では動作したようですが、こちらでは動作しません。ご確認いただき、何か問題がございましたらご連絡ください。IPCFフレームワークの上に、いくつかのトランスポートコードが追加されました。 Re: IPCF setup between R52_0_0 and R52_0_1 こんにちは、 PrabhanjanKopp お問い合わせいただきありがとうございます。 1.送信前に、ipc_shm_is_remote_ready()関数を呼び出して、リモート側が準備完了であることを確認する必要があります。 2.It、RTU0のコア0およびコア1のそれぞれのMRUインスタンスとチャネルを確認するために、S32Z2マニュアルを参照する必要があります。 S32DS/RTD/IPCF のどのバージョンを使っているか教えてもらえますか?可能であれば、IPCFのプロジェクトを私に送ってもらえますか?確認してこの問題に対処する方が良いでしょう。 BR ジョーイ Re: IPCF setup between R52_0_0 and R52_0_1 この件について何か進展はありますか? @Joey_z Re: IPCF setup between R52_0_0 and R52_0_1 こんにちは、 PrabhanjanKopp あなたのプロジェクトを予備的に調査したところ、2つのプロジェクトのアドレス割り当てに競合があることがわかりました。.intc_vectorは同じアドレスにあり、2つのコアを同時に実行すると競合が発生します。 BR ジョーイ Re: IPCF setup between R52_0_0 and R52_0_1 こんにちは、 PrabhanjanKopp 現在、問題の確認をお手伝いしております。これにより、このCASEの優先度が上がります。 進展があればまたご連絡します! BR ジョーイ Re: IPCF setup between R52_0_0 and R52_0_1 こんにちは、 PrabhanjanKopp 問題の確認と再現を手伝っており、進展があればご返信します! BR ジョーイ Re: IPCF setup between R52_0_0 and R52_0_1 こんにちは、ジョーイ。 この割り込みリソースの繰り返し初期化が起こるコードを教えてもらえますか?私が通信に使ったMRUチャネルが本当に正しいかどうかも確認できますか?もし割り込みリソースの初期化を適切に行うための擬似コードを教えていただければ、とても助かります。 ありがとうございます プラバンジャン Re: IPCF setup between R52_0_0 and R52_0_1 こんにちは、 PrabhanjanKopp ご返信よろしくお願いします。 申し訳ありませんが、ご指摘いただいた擬似コードは提供しておりません。また、R52_0_0とR52_0_1間のIPCF設定に関する既存のデモも提供されませんでした。2つのプロジェクトでプラットフォーム割り込み設定で必要な割り込みを設定してみてください。MRUのチャネル設定では明らかな問題は見られませんでした。しかし、さらなるテストも必要です。 最近、私は休暇を取ります。もし私の継続的なサポートが必要なら、10月8日に戻ってきます。急いでいる場合は、新しいチケットを作成できます。現在通常勤務中の同僚が新しいチケットの作成をサポートします。 ご迷惑をおかけして申し訳ございません。 BR ジョーイ Re: IPCF setup between R52_0_0 and R52_0_1 こんにちは、 PrabhanjanKopp 返信が遅くなり大変申し訳ありません。 プロジェクトを確認すると、両方のプロジェクトがリソース初期化を経ており、これによりリソースの競合や中断されたリソースの繰り返し初期化が起こりやすいです。関連するリソース設定を確認してください。 IPCFプロジェクトをテストするもう1つの方法は、リソース初期化の同期を回避するために、GreenVIPプログラムの一部を切り取って使用することです。 この情報があなたの助けになれば幸いです。 BR ジョーイ
View full article
R52_0_0 和 R52_0_1 之间建立 IPCF 连接 尝试在 2 个 R52 RTU0 内核之间建立 IPCF 项目。遇到核心同步问题,且最近使用的中断请求 (MRU IRQ) 未被触发。我附上了我的.mex文件。文件供参考。请您帮我解决这些问题。目前我遇到两个问题: 1. 核心 0 和核心 1 同步问题、竞争问题。 2. IRQ触发不正确,我不确定是否使用了正确的MRU通道。 Re: IPCF setup between R52_0_0 and R52_0_1 你好, PrabhanjanKopp 感谢您与我们联系。 1.发送之前,应调用函数ipc_shm_is_remote_ready()确认远程端已准备就绪。 2.需要参考 S32Z2 手册,以确认 RTU0 的内核 0 和内核 1 的相应 MRU 实例和通道。 请问您使用的是哪个版本的S32DS/RTD/IPCF?如果可以的话,能否将您的 IPCF 项目发送给我?最好检查并处理这个问题。 BR 乔伊 Re: IPCF setup between R52_0_0 and R52_0_1 PrabhanjanKopp_0-1789991578266.pngPrabhanjanKopp_0-1789991578266.pngPrabhanjanKopp_0-1789991578266.pngPrabhanjanKopp_0-1789991578266.png 我使用的是S32E2控制器评估板。我怀疑我漏掉了一些配置。它在 SMU-R52 上似乎可以运行,但在这里却不行。请检查一下,如果发现问题请告知。在 IPCF 框架之上添加了一些传输代码。 Re: IPCF setup between R52_0_0 and R52_0_1 这件事有进展吗? @Joey_z Re: IPCF setup between R52_0_0 and R52_0_1 你好, PrabhanjanKopp 我已初步检查了您的项目,并注意到您的两个项目在地址分配方面存在冲突。.intc_vector 位于同一地址,同时运行两个核心会导致冲突。 BR 乔伊 Re: IPCF setup between R52_0_0 and R52_0_1 你好, PrabhanjanKopp 我正在协助您检查这些问题。这将提高此案的优先级别。 一旦有任何进展,我会立即回复你! BR 乔伊 Re: IPCF setup between R52_0_0 and R52_0_1 你好, PrabhanjanKopp 我正在协助您检查和重现问题,如有进展我会及时回复您! BR 乔伊 Re: IPCF setup between R52_0_0 and R52_0_1 嗨,乔伊, 能否指出重复初始化中断资源的代码位置?您能否也确认一下我用于通信的MRU通道是否正确?如果您能提供一份用于正确初始化中断资源的伪代码,那将对我非常有帮助。 谢谢! 普拉班詹 Re: IPCF setup between R52_0_0 and R52_0_1 你好, PrabhanjanKopp 感谢您的回复。 抱歉,我们没有提供您提到的伪代码。而且没有提供 R52_0_0 和 R52_0_1 之间 IPCF 设置的现有演示。请尝试在平台中断配置中为这两个项目设置所需的中断。MRU通道设置未发现明显问题;但是,仍需进行进一步测试。 最近我将休假。如果您需要我继续提供支持,我将于10月8日回归。如果您时间紧迫,可以创建一个新的工单。目前正在正常工作的同事会协助您处理新工单。 给您带来的不便,我深表歉意。 BR 乔伊 Re: IPCF setup between R52_0_0 and R52_0_1 你好, PrabhanjanKopp 非常抱歉回复晚了。 经检查,您的项目已进行资源初始化,这很容易导致资源冲突,包括对已中断资源的重复初始化。请检查相关资源设置。 测试 IPCF 项目的另一种方法是使用裁剪后的 GreenVIP 程序,以避免资源初始化的同步。 希望这些信息对您有所帮助。 BR 乔伊
View full article
NDA问题 您好,NXP, 只有公司才能申请 SJA1105PQRS_SDS 数据表的保密协议吗?我是一名独立开发者,从事电机控制解决方案的开发。未来我可能会成立一家公司。
View full article
IPCF setup between R52_0_0 and R52_0_1 Trying to set up IPCF project between 2 R52 RTU0 cores. Facing issues with core sync and MRU IRQ not being hit. I am attaching my .mex file for reference. Can you please help me resolving the issues. currently I have 2 issues: 1. Core 0 and Core 1 sync issues , race issues. 2. IRQ firing is not proper, unsure if I have used the right MRU channels.  Re: IPCF setup between R52_0_0 and R52_0_1 Hi,PrabhanjanKopp Thank you for contacting us. 1.Before sending, the function ipc_shm_is_remote_ready() should be called to confirm that the remote end is ready. 2.It is necessary to refer to the S32Z2 manual to confirm the respective MRU instance and channel for core 0 and core 1 of the RTU0. Could you tell me the version of S32DS/RTD/IPCF you are using? If possible, could you send your IPCF project to me? It is better help to check it and handle this issue. BR Joey Re: IPCF setup between R52_0_0 and R52_0_1 PrabhanjanKopp_0-1789991578266.pngPrabhanjanKopp_0-1789991578266.pngPrabhanjanKopp_0-1789991578266.pngPrabhanjanKopp_0-1789991578266.png I use the S32E2 controller eval board. I suspect I am missing some configuration. It seemed to work on SMU-R52 but not here, Please have a look and get back if you see something wrong. Some transport code has been added on top of IPCF framework. Re: IPCF setup between R52_0_0 and R52_0_1 Any update on this? @Joey_z  Re: IPCF setup between R52_0_0 and R52_0_1 Hi,PrabhanjanKopp I have preliminarily inspected your project and noticed that there is a conflict in the address allocation of your two projects. The .intc_vector is at the same address, and running two cores simultaneously would cause a conflict. BR Joey Re: IPCF setup between R52_0_0 and R52_0_1 Hi,PrabhanjanKopp I'm currently assisting you in checking the issues. This will raise the priority of this case. I'll get back to you once there's any progress! BR Joey Re: IPCF setup between R52_0_0 and R52_0_1 Hi,PrabhanjanKopp I am helping you to check and reproduce the problem, and I can reply to you when there is progress! BR Joey Re: IPCF setup between R52_0_0 and R52_0_1 Hi Joey, can you point me to the code where this repeated initialization of interrupt resource? Can you also verify if the MRU channels I have used for the communication are actually correct? If you can give me a pseudocode to do a proper initialization of interrupt resource, it would be most helpful.  Thanks, Prabhanjan Re: IPCF setup between R52_0_0 and R52_0_1 Hi,PrabhanjanKopp I'm very sorry for the late reply. After checking your project, both projects have undergone resource initialization, which can easily lead to resource conflicts, including the repeated initialization of interrupted resources. Please check the relevant resource settings. Another way to test the IPCF project is to use the clipped GreenVIP program to avoid the synchronization of resource initialization. Hope this information can help you. BR Joey Re: IPCF setup between R52_0_0 and R52_0_1 Hi,PrabhanjanKopp Thank you for your reply. Sorry, we did not provide the pseudo code you mentioned. And not was an existing demo for IPCF setup between R52_0_0 and R52_0_1 provided. Please try to set the required interrupts in the Platform interrupt configuration for the two projects. The MRU channels settings did not reveal obvious issues; However, further testing is also necessary.  Recently, I will be on vacation. If you need my continued support, I will be back on October 8th. If you are in a hurry, you can create a new ticket.  My colleagues who are currently working normally will assist you with your new ticket. I apologize for the inconvenience caused. BR Joey
View full article
QorIQ T1022 DDR 验证套件以良好优势通过,但在应用程序中发现内存损坏。 你好, 我们正在使用QorIQ T1022设计,并已使用 NXP DDR 验证套件完成了 DDR 启动和验证。 结果令人鼓舞: 所有DDR验证测试均成功通过。 我们在所有测试条件下都取得了良好的时间裕度。 压力测试期间,验证套件未报告任何错误。 然而,当我们加载并运行主应用程序时,我们开始观察到一些似乎与内存相关的问题/损坏。仅使用 DDR 验证测试无法重现这些问题。 这就引出了一个问题:我们是否应该使用其他机制或测试方法来检测可能仅在真实应用程序工作负载下才会出现的问题。 我们感兴趣的是了解: T1022 上的标准 DDR 验证套件测试可以检测出哪些类型的 DDR 或内存子系统问题? 是否存在已知的应用层面的场景,可以暴露出在 DDR 训练和验证过程中未检测到的问题? T1022 上是否有其他压力测试、性能监视器、错误计数器或调试技术可以帮助确定根本原因? 有没有人遇到过这样的情况:DDR验证结果显示裕量极佳,但后来在生产应用中却出现了内存损坏或不稳定的情况? 非常感谢您能提供任何关于其他诊断方法、硬件检查或软件调试方法的指导。 谢谢! QorIQ T1 设备 Re: QorIQ T1022 DDR Validation Suite Passes with Good Margin, but Memory Corruption Seen in Applicat 你好, QCVS DDRv 工具通过 JTAG 从单个内核使用顺序、确定性访问模式来测试 DDR 时序裕量(写入均衡、读/写居中、时钟调整)。它不进行锻炼: 多主/多核并发访问 — T1022 具有两个 e5500 内核以及 DPAA(数据路径加速架构),帧管理器、队列管理器和 DMA 引擎同时争用 DDR 总线。只有在实际流量下才会出现由竞争引起的时序违规。 缓存一致性压力 — 涉及缓存刷新、失效和一致性 DMA 传输的应用程序工作负载会创建验证套件永远不会生成的访问模式。 散热和电源变化——在室温下轻负载下测量的 DDR 裕量,在 SoC 满负荷运行时,AVDD_DDR 电源在负载下下降时,可能会显著降低。 DQ 映射错误 — 如果 DQ_MAPn 寄存器不正确,控制器可能仍然会通过验证(使用已知的训练模式),但在实际应用流量下会损坏数据。这是T1022特有的一个已记录的问题。 边缘单比特 ECC 错误 — 验证套件可能不会累积足够的交易来触发 SBE 阈值报告,而运行数小时的实际应用程序会默默地累积这些错误。 DQ映射错误配置 DQ_MAPn 寄存器提供 动态随机存取存储器(DRAM) DQ 信号到控制器的映射。如果这些是错误的,控制器就无法正确解释训练模式,并且在实际工作负载下会发生数据损坏。NXP 已在 T1022 设计中证实了这一点:清除所有 DQn_MAP 寄存器(对于 1:1 映射设置为 0)是建议的诊断步骤。 内存排序/流水线效应(PowerPC e5500) e5500 核心的内存顺序细节有据可查。写入操作可能无法在后续读取操作之前完全提交到 DDR,尤其是在没有显式 msync/isync 屏障的情况下。恩智浦的应用团队已确认: “在错误注入被禁用之前,写入操作可能尚未完全提交到内存。随后的读取操作可能会命中缓存或流水线,而不会立即触发 ECC 逻辑。”应用程序代码中缺少 DMA 设置或共享内存结构周围的屏障,可能会导致表面上的损坏,而这实际上是一致性排序问题。 ECC单比特错误累积 T1022 DDR 控制器支持 ECC。单比特错误 (SBE) 由硬件默默纠正,但计入 ERR_SBE[SBEC]。如果 SBE 计数器超过阈值 ERR_SBE[SBET],则会产生严重中断。在验证流量较小的情况下,永远不会达到此阈值。在实际应用中,累积的 SBE 最终可能会变成无法纠正的多位错误 (MBE),这是致命的——数据无法恢复。 多位ECC错误表现为应用程序崩溃 NXP 已记录了 QorIQ 平台(P2020、T1042)上的案例,其中应用程序崩溃(例如,lwz 指令在看似有效的地址上发生故障)可追溯到 DDR 中的 MBE 事件。崩溃不是软件错误——而是 e5500 内核从 DDR 控制器接收到损坏的数据,并引发 IVOR1 机器检查异常。重要的是,即使内存区域被缓存抑制,MCSR 寄存器仍然显示 0xA000(不可纠正的 L1 缓存/标记错误),因为 DDR 控制器会发出一个损坏数据信号,该信号被内核识别为 L1 错误。 将您的电路板设计与以下内容进行交叉核对: AN3940 — DDR3 同步动态随机存取存储器(SDRAM) 内存接口的硬件和布局设计考虑因素 AN5097 — DDR4 同步动态随机存取存储器\\(SDRAM\\) 内存接口的硬件和布局设计考虑因素 AN4039 — PowerQUICC 和 QorIQ DDR3 SDRAM 控制器寄存器设置注意事项 请特别注意:AVDD_DDR 电源噪声和去耦、DDR 复位信号路由(HRESET_B 到 动态随机存取存储器(DRAM) RESET)以及终端电阻值。 此致 Re: QorIQ T1022 DDR Validation Suite Passes with Good Margin, but Memory Corruption Seen in Applicat 您好, 对两项结果的分析 图 1(QCVS 工具) 😞工具结果显示了“时钟居中”验证阶段。最佳 CLK_ADJ 在1/8处以亮黄色/绿色突出显示,相应的 WRLVL_START 确定为 1/2 个时钟,显示 8/8 次循环。每字节通道的 WRLVL 裕量也显示出良好的宽绿带。 图 2(您自己的测量结果) 😞您的板级测试将 CLK_ADJ 扫过所有值,同时保持 WRLVL 寄存器 (0x8655F606U, WRLVL_START = 3/4) 固定。结果表明,只有一小部分CLK_ADJ 值(大约 1/4 到 1/2 范围)通过,而大部分扫描失败。蓝色高亮显示的原始 CLK_ADJ似乎位于9/16 ,即位于或接近通过窗口的边缘。 造成差异的可能原因 1. 当 CLK_ADJ 发生变化时,WRLVL_START 值没有重新计算 这很可能是根本原因。QCVS 工具能够正确地为它测试的每个 CLK_ADJ 值重新计算 WRLVL 寄存器值。当您在自己的测试中扫描 CLK_ADJ,同时保持 WRLVL_CNTL 寄存器值固定在 0x8655F606U (WRLVL_START = 3/4) 时,您测试的是大多数 CLK_ADJ 设置下的无效组合——写入电平开始延迟必须与所选的特定 CLK_ADJ 阶段相匹配。 在 QCVS 工具中,“时钟居中”完成后,如果您单击任何其他经过的 CLK_ADJ 单元,它会在“更新配置寄存器”窗口中生成与该特定 CLK_ADJ 对应的更新的 WRLVL 寄存器值。这是评估不同 CLK_ADJ 设置下的裕量的正确方法。 2. QCVS 使用写-读-比较算法;您的测试可能使用 BIST 或其他算法。 QCVS“时钟居中”场景采用写-读-比较(WRC)算法,该算法同时执行适当的裕量扫描和CLK_ADJ及WRLVL的优化。如果您的测试使用基于 BIST 的模式,请注意, BIST 测试不会重新训练或调整任何 PHY 时序——它们只是使用现有设置验证功能,并且不会测量裕量。 3. 信号完整性/板级因素 QCVS 工具按照其自身的受控测试顺序运行,不考虑电路板特定因素,例如 PCB 走线长度偏差、温度变化或电源电压裕度。板级测量可以揭示出更窄的有效时序窗口,这对于定制电路板来说是预期的,与 QCVS 内置的参考设计假设相比。 关于蓝色高亮显示的原始 CLK_ADJ 设置 您的原始 CLK_ADJ 设置(蓝色高亮显示,位于9/16 )落在板级测试的合格窗口边缘或超出合格窗口边缘。这表明其运营利润不足。QCVS 工具选择1/8作为最佳值——这是一个明显不同的值——这意味着与您最初的 9/16 设置一起使用的 WRLVL_START 寄存器值可能与该 CLK_ADJ 不匹配,从而进一步降低了有效裕度。 建议保证金要求 QCVS 工具将亮绿色单元格视为最佳设置,并将它周围的通过窗口(绿色单元格)视为裕量指示器。恩智浦普遍接受的建议是: 在选定的工作点两侧至少有 2-3 个通过的绿色单元格被认为是足够的裕量。 两侧仅有 1 个合格的单元格被认为是不合格/勉强合格的,不应用于生产。 操作点应该位于传递窗口的中心,而不是边缘。 建议的后续步骤 使用 QCVS 工具的最佳 CLK_ADJ 值 1/8 ,并从“更新配置寄存器”窗口提取相应的 WRLVL_CNTL 寄存器值。在保持 WRLVL 固定不变的情况下,不要手动调节 CLK_ADJ。 使用 Write-Read-Compare 测试(而非 BIST)重新运行完整的“时钟居中”验证,以确保 CLK_ADJ 和 WRLVL_START 都得到协同优化。 根据你的 PCB 走线长度测量值(从 EDA 工具中测量的 CLK 长度减去 DQS 长度),验证 QCVS 中的 CLK 到 DQS 偏移输入是否设置正确,因为这直接决定了 WRLVL_START 的初始值。 如果您希望评估您首选的 CLK_ADJ 处的裕量,请在“时钟居中”运行后,在 QCVS 工具中单击该单元格,以便该工具重新计算正确的 WRLVL 值,然后使用这些更新后的寄存器运行 WRLVL 裕量场景。 此致 Re: QorIQ T1022 DDR Validation Suite Passes with Good Margin, but Memory Corruption Seen in Applicat 您好, 感谢您的详细回复。 此后,我们进行了一些补充调查。图 1显示了从 QorIQ 验证工具中提取的数据。根据这些结果,我们似乎有足够的可用利润空间,当我们检查我们的账簿设置时,它们都在该工具报告的值范围内。 正因如此,我们最初没有对注册设置进行任何更改,因为验证结果并未表明存在问题。 图 2显示了我们自己测试的结果。如您所见,这些结果似乎与验证工具报告的结果不符。根据我们的测量结果,可用利润空间似乎比该工具显示的利润空间要低得多。 我们是否遗漏了什么,或者是否有其他因素可以解释验证工具结果与我们的测量结果之间的差异? 另请注意,蓝色高亮显示的值是我们最初的CLK_ADJ设置。您能否也说明一下,在这种情况下,多少才算足够的裕量?该工具似乎表明,在最佳设置两侧各有一个绿色值是可以接受的,但我们希望得到推荐的裕度要求的确认。 图 1)正在使用 QorIQ DDR 验证工具进行测试。 图 2)使用我们自己的软件调整 CLK ADJ 值时的实际结果。
View full article
NDAに関する質問 こんにちは、NXPさん。 データシートのNDAは企業だけが申請できますかSJA1105PQRS_SDS?私は独立系でモータ制御ソリューションを開発しています。FUTURE、会社を設立するかもしれません。
View full article
QorIQ T1022 DDR検証スイートは良好なマージンで通過しますが、アプリケーション中にメモリ破損が確認されています こんにちは、 私たちは QorIQ T1022 設計を用いており、NXP DDR Validation Suiteを使ったDDRの起動と検証を完了しました。 結果は有望だ。 DDRの検証テストはすべて正常に合格しました。 試験したすべての条件下で、良好な時間的余裕を達成しました。 ストレステスト中に検証スイートからエラーは報告されませんでした。 しかし、メインアプリケーションを読み込んで実行すると、 メモリ関連の問題や破損が見られます。これらの問題は、DDR検証テストだけでは再現できません。 これにより、実際のアプリケーションワークロード下でのみ発生する可能性のある問題を検出するために、追加のメカニズムやテスト手法を使えばよいのではないかという疑問が生じています。 私たちは以下の点を理解することに関心があります。 T1022の標準的なDDR検証スイートテストで回避できるDDRやメモリサブシステムの問題にはどのようなものがありますか? DDRのトレーニングや検証で検出されなかった問題を暴露できる既知のアプリケーションレベルのシナリオはありますか? T1022には、根本原因を特定するのに役立つ追加のストレステスト、パフォーマンスモニター、エラーカウンター、デバッグ技術などがありますか? DDRの検証で優れたマージンが示されたにもかかわらず、後に本番環境でメモリ破損や不安定が観察された状況に遭遇した方はいらっしゃいますか? 追加の診断、ハードウェアチェック、ソフトウェアデバッグの方法についてのアドバイスをいただけると大変ありがたいです。 よろしくお願いします。 QorIQ T1デバイス Re: QorIQ T1022 DDR Validation Suite Passes with Good Margin, but Memory Corruption Seen in Applicat こんにちは、 QCVS DDRvツールは、シングルコアからJTAG経由で逐次的かつデターミニスティックなアクセスパターンを用いてDDRのタイミングマージン(書き込みレベリング、読み書き/書き込みセンタリング、クロック調整)をテストします。運動はしない: マルチマスター/マルチコア同時アクセス — T1022は2つのe5500コアとDPAA(データパスアクセラレーションアーキテクチャ)を持ち、フレームマネージャ、キューマネージャ、DMAエンジンが同時にDDRバスを巡って競合します。競合によって引き起こされるタイミング違反は、実際のトラフィック状況下でのみ発生します。 キャッシュコヒーレンシーストレス — キャッシュフラッシュ、無効化、整合性のあるDMA転送を含むアプリケーションワークロードは、検証スイートが生成しないアクセスパターンを作り出します。 熱および電源の変動 — 室温で軽負荷時に測定されたDDRマージンは、SoCがフル稼働中でAVDD_DDR電源が負荷下で低下すると著しく劣化することがあります。 DQマッピングエラー — DQ_MAPnレジスタが誤っている場合、コントローラは既知のトレーニングパターンを用いる検証には合格しますが、実際のアプリケーション トラフィック下ではデータを破損させる可能性があります。これはT1022固有の既知の問題です。 周辺のシングルビットECCエラー — 検証スイートが十分なトランザクションを蓄積せず、SBE閾値報告をトリガーできない場合もありますが、数時間稼働する実際のアプリケーションは静かに処理します。 DQマッピングの設定ミス DQ_MAPnレジスタはDRAMのDQ信号をコントローラにマッピングします。これらが誤ると、コントローラはトレーニングパターンを正しく解釈できず、実際のワークロード下でデータ破損が発生します。NXPはT1022設計でこれを確認しており、すべてのDQn_MAPレジスタをクリア(1:1マッピングのために0に設定)が推奨される診断ステップです。 メモリの順序付け/パイプライン効果(PowerPC e5500) e5500コアには、メモリの順序付けの細かい違いがよく記録されています。書き込みは、特に明示的なmsync/isyncバリアがない場合、後続の読み取りが行われる前にDDRに完全にコミットされない可能性があります。NXPのアプリケーションチームは、 「エラー注入が無効になる前に書き込みがメモリに完全にコミットされない可能性がある。その後の読み取りでキャッシュまたはパイプラインにヒットし、ECCロジックがすぐにトリガーされない可能性がある」と確認した。アプリケーションコード、DMA設定時の欠落障壁、共有メモリ構造などは、実際には一貫性の順序の問題である明らかな破損を引き起こすことがあります。 ECCシングルビットエラー蓄積 T1022 DDRコントローラーはECCをサポートしています。シングルビットエラー(SBE)はハードウェアによって暗黙的に訂正されますが、ERR_SBE[SBEC]にカウントされます。SBEカウンタがしきい値ERR_SBE[SBET]を超えると、重大な割り込みが発生します。検証トラフィックが少ない場合、このしきい値に達することはありません。実際の応用では、蓄積されたSBEが最終的に修正不能なマルチビットエラー(MBE)となり、致命的となり、データは復元できません。 アプリケーションのクラッシュとして現れるマルチビットECCエラー NXPはQorIQプラットフォーム(P2020、T1042)で、アプリケーションクラッシュ(例:有効なアドレスでのlwz命令のフォールト)がDDRのMBEイベント情報に起因したCASEを記録しています。クラッシュはソフトウェアのバグではなく、e5500コアがDDRコントローラから破損したデータを受け取り、IVOR1マシンチェック例外を発生させたためです。重要なのは、メモリ領域がキャッシュ禁止されている場合でも、MCSRレジスタは0xA000(修正不能なL1キャッシュ/タグエラー)を表示します。これはDDRコントローラがコアがL1エラーとして登録する破損データ信号を主張するためです ボード設計を以下の基準と比較してください: AN3940 — DDR3 SDRAMメモリインターフェースのハードウェアおよびレイアウトデザインの考慮事項 AN5097 — DDR4 SDRAMメモリインターフェースのハードウェアおよびレイアウトデザインの考慮事項 AN4039 — PowerQUICCおよびQorIQ DDR3 SDRAMコントローラレジスタ設定の考慮事項 特に注意すべき点は、AVDD_DDR電源のノイズとデカップリング、DDRリセット信号のルーティング(HRESET_BからDRAM RESETへ)、および終端抵抗の値です。 よろしくお願いします。 Re: QorIQ T1022 DDR Validation Suite Passes with Good Margin, but Memory Corruption Seen in Applicat こんにちは、 2つの結果の分析 図1(QCVSツール) 😞ツールの結果は、「時計の中心合わせ」の検証段階を示しています。最適なCLK_ADJは1/8の位置で明るい黄色/緑色で強調表示され、対応するWRLVL_STARTは8/8のパスを示す1/2クロックとして決定されます。バイトレーンごとのWRLVLマージンも、良好な幅広の緑色の帯を示しています。 図2(あなた自身の測定値) 😞ボードレベルのテストでは、WRLVLレジスタ(0x8655F606U、WRLVL_START = 3/4)を固定したまま、CLK_ADJをすべての値にスイープします。結果によると、CLK_ADJの値のうち、ごく狭い範囲(およそ1/4から1/2の範囲)のみが合格し、スイープの大部分が不合格となることがわかった。青色でハイライトされた元のCLK_ADJは9/16の位置にあるようで、これは通過ウィンドウの端、もしくはその近くに位置しています。 不一致の考えられる原因 1. CLK_ADJが変更されてもWRLVL_STARTの値は再計算されない これが最も可能性の高い根本原因です。QCVSツールは、テストする各CLK_ADJ値に対してWRLVLレジスタ値を正しく再計算します。 WRLVL_CNTLレジスタの値を0x8655F606U(WRLVL_START = 3/4)に固定したまま、独自のテストでCLK_ADJをスイープすると、ほとんどのCLK_ADJ設定に対して無効な組み合わせをテストすることになります。書き込みレベリングの開始遅延は、選択した特定のCLK_ADJフェーズに適切である必要があります。 QCVSツールでは、「クロックのセンタリング」が完了した後、通過する他のCLK_ADJセルをクリックすると、その特定のCLK_ADJに対応する更新されたWRLVLレジスタ値が「更新された構成レジスタ」ウィンドウに生成されます。これは、代替のCLK_ADJ設定におけるマージンを評価する正しい方法です。 2. QCVSは書き込み・読み取り・比較方式を採用していますが、テストではBISTまたは別のアルゴリズムを使用する場合があります。 QCVSの「クロックのセンタリング」シナリオでは、書き込み・読み出し・比較(WRC)アルゴリズムを使用し、適切なマージンスイープとCLK_ADJおよびWRLVLの最適化を同時に実行します。独自のテストでBISTベースのパターンを使用する場合、 BISTテストはPHYタイミングを再トレーニングまたは調整しないことに注意してください。BISTテストは既存の設定を使用して機能を検証するだけであり、マージンを測定しません。 3. 信号完全性/基板レベルの要因 QCVSツールは独自の制御されたテストシーケンスに基づいて動作し、PCB配線長のずれ、温度変化、電源電圧のマージンといった基板固有の要因は考慮しません。基板レベルの測定により、カスタム基板ではQCVSに組み込まれたリファレンス・デザインの仮定とは異なり、より狭い有効タイミングウィンドウが明らかになります。 青色でハイライトされたオリジナルのCLK_ADJ設定について 元の CLK_ADJ 設定値 (青色で強調表示されている9/16 ) は、ボードレベルのテストにおける合格範囲の境界値、またはそれを超えています。これは、十分な余裕をもって事業を運営していないことを示している。QCVSツールは最適値として1/8を選択しました。これは元の値とは大きく異なるため、元の9/16設定で使用されていたWRLVL_STARTレジスタの値がCLK_ADJに適切に一致していない可能性があり、実効マージンがさらに減少することを意味します。 推奨されるマージン要件 QCVSツールは、明るい緑色のセルを最適設定とし、その周囲の通過範囲(緑色のセル)をマージン指標とみなします。NXPが一般的に推奨しているのは以下のとおりです。 選択した動作点の両側に、最低でも2~3個の緑色の通過セルがあれば、十分なマージンとみなされます。 片側につき1つの合格セルのみの場合、不十分またはぎりぎりの合格セルとみなされ、生産には使用すべきではありません。 動作点は通過ウィンドウの中央に位置するべきであり、端に位置してはならない。 推奨される次のステップ QCVSツールの最適なCLK_ADJ値である1/8を使用し、「更新された構成レジスタ」ウィンドウから対応するWRLVL_CNTLレジスタ値を抽出します。WRLVLを固定したまま、CLK_ADJを手動でスイープしないでください。 CLK_ADJとWRLVL_STARTの両方が同時に最適化されていることを確認するために、書き込み・読み取り・比較テスト(BISTではない)を使用して、 「クロックのセンタリング」検証全体を再実行してください。 QCVSのCLK-to-DQSスキュー入力が、PCB配線長測定値(EDAツールで測定したCLK長からDQS長を引いた値)に基づいて正しく設定されていることを確認してください。これは、WRLVL_STARTの初期値を直接決定するからです。 希望するCLK_ADJでマージンを評価したい場合は、「時計のセンタリング」実行後にQCVSツールのそのセルをクリックして正しいWRLVL値を再計算し、更新されたレジスタでWRLVLマージンシナリオを実行してください よろしくお願いします。 Re: QorIQ T1022 DDR Validation Suite Passes with Good Margin, but Memory Corruption Seen in Applicat こんにちは、 詳細なご回答ありがとうございます。 それ以降、我々は追加調査を実施しました。図1は、 QorIQ検証ツールから抽出されたデータを示しています。これらの結果に基づくと、十分な余裕があるように見え、レジスターの設定を確認したところ、ツールが報告した値の範囲内でした。 そのため、検証結果に問題が示されなかったことから、当初はレジスターの設定変更は行いませんでした。 図2は、我々が独自に行ったテストの結果を示している。ご覧の通り、これらの結果は検証ツールが報告している内容と相関していないようです。我々の測定結果によると、利用可能なマージンは、ツールが示す値よりもかなり低いようです。 何か見落としている可能性や、検証ツールの結果と測定値の不一致を説明する追加の要因はありますか? また、青色で強調表示されている値は、当初のCLK_ADJ設定値であることをご留意ください。この場合、十分なマージンとは何とみなされるのかも明確にしていただけますか?このツールでは、最適設定値の両側に緑色の値が1つずつあれば許容範囲であると示されているようですが、推奨されるマージン要件について確認していただけると幸いです。 図1)QorIQ DDR検証ツールでテストが実施されています。 図2) 自社ソフトウェアでCLK ADJ値を調整した際の実際の結果。
View full article
NDA Question Hello NXP, Can only companies apply for NDA for SJA1105PQRS_SDS datasheet ? I'm an independent developing motor controls solutions. I may form a company in the future.
View full article
S32K344 Kicadの記号とパッケージ こんにちは、 S32K344 MCUファミリー用のKiCadライブラリ(回路図記号、フットプリント、3Dモデル(STEP)などは利用可能でしょうか? ありがとう。 Re: S32K344 Kicad symbols and footprints ありがとう。 そこで、kicadのシンボル、フットプリント、3Dモデルを自分で設計しなければならないと考えています。 Re: S32K344 Kicad symbols and footprints こんにちは、 @manu_fenixecu さん。 S32K3の場合、CADENCE Allegro用の3D STEPファイルや記号とパッケージを提供しています。ハードウェア設計パッケージでご覧いただけます: https://www.nxp.com/webapp/Download?colCode=S32K3_HW-DesignPackage よろしくお願いいたします。 ルーカス
View full article
S32K344 KiCad符号和封装 你好, 是否有适用于 S32K344 MCU 系列的 KiCad 库,包括原理图符号、封装和 3D 模型(STEP)? 谢谢。 Re: S32K344 Kicad symbols and footprints 谢谢。 所以我想我必须自己设计 KiCad 符号、封装和 3D 模型。 Re: S32K344 Kicad symbols and footprints 你好@manu_fenixecu 对于 S32K3,我们提供 CADENCE Allegro 的 3D STEP 文件、符号和封装。可以在硬件设计包中找到: https://www.nxp.com/webapp/Download?colCode=S32K3_HW-DesignPackage 此致, Lukas
View full article
PTN3460 支持 大家好, PTN3460I 的数据手册中提到了“I2C 总线实用程序和固件及 EDID 更新编程指南”文档。我找不到与I2C总线实用程序和EDID更新工具相关的文档。 此外,我们能否使用 DP Aux 刷新 PTN3460I 的内部闪存?如果是这样,是否有相应的工具?PTN3460(Flash-over-AUX)工具仅用于固件更新,还是也可用于EDID更新? Re: PTN3460 Support 您好, PTN3460I 数据手册中引用的文档“I2C 总线实用程序和固件及 EDID 更新编程指南”对应于 AN11606 – PTN3460I 编程指南(适用于 PTN3460I)和 AN11128 – PTN3460 编程指南(适用于商用 PTN3460)。两者均可在NXP.com上公开获取: AN11606 – PTN3460I 编程指南(修订版 1.4) — 涵盖 I²C 总线配置表结构、EDID 编程(最多 7 个 EDID 数据结构)、所有寄存器定义,以及通过 I²C 将 EDID 和配置数据写入 PTN3460I 内部闪存的逐步程序。 AN11128 – PTN3460 编程指南(修订版 1.8) — 商用 PTN3460BS 变体的等效文档。 关于您提出的有关 DP AUX 接口和 Flash-over-AUX (FoA) 工具的问题: 通过 DP AUX 接口对内部闪存进行编程:是的,PTN3460I 支持通过 DP AUX 通道对其内部闪存进行编程。可以通过 I²C 总线接口或 DP AUX 访问寄存器。 Flash-over-AUX (FoA) 工具范围:PTN3460/PTN3460I 有两种独立的 FoA 工具: FoA 固件更新程序(PTN3460IBS 固件 F2 的独立工具)——专门用于通过 DP AUX 通道进行固件版本升级。 FoA EDID 更新程序 — 一个专门用于通过 DP AUX 通道进行 EDID 更新的独立实用程序。 请查收下方附件。 BRs,托马斯
View full article
CLEV6630B eval board(OM26630FDK) I got PDf files of CLEV6630B eval board(OM26630FDK) can I get altium pcb files of the same for use in our custom design? Re: CLEV6630B eval board(OM26630FDK) Hello @R_Tony, Hope you are doing well. My apologies, the only design files available for this device are the CLRC6630B schematics and layout, available in PDF format. I apologize for the inconvenience. Regards, Eduardo.
View full article
FRDM-IMX93 — LPSPI3/EXPI (P11) SPI pins produce no valid SPI transactions with any external device; Subject: FRDM-IMX93 — LPSPI3/EXPI (P11) SPI pins produce no valid SPI transactions with any external device; suspect conflict with onboard tri-radio module (MAYA-W27x) Hi NXP team, I'm trying to bring up an external SPI device (Waveshare 2-CH CAN HAT(https://www.waveshare.com/wiki/2-CH_CAN_HAT), dual MCP2515) on the FRDM-IMX93 board's EXPI 40-pin header (P11), using LPSPI3 (GPIO_IO08–11, matching the RPi-compatible pin positions). I've confirmed the HAT itself is fully functional (tested and working on a genuine Raspberry Pi with the standard dtoverlay=mcp2515 configuration). Board / BSP: FRDM-IMX93, model NXP FRDM-IMX93 NXP i.MX Release Distro 6.18-whinlatter, kernel 6.18.2-1.0.0-gf49f45233f7b What I've configured (all verified correct at the device tree level): Overlay adds mcp2515@0/mcp2515@1 under &lpspi3, with cs-gpios = <&gpio2 8 1>, <&gpio2 7 1>; (GPIO_IO08/GPIO_IO07), matching the GPIO-based CS pattern I found in NXP's own upstream patch for a similar FRDM-IMX93 SPI3 peripheral (pixpaper display overlay). Extended &pinctrl_lpspi3 to mux GPIO_IO07 (CS1) as GPIO, since it was previously (MUX UNCLAIMED) in /sys/kernel/debug/pinctrl/. Disabled the pre-existing spidev0 node that was conflicting with CS0. Enabled reg_vexp_3v3/reg_vexp_5v (regulator-always-on) — these were disabled by default and the EXPI header had no power without this. Confirmed /dev/spidev2.0 is created and pinmux shows correct function assignment (lpspi3grp) on all 4 SPI pins. Symptom: mcp251x driver always fails: spi2.0: Cannot initialize MCP2515. Wrong wiring? (err=19) and spi2.1: MCP251x didn't enter in conf mode after reset (err=110) — completely unchanged across every device-tree variation above. Raw SPI-level test with spidev_test (compatible lwn,bk4) on /dev/spidev2.0: RX buffer returns byte-for-byte identical data regardless of whether MOSI/MISO are physically shorted (loopback), left open, or bridged with a shunt. This suggests the SPI3 signals present at P11 header pins 19/21/23/24 are not being reflected in the controller's actual bus activity — i.e., the signals may not be reaching the header at all, or something else is interfering. Suspected root cause: Per UM12181 (FRDM-IMX93 Board User Manual, Section 2.11 "Tri-radio module interface"), the SPI3 signals (CLK, MOSI, MISO, CS0 — multiplexed on GPIO_IO08-11) are shared between the onboard MAYA-W27x tri-radio module and the M.2 connector, via a bidirectional 1.8V level translator (U729), resistor-selected. The document doesn't clarify whether/how the EXPI header (P11) is electrically isolated from this shared path when SPI3 alternate function is driven from the SoC side. Question: Is P11's exposure of GPIO_IO08-11 electrically independent of the U729 translator/tri-radio path, or does using SPI3 on P11 require any additional configuration (e.g., disabling the tri-radio module, GPIO expander bits, or resistor rework) to route/isolate the signal to the header correctly? Is there a validated reference device tree (similar to imx93-11x11-evk-lpspi.dts for the EVK) for using LPSPI3 externally on the FRDM-IMX93 board specifically? Could a schematic excerpt for the SPI3/U729 signal path be shared to confirm the P11 connection topology? Thanks in advance for your help. Re: FRDM-IMX93 — LPSPI3/EXPI (P11) SPI pins produce no valid SPI transactions with any external devi FRDM-IMX93: No signal is output to the LPSPI3 (P11 EXPI header) SCK pin Issue I am trying to operate an external SPI device (2× MCP2515 CAN) using LPSPI3 (GPIO_IO08-11, spi@42550000) on the P11 EXPI header. The driver is active, and the peripheral appears to be running “internally,” but no signal is being output to the physical SCK pin (GPIO_IO11). Evidence The overlay is applied without errors; spi2.0/spi2.1 are registered in the SPI core. Power, pinctrl, pinctrl-assert-gpios, cs-gpios, and clock source—all are correct and have been verified. CS0 (same bank, GPIO alternate function, mode=0) works flawlessly—pulses are visible with both a multimeter and a logic analyzer. SCK (mode=1, native LPSPI3_SCK) is completely flat/0V on the logic analyzer—whether the HAT is connected or not, it makes no difference in the continuous trigger loop. Nevertheless, LPSPI3’s IRQ (GIC 97) is actually being triggered in /proc/interrupts (a single transfer attempt generated over 220 interrupts) — the peripheral’s internal logic (status/IER registers) is active. Reading the LPSPI3 base address (0x42550000) with /dev/mem returns a “Bus error” — but flexcan2 (0x425b0000), which is running on the same bus, also returns the same error, meaning this is a general /dev/mem limitation, not specific to LPSPI3 (ruled out via the control group). The DMA theory was tested and ruled out: when overriding dmas with an invalid phandle, the driver fell back to PIO with the message “dma setup error -19, use pio,” but the SCK signal still did not appear. The `clk_ignore_unused` boot argument also made no difference. Conclusion The internal logic of the LPSPI3 peripheral is working (generating interrupts), but the SCK signal never reaches the external pin (GPIO_IO11)—while CS0 (GPIO mode) in the same pinctrl group outputs correctly, SCK (native LPSPI3 alternate function) does not. This appears to point to a configuration detail related to the pad driver/silicon or a configuration detail that NXP should be aware of, which cannot be explained by the device tree or software. Question On the FRDM-IMX93, is there an additional hardware/firmware enable step outside the device tree for LPSPI3_SCK (GPIO_IO11, native alternate function) via P11? There is a known example where LPSPI3 works with the same pins on the i.MX93 EVK (community.nxp.com/t5/i-MX-Processors/iMX93AUTO-EVK-SPI-Configuration-for-QCA7006AQ)—could there be a difference specific to the FRDM? Re: FRDM-IMX93 — LPSPI3/EXPI (P11) SPI pins produce no valid SPI transactions with any external devi If anything is missing, I can add it. root@imx93-11x11-lpddr4x-frdm:/sys/firmware/devicetree/base# ls '#address-cells' clock-osc-24m firmware mcp2515_clock pmu regulator-hmisc-vddio regulator-vexp-3v3 soc@0 usbphynop2 '#size-cells' clock-osc-32k imx93-lpm memory psci regulator-usdhc2 regulator-vexp-5v sound-mqs usdhc3_pwrseq __symbols__ compatible interrupt-controller@48000000 model regulator-adc-vref regulator-usdhc3 remoteproc-cm33 sw-keys aliases cpus interrupt-parent mqs1 regulator-avdd regulator-vdd-12v reserved-memory thermal-zones chosen display-subsystem ldb-display-controller mqs2 regulator-can2-stby regulator-vdd-5p0v secure-enclave timer clock-ext1 ethosu ldb-phy name regulator-dvdd regulator-vddo serial-number usbphynop1 Re: FRDM-IMX93 — LPSPI3/EXPI (P11) SPI pins produce no valid SPI transactions with any external devi No, the imx93-11x11-frdm.dts file is the original; I edited the mcp2515-can-hat.dtbo overlay file, https://www.waveshare.com/wiki/2-CH_CAN_HAT, I only changed INT_1 from the default GPIO_25 to GPIO_24 (physical pin 18). Re: FRDM-IMX93 — LPSPI3/EXPI (P11) SPI pins produce no valid SPI transactions with any external devi Hello @irfanktm  Hope you are doing very well. Actually, there are a direct connections between the i.MX93 FRDM PADs and the P11 GPIO_IO08-IO11 Pines: Manuel_Salas_0-1789421014211.pngManuel_Salas_0-1789421014211.pngManuel_Salas_0-1789421014211.pngManuel_Salas_0-1789421014211.pngManuel_Salas_0-1789421014211.pngManuel_Salas_0-1789421014211.pngManuel_Salas_0-1789421014211.pngManuel_Salas_0-1789421014211.png Could you please share steps to reproduce it by my side? Best regards, Salas. Re: FRDM-IMX93 — LPSPI3/EXPI (P11) SPI pins produce no valid SPI transactions with any external devi Hello @irfanktm  I just made some test by my side: Manuel_Salas_0-1789495251012.pngManuel_Salas_0-1789495251012.pngManuel_Salas_0-1789495251012.pngManuel_Salas_0-1789495251012.pngManuel_Salas_0-1789495251012.pngManuel_Salas_0-1789495251012.pngManuel_Salas_0-1789495251012.png SPI us working well in my i.MX93 FRDM. Manuel_Salas_1-1789495295645.pngManuel_Salas_1-1789495295645.pngManuel_Salas_1-1789495295645.pngManuel_Salas_1-1789495295645.pngManuel_Salas_1-1789495295645.pngManuel_Salas_1-1789495295645.pngManuel_Salas_1-1789495295645.png I have the same environment as you. One more question. Do yo have voltage in your 3V3 and 5V pines of the i.MX93 FRDM board? If not, please take a look to the below link to enable the regulators of the board: https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Enable-3-3-V-and-5-V-Regulators-for-Expansion-Header-on-i-MX9/ta-p/2299415 Best regards, Salas. Re: FRDM-IMX93 — LPSPI3/EXPI (P11) SPI pins produce no valid SPI transactions with any external devi According to the logs, it makes me think you are trying to access to the SPI device over spidev_test, but the device is being handle by the MCP driver. What I need to know is the entire device tree (.dts) that you are using, like: imx93-11x11-frdm.dts Also, if you modified it, please let me know your modifications. Also, I will try to get an mcp2515 CAN module to try the integration by my side. Best regards, Salas. Re: FRDM-IMX93 — LPSPI3/EXPI (P11) SPI pins produce no valid SPI transactions with any external devi Please kindly share your entire device tree. Or just the related to the lpspi3 node and pinmux. Best regards, Salas. Re: FRDM-IMX93 — LPSPI3/EXPI (P11) SPI pins produce no valid SPI transactions with any external devi Yes, I have 3.3v and 5V at the p11 header, Why I have errors? imx93-11x11-lpddr4x-frdm login: root root@imx93-11x11-lpddr4x-frdm:~# dmesg | grep -iE 'mcp251|lpspi3' [ 8.989639] mcp251x: no symbol version for module_layout [ 10.032864] mcp251x spi2.1: MCP251x didn't enter in conf mode after reset [ 10.033021] mcp251x spi2.1: Probe failed, err=110 [ 10.033034] mcp251x spi2.1: probe with driver mcp251x failed with error -110 [ 10.074097] mcp251x spi2.0: Cannot initialize MCP2515. Wrong wiring? [ 10.074256] mcp251x spi2.0: Probe failed, err=19 root@imx93-11x11-lpddr4x-frdm:~# ip link show 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 link/ether 90:a9:f7:80:42:26 brd ff:ff:ff:ff:ff:ff 3: eth1: mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 link/ether 90:a9:f7:80:42:27 brd ff:ff:ff:ff:ff:ff 4: mlan0: mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 80:a1:97:50:4e:0d brd ff:ff:ff:ff:ff:ff 5: uap0: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 82:a1:97:50:4f:0d brd ff:ff:ff:ff:ff:ff 6: wfd0: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 82:a1:97:50:4e:0d brd ff:ff:ff:ff:ff:ff 7: can0: mtu 16 qdisc noop state DOWN mode DEFAULT group default qlen 10 link/can Re: FRDM-IMX93 — LPSPI3/EXPI (P11) SPI pins produce no valid SPI transactions with any external devi Technical Support Request — MCP2515 on i.MX93 LPSPI3 Multiple MCP2515 CAN controllers (3 units tested, 2 different manufacturers/boards, 8/16 MHz crystals) connected to an i.MX93-11X11-LPDDR4X-FRDM board via LPSPI3 (SPI2) intermittently fail to reach Configuration mode after reset (CANSTAT should read 0x80). Environment: kernel 6.18.2 (NXP downstream), CONFIG_SPI_FSL_LPSPI built-in, ERR051608 prescale fix present. Device tree / pinctrl verified correct (LPSPI3 SIN/SOUT/SCK properly muxed, CS via cs-gpios). Logic-analyzer captures confirm MOSI/SCK/CS are generated correctly and consistently by the host. Key observation: On a freshly opened spidev handle, the very first RESET + CANSTAT read succeeds (~0x80) roughly 50–60% of the time, with consistent ~2–6 ms timing. If additional RESET+read cycles are issued on the same, still-open SPI file descriptor, they consistently fail afterward, settling into a repeatable ~10–11 ms periodic pattern of fixed values (0x00 / 0xFF / 0xFB) that never reaches 0x80 again. This same failure signature is reproduced across all 3 physical MCP2515 units and 2 different board designs, ruling out a single defective chip/module. Adding inter-transfer delay (delay_usecs), a dummy 'flush' SPI transfer, and increasing the gap between cycles to 100 ms did not change the outcome (0/10 success once the pattern starts). VDD, GND, RESET pin and idle MISO level are all confirmed healthy (3.3 V) throughout. The mainline mcp251x kernel driver's own probe() shows the same instability: 5 consecutive bind attempts (unbind/clear driver_override/bind) all failed, alternating between err=-19 ("Wrong wiring?") and err=-110 ("didn't enter in conf mode after reset") in a regular, non-random pattern. This pattern (good on first transfer after open, then a fixed repeatable failure signature on subsequent transfers within the same session — reproduced by the kernel driver's own probe as well) suggests a state that is not being fully cleared between consecutive LPSPI3 transfers/CS cycles, rather than a defect in the MCP2515 units themselves. Question for NXP: is this consistent with a known LPSPI3 (i.MX93) behavior — e.g. FIFO/CS state not resetting cleanly between back-to-back transfers on the same SPI file descriptor — and is there a recommended driver-level workaround (e.g. required delay, FIFO flush, or CS handling) beyond ERR051608? Re: FRDM-IMX93 — LPSPI3/EXPI (P11) SPI pins produce no valid SPI transactions with any external devi Technical Support Request MCP2515 (Microchip) SPI communication failure on i.MX93 (NXP) SPI2/LPSPI3 1. Summary Two MCP2515 CAN controllers (Waveshare 2-CH CAN HAT, MCP2515-I/SO, 16 MHz crystal) connected to an i.MX93-11X11-LPDDR4X-FRDM board via LPSPI3 (SPI2, CS0/CS1) never enter Configuration mode after power-up or SPI/hardware reset. All register reads return fixed, non-varying values instead of the expected CANSTAT = 0x80. The kernel mcp251x driver consistently reports probe failure (err=-110 "didn't enter in conf mode after reset", or err=-19 "Wrong wiring?"). 2. Environment SoM/board: i.MX93-11X11-LPDDR4X-FRDM Kernel: 6.18.2-1.0.0-gf49f45233f7b (NXP downstream), CONFIG_SPI_FSL_LPSPI=y (built-in), ERR051608 prescale fix already present SPI bus: LPSPI3 (spi@42550000), 2 chip selects, custom device tree overlay (16 MHz fixed-clock, IRQ GPIO3-23 / GPIO3-24) CAN modules: Waveshare 2-CH CAN HAT, MCP2515-I/SO, marking "E3 2335BK5" (genuine Microchip marking format) Driver: mcp251x (mainline), tested against kernel driver and a custom spidev-based test utility 3. Troubleshooting performed Corrected device tree overlay target (&spi1/&lpspi3 vs. incorrect &spi2 label) — overlay now applies correctly, mcp2515 child nodes present in live DT Verified LPSPI3 pinctrl, cs-gpios, interrupt-parent/GPIO mapping against running device tree — all correct Verified master-side SPI signal integrity with a logic analyzer: MOSI, SCK and CS are generated correctly and consistently by the i.MX93 in several captures Confirmed VDD = 3.3V and idle MISO = 3.3V on both CAN modules (no short to GND) Confirmed RESET pin (pin 17, SOIC-18) = 3.3V (inactive) on both modules Tested SPI Mode 0,0 and Mode 1,1 (CPOL/CPHA), 100 kHz-8 MHz clock — no change in behavior Added 10k pull-up resistors on CS0/CS1 to resolve MISO bus contention between the two parallel MCP2515 devices — this stabilized (but did not correct) the readback data Custom spidev test tool: RESET instruction + immediate/continuous CANSTAT polling (1 ms interval, 300 ms window) after reset — CANSTAT settles instantly to a fixed value and never reaches 0x80 Forced WRITE to CANCTRL (0x80) followed by READ — readback is unaffected by the write, indicating the SPI transaction is not being processed by the CAN controller logic 4. Key observation CS0 device: CANSTAT/CANCTRL/all registers consistently read back 0x00 (100% repeatable across dozens of reset+read cycles, independent of register address, SPI mode, or written value). CS1 device: CANSTAT/CANCTRL/all registers consistently read back 0xFF (100% repeatable, MISO never toggles during the transaction). Both devices show clean, correctly-timed MOSI/SCK/CS from the master, but return a fixed value regardless of instruction, address, or CS pull configuration — this pattern is not explained by SPI mode/timing/wiring on the host side and is consistent with the MCP2515 CAN core never leaving its post-reset/oscillator-not-stable state. 5. Request Given the host-side SPI signaling has been verified correct by logic analyzer and the device tree / kernel driver configuration is confirmed correct, we would like guidance on: Whether this failure signature (fixed register readback, CANSTAT never = 0x80) is consistent with a known MCP2515 crystal/oscillator start-up issue, and recommended oscilloscope/verification procedure for OSC1/OSC2 Whether there are known compatibility issues between MCP2515 and i.MX93 LPSPI (beyond ERR051608, already addressed) Recommended next diagnostic steps or RMA process if a hardware defect in the MCP2515 modules is suspected Please let us know if additional logic analyzer captures, device tree files, or kernel logs would help. Re: FRDM-IMX93 — LPSPI3/EXPI (P11) SPI pins produce no valid SPI transactions with any external devi MCP2515 / i.MX93 LPSPI3 — Root-Cause Update Follow-up to our earlier report. A new, isolating test now points away from the MCP2515 modules entirely and toward the i.MX93 LPSPI3 SPI controller / driver. Test performed: Using a userspace spidev tool, we repeatedly issue RESET + CANSTAT-read cycles on LPSPI3 (500 kHz, Mode 0) while varying only the physical state of the MISO line: MISO wired to a real MCP2515 chip: unstable, rarely reaches the expected 0x80. MISO physically disconnected (floating, no chip attached): a structured, repeating byte pattern (0x00 / 0xFF / 0xFB) still appears, with ~10–11 ms periodicity. MISO tied to GND through a 10kΩ resistor: the same repeating pattern still appears, essentially unchanged. MISO shorted directly to GND (~0Ω): the pattern disappears completely — reads become a flat, constant 0x00. Key finding: The exact same byte sequence, with millisecond-for-millisecond identical timing, reappears across independent runs (different process IDs, different times) and across different physical MISO conditions (disconnected vs. 10kΩ pulldown vs. connected to a real chip). The SPI ioctl() call itself returns success (no error) every time — this is not a failed transfer being masked; real data is being clocked in on every call. Interpretation: A genuinely floating or resistor-loaded input pin should not reproduce an identical, host-independent bit pattern down to the millisecond across separate process invocations. This level of determinism suggests the byte values being read back are not representative of the actual MCP2515 SO/MISO line, but are instead coming from a fixed, repeatable internal state of the LPSPI3 peripheral or its Linux driver (e.g., stale RX FIFO content, or a fixed pattern read regardless of the input pin's real logic level) — only a hard short to GND overrides it. Question for NXP: could LPSPI3 (or its Linux driver, spi-fsl-lpspi) under certain conditions return fixed/stale RX FIFO content instead of the pin's real sampled value? Is there a known erratum or driver behavior that would explain a deterministic, wiring-independent readback pattern like this? Re: FRDM-IMX93 — LPSPI3/EXPI (P11) SPI pins produce no valid SPI transactions with any external devi Hello dear @irfanktm  Please take a look to the post I made for your case: https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/2-CH-CAN-HAT-with-FRDM-IMX93/ta-p/2415467 There is explained how you can use the 2-Channel CAN HAT in our BSP and i.MX93 FRDM. Best regards, Salas.
View full article
为 IMX8 Nano 处理器实现 USB 尝试为 imx8 nano 实现 USB 功能,评估板布局显示 ID 引脚为浮空导线。它能在主机模式下工作吗?因为主机模式下 id 必须等于 0。 Re: implementing usb for imx8 nano processor 你好@Jayesh2408 希望你一切都好。 是的,只要通过软件强制控制器行为,浮空 ID 引脚在仅主机模式下也能完美工作。 您只需将设备树中的dr_mode属性从“ otg ”更改为“ host ”即可: &usbotg1 { dr_mode = "host"; hnp-disable; srp-disable; adp-disable; usb-role-switch; disable-over-current; samsung,picophy-pre-emp-curr-control = <3>; samsung,picophy-dc-vol-level-adjust = <7>; status = "okay"; port { usb1_drd_sw: endpoint { remote-endpoint = <&typec1_dr_sw>; }; }; }; 顺祝商祺! 萨拉斯。
View full article