Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
使用 HSE demoapp 时 KEY_IMPORT_FAILED 演示版为 HSE_DEMOAPP_S32K344_0_2_55_0。在" HSE_DemoAppConfigKeys"中运行"ImportSymmetricKeys" 时,testStatus 变成了 详细信息:(HSE_FW_USAGE_ENABLED | KEY_IMPORT_FAILED) 默认值:(HSE_FW_USAGE_ENABLED | KEY_IMPORT_FAILED) 是否有任何参数需要修改? Re: KEY_IMPORT_FAILED when use HSE demoapp 非常感谢你的答复 Re: KEY_IMPORT_FAILED when use HSE demoapp 你好@边浩鹏 这意味着密钥目录已经格式化,密钥已经加载。如果密钥槽不是空的,则只能通过验证和加密更新密钥。这并非易事,而且演示版也不支持。解决方法:需要清除 NVM 数据重新开始。来自自述文件: 此致, Lukas Re: KEY_IMPORT_FAILED when use HSE demoapp addtion:if(true!=IsKeyCatalogFormatted())似乎未输入
View full article
Altium用MIMXRT1040-EVKデザインファイル こんにちは、 Altium cad 用の MIMXRT1040-EVK デザインファイルを問い合わせることは可能でしょうか? どうもありがとう、 ミシェル Re: MIMXRT1040-EVK design files for Altium こんにちは@Mike21さん、 申し訳ございませんが、RT1040EVK 用の Cadence ベースの デザインファイルのみがあります。以下のガイドに従って変換する必要があります。 https://www.altium.com/altium-designer/migrate/cadence-orcad?srsltid=AfmBOorYn3H1xswkjTm6Ig-UPf3pDheUUKhs3W2TuVVEkZm075NWq9fJ お役に立てれば幸いです。 すてきな一日を、 カン --------------------------------------------------------------------------------- 注記: - この投稿があなたの質問への回答である場合は、「正解としてマーク」ボタンをクリックしてください。ありがとう! - Threadは最後の投稿から7週間フォローされます。それ以降の返信は無視されます。 後ほど関連する質問がある場合は、新しいThreadを開いて、閉じたThreadを参照してください。 ---------------------------------------------------------------------------------
View full article
MKE18F512VLL16 : ADC用の内部リファレンス電圧とパッケージの変更 こんにちは、 開発にはTWR-KE18Fボードを使用しています。2つの質問があります 1. ADC のリファレンス電圧を内部リファレンスに変更するにはどうすればよいですか? また、電圧はどれくらいですか?リファレンスマニュアルでは「代替VALTH電圧リファレンスは MCU 構成に応じて追加の外部ピンまたは内部ソースを選択します。見る この MCU に固有の電圧リファレンスのチップ構成情報。しかし、データシートには何も見つかりませんでした。 2. 現在、MKE18F512VLL16(100ピンパッケージ)MCUで開発を行っていますが、 MKE18F512VLH16(64ピンパッケージ)に変更したいと考えています。どうすればいいでしょうか? Re: MKE18F512VLL16 : Internal Reference voltage for ADC and change the Package Valt は VDDA である必要があります。 KE1xZ デバイスについては、下図のような説明がありますので、CAN参照してください。 Re: MKE18F512VLL16 : Internal Reference voltage for ADC and change the Package 1. 代替電圧リファレンスは利用できず、ドキュメントに記載されているのではないかと思います。社内で確認させていただき、回答が得られ次第またご連絡いたします。 2. パッケージ間でピンのマルチプレクサが異なるため、再設計が必要です。 BR、 オマール
View full article
关于 "边写边读 "错误 您好,应用程序和启动加载程序的内存分布如下。如果我们想在启动加载程序运行时擦除和写入应用程序,并且已启用启动时的 Ac 加载,那么我们是否需要配置 PreTaskHook 中第二张图片中提到的内核 MPU? Re: About Read While Write Error 是的,似乎是正确的。如果您使用 MPU,我建议您按上述方式设置。
View full article
在使用S32K3XX的功能安全包safetypack时,CMU检测中断配置 在使用CMU_FC_0通道检测时,为什么DCMRWP3配置成0X100时,就不会产生破坏性复位了?因为在规格书上看,DCMRWP3寄存器的bit8是Reserved的,那DCMRWP3配置成0X100,怎么会起用用呢? Re: 在使用S32K3XX的功能安全包safetypack时,CMU检测中断配置 你好@Simon_eve、 CMU_FC_0 监测 FXOSC 时钟,您可以配置对中断(同步事件)或破坏性 RESET(异步事件)的反应。请使用 RTD MCU 模块正确配置反应。 DCMRWP3 允许将 PLL Loss Of Lock 的默认破坏性 RESET 反应降级为中断。 我认为没有办法通过 SW 方式强制检查此故障设置。 DCMRWP3 与 CMU_FC_0 之间没有关系。 此致, 丹尼尔 Re: 在使用S32K3XX的功能安全包safetypack时,CMU检测中断配置 虽然在1.0.6版本去掉了,附近中高亮部分的语句(*pDesc->pu32RstBypassReg |= pDesc->u32ResetBypassMask;)。但是在1.0.2版本里,为什么不能去掉这个高亮的语句(*pDesc->pu32RstBypassReg |= pDesc->u32ResetBypassMask;),如果去掉了,MCU就会不停的复位。 Re: 在使用S32K3XX的功能安全包safetypack时,CMU检测中断配置 我使用的是 SAF 版本 1.0.2。这是我们购买的 SAF 软件包。 Re: 在使用S32K3XX的功能安全包safetypack时,CMU检测中断配置 你好@Simon_eve、 您使用哪个版本的 SAF? 该功能已在 SAF 1.0.6 中更新,您强调的部分已被删除。 此致, 丹尼尔
View full article
Sync_flagsは、マルチコアコントローラでSMPを使用するときに発生します。 こんにちは、NXP のエンジニアです。s32K324 をデバッグすると、ある問題が発生します。私はfreertos6.0.0とopen SMPを使用していますが、マルチコア コントローラでSMPを使用するとSync_flagsが発生します。 しかし、私はまた書きます   IP_MC_ME->PRTN0_CORE1_ADDR = (uint32)0x00600000; IP_MC_ME->PRTN0_CORE1_PCONF = 0x00000001; IP_MC_ME->PRTN0_CORE1_PUPD = 0x00000001; IP_MC_ME->CTL_KEY = 0x5AF0U; IP_MC_ME->CTL_KEY = 0xA50FU; (IP_MC_ME->PRTN0_CORE1_PUPD == 1) の間 { }; ((IP_MC_ME->PRTN0_CORE1_STAT & MC_ME_PRTN0_CORE1_STAT_CCS_MASK) == 0) の場合 { }; SO、何が問題なのでしょうか? Re: Sync_flags occurs when using SMP in multi-core controllers リリース ノート ファイルに記載されている RTD バージョンを使用することを強くお勧めします。 よろしくお願いいたします。 ルーカス Re: Sync_flags occurs when using SMP in multi-core controllers あなたの方法を試しましたが、まだ sync_flag のままです。質問があります。freertos 11.0 では RTD 6.0 バージョンのみを使用する必要がありますか?私のバージョンはRTD4.0です。 Re: Sync_flags occurs when using SMP in multi-core controllers コードを見ると、コア 1 はブート構成ワード内で有効になっているため、リセット後すぐに起動されることがわかります。 ただし、その後に何らかの遅延ループを使用して、コア 0 のメイン関数でコア 1 を再度有効にしようとしています。 これがあなたの悩みの根本原因ではないでしょうか? Re: Sync_flags occurs when using SMP in multi-core controllers これは私のプロジェクトです。ご覧になっていただけると幸いです。デモではカーネルから起動する方法を使ったのですが、カーネルが正常に起動しなかったように感じます Re: Sync_flags occurs when using SMP in multi-core controllers D_CACHE_ENABLE を無効にしましたが、プログラムはまだそこに留まります。 この問題を解決するためにどのような追加情報が必要か教えてCANますか? Re: Sync_flags occurs when using SMP in multi-core controllers こんにちは@Zyp それは単なるデータキャッシュの問題ではないでしょうか?Freertos パッケージのユーザーマニュアルに従いましたか?以下は 7 ページのスクリーンショットです。 よろしくお願いいたします。 ルーカス
View full article
[MIMXRT1170-EVKB]如何将 evkbmimxrt1170_hello_world_cm7.bin 下载到 QSPI 闪存中 亲爱的 当我第一次启动 MIMXRT1170-EVKB 时,调试 USB 端口会显示如下信息。 我修改了 hello_world.c如下 PRINTF("TEST hello world.\r\n"); 那么,"TEST hello world "是通过调试 USB 端口显示的吗? 1.使用哪个 USB 端口下载 .bin 文件?文件 ? 2.成功下载 .bin 之后文件,我打开电源键(SW5)。文件在 QSPI 闪存上执行? 谢谢, Bryan Re: [MIMXRT1170-EVKB]How to download evkbmimxrt1170_hello_world_cm7.bin to QSPI Flash 你好@bryan_hong、 感谢您的回复。 如果您今后遇到任何问题,欢迎创建新的问题帖子。 祝你愉快 敬上 MayLiu Re: [MIMXRT1170-EVKB]How to download evkbmimxrt1170_hello_world_cm7.bin to QSPI Flash 亲爱的MayLiu 当我打开电源键时,出现以下信息。 谢谢, Bryan Re: [MIMXRT1170-EVKB]How to download evkbmimxrt1170_hello_world_cm7.bin to QSPI Flash 你好@bryan_hong、 很抱歉误解了您的问题。 1: 您可以生成一个 bin 文件,如下图所示。 2:你可以使用 GUI Flash 工具将生成的 bin 文件编程到你的板上。 希望它能帮到你。 如果您还有疑问,请告诉我。 敬上 MayLiu Re: [MIMXRT1170-EVKB]How to download evkbmimxrt1170_hello_world_cm7.bin to QSPI Flash 我使用的是 MCUXpresso IDE v24.12 [Build 148] [2025-01-10],SDK 版本如下。 我问的不是调试模式下的构建,抱歉理解有误,我问的是下载 .bin 的问题。锉刀 谢谢, Bryan Re: [MIMXRT1170-EVKB]How to download evkbmimxrt1170_hello_world_cm7.bin to QSPI Flash 我想您可以参考这个链接。 MIMXRT1170EVKBHUG:MIMXRT1170-EVKB 板硬件用户指南|恩智浦半导体 Re: [MIMXRT1170-EVKB]How to download evkbmimxrt1170_hello_world_cm7.bin to QSPI Flash 我们如何知道调试 USB 端口是 J86? 是否有任何文献资料? Re: [MIMXRT1170-EVKB]How to download evkbmimxrt1170_hello_world_cm7.bin to QSPI Flash 请告诉我如何在 MCUXpress IDE 上编程。 谢谢, Bryan Re: [MIMXRT1170-EVKB]How to download evkbmimxrt1170_hello_world_cm7.bin to QSPI Flash 你好@bryan_hong、 非常感谢您关注我们的产品并使用我们的社区。 Q1.下载 .bin 文件应使用哪个 USB 端口?文件 ? A1:对于 MIMXRT1170-EVKB 板,您可以使用 J86 调试 USB 端口。 Q2.成功下载 .bin 后文件,我打开电源键(SW5)。文件在 QSPI 闪存上执行? A2: 如果您的 .bin文件成功编程到 QSPI 闪存(非内存)中,启动模式和启动 Cfg 引脚配置也正确。答案是肯定的,i.MX RT1170 芯片支持 QSPI 闪存的 XIP(就地执行),允许从闪存直接执行代码,而无需复制到 RAM。 希望它能帮到你。 如果您还有疑问,请告诉我。 敬上 MayLiu
View full article
Crypto_43_HSE v6.0.0 ドライバの制限 RTD_CRYPTO_43_HSE_UM.pdf の 16 ページには次のように書かれています: 「NVM でのキー保存のメカニズムはサポートされていません。」 暗号_43_HSE_TS_T40D34M60I0R0 具体的に何がサポートされていないのか、その理由をもう少し詳しく説明していただけますか?私の知る限り、NVM キーのインポートは HSE の機能です。 以下は顧客の質問の一部です: 「現時点では、ホスト アプリケーションの NvM に証明書を保存することを検討していますが、Crypto ドライバーが提供する Crypto NvM ストレージ機能を使用して保存したいと考えています。 私の質問は、その機能は Crypto ドライバー (Crypto_43_HSE v6.0.0) で完全にサポートされているかどうかです。 ドライバーの制限事項について次のように報告されているので質問します。 NVM でのキー保存のメカニズムはサポートされていません。 しかし、UM モジュールには「NVM のキー ストレージ」というセクションがあり、さらに構成で CryptoNvBlock コンテナーを有効にすることができるため、それが機能しているかどうか少し混乱しています。」 ありがとう セキュリティ_暗号 Re: Crypto_43_HSE v6.0.0 driver limitation @davidtosenovjan この制限は、 NVM でのキー マテリアルの保存メカニズムがサポートされていないことです。 「キー保存NVM」は非キーマテリアル要素にのみ適用されます。   Re: Crypto_43_HSE v6.0.0 driver limitation こんにちは@davidtosenovjan この制限については Crypto Dev チームで確認中です。この制限については UM に間違いがある可能性があります。この機能は、このバージョンですでにサポートされているはずです。 すぐに確認します
View full article
S32K344 DMAMUX1 LPUART14 BUS FAULT Hello, using S32K344 with Zephyr OS. I set a DTS for LPUART14 DTS: dmas = <&edma0 16 46>, <&edma0 17 47>; Channel 16,17 should be in DMAMUX1 range, where LPUART14 is on slot 46 and 47. Unfortunately, when ASYNC API calls callback for a next buffer (immidiatelly after uart_rx_enable) Any Idea? ERROR: [00:00:00.010,000] os: ***** BUS FAULT ***** [00:00:00.010,000] os: Precise data bus error [00:00:00.010,000] os: BFAR Address: 0x40254000 [00:00:00.010,000] os: r0/a1: 0x4020c000 r1/a2: 0x00048000 r2/a3: 0x0000001a [00:00:00.010,000] os: r3/a4: 0x0041126c r12/ip: 0x20402888 r14/lr: 0x00404393 [00:00:00.010,000] os: xpsr: 0x01000000 [00:00:00.010,000] os: s[ 0]: 0x0041126c s[ 1]: 0x00404393 s[ 2]: 0x00000010 s[ 3]: 0x00410250 [00:00:00.010,000] os: s[ 4]: 0x00000000 s[ 5]: 0x21000440 s[ 6]: 0x00000000 s[ 7]: 0x20000460 [00:00:00.010,000] os: s[ 8]: 0x00000004 s[ 9]: 0x00000010 s[10]: 0x00000020 s[11]: 0x204094c0 [00:00:00.010,000] os: s[12]: 0x204094c0 s[13]: 0x0040fa28 s[14]: 0x204094c0 s[15]: 0x404a4000 [00:00:00.010,000] os: fpscr: 0x00000000 [00:00:00.010,000] os: r4/v1: 0x20402888 r5/v2: 0x0040fa08 r6/v3: 0x00000011[0m [00:00:00.010,000] os: r7/v4: 0x20000440 r8/v5: 0x404a401c r9/v6: 0x204021d0 [00:00:00.010,000] os: r10/v7: 0x0000061c r11/v8: 0x00000020 psp: 0x20409418 [00:00:00.010,000] os: EXC_RETURN: 0xfffffffd [00:00:00.010,000] os: Faulting instruction address (r15/pc): 0x0040dc2c [00:00:00.010,000] os: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0 [00:00:00.010,000] os: Current thread: 0x20401e18 (main) [00:00:00.618,000] os: Halting system Re: S32K344 DMAMUX1 LPUART14 BUS FAULT Hello, Thank you very much for your help. I was also communicating with Zephyr and it seems they found a bug in eDMA driver. https://github.com/zephyrproject-rtos/zephyr/issues/96772 Re: S32K344 DMAMUX1 LPUART14 BUS FAULT Hello @PavelRydl , Thank you for the update and for confirming that the issue persists across multiple S32K344 modules. This helps rule out hardware-related causes. Based on the faulting instruction inside the EDMA driver (edma_reload_loop) and the crash address (0x4025803c), I have reviewed the EDMA implementation and would like to suggest the following checks and recommendations: 1. Ensure CONFIG_DMA_TCD_QUEUE_SIZE is ≥ 2 The cyclic mode requires at least two TCDs to form a valid loop. If the queue size is set to 1, the reload logic may fail. 2. Validate write_idx bounds before accessing the TCD pool The driver uses write_idx to index into the TCD pool: tcd = &DEV_CFG(dev)->tcdpool[channel][data->transfer_settings.write_idx]; Please ensure that write_idx is always less than CONFIG_DMA_TCD_QUEUE_SIZE. You may add a debug log to confirm: LOG_DBG("write_idx = %d", data->transfer_settings.write_idx); 3. Confirm buffer alignment and size Your buffer declaration: __aligned(32) uint8_t async_rx_buffer[2][RX_CHUNK_LEN]; is correct. Just ensure that RX_CHUNK_LEN is a multiple of the data unit size (e.g., 1, 2, or 4 bytes). 4. Disable cyclic mode if not required If your application does not require cyclic DMA, please ensure: config->cyclic = false This will avoid triggering the edma_reload_loop() logic entirely. 5. Enable DMA error IRQ and check error flags Make sure the DTS does not disable error IRQs (no_error_irq = false). Then monitor: EDMA_GetErrorStatusFlags(...) for any reported faults during runtime. 6. Use basic DMA mode for initial testing If cyclic or scatter-gather is not needed, consider using the basic configuration path: dma_mcux_edma_configure_basic(...) This simplifies the setup and avoids complex reload logic. Best regards, Pavel Re: S32K344 DMAMUX1 LPUART14 BUS FAULT I tested other module with s32k344 and same problem. It's not a hardware problem. Re: S32K344 DMAMUX1 LPUART14 BUS FAULT Hello, "If the issue persists, try replacing the DMA-based RX with polling temporarily to confirm that the UART peripheral itself is functional and the issue is isolated to DMA usage." Actually, I Used interrupt-driven uart before and it's working fine. I need DMA becuase of high CPU usage and interrupt based uart is not reliable enough, mostly becuase of really small RX FIFO buffer (4 words) "Verify uart_rx_buf_rsp() is not called too early" tested, same problem. Also, this request next buffer and I should provide it as fast as possible. "Try using async_rx_buffer[0] instead of [1]" Tested, but same problem. Reference manual says I should not bind to the same memory, so I still have to use different part of memory for a next buffer. "Try reducing the buffer size" Tested. same problem. I have no idea, what I should do now 🙂 Is it a bug in a NXP drivers? It's strange, MUX0 is fine, only MUX1. It's really like DMA cannot access somewhere, but that a bit above my current nxp knownledge to solve that. Thank you for helping me! Re: S32K344 DMAMUX1 LPUART14 BUS FAULT Hello @PavelRydl , Thank you sharing details. Please find my hints below: 1. Check buffer alignment and cache settings In your code, the buffer is declared as: __nocache __aligned(32) uint8_t async_rx_buffer[2][RX_CHUNK_LEN]; This is correct and should be DMA-safe. However, please verify that:  - RX_CHUNK_LEN is a multiple of 32 (it is 32, so OK).  - The buffer is not being accessed concurrently from another context (e.g., logging or polling). 2. Verify uart_rx_buf_rsp() is not called too early Even though the callback is triggered only once, it's possible that the DMA controller hasn't finished setting up the initial transfer when uart_rx_buf_rsp() is called. Try delaying the response slightly: case UART_RX_BUF_REQUEST:          k_sleep(K_MSEC(1)); // Small delay before responding          uart_rx_buf_rsp(dev, async_rx_buffer[1], RX_CHUNK_LEN);          break; 3. Try using async_rx_buffer[0] instead of [1] Since [0] is the initial buffer used in uart_rx_enable(), and [1] is never used before the crash, try responding with [0] to rule out any issues with [1]: uart_rx_buf_rsp(dev, async_rx_buffer[0], RX_CHUNK_LEN); 4. Try reducing the buffer size Although 32 bytes is small, try using 16 or 8 bytes to see if the crash behavior changes. This can help isolate whether the issue is size-related. 5. Optional Debug Step If the issue persists, try replacing the DMA-based RX with polling temporarily to confirm that the UART peripheral itself is functional and the issue is isolated to DMA usage. Best regards, Pavel Re: S32K344 DMAMUX1 LPUART14 BUS FAULT Faulting instruction address: .text.edma_reload_loop 0x00000000004030b8 0x1f4 zephyr/drivers/dma/libdrivers__dma.a(dma_mcux_edma.c.obj) Re: S32K344 DMAMUX1 LPUART14 BUS FAULT Hello, I did some changes. 1. I removed that variable, I don't need it. 2. The request is called only once and it crashes, so I will never assign same buffer again 3. It's not in any special section, just bss, I tried to use nocache just for a test with same error 4. I verified slots again 46 LPUART14 Transmit DMA Request 47 LPUART14 Receive DMA Request 5. Added 6. Added Error: *** Booting Zephyr OS build 69ce66d49133 *** [00:00:00.020,000] dma_mcux_edma: edma_log_dmamux: DMAMUX CHCFG 0x0 [00:00:00.020,000] dma_mcux_edma: dma_mcux_edma_get_status: DMA MP_CSR 0x3000d0 [00:00:00.020,000] dma_mcux_edma: dma_mcux_edma_get_status: DMA MP_ES 0x0 [00:00:00.020,000] dma_mcux_edma: dma_mcux_edma_get_status: DMA CHx_ES 0x0 [00:00:00.021,000] dma_mcux_edma: dma_mcux_edma_get_status: DMA CHx_CSR 0x0 [00:00:00.021,000] dma_mcux_edma: dma_mcux_edma_get_status: DMA CHx_ES 0x0 [00:00:00.021,000] dma_mcux_edma: dma_mcux_edma_get_status: DMA CHx_INT 0x0 [00:00:00.021,000] dma_mcux_edma: dma_mcux_edma_get_status: DMA TCD_CSR 0x0 [00:00:00.021,000] dma_mcux_edma: dma_mcux_edma_configure: channel is 18 [00:00:00.021,000] dma_mcux_edma: dma_mcux_edma_configure: INSTALL call back on channel 18 [00:00:00.021,000] dma_mcux_edma: dma_mcux_edma_start: START TRANSFER [00:00:00.021,000] dma_mcux_edma: edma_log_dmamux: DMAMUX CHCFG 0xaf [00:00:00.022,000] async_api: uart_callback: EVENT: 3 [00:00:00.022,000] os: ***** BUS FAULT ***** [00:00:00.022,000] os: Precise data bus error [00:00:00.022,000] os: BFAR Address: 0x4025803c [00:00:00.022,000] os: r0/a1: 0x4020c000 r1/a2: 0x0004c000 r2/a3: 0x0000403c [00:00:00.022,000] os: r3/a4: 0x40254000 r12/ip: 0x20401344 r14/lr: 0x0040316f [00:00:00.022,000] os: xpsr: 0x01000000 [00:00:00.022,000] os: s[ 0]: 0x00000000 s[ 1]: 0x00000004 s[ 2]: 0x20402800 s[ 3]: 0x20402810 [00:00:00.023,000] os: s[ 4]: 0x00000000 s[ 5]: 0x0000000f s[ 6]: 0x00000000 s[ 7]: 0x204027f0 [00:00:00.023,000] os: s[ 8]: 0x204027f0 s[ 9]: 0x0040d2b0 s[10]: 0x20402810 s[11]: 0x204027f0 [00:00:00.023,000] os: s[12]: 0x00000000 s[13]: 0x00401b87 s[14]: 0x0040d2f0 s[15]: 0x00401393 [00:00:00.023,000] os: fpscr: 0x0040e318 [00:00:00.023,000] os: r4/v1: 0x20401344 r5/v2: 0x00000012 r6/v3: 0x0040ca68 [00:00:00.023,000] os: r7/v4: 0x20000480 r8/v5: 0x404a401c r9/v6: 0x20400520 [00:00:00.029,000] os: r10/v7: 0x00000678 r11/v8: 0x00000020 psp: 0x20402750 [00:00:00.029,000] os: EXC_RETURN: 0xffffffed [00:00:00.029,000] os: Faulting instruction address (r15/pc): 0x0040317a [00:00:00.029,000] os: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0 [00:00:00.029,000] os: Current thread: 0x20400940 (main) [00:00:00.029,000] os: Halting system Tried to use different channel dmas = <&edma0 17 46>, <&edma0 18 47>; Re: S32K344 DMAMUX1 LPUART14 BUS FAULT Hello @PavelRydl , Thank you for the detailed report. Based on the provided logs and code snippet, here are a few suggestions: 1. Initialize async_rx_buffer_idx before use Ensure that async_rx_buffer_idx is explicitly initialized to 0 before calling uart_rx_enable(). Uninitialized global variables may lead to undefined behavior. async_rx_buffer_idx = 0; 2. Correct buffer selection in UART_RX_BUF_REQUEST In the callback, you're always responding with async_rx_buffer[1], regardless of the current index. This may cause the driver to use an invalid or already active buffer. Instead, use the current index and toggle it after responding: uart_rx_buf_rsp(dev, async_rx_buffer[async_rx_buffer_idx], RX_CHUNK_LEN); async_rx_buffer_idx ^= 1; // Toggle between 0 and 1 3. Verify DMA buffer location Ensure that async_rx_buffer is located in a memory region accessible by the DMA controller (typically in SRAM, not in .noinit or other special sections). Misplaced buffers can cause bus faults during DMA access. 4. Double-check DMA channel and DMAMUX slot mapping While channels 16 and 17 should be valid for DMAMUX1, please verify that: - These channels are not used by other peripherals. - The DMAMUX slot numbers 46 and 47 are correctly mapped to LPUART14 RX/TX in your SoC's reference manual and Zephyr's SoC integration. 5. Add a short delay before enabling RX In some cases, adding a small delay before calling uart_rx_enable() can help avoid race conditions between peripheral and DMA initialization: k_sleep(K_MSEC(10)); uart_rx_enable(...); 6. Enable DMA and UART debug logs To get more insight into what happens before the crash, consider enabling debug logs for DMA and UART in your prj.conf: CONFIG_DMA_LOG_LEVEL_DBG=y CONFIG_UART_LOG_LEVEL_DBG=y Best regards, Pavel
View full article
i.MX8M Plus:DeepViewRT 安装、ONNX 转换和 CPU 与 NPU 推理 你好 我想在 i.MX8M Plus 板上使用 DeepViewrt 进行推断。 1.如何在 i.MX8M Plus 上安装 DeepViewRT 并运行推理? 2.我有一个 ONNX 模型--如何将其转换为 DeepViewRT 的 RTM 模型? 3.如果在 i.MX8M Plus 上直接使用 ONNX 模型运行推理,是否仅限于 CPU 执行? 提前感谢您的支持。 Re: i.MX8M Plus: DeepViewRT Installation, ONNX Conversion, and CPU vs NPU Inference 你好@sunghyun96 i.MX Plus 上 DeepViewRT 的推荐替代品是 TesnsorFlow Lite (TFlite) + VX Delegate。 VX Delegate 是 DeepViewRT 的官方替代品,它在引擎盖下使用 OpenVX 将支持的操作卸载到 NPU。 TFLite 模式必须使用 eIQ 工具包进行量化(INT8)和转换,以便与 VX Delegate 兼容。 既然您使用的是 ONNX Runtime,我建议您使用 eIQ 工具包或 TensorFlow 工具将 ONNX 模型转换为 TFLite (INT8),然后使用 TFLite + VX Delegate 运行。 此致 丹尼尔 Re: i.MX8M Plus: DeepViewRT Installation, ONNX Conversion, and CPU vs NPU Inference 谢谢您的答复。 在使用 i.MX 8M Plus (EVK) 的 Linux 6.12.20-lts 上,我计划使用 ONNX Runtime 运行 NPU 推理。 如果有替代 DeepViewRT 的推荐运行时(例如 ORT 与 TFLite + VX),也请告诉我。 Re: i.MX8M Plus: DeepViewRT Installation, ONNX Conversion, and CPU vs NPU Inference HI Sunghyun96: 请查阅 UG10166:i.MX 机器学习用户指南。 删除了 DeepViewRT 推理引擎。 此致 丹尼尔
View full article
Trimension UWB 技术文件 大家好 请问获取 Trimension UWB 芯片组技术文件的正确渠道是什么? 我们已经签订了保密协议,但我没有在保密文件中找到任何有关 UWB 的技术文件。 感谢团队! Re: Trimension UWB technical documents 你好 希望你一切顺利。很抱歉给您带来不便,但由于该产品的信息受 NDA(保密协议)保护,因此不对外公开。 如果您正在寻找有关我们 UWB 产品的信息,或者您对该技术感兴趣,我建议您查看我们合作伙伴(Trimension UWB 合作伙伴)提供的开发套件和模块。 如果您对这些套件/模块感兴趣,您需要直接与他们联系,了解他们可以提供的流程和支持,因为这项技术的支持途径就是通过他们。 文档和软件由相应的 UWB 模块合作伙伴分发。选择模块后,您将被引导到我们合作伙伴的页面,在那里您可以访问数据表、应用笔记和所需的支持 此致, 里卡多
View full article
need a cross ref for motorola 1301 need a cross ref for motorola 1301
View full article
FreeRTOS が s32k3xx の prvPortStartFirstTask で停止する やあみんな 、 私はS32k328でFreeRTOSを実行しようとしています。単一のタスクを作成して実行しようとしましたが、最初は正常に実行されましたが、その後コードが1つで停止しました。 やあみんな 、 S32k328でFreeRTOSを実行しようとしています。単一のタスクを作成して実行しようとすると、最初は正常に実行されますが、その後、コードがprvPortStartFirstTask()で停止します。 ベクターテーブル内のSVCハンドラー名を変更したところ、このエラーが発生しました。参考までに画像を投稿しました。   何か変更する必要はありますか? ()、 ベクターテーブル内のSVCハンドラー名を変更したところ、このエラーが発生しました。参考までに画像を投稿しました。   何か変更する必要はありますか? S32K3 Re: FreeRTOS stucks at prvPortStartFirstTask in s32k3xx こんにちは@AntoZ 、 追加情報とスクリーンショットをありがとうございます。 レジスタ ビューから、VTOR (ベクター テーブル オフセット レジスタ) が 0x20000000 に設定されていることを確認できます。これは、ベクター テーブルが RAM に再配置されていることを意味します。これは有効な構成ですが、SVC_Handler のエントリを含む RAM 内のベクター テーブルが正しく初期化されている必要があります。 SVC_Handler の名前を変更したとのことですので、以下の点を確認してください。 RAM 内の 0x20000000 のベクター テーブルには、名前を変更した SVC_Handler の正しいアドレスが含まれている必要があります。 テーブルがフラッシュからコピーされた場合は、更新されたシンボル名が反映されていることを確認してください。 C++ を使用している場合は、名前のマングリングを回避するために、ハンドラーが extern "C" で宣言されていることを確認してください。   外部 "C" void My_SVC_Handler(void)   VTOR を設定する前に、ベクター テーブルが RAM に正しくコピーされていることを確認します。 これは通常、SystemInit() または main() の初期段階で実行されます。 名前を変更したハンドラーが正しくリンクされており、リンカーによって破棄されていないことを再確認します。 問題が解決しない場合は、問題を再現するプロジェクトの最小バージョンを共有していただけますか?これにより、ベクター テーブルのセットアップとハンドラーのリンクをより詳細に分析できるようになります。 よろしくお願いいたします。 パベル
View full article
SC16IS740IPW VOH DC解析 こんにちは I2C から UART 構成で SC16IS740IPW の DC 分析を実行すると、VOH は 2.4V のようです。 一般的に 3.3V デバイスの VOH はもっと高くする必要があるため、レベル トランスレータを使用してこの SC16IS740IPW を 1.8 V デバイスに接続する予定です。しかし、VOH が低いため DC 解析は失敗します。[2.4 (VOH) -2.9 (VIH)=-0.5] これらの 3.3V UART 信号を 1.8V UART 信号に変換するための MPN を提案してください。 Re: SC16IS740IPW VOH DC Analysis こんにちは、ラムクリッシュ 良い一日! 簡単にするために、NTS0302JK を使用することをお勧めします。この製品のデータシートには、使用に推奨される電圧と電流の比を示す表がすでに記載されています。 この情報がお役に立てば幸いです。他に何かご不明な点がございましたら、お知らせください。 素晴らしい一日をお過ごしください。幸運をお祈りします。
View full article
NCJ29D6***JLink Error: CPU is not halted When I used the LID2580, I was still able to use the Jlink download program normally at first, and then suddenly it didn't work, the error is as follows, please help me take a look, thank you * JLink Info: Memory map 'after startup completion point' is active ***JLink Error: Could not start CPU core. (ErrorCode: -1) ***JLink Error: Cannot read register 15 (R15) while CPU is running ***JLink Error: Cannot read register 20 (CFBP) while CPU is running ***JLink Error: CPU is not halted ***JLink Error: Cannot read register 15 (R15) while CPU is running Full Chip Erase Failed! Re: NCJ29D6***JLink Error: CPU is not halted Hello, Hope you are doing well. Sorry for the inconvenience this might cause you but as the information of this product it's under NDA (Non-Disclosure Agreement) the information it's not public, this is not a secure channel to share any information of this device and I do not have the data as well for the same reason. For this reason I recommend you contacting  one of our distributors available in the Distributor Network|NXP. Or if you have a direct contact who helped you with information about this product or getting the IC in a first place, please communicate directly with him/her. I apologize for the inconveniences this might cause you. Best Regards, Ricardo Re: NCJ29D6***JLink Error: CPU is not halted Hello, I have encountered the same problem. Keil can connect to the chip, but the program cannot be downloaded successfully. Have you solved this issue? If so, I would appreciate your help.
View full article
Udooneo (iMX6SX) のデバイスツリーを 4.1 から 6.6 に移行する: ディスプレイ (LVDS) こんにちは、 thud から scarthgap (Yocto) に移行しています。SO 私はカスタマイズされたカーネル (Seco 製) 4.1 から Linux-fslc-imx 6.6 に移行します。私が使用しているボードは、Udooneo Extended (iMX6SX SoC) です。 最後に、正常に動作していないのは LVDS ディスプレイです。imx-viv-GPU の最新バージョンは X11 をサポートしていないため、Electron アプリには X11 のサポートが必要なため、etnaviv ドライバで動作するようにしようとしています。 今のところ、このファイル imx6sx-udoo-neo-lvds7.dtsi があります: / { reg_lcd_pwr: regulator-lcdpwr { compatible = "regulator-fixed"; regulator-name = "LCD POWER"; gpio = <&gpio4 27 GPIO_ACTIVE_LOW>; enable-active-high; regulator-boot-on; regulator-always-on; status = "okay"; }; backlight_regulator: regulator-backlight { compatible = "regulator-fixed"; regulator-name = "LCD BACKLIGHT BL_ON"; gpio = <&gpio6 3 GPIO_ACTIVE_LOW>; enable-active-high; regulator-boot-on; regulator-always-on; }; }; &lcdif2 { display = <&display1>; disp-dev = "ldb"; status = "okay"; display1: display@1 { bits-per-pixel = <16>; bus-width = <18>; }; }; &ldb { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ldb_0>; lcd-supply = <&reg_lcd_pwr &backlight_regulator>; status = "okay"; lvds-channel@0 { fsl,data-mapping = "spwg"; fsl,data-width = <18>; crtc = "lcdif2"; status = "okay"; display-timings { native-mode = <&timing1>; timing1: LDB-WVGA { clock-frequency = <33660000>; hactive = <800>; vactive = <480>; hback-porch = <56>; hfront-porch = <50>; vback-porch = <23>; vfront-porch = <20>; hsync-len = <150>; vsync-len = <2>; }; }; }; }; &i2c1 { touchscreen: st1232@55 { compatible = "sitronix,st1232"; reg = <0x55>; interrupt-parent = <&gpio6>; interrupts = <4 IRQ_TYPE_LEVEL_LOW>; pinctrl-0 = <&pinctrl_st1232>; pinctrl-names = "default"; gpios = <&gpio6 5 GPIO_ACTIVE_LOW>; }; }; &dcic2 { dcic_id = <1>; dcic_mux = "dcic-lvds"; status = "okay"; }; &lcdif1 { /* Disable HDMI */ status = "disabled"; }; &i2c3 { /* Disable HDMI */ status = "disabled"; }; 画面が点灯し、起動中にスプラッシュ画面をCAN表示されます。起動中のある時点で、画面が乱れ、灰色の線が多数表示されます。X11 は起動CANますが、症状は同じです。画面が乱れます。タッチは機能しています。 何か見逃しているかも知れません。出力は次のとおりです: user@host:~# dmesg | grep -E "etnaviv|drm|mxsfb" [ 1.236707] etnaviv etnaviv: bound 1800000.gpu (ops 0xc0d7c0b8) [ 1.244047] etnaviv-gpu 1800000.gpu: model: GC400, revision: 4645 [ 1.250843] etnaviv-gpu 1800000.gpu: Need to move linear window on MC1.0, disabling TS [ 1.259865] [drm] Initialized etnaviv 1.4.0 20151214 for etnaviv on minor 0 [ 1.267241] Error: Driver 'mxsfb' is already registered, aborting... [ 2.141557] mxsfb 2224000.lcdif: supply lcd not found, using dummy regulator [ 2.237241] mxsfb 2224000.lcdif: registered mxc display driver ldb [ 2.342101] mxsfb 2224000.lcdif: initialized user@host:~# ls /dev/dri/ by-path card0 renderD128 user@host:~# ls /usr/lib/xorg/modules/drivers/modesetting_drv.so /usr/lib/xorg/modules/drivers/modesetting_drv.so user@host:~# grep -E "(EE|WW|etnaviv|modesetting|DRM)" /var/log/Xorg.0.log [ 110.902] Current Operating System: Linux pad2 6.6.101-lf-6.6.y-lf-6.6.y-g36cee4c51e9a #1 PREEMPT Fri Aug 8 14:52:48 UTC 2025 armv7l (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 110.944] (WW) The directory "/usr/share/fonts/X11/misc" does not exist. [ 110.944] (WW) The directory "/usr/share/fonts/X11/TTF" does not exist. [ 110.944] (WW) The directory "/usr/share/fonts/X11/OTF" does not exist. [ 110.944] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist. [ 110.944] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist. [ 110.945] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 110.966] (II) Platform probe for /sys/devices/platform/etnaviv/drm/card0 [ 111.079] falling back to /sys/devices/platform/etnaviv/drm/card0 [ 111.416] (WW) Falling back to old probe method for fbdev [ 111.707] (II) Initializing extension MIT-SCREEN-SAVER [ 114.495] (II) XINPUT: Adding extended input device "st1232-touchscreen" (type: TOUCHSCREEN, id 6) user@host:~# glxinfo | grep -E "OpenGL renderer|OpenGL vendor" Error: unable to open display user@host:~# export DISPLAY=:0 user@host:~# glxinfo | grep -E "OpenGL renderer|OpenGL vendor" Error: unable to open display :0   デバイスツリーを適切に動作させるためにはどうすれば改善CANますか?私はこのトピックに関しては初心者です。         i.MX6SoloX Linux Yocto Project Re: Migrating a device tree for Udooneo (iMX6SX) from 4.1 to 6.6 : Display (LVDS) わかりました。ご回答ありがとうございます。 Re: Migrating a device tree for Udooneo (iMX6SX) from 4.1 to 6.6 : Display (LVDS) こんにちは、 申し訳ありませんが、NXP でサポートされていないカーネルとサポートされていない GPU ドライバを使用しており、Linux BSP は X11 をサポートしていないため、udoo フォーラムで試してみることをお勧めします。 よろしくお願いします。 Re: Migrating a device tree for Udooneo (iMX6SX) from 4.1 to 6.6 : Display (LVDS) 使用されるディスプレイは、DS90CF364 (LVDS) を搭載した UMSH-8596MD-20T です。 Re: Migrating a device tree for Udooneo (iMX6SX) from 4.1 to 6.6 : Display (LVDS) ご興味があるCASEの方のために、私の問題に対する解決策を次に示します: https://www.udoo.org/forum/threads/migrating-device-tree-for-udooneo-from-4-1-to-6-6-display-lvds.38823/
View full article
MIMXRT1052CVL5B on-chip LDO short-circuits during use During an occasional power-up, I found that the RT1052 could not be activated and the REQ signal was not emitted. After measurement, I found that the on-chip LDO_SNVS and LDO_1P1 are short-circuited, resulting in the inability to activate the PMU module of the RT1052, but the reason is unknown, and the attached is part of the peripheral circuitry of the RT1052, is there any irrationality? 回复: MIMXRT1052CVL5B在使用过程中出现的片内LDO短路现象 Addendum: The short circuit part of the measurement is measured at both ends of C337 and both ends of C339 in the attachment, and the resistance to ground is 0~2Ω. And after referring to other RT1052 schematic designs, I found that the Pswitch circuit is slightly different from other designs. In this design, a U141 chip is added to increase the delay time by 240ms, and I am not sure if it will affect the on-chip DCDC enable.
View full article
S32K358 RTD 5.0.0BCTU HWはグループ変換と並行してトリガーされます 親愛なるサポート、 お客様AptivはS32K358 RTD 5.0.0を使用しています -> 観察: ADC HW ユニット 2 の SW トリガー グループでは、グループ 4 は ADC HW ユニットで構成されている唯一のグループであり、SW によってトリガーされます。また、ADC HW ユニット 2 には BCTU 経由の HW トリガー用の追加チャネルが 2 つあります。 BCTUレジスタでHWトリガーデータを確認できますが、SWトリガーG4では値0が表示されます(下のスクリーンショットを参照してください)。 SW によってトリガーされるグループ変換の結果は常にゼロであり、ADC ユニット内で競合またはリソースの競合が発生する可能性があることを示しています。 私はお客様に次のアプローチを推奨しました: 下のデバッグウィンドウでは、 ADC_2の場合、 MCR[BCTU_MODE]=0 BCTUのみが変換をトリガーCANことがわかります。 SO、このモードでは SW によってトリガーされる変換は許可されません。RTD ADCユーザーマニュアルによると、このビットを1に設定する必要があります。 4.140 パラメータ BctuGlobalHwTriggers ベンダー固有: ハードウェア トリガーを有効にして ADC 変換を開始します。無効にすると、BCTUソフトウェアトリガーのみCAN 変換を開始します。 この ADC でソフトウェア トリガー変換を許可するには、それに応じて有効にしてください。BCTU 変換はソフトウェア トリガー グループ変換を中断することに注意してください。 この構成については、リファレンスマニュアルに記載されている動作を考慮してください(グループ変換は通常の変換であり、挿入された変換ではないと想定しています)。 60.3.6.1 BCTUトリガーモード … 進行中の通常変換中に BCTU トリガーが受信された場合、進行中の通常チャネル変換は中断され、BCTU によってトリガーされた挿入された変換が処理されます。BCTU によってトリガーされた変換が完了すると、中断されたチャネルから通常の変換が再開されます。 BCTU変換中に通常の変換が要求された場合(MSR[BCTUSTART] = 1)、BCTU変換が完了した後に通常の変換が開始されます(MSR[BCTUSTART]はゼロにリセットされます)。 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  しかし、お客様からのフィードバックは(そして私の側でも同じ動作をCANました) BCTUの設定部分を確認しました(下のスクリーンショットを参照してください) はい、おっしゃる通りです。ADC_2 : MCR[BCTU_MODE]=0 BCTU のみが変換をトリガー CAN ますが、これはグローバル HW トリガーが有効になっているためでしょうか? 動作をテストするために無効にしましたが、HW トリガーは機能しません。 我々はこれを設定内でのみ有効にしたままにしています。MCR[BCTU_MODE]=0 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  同じ ADC で、a) ハードウェア トリガー BCTU 変換とソフトウェア トリガー変換を並行して実行する方法に関するヒントと構成例を教えていただけますか? (残念ながら、RTD5.0.0 の例ではこのユースCASEはカバーされていません) よろしくお願いいたします。 ヴィクトル RTD Re: S32K358 RTD 5.0.0 BCTU HW triggered in parallel with Group Conversions こんにちは@nxp52415さん、 私の観点からすると、ADC2 の bctu によってトリガーされるチャネルをハードウェア トリガー グループにCAN構成できます。その後、外部トリガーまたはbctuからのハードウェアトリガーの受信を有効にするには、Adc_EnableHardwareTrigger()関数を呼び出す必要があります(ADC2_MCR[BCTUEN] = 1、ADC2_MCR[BCTU_MODE] = 1を設定します)。 よろしくお願いいたします。 ダン Re: S32K358 RTD 5.0.0 BCTU HW triggered in parallel with Group Conversions こんにちは、ダン。 ありがとう、Hwは両方が設定されているAptivのUSE CASEをサポートする必要があると思います ADC2_MCR[BCTUEN] = 1 ADC2_MCR[BCTU_MODE] = 1 RTD ドライバを使用してこの状態を実現する方法をご存知ですか? RM マニュアルでは、これが ADC でサポートされているモードであることが明確にわかります。 よろしくお願いいたします。 ヴィクトル Re: S32K358 RTD 5.0.0 BCTU HW triggered in parallel with Group Conversions こんにちは@nxp52415さん、 1.お客様が Adc_EnableCtuControlMode(AdcHwUnit_2); を呼び出すと、この関数は Adc_EnableCtuControlMode(AdcHwUnit_2); を呼び出し、ADC2_MCR[BCTU_MODE] = 0: BCTU のみが変換をトリガーできる、および ADC2_MCR[BCTUEN] = 1: BCTU をトリガー ソースとして有効にする、の構成を実行します。 その後、 Adc_StartGroupConversion ( AdcGroup_4) を呼び出しても、ADC2_MCR[BCTU_MODE] = 0 のため、ADC_2 へのソフトウェアトリガーは発生しません。 私の観点からすると、 Adc_StartGroupConversion ( AdcGroup_4)を呼び出す前に、ユーザーは Adc_DisableCtuControlMode(AdcHwUnit_2); を設定して ADC2_MCR[BCTUEN] = 0 に変更します。その後は、ソフトウェアトリガーが正常に実行できるようになります。   2. GPT タイマーを使用して SW グループをトリガーするために Adc_EnableHardwareTrigger() の使用を提案しているかどうかを確認したいと思います。 => SW グループは、 Adc_StartGroupConversion() 関数を介したソフトウェア トリガーによってのみトリガーされ、Adc_EnableHardwareTrigger() ではそれができません。Adc_EnableHardwareTrigger() は、ADC_TRIGG_SRC_HW として構成されているグループに対してのみ使用されます。 よろしくお願いいたします。 ダン Re: S32K358 RTD 5.0.0 BCTU HW triggered in parallel with Group Conversions こんにちは、ダン。 私はヴィクトルの休暇の代わりをしています。ここでお客様はこう答えました。彼らはまだこれをCANません。 Adc_EnableHardwareTrigger() を使用して SW グループをトリガーするという提案を検討しましたが、この API がソフトウェア構成のグループのトリガーをどのように容易にするのかを完全に理解することはできません。具体的には、SW グループをこの API に明示的に渡す必要があるかどうか、またこのコンテキストでトリガー メカニズムがどのように機能すると予想されるかを明確にしたいと思います。 グループ 4 はトリガー時に変換を開始するはずですが、その状態はIDLE のままであり、ADC 変換が完了していないことがわかります。興味深いことに、異なる ADC ユニットからの他の SW トリガー グループは期待どおりに機能しています。 さらに、このセットアップでは HW トリガー (BCTU 経由) が正しく動作し、BCTU バッファーで有効な変換結果を確認できます。 ADC HWユニット2の構成: 1つのSWグループのみが構成されます。グループ4 背景を詳しく説明すると、現在の実装は次のとおりです。 ADC HWユニット2の構成: 設定されている SW グループは 1 つだけです(Group4 )。 チャネルマッピング: PTE21 と PTE24 を除くすべてのチャネル、以下のすべてのチャネルはグループ 4 にリンクされています。 GPT タイマーを使用して SW グループをトリガーするために Adc_EnableHardwareTrigger() の使用を提案しているかどうかを確認したいと思います。もしSOであれば、これを正しく設定する方法についてご指導いただければ幸いです。 よろしくお願いします。 Re: S32K358 RTD 5.0.0 BCTU HW triggered in parallel with Group Conversions こんにちは、 @viktorfellingerさん、 1. グローバル HW トリガーを有効にする => このノードは BCTU_MCR[FRZ] (デバッグ フリーズ ビット) の値に影響します。 すべてのハードウェア トリガー入力を無効にしますが、ソフトウェア トリガーは有効のままにします。Debug Freeze は BCTU を外部トリガーから分離し、手動で変換をトリガーして変換結果を読み取ることを可能にします。 0b - 無効にする 1b - 有効にする => SO、ユーザーは、すべてのハードウェア トリガー入力を有効にするために、このノードを無効にする必要があります。 2. フローコードと、ADC_MCR[BCTU_MODE]が0になるタイミングを教えてください。 よろしくお願いいたします。 ダン Re: S32K358 RTD 5.0.0 BCTU HW triggered in parallel with Group Conversions 添付のお客様XDM構成
View full article
我仍然遇到这个问题:致命错误:Adc.h:无此文件或目录 您好, 我仍然遇到这个问题,如果有人能提供帮助,我将不胜感激。 我在 Matlab 2022b 上使用 MBDT 1.5 谢谢您, 西蒙 https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/fatal-error-Adc-h-No-such-file-or-directory/m-p/2083246 Re: I'm still having this problem: fatal error: Adc.h: No such file or directory 你好,@simon98、 我们最近发布了该工具箱的新版本( 适用于 S32K3 版本的基于模型的设计工具箱 1.7.0 )。你能否下载并升级到这个版本的工具箱,然后重试确定问题是否仍然存在? 请与我们联系进展情况。 顺祝商祺! 德拉古 Re: I'm still having this problem: fatal error: Adc.h: No such file or directory 你好@Naresh2000、 您看到的信息是预料之中的。最新的 M BDT 电池管理系统 工具箱目前仅通过 MBDT S32K3xx 1.4.0 进行验证。它尚未与 MBDT S32K3xx 1.7.0 兼容,因此 Simulink 会提示您切换回 1.4.0 版本。 因此,这取决于您的使用情况: 如果你打算使用 电池管理系统 工具箱,请将 MB DT S32K3xx 降级到 1.4.0 版,这是最新的支持组合。 如果你不需要 电池管理系统功能,你可以毫无问题地继续使用 MBDT S32K3xx 1.8.0,这实际上是最新发布的 S32K3 工具箱。 简而言之,最新的可用电池管理系统版本目前仅适用于 S32K3 xx 1.4.0平台。未来的电池管理系统版本中将支持较新的 S32K3xx 版本。 希望现在很明确了。 顺祝商祺! 德拉古 Re: I'm still having this problem: fatal error: Adc.h: No such file or directory 你好、 SBC 驱动程序与 RTD 兼容。查看 SBC 发行说明,了解 RTD 版本支持什么。如果要使用特定的 RTD 版本,则可能需要安装相应的 SBC 版本,反之亦然。 例如,如果我没记错的话,使用 RTD 7.0.1 需要使用 SBD 驱动程序 6.0.0。 您好 西蒙 Re: I'm still having this problem: fatal error: Adc.h: No such file or directory 首先,非常感谢@dragostoma迅速而有用的回复,这非常有用。 我无法在 S32 配置工具中找到 CDD_Sbc_fs26 驱动程序 。经过研究,我了解到 MBDT 限制在 S32CT 中安装新软件,以防止用户破坏工具链。 在找到这个之前,我尝试使用 “帮助” → “安装新软件” 通过 S32 Design Studio 安装 FS26 软件包。然而,重新打开 Simulink 并检查 S32CT 后,CDD 驱动程序仍然不可用。看来S32设计工作室和Simulink S32配置工具是独立运行的,不共享已安装的组件。 作为一种解决方法,我从电池管理系统示例项目中复制了 FS26 初始化块。但是当我尝试构建、部署和启动模型时,我遇到了以下错误:致命错误:cdd_sbc_fs26.h:无此文件或目录 我目前处于困境,需要有关如何正确解决此问题以及集成所需的 FS26 驱动程序或其他任何方法的指导。 MBDT FS26 Re: I'm still having this problem: fatal error: Adc.h: No such file or directory 我正在使用较新的版本,即 MBDT S32K3xx 1.7.0,但是 Simulink 显示提示说 MBDT 电池管理系统 1.2.0 不支持 1.7.0 版本,并建议切换到 MBDT S32K3xx 1.4.0。在这种情况下,我该怎么办?
View full article
Freertos Tasks view show Runtime values but wrong percentage after configuration Hi, We are using MCUXpresso 25.6.136, FreeRTOS 11.0.1 and the SDK_2.x_MCXA156 25.06.00. We adapted the following tutorials to configure the Run time Statistics of FreeRTOS : https://mcuoneclipse.com/2020/04/15/freertos-task-runtime-statistics-for-nxp-i-mx-rt1064/ https://mcuoneclipse.com/2018/08/02/tutorial-using-runtime-statistics-with-amazon-freertos-v10/ However, the view always display 0.0% for each task despite the hexadecimal values next to the percentage being coherent with the application, here is our view: Calculating the Runtime percentage of each task using the hexadecimal values seem to corresponds to the task execution (increasing the task frequency, increase this number). This problem is really similar to this issue : https://community.nxp.com/t5/MCUXpresso-IDE/FreeRTOS-runtime-stats/td-p/1067434 Is there additional steps needed to display the percentage (compared to the linked tutorials) or is this an MCUXpresso small bug? Sincerely, MCXA Re: Freertos Tasks view show Runtime values but wrong percentage after configuration Hi Alice, We solved the issue. As compared to the previously linked tutorials, two macros must be added in FreeRTOSConfig_Gen.h : #define configUSE_STATS_FORMATTING_FUNCTIONS 1 #define configINCLUDE_FREERTOS_TASK_C_ADDITIONS_H 1 In our case "freertos_tasks_c_additions.h" was missing from our project so we added it from the latest SDK example. Re: Freertos Tasks view show Runtime values but wrong percentage after configuration Hello @rj_engineer  Could you please send me your project? I’ll help reproduce the issue and investigate it. If it turns out to be an IDE-related problem, I’ll report it to our development team. Thank you! BR Alice
View full article