Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
i.MX6ULL 已验证 LCD 和 MIPI 摄像头功能 你好,   请问您能否推荐一款已成功与 i.MX6ULL 配合使用的液晶面板和 MIPI 摄像头?   我想将他们与以下评估板联系起来:   MCIMX6ULL-EVK https://www.nxp.jp/part/MCIMX6ULL-EVK   如果可以,请提供型号以及任何可用的软件/BSP信息。   谢谢! Re: LCD and MIPI Camera Proven on i.MX6ULL 你好, 该电路板上经过验证的并行液晶显示器有: 精工WVGA面板。 Embest LCD8000-43T液晶面板。 关于 MIPI CSI 摄像头,请参考 OV5640 摄像头传感器。 顺祝商祺! Re: LCD and MIPI Camera Proven on i.MX6ULL 感谢您的反馈, 我已经放弃使用 OV5640 相机传感器,因为我找不到可以连接到 i.MX6ULL 的产品。 LCD方面,我计划使用LCD8000-43T。
View full article
无法调试 根据日志输出,请问如何解决这个问题? 回复: Can not debug 没人能够答复吗? Re: Can not debug 你好@liyongfeng , 无法加载 .ARP 文件可能意味着多种情况。作为一般性检查,您能否确认该电路板之前是否可以进行编程?检查一下电缆是否连接正确。 另外,请检查“调试配置”>“高级选项”中是否选择了正确的 .ARP 文件(如果设备中未安装 HSE,请选择 hse_disabled)。 Julin_AragnM_0-1787864422369.png 我还建议尝试通过 S32DS 扩展和更新来更新 PEmicro 插件: Julin_AragnM_1-1787864479071.png 您使用的是外部调试器,还是通过 OpenSDA 接口进行的调试?尝试使用外部调试器,例如 PEmicro、SEGGER、Lauterbach 等。 这是恩智浦的评估板,还是你们的定制设计? 此致, 朱利安
View full article
FXLS8964AFR3のマーキング FXLS8964AFR3のためにボディマーキングを手伝ってもらえますか?ありがとう。
View full article
Can not debug Based on the log output, could you tell me how to resolve this issue? 回复: Can not debug Is there no one who can answer? Re: Can not debug Hello @liyongfeng, Failing to load .ARP file could mean various things. As a general check, can you confirm this board was able to be programmed before? And check if cable is connected properly. Also check if the correct .ARP file is selected (if HSE is not installed in the device, select hse_disabled) in 'Debug Configuration' > 'Advanced Options' Julin_AragnM_0-1787864422369.png I suggest also trying to update PEmicro plugin through S32DS Extensions and Updates:  Julin_AragnM_1-1787864479071.png Are you using an external debugger, or is this through the OpenSDA interface? Try using an external debugger, either PEmicro, SEGGER, Lauterbach, etc. Is this an NXP eval board, or is this your custom design?  Best regards, Julián
View full article
Hands‑On Lab Guidelines! This article provides you with general guidelines that apply for All Ara-2 Lab SW packages. Follow the steps below to download, prepare, and execute each lab successfully. 1. Download the Lab Package All lab packages are hosted in the Ara2‑SW‑Packages v1.3.0 location. After opening the shared link: Navigate to corresponding Package folder Download all contents of that folder to your local machine Ensure the folder structure remains intact 2. Important Files Inside the Package Each package includes two key HTML files: ️ INSTALL.html Provides step‑by‑step instructions to install prerequisites and prepare your environment. README.html Contains details about the lab scenario, execution steps, and additional notes. Important: These HTML files must be downloaded and opened locally. Opening them directly from the WorkDrive browser will cause them to load incorrectly. Once downloaded, simply double‑click to open them in your browser — they are fully self‑contained and easy to follow. 3. Running the Lab After completing the installation steps in INSTALL.html: Review the scenario and steps in README.html Execute the lab tasks at your own pace Return to the forum to share results, ask questions, or support others! 4. Watch the Walkthrough Video A video file is included in each package. This video walks you through the same steps described in INSTALL.html and README.html, providing a visual guide to installation, setup, and execution. You can use the video as: A companion guide while following the HTML instructions A quick overview before starting the lab A reference if you prefer visual, step‑by‑step walkthroughs ARA240 DNPU Hands-On Training
View full article
Create a new configuration project using the S32CT 1 Table of Contents • Introduction • Prerequisites • Launch the S32 Configuration Tool • Create a New Configuration Project • Configure the Peripherals • Generate the Configuration Code • Link the Configuration to the Simulink Model • Debugging and Validation • References • Conclusion 2 Introduction The S32 Configuration Tool (S32CT) is NXP’s graphical configuration environment used to set up low-level MCU features such as pin muxing, clock trees, peripherals, and interrupts. When working with the NXP Model-Based Design Toolbox (MBDT), the configuration produced by S32CT is what allows the Simulink-generated code to correctly access peripherals like GPIO, ADC, CAN, LIN, SPI, or PWM on the target device. This article walks through the process of creating a new S32CT configuration project from scratch, linking it to a Simulink model, and preparing it for use in a Model-Based Design workflow on NXP S32K devices. 3 Prerequisites Before creating a new S32CT configuration project, make sure the following tools and components are available and properly installed: MATLAB & Simulink NXP Model-Based Design Toolbox (MBDT) S32 Design Studio (S32DS) with the S32 Configuration Tool component installed NXP RTD (Real-Time Drivers) package matching the target device Target hardware (e.g. S32K344-Q172, S32K358-Q289) USB / JTAG debugger (e.g. PEMicro Multilink) It is important that the S32CT version, the RTD package, and the MBDT release are mutually compatible. Version mismatches between these components are one of the most common causes of missing peripheral drivers, unresolved symbols during code generation, or configuration files that cannot be opened. The compatibility matrix is provided in the release notes shipped with each MBDT installation and should be consulted before starting a new project. It is also recommended to keep the S32CT project inside the same folder as the associated Simulink model. This makes the workflow easier to maintain, ensures relative paths remain valid when the project is shared or moved to another machine, and simplifies version control. 4 Launch the S32 Configuration Tool Step 1: Open S32CT from S32 Design Studio Launch S32 Design Studio From the top menu, select S32 Configuration Tools → Open S32 Configuration Tool Step 2: Open S32CT from Simulink (recommended for MBDT) Open your Simulink model Open Model Settings ( Ctrl + E ) Go to Hardware Implementation In the Configuration Project Template section, click the Open button next to the selected template When launched from Simulink, S32CT is automatically opened in the context of the currently selected hardware board. This ensures that the device family, part number, and package options are already aligned with the target you configured in the model, reducing the risk of manual selection errors. 5 Create a New Configuration Project Step 3: Start a new project In S32CT, select File → New → S32 Configuration Project Enter a meaningful project name, e.g. s32k344_led_blink_cfg Choose the project location — ideally the same folder as your Simulink model Step 4: Select the target device Choose the correct device family (e.g. S32K3) Select the exact part number (e.g. S32K344) Choose the correct package variant (e.g. 172 MAPBGA) Select the SDK / RTD version matching your MBDT installation The device, package, and SDK selection defines the set of peripherals, pins, and clock sources that will be available in the configuration views. Choosing a device that does not match the target hardware will lead to invalid pin assignments and code that will not run correctly on the board. Step 5: Confirm project creation Click Finish to create the project S32CT generates a .mex file that stores the full configuration The project opens automatically in the S32CT perspective 6 Configure the Peripherals S32CT provides several dedicated views, each responsible for a different aspect of the MCU configuration. For a basic LED blink example, the following are the most relevant: Step 6: Configure the Pins view Open the Pins tool Select the pin connected to the on-board LED (refer to the board schematic) Assign the pin to the SIUL2 / GPIO functionality Set the direction to Output Assign a meaningful label, e.g. DioLed0 Step 7: Configure the Clocks view Open the Clocks tool Select the desired clock source (FIRC, SIRC, FXOSC, PLL) Configure the system clock frequency (e.g. 160 MHz for S32K344) Verify that peripheral clock gates are enabled for the modules you use Step 8: Configure the Peripherals view Open the Peripherals tool Enable the Dio driver and add a Dio channel corresponding to the pin configured earlier Match the channel name (e.g. DioLed0 ) with the one that will be used in the Simulink Dio block Enable additional drivers (Port, Mcu, Platform) as required by the RTD stack The channel names, driver instances, and symbolic identifiers defined here are exactly the ones that will appear in the drop-down menus of the MBDT Simulink blocks. Keeping the naming consistent between S32CT and the Simulink model is essential for a clean, maintainable project. 7 Generate the Configuration Code Step 9: Update the code Click the Update Code button in the S32CT toolbar Review the list of files that will be created or modified Confirm the update to generate the C source and header files S32CT generates a set of static configuration files that describe the pin muxing, clock tree, and driver instances. These files are consumed at build time by the MBDT-generated code, which invokes the driver initialization functions ( Port_Init , Mcu_Init , Dio_Init , etc.) during system startup. Any change made in S32CT must be followed by a code update; otherwise the newly configured peripherals will not be visible to the Simulink model. Step 10: Save the project Save the .mex file ( Ctrl + S ) Verify that the generated files are located under the project folder Commit both the .mex file and the generated code to version control 8 Link the Configuration to the Simulink Model Step 11: Point Simulink to the S32CT project Open the Simulink model Open Model Settings ( Ctrl + E ) → Hardware Implementation In the Configuration Project Template section, browse to the newly created .mex file Apply and close the dialog Once linked, the Simulink model uses the S32CT project as its single source of truth for MCU configuration. Peripheral blocks from the MBDT library (Dio, Adc, Pwm, Can, Uart, …) automatically populate their parameter dialogs with the instances, channels, and signals defined in the .mex file. Step 12: Validate the link Add a Dio block from the MBDT library Open the block dialog and verify that DioLed0 appears in the Channel drop-down If the channel is missing, re-run Update Code in S32CT and refresh the block dialog 9 Debugging and Validation After the S32CT project is created and linked to Simulink, you can validate the configuration in several ways: Build the Simulink model ( Ctrl + B ) and confirm that no configuration-related errors are reported Inspect the generated files under the model build folder for the expected driver initialization calls Use the S32DS debugger to step through the startup sequence and verify that Port_Init , Mcu_Init , and Dio_Init execute correctly Use FreeMASTER or a UART console to confirm that the peripherals behave as configured on the target 10 References Quick Start Guide for S32K3X4EVB Board Model-Based Design Toolbox (MBDT) – How To S32 Configuration Tool User Guide RTD Reference Manual for the target device family 11 Conclusion Correctly using S32CT guarantees that the low-level MCU configuration and the high-level Simulink model remain aligned throughout the development cycle. This is a key enabler for a robust Model-Based Design flow on NXP S32 devices, especially in automotive projects that need to comply with AUTOSAR and functional safety requirements.
View full article
UUU with iMX95 Hi, I want to download and run U-Boot on a iMX95 based system. I created this script cmd.lst: # { SDPS: boot -f flash.bin SDPS: done SDPV: delay 1000 SDPV: write -f flash.bin -skipspl SDPV: jump SDPV: done # } If I follow this commands step by step on command line it works fine.  But if I call => sudo /usr/bin/uuu -v -b ./cmd.lst  it hangs Wait for Known USB Device Appear... New USB Device Attached at 1:41-636B3EF4AB264648 1:41-636B3EF4AB264648>Start Cmd:SDPS: boot -f flash.bin 100%1:41-636B3EF4AB264648>Okay (3.007s) 1:41-636B3EF4AB264648>Start Cmd:SDPS: done 1:41-636B3EF4AB264648>Okay (0s) Is it not allowed to do this steps within one command list? Or what is wrong with this command list? Re: UUU with iMX95 Yes, SDPS and SDPV steps can be in one UUU command list. For i.MX95 the intended sequence is: first SDPS: boot -f flash.bin starts SPL, then SDPV: write -f flash.bin -skipspl and SDPV: jump complete/start U-Boot . The script examples I found use the same combined SDPS→SDPV flow without an SDPS: done between them . What is wrong in your case is most likely the done placement, and possibly the way you invoke the script: uuu_version 1.5.233 SDPS: boot -f flash.bin SDPV: delay 1000 SDPV: write -f flash.bin -skipspl SDPV: jump Run it as a custom script file directly: sudo /usr/bin/uuu -v ./cmd.lst not as: sudo /usr/bin/uuu -v -b ./cmd.lst The -b option is documented for UUU built-in scripts such as sd , emmc , sd_all , or emmc_all , while a custom script file is normally passed directly to uuu . Also, done is described as the last command for the whole flow, so putting SDPS: done immediately after the first boot stage can make UUU stop that stage and wait for the next known USB device instead of continuing cleanly into the SDPV stage . So I would change your file from: SDPS: boot -f flash.bin SDPS: done SDPV: delay 1000 SDPV: write -f flash.bin -skipspl SDPV: jump SDPV: done to: uuu_version 1.5.233 SDPS: boot -f flash.bin SDPV: delay 1000 SDPV: write -f flash.bin -skipspl SDPV: jump If it still waits at the SDPS→SDPV transition, try a newer UUU release; one i.MX95 report specifically recommends moving from uuu_1.5.201 to uuu_1.5.233 for hangs at 100% . You can also increase the stage-switch wait timeout with -T , which is the timeout for waiting for the next known USB device at a stage switch . Use one script, but remove the intermediate done lines and run the file directly with uuu -v ./cmd.lst ; then update UUU or increase -T only if the board still does not re-enumerate into the SDPV stage. Re: UUU with iMX95 Hi and thank you@yipingwang  Please excuse the late feedback.... When I changed the cmd-lst to: SDPS: boot -f flash.bin SDPV: delay 1000 SDPV: write -f flash.bin -skipspl SDPV: jump SDPV: done and then switched to uuu_1.5.233 it worked fine. But the call must be: => ./uuu -v -b ./cmd.lst With => ./uuu -v ./cmd.lst it seems uuu try to load the cmd.lst as a botloader binary. It returns: New USB Device Attached at 3:5-636B3EF4AB264648 3:5-636B3EF4AB264648>Start Cmd:SDPS: boot -f "./cmd.lst"
View full article
S32K142 LPSPI0 主设备(lpspi_transfer 示例):SCK 时钟未正确切换 NXP社区的各位朋友,大家好! 我正在使用NXP lpspi_transfer_s32k142 示例,在 S32K142 板上将 LPSPI0设置为主模式,没有对示例配置进行重大更改。 我的问题是SCK/时钟波形切换不正确。我正在使用逻辑分析仪监测SCK、MOSI、MISO和PCS信号。 对于8 位(1 字节)传输,我预期会有 8 个 SCK 时钟脉冲,但逻辑分析仪显示的是异常/连续的时钟波形,而不是预期的脉冲。 配置: LPSPI0 – 主控 500 kHz 8 位帧 PCS0 CPOL = 活跃高 CPHA = 第一边 传输类型 = 中断 我附上了显示 SCK 波形的逻辑分析仪截图。 请问有人能帮我理解一下为什么NXP示例中的SCK时钟无法正确切换,以及我应该检查哪些配置吗? 谢谢! Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly 如果可以的话,我建议您将修改后的测试项目发送给我,以便我能快速重现您在 S32K142EVB 上遇到的问题。 Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly 嗨,罗宾, 感谢您的反馈, 在我当前的配置中,“PCS 连续”选项未选中,生成的配置包含: .isPcsContinuous = false 我没有修改过这个设置。 在上传的波形图中,我也没有得到预期的干净的SPI时序。对于 1 字节的传输,我期望在整个传输过程中,PCS 钳位时,有 8 个 SCK 时钟脉冲(PCS 有效 → 8 个时钟脉冲 → PCS 无效)。然而,我的逻辑分析仪捕获并没有清楚地显示这种预期行为。SCK 脉冲似乎不规则,PCS/使能信号在整个 SPI 帧周围没有表现出预期的高/低行为。 我已附上电流波形图供您参考。 请问在使用 LPSPI_DRV_MasterTransferBlocking() API 和当前 LPSPI 配置时,这种 PCS 和 SCK 行为是否符合预期? 我还会测试启用 PCS 连续播放功能后的结果,并分享结果。 问候, 雷沙姆 Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly HI 你上传的图片太模糊了,我看不清SPI波形。 您是否修改了lpspi_transfer_s32k142的LPSPI0配置,以选择PCS连续传输? lpspi_transfer_s32k142 LPSPI0 PCS continuous.pnglpspi_transfer_s32k142 LPSPI0 PCS continuous.pnglpspi_transfer_s32k142 LPSPI0 PCS continuous.pnglpspi_transfer_s32k142 LPSPI0 PCS 连续.png 建议在清晰的SPI波形图上使用箭头或文字标记您认为存在问题的位置。这将有助于我快速理解你的问题。 此致敬礼, Robin Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly 您好, 请查看附件中的 ZIP 文件,其中包含针对 S32K142EVB 修改后的 LPSPI 传输测试项目。 请您检查一下项目,并告知我LPSPI传输配置是否正确,或者是否需要进行任何更改? 感谢你的支持 此致, 雷沙姆 Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly 为什么我看不到 .mex 域名您发送的 SPI.zip 文件里有这个文件吗?不带 .mex 后缀文件里,我无法知道你是如何配置 LPSPI 的。你使用的是哪个版本的S32DS?我导入了您的项目,它告诉我您正在使用 S32K1 SDK RTM 4.0.1。请确认S32DS和SDK的版本,以便我安装进行测试。 我无法使用 S32DS v3.4 和 S32K1 SDK 4.0.2 和 4.0.3 正确编译您的项目。已安装。我怀疑您的 S32DS SDK 没有正确安装,所以才没有 .mex 文件。文件已保存到您的项目中。 你是从其他同事那里拿到这个项目的吗?开发过程中是否必须使用相同的SDK版本? 请确定您需要安装哪个版本的S32K1 SDK。 S32K1 SDK 4.0.3可通过S32DS v3.4中的S32DS 扩展和更新进行安装。 据我所知, S32K1 SDK 4.0.1目前只能在S32DS v3.3中使用。 S32K1 SDK 4.0.2 ( SW32K1_S32DS_3.4.1_D2106.zip ) 可安装在S32DS v3.4中。有关安装说明,请参阅: S32 Design Studio v3.4 S32K1 Service Pack 1 发布! Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly 在S32DS v3.3中安装了S32DS Extensions and Updates提供的S32K1 SDK 4.0.1后,我能够正确构建项目,没有出现任何错误。 在 S32DSv3.3.png 中安装 S32K1 SDK 4.0.1 在 S32DSv3.3 中安装 S32K1 SDK 4.0.1 S32DS 扩展和更新.png 下面这些是我在调试您的 SPI 项目时,在 S32K142EVB 的 LPSPI0 引脚上获得的 SPI 波形。我使用逻辑分析仪捕获了以下引脚的SPI波形: PTB0 PCS0 J4.5 PTB2 SCK0 J2.11 PTE1 SIN0 J5.14 PTB4 南0 J2.7 SPI波形看起来与您的配置相符。我使用的逻辑分析仪和你的不一样。我建议您按照我的截图中显示的配置来配置您的逻辑分析仪。 debug LPSPI0 S32K1 SDK 4.0.1.png
View full article
S32K312MINI-EVB 你好, 我使用的是NXP S32K312MINI-EVB开发板。 最初,电路板已通电,LED 指示灯也亮着,但 Windows 设备管理器未检测到 USB 连接。 我已确认 PEmicro 驱动程序已安装。设备管理器显示: Jungo 连接 → pemicrovincdrv 我还用另一台电脑和另一个 USB 连接测试了该电路板,但该电路板未被识别。 在故障排除过程中,当电路板通过 USB 连接时,我移除了J19 和 J20 跳线。电路板上的LED灯熄灭了。 然后我把跳线接回去了,但是现在当我尝试通过 USB 供电时,板无法开机。当我通过 J1 提供 12V 电压时,只有 RGB LED 灯亮起。 根据 S32K312MINI-EVB 硬件用户手册: USB-C J9 → J19 = 1–2,J20 = 1–2 12V J1 → J19 = 2–3,J20 = 2–3 我已经按要求设置了 J19/J20,但是电源指示灯仍然熄灭。 请问有人可以帮我判断一下电路板的电源电路是否可能受到影响,以及我应该测量哪些测试点吗? 我可以提供电路板的照片以及 J23 (VBAT)、J24 (VBST)、J16 (P5V0)、J17 (P3V3) 和 J27 (GND) 处的电压测量结果。 谢谢! Re: S32K312MINI-EVB HI 请勿使用USB集线器;请将USB线缆直接连接到电脑。我建议使用 USB 3.0 或 Type-C 接口连接。 S32K312MINI on board debugger.pngS32K312MINI 板载调试器.png 红色 OSDA_LED D9 指示灯是否亮起? 否则,OpenSDA 可能无法正常工作,这将阻止板载调试器的使用。 请根据电路图逐一检查电压。 此致敬礼, Robin Re: S32K312MINI-EVB HI 当使用 USB 供电(J19 1-2,J20 1-2)时,J19 的引脚 2 测量值为 12V,J20 的引脚 2 测量值为 5V。D9 上的红色 OSDA_LED 亮起。 UM12505 表 3. 供电板方法(低电流).png 当通过 J1(J19 2-3,J20 2-3)外部供电时,J19 和 J20 的引脚 2 均测量为 12V。所有LED灯均未亮起。在这种情况下,需要将外部调试器连接到 J7,以便将程序下载到 S32K312。 UM12505 表 4. 供电板方法(高电流).png 另外,请参阅 UM12505、FRDM-A-S32K312 开发板 MCU 硬件用户手册 中的 图 3. 主 THP 用于功率测量, 以检查其是否符合 表 5. 用于测量电压的通孔焊盘 。 UM12505 表 5. 用于测量电压的通孔焊盘 图 3. 用于功率测量的主 THP.png
View full article
MFS2633芯片的FS26_VPRE是否可以带外设负载 请问MFS2633芯片的VPRE是否可以带外设芯片负载?如果LDO1、LDO2、TRK1、TRK2的电流输出已经满载使用,是不是VPRE便没有额外电流输出能力了? Alternator Regulator Re: MFS2633芯片的FS26_VPRE是否可以带外设负载 建海您好, 是的,MFS2633 VPRE 输出除了为下游内部调节器供电外,还可以为 ECU 内部的其他本地外围负载供电。数据表明确指出,VPRE 可以为 VCORE、LDO1、LDO2、TRK1、TRK2 等以及本地 ECU 负载供电。 但是,规定的 1.5A VPRE 能力是必须同时覆盖连接到 VPRE 的每个负载的总输出电流预算,包括内部下游调节器和任何外部外围负载。 因此,如果LDO1、LDO2、TRK1和TRK2都以其最大输出电流工作,则它们的总额定输出电流为:400mA + 400mA + 150mA + 150mA = 1.1A 总而言之:是的,VPRE 可以为外部外围设备供电,但所有连接负载的总电流(内部稳压器和外部外围设备的总和)必须保持在 1.5A 的额定输出范围内。如果所有四个下游调节器都满负荷运行,则 VPRE 上额外的外部外围负载的裕量将非常有限,或者实际上为零,具体取决于 VCORE 负载和静态功耗。您需要进行完整的功率预算计算,以确定剩余的余量。 BRs,托马斯
View full article
S32K344 Secure debug problem i have meet a problem when i used the s32k344 chip,first time when i program the chip is ok,and program is running nomal,but when second program use PE and can not connect the targert,the error is blelow picture: fe6b2cf0ebcb862d181cfdc8fc0582f.png   IDE is S32DS3.4,and use PE download program,i am not sure why this issue have happened, may be the board chie entry the secure mode,how i change it to unsecure state?may be have some method?how solve this issue?   Re: S32K344 Secure debug problem Hello Team, I am facing an issue while debugging an S32K344 (M7) custom board using S32 Design Studio 3.6.8 and a PEmicro USB Multilink Universal FX debugger. Environment MCU: S32K344 (Q257) Hardware: Custom Board IDE: S32 Design Studio 3.6.8 Debugger: PEmicro USB Multilink Universal FX Connection: SWD Re: S32K344 Secure debug problem Hi Lukas, have you solved this problem now?I have the same problem,when i use S32K344. Re: S32K344 Secure debug problem Hi, I just tested it and it works on my side. I used the same example, I programmed it several times by PE, tried to do power off-on and it still works. It really shouldn't be related to the security. As I already mentioned, that's standard message when PE can't enter debug mode for some reasons. Was that brand new board? Did you check the ribbon cable between PE and the board? Can you program another board? Regards, Lukas Re: S32K344 Secure debug problem Hi, it doesn't sound like problem with the security, it's rather general message that the debugger can't establish the connection. I will try to check it on my board tomorrow. I will let you know my findings. Regards, Lukas
View full article
S32K344 安全调试问题 我在使用S32K344芯片时遇到了问题。第一次编程时一切正常,程序运行也正常,但第二次使用PE编程时却无法连接目标设备,错误信息如下图所示: fe6b2cf0ebcb862d181cfdc8fc0582f.png   IDE是S32DS3.4,我使用PE下载程序,但不确定为什么会出现这个问题,可能是主板进入了安全模式,如何将其切换到非安全状态?是否有其他方法?解决这个问题了吗?   Re: S32K344 Secure debug problem 各位团队成员,大家好! 我在使用S32 Design Studio 3.6.8调试S32K344 (M7) 定制板时遇到问题。以及一个PEmicro USB 多链路通用 FX调试器。 环境 MCU:S32K344 (Q257) 硬件:定制板 IDE:S32 设计工作室 3.6.8 调试器:PEmicro USB 多链路通用 FX 连接方式:SWD Re: S32K344 Secure debug problem 嗨,卢卡斯, 你现在解决这个问题了吗?我使用S32K344时也遇到了同样的问题。 Re: S32K344 Secure debug problem 您好, 我刚刚测试了一下,在我这边可以正常运行。我用了同样的例子,用 PE 编程了好几次,尝试了断电重启,它仍然有效。 这其实与安全无关。正如我之前提到的,当 PE 由于某些原因无法进入调试模式时,就会出现这条标准消息。那块板子是全新的吗?你检查过PE和主板之间的排线吗?你能给另一块电路板编程吗? 此致, Lukas Re: S32K344 Secure debug problem 您好, 听起来不像网络安全方面的问题,而是一个比较笼统的消息,提示调试器无法建立连接。我明天会在我的板子上检查一下。我会把我的发现告诉你。 此致, Lukas
View full article
MFS2633チップのFS26_VPREは周辺機器の負荷を駆動できますか? MFS2633チップのVPREは周辺チップの負荷に電力を供給できますか?LDO1、LDO2、TRK1、TRK2の電流出力が既に最大負荷状態の場合、VPREにはそれ以上の電流出力能力はないのでしょうか? オルタネーターレギュレーター Re: MFS2633芯片的FS26_VPRE是否可以带外设负载 こんにちは、ジェンハイさん はい、MFS2633 VPRE出力は、下流の内部レギュレーターに電力を供給するだけでなく、ECU内部の追加**ペリフェラル負荷**への供給にも使われることがあります。データシートには、VPREがVCORE、LDO1、LDO2、TRK1、TRK2などおよびローカルECU負荷を供給できることが明記されています。 しかし、指定された1.5A VPREの容量は、VPREに接続されたすべての負荷を同時にカバーしなければならない総出力電流予算であり、内部下流レギュレーターと外部ペリフェラル負荷も同時にカバーします。 したがって、LDO1、LDO2、TRK1、TRK2がすべて最大出力電流で動作している場合、それらの合計公称出力電流は次のようになります。400mA + 400mA + 150mA + 150mA = 1.1A まとめると:はい、VPREは外部ペリフェラルに電力を供給できますが、コネクテッドされたすべての負荷(内部レギュレーターと外部ペリフェラルの合計)からの総電流は1.5Aの定格出力内に収まらなければなりません。4つの下流レギュレータすべてがフルロードされている場合、VPREで追加の外部ペリフェラル負荷の余裕は非常に限られ、または実質的にゼロになります。これはVCOREの負荷や静止時の消費電力に依存します。どれだけの余裕が残っているかを正確に判断するには、完全な電力予算計算を実行する必要があります。 BRs、トーマス
View full article
MBDT_S32E2_Issue Hi Team, I am reaching out for assistance as I am currently unable to install the Model Based Design Toolbox for S32Z/E. I have MATLAB 2024b (even tried with MATLAB 2026a) installed on my system and also have an active NXP account. I downloaded the NXP_Support_Package_S32ZE_1.4.0_D2512.mltbx file, however when I attempt to proceed with the installation, the process remains stuck indefinitely without completing or progressing further. I would really appreciate your help in identifying what might be causing this issue and any guidance on how I can successfully complete the installation. Please let me know if there are any logs or additional details I should provide to assist in troubleshooting. Thank you in advance for your support. Attached image is for your reference. Re: MBDT_S32E2_Issue Thanks Joey_z for your response. I have followed the instructions provided in the MBD Toolbox S32Z/E Series quick start guide. But still facing the same issue. Additionally, does this toolbox supports MATLAB 2026a? Thanks and Regards Ravi Re: MBDT_S32E2_Issue Hi,RaviThade1 Thank you for contacting us. Please try to refer to this link for your application: MBD Toolbox Model-Based Design Toolbox | NXP Semiconductors BR Joey Re: MBDT_S32E2_Issue Adding additional info with screenshot. Re: MBDT_S32E2_Issue Hi Joey_z, Have you got chance to look at details that I have sent?. I have provided all the details. your reply says "The user needs to execute a toolbox m-script" however the toolbox m-script is not getting generated for 2024b/2026a. What could be the reason? Am I missing anything else? Thanks in advance, Best Regards, Ravi Re: MBDT_S32E2_Issue Hi, RaviThade1 Refer to the start guide information. The Model-Based Design Toolbox uses the Toolchain mechanism exposed by the MATLAB/Simulink to enable automatic code generation with Embedded Coder toolbox. By default, the toolchain is configured for the MATLAB 2022a release. For any other MATLAB release, the user needs to execute a toolbox m-script to generate the appropriate settings for installation environment. BR Joey Re: MBDT_S32E2_Issue Hi,RaviThade1 Thank you for your reply. This channel mainly addresses technical issues related to S32Z/E. Currently, MBDT related detail queries will be got more supported under the following MBDT community: https://community.nxp.com/community/mbdt Would you mind creating a new post in the community mentioned above? The engineers responsible for this topic actively monitor that forum and will be able to assist you further. BR Joey
View full article
S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly Hello NXP Community, I am using the NXP lpspi_transfer_s32k142 example with LPSPI0 in Master mode on an S32K142 board, without major changes to the example configuration. My issue is that the SCK/Clock waveform is not toggling correctly. I am monitoring SCK, MOSI, MISO and PCS with a logic analyzer. For an 8-bit (1-byte) transfer, I expect 8 SCK clock pulses, but the logic analyzer shows an abnormal/continuous-looking clock waveform instead of the expected pulses. Configuration: LPSPI0 – Master 500 kHz 8-bit frame PCS0 CPOL = Active High CPHA = 1st edge Transfer type = Interrupt I have attached the logic analyzer screenshot showing the SCK waveform. Could someone please help me understand why the SCK clock is not toggling correctly in the NXP example and what configuration I should check? Thank you. Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly If possible, I suggest you send me the modified test project so that I can quickly reproduce the problem you encountered on the S32K142EVB. Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly Hi Robin, Thank you for your response. In my current configuration, PCS continuous is unchecked, and the generated configuration has: .isPcsContinuous = false I have not modified this setting. In the uploaded waveform, I am also not getting the expected clean SPI timing. For a 1-byte transfer, I expect 8 SCK clock pulses while PCS is asserted for the complete transfer (PCS active → 8 clock pulses → PCS inactive). However, my logic analyzer capture does not show this expected behavior clearly. The SCK pulses appear irregular, and the PCS/Enable signal is not showing the expected high/low behavior around the complete SPI frame. I have attached the current waveform for reference. Could you please confirm whether this PCS and SCK behavior is expected with the LPSPI_DRV_MasterTransferBlocking() API and the current LPSPI configuration? I will also test with PCS continuous enabled and share the result. Regards, Resham Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly Hi The image you uploaded is too blurry; I can't see the SPI waveform clearly. Did you modify the LPSPI0 configuration of lpspi_transfer_s32k142 to select PCS continuous? lpspi_transfer_s32k142 LPSPI0 PCS continuous.pnglpspi_transfer_s32k142 LPSPI0 PCS continuous.pnglpspi_transfer_s32k142 LPSPI0 PCS continuous.pnglpspi_transfer_s32k142 LPSPI0 PCS continuous.png It is recommended to use arrows or text to mark where you think there is a problem on a clear SPI waveform. This will help me quickly understand your question. Best Regards, Robin Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly Hi, Please find attached the ZIP file containing the modified LPSPI transfer test project for the S32K142EVB. Could you please check the project and let me know if the LPSPI transfer configuration is correct or if any changes are required? Thanks for your support. Best regards, Resham Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly Why can't I see the .mex file in the SPI.zip you sent? Without the .mex file, I have no way of knowing how you configured LPSPI. Which version of S32DS are you using? I imported your project, and it tells me you are using S32K1 SDK RTM 4.0.1. Please confirm the version of S32DS and SDK so I can install them for testing. I'm unable to compile your project correctly using S32DS v3.4 with S32K1 SDK 4.0.2 and 4.0.3 installed. I suspect your S32DS SDK is not installed correctly, which is why there is no .mex file in your project. Did you obtain the project from another colleague? Is it mandatory to use the same SDK version for development? Please determine which version of the S32K1 SDK you need to install.  S32K1 SDK 4.0.3 can be installed by S32DS Extensions and Updates in S32DS v3.4.  As far as I know, S32K1 SDK 4.0.1 can currently only be available in S32DS v3.3. S32K1 SDK 4.0.2 (SW32K1_S32DS_3.4.1_D2106.zip) can be installed in S32DS v3.4. For installation instructions, please refer to: S32 Design Studio v3.4 S32K1 Service Pack 1 released! Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly After installing S32K1 SDK 4.0.1 by S32DS Extensions and Updates in S32DS v3.3, I was able to build the project correctly without errors.  install S32K1 SDK 4.0.1 in S32DSv3.3.png install S32K1 SDK 4.0.1 in S32DSv3.3 S32DS Extensions and Updates.png Below are the SPI waveforms I obtained while debugging your SPI project on the LPSPI0 pin of the S32K142EVB. I used a logic analyzer to capture the SPI waveforms for the following pins: PTB0 PCS0 J4.5 PTB2 SCK0 J2.11 PTE1 SIN0 J5.14 PTB4 SOUT0 J2.7 The SPI waveforms appear to match your configuration. The logic analyzer I'm using is different from yours. I suggest you configure your logic analyzer according to the configuration shown in my screenshot. debug LPSPI0 S32K1 SDK 4.0.1.png
View full article
S32K358がUART RXデータを受信していません FRDM A S32K358ボード上でUART通信のテストを試みています。このミッションでUART6のトランザクションとRXを使い、テラの指標データも正常に見られ、デバッガーでもAPIの状態Lpuart_Uart_Ip_SyncSend成功しています。しかし、レシーバのuart6rxピンをLpuart_Uart_Ip_SyncReceive(UART_LPUART_INTERNAL_CHANNEL、rxData、1、10000)で処理しようとすると、応答タイムアウトが発生しました。 そこでUart3など別のUARTで確認しましたが、同じ挙動でした。その後PTD3を設定してみましたが、PTD2はGPIOとして動作し、両方のピンを設定しようとしました。この場合、PTD3は設定されておらず(動作は変わりません)、PTD2は1に設定されています。 RXデータの確認方法を教えてください。ハードウェアのピンループバックを試みています。私はロジックアナライザを持っていません。 よろしくお願いいたします! Ankita_0-1787651884647.png
View full article
S32K142 LPSPI0 マスター (lpspi_transfer の例): SCK クロックが正しくトグルしない こんにちは、NXPコミュニティの皆さん、 私はNXPのlpspi_transfer_s32k142サンプルを、S32K142ボード上でLPSPI0をマスターモードで使用していますが、サンプル構成に大きな変更は加えていません。 私の問題は、 SCK/クロック波形が正しく切り替わらないことです。ロジックアナライザを使用して、SCK、MOSI、MISO、およびPCSを監視しています。 8ビット(1バイト)の転送の場合、8つのSCKクロックパルスが発生するはずですが、ロジックアナライザでは、期待されるパルスではなく、異常な/連続したように見えるクロック波形が表示されます。 構成: LPSPI0 – マスター 500kHz 8ビットフレーム PCS0 CPOL = アクティブハイ CPHA = 1番目のエッジ 転送タイプ = 割り込み SCK波形を示すロジックアナライザのスクリーンショットを添付しました。 NXPの例でSCKクロックが正しく切り替わらない理由と、どの設定を確認すればよいのか、どなたか教えていただけませんか? よろしくお願いします。 Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly 可能であれば、修正済みテストプロジェクトを送ってほしい。そうすれば、S32K142EVBで直面した問題を素早く再現できるから。 Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly こんにちは、ロビンさん。 ご返信ありがとうございます。 現在の構成では、PCS連続はチェックされておらず、生成された構成は次のようになっています。 .isPcsContinuous = false 私はこの設定を変更していません。 アップロードした波形でも、期待していたようなクリーンなSPIタイミングが得られていません。1バイトの転送の場合、転送完了までPCSがアサートされている間に8つのSCKクロックパルスが発生すると予想されます(PCSアクティブ→8クロックパルス→PCS非アクティブ)。しかし、私のロジックアナライザによるキャプチャでは、この期待される動作が明確に示されていません。SCKパルスは不規則に現れており、PCS/イネーブル信号はSPIフレーム全体にわたって期待されるハイ/ローの動作を示していません。 参考までに電流波形を添付しました。 このPCSやSCKの挙動は、LPSPI_DRV_MasterTransferBlocking()APIと現在のLPSPI構成で予想されるものかどうか確認していただけますか? PCSを常時有効にした状態でもテストを行い、結果を共有します。 よろしくお願いいたします。 レシャム Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly ハイ アップロードした画像はぼやけすぎます。SPIの波形がはっきり見えません。 lpspi_transfer_s32k142のLPSPI0設定を変更して、 PCS連続モードを選択しましたか? lpspi_transfer_s32k142 LPSPI0 PCS continuous.pnglpspi_transfer_s32k142 LPSPI0 PCS continuous.pnglpspi_transfer_s32k142 LPSPI0 PCS continuous.pnglpspi_transfer_s32k142 LPSPI0 PCS 連続.png 明確なSPI波形で問題があると思われる箇所を示すために矢印やテキストを使うことが推奨されます。これにより、あなたの質問を迅速に理解できます。 よろしくお願いいたします ロビン Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly こんにちは、 S32K142EVB用の修正済みLPSPI転送テストプロジェクトを含むZIPファイルを添付しましたのでご確認ください。 プロジェクトを確認して、LPSPIの転送設定が正しいか、または変更が必要か教えていただけますか? ご対応ありがとうございます。 よろしくお願いします、 レシャム Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly なぜ.mexが見えないのか送信されたSPI.zipファイル内のファイルですか?.mexなしファイルの内容から判断すると、LPSPIをどのように設定したのか私には分かりません。あなたはどのバージョンのS32DSを使用していますか?あなたのプロジェクトをインポートしたところ、S32K1 SDK RTM 4.0.1を使用していると表示されました。テストのためにインストールするためにS32DSとSDKのバージョンを確認してください。 S32DS v3.4とS32K1 SDK 4.0.2および4.0.3を使って正しくコンパイルできませんインストール済み。S32DS SDKが正しくインストールされていないのではないかと疑っています。だから.mexファイルがないのですプロジェクト内のファイル。 そのプロジェクトは他の同僚から引き継いだものですか?開発に必ず同じSDKバージョンを使う必要がありますか? インストールすべきS32K1 SDKのバージョンをご確認ください。 S32K1 SDK 4.0.3は、S32DS v3.4の拡張機能やアップデートによってインストール可能です。 私の知る限り、 S32K1 SDK 4.0.1 は現在S32DS v3.3でしか利用できません。 S32K1 SDK 4.0.2(SW32K1_S32DS_3.4.1_D2106.zip)はS32DS v3.4にインストール可能です。インストール手順については、S32 Design Studio v3.4 S32K1 Service Pack 1がリリースされました! Re: S32K142 LPSPI0 Master (lpspi_transfer example): SCK clock not toggling correctly S32DSの拡張とアップデートでS32DS v3.3にS32K1 SDK 4.0.1をインストールした後、エラーなくプロジェクトを正しく構築できました。 インストール S32K1 SDK 4.0.1 in S32DSv3.3.png インストール S32K1 SDK 4.0.1 in S32DSv3.3 S32DS 拡張とUpdates.png 以下は、S32K142EVBのLPSPI0ピンでSPIプロジェクトをデバッグ中に取得したSPI波形です。ロジックアナライザを使用して、以下のピンのSPI波形をキャプチャしました。 PTB0 PCS0 J4.5 PTB2 SCK0 J2.11 PTE1 SIN0 J5.14 PTB4 南 J2.7 SPI波形は、お客様の設定と一致しているようです。私が使っているロジックアナライザは、あなたのものとは異なります。私のスクリーンショットに示されている設定に従って、ロジックアナライザを設定することをお勧めします。 debug LPSPI0 S32K1 SDK 4.0.1.png
View full article
MBDT_S32E2_問題 皆さんこんにちは。現在S32Z/EのModel Based Design Toolboxをインストールできないため、助けを求めています。私のシステムにはMATLAB 2024b(MATLAB 2026aでも試しました)がインストールされており、NXPのアカウントも有効です。NXP_Support_Package_S32ZE_1.4.0_D2512.mltbx ファイルをダウンロードしましたが、インストールを進めようとすると、処理が完了または進行することなく、いつまでも停止したままになります。この問題の原因を特定する手助けや、インストールを円滑に完了させるためのアドバイスをいただけると本当にありがたいです。トラブルシューティングに役立つログや追加情報があればお知らせください。サポートにあらかじめ感謝いたします。 添付画像は参考用です。 Re: MBDT_S32E2_Issue Joey_zさん、ご回答ありがとうございます。 MBD Toolbox S32Z/E シリーズのクイックスタートガイドに記載されている指示に従いました。しかし、依然として同じ問題に直面している。 さらに、このツールボックスはMATLAB 2026aをサポートしていますか? よろしくお願いいたします。 ラヴィ Re: MBDT_S32E2_Issue こんにちは、 RaviThade1 お問い合わせいただきありがとうございます。 申請時にはこちらのリンクをご参照ください。 MBDツールボックス モデルベースデザインツールボックス |NXPセミコンダクターズ BR ジョーイ Re: MBDT_S32E2_Issue スクリーンショットを添えて追加情報を掲載します。 Re: MBDT_S32E2_Issue こんにちは、Joey_zさん。 私が送った詳細情報をご覧いただけましたでしょうか?詳細はすべて提供しました。 あなたの返信には「ユーザーはツールボックスのM-スクリプトを実行する必要があります」と書かれていますが、2024b/2026aのツールボックスMスクリプトは生成されていません。その理由は何でしょうか? 他に何か見落としていることはありますか? 前もって感謝します、 よろしくお願いします、 ラヴィ Re: MBDT_S32E2_Issue こんにちは、RaviThade1 ご返信よろしくお願いします。 このチャネルは主にS32Z/Eに関する技術的な問題を扱っています。 現在、MBDT関連の詳細な問い合わせは、以下のMBDTコミュニティでより手厚くサポートされます。 https://community.nxp.com/community/mbdt 上記のコミュニティに新しい投稿を作成してもよろしいでしょうか?このトピックを担当するエンジニアがそのフォーラムを積極的に監視しており、さらにサポートしてくれます。 BR ジョーイ Re: MBDT_S32E2_Issue こんにちは、RaviThade1 スタートガイドの情報を参照してください。 モデルベースデザインツールボックスは、 MATLAB/Simulinkは、組み込みコーダーツールボックスによる自動コード生成を可能にします。による デフォルトでは、ツールチェーンはMATLAB 2022aリリース用に構成されています。他のMATLABについて リリース時には、ユーザーはインストール環境に適した設定を生成するためにツールボックスのM-スクリプトを実行する必要があります。 BR ジョーイ
View full article
S32K358 Not Receiving UART RX Data I am trying to test uart communication on FRDM A S32K358 board. Used the UART6 tx and rx in this in trasmission i can see data on tera term as expected also on debugger seeing Lpuart_Uart_Ip_SyncSend api status is successful. But when i am trying to do for  receiver uart6rx pin it Lpuart_Uart_Ip_SyncReceive(UART_LPUART_INTERNAL_CHANNEL, rxData, 1, 10000) got response timeout.      So i checked with different uart like Uart3 in that case also same behaviour then i tried to configure PTD3 & PTD2 acts as gpio and try to set both pin in that case PTD3 is not set (not change any behavior) but PTD2 set to 1.  Please suggest how i can check rx data i am trying to do hardware loopback on pin. as i am dont have logic analyzer. Thanks in advance! Ankita_0-1787651884647.png
View full article
MBDT_S32E2_问题 各位同事,我目前无法安装 S32Z/E 的基于模型的设计工具箱,因此我联系你们寻求帮助。我的系统上安装了 MATLAB 2024b(甚至尝试过 MATLAB 2026a),并且我还有一个有效的 NXP 帐户。我下载了 NXP_Support_Package_S32ZE_1.4.0_D2512.mltbx 文件,但是当我尝试继续安装时,该过程无限期地卡住,既没有完成也没有进一步进展。我非常感谢您能帮忙找出导致此问题的原因,并指导我如何才能成功完成安装。如果有什么日志或其他细节需要我提供以协助排查问题,请告诉我。感谢您提前给予的支持。 附图供您参考。 Re: MBDT_S32E2_Issue 感谢Joey_z的回复。 我已按照 MBD Toolbox S32Z/E 系列快速入门指南中的说明进行操作。但问题依旧存在。 另外,这个工具箱支持 MATLAB 2026a 吗? 谢谢并致以诚挚的问候 拉维 Re: MBDT_S32E2_Issue 你好, RaviThade1 感谢您与我们联系。 请参考以下链接进行申请: MBD 工具箱 基于模型的设计工具箱 | 恩智浦半导体 BR 乔伊 Re: MBDT_S32E2_Issue 添加更多信息(附截图)。 Re: MBDT_S32E2_Issue 嗨 Joey_z, 您有时间看一下我发给您的详细资料吗?我已经提供了所有细节。 您的回复说“用户需要执行工具箱 m 脚本”,但是 2024b/2026a 并没有生成工具箱 m 脚本。原因可能是什么? 我还有什么遗漏的吗? 提前致谢, 此致, 拉维 Re: MBDT_S32E2_Issue 你好,RaviThade1 请参阅入门指南信息。 基于模型的设计工具箱使用了由以下方式公开的工具链机制: 使用 MATLAB/Simulink 和 Embedded Coder 工具箱实现自动代码生成。经过 默认情况下,工具链配置为 MATLAB 2022a 版本。对于任何其他 MATLAB 版本,用户需要执行工具箱 m 脚本来生成安装环境的适当设置。 BR 乔伊 Re: MBDT_S32E2_Issue 你好,RaviThade1 感谢您的回复。 本频道主要讨论与 S32Z/E 相关的技术问题。 目前,MBDT 相关的详细信息查询将在以下 MBDT 社区获得更多支持: https://community.nxp.com/community/mbdt 您能否在上述社区中创建一个新帖子?负责此主题的工程师会积极监测该论坛,并能为您提供进一步的帮助。 BR 乔伊
View full article