Multi Source Translation Content

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Multi Source Translation Content

ディスカッション

ソート順:
在 LX2160ARDB 板中安装和使用 PMD 驱动程序 请建议使用 yocto receipe 安装的方法,我已经使用 bitbake dpdk 命令安装了 dpdk,但默认情况下它只使用 crypto_dpaa2_sec PMD。用户指南提供了使用 yocto 的明确步骤。 当我使用以下命令进行验证时: dpdk-test-crypto-perf-c 0x3--log-level=3-----devtype crypto_dpaa2_sec,则显示的是有意义的结果,而使用其他命令,例如 devtype crypto_armv8/crypto_openssl/crypto_null,则显示 " USER1:无法初始化请求的加密设备类型 ",请参阅附件。 Re: Installing and using PMD drivers in LX2160ARDB boards 请在 DPDK 的配方中添加以下几行   EXTRA_OEMESON:append =" \ -Denable_drivers=crypto/dpaa2_sec,crypto/armv8,crypto/openssl,crypto/null\ ”   bitbake -e dpdk | grep enable_drivers bitbake -c clean dpdk bitbake dpdk   dpdk-test-crypto-perf --list
記事全体を表示
能否对 PMSM 进行 V/f 控制? 我正在用 V/f 法建立一个 PMSM 控制模拟器模型。该模型适用于感应电动机,但 PMSM 的速度输出会出现振荡,我认为是磁场没有同步。我错过了什么吗? Re: can we do V/f control of a PMSM? 你好 PMSM 的 V/f = 可能 ,但在许多条件下本质上并不稳定 您看到的振荡是预期行为 对于任何严肃的 PMSM 项目而言: 使用 FOC(矢量控制) ,或至少使用无传感器 FOC V/f 是: 可用于研究/演示 不可用于生产 PMSM 控制装置 V/f 控制下的 PMSM 问题概述 无自同步: PMSM 具有固定的转子磁场,因此必须与定子磁场保持同步。V/f 控制无法确保这一点。 无打滑机制(与感应电机不同): 没有与速度和扭矩相匹配的自然 "调节"→可能出现不稳定。 不受控制的转矩角 (δ): 转矩取决于转子和定子磁场之间的夹角,但 V/f 无法对其进行控制 → 转矩变得不稳定。 结果: 速度振荡 可能失去同步性(失步) 动态性能差 顺祝商祺! Peter
記事全体を表示
-Regarding the debugging issues of the S32K344 + TJA1103 Ethernet module Recently, I have been learning about the Ethernet aspect of the S32K344 development board. The compiler version I am using is s32ds3.4, the SDK version is PlatformSDK_S32K3_2022_03_S32K344_M7, and the FreeRTOS version is SW32K3_FreeRTOS_10_4_6_UOS_2_0_1_HF01_DS_updatesite_D2308. The Ethernet used is TJA1103 + RMII. The problem I am currently encountering is that the IP address in the program is 192.168.0.200. I set the IP address of my computer to 192.168.0.1. When I burn the program into the S32K344 development board, the program will get stuck at this point.But in the most recent test, the program was able to run normally.   When I pinged 192.168.0.200, the following error message appeared: C:\Users\17554>ping 192.168.0.20 Pinging 192.168.0.200 with 32-byte data: Reply from 192.168.0.5: Request timed out. Request timed out. Request timed out. Below is the hardware wiring diagram. Finally, this is the connection diagram of my development board and the computer. Hope to receive your reply. 回复: -Regarding the debugging issues of the S32K344 + TJA1103 Ethernet module Sorry, it was my mistake. I only realized later that I used TJA1101 instead of TJA1103. 回复: -Regarding the debugging issues of the S32K344 + TJA1103 Ethernet module Due to the excessive amount of input content, I still need to add some details. Firstly, regarding the selection of the PHY in device.c, in my understanding, I used JTA1103. Therefore, I changed PHY_ID1 and PHY_ID2 to the following two. Then, it comes to the selection of the clocks. I set all three clocks of the emac to 50 MHz, and the clock source was set to emac_mii_rmii_tx. The only additions I made are these two points. I hope someone can help me answer my questions. Best regards. ssslz 回复: -Regarding the debugging issues of the S32K344 + TJA1103 Ethernet module Below is my program.
記事全体を表示
请求提供信息:S32K312 MCU 安全调试 您好,NXP团队, 我们的团队目前正在开发一个使用 S32K312 MCU 的控制器。在生产阶段,我们正在实施安全调试和配置锁定功能。 我们观察到,当网络安全处于激活状态时,执行 S32_SDAP_WRITE.cmm 脚本(由恩智浦提供)或输入安全调试密码可允许临时调试器访问。 我们要求提供有关设备从 " 网络安全启用 " 状态转换到 " 临时安全调试访问 " 状态时内存地址和寄存器值的具体变化的详细信息。 具体来说,我们想知道哪些寄存器或内存映射位置反映了这种转变。例如 网络安全激活状态:例如,地址 0x40000000 = 1 / HSM 安全调试寄存器 = 1 临时调试启用状态:例如,地址 0x40000000 = 0 / HSM 安全调试寄存器 = 0 您能否提供相关寄存器(例如HSE(硬件安全引擎)或注册状态中的寄存器)的列表,以表明安全调试会话当前是否经过身份验证和处于活动状态? 顺祝商祺! Re: Request for information: S32K312 MCU Secure Debug 你好@jeongwoo S32K3xx 参考手册(修订版)第 82.5.7 节12) 详细描述了调试身份验证序列。 此外,还有一份专用的应用笔记解释了解锁设备应遵循的程序。该文档可从 S32K3 产品网页的文档 → 安全文档 → S32K3xx 安全调试启用指南中下载。 BR、VaneB
記事全体を表示
从不引用的常量被删除 早上好、 在我的一个项目中,我需要添加一个常量字符串 " ABCDEF " 这个字符串实际上从未被软件引用。 const int8_t ID[] __attribute__((used)) = {"ABCDEF"}; 我使用这个字符串作为 " 密钥 " 或 " 标记 " 来分析和定位链接阶段之后生成的二进制文件中的特定数据。不幸的是,优化器正在删除此字符串,因此它不会出现在最终的二进制文件中。 我使用的是 MCUXpresso IDE v25.6 [版本 136] [2025-06-27]。 有人遇到过类似问题吗?您是如何强制链接器保留未引用的部分或变量的? 非常感谢你们的帮助与合作 此致问候 Re: never referenced constant is removed 你好@_Ferrari_ 感谢您的来信! 请使用 volatile 指令告诉编译器不要优化该变量 const volatile int8_t ID[] __attribute__((used)) = {"ABCDEF"}; 如果这些信息对您有帮助,请告诉我。 Re: never referenced constant is removed 遗憾的是,这并不是正确的解决方案。 如果我使用 const volatile int8_t ID[] __attribute__((used)) = {"FEDCBA"}; ID 常量将从最终输出文件中删除 此致问候 Re: never referenced constant is removed 你好@_Ferrari_ 能否请您介绍一下您使用的优化级别? BR Re: never referenced constant is removed 尊敬的各位, 根据您的要求,这是我的优化级别 此致问候
記事全体を表示
Need Passive 125 kHz RFID Chip Recommendation Hello fellow developers, I’m looking for a recommendation for a passive 125 kHz RFID chip with the following requirements: Memory size: 2048 bits or higher Read/write capability Lock bit or another reliable write-protection mechanism Suitable for reliable production use Currently available / active production line Any recommendations for suitable NXP chips, alternatives, or compatible reader solutions would be greatly appreciated. Thanks in advance, Ben Sella Re: Need Passive 125 kHz RFID Chip Recommendation Hello @benSella, For new designs, the only LF RFID solution currently recommended in our portfolio is the HITAG µ /Advanced. Please note that this IC offers a maximum total memory capacity of 512 bits. BR Habib Re: Need Passive 125 kHz RFID Chip Recommendation Hello Habib, Thank you for your reply and recommendation. I’m afraid that this chip would not be suitable for our application, as the maximum memory capacity of 512 bits is too limited for our needs. We are specifically looking for a passive LF RFID solution with at least 2048 bits of memory, along with read/write capability and a reliable locking or write-protection mechanism. If NXP does not currently offer such a solution, I would still appreciate any recommendation you may have for a suitable alternative. Thank you again for your help. Best regards, Ben Sella Re: Need Passive 125 kHz RFID Chip Recommendation Hello @benSella, Sorry for taking a while to get back to you. Unfortunately, HITAG u/Advanced is the only recommended for new designs that supports the low-frequency (LF) RFID. We have some HF and UHF tags in our portfolio, I can suggest you a recommendation based on these tags in case you are interested. If so, could you provide me more details about your application? BR Habib
記事全体を表示
RDA8420TEIS 板的购买供应情况 您好,恩智浦支持团队、 我问了销售部门 EIS 元器件 RDA8420TEIS0 的预计投入生产日期是什么以及它的购买情况。该项目目前处于试生产阶段。 答案是 "RDA8420TEIS0 - 市场营销部不支持网络订单"。我不清楚该主板是否可供购买。 谢谢您! 拉杜 Re: RDA8420TEIS board purchase availability 亲爱的拉杜 让我确认 RDA8420TEIS0 主板处于客户资格状态,这意味着不允许在线下单。 https://www.nxp.com/design/design-center/development-boards-and-designs/RDA8420TEIS0 在系统激活之前不能订购。日期目前还不清楚。 这个已经可以订购: https://www.nxp.com/design/design-center/development-boards-and-designs/EVBMA8420T https://www.nxp.com/part/EVBMA8420T3 感谢您对 NXP 产品的关注。祝您愉快 帕夫拉
記事全体を表示
PCF1545 嵌入式主板上的 PWM 调光行为分析 我一直在小型嵌入式 LED 控制板上使用 PCF1545 测试 PWM 调光行为,并注意到在较低亮度水平下会出现一些有趣的行为。 该设置目前使用 MCU: 基于 Cortex-M 的控制器 通信I2C LED 负载:多段指示灯阵列 电源电压: 3.3V 在更高的 PWM 占空比下,亮度过渡看起来平滑而稳定。不过,当亮度降低到大约 15-20% 以下时,根据 LED 类型和刷新时间的不同,会出现轻微的闪烁。 目前的几点看法: 提高 PWM 刷新频率可减少可见闪烁。 不同颜色的 LED 表现不同,尤其是蓝色 LED。 其他 RTOS 任务产生的定时抖动对一致性略有影响。 电源轨噪声也会影响低亮度稳定性。 我目前正在进行试验: 调整扫描/更新时间间隔 优化 I2C 交易时序 为 LED 部分使用单独的电源滤波器 使 PWM 更新与主刷新循环同步 是否有人分析过 PCF1545 在嵌入式应用中的 PWM 调光特性? 我感兴趣的是 推荐的 PWM 频率范围 低亮度稳定性的最佳实践 动态更新时减少闪烁的技术 使用 RTOS 环境与裸机系统时的观察结果 任何实际见解或范围捕捉将不胜感激。      
記事全体を表示
S32K148 Enabling CSEc Issues The problem I'm having is this: The board has been programmed and executed, and the previous program did not have CSEc enabled, so the value of uCSEcKeySize is set to 0 when initializing the EEP time zone. Now to enable CSEc, use AES-128-CMAC to verify the firmware, because this time I run S32_SDK_S32K1xx_RTM_4.0.2\examples\S32K148\driver_examples\system\csec_keyconfig to repartition and use Debug_ RAM configuration for compilation and debugging, the return value of FLASH_DRV_EraseAllBlock is successful, FLASH_DRV_DEFlashPartition fails because the value of the ACCERR bit of FTFC- >FSTAT in the FLASH_DRV_CommandSequence function is 1. Also I used jlink's erase chip feature to erase the data with the same result. What can I do about it? Re: S32K148启用CSEc问题 The parameters seem to be correct.  What is the meaning of this? uint8_t cseKeySize = *(volatile uint8_t *)0x40020005U; if (flashSSDConfig.EEESize == 0 || cseKeySize == 0U) { This is an address of FCC0B2 register. I can't see a reason to read the register here.  Could you read the content of FCFG1 register in SIM module? If Erase All Blocks command was successful, the EEERAMSIZE and DEPART bit fields should be reset to '1's after next reset.  Are any flash blocks protected? Could you take a screenshot of flash configuration field at 0x400 - 0x40F? Regards, Lukas Re: S32K148启用CSEc问题 Hi Lukas, The contents of my `initFlashForCsecOperation` function are as follows: void initFlashForCsecOperation(void) {     flash_ssd_config_t flashSSDConfig;     status_t status = FLASH_DRV_Init(&flash1_InitConfig0, &flashSSDConfig);     if (status != STATUS_SUCCESS) {         return;     }     uint8_t cseKeySize = *(volatile uint8_t *)0x40020005U;     if (flashSSDConfig.EEESize == 0 || cseKeySize == 0U)  { #ifdef FLASH_TARGET         PINS_DRV_ClearPins(LED_PORT, 1 << LED_OK); #else         uint32_t address;         uint32_t size; #if (FEATURE_FLS_HAS_PROGRAM_PHRASE_CMD == 1u)         uint8_t unsecure_key[FTFx_PHRASE_SIZE] = {0xFFu, 0xFFu, 0xFFu, 0xFFu, 0xFEu, 0xFFu, 0xFFu, 0xFFu}; #else   /* FEATURE_FLASH_HAS_PROGRAM_LONGWORD_CMD */         uint8_t unsecure_key[FTFx_LONGWORD_SIZE] = {0xFEu, 0xFFu, 0xFFu, 0xFFu}; #endif  /* FEATURE_FLS_HAS_PROGRAM_PHRASE_CMD */           status = FLASH_DRV_EraseAllBlock(&flashSSDConfig);         if (status != STATUS_SUCCESS) {             return;         }         status = FLASH_DRV_Init(&flash1_InitConfig0, &flashSSDConfig); #if (FEATURE_FLS_HAS_PROGRAM_PHRASE_CMD == 1u)         address = 0x408u;         size = FTFx_PHRASE_SIZE; #else   /* FEATURE_FLASH_HAS_PROGRAM_LONGWORD_CMD == 1u */         address = 0x40Cu;         size = FTFx_LONGWORD_SIZE; #endif /* FEATURE_FLS_HAS_PROGRAM_PHRASE_CMD */         status = FLASH_DRV_Program(&flashSSDConfig, address, size, unsecure_key);         if (status != STATUS_SUCCESS) {             return;         }         status = FLASH_DRV_DEFlashPartition(&flashSSDConfig, 0x2, 0x4, 0x3, true, true);         if (status != STATUS_SUCCESS) {             return;         } #endif /* FLASH_TARGET */     } } I use the chip as shown in the figure below: Re: S32K148启用CSEc问题 Hi @AllanZhou  How did you set parameters for FLASH_DRV_DEFlashPartition? There’s a list of possible issues when this command returns ACCERR: Regards, Lukas Re: S32K148启用CSEc问题 Hi  lukaszadrapa, My goal is to read the value of `uCSEcKeySize` from the last partitioning operation; if it is 0, I will perform the partitioning again. The value of the FCFG1 register is 0xFF32F000 Re: S32K148启用CSEc问题 Yes, SIM->FCFG1 0xFF32F000 is correct default value when the device is not partitioned yet. After partitioning using these parameters, you should see 0xFF324000. So, the EraseAllBlocks command obviously works, there’s no problem. The parameters for FLASH_DRV_DEFlashPartition are correct. The code is running from RAM. There are not many options now. Could you try to hide all flash memory windows in your debugger to ensure that the debugger does not access flash memory while the device is being partitioned? Do you have more boards? Are you facing the same behavior on all of them? Regards, Lukas Re: S32K148启用CSEc问题 Hi  lukaszadrapa, I've already replaced the board, but I'm still having the same issue. Does this have anything to do with the chip model I'm using? Does the second “F” in FS32K148HFVLQ indicate that there is no security module? Re: S32K148启用CSEc问题 Hi @AllanZhou  You are absolutely right, I'm sorry for confusion. I was somehow under impression that S32K148 has always  security feature but I was wrong, my memory betrayed me: Yes, you need to order a derivative which has Security feature.  Regards, Lukas 
記事全体を表示
RT1052 development board SDK adapted to Keil development environment issues NXP Technical Support: Hello! As shown in the above figure, when downloading the SDK for RT1052 development board, there is a prompt "If you use KEIL development environment, it is recommended to use version 2.8.2 of the SDK". Does it mean that the SDK after version 2.9 is not recommended to use KEIL development environment? --- Is my understanding of the above incorrect? I would be grateful for any help in confirming this. (used at the end of a letter introduce a polite salutation) Salute! Re: RT1052开发板SDK适应Keil开发环境问题 Hi @FromCH0, Thank you for your interest in the NXP RT family of products and we are pleased to be of service to you. I apologize for the confusion. We have confirmed internally that it is not the case that Keil is not supported in the new version, but rather that Keil engineering support is not available in the specific version 2.8.5, hence the special message in that version. Keil is still supported in 2.9 and later versions of the SDK and can be used normally. I hope you find the above instructions helpful. Best Regards May Liu
記事全体を表示
Microcontroller selection for entry-level consumer graphical application Hi support Team, I  am looking for support in selecting an entry-level microcontroller for a consumer graphical application. Requirements: Display: small display up to 320 × 240 Memory: around 1 MB Flash and 256 KB RAM Power: preferably mainstream or low-power Peripherals: 3 SPI instances 2 I2C instances 2 ADC channels The peripherals will be used with dedicated sensors The application is a consumer product with a small graphical interface and dedicated sensor connections. I am looking for a cost-effective microcontroller that can support the display, peripheral interfaces, and basic graphics requirements in an entry-level solution. Questions: Could you recommend suitable microcontroller families or specific part numbers that best match these requirements?  Is there an existing example or reference project that could be used as a starting point for development?  Best Regards, Nuyuan MCXC MCXN Re: Microcontroller selection for entry-level consumer graphical application Hello @Yuza , Thanks for your post.  Based on your requirements, we would recommend MCX N94x / N54x. MCXN94x/54x: MCX N94, N54, N53, N52 and N24 MCUs | NXP Semiconductors The main reason is memory fit. Your target is around 1 MB Flash and 256 KB RAM , while the MCXN546 / MCXN946 devices provide 1 MB Flash and 352 KB SRAM , and the MCXN547 / MCXN947 devices provide 2 MB Flash and 512 KB SRAM , all running at up to 150 MHz. This family is also a good fit for a small graphical interface. NXP positions the MCX N family for industrial/consumer HMI applications and highlights display support in the portfolio overview. The MCX N series includes SmartDMA for display and fast I/O use cases, and FlexIO can be used for LCD interfaces. The MCX N94x / N54x series integrates 10 low-power Flexcomm instances , and these encapsulate LPSPI, LPUART, and LPI2C functions, giving sufficient serial interface resources for requirements such as 3x SPI and 2x I2C . The documentation includes AN14172, Using SmartDMA for Graphic on MCX N Series MCU , which describes graphics-oriented data handling on MCX N and includes an SDK example named lvgl_demo_widgets_bm . That example uses FlexIO to emulate an MCU8080 interface to drive a 3.5-inch LCD , with SmartDMA transferring data to the FlexIO data registers. In addition, MCX N is listed in NXP’s MCUXpresso GUI ecosystem as a supported platform for LVGL-based development. We also have LVGL demos in our SDK. We also have EVK board for your evaluation: MCXN947 FRDM Board for Industrial IoT Solutions | NXP Semiconductors Hope it helps. BR Celeste
記事全体を表示
i.MX 8M Plus:ISIドライバーの選択、RMでのガスケットドキュメント、およびデインターレースのサポート CPU/モジュール = i.MX 8M Plus (TQMa8MPxL) カーネル = NXPカーネル 6.6 H.264エンコード用に、MIPI-CSI2経由でインターレースビデオソース(1080i / 480i)をキャプチャします。 AN13857(「i.MX 8Mシリーズ MIPIキャプチャシステム」、セクション8)に記載されているハードウェアデインターレース機能がi.MX 8M Plusで使用できるかどうかを調べています。 この過程で、3つの疑問点が浮かび上がったので、ここで明確にしておきたいと思います。 今後、どのISIドライバーを使用すべきでしょうか? 現在のNXPカーネルには、ISIドライバの実装が2つあるようです。1つは`drivers/staging/media/imx/`にある古いバージョン、もう1つは`drivers/media/platform/nxp/imx8-isi/`にある新しいバージョンです。 NXP社は、現在のBSPに対応したi.MX 8M Plus向けに公式にサポートされ推奨されているドライバはどれか、また古いドライバは非推奨とみなされているのかどうかを明確にしていただけますでしょうか? ガスケットレジスターは、i.MX 8M Plusリファレンスマニュアルに記載されていますか? AN13857では、i.MX 8M Plusでデインターレースを設定するメカニズムとして、ガスケット制御レジスタ(特にインターレースモードを選択するフィールド)を参照しています。IMX8MPRM (Rev.2) NXP社は、ガスケットレジスタの説明(特にインターレースモードフィールド)がIMX8MPRMのどこかに記載されているかどうかを明確にしていただけますでしょうか? AN13857で示されているハードウェアによるデインターレース処理は、現在のISIドライバでサポートされていますか? 現在のドライバでは、AN13857で説明されているインターレース入力の方法でガスケットとISIをプログラムするコードパスを特定できませんでした。 NXP社に説明をお願いできますでしょうか? AN13857 ハードウェア デインターレース フローが現在の ISI ドライバで標準でサポートされているかどうか、 はいの場合、アプリケーションによってどのように有効化されますか? そうでない場合、NXPが現在この機能を必要とする顧客に対して推奨する解決策(ソフトウェアによるインターレース解除、カスタムドライバの開発など)を教えてください。 よろしくお願いします。 よろしくお願いします、 ラファエロ グラフィック&ディスプレイ i.MX 8ファミリー | i.MX 8QuadMax (8QM) | 8QuadPlus Linux マルチメディア ヨクトプロジェクト
記事全体を表示
S32K: LINタイムアウトマネジメント構成に関するサポートが必要です こんにちは、 このメッセージがあなたに届く頃には、お元気でいらっしゃることを願っています。現在、EBTreosを使用してLINタイムアウトマネジメントを設定する際に問題が発生しています。私は、 Lin_MasterFrameTransfer_S32K312のルーチンと、 Lin_TS_T40D34M20I2R0にあるRTD_LIN_UM .pdf ドキュメントを参照しました。私の設定では、MCUがホストとして機能し、CANOEでシミュレートされたメッセージを受信するためにヘッダーを送信しています。私が遭遇した具体的な問題点は以下のとおりです。 Lin Frame Timeout Disableを有効にすると、応答タイムアウト管理は行われず、正常にデータを受信できます。 Lin Frame Timeout Disable を有効にしない場合、LinLpuartStart および LinLpuartStop コールバック関数を手動で追加し、GPT モジュールのタイマーコールバック関数 Switch_TimeOut を設定してタイムアウトイベントを管理します。 しかし、このシナリオでは、スレーブはデータを送信しません。オシロスコープの観測結果によると、ヘッダーを送信しているのはマスター側のみである。問題はタイミングに関係しているのではないかと考えています。タイマーを40MHzのクロックに設定し、 Pit_Ip_StartChannelのCountValueを40MHzに設定しました。これは、タイミング周期が1秒であることを意味します。この構成では、テストは正常に進行します。 しかし、タイマーをマイクロ秒単位のタイミングに設定しようとすると、期待どおりに動作しません。参考までに、私のコードの一部を以下に示します。 void LinLpuartStart(uint8 Instance, uint32 MicroSeconds) { (void)Instance; (void)MicroSeconds; uint32 count_down = 0U; count_down = MicroSeconds * 40U; Pit_Ip_StartChannel(0, 0, count_down); } uint32 stop_cnt = 0U; void LinLpuartStop(uint8 Instance) { (void)Instance; stop_cnt+=1; Pit_Ip_StopChannel(0, 0); } uint32 test_lin_out = 0U; /* This function called when timout event happens. */ void Switch_TimeOut(void) { Lin_PduType linFrame = T_Lin_Frame[0U]; /* Deal with timout event */ test_lin_out+=1; Lpuart_Lin_Ip_TimerExpiredService(0); /* Send the Lin_Header Again */ Lin_SendFrame(0U, &linFrame); } この問題を解決するためのご指導やご提案をいただければ大変ありがたいです。特に、スレーブが正しく応答するようにタイマー設定を適切に構成する方法についてご教示いただければ幸いです。 お時間とご協力に感謝いたします! BR、 ドンシュン Re: S32K: Assistance Required with LIN Timeout Management Configuration はい、ありがとうございます。73μsという結果が出た計算式はどこで入手されたものか教えていただけますか?また、この数式に含まれる様々なパラメータは何を表しているのでしょうか? Re: S32K: Assistance Required with LIN Timeout Management Configuration こんにちは、アオインさん。 T_Lin_Frameはデモファイルで定義されており、完全な定義は以下のとおりです。   uint8 T_Lin_Data[3] = {0x01, 0x02, 0x03}; const Lin_PduType T_Lin_Frame[T_LIN_TEST_FRM_NUM] = { {0x1A, LIN_ENHANCED_CS, LIN_MASTER_RESPONSE, 3u, T_Lin_Data} }; そして、pit_dataは私が自分でデバッグする変数です。 デモルーチンを探す場合は、次のパスが存在するかどうかを確認してください。XXX:\NXP\SW32K3_RTD_4.4_2.0.2\eclipse\plugins\Lin_TS_T40D34M20I2R0\examples\EBT\Lin_MasterFrameTransfer_S32K312\   Re: S32K: Assistance Required with LIN Timeout Management Configuration 「pit_data」と「T_Lin_Frame」パラメータはどこで定義されているか教えていただけますか?私のプロジェクトではこれらの変数が見つかりませんでしたし、「Switch_TimeOut」関数がどこにリンクされているのかもわかりません。それらの機能について教えてください。ありがとう。 Re: S32K: Assistance Required with LIN Timeout Management Configuration こんにちは@dongxunさん これは既知の問題であり、RTD 5.0.0以降で修正されています。 ご迷惑をおかけして申し訳ありません。 よろしくお願いいたします。 ダニエル Re: S32K: Assistance Required with LIN Timeout Management Configuration こんにちは、 このメッセージがあなたに届く頃には、お元気でいらっしゃることを願っています。LINタイムアウト**マネジメント**設定で発生した問題の根本原因を特定できたと考えています。 EB_Treos28の設定では、LInResponseTimeoutは14に設定されています。この値はビット伝送時間の 1.4 倍を表し、具体的には(14/10)∗ビット時間( 14/10 ) ∗ビット時間として計算されます。ボーレートが 19200 bps の場合、この構成を生成するのに必要な時間 は 1.4 ∗ 52.08 μs = 73 μs と 計算 されます。 関連する設定コードの一部を以下に示します。 #ifdef LPUART_LIN_IP_START_TIMER_NOTIFICATION 2292U, /*!< HeaderTimeoutValue in microseconds */ 73U, /*!< ResponseTimeoutValue in microseconds for 1 byte */ #endif 関数 Lpuart_Lin_Ip_MasterRxPidByteProcess(const uint8 Instance, const uint8 Data) において、以下のロジックに気づきました。 else if (LinCurrentState->RxSize > 0u) { #if (LPUART_LIN_IP_FRAME_TIMEOUT_DISABLE == STD_OFF) #ifdef LPUART_LIN_IP_START_TIMER_NOTIFICATION LinCurrentState->TimerCounting = TRUE; /* Call notification to start timer for Lpuart instance and configure timeout value. The Master node will receive Response frame */ LPUART_LIN_IP_START_TIMER_NOTIFICATION(Instance, UserConfig->ResponseTimeoutValue * (uint32)(LinCurrentState->RxSize)); #endif #endif /* (LPUART_LIN_IP_FRAME_TIMEOUT_DISABLE == STD_OFF) */ LinCurrentState->CurrentNodeState = LPUART_LIN_IP_NODE_STATE_RECV_DATA; } タイマーは初期設定で 73 μs∗9 バイト=657 μs 73 μs ∗ 9 バイト = 657 μs です 。この後、LINドライバの状態はLPUART_LIN_IP_NODE_STATE_RECV_DATAに遷移し、スレーブからのデータ応答を待ちます。しかし、当初私は9バイトの応答時間として657μ秒を考慮してタイマーを設定しましたが、これは明らかに間違っています。実際のタイムアウトマネジメントは73 μs∗9 bytes∗8 bits=5256 μs73μs∗9bytes∗8bits=5256μsとなります。 この問題を解決するために、LPUART_LIN_IP_START_TIMER_NOTIFICATION コールバック関数を以下のように変更することを提案します。   void LinLpuartStart(uint8 Instance, uint32 MicroSeconds) { (void)Instance; (void)MicroSeconds; uint32 count_down = 0U; count_down = MicroSeconds * 40U * 8U; pit_data.swtich_notificatio_cnt +=1; /* The Start notification shall be called many times which depends on the times of sending frames */ Pit_Ip_StartChannel(0, 0, count_down); } BR、 ドンシュン
記事全体を表示
S32K: Assistance Required with LIN Timeout Management Configuration Hi,  I hope this message finds you well. I am currently facing an issue while configuring LIN timeout management using EBTreos. I have referred to the routine in Lin_MasterFrameTransfer_S32K312 as well as the RTD_LIN_UM.pdf document found in Lin_TS_T40D34M20I2R0. In my setup, the MCU is acting as the host, and I am sending headers to receive simulated messages in CANOE. Here are the specific issues I have encountered: When I enable Lin Frame Timeout Disable: I do not perform any response timeout management, and I can receive data normally. When I do not enable Lin Frame Timeout Disable: I manually add the callback functions LinLpuartStart and LinLpuartStop, and I also configure the GPT module's timer callback function Switch_TimeOut to manage timeout events.  However, in this scenario, the slave does not send any data. The oscilloscope shows that only the master sends a header. I suspect that the issue may be related to timing. I have configured the timer to a 40MHz clock and set the CountValue in Pit_Ip_StartChannel to 40MHz, which means the timing period is 1 second. Under this configuration, testing proceeds normally. However, when I try to set the timer to microsecond-level timing, it does not work as expected. Here is a snippet of my code for reference:  void LinLpuartStart(uint8 Instance, uint32 MicroSeconds) { (void)Instance; (void)MicroSeconds; uint32 count_down = 0U; count_down = MicroSeconds * 40U; Pit_Ip_StartChannel(0, 0, count_down); } uint32 stop_cnt = 0U; void LinLpuartStop(uint8 Instance) { (void)Instance; stop_cnt+=1; Pit_Ip_StopChannel(0, 0); } uint32 test_lin_out = 0U; /* This function called when timout event happens. */ void Switch_TimeOut(void) { Lin_PduType linFrame = T_Lin_Frame[0U]; /* Deal with timout event */ test_lin_out+=1; Lpuart_Lin_Ip_TimerExpiredService(0); /* Send the Lin_Header Again */ Lin_SendFrame(0U, &linFrame); } I would greatly appreciate any guidance or suggestions on how to resolve this issue, particularly regarding the proper configuration of the timer settings to ensure that the slave responds correctly. Thank you for your time and assistance! BR, Dongxun Re: S32K: Assistance Required with LIN Timeout Management Configuration OK, thank you. Could you please tell me where you obtained the formula with a result of 73us? Also, what do the various parameters in this formula represent? Re: S32K: Assistance Required with LIN Timeout Management Configuration hi, Aoyng,   T_Lin_Frame is defined in a demo file, the complete definition is:   uint8 T_Lin_Data[3] = {0x01, 0x02, 0x03}; const Lin_PduType T_Lin_Frame[T_LIN_TEST_FRM_NUM] = { {0x1A, LIN_ENHANCED_CS, LIN_MASTER_RESPONSE, 3u, T_Lin_Data} }; And the pit_data  is a variable that I debug myself.  If you want to find the demo routine, please refer to whether you have this path XXX:\NXP\SW32K3_RTD_4.4_2.0.2\eclipse\plugins\Lin_TS_T40D34M20I2R0\examples\EBT\Lin_MasterFrameTransfer_S32K312\   Re: S32K: Assistance Required with LIN Timeout Management Configuration Could you please tell me where the "pit_data" and "T_Lin_Frame" parameters are defined? I haven't found these variables in my project, and I'm also not sure where the "Switch_TimeOut" function is linked. Please let me know what their functions are. Thank you. Re: S32K: Assistance Required with LIN Timeout Management Configuration Hello @dongxun, This is a known issue that has been fixed since RTD 5.0.0. I'm sorry for the inconvenience caused by it. Best regards, Daniel Re: S32K: Assistance Required with LIN Timeout Management Configuration Hi,  I hope this message finds you well. I believe I have identified the root cause of the issue I encountered with the LIN timeout management configuration. In the EB_Treos28 configuration, the LInResponseTimeout is set to 14. This value represents 1.4 times the bit transmission time, specifically calculated as (14/10)∗bit time(14/10)∗bit time. With a baud rate of 19200 bps, the corresponding time for generating this configuration is calculated as 1.4∗52.08 μs=73 μs1.4∗52.08μs=73μs. Here is an excerpt of the relevant configuration code: #ifdef LPUART_LIN_IP_START_TIMER_NOTIFICATION 2292U, /*!< HeaderTimeoutValue in microseconds */ 73U, /*!< ResponseTimeoutValue in microseconds for 1 byte */ #endif In the function Lpuart_Lin_Ip_MasterRxPidByteProcess(const uint8 Instance, const uint8 Data), I noticed the following logic: else if (LinCurrentState->RxSize > 0u) { #if (LPUART_LIN_IP_FRAME_TIMEOUT_DISABLE == STD_OFF) #ifdef LPUART_LIN_IP_START_TIMER_NOTIFICATION LinCurrentState->TimerCounting = TRUE; /* Call notification to start timer for Lpuart instance and configure timeout value. The Master node will receive Response frame */ LPUART_LIN_IP_START_TIMER_NOTIFICATION(Instance, UserConfig->ResponseTimeoutValue * (uint32)(LinCurrentState->RxSize)); #endif #endif /* (LPUART_LIN_IP_FRAME_TIMEOUT_DISABLE == STD_OFF) */ LinCurrentState->CurrentNodeState = LPUART_LIN_IP_NODE_STATE_RECV_DATA; } The timer is initially set for 73 μs∗9 bytes=657 μs73μs∗9bytes=657μs. After this point, the LIN driver state transitions to LPUART_LIN_IP_NODE_STATE_RECV_DATA, where it waits for the slave's data response. However, I originally set the timer to account for 657 , \mu s for the response time of the 9 bytes, which is clearly incorrect. The actual timeout management should be 73 μs∗9 bytes∗8 bits=5256 μs73μs∗9bytes∗8bits=5256μs. To address this, I propose modifying the LPUART_LIN_IP_START_TIMER_NOTIFICATION callback function as follows:   void LinLpuartStart(uint8 Instance, uint32 MicroSeconds) { (void)Instance; (void)MicroSeconds; uint32 count_down = 0U; count_down = MicroSeconds * 40U * 8U; pit_data.swtich_notificatio_cnt +=1; /* The Start notification shall be called many times which depends on the times of sending frames */ Pit_Ip_StartChannel(0, 0, count_down); } BR, dongxun
記事全体を表示
Code Warrior JTAG IDE接続診断の問題 チームの皆さん、こんにちは。 私たちはNXP LX2160Aチップセットをベースにしたカスタムボードを使用しており、現在JTAGフラッシュ書き込み用のCodeWarrior IDE環境のセットアップを試みています。 当社基板に使用されているフラッシュメモリデバイスはMT25QU512ABBです。IDE環境の設定と必要なファイルの追加が完了した後、Flash Programmerを開きました。 接続プロセス中に、「接続診断」の後、Flash Programmer は正常に開きますが、「ターゲット初期化スクリプトの実行」のステップで問題が発生します。発生したエラーはスクリーンショットに添付されています。 ディップ・スイッチをハードコードRCWモードに設定すると、以下のエラーが発生します。 「アドレス…のメモリへの書き込みに失敗しました」 以下の事項は既に確認済みです。 * ハードウェア接続 * JTAGコネクティビティは正常です * 関連する信号を調べたところ、正常であることが確認された。 根本原因の特定と問題の早期解決にご協力をお願いいたします。追加のログファイルや設定ファイルが必要な場合はお知らせください。 よろしくお願いいたします。 スウェタ・K After clicking "Flash programmer" icon, CodeWarrRe: Code warrior Jtag IDE connection diagnosis issue 1. まず、LX2160_RDB(1)をダブルクリックして「ターゲット初期化ファイル」パネルを開き、以下の変更を行ってください。 USE_SAFE_RCW = True 2. 「Flash programmer」アイコンをクリックすると、WindowsタスクバーにCodeWarrior Connection Server(CCS)が表示されます。これをダブルクリックしてCCSコンソールを開き、コンソールに「log v」と入力してから、もう一度「Flash programmer」アイコンをクリックすると、低レベルのCCSログがコンソールに表示されます。このログを取得して私に送ってください。 Re: Code warrior Jtag IDE connection diagnosis issue 添付のスクリーンショットをご覧ください。 Re: Code warrior Jtag IDE connection diagnosis issue こんにちは 問題は解決しました。原因はハードウェアの接続不良でしたが、現在は修正済みです。エラーは発生しなくなりました。サポートありがとうございます
記事全体を表示
S32K116 CAN 时钟公差 S32K116 运动时钟的数据表公差为 48M +/- 1% 。但我们的一位客户要求 CAN 时钟的公差为 0.5% 。 我看到过类似的讨论,建议使用外部振荡器: https://community.nxp.com/t5/S32K/CAN-FD-clocked-by-FIRC/m-p/879378#M4033 不过,我们倾向于不使用外部振荡器。我想知道 -- 是否有任何校准或微调方法,我们可以应用其中一个内部时钟,并最终在 CAN 上实现 0.5% 公差? -- 是否有任何 S32K116 变体具有更好的/定制的出厂微调,并实现 0.5% 公差? Re: S32K116 CAN Clock Tolerance 您好, 在 S32K116 上,仅使用内部振荡器无法保证CAN 时钟精度为 ±0.5% 。内部 FIRC 在电压和温度范围内的指定值为 ±1% ,没有运行时间校准或出厂微调变量来改善这一性能。为了可靠、合规地满足 ±0.5% 的要求,需要通过 SOSC 使用外部振荡器或晶体作为 CAN PE 时钟。   BR, Petr
記事全体を表示
Unable to recover the IMX95 verdin 19x19 board Hello Team,   We purchased the i.MX95 V1.3A boards in October 2025, and they have been functioning correctly across multiple assignments and use cases since then. However, starting yesterday, we have encountered an issue with one of the boards. The board is currently not booting with any of the images we flash. Specifically: No boot logs are observed on the serial console. The issue persists across multiple images. The board is still detected on the host machine when using the UUU tool. Flashing appears to complete, but there is no visible output or system bring-up post flashing. We have already performed initial troubleshooting steps, including testing with different assignments and configurations, but the issue remains unresolved. For your reference, we have attached the purchase invoice. We request your support in diagnosing and resolving this issue at the earliest. Please let us know if any additional logs, debug steps, or hardware checks are required from our side. Thank you for your assistance.   Below are steps we tried: admin:~/mfgtools/build$ sudo uuu -lsusb uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-5-g124d086   Connected Known USB Devices   Path   Chip   Pro   Vid   Pid   BcdVersion   Serial_no   ====================================================================   3:3   MX95   SDPS:   0x1FC9  0x015D   0x0001   DA76A714E8984460     admin:~/imx-build/bld-xwayland/tmp/deploy/images/imx95-19x19-verdin$ sudo uuu -b spl imx-boot uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-5-g124d086   Success 1    Failure 0              3:3-DA76A714 4/ 4 [Done                                  ] SDPV: done                           So we kindly request you to help on this as we are working on some critical delivery. Re: Unable to recover the IMX95 verdin 19x19 board Thank you for the quick response. Our setup is actually based on the i.MX95 Verdin 19x19 module, version 1.3A.  After emmc failed we thought of trying the tezi image to recover the board. For additional information, we also tried flashing the TEZI images with versions 7.7, 7.4, 7.5, and 7.6 from the below link: https://developer.toradex.com/easy-installer/toradex-easy-installer/download-tezi/#version-7 . We downloaded the tar files under the Verdin iMX95 section and attempted the flashing process. However, in all cases, we ended up facing the following issue: HID(W): LIBUSB_ERROR_NO_DEVICE (-4). Iam attaching the Screenshots of the result below. For the flashing setup: We configured the board USB connection in USB Type-C OTG mode. The DIP switch configuration was set to 1001 for eMMC loading. Could you please provide: The correct TEZI image version recommended for our board: Verdin iMX95 19X19 V1.3A The correct DIP switch configuration for flashing. Looking forward to your response.   Re: Unable to recover the IMX95 verdin 19x19 board Hi @Harsha13, Thank you for contacting NXP Support! Could you please confirm the following details so we can better assist you? Which exact commands are you using during the flashing process? Which BSP version are you trying to flash? After flashing, did you change the boot switches to boot from the programmed device? Which silicon revision are you using: A1 or B0? Please note that A1 silicon revisions are not compatible with the latest BSP versions, while B0 silicon is required for these releases. Once we have this information, we will be able to guide you more accurately. Best regards, Chavira Re: Unable to recover the IMX95 verdin 19x19 board Hi, Thank you for the quick response. Currently, the board appears to be bricked due to some development activity, and we are trying to recover it. As of now, we are only able to access the eMMC flashing mode. Could you please suggest: Any BSP version that can be flashed on the i.MX95 to recover the board successfully Any recovery method or procedure that might help bring the board back to a working state Any known steps or configurations that could help the board boot properly again We are also in parallel contact with Toradex regarding this issue. From your side, if you have any suggestions, recovery procedures, or debugging methods, it would be very helpful for us in resolving this issue. Looking forward to your guidance and support. Re: Unable to recover the IMX95 verdin 19x19 board Hi @Harsha13, A similar behavior can be observed on EVK boards when attempting to flash the latest BSP versions on older silicon revisions. At this point, I am not certain what might be causing the issue on your board. Since the software you are using is not provided by NXP, I recommend reaching out to Toradex support for more detailed assistance specific to your platform. They should be able to provide guidance tailored to your board configuration and software stack. Best regards, Chavira Re: Unable to recover the IMX95 verdin 19x19 board Hi @Harsha13, Please contact Toradex support for further assistance with this issue, as they will be able to provide more detailed support specific to your platform. Best regards, Chavira
記事全体を表示
为 S32K116 申请定制 RBF 文件,UART0 位于 PTA2/PTA3 上 亲爱的恩智浦支持团队 我使用的是 FS32K116LAT0MFMT MCU 并需要一个具有以下配置的定制 RAppID 引导加载器 (RBF) 文件: -芯片:S32K116(33 针封装) -UART 接口:UART0-UART 引脚: -RX:PTA2(ALT2 功能) -TX:PTA3(ALT2 功能) -UART 波特率:4800 bps(默认) -CAN 接口:不需要 我需要这个 RBF 文件与恩智浦基于模型的设计工具箱 (MBDT) 配合使用,以生成 Simulink 代码并进行一键下载。 非常感谢您的帮助!
記事全体を表示
Questions on DH Key Support in HSE-B Hello NXP Community Team,   I have a couple of quick questions regarding DH key support in HSE-B: Does HSE-B support Diffie-Hellman (DH) keys? If yes, then why does the call HseResponse = App_GetHseAttrCapabilities(MU0_INSTANCE_U8, &Hse_AttrCapabilities); return a zero value for the HSE_CAP_IDX_CLASSIC_DH (25th bit) in Hse_AttrCapabilities After adding the following key group to the NVM catalog: {(HSE_MU0_MASK), HSE_KEY_OWNER_CUST, HSE_KEY_TYPE_DH_PAIR, 2U, 1024U, {0U, 0U}}, the call to formatKeyCatalog returns HSE_SRV_RSP_NOT_ALLOWED. Could you clarify why this happens? How can i generate the DH key pair, which later use for generate DH-shared-secret computation. Thank you for your guidance. Best regards, Rushikesh Re: Questions on DH Key Support in HSE-B Hi @KaleRushikesh  This feature was available in earlier versions of HSE firmware but it was removed due to limited size of flash for HSE firmware. You can check release notes file of the firmware. I can see that it was removed from version 0.2.40.0 and higher: If you need this feature, there’s an option to request premium customized version of HSE firmware. Please contact local sales person for details. Regards, Lukas
記事全体を表示
TJA1028のスリープモードではVCCが遮断されない こんにちは、 Raspberry Pi 5のGPIOを使用してTJA1028モードをテストしています。モードを切り替えるために、ENピンとTXDピンのみを制御します。通常モードからスリープモードに移行すると、RSTNは低くなりますが、VCC(3.3V)出力は遮断されず、2.76Vまで低下します。まずTXDピンをローに設定し、次にENピンをローにプルダウンします。これは電圧レギュレータをスリープ状態にするための正しい方法でしょうか? Re: TJA1028 Sleep Mode Doesnt Shutoff VCC VCCはOFFになっているはずです。念のため、VCCのリアステージ回路を再度確認するか、切り離していただけますでしょうか?
記事全体を表示