Multi Source Translation Content

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi Source Translation Content

讨论

排序依据:
FlexIO0 SPI-controller TX shifter (SHIFTCTL, PINCFG=11b) never drives its output pin, despite SHIFTS Board: FRDM-MCXN236 (MCX N236, dual Cortex-M33) Toolchain: MCUXpresso IDE 25.6.136, bare-metal register-level C (no SDK peripheral drivers) RM reference: MCX N23x Reference Manual Rev. 4, 2025-03-05, Chapter 53 (FlexIO), Table 453 (SPI controller, CPHA=0 configuration) What I am building: FlexIO0 configured as an SPI controller per RM Table 453: 2 shifters (shifter0 = TX, shifter1 = RX) + 1 timer (timer0 = SCK, dual 8-bit counter baud mode), reading a BME280 sensor over SPI. Pins: P1_0/P1_1/P1_2 muxed to ALT6 (FLEXIO0_D8/D9/D10), confirmed correct via PORT1->PCR readback. Observation: The RX shifter and the SCK timer output both work perfectly — SCK toggles cleanly and on-schedule (confirmed via two independent registers, see below), and SHIFTSTAT/TIMSTAT report normal, on-time, error-free completion of every transfer. But the TX shifter's own output pin (SDO, D8) never shows any electrical movement whatsoever, regardless of what's written to it, under every variation I've been able to think of. The chip-ID register read back from the sensor is always 0x00, never the expected 0x60 (which a separate, working FlexComm/LPSPI3 driver on the same board, same sensor, same boot, reads correctly). Register configuration (matches RM Table 453 exactly, PINSEL substituted for real pins) SHIFTCFG0 = 0x0000_0000 (RM: 0000_0000h -- start/stop bit disabled) SHIFTCTL0 = 0x0083_0002 (RM: 0083_0002h, PINSEL=8 for our real D8/SDO) decodes to: TIMSEL=0, TIMPOL=1(neg edge), PINCFG=3(11b, driven output), PINSEL=8, PINPOL=0, SMOD=2(Transmit) -- every field verified against RM's literal example, only PINSEL substituted SHIFTCFG1 = 0x0000_0000 SHIFTCTL1 = 0x0000_0101 (RM: 0000_0101h, PINSEL=10 for our real D10/SDI) TIMCMP0 = derived per RM's own formula (8-bit frames, baud divider for 1MHz SCK) TIMCFG0 = 0x0100_2222 (RM literal value, no pin substitution needed) TIMCTL0 = 0x01C3_0201 (RM: 01C3_0201h, PINSEL=9 for our real D9/SCK) What I've ruled out, each via direct hardware evidence (debugger register/memory inspection, no oscilloscope available): Pin mux not reaching ALT6 -- PCR readback confirms correct ALT6 config on all four pins used. Sensor/wiring fault -- a separate, working FlexComm/LPSPI3 SPI driver reads the chip ID (0x60) correctly from the same physical sensor, same boot. SCK never toggling on the physical pin -- confirmed toggling via TWO independent registers sampled at the same instants: FLEXIO0->PIN (bit 9) and GPIO1->PDIR (bit 1, a completely separate peripheral block with no FlexIO-internal logic in its path). Both agree, in real time, sample for sample. TX byte-lane placement in SHIFTBUFBIS (the bit-swapped alias register) -- tried the low byte, the high byte (re-derived from RM 53.3.1's shift-register microarchitecture description, not just the summary table), and a byte-lane-agnostic full 32-bit alternating write (0xAAAAAAAA) -- all produce an identical, permanently flat SDO. TX buffer underrun (SHIFTERR) -- reads 0x0 (clean) every time, captured immediately after a successful RX-ready wait. Pin/pad-specific fault -- retargeted shifter0's PINSEL to a completely different physical pin (D9 instead of D8); still flat. The timer, using the identical PINCFG=11b "driven output" mechanism, drives either pin correctly. "Implicit load on enable" (RM 53.3.1: the shifter status flag sets "when data has been loaded from SHIFTBUF into the shifter or when the shifter is initially configured for Transmit mode" -- i.e. a possible stale first-cycle load) -- ruled out via a throwaway first transfer followed by a traced, unambiguously-second transfer: identical flat result. SHIFTBUFBIS alias write-path asymmetry -- wrote the same byte-lane-agnostic pattern through the plain, non-aliased SHIFTBUF[0] register instead of SHIFTBUFBIS[0]: identical flat result. FLEXIO0->PINOUTD/PINOUTE/PINOUTDIS (the global per-pin software output-override registers, RM 53.3.3.3) -- live readback shows all zero, meaning "controlled by timer/shifter configuration" (the normal state) on both the working SCK pin and the non-working SDO pin identically. Not the cause. FLEXIO0->PIN readback itself being unreliable -- see #3 above; independently confirmed via GPIO1->PDIR. Shifter0-instance-specific defect -- reproduced the identical flat result using shifter2 instead, configured with the bit-for-bit identical SHIFTCTL value. Same failure. Not instance-specific. RM 53.7.1.27's documented two-step PINCFG write sequence (write 10b first, then a separate write to 11b, to avoid a brief low glitch on first configuration) -- applied directly: identical flat result. I also checked the one published mask-set errata document for this part (MCXN23x_0P21K Rev. 2.0) -- no FlexIO-related entries at all -- and NXP's own FlexIO-SPI application note (AN12780), which adds no guidance beyond what RM Table 453 already documents. Question: Given the shifter's internal bookkeeping (SHIFTSTAT, SHIFTERR, TIMSTAT) reports completely normal, on-schedule, error-free Transmit-mode operation on every test — including the TX-ready flag correctly clearing and re-setting across multiple transfers within the same CS-bracketed transaction, which per RM 53.3.1 should only happen on a genuine timer-triggered reload — and the shift clock itself (same PINCFG=11b "driven output" mechanism, just via TIMCTL instead of SHIFTCTL) is independently proven to reach its physical pin correctly: Is there a known silicon behavior, an undocumented prerequisite, or an RM gap that would prevent a shifter's SHIFTCTL.PINCFG=11b Transmit-mode output specifically (as opposed to a timer's identical PINCFG=11b output) from reaching its assigned pin, on the MCXN23x mask set, even though every register-level configuration matches RM Table 453's own worked example exactly? Happy to share the full register-level project source and a complete, append-only investigation log (every hypothesis tried, every retraction, with exact hardware evidence for each) if useful.     MCXN Re: FlexIO0 SPI-controller TX shifter (SHIFTCTL, PINCFG=11b) never drives its output pin, despite SH Hi @hafeezmhd  Based on the information provided, I do not see any known MCXN23x silicon limitation, erratum, or documented FlexIO requirement that would prevent a shifter configured in Transmit mode with SHIFTCTL.PINCFG = 11b from driving its assigned pin while a timer output on the same FlexIO instance operates normally. Since the timer output is confirmed to reach the physical pin correctly and the FlexIO status flags indicate normal shifter operation, the behavior you are observing is not something we would normally expect from the documented FlexIO SPI configuration. At this point, it would be helpful to review the complete source code and initialization sequence, as well as a full register dump captured after initialization and immediately before a transfer. This may help identify any subtle configuration dependency that is not obvious from the register excerpts alone. If possible, please share the project source, and we can take a closer look. BR Harry
查看全文
LX2160A JTAG(CCS)连接失败 我考虑用DDR工具来LX2160A,但我连接不上。 我认为原因是CCS无法确认JTAG连接。 附上身份码验证结果。 KAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.png 前段时间我尝试连接时,通过 JTAG 确认了连接,但是文件损坏了,由于我没有仔细管理版本,所以一直无法恢复。 Check for Update无法识别从互联网下载时文件损坏的情况,因此无法匹配当前软件状态。 既然我曾经连接过一次,我怀疑可能是软件问题。如果你知道解决办法,请告诉我。 非常感谢你的理解。 Re: LX2160AのJTAG(CCS)接続が失敗する 感谢你的回复。 我使用“CodeWarrior for ARMv8 v11.5.0 b200629 Windows Offline Installer”执行了安装。 之后,我尝试使用 CodeWarrior IDE 进行更新,方法是选择“帮助”→“安装新软件”→“添加”→“归档”,并指定 com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip,但在安装过程中出现错误。 错误信息如下: KAZU_ISHI_0-1786959225115.pngKAZU_ISHI_0-1786959225115.pngKAZU_ISHI_0-1786959225115.pngKAZU_ISHI_0-1786959225115.pngKAZU_ISHI_0-1786959225115.png 安装项目时发生错误 会话上下文为:(profile=epp.package.cpp,phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=[R]com.freescale.core.debugger.fsl_gdb13.0.0.202003111126 --> [R]com.freescale.core.debugger.fsl_gdb14.0.0.202204131357,操作=com.freescale.updater.customactions.actions.FreescaleProcessCheck)。 NLS 缺少消息:参数未设置,位于:com.freescale.updater.customactions.Messages 请问您能否指导我如何处理此事? 非常感谢你的理解。 Re: LX2160AのJTAG(CCS)接続が失敗する 请先安装 CW_ARMv8_v2020.06_b200629GA_Win_Offline.exe,然后打开 CodeWarrior IDE 并从“帮助”->“安装新软件”->“添加”->“归档”安装服务包 com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip。 如果问题仍然存在,请提供屏幕截图以显示您的错误。 Re: LX2160AのJTAG(CCS)接続が失敗する 感谢你的回复。 当前使用的CodeWarrior版本信息如下: CodeWarrior QorIQ LS 系列开发工作室 - ARM V8 指令集架构 版本:11.5.0 版本号:200629GA 与您提供的最新版本相比,我的环境似乎运行的是旧版本。 顺便问一下,如果我通过“安装新软件”→“添加”→“归档”选择“com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip”,我应该安装哪些项目? 选择“全选”会导致错误,安装失败。 Re: LX2160AのJTAG(CCS)接続が失敗する 请检查您是否已安装适用于 ARMv8 的最新版 CodeWarrior 11.5.12。 请打开 CodeWarrior IDE,并从“帮助”->“关于 CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA”中检查版本。 如果您已经安装了此版本的 CodeWarrior,请从 CodeWarrior TAP 上拔下 USB 电缆,然后重新插入。
查看全文
S32K311NHT0MPAST MCU进入睡眠模式时,GPIO输出状态应该保持(锁定)还是重置为默认状态?请确认 Re: S32K311NHT0MPAST HI 在S32K3待机模式下,GPIO输出状态会被保留(锁存)。 更多详情请参阅“S32K344 从待机状态唤醒后,程序从哪里开始运行?”中的讨论。 此致敬礼, Robin
查看全文
翻新您的房屋 大家好, 我正在考虑如何翻新一栋100平方米的房子,并使其尽可能满足我的智能化需求。房子将进行相当全面的翻新(地暖、空调、电动百叶窗等),所以我可以趁此机会布置一些东西。我是一名工程师,所以摆弄一些系统让它正常运行对我来说不成问题。环顾四周,我认为最经济实惠且用途最广泛的解决方案是在本地运行 Home Assistant 的树莓派(我已经有了)上,然后连接我需要的所有设备,再配上一个 5-7 英寸的显示屏,我可以从中查看和控制所有设备。我不太确定协议的选择:应该采用基于 Wi-Fi 的协议,还是有线协议(我听说过 KNX?)?显然,我认为有线协议效率更高,但也更昂贵。值得吗?对于那些正在进行房屋装修但不太了解智能家居领域内幕的人,您还有什么建议吗? Re: Renovate your home 嗨@ozipin , 协调所有设备的通信方式实际上取决于您的需求,但通常像 Zigbee 这样的特定协议正是为了满足智慧家居的需求而创建的,所以我建议您考虑使用支持 Zigbee 的设备。这应该能提供与有线通信类似的可靠性,同时还能提供更大的灵活性并降低成本。 我强烈建议您访问NXP Semiconductors 的“楼宇与家庭自动化”网页,以更深入地了解我们的产品如何助力您打造智慧家居。 BR, 埃德温。
查看全文
お問い合わせ:ISO 15118-20 EVCCシミュレーションおよびSECCテスト用NXP EasyEVSE こんにちは 当社は、カスタム仕様の充電器側ISO 15118-20 SECCを開発中です。 当社は、実車を必要とせずに充電器のテストを行うためのEV側シミュレーターとして、NXP EasyEVSEプラットフォームの導入を検討しています。MIMXRT1064-EVKはEVCCソフトウェアを実行し、EVSE-SIG-BRD2XとGreen PHYハードウェアは充電器へのCP/PEおよびPLC接続を提供するものと理解しています。 確認いただけますか: このプラットフォームやハードウェアがEV/EVCCモードで動作し、カスタムSECCをテストできるかどうか。 ISO 15118-20 ACやAC-BPTに対応しているかどうかも重要です。 CP状態や5%のPWM、SLAC、SDP、TCP/TLS、認証、サービス発見、スケジュール交換、充電ループ、セッション停止のテストができるかどうかも含まれます。 現在のSoC、ターゲットSoC、充電・放電電力制限などのEV値を設定できるかどうか。 EV側のハードウェア部品表(BOM)を正確に記載してください。これには、適切な信号基板、グリーンPHY基板、ケーブル、および部品番号が含まれます。 必要なSEVENSTAXソフトウェアが含まれるのか、別途評価ライセンスが必要なのか。 評価にQA/テスト用TLS証明書とセキュアエレメントが必要かどうか。 変更可能なEVパラメータとメッセージフィールドはどれですか? 充電・放電電力がセッション中に動的に変化できるかどうか、 このシステムは、研究室での開発および相互運用性テストのみを目的としています。 よろしくお願いいたします。
查看全文
Unable to get serial console or boot linux on MCIMX8Q!XP-CPU (Si B0) - only garbage on UART Hello, I am facing issues bringing up the MCIMX8QXP-CPU (Silicon Revision B0) board. Hardware: MCIMX8QXP-CPU (Si B0) MCIMX8-8X-BB baseboard IMX-LVDS-HDMI adapter connected to J1 Original 16 GB SD card that came with the kit Also tried a newly flashed 32 GB SD card with official Linux BSP (L6.18.20 / MX8QXPC0 image) Problem: Serial console (J11) always shows only garbage characters (□□□□) at 115200 8N1. Tried multiple COM ports Tried different terminal software (PuTTY, Docklight) Tried on two different Windows laptops Installed latest FTDI VCP drivers Same result with original kit SD card and newly flashed card UUU never detects the board in Serial Download Mode (SW2 = 1000). uuu -lsusb shows no device. Board does not appear in Device Manager when in download mode. HDMI – no display output so far (using IMX-LVDS-HDMI on J1). Boot switches tried: SD boot: SW2 = ON ON OFF OFF Serial Download: SW2 = ON OFF OFF OFF eMMC: SW2 = OFF ON OFF OFF What I have already done: Flashed official .Sdcard image using Balena Etcher and Rufus Verified SD card is properly inserted in J12 Used original power supply Checked multiple USB cables for the debug port Could someone please advise: Is there any known issue with Si B0 boards regarding the debug UART? Any additional steps to get clean console output? Recommended way to recover / verify the board is healthy?    HW-Open-Source i.MX 8 Family | i.MX 8QuadMax (8QM) | 8QuadPlus
查看全文
Plug & Trust MiddlewareにおけるSE05x向けMbed TLS 4.x / PSA Cryptoドライバのサポート計画はありますか? こんにちは、 NXPはPlug & TrustミドルウェアにMbed TLS 4.xのサポートを統合する予定ですか? SE050 Re: Plans for Mbed TLS 4.x / PSA Crypto driver support for SE05x in Plug & Trust Middleware? こんにちは、@ph-yac さん。 Mbed TLS 4.xは2027年第1四半期のリリースとして検討されています。 すてきな一日を、 カン ------------------------------------------------------------------------------- 注記: この投稿があなたの質問への回答になっている場合は、「正解としてマーク」ボタンをクリックしてください。ありがとうございます! - 前回の投稿から7週間Threadをフォローしており、その後の返信は無視しています もし後で関連する質問があれば、新しいThreadを開き、閉じたThreadを参照してください。 -------------------------------------------------------------------------------
查看全文
Inquiry: NXP EasyEVSE for ISO 15118-20 EVCC Simulation and SECC Testing Hi  We are developing a custom charger-side ISO 15118-20 SECC. We are considering the NXP EasyEVSE platform as an EV-side simulator to test our charger without requiring a real vehicle. We understand that the MIMXRT1064-EVK would run the EVCC software, while the EVSE-SIG-BRD2X and Green PHY hardware would provide the CP/PE and PLC connection to our charger. Could you please confirm: Whether this platform/hardware can operate in EV/EVCC mode and test a custom SECC. Whether it supports ISO 15118-20 AC and AC-BPT. Whether it can test CP states and 5% PWM, SLAC, SDP, TCP/TLS, authorization, service discovery, schedule exchange, charging loop and session stop. Whether simulated EV values such as Present SoC, Target SoC and charging/discharging power limits can be configured. The exact EV-side hardware BOM, including the correct signal board, Green PHY board, cables and part numbers. Whether the required SEVENSTAX software is included or requires a separate evaluation licence. Whether QA/test TLS certificates and a secure element are required for evaluation. Which EV parameters and message fields can be modified; Whether charge and discharge power can be changed dynamically during a session; This setup is intended only for laboratory development and interoperability testing. Best regards,
查看全文
U-Boot USB ID 与主线版本存在回归/错误 你好, U-Boot lf-6.18.20-2.0.0 分支中的 `commit a5c91319731f ("MLK-25803-2: Update VID/PID")` 引入了 USB 用户的一个回归问题。 它强制使用硬编码的 USB 产品 ID,而不是从配置中获取值。这将导致任何使用与 0x0151 不同的值的电路板出现故障。 当在非NXP开发板(使用NXP SoC)上使用此U-Boot分支时,会出现此问题。 该值必须来自配置,而不能硬编码。 以下补丁可以修复该问题,你能将其应用到你的分支吗? ``` diff --git a/arch/arm/mach-imx/spl.cb/arch/arm/mach-imx/spl.c 索引 165cc82d9c72..46e26d138cf9 100644 --- a/arch/arm/mach-imx/spl.c +++ b/arch/arm/mach-imx/spl.c @@ -199,7 +199,7 @@ int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name) snprintf(serial_string, sizeof(serial_string), " %08x% 08x", serialnr.high,serialnr.low); g_dnl_set_serialnumber(serial_string); #endif - put_unaligned(0x0151, &dev->idProduct); + put_unaligned(CONFIG_USB_GADGET_PRODUCT_NUM + 0xfff, &dev->idProduct); 返回 0; } ``` Re: Regression/bug in U-Boot USB ID vs mainline 问题不在于你刚才描述的恩智浦的具体需求。问题在于,将数字硬编码到代码中会阻止任何用户按照设计初衷通过 kconfig 进行配置,从而有效地造成回归。 这种改变无视了现有用户的不同需求,实际上是在破坏现有的使用场景。只需在代码中搜索 CONFIG_USB_GADGET_PRODUCT_NUM,您就会看到它破坏了多个用例。 你需要找到一个不会引入倒退问题的不同解决方案。 Re: Regression/bug in U-Boot USB ID vs mainline 你好, 这一改变是刻意为之的。 VID 0x525 和 PID 0xa4a5 已注册为 PLX Technology, Inc. Linux-USB 文件存储设备 但是 fastboot 设备并非大容量存储设备,Windows 10 最新更新已缓存在上方 VID/PID 中 更改为使用 Freescale VID 0x1fc9 PID 0x151,用于 SPL SDP HID 下载 PID 0x152,用于 Fastboot 进程 ID 0x153,用于内核快速启动 需要更新到 1.4.182 以上版本
查看全文
尽管设置了 SHIFTS,FlexIO0 SPI 控制器的 TX 移位器 (SHIFTCTL, PINCFG=11b) 始终无法驱动其输出引脚。 主板: FRDM-MCXN236(MCX N236,双核 Cortex-M33) 工具链: MCUXpresso IDE 25.6.136裸机寄存器级 C(无 SDK 外设驱动程序) RM 参考: MCX N23x 参考手册 Rev. 4,2025-03-05,第 53 章(FlexIO),表 453(SPI 控制器,CPHA=0 配置) 我正在打造的是: FlexIO0 配置为 SPI 控制器,符合 RM 表 453:2 个移位器(移位器 0 = TX,移位器 1 = RX)+ 1 个定时器(定时器 0 = SCK,双 8 位计数器波特率模式),通过 SPI 读取 BME280 传感器。引脚:P1_0/P1_1/P1_2 复用到 ALT6 (FLEXIO0_D8/D9/D10),通过 PORT1->PCR 回读确认正确。 观察: RX 移位器和 SCK 定时器输出均工作正常——SCK 切换干净利落且按计划进行(通过两个独立的寄存器确认,见下文),SHIFTSTAT/TIMSTAT 报告每次传输均正常、准时、无错误完成。但是,无论向TX 移位器自身的输出引脚 (SDO, D8) 写入什么内容,在我所能想到的所有变化下,它都始终没有任何电信号变化。从传感器读取的芯片 ID 寄存器始终为 0x00,而不是预期的 0x60(在同一块板、同一传感器、同一启动程序上,一个单独的、正常工作的 FlexComm/LPSPI3 驱动程序可以正确读取 0x60)。 寄存器配置(与 RM 表 453 完全匹配,PINSEL 替换为实际引脚) SHIFTCFG0 = 0x0000_0000 (RM: 0000_0000h -- 起始/停止位禁用) SHIFTCTL0 = 0x0083_0002 (RM: 0083_0002h, PINSEL=8 for our real D8/SDO) 解码结果为:TIMSEL=0,TIMPOL=1(负边沿),PINCFG=3(11位,驱动输出), PINSEL=8,PINPOL=0,SMOD=2(传输)——每个字段都已根据RM进行验证 字面意思,只有 PINSEL 被替换 SHIFTCFG1 = 0x0000_0000 SHIFTCTL1 = 0x0000_0101 (RM: 0000_0101h, PINSEL=10 for our real D10/SDI) TIMCMP0 = 根据 RM 自己的公式计算得出(8 位帧,1MHz SCK 波特率分频器) TIMCFG0 = 0x0100_2222(RM 字面值,无需引脚替换) TIMCTL0 = 0x01C3_0201 (RM: 01C3_0201h, PINSEL=9 for our real D9/SCK) 我已通过直接硬件证据(调试器寄存器/内存检查,没有示波器可用)排除了以下可能性: 引脚复用器未到达 ALT6 -- PCR 回读确认所有四个使用的引脚上的 ALT6 配置正确。 传感器/线路故障——一个独立的、正常工作的 FlexComm/LPSPI3 SPI 驱动程序可以从同一个物理传感器、同一个启动过程中正确读取芯片 ID (0x60)。 SCK 从未在物理引脚上切换——通过在同一时刻采样的两个独立寄存器确认切换:FLEXIO0->PIN(位 9)和 GPIO1->PDIR(位 1,一个完全独立的外部模块,其路径中没有 FlexIO 内部逻辑)。双方实时逐个样本地达成一致。 SHIFTBUFBIS(位交换别名寄存器)中的 TX 字节通道放置——尝试了低字节和高字节(重新推导自 RM 53.3.1 的)移位寄存器微架构描述(而不仅仅是摘要表),以及与字节通道无关的完整 32 位交替写入(0xAAAAAAAAA)——所有这些都产生相同的、永久平坦的 SDO。 TX 缓冲区欠载 (SHIFTERR) -- 每次读取 0x0(干净),在成功等待 RX 就绪后立即捕获。 引脚/焊盘特定故障——将 shifter0 的 PINSEL 重新定向到完全不同的物理引脚(D9 而不是 D8);仍然平坦。定时器使用相同的 PINCFG=11b“驱动输出”机制,可以正确驱动任一引脚。 “启用时的隐式加载”(RM 53.3.1:移位器状态标志在“数据已从 SHIFTBUF 加载到移位器或移位器最初配置为发送模式时”设置——即可能存在过时的首周期加载)——通过丢弃的首传输,然后进行跟踪的、明确的次传输来排除:结果完全相同。 SHIFTBUFBIS 别名写入路径不对称——通过普通的、非别名的 SHIFTBUF[0] 寄存器而不是 SHIFTBUFBIS[0] 写入相同的与字节通道无关的模式:结果完全相同。 FLEXIO0->PINOUTD/PINOUTE/PINOUTDIS(全局每引脚软件输出覆盖寄存器,RM 53.3.3.3)-- 实时回读显示所有零,这意味着“由定时器/移位器配置控制”(正常状态),工作 SCK 引脚和非工作 SDO 引脚的值完全相同。并非原因。 FLEXIO0->PIN 读取本身不可靠——参见上面的第 3 点;通过 GPIO1->PDIR 独立确认。 Shifter0 实例特有的缺陷——改用shifter2 ,配置了完全相同的 SHIFTCTL 值,结果出现了相同的扁平化结果。同样的问题。并非特定于某个实例。 RM 53.7.1.27 的记录了两步 PINCFG 写入序列(先写入 10b,然后单独写入 11b,以避免第一次配置时出现短暂的低电平故障)——直接应用:结果相同且平坦。 我还查看了该器件(MCXN23x_0P21K Rev. 2.0)的唯一已发布的掩模集勘误文档——完全没有与 FlexIO 相关的条目——以及 NXP 自己的 FlexIO-SPI 应用笔记(AN12780),该笔记除了 RM 表 453 中已记录的内容外,没有提供任何指导。 问题: 鉴于移位器的内部记录(SHIFTSTAT、SHIFTERR、TIMSTAT)在每次测试中都报告完全正常、按计划、无错误的发送模式工作——包括在同一 CS 括号内的事务中,TX 就绪标志在多次传输中正确清除和重置,根据 RM 53.3.1,这应该只在真正的定时器触发的重新加载时发生——并且移位时钟本身(相同的 PINCFG=11b“驱动输出”机制,只是通过 TIMCTL 而不是 SHIFTCTL)已独立证明能够正确到达其物理引脚: 是否存在已知的硅行为、未记录的先决条件或 RM 间隙,导致移位器的 SHIFTCTL.PINCFG=11b 发送模式输出(与定时器的相同 PINCFG=11b 输出相对)无法到达其在 MCXN23x 掩码集上的指定引脚,即使每个寄存器级配置都与 RM 表 453 中的示例完全匹配? 如果需要,我很乐意分享完整的寄存器级项目源代码和完整的、仅追加的调查日志(尝试过的每一个假设,每一次撤回,以及每一个假设的确切硬件证据)。     MCX N Re: FlexIO0 SPI-controller TX shifter (SHIFTCTL, PINCFG=11b) never drives its output pin, despite SH 嗨@hafeezmhd 根据提供的信息,我没有发现任何已知的 MCXN23x 芯片限制、勘误或已记录的 FlexIO 要求,可以阻止配置为发送模式 SHIFTCTL.PINCFG = 11b 的移位器驱动其分配的引脚,同时同一 FlexIO 实例上的定时器输出正常工作。 由于已确认定时器输出正确到达物理引脚,并且 FlexIO 状态标志指示移位器正常运行,因此您观察到的行为并非我们通常从已记录的 FlexIO SPI 配置中预期的行为。 此时,查看完整的源代码和初始化序列,以及初始化后、传输前立即捕获的完整寄存器转储将很有帮助。这可能有助于识别仅从寄存器摘录中无法明显看出的任何细微配置依赖关系。 如果可以,请分享项目源代码,以便我们仔细查看。 BR 哈里
查看全文
咨询:NXP EasyEVSE 用于 ISO 15118-20 EVCC 仿真与 SECC 测试 你好 我们正在开发定制的充电器侧 ISO 15118-20 SECC。 我们正在考虑使用 NXP EasyEVSE 平台作为电动汽车侧模拟器来测试我们的充电器,而无需使用真正的车辆。我们了解到,MIMXRT1064-EVK 将运行 EVCC 软件,而 EVSE-SIG-BRD2X 和 Green PHY 硬件将为我们的充电器提供 CP/PE 和 PLC 连接。 请您确认一下: 该平台/硬件是否能在EV/EVCC模式下运行并测试定制的SECC。 是否支持 ISO 15118-20 AC 和 AC-BPT。 是否可以测试 CP 状态和 5% PWM、SLAC、SDP、TCP/TLS、授权、服务发现、调度交换、充电循环和会话停止。 是否可以配置模拟电动汽车值,例如当前 SoC、目标 SoC 和充电/放电功率限制。 确切的电动车端硬件 BOM,包括正确的信号板、Green PHY 板、电缆和部件号。 是否包含所需的 SEVENSTAX 软件,或者是否需要单独的评估许可证。 评估是否需要 QA/测试 TLS 证书和安全元件。 哪些电动汽车参数和消息字段可以修改? 充电和放电功率是否可以在会话中动态变化; 此设置仅用于实验室开发和互操作性测试。 顺祝商祺!
查看全文
Plug & Trust 中间件中是否计划支持 SE05x 的 Mbed TLS 4.x / PSA 加密驱动程序? 你好, NXP 是否计划在 Plug & Trust 中间件中集成对 Mbed TLS 4.x 的支持? SE050 Re: Plans for Mbed TLS 4.x / PSA Crypto driver support for SE05x in Plug & Trust Middleware? 嗨@ph-yac , Mbed TLS 4.x 正在考虑于 2027 年第一季度版本。 祝你有美好的一天, 坎 ------------------------------------------------------------------------------- 笔记: - 如果此回复解答了您的问题,请点击“标记为正确答案”按钮。谢谢你! - 我们会持续关注帖子,从最后一条回复发出后持续7周,之后的回复将被忽略。 如果您之后有相关问题,请另开新帖并引用已关闭的帖子。 -------------------------------------------------------------------------------
查看全文
MFS2633的FCCU功能如何使用? 请问MFS2633的PIN.17 FCCU1与PIN.18 FCCU2是如何使用的?两个Pin脚的输入值会构成真值表,引发芯片的不同保护措施? Re: MFS2633的FCCU功能如何使用? 你好,里约! MFS2633 上的 FCCU1(引脚 17)和 FCCU2(引脚 18)是用于接收来自连接的 MCU 的故障信号的数字输入。它们是 FS26 故障保护状态机的 MCU 监控接口的一部分。 它们直接连接到 MCU 的 FCCU 错误输出引脚(例如,S32K3xx MCU 的 FCCU_EOUT[0:1] 或 FSP 输出)。FS26 监控这些输入,当检测到故障情况时,会发出配置的功能安全输出(FS0B 和/或 RSTB)。 在 FS26 初始化阶段,通过 FS_I_SAFE_INPUTS 寄存器中的 FCCU_CFG[2:0] 位选择监视模式。 可用的模式有: Screenshot 2026-08-13 092241.jpg 在最常见的汽车应用中——双稳态(配对)模式——这两个引脚作为互补对工作,而不是作为产生不同反应的独立输入。FS26 预期: 正常/安全状态:FCCU1 = 高电平 (1),FCCU2 = 低电平 (0) 故障状态:FCCU1 = 低电平 (0) 或 FCCU2 = 高电平 (1) 任何偏离预期正常状态的情况都会触发预设的故障响应。默认故障极性为: FCCU1 = 0 or FCCU2 = 1 is a fault 。该极性可通过 FCCU12_FLT_POL 进行配置。 Screenshot 2026-08-13 092736.jpg 功能安全反应(其钳位)不会因 FCCU1/FCCU2 等级的具体组合而有所不同。对于检测到的任何故障,反应都是相同的,但可以使用 FCCU12_FS_REACTION 、 FCCU1_FS_REACTION 和 FCCU2_FS_REACTION 位对每个引脚进行独立配置。 Screenshot 2026-08-13 093010.jpg 检测到故障时,默认反应是将 RSTB 和 FS0B 都置低。如果您希望启用故障恢复策略(MCU 在不复位的情况下处理故障),则必须将响应更改为仅 FS0B。 BRs,托马斯
查看全文
MCIMX8Qでシリアルコンソールが使えず、Linuxも起動できません!XP-CPU(Si B0) - UART上ではゴミ仕様のみ こんにちは、 MCIMX8QXP-CPU(シリコンリビジョンB0)ボードの起動に問題が発生しています。 ハードウェア: MCIMX8QXP-CPU (Si B0) MCIMX8-8X-BB ベースボード IMX-LVDS-HDMIアダプターをJ1に接続 キットに付属していたオリジナルの16GB SDカード また、公式Linux BSP(L6.18.20/MX8QXPC0イメージ)で新しくフラッシュした32GBのSDカードも試しました。 問題: シリアルコンソール(J11)には、115200 8N1 の位置に常にゴミ文字(□□□□)のみが表示されます。 複数のCOMポートを試しました 異なる端末ソフト(PuTTY、Docklight)を試しました 2台の異なるWindowsノートPCで試しました 最新のFTDI VCPドライバーをインストールしました オリジナルのSDカードと新たに書き込んだカードで同じ結果になった。 UUUはシリアルダウンロードモード(SW2 = 1000)ではボードを検出しません。uuu -lsusb を実行してもデバイスが表示されません。ダウンロードモードではデバイスマネージャーにボードが表示されません。 HDMI – まだディスプレイ出力はありません(J1のIMX-LVDS-HDMIを使用中)。 ブートスイッチが試した: SDブート: SW2 = ON ON OFF OFF シリアルダウンロード: SW2 = ON OFF OFF OFF eMMC: SW2 = OFF ON OFF OFF 私が既に行ったこと: Balena EtcherとRufusを使用して公式の.Sdcardイメージをフラッシュしました。 SDカードがJ12に正しく挿入されていることを確認しました。 中古のオリジナル電源 デバッグポート用の複数のUSBケーブルを確認しました どなたかアドバイスをいただけませんか: Si B0ボードのデバッグUARTに関して、既知の問題はありますか? コンソール出力をきれいに表示させるための追加手順はありますか? ボードの復旧/正常性を確認するための推奨方法は?    HW-Open-Source i.MX 8ファミリ | i.MX 8QuadMax (8QM) | 8QuadPlus
查看全文
Plans for Mbed TLS 4.x / PSA Crypto driver support for SE05x in Plug & Trust Middleware? Hello, does NXP plan to integrate support for Mbed TLS 4.x in the Plug & Trust Middleware? SE050 Re: Plans for Mbed TLS 4.x / PSA Crypto driver support for SE05x in Plug & Trust Middleware? Hi @ph-yac , Mbed TLS 4.x is being considered for the Q1 2027 release. Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
查看全文
U-Boot USB ID とメインラインにおける回帰/バグ こんにちは、 U-Bootのlf-6.18.20-2.0.0ブランチで「コミットa5c91319731f(「MLK-25803-2: Update VID/PID」)は、USBユーザー全員に回帰を導入します。 設定から値を取得するのではなく、USB製品IDを強制的に入力します。これは、0x0151以外の値を使用しているすべてのボードを破損させます。 この問題は、NXP製以外のボード(NXP製SoCを使用しているボード)でこのU-Bootブランチを使用した場合に発生します。 この値は設定ファイルから取得する必要があり、ハードコーディングしてはいけません。 次のパッチで問題が解決しますが、あなたの支店にも適用できますか? 「`」 diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c インデックス 165cc82d9c72..46e26d138cf9 100644 --- a/arch/arm/mac-imx/spl.c +++ b/arch/arm/mach-imx/spl.c @@ -199,7 +199,7 @@ int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name) snprintf(serial_string, sizeof(serial_string), "%08x%08x", serialnr.high,シリアル番号.low); g_dnl_set_serialnumber(serial_string); #endif - put_unaligned(0x0151, &dev->idProduct); + put_unaligned(CONFIG_USB_GADGET_PRODUCT_NUM + 0xfff, &dev->idProduct); 0を返す。 } 「`」 Re: Regression/bug in U-Boot USB ID vs mainline 問題は、あなたが先ほど説明したNXP製品に関する具体的なニーズではありません。問題は、コードに数字をハードコーディングすることで、ユーザーがkconfigから設定できず、実質的に回帰を生み出せないことです。 その変更は、異なるニーズを持つ既存ユーザーを無視し、動作するユースケースを積極的に壊すことです。コードの中のgrepでgrep CONFIG_USB_GADGET_PRODUCT_NUMすれば、この問題が壊れている複数のユースケースがわかります。 回帰バグを引き起こさない、別の解決策が必要です。 Re: Regression/bug in U-Boot USB ID vs mainline こんにちは、 この変更は意図的なものであった。 VID 0x525とPID 0xa4a5すでにPLX Technology, Inc.として登録されています。 Linux-USBファイルバックアップストレージガジェット しかし、fastboot デバイスはマスストレージデバイスではありません。Windows 10 の最新アップデートは既に上記の vid/pid をキャッシュしています。 Freescale VID 0x1fc9を使用するように変更します。 PID 0x151、SPL SDP HIDダウンロード用 PID 0x152、Fastboot用 PID 0x153、カーネル高速起動用 uuuを1.4.182以上にアップデートする必要があります
查看全文
MFS2633のFCCU機能の使い方は? MFS2633のPIN.17 FCCU1とPIN.18 FCCU2はどのように使用されますか?これらの2つのピンの入力値はどのような真理値表を形成し、チップのさまざまな保護機能をトリガーしますか? Re: MFS2633的FCCU功能如何使用? こんにちはリオ、 MFS2633上のFCCU1(PIN 17)とFCCU2(PIN 18)は、接続されたMCUからの故障信号を受信するためのデジタル入力です。これらはFS26フェイルセーフステートマシンのMCU監視インターフェースの一部です。 これらはMCUのFCCUエラー出力ピン(例:S32K3xxのFCCU_EOUT[0:1]やFSP出力)に直接接続されます。FS26はこれらの入力を監視し、故障状態が検出されると、設定されたセーフティ出力(FS0Bおよび/またはRSTB)を主張します。 監視モードは、FS26の初期化フェーズ中に FS_I_SAFE_INPUTS レジスタの FCCU_CFG[2:0] ビットによって選択されます。 利用可能なモードは以下のとおりです。 Screenshot 2026-08-13 092241.jpg 最も一般的なオートモーティブ実装であるバイスタッフル(ペアモード)では、2つのピンは相補的なペアとして動作し、異なる反応を生み出す独立した入力としてはなりません。FS26は以下を期待しています。 正常/安全状態:FCCU1 = HIGH(1)、FCCU2 = LOW(0) 故障状態:FCCU1 = LOW (0) または FCCU2 = HIGH (1) 想定される正常状態からの逸脱はすべて、設定された障害反応を引き起こします。デフォルトの障害極性は、 FCCU1 = 0 or FCCU2 = 1 is a fault 。この極性は FCCU12_FLT_POL で設定可能です。 Screenshot 2026-08-13 092736.jpg セーフティ反応(どの出力が主張されるか)は、FCCU1/FCCU2レベルの特定の組み合わせによって違いはありません。反応は検出された故障に対して同じですが、 FCCU12_FS_REACTION ビット、 FCCU1_FS_REACTION ビット、 FCCU2_FS_REACTION ビットを使ってピンごとに独立して設定できます。 Screenshot 2026-08-13 093010.jpg デフォルトの動作は、障害が検出された場合、RSTBとFS0Bの両方をローレベルにすることです。故障回復戦略(MCUがリセットせずに故障を処理する方法)を有効にしたい場合は、リアクションをFS0Bのみに変更する必要があります。 BRs、トーマス
查看全文
LAN96455F Ethernet Switch Integration with i.MX95 – Device Tree Guidance Hi NXP team, We're integrating a Microchip LAN96455F Ethernet switch (LAN9645x family) onto a custom i.MX95 19x19 LPDDR5 board (based on imx95-19x19-evk.dts), and would appreciate guidance on the correct device tree integration Re: LAN96455F Ethernet Switch Integration with i.MX95 – Device Tree Guidance For Linux, model the LAN96455F as a DSA Ethernet switch if you expect Linux to expose/manage the external switch ports individually. The i.MX95 ENETC/NETC Ethernet MAC that connects to the switch’s CPU/uplink port should be the DSA conduit interface; the LAN96455F ports become DSA user netdevs. DSA is designed for switches with a dedicated CPU port connected to an SoC Ethernet controller, and it creates per-front-panel “user” interfaces rather than a separate netdev for the CPU port itself . A good device-tree shape is: /* Replace &enetX / &mdioX with the actual i.MX95 BSP labels used  * in imx95-19x19-evk.dts / imx95.dtsi for your selected NETC ENETC port.  */ /* i.MX95 ENETC port connected to LAN96455F CPU/uplink port */ &enetX {               status = "okay";               /* Must match the electrical interface between i.MX95 and LAN96455F:                * "rgmii-id", "rgmii", "sgmii", "2500base-x", etc.                */               phy-mode = "rgmii-id";               /* MAC-to-switch CPU port is normally PHY-less, so describe it                * as a fixed link unless the LAN96455F CPU port is actually                * managed through a PHY/PCS.                */               fixed-link {                              speed = <1000>;                              full-duplex;               }; }; /* MDIO controller used to access the switch management interface.  * i.MX95 NETC has an external master MDIO interface for external PHYs,  * supporting Clause 22 and Clause 45 .  */ &mdioX {               status = "okay";               ethernet-switch@0 {                              /* Use the compatible string from the LAN9645x driver/binding                               * shipped in your kernel/BSP. Do not invent this string.                               */                              compatible = "microchip, ";                              reg = <0>;                       /* MDIO address strapped on the board */                              ports {                                            #address-cells = <1>;                                            #size-cells = <0>;                                            port@0 {                                                           reg = <0>;                                                           label = "lan0";                                                           /* If this external port has an external PHY:                                                            * phy-handle = <&phy0>;                                                            * phy-mode = "...";                                                            */                                            };                                            port@1 {                                                           reg = <1>;                                                           label = "lan1";                                            };                                            port@2 {                                                           reg = <2>;                                                           label = "lan2";                                            };                                            port@3 {                                                           reg = <3>;                                                           label = "lan3";                                            };                                            /* LAN96455F CPU/uplink port number must match the                                             * Microchip datasheet/driver definition.                                             */                                            port@N {                                                           reg = ;                                                           label = "cpu";                                                           ethernet = <&enetX>;                                                           phy-mode = "rgmii-id";                                                           fixed-link {                                                                         speed = <1000>;                                                                         full-duplex;                                                           };                                            };                              };               }; }; Key points to check before finalizing the DTS: Use the actual LAN9645x binding from your kernel. I could not confirm a public mainline LAN96455F-specific binding from the retrieved sources, so the compatible string above is intentionally a placeholder. Check your NXP BSP/Microchip driver tree under Documentation/devicetree/bindings/net/dsa/ or the Microchip LAN9645x driver source. Put ethernet = <&enetX>; on the switch CPU port, not on every switch port. The DSA port binding says the ethernet property is a phandle to the host Ethernet device that the switch port is connected to. CPU/DSA ports need a phylink-style link description. For a CPU port with ethernet = <&enetX>; , the binding requires phy-mode and one of fixed-link , phy-handle , or managed . Use fixed-link for a direct MAC-to-switch CPU-port connection. The common Ethernet binding defines fixed-link with speed , full-duplex , and optional pause properties; supported fixed-link speeds include 10/100/1000/2500/5000/10000 Mbit/s in the object form. Be precise with RGMII delay mode. phy-mode = "rgmii-id" means the PCB does not provide the RGMII clock/data delay and the MAC/PHY side must provide internal delay; plain "rgmii" means the PCB routing provides the delay. For most custom boards, "rgmii-id" is the expected starting point unless your layout deliberately adds the delay. Do not also configure the i.MX95 MAC as if it had a normal external PHY if the MAC is connected to the switch CPU port. In the DSA model, the MAC is the conduit, and the external user ports are represented by the switch port nodes. Expect Linux interfaces such as lan0 , lan1 , etc. DSA creates user network devices for front-panel ports, and the DSA label property becomes the netdev name. Bring-up checks: dmesg | grep -i -E "dsa|lan964|mdio|enetc|netc" ip link cat /sys/class/net/ /dsa/tagging 2>/dev/null ip link set up ip link set lan0 up ethtool lan0 If no lanX interfaces appear, debug in this order: MDIO address/strap value, reset GPIO timing, interrupt GPIO if required by the driver, correct LAN9645x compatible , correct CPU-port reg , and correct phy-mode /fixed-link speed between i.MX95 and the switch. Use the i.MX95 ENETC port as the DSA conduit, describe the LAN96455F under the MDIO/SPI management bus with a ports block, and make the switch CPU port point back to the ENETC MAC using ethernet = <&enetX> plus a valid phy-mode and fixed-link / managed / phy-handle .
查看全文
NXP S32K312 CAN0 – FIRC vs. FXOSC Clock Source Causing CAN Errors Hi everyone, I am using CAN0 on the S32K312 at 500 kbps with an 87.5% sampling point. Initially, I set up CAN0 to use the internal FIRC_CLK as the clock source. When I connected the S32K312 to a network with multiple CAN nodes, I noticed a lot of CAN error frames. I then switched the CAN clock source from FIRC_CLK to the external FXOSC_CLK while keeping the CAN bitrate and sampling point the same. After this change, the communication became stable, and I stopped seeing the error frames. Could anyone help me understand why switching the clock source from FIRC_CLK to FXOSC_CLK would fix the CAN errors? Re: NXP S32K312 CAN0 – FIRC vs. FXOSC Clock Source Causing CAN Errors Hello @Karthik_R, Usually, FIRC clock is not recommended for FlexCAN communication, as accuracy is over the ~1% requirement according to CAN protocol (ISO 11898-1). You can see from S32K3's Data Sheet that FIRC's deviation is +- 5%. Recommendation is to use either FXOSC or PLL running from XOSC. You can refer to FlexCAN Bit Timing Calculation document, and MPC5xxx/S32Kxx/LPCxxxx: CAN / CAN FD bit timing calculation tool for clock and timing calculations. Hope this is clear. Best regards, Julián
查看全文
如何通过喷嘴拾取 MPXM2053GS 在 SMT 过程中,空气可能会从取放喷嘴吹入压力端口。内部传感器有可能损坏吗? Re: how to pick up MPXM2053GS by nozzle 你好,大卫, 从取放喷嘴到侧面压力端口的短暂低压空气脉冲不太可能造成损坏,只要施加的压力不超过设备的最大额定过压。然而,反复或高压气流原则上可能会使隔膜承受压力,或者在极端情况下,使其受损。 为完全避免任何风险,建议将取放喷嘴放置在 M-PAK 封装的平坦顶部表面上,远离侧面的压力端口。这样可以确保喷嘴永远不会接触或引导气流进入感应端口开口。应用笔记AN1984 – 飞思卡尔压力传感器的处理,针对该设备系列的喷嘴设计和放置提供了具体指导,是 MPX 系列传感器 SMT 处理的主要参考。应用笔记AN936 – MPX 系列压力传感器的安装技术、引脚成型和测试也是一份有用的补充资料。 请注意,截至 2026 年 2 月 2 日,NXP MEMS 传感器产品(包括 MPXM2053GS)已过渡到 STMicroelectronics。如需后续产品支持和文档处理方面的帮助,我建议您直接咨询STM。 BRs,托马斯
查看全文