Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
Needed Step by step guidance to integrate Wi-Fi using IW612 module I am currently working on a project that involves integrating WiFi module using the IW612 module with an STM32 micro-controller and I would appreciate your guidance on the integration process .  Could you please provide any documentation or resources that detail the following : 1. Recommended software libraries or SDKs for the STM32. 2. Example code for establishing a WiFi connection.  3. Any specific configuration settings. Re: Needed Step by step guidance to integrate Wi-Fi using IW612 module Hi, @komal21  Thanks for your feedback. Then would you mind me closing this case by mark my answer as accepted solution? Best regards, Christine. Re: Needed Step by step guidance to integrate Wi-Fi using IW612 module Thank you for your valuable guidance. Re: Needed Step by step guidance to integrate Wi-Fi using IW612 module Hi, @komal21  Thanks for your reply. I am very sorry for the inconvenience, we do not have the special driver for STM32 MCU. The only way is porting by yourself by referring our I.MX RT platforms running RTOS: Getting Started with NXP-based Wireless Modules on i.MX RT Platforms Running RTOS - User manual Or you can think about our RW612 which has integrated MCU and also it can support Wi-Fi6, BLE and Thread. Best regards, Christine. Re: Needed Step by step guidance to integrate Wi-Fi using IW612 module can we interface this IW612 with STM32 it is possible? NXP provide any driver so using of that we can Interface STM32 MCU with IW612? Re: Needed Step by step guidance to integrate Wi-Fi using IW612 module Hi, @komal21  Anything else I can for you on this case? Best regards, Christine. Re: Needed Step by step guidance to integrate Wi-Fi using IW612 module Hi, @komal21  Anything else I can for you on this case? Best regards, Christine. Re: Needed Step by step guidance to integrate Wi-Fi using IW612 module Hi, @komal21  Thanks for creating case to us. We do not have special guidance for STM32 because it is not our NXP own MCU. But for your reference, this user manual should be helpful for you: Getting Started with NXP-based Wireless Modules on i.MX RT Platforms Running RTOS - User manual And to configure Wi-Fi/Bluetooth features like establishing connections and configurations based on MCU platform, you can refer to this user manual: NXP Wi-Fi and Bluetooth Debug Feature Configuration Guide for i.MX RT Platforms - User manual Best regards, Christine.
View full article
MemManage and HardFault come up when debugging, so it doesn't work Hello. I'm currently using the s32k324 board. I'm running a simple example code, but I get the following two errors while debugging MemManage: The processor attempted an instruction fetch from a location that does not permit execution. HardFault: A fault has been escalated to a hard fault. Can you tell me the solution? Thank you. Re: MemManage and HardFault come up when debugging, so it doesn't work Thank you! Thanks to you, I solved it Re: MemManage and HardFault come up when debugging, so it doesn't work Hi @bohee2, In system.c of the RTD version, the MPU region 2 is not configured on S32K324. As you can see above, S32K324 macro is missing. Solution is to add S32K324 there so that RASR[2] is configured  rasr[2]=0x070B0027UL; Regards, Daniel Re: MemManage and HardFault come up when debugging, so it doesn't work Thank you for your answer. RTD is using 3.0.0 version. I will attach the picture. Is this an error caused by the RTD version? I am asking because such an error does not occur when it is 5.0.0. Thank you Re: MemManage and HardFault come up when debugging, so it doesn't work Hi @bohee2, Which revision of the RTD do you use? There have been some issues with the MPU configuration in system.c for some S32K3xx derivatives. In general, MemManage faults are caused by MPU access violation. You can disable the MPU in system.c Regards, Daniel
View full article
Where can I download source code for AN14178(MCXNx4x Flash Command Example)? Where can I download source code for AN14178(MCXNx4x Flash Command Example)? Are there any other examples of using FMU instead of flashiap to program internal flash? I cound not find any in the SDK.  MCXA MCXC MCXN Re: Where can I download source code for AN14178(MCXNx4x Flash Command Example)? Hello @Mateusz_K , Thanks for your post. You can download it by following these steps: 1. Open the NXP official website(Automotive, IoT & Industrial Solutions | NXP Semiconductors ) and log in to your account. 2. Click on the search button and enter "AN14178". 3. Click to download the ANSW file. Hope it can help you. BRs, Celeste -------------------------------------------------------------------------------------------------------------------- Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you! --------------------------------------------------------------------------------------------------------------------
View full article
CD1030 ESD(Contact Discharge) 8kV condition? CD1030  Hi NXP community, may I ask the contact discharge spec about CD1030. I notice that, WAKE_B contact discharge at 8kV level, a series 10k Ohms resistor is needed. Shown below. I would like to know,  whether the 10K Ohms resistor is the pull-up 10k Ohms resistor to VDDQ(Case 1 shown below), or an another series resistor(Case 2 shown below) for ESD test?  Case 1: Case 2: Thanks! Re: CD1030 ESD(Contact Discharge) 8kV condition? Hi Ellen, I think case one Vbatp is a global signal. Maybe Vbatp originated out of the PCB. It would need the series resistor for ESD protection. In this case the resistor is used for both pull up and ESD protection. WAKE_B as a global pin, 10k series resistor is needed. WAKE_B as a local pin, no 10k series resistor is needed. BRs, Tomas
View full article
S32K344 SPI data wrong Hello NXP Team. I tried configuring SPI, CPOL = 1 ,CPHA = 1. The waveform is correct when i use 100K baudreate, But when i use 1M baudrate, the waveform will be wrong. Usually, data error will occur after the data pin maintains a high voitage for a long time. Baudrate 100k Baudrate 1M The following is my project Thank you Re: S32K344 SPI data wrong I currently solved the problem, I cleared the RxBuffer 回复: S32K344 SPI data wrong Thank you for informing us that you've identified the issue. If you have any further questions or encounter any other unresolved issues, please feel free to reach out. - RomanVR. 回复: S32K344 SPI data wrong Hello @RomanVR ,after a few days of testing, i found that it seems to be a problem with the C code of main.c 回复: S32K344 SPI data wrong Hello @RomanVR  ,thank for ur reply I don't know how to connect MOSI to MISO to verify the data, is there any instructions? And I'm running on this board. btw, I used the example on this webpage(used LSPI2, without dma), deleted the configuration, used 1M baudrate, and tested it. The waveform was correct. Example S32K344 SPI Transmit & Receive Using DMA DS3.5 RTD500 - NXP Community The following is an example of my modification. I compared the SPI and PORT settings and they are consistent. I don't know what went wrong with the project I created. Re: S32K344 SPI data wrong Hello @IanHsueh. I tested your project on my side without any modifications, connecting the MOSI to the MISO to verify if the data was transmitted correctly despite the analyzer's information. I successfully received in the buffer the correct data. Could you please do perform the same test? This will help us rule out any potential issues with the logic analyzer, as we have encountered problems with them when observing a data frame. Also, let me know if the tests were done in a custom board or in one of our evaluation boards. I will be waiting for your answer. - RomanVR.
View full article
i.MX93 M33 固件 ELE(EdgeLock Enclave)API 支持 - 缺少 S3MU 驱动程序 我正在开发一个需要在 M33 固件中独立使用 ELE(EdgeLock Enclave)网络安全功能的项目。经过 SDK 分析,我发现 缺少文件: drivers/fsl_s3mu.c/.h-S3MU 驱动程序实现驱动程序/fsl_ele_base_api.c-ELE 基本 API 板/evkmimx9352/driver_examples/s3mu/-S3MU 示例 i.MX93 架构是否支持通过 S3MU 进行 M33 到 ELE 的直接通信? 是否有替代方法或技术文档? Re: i.MX93 M33 Firmware ELE (EdgeLock Enclave) API Support - Missing S3MU Driver 已在系统邮件中回复您。 此致 哈维 回复: i.MX93 M33 Firmware ELE (EdgeLock Enclave) API Support - Missing S3MU Driver 像 i.MX93 这样的 SoC 只有一个 Cortex-M33 内核,启用 ELE 功能是否会与定制 MCU 固件开发相冲突?换句话说,启用 ELE 后,是否会锁定 M33,从而阻止上传定制的 MCU 固件? Re: i.MX93 M33 Firmware ELE (EdgeLock Enclave) API Support - Missing S3MU Driver 谢谢您的答复。 我知道你们提供的补丁文件主要是针对 i.MX95 的 M7 内核,但我的问题主要是针对只有 M33 内核的 SoC,如 i.MX93。 是否可以在M33上开发我的自定义固件并在其上调用和使用与ELE相关的网络安全功能? 谢谢! Re: i.MX93 M33 Firmware ELE (EdgeLock Enclave) API Support - Missing S3MU Driver 向您发送了带有演示的系统邮件,请在邮件中查看。 此致 哈维 Re: i.MX93 M33 Firmware ELE (EdgeLock Enclave) API Support - Missing S3MU Driver 这个例子似乎是在解释 TrustZone 的用例,但我更感兴趣的是在 i.MX93 的 M33 内核上进行开发。我想在此固件上进行开发并使用与 ELE 相关的网络安全功能。这可行吗? 谢谢。 Re: i.MX93 M33 Firmware ELE (EdgeLock Enclave) API Support - Missing S3MU Driver 希望这些例子能有所帮助。 此致 哈维
View full article
トリガーパルスの遅延が予想よりも長い - SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCYが不正確な原因となっている NXPチームの皆様、こんにちは。 私は Cortex-M33 コア (例: i.MX93 mcimx9352) をベースにした NXP MCU を使用していますが、次の場合に次のことに気付きました。 SDK_DelayAtLeastUs( 10 、 SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY); 10 µs のトリガー パルスを生成する場合、オシロスコープで測定される実際のパルス幅は約16 µsになります。 デフォルトの SDK 定義を使用しています: # SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY (250000000UL)を定義します データシートによると、これは M33 コアでサポートされる最大クロック周波数です。 SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY は実行時の実際のコア周波数と一致するはずですか、それとも最大値安全なデフォルトですか? マクロに頼るのではなく、実際のコア クロックを動的に照会して SDK_DelayAtLeastUs() に渡す推奨方法はありますか? 説明やベストプラクティスがあれば教えていただけると幸いです。前もって感謝します! よろしくお願いします マンジュナスB i.MX93制御およびタイミングリレー クロック|タイマー Re: Trigger pulse delay longer than expected — is SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY causing ina こんにちは、 SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY は実際の周波数ではなく、最大値です。 CLOCK_GetFreq を使用して実際の周波数を取得し、この値をSDK_DelayAtLeastUs に渡すCAN。 よろしくお願いします、 志明
View full article
PN7642 OM27642EVK SDK Keil uVision PN7642 Arm Cortex M-33 コア用の SDK を構築するためのソフトウェアを探しています。 OM27642EVK 開発キットを持っており、Keil uVision に接続したいと考えています。 デバッガー: ULink Pro Re: PN7642 OM27642EVK SDK Keil uVision こんにちは、ダニエル。   リンクをありがとうございます。SDK をビルドしてダウンロードすることができました。スタンドアロンの例もダウンロードできました。 現在不足しているのはPN7642のソフトウェアパックです     ダウンロードしてインストールしようとしましたが、サイトにアクセスCANません: 403 禁止 https://mcuxpresso.nxp.com/cmsis_pack/repo/   パックを提供していただくか、ダウンロードする権利を付与していただけますか?   ご支援ありがとうございます。 ラドスラフ Re: PN7642 OM27642EVK SDK Keil uVision こんにちは@RadoslawTomasik 、こんにちは! 弊社製品にご興味をお持ちいただきありがとうございます。 Keil 用の PN7642 SDK は、 SDK Builder | MCUXpresso SDK Builder (「Toolchain/IDEs」フィールドで「Keil MDK」を選択) からダウンロードできますが、これはかなり古いため、 MCUXpresso IDEs用の SDK v02.15.003 を使用して開発することをお勧めします。 よろしくお願いいたします。 ダニエル
View full article
S32G2 Linux BSP44 启动问题 当我的设备无法从 Linux BSP44 启动时,如何解释下面的 BL31 错误日志: 注意:RESET状态:上电复位 注意:BL2:v2.10.14(版本):bsp44.0_rc11-2.10.14 注意:BL2:建成:2025 年 5 月 13 日 08:13:32 注意:BL2:正在启动 BL31 = 0x0000000000ff624180 x0 = 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61bfff x6 = 0x0000000000342f8000 x7 = 0x00000000000000d x8 = 0x000000000000000 0 x9 = 0x0000000034301fff x10 = 0x0000000034 2f8000 x11 = 0x000000000000a000 x12 = 0x0000000000f6316b0 x13 = 0x0000000000f6316060 x14 = 0x00000000ff615a90 x15 = 0 x0000000000000034 x16 = 0x0000000000000000 x 17 = 0x0000000000000000 x 18 = 0x0000000000342f8000 x 19 = 0x0000000000ff624158 x 20 = 0x0000000000ff624180 x21 = 0x000000000000000 x 21 = 0x000000000000000000 x24 = 0x0000000000000000 x24 = 0x0000000000000000 x24 = 0x00000000000000 x24 = 0x00000000000000 x25 = 0x0000000000000000 x26 = 0x0000000000000000 x27 = 0x0000000000000000 x28 = 0x0000000000000000 x29 = 0x0000000000ff624130 scr_el3 = 0x00000000000000238 sctlr_el3 = 0x000000000000000000 cd183a cptr_el3 = 0x00000000000000400 tcr_el3 = 0x00000000000000400 00008081351c daif = 0x00000000000003c0 mair_el3 = 0x0000000000004404ff spsr_el3 = 0x000000000020002cc elr_el3 = 0x0000000000ff624180 ttbr0_el3 = 0x000000000034322e00 esr_el3 = 0x00000000000000 spsr_el3 = 0x0000000000000000 spsr_el3 = 0x00000000000000 spsr_el3 = 0x00000000000000 spr_el3 = 0x0000000000000000 spsr_el3 = 0x00000000000000 el1 = 0x0000000000000000 elr_el1 = 0x0000000000000000 spsr_abt = 0x0000000000000000 spsr_und = 0x0000000000000000 spsr_irq = 0x0000000000000000 sctlr_el1 = 0x0000000000000000 sct lr_el1 = 0x000000000000000000c50838 actlr_el1 = 0x0000000000000000 0000 cpacr_el1 = 0x0000000000 300000 cselr_el1 = 0x 00000000000000 sp_el1 = 0x0000000000000000 esr_el1 = 0x0000000000000000 ttbr0_el1 = 0x0000000000000000 ttbr1_el1 = 0x0000000000000000 mair_el1 = 0x0000000000000000 mair_el1 = 0x0000000000000000 tcr_el1 = 0x44e048e00000098a4 amair_el1 = 0x0000000000000000 tcr_el1 = 0x0000000000 0000 tpidr_el1 = 0x0000000000000000 tpidr_el0 = 0x0000000000000000 tpidr ro_el0 = 0x0000000000000000 p ar_el1 = 0x0000000000000000 mpidr_el1 = 0x000000000000000 afsr1_el1 = 0x0000000000000000 contextidr_el1 = 0x0000000000000000 afsr1_el1 = 0x0000000000000000 contextidr_el1 = 0x0000000000000000 00000000 vbar_el1 = 0x0000000000000000 cntp_ctl_el0 = 0x0000000000000000 cntp_cval_el0 = 0x0000000000000000 cntv_ctl_el0 = 0x00000000000000 cntkctl_el1 = 0x00000000000000 sp_el0 = 0x00000000000000 cntp_el0 = 0x0000000000000000 s p_el0 = 0x00000000000000 00000000ff624080 isr_el1 = 0x 00000000000000 dacr32_el2 = 0x0000000000000000 ifsr32_el2 = 0x0000000000000000 cpuectlr_el1 = 0x0000000000000040 cpumerrsr_el1 = 0x0000000000000000 l2merrsr_el1 = 0x00000000000000000000 l2merrsr_el1 = 0x00000000000000102c2020 cpuactlr_el1 = 0x000000000090ca000 Re: S32G2 Linux BSP44 Boot Issue 你好 @jason, 该案例的副本已在 AP Software Support 上创建,开发团队将在这里提供支持: 复制:S32G2 Linux BSP44 启动问题——恩智浦社区 Re: S32G2 Linux BSP44 Boot Issue 你好,@jason 感谢您的回复。 1.我已在我的终端上进行了测试,在我的 EVB3 上似乎是正确的。 2。我注意到你提到这个问题是在你的板上发现的,所以同样的图像在你的另一块板上也能正常工作? 3.根据地图文件和你提供的日志,我手动构建了一个 TFA 并检查了它的地图,最初的想法是问题与 ddr 访问有关,我能知道其他电路板支持包图像能否在这个特定的板上正常工作吗? BR 切宁 Re: S32G2 Linux BSP44 Boot Issue 这就是我的设置细节: SoC:NXP S32G274A rev.2.1 CPU:ARM Cortex-A53 r0p4 @ 最大 1000 MHz 型号:恩智浦 S32G2XXX-EVB3 启动映像来自从官方网站下载的预建映像。 注意:BL2:v2.10.14(版本):bsp44.0_rc11-2.10.14 注意:BL2:版本:2025 年 5 月 13 日 08:13:32 注意:BL2:正在启动 bl31u-boot 2022.04+g9a00323278+p0(May 13 2025 - 06:57:56 +0000) 供你参考,这个镜像无法在我的 1 个 rev 2.1 设备上启动,并且有这个错误日志。错误日志中说明了哪些信息,我该如何进一步调试。 Re: S32G2 Linux BSP44 Boot Issue 嗨,杰森 谢谢您的帖子。 1。我能知道你在使用哪种参考板吗?是 RDB2、EVB 还是 EVB3? 2. 另外,无论是附上 Rev2.0 还是 2.1 SOC,你的板是什么版本? 3. 启动映像是来自从官方网站下载的预建镜像,还是从主机上的 Yocto 版本构建的? 谢谢。 BR 切宁
View full article
Bluetooth Configuration (bt_vendor.conf) for the libbt in Android 11 Hi, Currently I'm working on imx8mp with android 11. We have our bluetooth module rtl8822bu ,which  we have connected it to the imx8mp based evk through the mini PCIe port which is internally connected to the USB. We are trying to bring up the bluetooth module and could see the bt_vendor.conf file under the directory path android_build/hardware/nxp/libbt/conf/nxp/evk_8mp, that is related to UART. bt_vendor.conf: mchar_port = /dev/ttymxc0 pFileName_helper = /vendor/firmware/mrvl/helper_uart_3000000.bin pFileName_image = /vendor/firmware/mrvl/uart8997_bt_v4.bin baudrate_dl_helper = 115200 baudrate_dl_image = 3000000 iSecondBaudrate = 0 baudrate_fw_init = 115200 baudrate_bt = 3000000 enable_download_fw=0 here we could see the configuration are related to the UART but not to the USB. What are the changes that has to be done in this bt_vendor.conf file, to bring-up  the bluetooth module? Please provide your inputs. Thanks. Android i.MX 8 Family | i.MX 8QuadMax (8QM) | 8QuadPlus i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: Bluetooth Configuration (bt_vendor.conf) for the libbt in Android 11 Hi @ducho7783  @Dhruvit  We're encountering the same issue with the QCA9377 WiFi/BT USB module. It works successfully on kernel version 5.4.70, but we're facing problems when using it with Android 11. Could you please share how you resolved this issue? Thanks and regards, Deepak Kumar Beniya Re: Bluetooth Configuration (bt_vendor.conf) for the libbt in Android 11 Hi @ducho7783, I hope you are doing well. Thanks for the clarification. But still, there is Vendor HAL integration is required in Android to make your chipset work. ->Please make sure to add the HAL libraries at the below-given location. ->Edit mek_8q.mk located at “ /device/fsl/ imx8q/mek_8q/”, and add the product package. ->I have shared the example based on the NXP reference, please select realtek HAL libraries and the package that is provided. For example purpose:- # WiFi NXP HAL libraries PRODUCT_PACKAGES += \  libbt-vendor \  lib_driver_cmd_nxp # Bluetooth HAL PRODUCT_PACKAGES += \  android.hardware.bluetooth@1. 0-impl \  wifilogd \  wificond Thanks & Regards, Dhruvit Vasavada Re: Bluetooth Configuration (bt_vendor.conf) for the libbt in Android 11 Hi @Dhruvit , Thanks for your response, So as I'm seeing this issue is occurred in android but same thing I did in Linux platform and It is working fine, I loaded same driver and same firmware, even I checked Bluetooth logs from Dmesg that is also same. See here (both android and linux logs), ///////////////////////////////////////Android logs /////////////////////////////////////////////////////////////////////////////// phyboard_pollux:/ # dmesg |grep Bluetooth [ 0.145549] Bluetooth: Core ver 2.22 [ 0.145576] Bluetooth: HCI device and connection manager initialized [ 0.145585] Bluetooth: HCI socket layer initialized [ 0.145592] Bluetooth: L2CAP socket layer initialized [ 0.145599] Bluetooth: SCO socket layer initialized [ 2.078613] Bluetooth: HCI UART driver ver 2.3 [ 2.083076] Bluetooth: HCI UART protocol H4 registered [ 2.088223] Bluetooth: HCI UART protocol BCSP registered [ 2.093577] Bluetooth: HCI UART protocol LL registered [ 2.098724] Bluetooth: HCI UART protocol ATH3K registered [ 2.104156] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 2.110670] Bluetooth: HCI UART protocol Broadcom registered [ 2.116360] Bluetooth: HCI UART protocol QCA registered [ 2.543073] Bluetooth: RFCOMM TTY layer initialized [ 2.547968] Bluetooth: RFCOMM socket layer initialized [ 2.553113] Bluetooth: RFCOMM ver 1.11 [ 2.556871] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 2.562189] Bluetooth: BNEP filters: protocol multicast [ 2.567441] Bluetooth: BNEP socket layer initialized [ 2.572420] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 2.578352] Bluetooth: HIDP socket layer initialized [ 5.287075] Bluetooth: hci0: command 0xfc18 tx timeout [ 7.582211] Bluetooth: hci1: RTL: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822 [ 7.596121] Bluetooth: hci1: RTL: rom_version status=0 version=2 [ 7.602203] Bluetooth: hci1: RTL: loading rtl_bt/rtl8822b_fw.bin [ 7.616147] Bluetooth: hci1: RTL: loading rtl_bt/rtl8822b_config.bin [ 7.626129] Bluetooth: hci1: RTL: cfg_sz 14, total sz 20270 [ 8.383877] Bluetooth: hci1: RTL: fw version 0xab6b705c [ 13.283103] Bluetooth: hci0: BCM: failed to write update baudrate (-110) [ 13.289865] Bluetooth: hci0: Failed to set baudrate [ 15.299101] Bluetooth: hci0: command 0x0c03 tx timeout [ 23.523087] Bluetooth: hci0: BCM: Reset failed (-110) //////////////////////////////////////////////////Linux logs /////////////////////////////////////////////////////////////////////////// root@phyboard-pollux-imx8mp-2:~# root@phyboard-pollux-imx8mp-2:~# root@phyboard-pollux-imx8mp-2:~# dmesg | grep Bluetooth [ 0.085671] Bluetooth: Core ver 2.22 [ 0.085701] Bluetooth: HCI device and connection manager initialized [ 0.085709] Bluetooth: HCI socket layer initialized [ 0.085718] Bluetooth: L2CAP socket layer initialized [ 0.085731] Bluetooth: SCO socket layer initialized [ 1.660212] Bluetooth: HCI UART driver ver 2.3 [ 1.664671] Bluetooth: HCI UART protocol H4 registered [ 1.669816] Bluetooth: HCI UART protocol BCSP registered [ 1.675165] Bluetooth: HCI UART protocol LL registered [ 1.680308] Bluetooth: HCI UART protocol ATH3K registered [ 1.685733] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 1.692124] Bluetooth: HCI UART protocol Broadcom registered [ 1.697814] Bluetooth: HCI UART protocol QCA registered [ 1.703047] Bluetooth: HCI UART protocol AG6XX registered [ 2.187207] Bluetooth: RFCOMM TTY layer initialized [ 2.192100] Bluetooth: RFCOMM socket layer initialized [ 2.197263] Bluetooth: RFCOMM ver 1.11 [ 2.201039] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 2.206356] Bluetooth: BNEP filters: protocol multicast [ 2.211590] Bluetooth: BNEP socket layer initialized [ 2.216561] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 2.222489] Bluetooth: HIDP socket layer initialized [ 4.393652] Bluetooth: hci1: RTL: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822 [ 4.403608] Bluetooth: hci1: RTL: rom_version status=0 version=2 [ 4.409633] Bluetooth: hci1: RTL: loading rtl_bt/rtl8822b_fw.bin [ 4.420974] Bluetooth: hci1: RTL: loading rtl_bt/rtl8822b_config.bin [ 4.428100] Bluetooth: hci1: RTL: cfg_sz 14, total sz 20270 [ 5.178236] Bluetooth: hci1: RTL: fw version 0xab6b705c [ 5.374577] Bluetooth: hci0: command 0xfc18 tx timeout [ 13.534838] Bluetooth: hci0: BCM: failed to write update baudrate (-110) [ 13.541560] Bluetooth: hci0: Failed to set baudrate [ 15.550852] Bluetooth: hci0: command 0x0c03 tx timeout [ 23.774857] Bluetooth: hci0: BCM: Reset failed (-110) Can you give some input here basis on this. Thanks . Re: Bluetooth Configuration (bt_vendor.conf) for the libbt in Android 11 Hi @ducho7783, I hope you are doing well. If one is not using NXP Wifi/Bt chipset for the same then one has to integrate that chip with the custom board and for that purpose Please Contact Realtek vendor. Because It is seen from the logs that the chipset is not getting bonded and that is the reason for its service getting shut down every time. Please contact the chipset vendor for the same. Thanks & Regards. Dhruvit Vasavada Re: Bluetooth Configuration (bt_vendor.conf) for the libbt in Android 11 Hi @Dhruvit , Thanks for your support. The board that we are using is phycore i.mx 8M plus and we don't have any wifi/bt modules integrated in that. We are using the separate BT/Wifi module(rtl8822bu) which from the vendor Realtek. And we tried the way that you have mentioned i.e. setenforce permissive for giving the permission. Still we stuck with the same issue. Please help in resolving the issue. Thanks. Re: Bluetooth Configuration (bt_vendor.conf) for the libbt in Android 11 Hi @ducho7783, I hope you are doing well. And we are using USB so why add hci_uart.ko? ->It is because the nxp chipset provides wifi and bt support, where wifi is accessible via sdio, PCIe & bt is accessible via uart and that is recommended & for that I recommended. From the logs, it is seen that the bt service tried to start but it received signal 6 and got dead. It may be an issue of permission. Please check with the below command to give all permission to let the service start and nothing can restrict them. setenforce permissive Then also check the permission status by giving the below command. getenforce Thanks & Regards. Dhruvit Vasavada Re: Bluetooth Configuration (bt_vendor.conf) for the libbt in Android 11 Hi @Dhruvit, Thanks for your response. Here we are working with btusb driver so we added btintel.ko and btusb.ko in Boardconfig.mk file BOARD_VENDOR_KERNEL_MODULES += \ $(KERNEL_OUT)/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko \ $(KERNEL_OUT)/drivers/net/wireless/broadcom/brcm80211/brcmutil/brcmutil.ko \ $(KERNEL_OUT)/drivers/bluetooth/btintel.ko\ $(KERNEL_OUT)/drivers/bluetooth/btusb.ko. And we are using USB so why to add hci_uart.ko ? we have also configured bt_vendor.conf file as below, which is in the path hardware/nxp/libbt/conf/nxp/evk_8mp/bt_vendor.conf. mchar_port = /dev/ttyUSB0 is_uart_port = 1 baudrate_bt = 115200 baudrate_fw_init = 3000000 bd_address = 00:0E:8E:BA:9C:C3  and we tried service call bluetooth_manager 6  but still we are getting the same issue, phyboard_pollux:/ # [ 130.613196] binder: release 381:381 transaction 102338 in, still active [ 130.618284] init: Untracked pid 2068 exited with status 0 [ 130.624843] binder: send failed reply for transaction 102338 to 2019:2063 [ 130.625756] init: Service 'vendor.bluetooth-1-0' (pid 381) received signal 6 [ 130.639905] init: Sending signal 9 to service 'vendor.bluetooth-1-0' (pid 381) process group... [ 130.649573] libprocessgroup: Successfully killed process cgroup uid 1002 pid 381 in 0ms [ 130.663488] init: Untracked pid 2070 exited with status 0 [ 130.671540] init: starting service 'vendor.bluetooth-1-0'... [ 132.170331] init: Untracked pid 2077 exited with status 0 [ 132.183551] init: Untracked pid 2080 exited with status 0 [ 132.189615] binder: undelivered death notification, b400fbe68b305430 [ 132.975210] init: Untracked pid 2138 exited with status 0 [ 132.982704] binder: release 2078:2082 transaction 117792 in, still active [ 132.989946] init: Service 'vendor.bluetooth-1-0' (pid 2078) received signal 6 [ 132.997356] binder: send failed reply for transaction 117792 to 2090:2133 [ 133.803851] binder: undelivered death notification, b400fbe68b304b40 [ 135.033733] binder: release 2203:2204 transaction 134781 in, still active [ 135.040654] binder: send failed reply for transaction 134781 to 2157:2199 [ 135.817674] init: Untracked pid 2218 exited with status 0 [ 135.829812] init: Untracked pid 2220 exited with status 0 [ 135.852323] binder: undelivered death notification, b400fbe68b305590 [ 137.110735] init: starting service 'vendor.bluetooth-1-0'... [ 137.119695] init: Control message: Processed ctl.interface_start for '[email protected]::IBluetoothHci/default' from pid: 242 (/system/bin/hwservicemanager) [ 137.135703] init: Control message: Processed ctl.interface_start for '[email protected]::IBluetoothHci/default' from pid: 242 (/system/bin/hwservicemanager) [ 137.229808] init: Untracked pid 2281 exited with status 0 [ 137.233920] binder: release 2275:2275 transaction 150957 in, still active [ 137.235522] init: Service 'vendor.bluetooth-1-0' (pid 2275) received signal 6 [ 137.249332] init: Sending signal 9 to service 'vendor.bluetooth-1-0' (pid 2275) process group... [ 137.250210] binder: send failed reply for transaction 150957 to 2229:2271 [ 137.258604] libprocessgroup: Successfully killed process cgroup uid 1002 pid 2275 in 0ms [ 137.276012] init: Untracked pid 2283 exited with status 0 [ 138.018302] binder: undelivered death notification, b400fbe68b30cff0 [ 139.744951] AidlLazyServiceRegistrar: Trying to shut down the service. No clients in use for any service in process. [ 139.756441] AidlLazyServiceRegistrar: Unregistered all clients and exiting [ 139.766204] printk: Binder:310_3: 221 output lines suppressed due to ratelimiting [ 140.235868] binder: release 2346:2348 transaction 151341 in, still active [ 140.242779] binder: send failed reply for transaction 151341 to 2300:2342 [ 140.982090] init: Untracked pid 2362 exited with status 0 [ 140.993324] init: Untracked pid 2364 exited with status 0 [ 141.006019] binder: undelivered death notification, b400fbe68b306560 [ 142.256253] init: starting service 'vendor.bluetooth-1-0'... [ 142.264741] init: Control message: Processed ctl.interface_start for '[email protected]::IBluetoothHci/default' from pid: 242 (/system/bin/hwservicemanager) [ 142.280467] init: Control message: Processed ctl.interface_start for '[email protected]::IBluetoothHci/default' from pid: 242 (/system/bin/hwservicemanager) [ 142.373321] init: Untracked pid 2424 exited with status 0 [ 142.380679] binder: release 2418:2418 transaction 151673 in, still active [ 142.380978] init: Service 'vendor.bluetooth-1-0' (pid 2418) received signal 6 [ 142.387502] binder: send failed reply for transaction 151673 to 2372:2414 [ 142.401996] init: Sending signal 9 to service 'vendor.bluetooth-1-0' (pid 2418) process group... [ 142.411619] libprocessgroup: Successfully killed process cgroup uid 1002 pid 2418 in 0ms [ 142.420565] init: updatable process 'vendor.bluetooth-1-0' exited 4 times in 4 minutes [ 143.146742] binder: undelivered death notification, b400fbe68b30a080 [ 147.267761] init: starting service 'vendor.bluetooth-1-0'... Please help us in resolving the issue. Thanks. Re: Bluetooth Configuration (bt_vendor.conf) for the libbt in Android 11 Hi @ducho7783, I hope you are doing well. ->Please check File: android_build/device/fsl/ imx8m/evk_8mq/BoardConfig.mk has below settings made. BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_OUT)/drivers/net/ wireless/marvell/mrvl8887/ muart_src/hci_uart.ko BOARD_HAVE_BLUETOOTH := true ->One can set an early init config file to load the Bluetooth driver on early boot insmod vendor/lib/modules/hci_uart.ko ->Please make sure the bt_vendor.conf file has a configuration like the below example. mchar_port = /dev/ttyUSB0 is_uart_port = 1 baudrate_bt = 115200 baudrate_fw_init = 3000000 bd_address = 12:34:56:78:9a:bc ->One can use the below command to enable Bluetooth adb shell service call bluetooth_manager 6 Thanks & Regards, Dhruvit Vasavada Re: Bluetooth Configuration (bt_vendor.conf) for the libbt in Android 11 Hi @Dhruvit, Thanks for your support. We tried configuration changes whatever you provided, but still we are not able to enable bluetooth. Is there any other way  that we can fix this issue,so please provide us. Thanks, Re: Bluetooth Configuration (bt_vendor.conf) for the libbt in Android 11 Hi @ducho7783, I hope you are doing well. AOSP includes the HCI UART as an embedded driver in the kernel. NXP provides a modified version of this code. To enable HCI UART driver one needs to include some changes in the code parameters. These parameters can include different compile options, like m or y, and need to be set as shown in the snippet below.    Note that the configuration parameter option CONFIG_USB_SERIAL_FTDI_SIO is only necessary if you are accessing the UART interface over FTDI.   File: android_build/vendor/nxp- opensource/kernel_imx/arch/ arm/configs/imx_v7_android_ defconfig CONFIG_BT_HCIUART=m CONFIG_USB_SERIAL=y CONFIG_USB_SERIAL_FTDI_SIO=y Please make sure to do these needful changes. Thanks & Regards. Dhruvit Vasavada
View full article
i.MX8MP 允许 HDMI 输出 1920x1080-59.94Hz 的频率 你好 我目前正在使用 i.MX8MP 处理器进行一个视频播放项目,但遇到了一个问题:我无法让 HDMI 以1920x1080-59.95Hz 的频率输出。我不需要动态刷新率切换 - 我只需要在固定刷新率下的稳定输出。 我正在使用的硬件平台基于 SolidRun 的 HummingBoard Pulse: https://developer.solid-run.com/knowledge-base/hummingboard-pulse-getting-started/ 我运行的是Yocto 4.0 Kirkstone,使用的是 NXP Embedded Linux 5.15.71-2.2.0。 我以前在 SolidRun 论坛上发过帖子,但没有成功解决这个问题。 我还发现了与此话题相关的类似讨论,例如: https://community.nxp.com/t5/i-MX-Processors/imx8mp-programming-hdmi-phy-pll-timings/td-p/1498162 如果有人在此平台上配置固定的 HDMI 输出时序方面有经验,或者可以向我推荐相关的设备树修改或驱动程序更改,我将不胜感激。 谢谢! i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 你好@RU_Callum imx8MP HDMI 像素时钟的时钟源是 IMX8MP_CLK_24M。 B.R Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz @pengyong_zhang 你好、 感谢您的帮助。作为实现这个时钟速率的最后一次尝试,你能否告诉我使用哪个特定的时钟作为创建 HDMI 输出的参考。 我们正在考虑在PCB设计中用慢0.1%的时钟参考来代替这个时钟,这将允许148.352MHz的输出 顺祝商祺! Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz hI@RU_Callum 很抱歉,i.MX8MP 不支持 148.352MHz。像素时钟输出。 B.R Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz @pengyong_zhang 你好、 感谢您的回复,有没有办法在 i.MX8MP 上强制使用 148.352MHz 像素时钟频率? 我之所以需要这种模式,是为了符合 NTSC(国家电视系统委员会)标准。 如能得到任何帮助,我们将不胜感激。 非常感谢! Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 你好@RU_Callum 我已经在我的 i.MX8MP evk 板上测试了大约 [email protected],我们不支持148.352MHz 像素时钟。而且我无法通过您的链接获取面板像素时钟。您需要查看数据表文件。我们可以支持 148.5MHz 的像素时钟。 B.R Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz @pengyong_zhang 你好、 我很感激你已经问了两次这个问题,我之所以回避这个问题,是因为它已经在几台不同的广播监测上进行了测试。 以下是我目前正在使用的监测的规格: 监测:https://lilliputdirect.com/A11 规格表: https://drive.google.com/file/d/1fhSdyPbVu6ukpm33yqDd64ruyZZABC1y/view 信号格式表: https://drive.google.com/file/d/1th2s5CekSFQxn5pyLvvqshyA9tPOu_ut/view 非常感谢。 Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz hI@RU_Callum 我已经问了你两次问题,你的面板像素时钟是多少? 请提供面板的数据表文件。 如果我们不支持您的面板像素时钟,您的面板将无法正常显示 B.R Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz @pengyong_zhang 你好、 我修改了 weston.ini 文件,但默认频率似乎仍然是 60Hz。 HDMI 输出正被馈入 HDMI 转 3G/HD-SDI 变流器:https://aivion.com/wp-content/uploads/DS_A_NA1012B_ET_V1.0.2.pdf 该变流器预计将通过 HDMI 连接向其提供以下时钟速率: HDMI/DVI TMDS 输入时钟要求为: 3G 模式: 148.5MHz 或 148.5 MHz/1.001 +/- 60ppm 高清模式: 74.25MHz 或 74.25MHz/1.001+/-80 ppm 我们已经测试了变流器,以及它何时接收 148.5/ 的时钟速率MHz/1.001 时,播放频率为 59.94Hz。这表明 i.MX8MP 并没有以这种速率输出,即使更改 weston.ini 也是如此。 有没有办法在 i.MX8MP 上强制使用这种时钟频率? 非常感谢 Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 你好@RU_Callum 更改 /etc/xdg/weston 位置的 westom.ini 文件、 在 [output] 部分中更改您想要的分辨率输出]部分。 顺便问一下:您的面板像素时钟是多少?共享面板的数据表文件。 B.R Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 你好@pengyong_zhang 这些补丁说明似乎解决了这个问题,但我一直无法对我的板进行任何更改来解决这个问题。希望对您有所帮助: https://lore.kernel.org/linux-arm-kernel/[email protected]/ 谢谢! Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 完整日志: root @imx8mpsolidrun:~# 模式测试 尝试打开设备 “i915”... 尝试打开设备 “amdgpu” 失败... 尝试打开设备 “radeon” 失败... 尝试打开设备 “nouveau” 失败... 尝试打开设备 “vmwgfx” 失败... 尝试打开设备 “omapdrm” 失败... 尝试打开设备 “exynos” 失败... 尝试打开设备 “exynos” 失败... 尝试打开设备 “exynos” 失败... 尝试打开设备 “exynos” 失败 ccd '... 尝试打开设备' msm '失败... 尝试打开设备' sti '失败... 尝试打开设备' tegra '失败... 尝试打开设备' tegra '失败... 尝试打开设备失败' imx-drm'... done 编码器: id crtc 类型可能的 crtc 可能的克隆 40 0 DSI 0x00000001 0x00000001 42 39 TMDS 0x00000004 0x00000002 连接器: id 编码器状态 名称 尺寸 (mm) 模式 编码器 41 0 断开 HDMI-A-1 0x0 0 40 props: 1 EDID: flags: immutable blob blobs: value: 2 DPMS: flags: enum enums:On=0 Standby=1 Suspend=2 Off=3 value: 0 5 link-status: flags: enum enums:Good=0 Bad=1 value: 0 6 non-desktop: flags: immutable range values:0 1 value: 0 4 TILE: flags: immutable blob blobs: 值: 43 42 连接的 HDMI-A-2 710x400 14 42 模式: 索引名称 刷新 (Hz) hdisp hss hse htot vdisp vss vse vtot #0 1920x1080 60.00 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver #1 1920x1080 59.94 1920 2008 2052 2200 1080 1084 1089 1125 148352 flags: phsync, pvsync; type: driver #2 1920x1080 50.00 1920 2448 2492 2640 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver #3 1920x1080 30.00 1920 2008 2052 2200 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver #4 1920x1080 29.97 1920 2008 2052 2200 1080 1084 1089 1125 74176 flags: phsync, pvsync; type: driver #5 1920x1080 25.00 1920 2448 2492 2640 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver #6 1920x1080 24.00 1920 2558 2602 2750 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver #7 1920x1080 23.98 1920 2558 2602 2750 1080 1084 1089 1125 74176 flags: phsync, pvsync; type: driver #8 1280x720 60.00 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver #9 1280x720 59.94 1280 1390 1430 1650 720 725 730 750 74176 flags: phsync, pvsync; type: driver #10 1280x720 50.00 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver #11 720x576 50.00 720 732 796 864 576 581 586 625 27000 标志:nhsync、nvsync;类型:驱动程序 #12 720x480 60.00 720 736 798 858 480 489 495 525 27027 标志: nhsync、nvsync;类型:驱动程序 #13 720x480 59.94 720 736 798 858 480 489 495 525 27000 标志:nhsync、nvsync;类型:驱动程序 props: 1 EDID: 标志:不可变 blob blobs: 值: 00ffffffffffff002301000001000000 0a190103804728960adaffa3584aa229 17494b00000001010101010101010101 010101010101011d8018711c1620582c 2500c48e2100009e011d007251d01e20 6e285500c48e2100001e000000fc0042 4d442048444d490a20202020000000fd 00173c1f440f000a20202020202001c1 020321774d858487949396a0a1a29f90 0312230f040783ff000066030c000000 008c0aa01451f01600267c4300138e21 000098011d80d0721c1620102c2580c4 8e2100009e011d00bc52d01e20b82855 40c48e2100001e8c0aa0205120181018 7e2300138e21000098011d803e73382d 407e2c4580c48e2100001e0000000034 2DPMS: flags: enum enums:On=0 Standby=1 Suspend=2 Off=3 value: 0 5 link-status: flags: enum enums:Good=0 Bad=1 value: 0 6 non-desktop: flags: immutable range values:0 1 value: 0 4 TILE: flags: immutable blob blobs: 值: 44 max bpc: 标志: 范围 值:8 16 值:0 CRTCs: id fb pos size 33 0 (0,0) (0x0) #0 nan 0 0 0 0 0 0 0 0 flags: ; type: props: 24 VRR_ENABLED: flags: range values:0 1 value: 0 36 0 (0,0) (0x0) #0 nan 0 0 0 0 0 0 0 0 flags: ; type: props: 24 VRR_ENABLED: flags: range values:0 1 value: 0 39 49 (0,0) (1920x1080) #0 1920x1080 60.00 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver props: 24 VRR_ENABLED: flags: range values:0 1 值:0 平面: id crtc fb CRTC x,y x,y gamma size possible crtcs 31 0 0 0,0 0,0 0 0 0x00000001 formats:XR24 AR24 RG16 XB24 AB24 AR15 XR15 props: 8 type: flags: immutable enum enums:Overlay=0 Primary=1 Cursor=2 value: 1 32 zpos: flags: immutable range values:0 0 值:0 34 0 0,0,0 0 0 0x00000002 格式:XR24 AR24 RG16 XB24 AB24 AR15 XR15 props: 8 type: flags: immutable enum enums:Overlay=0 Primary=1 Cursor=2 value: 1 35 zpos: flags: immutable range values:0 0 值:0 37 39 49 0,0,0 0 0 0x00000004 格式:XR24 AR24 RG16 XB24 AB24 AR15 XR15 props: 8 type: flags: immutable enum enums:Overlay=0 Primary=1 Cursor=2 value: 1 38 zpos: flags: immutable range values:0 0 值:0 帧缓冲区: id 大小引脚间距 使用 Weston,我可以获取以下信息: [13:12:40.811]输出 HDMI-A-2(CRTC 39)视频模式: [email protected]:9,电流,148.5 MHz [email protected]:9、148.4 MHz [email protected]:9、148.5 MHz [email protected]:9、74.2 MHz [email protected]:9、74.2 MHz [email protected]、74.2 MHz [email protected]:9、74.2 MHz [email protected]、74.2 MHz [email protected]:9、74.2 MHz [email protected]:9、74.2 MHz [email protected]、74.2 MHz [email protected]:9, 74.2 MHz [email protected] 16:9, 27.0 MHz [email protected] 16:9, 27.0 MHz [email protected] 16:9, 27.0 MHz 但是,当我将 Weston 设置为以[email protected]的频率输出时,它又默认为 60Hz 非常感谢。 Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 你好@RU_Callum 请共享完整的结果日志文件。另外,您的 Panle 像素时钟是多少?如果是,请共享您的 Panle 数据表文件。 B.R Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 嗨 @pengyong_zhang, 感谢您的快速回复, root @imx8mpsolidrun:~# modetest-C 尝试打开设备 “i915”... 尝试打开设备 “amdgpu” 失败... 尝试打开设备 “radeon” 失败... 尝试打开设备 “nouveau” 失败... 尝试打开设备 “vmwgfx” 失败... 尝试打开设备 “omapdrm” 失败... 尝试打开设备 “exynos” 失败... 尝试打开设备 “tilcdc” 失败... 尝试打开设备 “msm” 失败... 尝试打开设备 “sti” 失败... 失败 尝试打开设备 “tegra”... 尝试打开设备 “imx-drm” 失败... 完成了 我不知道这是否有帮助,但我正在使用 Weston 合成器来显示视频回放。 Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 你好@RU_Callum 请输入 modetest -C 命令并分享结果? B.R
View full article
iMX RT1176 で可能な限り最速の LVGL グラフィックス VGLite または PXP が必要ですか? iMX RT1176を横向き720x1280で動作させ、スクロールやアニメーションなどのグラフィックを可能な限り高速化したいと考えています。参考になる設定やLVGLデモの例はありますか?現在、MIMXRT1170-EVKBとRK055HDMIPI4MA0 5.5インチ画面を使用しています。 また、ベアメタルではなく FreeRTOS を使用しています... ありがとうございました。 Scott Re: Need fastest possible LVGL graphics VGLite or PXP on iMX RT1176? こんにちは、 @jingpan 、 @application_ninja 私は自分のプロジェクトで LVGL を使用 CAN かどうかを調べるために作業しています。そのため、私は SDK の例と GUI Guider を使用しています。 MIMXRT1166 と MIMXRT1170 EVK ボードの両方を持っています。すべての例を SDK と GUI Guider で直接実行します。私は特に、GUI Guider v1.9.0 の ScreenTransition Example に焦点を当てました。 これまで、25〜30FPS を超える FPS 値を達成するために、さまざまなシナリオを試してきました。ただし、VG-Lite または PXP、またはその両方の GPU を有効にしても、表示されませんでした。 CPU だけで UI を実行すると、VGLite または PXP を有効にして使用するよりもはるかにうまく動作することがわかりました。CPU 使用率が低すぎる場合は、CPU のみを使用して作業を続行します。ただし、Gui Guider の ScreenTransition Example の CPU 使用率は %90 を超えます。SO、後で BSP が関与すると、プロジェクトを実行および管理できなくなります。それが私がVGLiteを使うことに重点を置いた理由です。しかし驚くべきことに、VGlite を使用してもまったく機能しません。CPU 使用率が %70 レベルまで下がりましたが、FPS 値は 6~7 fps レベルになりました。 UI Fps パフォーマンスを向上させるために他にCAN何を検索しているときに、あなたのチケットを見つけました。720 x 1280 ディスプレイ パネルで 47fps レベルに達したとおっしゃっていました。SO、あなたの経験こそがまさに私の焦点なのです。下記のリンクに記載されているように、いろいろ試してみましたが、CPU 消費量が許容範囲内で 30 fps や 20~25 fps の値に近づくことはできませんでした。SO、どうやって 47fps レベルに到達したのか、本当に助けが必要ですか? また、GUI Guider 側に問題の解決策を見つけるためのチケットを開きました。リンクはこちらです。LVGL UI のパフォーマンスを向上させるためにこれまでに行ったすべての詳細は、こちらで読むことができます。https ://community.nxp.com/t5/GUI-Guider/LVGL-Demo-Example-Working-too-slowly-problem/td-p/2164492 コメントをお待ちしています。前もって感謝します Re: Need fastest possible LVGL graphics VGLite or PXP on iMX RT1176? -O2 は確かに役立ちますが、それでもこのデバイスに期待するパフォーマンスではありません。 😞 Re: Need fastest possible LVGL graphics VGLite or PXP on iMX RT1176? こんにちは、 @application_ninjaさん、 元の例では、私のボード上で 20FPS が報告されています。コンパイル最適化レベルを -O2 に設定すると、34FPS になります。 この例では、VGLite を使用して CPU の作業負荷を軽減します。LV_USE_GPU_NXP_VG_LITE を 0 に設定すると、加重 FPS は 24 になります。また、コンパイル最適化を -O2 に設定すると、47FPS になります。 よろしくお願いいたします。 ジン Re: Need fastest possible LVGL graphics VGLite or PXP on iMX RT1176? GUI Guider を試してみましたが、結果はまだ遅いです。そのため、最良の結果を得るために使用できる最適な設定は何ですか?デュアル コア 1GHz プロセッサなら超高速のグラフィックスが実現できるはずだと考えますが、実際はそうではありません。サンプルの「ベンチマーク」LVGL プログラムを実行すると、15fps 未満になりますが、これは正常または予想される結果ですか? Re: Need fastest possible LVGL graphics VGLite or PXP on iMX RT1176? こんにちは、 @application_ninjaさん、 GUI Guider をご利用ください。LVGL をベースにしており、RT1176 および PXP 向けに最適化されています。 https://www.nxp.com/design/software/development-software/gui-guider:GUI-GUIDER よろしくお願いいたします。 ジン
View full article
关于 ASR、TTS 和变压器的建议 你好,我正在 i.MX 93 EVK 上开发一个应用程序。 对于在设备上运行时计算要求相对较低的以下建议,我将不胜感激。我使用的是 i.MX 93 双核 1.7GHz。 我在寻找以下方面的建议 在设备上运行时,ASR 引擎具有合理的精度。例如:轻声细语 TTS 模型 设备上的变压器型号,例如Llama 3B。 任何诸如性能比较和建议之类的信息将不胜感激。谢谢 Re: Recommendations for ASR, TTS and Transformer 嘿 Laurent_P您能分享一下如何在 i.MX93 的 NPU 上实现 Whisper tiny.en TFLite 模型吗?我一直在找这个东西,它对我的开发工作大有帮助。我能够将模型转换为 TFLite INT8,但 NPU 并不完全支持所有 Whisper 操作,因此我必须在 CPU 上使用 float32 模型。 谢谢 Re: Recommendations for ASR, TTS and Transformer 你好@QuantumPath 在 i.MX93 上,我们启用了 Whisper ASR(微型、基本型、小型)和 Moonshine ASR(微型和基本型)。 我们将于 7 月中旬首先通过 GStreamer 提供 Whisper ASR 语音插件。 对于 TTS,我们启用了 ViTS TTS。对于 LLM,我们可以运行小型 LLM,如多瑙河 0.5B。 同时,我们在 i.MX95 上运行了完整的 eIQ Gen Al 流程管道(唤醒词、ASR、LLM、RAG、TTS): https://github.com/nxp-appcodehub/dm-eiq-genai-flow-demonstrator?tab=readme-ov-file
View full article
适用于 ARM 2018R1 许可证的 S32DS 您好: 我的 ARM 2018R1 IDE 的 S32DS 许可证已过期。您能帮我检查并扩展一下吗? 谢谢。 Re: S32DS for ARM 2018R1 license 你好 我的 适用于 ARM v2018.r1 的 S32 Design Studio 的 许可证 已经过期。 能帮我扩展一下吗? 激活代码 00B2-2243-F93D-50F1 非常感谢。 Re: S32DS for ARM 2018R1 license 你好:我的 ARM 2018R1 IDE 的 S32DS 许可证已经过期。您能帮我检查并扩展一下吗? 谢谢 Re: S32DS for ARM 2018R1 license 你好,我的 ARM 版本 2018.R1 的 S32 Design Studio 许可证已经过期。能帮我扩展一下吗? 激活代码0255-52A3-B9BE-AB0C 非常感谢! Re: S32DS for ARM 2018R1 license 您好: 我的 ARM V2.2 版 S32DS 许可证将在 13 天后到期。您能帮我检查并扩展一下吗? 适用于 ARM 的 S32 设计工作室 ActivationId:97B6-8CB8-3FC0-851A Evaluation Days: 13 Feature Version: 2.2 Feature Status:评估 (13 天) 谢谢。 Re: S32DS for ARM 2018R1 license ,,,,,,,,,,,,,,,,,,,,,,,,,,, Re: S32DS for ARM 2018R1 license ,,,,,,,,,,,,,, Re: S32DS for ARM 2018R1 license ,,,,,,,,,,,,,,,,,,,,, Re: S32DS for ARM 2018R1 license ,,,,,,,,,,,,,,,,,,,,,,,, Re: S32DS for ARM 2018R1 license 是的 叶 Re: S32DS for ARM 2018R1 license 您好: 我的 ARM 2018R1 IDE 的 S32DS 许可证已过期。您能帮我检查并扩展一下吗? 谢谢。 Re: S32DS for ARM 2018R1 license 你好、 我的 S32DS ARM V2.2 许可证已过期。 您能帮我延长许可证的有效期吗? ActivationId:dd5c-6f03-8ae4-7eca 非常感谢。 Re: S32DS for ARM 2018R1 license 我的 S32DS for S32 Platform 3.4 许可证过期了,您能帮我检查并延期吗?谢谢。激活码 C5A1-5B94-2A38-9034 Re: S32DS for ARM 2018R1 license 您好: 早上好,先生!我的 S32ds 许可证过期了,您能帮我延长许可证吗? 非常感谢!需要您的帮助! Re: S32DS for ARM 2018R1 license 你好: 我的 ARM 2018R1 IDE 的 S32DS 许可证已经过期。您能帮我检查并扩展一下吗? 谢谢。Activation Code:349D-19F8-FFD7-7F10 回复: S32DS for ARM 2018R1 license 您好: 我的 ARM 2018R1 IDE 的 S32DS 许可证已过期。您能帮我检查并扩展一下吗? 谢谢。 激活代码592C-8B75-D563-0CAE Re: S32DS for ARM 2018R1 license 你好、 您的 S32DS 许可证已延期。 Re: S32DS for ARM 2018R1 license 我的 ARM 2018R1 的 S32DS 许可证已过期。我请求延期。非常感谢。 代码9DD9-3E3B-4AA1-1DE3 S32DS for ARM 2018R1 license 您好, 我的 S32 Design Studio for ARM v2018 R1 许可证已经过期,你能帮忙延期吗?谢谢! 激活代码 DE17-8B75-A725-CBC3 Re: S32DS for ARM 2018R1 license 我的 S32DS for Power Win32 v2017 IDE 许可证已过期。您能帮我检查并扩展一下吗? 提示"不允许返还此许可证。" 当我试图退货时。 谢谢。 Re: S32DS for ARM 2018R1 license 我的 ARM 2018R1 IDE 的 S32DS 许可证已过期。您能帮我检查并扩展一下吗? 激活代码 D429-1EC2-B799-7507 谢谢。 Re: S32DS for ARM 2018R1 license 你好:我的 S32 Power Architecture Design Studio® v2.1 - Windows/Linux IDE 已过期。您能帮我检查并扩展一下吗? 激活代码 DDD9-023A-976E-CD88 谢谢。 Re: S32DS for ARM 2018R1 license 您好: 我的 ARM 2018R1 IDE 的 S32DS 许可证已过期。您能帮我检查并扩展一下吗? 激活代码 DDD9-023A-976E-CD88 谢谢。 Re: S32DS for ARM 2018R1 license 你好、 您的 S32DS 许可证已延期。请使用旧代码重新激活 S32DS。 Re: S32DS for ARM 2018R1 license 你好,我的 ARM 版 S32 设计工作室 v2.2 许可证已过期,能否帮忙延期? 激活码: 2D6B-DC21-07CF-F125 Re: S32DS for ARM 2018R1 license 你好、 您的 S32DS 许可证已延期。 Re: S32DS for ARM 2018R1 license 您好: 我的 适用于 ARM v2.2 的 S32DS IDE 即将到期,你能帮我检查一下并延长它吗? 谢谢。 我的激活代码BC11-7022-0D21-E460 回复: S32DS for ARM 2018R1 license 你好 我的 S32 Design Studio for ARM v2018 R1 许可证已经过期,你能帮忙延期吗?谢谢! 激活代码 4777-90eb-daf6-ae57 Re: S32DS for ARM 2018R1 license 你好、 您的 S32DS 许可证已延期。 Re: S32DS for ARM 2018R1 license 你好 我的 ARM v2018 R1 版 S32 Design Studio 许可证已过期。能帮我延长一下吗? 激活代码6ec6-15b7-7227-97f6 谢谢。 卡罗 回复: S32DS for ARM 2018R1 license 您好: 我的 ARM V1.3 版 S32DS 许可证已过期。您能帮我检查并扩展一下吗? 谢谢。 Re: S32DS for ARM 2018R1 license 问题解决了,谢谢 Re: S32DS for ARM 2018R1 license 请帮我扩展 S32DS 许可证。激活代码:FF84-9C7B-EFCB-6595。谢谢! Re: S32DS for ARM 2018R1 license 您好, 我检查了您的账户,所有许可证都有效并已激活。对于 S32DS PA,您使用了不同的激活密钥,但这不是问题。 Re: S32DS for ARM 2018R1 license 软件反馈 :(许可证丢失) Re: S32DS for ARM 2018R1 license 您好,我的 S32 Design Studio for Power Architecture 2.1 版许可证已经过期,能否帮忙延长一下? 激活代码77fc-3b94-a7dc-54ee Re: S32DS for ARM 2018R1 license 你好,我的 ARM 版本 2018.R1 的 S32 Design Studio 许可证已经过期。能帮我扩展一下吗? 激活代码 FF84-9C7B-EFCB-6595 非常感谢您 Re: S32DS for ARM 2018R1 license 你好,我已经为 ARM 2018R1 重新安装了 S32DS。 离线激活时,activation.xml 显示"License can't be generated, it is already expired" 。 Re: S32DS for ARM 2018R1 license 你好、 您的 S32DS 许可证已延期。 Re: S32DS for ARM 2018R1 license 你好,适用于 ARM 版本 2018.R1 的 S32 Design Studio 的许可证已过期。能帮我扩展一下吗? 激活代码FC1A-4C29-3203-9C08 非常感谢您 回复: S32DS for ARM 2018R1 license 你好,我的 S32 Design Studio for ARM v3.5 许可证已经过期,你能帮忙延期吗?谢谢! 激活码:8A8B-9E9B-F34E-2603 回复: S32DS for ARM 2018R1 license 你好,我的 S32 Design Studio for ARM v2.2 许可证已经过期,你能帮忙延期吗?谢谢! 激活代码D0BA-0474-25E0-F056 S32DS for ARM 2018R1 license 你好,我的 S32 Design Studio for ARM v2018 R1 许可证已经过期,你能帮忙延期吗?谢谢!激活码:3ef3-981a-ce8d-45c3 Re: S32DS for ARM 2018R1 license 你好,我的 S32 Design Studio for ARM v2018 R1 许可证已经过期,你能帮忙延期吗?谢谢! 激活码:3ef3-981a-ce8d-45c3 回复: S32DS for ARM 2018R1 license 您好: 我的 ARM 2018R1 IDE 的 S32DS 许可证已过期。您能帮我检查并扩展一下吗? 谢谢。 Re: S32DS for ARM 2018R1 license 你好,我的 ARM 版本 2018.R1 的 S32 Design Studio 许可证即将到期 能否请您扩展一下?谢谢。 我的激活代码 C617-86A4-65B7-F3D9 非常感谢您 回复: S32DS for ARM 2018R1 license 你好,我的 S32 Design Studio for ARM v2018 R1 许可证已经过期,你能帮忙延期吗?谢谢! 激活代码0384-6363-91f6-cb8e Re: S32DS for ARM 2018R1 license 你好 我的 S32 Design Studio for ARM v2018 R1 许可证已经过期,你能帮忙延期吗?谢谢! 激活代码 8238-B154-F160-0911 Re: S32DS for ARM 2018R1 license 你好,我的 ARM 版本 2018.R1 的 S32 Design Studio 许可证即将到期 能否请您扩展一下?谢谢。 我的激活代码 516A-3379-0522-6A9D 非常感谢您 Re: S32DS for ARM 2018R1 license 你好,我的 ARM 版本 2018.R1 的 S32 Design Studio 许可证即将到期 能否请您扩展一下?谢谢。 我的激活代码 0d34-286b-9ee6-e692 非常感谢您 Re: S32DS for ARM 2018R1 license 你好、 您的 S32DS 许可证已延期。请使用旧代码重新激活 S32DS。 Re: S32DS for ARM 2018R1 license 我的 S32 Design Studio for ARM v2018 R1 许可证已经过期,你能帮忙延期吗?谢谢! 激活代码 DC0F-DD50-F612-9743 Re: S32DS for ARM 2018R1 license 您好、 我的许可证现在过期了,请帮助我延长许可证有效期,激活代码: DC0F-DD50-F612-9743 回复: S32DS for ARM 2018R1 license 您好、 我的许可证现在过期了,请帮助我延长许可证有效期,激活代码: DC0F-DD50-F612-9743 Re: S32DS for ARM 2018R1 license 你好,我的 ARM 版本 2018.R1 的 S32 Design Studio 许可证已经过期。能帮我扩展一下吗? 激活代码DE63-F9AF-C189-5399 非常感谢您 Re: S32DS for ARM 2018R1 license 您好: 我的 ARM 2018R1 IDE 的 S32DS 许可证已过期。您能帮我检查并扩展一下吗? 谢谢。 ========================================== 项目说明S32 设计工作室 Order NumberS32DS_2018_R1_100931407 采购订单编号 许可证总数:100 激活代码 C625-7579-0C28-63DC 适用于产品的许可证: 版本说明 R1 2018 S32 Design Studio(查看 EULA) 3.1 S32 Design Studio(查看 EULA) 100 可用       Re: S32DS for ARM 2018R1 license 您好: 我的 ARM 2018R1 IDE 的 S32DS 许可证已过期。您能帮我检查并扩展一下吗? 谢谢。 Re: S32DS for ARM 2018R1 license 你好,我的 ARM v2.2 版 S32 Design Studio 许可证已过期。能帮我扩展一下吗? 激活代码 F1B3-2017-8F0D-17BE 非常感谢。 Re: S32DS for ARM 2018R1 license 你好,@acirillo、 我已将您的许可证有效期延长至 2028 年底。 请使用 NXP 许可菜单中的 "刷新 "操作更新本地许可信息。 致以最崇高的敬意 Mehul Patel Re: S32DS for ARM 2018R1 license 你好、 我的 S32S 2018 许可证已过期。您能帮我检查并扩展一下吗? 谢谢! Re: S32DS for ARM 2018R1 license 你好,@linxwhut、 我已将两个许可证的有效期延长至 2028 年底。 请使用 NXP 许可菜单中的 "刷新 "操作更新本地许可信息。 致以最崇高的敬意 Mehul Patel Re: S32DS for ARM 2018R1 license 你好,@侦探、 我已将您的许可证有效期延长至 2028 年底。 请使用 NXP 许可菜单中的 "刷新 "操作更新本地许可信息。 致以最崇高的敬意 Mehul Patel Re: S32DS for ARM 2018R1 license 你好,我的 ARM 版本 2018.R1 的 S32 Design Studio 许可证已经过期。能帮我扩展一下吗? 激活代码C819-045E-F1F8-61B7 Re: S32DS for ARM 2018R1 license 您好,我和我的同事的 S32 Design Studio for Power Architecture 2.1 版许可证已经过期,能否请您帮我延期?谢谢 激活代码 :82DF-FC84-F43A-1EF0 激活代码 :5EBA-DE62-DCF0-02A9 Re: S32DS for ARM 2018R1 license 你好,霍根, ,我已将有效期延长至 2027 年。请使用当前代码重新激活。 致以最崇高的敬意, Mike Re: S32DS for ARM 2018R1 license 你好,我的 ARM 版本 2018.R1 的 S32 Design Studio 许可证已经过期。能帮我扩展一下吗? 激活代码E03E-A0CC-D45D-88C8 非常感谢您 Re: S32DS for ARM 2018R1 license 谢谢! Re: S32DS for ARM 2018R1 license 亲爱的 我的 ARM 版本 2018.R1 的 S32 Design Studio 许可证已过期。能帮我扩展一下吗? 激活代码E03E-A0CC-D45D-88C8 非常感谢 . Re: S32DS for ARM 2018R1 license 你好,@J_Gary、 我已将您的许可证有效期延长至 2028 年底。 请使用 NXP 许可菜单中的 "刷新 "操作更新本地许可信息。 致以最崇高的敬意 Mehul Re: S32DS for ARM 2018R1 license 你好,我的 S32 Design Studio for ARM v2018 R1 许可证已经过期,你能帮忙延期吗?谢谢! 激活代码E971-3802-1E3D-5BA6 Re: S32DS for ARM 2018R1 license 你好,@梁赞、 我已将您的许可证有效期延长至 2028 年 12 月底。 请刷新激活以使用它。 谢谢!顺祝商祺!  - Mehul Patel Re: S32DS for ARM 2018R1 license 你好,我的许可证过期了,能帮我延期吗? 数字是 非常感谢。 Re: S32DS for ARM 2018R1 license 嗨,莎拉, 您的许可证已被延期,请再试一次激活码。 致以最崇高的敬意, Mike 回复: S32DS for ARM 2018R1 license 你好,@Hansheng、 我已将您的许可证有效期延长至 2027 年底。请刷新激活以使用它。 谢谢!顺祝商祺!  -梅胡尔-帕特尔 Re: S32DS for ARM 2018R1 license 你好 我的 S32 Design Studio for ARM v2018.r1 许可证已经过期。能否请您帮忙扩展一下?谢谢! 激活代码 B7B1-173F-51BA-13A2 顺祝商祺! 萨拉 Re: S32DS for ARM 2018R1 license 你好,@1772137309。 我已将您的许可证有效期延长至 2028 年底。 请进入 S32DS 的帮助 -> NXP License 菜单,然后单击"Refresh" 更新本地计算机上的许可证数据。 致以最崇高的敬意 - Mehul Patel Re: S32DS for ARM 2018R1 license 你好 我的 S32 Design Studio for ARM v2018 R1 许可证已经过期,你能帮忙延期吗?谢谢! 激活代码B0A4-688C-2AD6-79EE Re: S32DS for ARM 2018R1 license 你好,@ScreenUser、 我已将您的许可证有效期延长至 2027 年。 请使用 NXP 许可菜单中的 "刷新 "操作更新本地许可信息。 致以最崇高的敬意 - Mehul Patel Re: S32DS for ARM 2018R1 license 我的 S32 Design Studio for ARM v2018 R1 许可证已经过期,你能帮忙延期吗?谢谢! 激活码:6C82-9208-D1F2-C38F Re: S32DS for ARM 2018R1 license 您好, ,我已将您的许可证有效期延长至 2026 年。 请使用 NXP 许可菜单中的 "刷新 "操作更新本地许可信息。 致以最崇高的敬意, Mike Re: S32DS for ARM 2018R1 license 您好: 我的 S32DS_Power_Win32_v2.1 IDE 许可证已过期。您能帮我检查并扩展一下吗? 谢谢。 回复: S32DS for ARM 2018R1 license 您好、 我的许可证已过期,请帮助我延长许可证有效期,有效代码为:93E3-80E7-2A38-9E70 回复: S32DS for ARM 2018R1 license 您好,我的许可证已过期,请帮助延长许可证有效期,有效代码 :93E3-80E7-2A38-9E70 Re: S32DS for ARM 2018R1 license 非常感谢。现在一切正常。 再次感谢您。 Re: S32DS for ARM 2018R1 license 你好,郝, ,我已将你的许可证延期 3 年。请进入 S32DS 的帮助 -> NXP License 菜单,然后单击"Refresh" 更新本地计算机上的许可证数据。 致以最崇高的敬意, Mike Re: S32DS for ARM 2018R1 license 你好,@Jaydenyzhu 我已将这项权利延长至 2026 年。 请使用激活码接收新许可证。 顺祝商祺! - Mehul Patel S32DS for ARM 2018R1 license 亲爱的 我的 ARM 版本 2018.R1 的 S32 Design Studio 许可证已过期。能帮我扩展一下吗? 激活代码D5D0-D801-AB24-58DF 非常感谢。 Re: S32DS for ARM 2018R1 license 我的 ARM 2018_R1 版 S32 Design Studio 将在 4 天后过期,你能帮忙延期吗?谢谢; ActivationId:799e-5e79-910f-6c57 Re: S32DS for ARM 2018R1 license 你好,Gen Li, ,我已将你的许可证延期 3 年。 请使用当前激活码重新激活。 致以最崇高的敬意, Mike Re: S32DS for ARM 2018R1 license 早上好、 我的 S32 Design Studio for Power Architecture 2.1 版集成开发环境许可证已过期。能帮我扩展一下吗? 激活代码 DBA1-317C-5265-7E4F 非常感谢。 Re: S32DS for ARM 2018R1 license 你好,Mehul_Patel、 S32DS 现在可以正常工作了,非常感谢!!..! Re: S32DS for ARM 2018R1 license 你好,@祖桥、 我已将您的许可证有效期延长至 2026 年 12 月底。 请刷新激活。 谢谢。谨致问候。 - Mehul Patel Re: S32DS for ARM 2018R1 license 你好 激活码是D876-C313-75B1-2E1B ,谢谢。 Re: S32DS for ARM 2018R1 license 你好,@cjgyf、 我已将您的权利延长至 2025 年 12 月底。请刷新或重新激活您的安装。 顺祝商祺! - Mehul Patel Re: S32DS for ARM 2018R1 license 你好,@祖桥、 请分享适用于 Arm v2018 的 S32DS 的激活码,这样我就可以重新激活你的许可证。 谢谢!顺祝商祺!  -梅胡尔-帕特尔 Re: S32DS for ARM 2018R1 license 我的许可证也过期了(9DE8-C6AE-8B6B-952B),您能帮我延期吗?非常感谢! Re: S32DS for ARM 2018R1 license 恩智浦专家,您好、 我的 S32DS for Arm v2018 许可证已经过期,许可证已经退回,显示许可证现在丢失了,请帮忙延长许可证,非常感谢! 戴维 Re: S32DS for ARM 2018R1 license 你好,迈克 抱歉耽搁了。非常感谢。现在一切正常。 此致敬礼, 弗朗西斯科 Re: S32DS for ARM 2018R1 license 你好 我已将你的许可证延长至 2025 年。请使用相同的代码重新激活。 顺祝商祺! Mike Re: S32DS for ARM 2018R1 license 你好,我的许可证过期了,能帮我延期吗? 数字是 09D2-de37-6529-87FB 谢谢! 弗朗西斯科 Re: S32DS for ARM 2018R1 license 你好,@francesco_solit、 我检查了服务器日志中的这项权利。报告已达到返回许可证的最大数量。我 RESET 了计数,所以现在应该可以工作了。请您的同事再试一次。 还请注意,如果您的同事使用以下链接并登录他们的 NXP.com 账户,他们也可以获得自己的许可证: https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=S32-DS-ARM_v2018 顺祝商祺! Mike Re: S32DS for ARM 2018R1 license 你好,迈克 现在,重新激活在我的电脑上正常工作,但在我同事的其他电脑上就不行了,而在过去,同样的许可证在这些电脑上是正常工作的。是否也可以为我的同事扩展许可证?或者是否有可能为它们领取新的许可证?他们的恩智浦账户是 [email protected] [email protected] 在此先表示感谢,并致以诚挚的问候、 弗朗切斯科-索利托 Re: S32DS for ARM 2018R1 license 非常感谢麦克。 此致敬礼, 弗朗切斯科-索利托 Re: S32DS for ARM 2018R1 license 你好,@francesco_solit、 我已经延长了你的权利。请刷新许可证,以便收到新的到期日期。 顺祝商祺! Mike Re: S32DS for ARM 2018R1 license 早上好。 我们的 ARM 2018R1 的 S32DS 许可证即将到期。能否请您扩展一下?请参见附件。 谢谢,并致以诚挚的问候、 弗朗切斯科-索利托 Re: S32DS for ARM 2018R1 license 你好 我已将这一权利延长至 2025 年。请使用激活码接收新许可证。 顺祝商祺! Mike Re: S32DS for ARM 2018R1 license 你好,我的许可证过期了,能帮我延期吗? 数字是 4F70-F0A3-101C-3C96 非常感谢 Re: S32DS for ARM 2018R1 license 谢谢你,迈克。 祝你愉快 Re: S32DS for ARM 2018R1 license 你好 这两项权利都已延长至 2025 年。请使用激活码重新激活您的安装。 顺祝商祺! Mike Re: S32DS for ARM 2018R1 license 你好,我的许可证过期了,能帮我延期吗? 数字是 B361-6887-8BBF-ed12 此外,还有我的同事安娜-达莱西奥: E735-6A42-FED4-6005 非常感谢 阿妮塔 Re: S32DS for ARM 2018R1 license 你好@zhanglei327、 我已将您的权利延长至 2025 年。请使用 "帮助"-> NXP Licenses 菜单中的 "刷新 "按钮将您的安装与许可证服务器同步。 顺祝商祺! Mike Re: S32DS for ARM 2018R1 license 你好 我的执照马上就要到期了。 Re: S32DS for ARM 2018R1 license 早上好! 问题解决了! 非常感谢。 瓦莱里娅 Re: S32DS for ARM 2018R1 license 你好,@valeriaalessi、 我已从服务器端手动返回许可证。当您收到退还许可证的提议时,请选择 "是"。有时有些设置无法正确 RESET,这会强制 RESET 它。在此之后,再加上我退回许可证的操作,您就可以顺利激活了。 顺祝商祺! Mike Re: S32DS for ARM 2018R1 license 早上好、 我试着用相同的许可证号重新激活,但它仍然告诉我该许可证用于另一项功能。但是,在第一个错误之后,第二个关于返回次数超标的错误并没有再次出现。 你能帮帮我吗? 非常感谢。 瓦莱里娅 Re: S32DS for ARM 2018R1 license 你好,@valeriaalessi、 我检查了许可证服务器。它报告说您已超过返回次数上限。我已经 RESET 了退货次数。现在问题应该已经解决。请再试一次。 Mike Re: S32DS for ARM 2018R1 license 早上好、 我试着再次激活许可证,使用与之前相同的号码,但它告诉我许可证用于另一项功能。然后,如果我点击返回,就会出现错误信息(见附件)。 您能帮帮我吗? 非常感谢! 瓦莱里娅 Re: S32DS for ARM 2018R1 license 你好 我已将你的许可证延长至 2025 年。请从 Help->NXP Licenses 菜单刷新,或使用与之前相同的激活码重新激活。 顺祝商祺! Mike Re: S32DS for ARM 2018R1 license 早上好、 我的 ARM 2018R1 IDE 的 S32DS 许可证已过期。能帮我扩展一下吗? 在附件中,您可以找到已过期的当前许可证。 非常感谢。 瓦莱里娅 Re: S32DS for ARM 2018R1 license 你好 我扩大了你的权利。请刷新或重新激活您的安装。 顺祝商祺! Mike
View full article
MIMXRT1176DVMAA - Not detecting over the JTAG Hi Team We developed a custom board based on MIMXRT1176DVMAA, and unfortunately,  device could not detecting over the JTAG. During my troubleshooting, I found that internal LDO output "VDDA_1P0" (Pin N11) is not showing voltage (0V) and this output connected to VDD_MIPI_1P0 (Pin F10) DSI lines interface. Could this be a problem preventing the device detecting over JTAG? Verified the PMIC power sequence, all voltage rails sequence is as per the datasheet recommended. Thanks. Regards, Gopala Re: MIMXRT1176DVMAA - Not detecting over the JTAG Hi @gopalakrishna , Thank you so much for your interest in our products and for using our community. Regarding "During my troubleshooting, I found that internal LDO output "VDDA_1P0" (Pin N11) is not showing voltage (0V) and this output connected to VDD_MIPI_1P0 (Pin F10) DSI lines interface." Could you provide more detailed information? Have you followed the design of the MIMXRT1170-EVKB board? https://www.nxp.com/webapp/Download?colCode=MIMXRT1170HDUG Please refer to the user guider "Hardware Development Guide for the MIMXRT1160/1170 Processor" particularly Chapter 3 "Power Supply," to confirm whether your board design complies with the requirements outlined in Table 1 "Processor Power Supply Capacitors When Using On-Chip DC-DC Regulators." Did you add 1 ms R/C delay , DCDC_PSWITCH should delay 1 ms with respect to DCDC_IN to guarantee that DCDC_IN is stable before the DC-DC starts up. Please use an oscilloscope to measure the power-up sequence of the RT1170. Best Regards MayLiu
View full article
i.MX 93 向け Windows 10/11 IoT Enterprise について - bootcmd こんにちは、 i.MX93 が U-Boot から ARM 上で正しく起動できるように、正しい bootcmd を構成する方法を知っている人はいますか? 以前は、defconfig で i.MX 8 シリーズの bootcmd を次のように構成していました。 CONFIG_BOOTCOMMAND="fatload mmc ${mmcdev} : ${mmcpart} ${loadaddr} /uefi.fit;ブートm ${loadaddr} ;" i.MX 8ファームウェア、例えばi.MX 8M Plusをビルドすると、 ~/win10-iot-bsp/imx-mkimage/iMX8Mにimx8mp-evk.dtbが見つかる。同じパスにあるsoc.makをチェックすることもCAN。これはimx8mp-evk.dtbを処理し、最終的なファームウェア ファイルに結合します。 しかし、同じフォルダー構造内の i.MX93 では、 soc.mak は同じことを行いません。パス: ~/win10-iot-bsp/imx-mkimage/iMX9にimx93-11x11-evk.dtb は作成されません。 SO、defconfig でCONFIG_BOOTCOMMAND を構成するのと同じ方法に従うと、U-Boot 手順は i.MX 8 と同じではなく、microSD WinPE ( efi/boot/bootaa64.efi ) に入らず、再起動を続行します。 それを正しいやり方でやる方法を誰か知っていますか?i.MX Windows IoT ユーザーズガイド、クイックスタートガイドなどには関連情報が見つかりません。 ご協力ありがとうございました! 引き続きよろしくお願いします。 アレックス・チャン 参照。 i.MX アプリケーション プロセッサ向け Windows 10/11 IoT Enterprise Windows Windows 10 IoT エンタープライズ Re: About Windows 10/11 IoT Enterprise for i.MX 93 - bootcmd Windows I0/11 IOTについては、 [email protected] のIOTチームに連絡することを お勧めします。 それについて何か情報があるかどうかを確認します。 Re: About Windows 10/11 IoT Enterprise for i.MX 93 - bootcmd こんにちは、 次のようにimx93_11x11_evk_nt_deconfig CONFIG_BOOTCOMMANDを設定しようとしました。 mmc dev 1; mmc が再スキャンされた場合; fatload mmc 1:2 ${kernel_addr_r} EFI/Boot/bootaa64.efi && fatload mmc 1:2 ${fdt_addr_r} dtb/imx93-11x11-evk.dtb && fdt addr ${fdt_addr_r} && fdt header && bootefi ${kernel_addr_r} ${fdt_addr_r} ; fi ファームウェアを再コンパイルし、microSD カードにフラッシュして i.MX 93 EVK に挿入すると、PuTTY メッセージは次のようになります。 ネタバレ (ハイライトして読む) U-Boot 2023.04-g93957155-ダーティ(2025年8月8日 - 09:59:05 +0800) CPU: i.MX93(52) rev1.1 1700 MHz (1692 MHzで動作) CPU: インダストリアル温度グレード (-40℃~105℃)、30℃ モデル: NXP i.MX93 11X11 EVKボード DRAM: 2 GiB コア: 218デバイス、30uclass、デバイスツリー: 個別 MMC: FSL_SDHC: 0、FSL_SDHC: 1 MMC から環境を読み込んでいます...OK ... シリアル 出力: シリアル エラー: シリアル ビルド情報: - ELEファームウェアバージョン0.1.0-e943c57c パーティション #0 にスイッチ。OK mmc1は現在のデバイスです フラッシュターゲットはMMC:1です ファストブート: 通常 通常のブート 自動起動を停止するには任意のキーを押してください: 0 パーティション #0 にスイッチ。OK mmc1は現在のデバイスです 2640304バイトを1303ミリ秒で読み取りました(1.9 MiB/秒) 7 ミリ秒で 50392 バイトを読み取りました (6.9 MiB/秒) 作業用FDTを83000000に設定 マジック: 0xd00dfeed 合計サイズ: 0xc4d8 (50392) off_dt_struct: 0x38 off_dt_strings: 0xb5f8 オフメモリRSVマップ: 0x28 バージョン: 17 最終コンピュータバージョン: 16 ブートCPUID_PHYS: 0x0 size_dt_strings: 0xedb size_dt_struct: 0xb5c0 番号 mem_rsv: 0x0 /EFI\Boot\bootaa64.efi を起動しています BlInitializeLibrary が失敗しました 0xc0000225 ## アプリケーションが失敗しました、r = 14 u-boot=> U-Boot 2023.04-g93957155-ダーティ(2025年8月8日 - 09:59:05 +0800)CPU: i.MX93(52) rev1.1 1700 MHz (1692 MHzで動作)CPU: インダストリアル温度グレード (-40℃~105℃)、30℃モデル: NXP i.MX93 11X11 EVKボードDRAM: 2 GiBCore: 218デバイス、30 uclasses、デバイスツリー: 個別MMC: FSL_SDHC: 0、FSL_SDHC: 1MMCから環境をロードしています... OK...In: serialOut: serialErr: serialBuildInfo:- ELEファームウェアバージョン0.1.0-e943c57cswitchパーティション #0 へ、OKmmc1 が現在のデバイスフラッシュターゲットは MMC:1Fastboot: NormalNormal BootHit any key to stop autoboot: 0パーティション #0 へ切り替え、OKmmc1 が現在のデバイス2640304 バイトが 1303 ms (1.9 MiB/s) で読み込まれました50392 バイトが 7 ms (6.9 MiB/s) で読み込まれました動作中 FDT は 83000000 に設定されていますmagic: 0xd00dfeedtotalsize: 0xc4d8 (50392)off_dt_struct: 0x38off_dt_strings: 0xb5f8off_mem_rsvmap: 0x28version: 17last_comp_version: 16boot_cpuid_phys: 0x0size_dt_strings: 0xedbsize_dt_struct: 0xb5c0number mem_rsv: 0x0Booting /EFI\Boot\bootaa64.efiBlInitializeLibrary失敗 0xc0000225## アプリケーションが失敗しました、r = 14u-boot=> サイズを縮小するために、 microSD\WinPE\boot.wimから言語パッケージを削除しようとしました。(2.X GBから347 MBまで) しかし、i.MX 93 はまだ起動できません。 この問題を解決した経験のある人はいますか? よろしくお願いします! アレックス・チャン
View full article
示例项目中缺少 TCP/IP 协议栈 你好、 我正在使用 S32K1 系列板,更具体地说,是 S32K148。 我面临的问题是,连示例项目都无法编译。我使用 S32DS IDE 和"New -> Project from Example" 创建它,从中选择 lwip_FreeRTOS_S32K148。 该文档说,应该可以直接从那里版本它。但事实并非如此,因为有很多文件丢失了。打开 S32 配置工具并更新代码后,大部分问题都解决了。但是,lwip 堆栈文件夹仍然丢失,我在 “税务摊销收益” 中出现错误,指出 tcp/ip 堆栈不包含在工具链中。 正如堆栈发行说明中所述,我安装了 S32K1_S32M24X 实时驱动程序 AUTOSAR R21-11 版本 3.0.0还有 S32K1 FreeRTOS 10.5.1 版本 2.0.0 代码包,我使用的是 S32DS 3.6.3。 Re: Missing TCP/IP stack in example project 你好@sergioGeronimo、 这是由 RTD 3.0.0 之间的清单 SDK 版本不匹配造成的(版本 2.0.0)和 TCP/IP 3.0.0(版本 3.0.0)版本。 要解决这个问题,请按照以下步骤操作: 1.进入 S32DS 安装文件夹,或机器的相应路径。 C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K1_S32M24 2.打开tcpip_itm_manifest.xml ,将版本从 3.0.0 改为 2.0.0 3.重新启动 S32DS 4.打开外设视图并运行"更新代码" 5. 再次运行 Build 顺祝商祺! 帕维尔
View full article
S32K146 送信遅延 こんにちは 当社は、CANFD 通信機能を備えた S32K146 MCU をベースにブートローダ ソフトウェアを開発しています。しかし、私たちを本当に困惑させる問題に遭遇しました。それは、ECU が柔軟な遅延でメッセージを送信し、テストからの要求を受信してから 1 ミリ秒以内に肯定応答を CAN バスに送信することもあれば、遅延が非常に「大きく」、CAN_TP 送信タイマー制限 (As) を超える 224 ミリ秒になることもあります。誰かこの問題を解決するのを手伝ってくれませんか? 当社の ECU に関する情報は以下に示されており、添付の写真も掲載されています。 1. 2 つのメッセージを受信するには 2 MB を使用する必要があります (物理アドレスの ID: 0x714、機能アドレスの ID: 0x7DF)。 2. 1つのメッセージを送信するには1MBを使用する必要があります(ID:0x794) 3. CANFD調停ボーレートは500K/秒、データフィールドボーレートは2MB/秒 4. フレーム DLC は 64 バイトです。 5. ブートローダ ソフトウェアでは、受信または送信に割り込みを使用せず、代わりにポーリング タイプを使用します。 6. 私たちのトランシーバはTLE9263です 7. CANクロックソースはSYS_CLK(80MHZ)です 8. MB を書き込む直前に、Can_write 関数にモニター ポイントを配置します。ロジック アナライザーを使用して、モニター ポイントから CANTx PIN にメッセージが送信されるまでの期間を測定すると、次の結果が得られます。MB を書き込んだ後、CAN Tx PIN に肯定的な応答を送信するには約 223.95 ミリ秒かかります。(添付の画像を参照してください)。 使用されている合計MBはわずか7であり、CANループにはECUとテスター(CANOE VIN1640)以外のノードがないため、この大きな遅延は調停から発生したものではないようです。 私の CAN_init() 関数は以下のように投稿されました: void Can_Init(void) { /** * GPIO * CAN_RX U4_9_CAN0_RX PE4 ALT5 * CAN_TX U4_8_CAN0_TX PE5 ALT5 */ PORTE->PCR[4] = PORT_PCR_MUX(5); PORTE->PCR[5] = PORT_PCR_MUX(5); #CAN_FD == CAN_FD_TYPE_EN の場合 uint32_t i = 0; uint32_t tempECR; uint32_t 待機カウンタ = 0; /* 時計 */ PCC->PCCn[PCC_FlexCAN0_INDEX] |= PCC_PCCn_CGC_MASK; /* CGC=1: FlexCAN0へのクロックを有効にする */ /* できる */ CAN0->MCR |= CAN_MCR_SOFTRST_MASK; CAN0->MCR |= CAN_MCR_MDIS_MASK; /* MDIS=1: クロックを選択する前にモジュールを無効にする */ 待機カウンタ = 0; while(!((CAN0->MCR & CAN_MCR_SOFTRST_MASK) >> CAN_MCR_SOFTRST_SHIFT)) {WaitCounter++;} CAN0->IMASK1 = 0x00000000ul; CAN0->ESR1 &= ~CAN_ESR1_BOFFINT_MASK; CAN0->CTRL1 |= (CAN_CTRL1_CLKSRC(1) /* CLKsrc=1: クロックソース = SYS_CLK (80 MHz) */ |CAN_CTRL1_BOFFMSK(0) /* バスオフ割り込み有効 */ |CAN_CTRL1_BOFFREC(0)); /* バスオフ車載回復を有効にする。*/ CAN0->MCR &= ~CAN_MCR_MDIS_MASK; /* MDIS=0; モジュール構成を有効にします。(FRZ、HALTを設定)*/ CAN0->MCR |= (CAN_MCR_FRZ_MASK | CAN_MCR_HALT_MASK); 待機カウンタ = 0; while(!((CAN0->MCR & CAN_MCR_FRZACK_MASK) >> CAN_MCR_FRZACK_SHIFT)) {WaitCounter++;} /* 良い習慣: フリーズモードの開始/終了時に FRZACK=1 を待つ */ tempECR = CAN0->ECR; CAN0->ECR = 0x00000000UL; tempECR = tempECR; /* 公称位相を設定: 500 KHz ビット時間、80 MHz クロック */ CAN0->CBT = CAN_CBT_BTF(1) /* ビットタイム定義の有効化。*/ |CAN_CBT_EPRESDIV(1) /* EPRESDIV = プリスケーラ + 1 = 2 */ |CAN_CBT_EPSEG2(15) /* EPSEG2 = 15 */ |CAN_CBT_EPSEG1(15) /* EPSEG1 = 15 */ |CAN_CBT_EPROPSEG(46)/* EPROPSEG = 46 */ |CAN_CBT_ERJW(15);/* ERJW = 15 */ /* BITRATEn =Fcanclk /( [(1 + (EPSEG1+1) + (EPSEG2+1) + (EPROPSEG + 1)] x (EPRESSDIV+1)) = 80 MHz /([(1 + ( 15 +1) + ( 15 +1) + ( 46 + 1)] x ( 1 +1)) = 80 MHz / ( [1 + 16 + 16 + 47] x 2) = 80 MHz / (80 x 2) = 500 Kz サンプルポイント = (3 + PSEG1 + PROPSEG) /(4+ PSEG1 + PSEG2 + PROPSEG) (17 + 15 + 46) / (18 + 15 + 15 + 46) = 80% */ /* データ位相を設定: 2 MHz ビット時間、80 MHz クロック */ CAN0->FDCBT = CAN_CBT_EPSEG2(3) /* FPSEG2 = 3 */ |CAN_CBT_EPSEG1(7) /* EPSEG1 = 7 */ |CAN_CBT_EPROPSEG(7) /* FPROPSEG = 7 */ |CAN_CBT_ERJW(3) /* FRJW = 3 */ |CAN_FDCBT_FPRESDIV(1);/* FPRESDIV = プリスケーラ + 1 = 2 */ /* BITRATEf = Fcanclk /( [(1 + (FPSEG1+1) + (FPSEG2+1) + (FPROPSEG)] x (FPRESDIV+1)) = 80 MHz /([(1 + ( 7 +1) + ( 3 +1) + ( 7 )] x ( 1 +1)) = 80 MHz /([1+8+4+7] x 2) = 80 MHz /(20x2) = 80 MHz / 40 = 2 MHz サンプルポイント = (2 + PSEG1 + PROPSEG) /(3 + PSEG1 + PSEG2 + PROPSEG) (4 + 7 + 7) / (5 + 7 + 3 + 7) = 80% */ CAN0->FDCTRL = CAN_FDCTRL_FDRATE(1) /* BRS=1: フレームのヘッダーでビットレートスイッチを有効にし、ビットレートスイッチ、データサイズ、トランシーバ遅延を設定します */ |CAN_FDCTRL_MBDSR0(3) /* MBDSR0=3: 領域0にはフレームのペイロードに64バイトのデータ(7Mb)があります */ |CAN_FDCTRL_TDCEN(1) /* MBDSR1: 該当なし */ |CAN_FDCTRL_TDCOFF(31); /* トランシーバ遅延補正オフセット15 */ /* PRIO = 0: CANFD が使用され、ISO CAN FD の CRC 修正が有効になります */ CAN0->CTRL2 |= CAN_CTRL2_TASD(30) | CAN_CTRL2_ISOCANFDEN(1); /* TDCEN=1: トランシーバ遅延補正を有効にする */ /* TDCOFF=5: 5 CANクロック(300us)のオフセットを使用 */ for(i = 0; i < 128u; i++) { /* CAN0: FlexCAN 0の128ワードのRAMをクリアする メッセージ バッファの単語をクリアします。すべてのバッファ CODE=0 (非アクティブ) */ CAN0->RAMn[i] = 0; } for(i=0; i < 16u; i++ ) { /* FRZ モードでは、CAN0 16 msg buf フィルターを初期化します 受信メッセージのすべてのIDビットをチェックする*/ CAN0->RXIMR[i] = 0x1ffffffful; } /* グローバル受け入れマスク: すべてのIDビットをチェック */ CAN0->RXMGMASK = 0xFFFFFFFFul; CAN0->RX14MASK = 0xFFFFFFFFul; CAN0->RX15MASK = 0xFFFFFFFFul; /* メッセージバッファ 0 - 受信セットアップ: */ /* メッセージバッファ 0、ワード 0: 受信を有効にする */ /* EDL = 1: CAN FDの拡張データ長 */ /* BRS = 1: ビットレートスイッチが有効 */ /* ESI = 0: エラー状態 */ /* CODE = 4: MBをRX非アクティブに設定 */ /* IDE = 0: 標準ID */ /* SRR、RTR、TIME STAMP = 0: 該当なし */ CAN0->RAMn[0 * CAN_MSG_BUF_SIZE + 0] = CAN_RAMn_EDL(1) + CAN_RAMn_BRS(1) + CAN_RAMn_ESI(0) + CAN_RAMn_CODE(CAN_MSG_BUF_RX_EMPTY) + CAN_RAMn_IDE(0) + CAN_RAMn_SRR(0) + CAN_RAMn_RTR(0); CAN0->RAMn[0 * CAN_MSG_BUF_SIZE + 1] = ((uint32_t)ID_REQUEST_PHY) << 18u; // CAN0->RXIMR[0] = (((uint32_t)(~(ID_REQUEST_PHY ^ ID_REQUEST_FUN))) << 18u) & 0x1ffffffful; CAN0->RXIMR[0] = 0x1ffffffful; CAN0->RAMn[1 * CAN_MSG_BUF_SIZE + 0] = CAN_RAMn_EDL(1) + CAN_RAMn_BRS(1) + CAN_RAMn_ESI(0) + CAN_RAMn_CODE(CAN_MSG_BUF_RX_EMPTY) + CAN_RAMn_IDE(0) + CAN_RAMn_SRR(0) + CAN_RAMn_RTR(0); CAN0->RAMn[1 * CAN_MSG_BUF_SIZE + 1] = ((uint32_t)ID_REQUEST_FUN) << 18u; CAN0->RXIMR[1] = 0x1ffffffful; CAN0->MCR = 0x00030806ul; /* FlexCAN 0 停止状態を否定し、7 MB 間 CAN FD を有効にする */ gs_CanControllerStatus[0] = CAN_STATUS_IDLE; 待機カウンタ = 0; while ((CAN0->MCR & CAN_MCR_FRZACK_MASK) >> CAN_MCR_FRZACK_SHIFT){WaitCounter++;} /* 良い方法: FRZACK がクリアされるまで待つ (フリーズモードではない) */ 待機カウンタ = 0; while ((CAN0->MCR & CAN_MCR_NOTRDY_MASK) >> CAN_MCR_NOTRDY_SHIFT){WaitCounter++;} } そして、私のCan_write()関数は以下のように投稿されました: bl_Error_t Can_Write(bl_CanHandle_t ハンドル、const bl_Buffer_t *バッファ、bl_Size_t サイズ) { #CAN_FD == CAN_FD_TYPE_EN の場合 bl_Error_t ret = BL_ERR_NOT_OK; uint32_t Can_ID = 0x0; uint8_t 送信ハンドル = 0; uint8_t dlc; CAN_message_t msg_tx; dlc = Can__SizeToDlc(サイズ); if (ハンドル > CAN_TXHANDLE_NUM) { ret を返します。 } Tx_handle = g_CanTxHandleCfg[ハンドル].コントローラ; (gs_CanControllerStatus[Tx_handle] != CAN_STATUS_IDLE) の場合 { ret = BL_ERR_CAN_BUSY; ret を返します。 } Can_ID = g_CanTxHandleCfg[ハンドル].id<< 18; する { (uint8_t i = 0; i < CAN_MAX_NUMBER_OF_CONTROLLER; i++) の場合 { gs_CanControllerCfg[i].usage == CAN_CONTROLLER_UNUSED の場合 { 続く; } if ( (Tx_handle == gs_CanControllerCfg[i].phyId) && (CAN_STATUS_IDLE == gs_CanControllerStatus[i])) { msg_tx.id = Can_ID; Can__CopyData(msg_tx.data.bytes,buffer,size); msg_tx.length = dlc; TLE9261_Write(0x40, 0x5F);/*これは私がここに置いたソフトウェアモニターポイントです*/ S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 17] = SWAP_UINT32(msg_tx.data.longs[15]);//((uint32_t)バッファ[60])<< 24 | ((uint32_t)バッファ[61]) << 16 | ((uint32_t)バッファ[62]) << 8 | ((uint32_t)バッファ[63]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 16] = SWAP_UINT32(msg_tx.data.longs[14]);//((uint32_t)バッファ[56])<< 24 | ((uint32_t)バッファ[57]) << 16 | ((uint32_t)バッファ[58]) << 8 | ((uint32_t)バッファ[59]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 15] = SWAP_UINT32(msg_tx.data.longs[13]);//((uint32_t)バッファ[52])<< 24 | ((uint32_t)バッファ[53]) << 16 | ((uint32_t)バッファ[53]) << 8 | ((uint32_t)バッファ[55]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 14] = SWAP_UINT32(msg_tx.data.longs[12]);//((uint32_t)バッファ[48])<< 24 | ((uint32_t)バッファ[49]) << 16 | ((uint32_t)バッファ[50]) << 8 | ((uint32_t)バッファ[51]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 13] = SWAP_UINT32(msg_tx.data.longs[11]);//((uint32_t)バッファ[44])<< 24 | ((uint32_t)バッファ[45]) << 16 | ((uint32_t)バッファ[46]) << 8 | ((uint32_t)バッファ[47]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 12] = SWAP_UINT32(msg_tx.data.longs[10]);//((uint32_t)バッファ[40])<< 24 | ((uint32_t)バッファ[41]) << 16 | ((uint32_t)バッファ[42]) << 8 | ((uint32_t)バッファ[43]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 11] = SWAP_UINT32(msg_tx.data.longs[9]);//((uint32_t)バッファ[36])<< 24 | ((uint32_t)バッファ[37]) << 16 | ((uint32_t)バッファ[38]) << 8 | ((uint32_t)バッファ[39]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 10] = SWAP_UINT32(msg_tx.data.longs[8]);//((uint32_t)バッファ[32])<< 24 | ((uint32_t)バッファ[33]) << 16 | ((uint32_t)バッファ[34]) << 8 | ((uint32_t)バッファ[35]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 9] = SWAP_UINT32(msg_tx.data.longs[7]);//((uint32_t)バッファ[28])<< 24 | ((uint32_t)バッファ[29]) << 16 | ((uint32_t)バッファ[30]) << 8 | ((uint32_t)バッファ[31]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 8] = SWAP_UINT32(msg_tx.data.longs[6]);//((uint32_t)バッファ[24])<< 24 | ((uint32_t)バッファ[25]) << 16 | ((uint32_t)バッファ[26]) << 8 | ((uint32_t)バッファ[27]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 7] = SWAP_UINT32(msg_tx.data.longs[5]);//((uint32_t)バッファ[20])<< 24 | ((uint32_t)バッファ[21]) << 16 | ((uint32_t)バッファ[22]) << 8 | ((uint32_t)バッファ[23]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 6] = SWAP_UINT32(msg_tx.data.longs[4]);//((uint32_t)バッファ[16])<< 24 | ((uint32_t)バッファ[17]) << 16 | ((uint32_t)バッファ[18]) << 8 | ((uint32_t)バッファ[19]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 5] = SWAP_UINT32(msg_tx.data.longs[3]);//((uint32_t)バッファ[12])<< 24 | ((uint32_t)バッファ[13]) << 16 | ((uint32_t)バッファ[14]) << 8 | ((uint32_t)バッファ[15]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 4] = SWAP_UINT32(msg_tx.data.longs[2]);//((uint32_t)バッファ[8])<< 24 | ((uint32_t)バッファ[9]) << 16 | ((uint32_t)バッファ[10]) << 8 | ((uint32_t)バッファ[11]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 3] = SWAP_UINT32(msg_tx.data.longs[1]);//((uint32_t)バッファ[4])<< 24 | ((uint32_t)バッファ[5]) << 16 | ((uint32_t)バッファ[6]) << 8 | ((uint32_t)バッファ[7]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 2] = SWAP_UINT32(msg_tx.data.longs[0]);//((uint32_t)バッファ[0])<< 24 | ((uint32_t)バッファ[1]) << 16 | ((uint32_t)バッファ[2]) << 8 | ((uint32_t)バッファ[3]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 1] = Can_ID; /* MB8ワード1: 指定されたIDの送信メッセージ */ S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 0] = CAN_RAMn_EDL(1) /* EDL=1 CAN FDフォーマットフレーム*/ |CAN_RAMn_BRS(1) /* BRS=1: ビットレートはメッセージ内で切り替えられます */ |CAN_RAMn_ESI(0) /* ESI=0: ??? */ |CAN_RAMn_CODE(CAN_TX_MB_CODE_TRANS) /* CODE=0xC: 送信するためにメッセージバッファをアクティブにする */ |CAN_RAMn_SRR(0) /* SRR=1 送信フレーム(標準IDには必要ありません)*/ |CAN_RAMn_IDE(0) /* IDE=0: 標準ID */ |CAN_RAMn_RTR(0) /* RTR = 0: データ、リモート送信要求フレームではない*/ |CAN_RAMn_DLC(dlc); /* DLC=x; 1,2,3,4,5,6,7,8, 9-12,10-16, 11-20, 12-24, 13-32, 14-48, 15-64バイト */ // while (!(S32K_CAN(Tx_handle).IFLAG1 & 0x100)) {}; /* CAN 0 MB 8 フラグを待つ */ // S32K_CAN(Tx_handle).IFLAG1 = 0x00000100; /* CAN 0 MB 8フラグをクリアするが、他のフラグはクリアしない*/ gs_CanControllerStatus[i] = CAN_STATUS_TRANSMITTING; ret = BL_ERR_OK; } } } while(0); ret を返します。 } Re: Re S32K146 Transmit Delay こんにちは、 正確な設定と使用されているコードがわからないため、この動作の原因を正確に説明することはできません。仲裁は停止されるか、何らかの理由で保留中になっているようです。たとえば、仲裁が MB 全体をスキャンする前に、任意の MB CS ワードに書き込むことが考えられます。 調停プロセスは MB をスキャンし、次の機会に送信するメッセージを保持している送信 MB を検索します。スキャンは最も小さい数値の MB から始まり、より大きな数値へと続きます。MB0 が送信に使用される場合、この MB に書き込むと、調停プロセスが開始され、すぐに勝者が見つかります。 BR、ペトル Re: Re S32K146 Transmit Delay こんにちは、ペトルス MB シーケンスを調整してみましたが、正常に送信できました。しかし、なぜ問題ないのかという深いロジックがまだ理解できません。私の方法を簡単に説明しましょう: 受信または送信に使用する MB インデックスを調整します。つまり、元々 MB0 は物理アドレス診断メッセージ (ID:0x714) を受信するために使用され、MB1 は機能アドレス診断メッセージ (ID:0x7DF) を受信するために使用され、MB6 は ECU 応答メッセージ (ID:0x794) を送信するために使用されます。 新しいものは、MB0 は ECU 応答メッセージ (ID:0x794) の送信に使用され、MB1 は物理アドレス診断メッセージ (ID:0x714) の受信に使用され、MB2 は機能アドレス診断メッセージ (ID:0x7DF) の受信に使用されます。 この調整後、ECU は正常に受信または送信できるようになります。SO、MB6がflexCAN0内での調停に勝てないため、ECUがメッセージをSMBに移動しないということでしょうか?送信するメッセージは1つしかないので、MB6と調停する他のMBはないようです。 また、新しい送信を開始する必要があるときに MB がまだ送信中の場合は、MB を中止しようとします。 よろしくお願いします。 Re: Re S32K146 Transmit Delay こんにちは、 何らかの理由で、MB が書き込まれた後、仲裁が開始されないか終了せず、メッセージが TX SMB に移動されないようです。バスはアイドル状態なので、通常通り実行されるはずです。 その後、別のメッセージが受信されると、CRC 部分で新しい仲裁が開始され、勝者 (単一の TX MB から) が選択され、SMB に移動されます。ようやく最初の機会に送信されました。 しかし、「新しい受信リクエストが、最後のリクエストへの応答の送信をトリガーしました。」という図は、送信MBが実際に正常に送信される前に更新されていることを示しています。MBの転送/可用性のチェックが適切に行われていれば、監視ポイント1に到達することはありません。 他に何を提案すればよいか分かりません。システムとモジュールのクロックを確認してください。コードを確認して、前回の転送が完了した時点でTXが書き込まれていることを確認してください。コード内でMBの無効化/中止を行っていますか? BR、ペトル Re S32K146 Transmit Delay こんにちは ご返信SOありがとうございます。ここで引用した最初の質問にお答えしたいと思います。「SO MeasurementStartPoint,jpg から、0x714 メッセージが受信され、約 150us 後に 0x5FC0 が SPI SOUT に送信されていますが、このフレームはコードで使用される TLE9261_Write(0x40,0x5F) と同等ですか?」 はい、コードで使用されるTLE9261_Write(0x40,0x5F)と同等です。 測定停止ポイントについては、コードに別の 2 つの TLE9261_Write(0x40,0x5F) 関数を導入しました。これらは、「モニター ポイント」という名前の添付画像で確認できます。また、ここにコードも投稿します。 bl_Error_t Can_Write(bl_CanHandle_t ハンドル、const bl_Buffer_t *バッファ、bl_Size_t サイズ) { bl_Error_t ret = BL_ERR_NOT_OK; uint32_t Can_ID = 0x0; uint8_t 送信ハンドル = 0; uint8_t dlc; CAN_message_t msg_tx; dlc = Can__SizeToDlc(サイズ); if (ハンドル > CAN_TXHANDLE_NUM)     { ret を返します。    } Tx_handle = g_CanTxHandleCfg[ハンドル].コントローラ; (gs_CanControllerStatus[Tx_handle] != CAN_STATUS_IDLE) の場合     { ret = BL_ERR_CAN_BUSY; ret を返します。    } Can_ID = g_CanTxHandleCfg[ハンドル].id<< 18; する     { (uint8_t i = 0; i < CAN_MAX_NUMBER_OF_CONTROLLER; i++) の場合 { gs_CanControllerCfg[i].usage == CAN_CONTROLLER_UNUSED の場合 { 続く;        } if ( (Tx_handle == gs_CanControllerCfg[i].phyId) && (CAN_STATUS_IDLE == gs_CanControllerStatus[i])) { msg_tx.id = Can_ID; Can__CopyData(msg_tx.data.bytes,buffer,size); msg_tx.length = dlc; TLE9261_Write(0x40, 0x5F);/*モニターポイント1*/ S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 17] = SWAP_UINT32(msg_tx.data.longs[15]);//((uint32_t)バッファ[60])<< 24 | ((uint32_t)バッファ[61]) << 16 | ((uint32_t)バッファ[62]) << 8 | ((uint32_t)バッファ[63]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 16] = SWAP_UINT32(msg_tx.data.longs[14]);//((uint32_t)バッファ[56])<< 24 | ((uint32_t)バッファ[57]) << 16 | ((uint32_t)バッファ[58]) << 8 | ((uint32_t)バッファ[59]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 15] = SWAP_UINT32(msg_tx.data.longs[13]);//((uint32_t)バッファ[52])<< 24 | ((uint32_t)バッファ[53]) << 16 | ((uint32_t)バッファ[53]) << 8 | ((uint32_t)バッファ[55]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 14] = SWAP_UINT32(msg_tx.data.longs[12]);//((uint32_t)バッファ[48])<< 24 | ((uint32_t)バッファ[49]) << 16 | ((uint32_t)バッファ[50]) << 8 | ((uint32_t)バッファ[51]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 13] = SWAP_UINT32(msg_tx.data.longs[11]);//((uint32_t)バッファ[44])<< 24 | ((uint32_t)バッファ[45]) << 16 | ((uint32_t)バッファ[46]) << 8 | ((uint32_t)バッファ[47]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 12] = SWAP_UINT32(msg_tx.data.longs[10]);//((uint32_t)バッファ[40])<< 24 | ((uint32_t)バッファ[41]) << 16 | ((uint32_t)バッファ[42]) << 8 | ((uint32_t)バッファ[43]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 11] = SWAP_UINT32(msg_tx.data.longs[9]);//((uint32_t)バッファ[36])<< 24 | ((uint32_t)バッファ[37]) << 16 | ((uint32_t)バッファ[38]) << 8 | ((uint32_t)バッファ[39]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 10] = SWAP_UINT32(msg_tx.data.longs[8]);//((uint32_t)バッファ[32])<< 24 | ((uint32_t)バッファ[33]) << 16 | ((uint32_t)バッファ[34]) << 8 | ((uint32_t)バッファ[35]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 9] = SWAP_UINT32(msg_tx.data.longs[7]);//((uint32_t)バッファ[28])<< 24 | ((uint32_t)バッファ[29]) << 16 | ((uint32_t)バッファ[30]) << 8 | ((uint32_t)バッファ[31]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 8] = SWAP_UINT32(msg_tx.data.longs[6]);//((uint32_t)バッファ[24])<< 24 | ((uint32_t)バッファ[25]) << 16 | ((uint32_t)バッファ[26]) << 8 | ((uint32_t)バッファ[27]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 7] = SWAP_UINT32(msg_tx.data.longs[5]);//((uint32_t)バッファ[20])<< 24 | ((uint32_t)バッファ[21]) << 16 | ((uint32_t)バッファ[22]) << 8 | ((uint32_t)バッファ[23]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 6] = SWAP_UINT32(msg_tx.data.longs[4]);//((uint32_t)バッファ[16])<< 24 | ((uint32_t)バッファ[17]) << 16 | ((uint32_t)バッファ[18]) << 8 | ((uint32_t)バッファ[19]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 5] = SWAP_UINT32(msg_tx.data.longs[3]);//((uint32_t)バッファ[12])<< 24 | ((uint32_t)バッファ[13]) << 16 | ((uint32_t)バッファ[14]) << 8 | ((uint32_t)バッファ[15]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 4] = SWAP_UINT32(msg_tx.data.longs[2]);//((uint32_t)バッファ[8])<< 24 | ((uint32_t)バッファ[9]) << 16 | ((uint32_t)バッファ[10]) << 8 | ((uint32_t)バッファ[11]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 3] = SWAP_UINT32(msg_tx.data.longs[1]);//((uint32_t)バッファ[4])<< 24 | ((uint32_t)バッファ[5]) << 16 | ((uint32_t)バッファ[6]) << 8 | ((uint32_t)バッファ[7]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 2] = SWAP_UINT32(msg_tx.data.longs[0]);//((uint32_t)バッファ[0])<< 24 | ((uint32_t)バッファ[1]) << 16 | ((uint32_t)バッファ[2]) << 8 | ((uint32_t)バッファ[3]); S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 1] = Can_ID; /* MB8ワード1: 指定されたIDの送信メッセージ */ TLE9261_Write(0x40, 0x5F);/*モニターポイント2*/ S32K_CAN(Tx_handle).RAMn[CAN_USED_HRH_NUM*CAN_MSG_BUF_SIZE + 0] = CAN_RAMn_EDL(1) /* EDL=1 CAN FDフォーマットフレーム*/ |CAN_RAMn_BRS(1) /* BRS=1: ビットレートはメッセージ内でスイッチされます */ |CAN_RAMn_ESI(0) /* ESI=0: ??? */ |CAN_RAMn_CODE(CAN_TX_MB_CODE_TRANS) /* CODE=0xC: 送信するためにメッセージバッファをアクティブにする */ |CAN_RAMn_SRR(0) /* SRR=1 送信フレーム(標準IDには必要ありません)*/ |CAN_RAMn_IDE(0) /* IDE=0: 標準ID */ |CAN_RAMn_RTR(0) /* RTR = 0: データ、リモート送信要求フレームではない*/ |CAN_RAMn_DLC(dlc); /* DLC=x; 1,2,3,4,5,6,7,8, 9-12,10-16, 11-20, 12-24, 13-32, 14-48, 15-64バイト */ TLE9261_Write(0x40, 0x5F);/*モニターポイント3*/ // while (!(S32K_CAN(Tx_handle).IFLAG1 & 0x100)) {}; /* CAN 0 MB 8 フラグを待つ */ // S32K_CAN(Tx_handle).IFLAG1 = 0x00000100; /* CAN 0 MB 8フラグをクリアするが、他のフラグはクリアしない*/ gs_CanControllerStatus[i] = CAN_STATUS_TRANSMITTING; ret = BL_ERR_OK;        }      } } while(0); ret を返します。 } 最初の監視ポイントは MB の ID を設定する前に配置され、2 番目の監視コードは MB のコードを 0xC(送信) に更新する直前に配置され、3 番目の監視ポイントは送信する MB のコード更新直後に配置されます。 コードをデバッグすると、以下に説明する 2 つの現象が見つかりました。 1. まず、DID を読み取るために診断要求サービスを送信し、バス上で 0x22 F1 87 をテスト送信しましたが、ECU は応答しません。添付の「要求を受信したが応答がない」という画像から、ECU が実際に要求メッセージを受信し、応答を送信して MB を更新しようとしていることがわかります (このスナップショットでは監視ポイント 1、2、および 3 がキャプチャされています)。ただし、CAN Tx PIN では応答メッセージが監視されていません。 2. 次に、ESR1、IFALG1、および RAM レジスタを監視し、送信 MB のコードが 0xC (送信) に正常に更新され、CAN バスがアイドル状態であり、ESR1 レジスタに他のエラーがないことを確認します。ただし、メッセージは CANTx で送信されませんでした。flexCAN0 が送信を開始する準備ができていないため、メッセージが SMB でスタックしているようです。 3. 3 番目に、別の診断要求を送信しようとして、0x10 01 サービスを送信すると、ECU はすぐに 0x62 F1 87 で応答します。添付の「新しく受信した要求によって、最後の要求の応答の送信がトリガーされました。」という画像で確認できます。メッセージは、モニター ポイント 1、2、3 のコードが実行される前に送信されました。SO、新たな要求メッセージが ECU をトリガーして、最後の要求の応答を送信するようです!!! これはSO不合理に思えます。 この問題を解決するには、皆様のご親切なサポートが本当に必要です。よろしくお願いします。 Re: S32K146 Transmit Delay こんにちは、 したがって、MeasurementStartPoint,jpg から、0x714 メッセージが受信され、約 150us 後に 0x5FC0 が SPI SO に送信されていることがわかります。このフレームは、コードで使用される TLE9261_Write(0x40,0x5F) と同等ですか? TX メッセージが送信されるときに停止時間にズーム機能はありますか? 通常の応答(1 ミリ秒以内)のスクリーンショットを取得できますか? CANメッセージ間の周期的(30us)SPI転送とは何ですか?コードではどのように処理されますか? TLE9261_Write(0x40,0x5F) と MB6 CS ワード書き込みの間のコードが中断されないことをテストする場合は、その前後の割り込みを無効/有効にするだけです。 BR、ペトル Re: S32K146 Transmit Delay こんにちは、PetrS ご丁寧なご返信SOありがとうございます。まず最初にいくつかの点を明確にさせてください。 1.TDCOFF については、RF マニュアルを参照し、お客様の CAN 仕様で定義されているパラメータを使用して計算しているので、ここでは問題ないと思います。 2. 私のコードでは、MB0 は物理アドレス ID (0x714) メッセージの受信に使用され、MB1 は関数アドレス ID (0x7DF) メッセージの受信に使用されます。MB2 ~ MB5 は予約済みで、MB6 は送信に使用されます。S32K146 Flex CAN0 にはペイロード 64 バイトのメッセージ用に 7 MB がある。SO、私のコード内の CAN_USED_HRH_NUM は 6 です。 3. バスの仲裁については、おっしゃる意味は理解しています。写真から一部のスナップショットが抜けてしまっていることをお詫びします。こちらに追加しましたので、添付ファイルをご参照ください。私のテスト ベンチには ECU という 1 つのノードだけがあり、テスター (Vector CANOE VIN1640) を除いて ECU と調停する他のノードはありません。フラッシュが終了した後に ECU を起動するために、100 ミリ秒周期で NM メッセージを送信します。SO、私の観点からすると、この遅延はバスの調停によるものではないはずです。 4. 遅延が発生する場所を捕捉するために、コードにモニター ポイント TLE9261_Write (返信でも言及されています) を追加しました。こうすることで、TLE9261_Write() の呼び出しによってトリガーされる SPI 信号をキャプチャできます。これは、ロジック アナライザ プロジェクトの測定開始ポイントの名前です。つまり、このポイントはメッセージの送信直前です (送信 MB にデータを書き込むと、MB の CS コードも更新されます)。また、CANRx および CANTx PIN のデータも測定します。こうすることで、TLE9261_Write() を呼び出してからメッセージが CAN Tx PIN に送信されるまでの遅延が約 223 ミリ秒であることがわかります。それは本当に長いですね。測定結果は添付ファイルでCANます。 5. SO、返信で述べられているように、遅延は TLE9261_Write と CAN_USED_HRH_NUM MB CS ワード書き込み間のコードから発生すると考えられます。しかし、ブートローダ コードで使用した割り込みは、時間をカウントするために使用するシステム ティックと、いくつかの障害シナリオに対処するために使用するハードフォールトのみです。これによってSO大きな遅延が発生することはないと思います。 SO、これらの情報をもう一度確認して、遅延の原因を突き止めるのにご協力いただけますか? SOありがとう。 Re: S32K146 Transmit Delay こんにちは、 CAN init は正常に見えます。2Mbit では TDC はまったく必要ありません。とにかく、TDCOFF は適切に構成されているように見えます。デフォルトの TASD 値を維持することもCANますが、違いは期待できません。 説明によると、送信には単一のMBのみが使用されていますが、コードではCAN_USED_HRH_NUM(値?)となっています。このメッセージバッファのCSワードが書き込まれると、MBは調停プロセスへの参加を開始し、勝者として選択されてTX SMBに移動され、バス上で実際に送信される最初の機会を待ちます。ここで、バス上にIDが低い他のメッセージがある場合、バス調停によって遅延が発生する可能性があります。他のノードがコネクテッドされていないにもかかわらず、RXメッセージの1つがより高い調停値(IDが低い)を持っていることを確認してください。 遅延のもう一つの原因は、コード自体にある可能性があります。TLE9261_WriteとCAN_USED_HRH_NUM MB CSワード書き込みの間に何らかのコードがあります。他のコードやタスクによって中断されないことを確認し、SOここにソフトウェア遅延を追加してはいかがでしょうか? また、送信中にエラーが検出されると実際の送信が遅れますが、バス/CAN ツールで間違ったメッセージやエラー メッセージが表示されることがあります。 BR、ペトル
View full article
i.mx91 uboot 和 linux 软复位不起作用 问题-我的软件RESET不起作用。 在 uboot 中,键入 “RESET” 会使系统停顿。 在 Linux 中 - tpying`reboot` 会使系统停滞。 我的设备树中启用了 wdog3。, &wdog3 { status = "okay"; }; 版本控制: Linux buildroot 6.12.20 U-启动 2025.04 CPU:恩智浦 i.MX91 (31) Rev1.0 A55,频率为 1400 MHz(<-定制板。) 注意: 对于 uboot,我默认使用 `CONFIG_IMX_WATCHDOG=n`,因为它似乎不受支持。 所有参考监视程序的引用均已启用,请参阅以下链接。 相关主题https://community.nxp.com/t5/i-MX-Processors/Watchdog-support-for-i-MX8QXP-MEK-under-U-Boot/td-p/1240159 因此,我的 Linux 配置为 For the Linux kernel there are SCU watchdog configuration options. CONFIG_IMX2_WDT=y CONFIG_IMX_SC_WDT=y CONFIG_HAVE_ARM_SMCCC=y CONFIG_IMX_SCU=y CONFIG_WATCHDOG=y CONFIG_WATCHDOG_CORE=y CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y CONFIG_WATCHDOG_OPEN_TIMEOUT=0 Re: i.mx91 uboot and linux soft Reset not working 在仔细阅读了 i.MX 91 应用处理器参考手册之后,我没有找到使用处理器进行 " 热RESET " 的方法。我将关闭这个问题,因为我们因为没有连接 WDOG_ANY 引脚而犯了设计错误,然后该引脚可以通过 por_B-PIN RESET 处理器。 结论:执行软件RESET需要硬件线路到位。 感谢@Chavira的快速回复,并指出了我不知道的缺失环节。 Re: i.mx91 uboot and linux soft Reset not working 我使用的是 iMX91,所以不需要不存在的 imx8_wdt.c 驱动程序。 Re: i.mx91 uboot and linux soft Reset not working 在我们的设计中,我没有连接 `WDOG_B` 引脚。因此,如果它基于 evk,那肯定行不通,而后者确实依赖于 PCA9451 PMIC 的硬件RESET电路... (wdt_driver_test 的代码基于 /dev/watchdog,由于上述原因,它无法在我的设计中运行。) 所以我的想法是将其重新设计为imx91的寄存器写入,这将导致处理器 RESET。但我不知道该写哪个登记册。 如果不存在这样的寄存器,那么我将不得不提出硬件修改要求... Re: i.mx91 uboot and linux soft Reset not working 你好,@DavidFlir、 您可以尝试使用我们的看门狗单元测试来验证功能。 如果您使用我们的电路板支持包,则测试应位于项目目录根目录下的 " Unit tests " 文件夹中。 用例 ./autorun-wdog.sh or ./wdt_driver_test.out 1 2 0 & 该测试旨在在大约 3 秒钟后触发信号系统 RESET。 这是基于 1 秒钟的超时,然后是 2 秒钟的休眠。 Re: i.mx91 uboot and linux soft Reset not working @Chavira, 我想配置一个纯粹的软件看门狗,它将导致处理器重启...有没有一个寄存器可以让我设置 "1",从而使处理器重启? 我正在看 i.MX91 应用处理器参考中的 " 25.5.1 SRC 通用寄存器描述 "... Re: i.mx91 uboot and linux soft Reset not working 你好,@DavidFlir、 您使用的是 iMX8 还是 iMX91? 在表 25 中,您可以看到我们使用了 imx7ulp_wdt.c 文件。iMX9 设备的驱动程序,包括 iMX91、iMX93 和 iMX95。 对于 iMX8,我们使用 imx8_wdt.c驱动程序,因为其架构与 iMX9 系列不同。 Re: i.mx91 uboot and linux soft Reset not working 阅读经常被引用的Linux参考手册,我明白: 我找不到的文件与IMX8看门狗有关。 在 2025 年 9 月发布的版本中也没有-> https://github.com/nxp-imx/linux-imx/tree/lf-6.12.34-2.1.0/drivers/watchdog 那么文件已经过时了? Re: i.mx91 uboot and linux soft Reset not working 你好,@DavidFlir、 这可能就是问题所在。我知道你没有使用 PMIC,但是实现正确的 RESET 硬件以确保所有电源序列符合 imx91 芯片的规格非常重要。 如果你能使用 imx91-EVK 或 FRDM-imx91 板,我建议你测量电源顺序。虽然这些都记录在参考手册中,但将它们与工作模型进行比较通常有助于识别和解决定制板上的问题。 致以最崇高的敬意, Chavira Re: i.mx91 uboot and linux soft Reset not working 我们没有连接 WDOG_B 引脚 (J18),也没有使用 PMIC。 我们还有另一个基于 GPIO 的 RESET 电路来 RESET USB、以太网等... Re: i.mx91 uboot and linux soft Reset not working 你好,@DavidFlir、 iMx91 中的 RESET 机制涉及软件和硬件协调。当监视器 RESET 被触发时,SoC 会在 WDOG_B 引脚上断言低信号。该信号被路由到PMIC,然后PMIC在电源轨上启动RESET序列。 为确保正常运行,系统的开机、掉电和 RESET 顺序必须符合 iMx91 参考手册中列出的规格。 我们的 PMIC 专为 iMX91 平台设计,因此如果配置正确,您应该不会遇到与 RESET 行为相关的问题。 致以最崇高的敬意, Chavira Re: i.mx91 uboot and linux soft Reset not working @Chavira,感谢您的回复。 我不知道这怎么会是与硬件有关的错误。据我所知,看门狗纯粹是软件。procosser iMX91 检测到超时并重新启动。那么硬件链接在哪里? 我们没有 PCA9541 设备。 从那以后,信号在启动时表现正常... 而且我已经可以启动到Linux了。 我一直在将设备树与 EVK 示例进行比较,但我没有发现区别,所以我来这里寻求帮助。 一个有用的链接是这样的...https://community.nxp.com/t5/i-MX-Processors/i-MX93-Linux-reboot-not-working/m-p/2039359但我的 wdog3 已启用,但仍无法正常工作。 还有一个 wdog4 和 wdog5,但是启用它们会阻止主板启动。 wdog4:看门狗 @424a0000 { 兼容 = " fsl,imx93-wdt "; reg =<0x424a0000 0x10000> ;中断 = ;时钟 = < & clk IMX91_CLK_WDOG4_GATE >; timeout-sec =;<40> 状态 = " 已禁用 ";}; wdog5:看门狗 @424b0000 { 兼容 = " fsl,imx93-wdt "; reg =<0x424b0000 0x10000> ;中断 =; 时钟 = < & clk IMX91_CLK_WDOG5_GATE >; timeout-sec =<40> ; 状态 = " 已禁用 ";}; 所以谢谢你的提示... 但目前尚不清楚问题可能出在哪里。 (因为我认为这与硬件无关,所以不贴原理图)。 Re: i.mx91 uboot and linux soft Reset not working 你好,@DavidFlir、 感谢您联系恩智浦支持中心! 您目前使用的是 PCA9451 PMIC 吗? 你能否确认开机、掉电和RESET信号的行为是否符合规格? 关于您的软件环境,请注意我们不为 Buildroot 提供官方支持。我们支持的平台是 Yocto 项目,我们推荐将其用于开发。 您可以在这里找到所有相关文件: 面向i.MX应用处理器的嵌入式Linux 为确保兼容性和稳定性,我们建议将我们的电路板支持包移植到您的自定义硬件。这将有助于验证电路板支持包在您的特定设置下是否能正常运行。 您可能需要将您的设置的设备树和内核配置与我们的 EVK 板上的设备树和内核配置进行比较。不过,根据症状,这有可能是一个与硬件有关的问题。 您能分享一下您的原理图吗?这将有助于我们更好地了解情况,提供更准确的指导。 顺祝商祺! 查维拉
View full article
编译 MPC5775K 外部中断时遇到的错误 亲爱的先生 当我为 MPC5775K 编译外部中断程序时,参考示例"Example-MPC5775K-PIT-ISR-v1_0-GHS614" ,使用 S32DS Power2.1、我遇到了这些错误的编译结果(图 1)。这些错误(图 2 和图 3)来自文件"Vector_SW_VLE - Z4.s" 。文件没有被编辑过,但为什么会出现这些错误?如何解决这些问题? 谢谢,并致以问候。 Re: Errors met when compiling external interrupt for MPC5775K 非常感谢。您的建议非常有帮助! 谢谢& 。 Re: Errors met when compiling external interrupt for MPC5775K 你好@yongzhiliu "Example-MPC5775K-PIT-ISR-v1_0-GHS614" 如后缀所示,这是一个用于 GreenHills MULTI IDE 而非 S32 Design Studio 的项目。语法不同。 有必要在 S32DS 中创建新项目,并使用 S32DS 项目中的启动文件和中断/异常相关文件。 您可以查看以下项目,了解如何在 S32DS 中处理中断: https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5775K-DSPI-with-interrupts-S32DS-1-0/ta-p/1119830 其他例子可在此处找到: https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5-software-example-list/ta-p/1102445 最重要的是,MPC5775K 并不面向大众市场,无法订购。因此,我们不为该设备提供支持。请访问这样或更新的替换网站: https://www.nxp.com/products/processors-and-microcontrollers/s32-automotive-platform/s32r-radar-processing/radar-microcontroller:S32R294 问候, Lukas
View full article