Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
Evaluation Board for MPC561/562/563/564 Examples Hello everyone,       How can I get the Evaluation Board for MPC561/562/563/564 Examples?  I can not find in the MXP website.    Any advice is appreciated. Thank you! MPC561/2/3/4 General Purpose Evaluation Board | NXP Semiconductors Re: Evaluation Board for MPC561/562/563/564 Examples Hi @tangyuan2013  this is outdated product which won't be available anymore. All MPC5xx devices are in Not Recommended For New Design status and they are slowly reaching end of life status. We won't support customers designing a product with these devices anymore. We recommend to select newer device. Regards, Lukas
View full article
MCXA154 センサープロジェクト ここが私の初めてのNXPプロジェクトを投稿するのに適切か分かりませんが、今のところMCUXpressoとMCXのプロセッサーラインがとても気に入っています。FRDMボードではペリフェラルの追加やピンの設定はスムーズに進んだので、カスタムボードを作ろうと思いました。興味があれば、すべてのオープンソースのハードウェアおよびソフトウェアファイルが利用可能です。@mikerankin 開発ボード MCXA Re: MCXA154 Sensor Project こんにちは、@0miker0 さん。 NXP MCX製品にご関心いただきありがとうございます。 MCXは豊富なソフトウェアエコシステムを提供します。設定ツール以外にも、Secure Provisioning Tool、GUI Guider、FreeMASTERなども探索できます。 MCUXpressoエコシステムの強化 - NXPコミュニティ ご自身のプロジェクトをコミュニティと共有することも大歓迎です。私たちは技術的な議論や知識共有を奨励します。 良い一日を! BR セレステ
View full article
KW47: How to obtain deviceId for Gap_CheckIfBonded()? Hello, I am developing a BLE application on KW47 and would like to remove bonding information using Gap_RemoveBond(). While reviewing the APIs, I found Gap_CheckIfBonded(), but I am not sure what value should be passed as the deviceId parameter or how to obtain it. Could you please explain: What deviceId should be passed to Gap_CheckIfBonded()? How can I obtain this deviceId on KW47? Thank you. Protocol: BLE -> connectivity Protocol: Bluetooth Re: KW47: How to obtain deviceId for Gap_CheckIfBonded()? Hello @hyama, The Gap_CheckIfBonded() function takes Device ID of the GAP peer as input and returns whether the connected peer device is bonded, along with the corresponding NVM index. For a practical example of how Gap_CheckIfBonded() and Gap_RemoveBond() can be used, please refer to the ble_shell_freertos SDK example for the KW47-EVK. Specifically in the shell_gap.c file. Please let me know if you have any further questions. BR Habib. Re: KW47: How to obtain deviceId for Gap_CheckIfBonded()? Thank you. I'll check the example implementation.
View full article
i.MX8QM H.264デコードソフトウェア開発に必要なVPU情報 親愛なる、 i.MX8QM内のVPUを使ってH.264ビデオをデコードするソフトウェアを開発したいと考えています。 ただし、リファレンスマニュアルにはVPUの詳細が非常に簡潔です。 その動作に関するより詳しい情報はありますか?例えば、これら4つのM0+コアとのやり取り方法、TSデータの提供方法、デコードされたビデオの取得方法などです。 よろしくお願いいたします! よろしくお願いいたします。 Re: i.MX8QM VPU information needed for developing H.264 decoding software こんにちは、 @Manuel_Salas さん はい、元気です。ご心配ありがとうございます! 念のため、ソフトウェアはM4やM0+コア上でではなくAコア上で開発したいと考えています。 提供されたドキュメントからすると、Linuxディストリビューションの中にドライバがあるはずですよね?このソースコードを見つけたと思う。 これらのM0+コアにインストールしなければならないファームウェア自体もLinuxディストリビューションのどこかに存在しているのでしょうか? 改めてありがとうございました! よろしくお願いいたします。 ToarteFretter。 Re: i.MX8QM VPU information needed for developing H.264 decoding software こんにちは、 @ToarteFretterさん お元気でお過ごしのことと思います。 残念ながら、NXPは詳細なAmphion VPUファームウェアドキュメントを公開していません。ファームウェアはIP所有者(Amphion)から提供されており、NXPにはMコアからVPUを直接制御するためのドライバーやSDKの例はありません。 i.MX VPU Application Programming インターフェース Linux Reference Manual が入手可能です。 よろしくお願いいたします。 サラス。 Re: i.MX8QM VPU information needed for developing H.264 decoding software こんにちは、 @Manuel_Salas さん。 i.MX8QMのVPU機能のためにM0+コアで動作するファームウェアは、Aコア上で動作するソフトウェア(例:Linux)がロードしなければならないのか、それともROM経由でチップに組み込まれているのか、あるいはSCFWの一部なのか教えてもらえますか? Linuxのソースコードを素早く調べても、この質問に明確な答えは得られません。また、i.MX8や見た目から見るVPUタイプには混乱を招き、多くのバリエーションがあるためです。 もう少し詳しく教えていただけるととても助かります。また、もし私たちがファームウェアを読み込む必要がある場合、どこで見つけられますか? どうもありがとうございました! よろしくお願いいたします。 ToarteFretter。 Re: i.MX8QM VPU information needed for developing H.264 decoding software こんにちは、 @ToarteFretterさん i.MX8QM Amphion VPUの場合、デコーダーファームウェアはROMに格納されておらず、SCFWの一部でもありません。 これは別のバイナリで、Aコアホストソフトウェア(Linux Amphionカーネルドライバ)によってランタイムで読み込まれます。 また、バイナリは以下の通りで見つけることができます: wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.33-7ce4783.bin 内部には、vpu_fw_imx8_dec.bin と vpu_fw_imx8_enc.bin があります。 注:この表はLinuxリリースノート i.MX 引用。 よろしくお願いいたします。 サラス。 Re: i.MX8QM VPU information needed for developing H.264 decoding software こんにちは、 @Manuel_Salas さん、 デコーダーとエンコーダーのファームウェアがそれぞれ1コアと2つのM0+コアで動作しているのに、4つ目のM0+コア用に3つ目のファームウェアが必要なのでしょうか? もしそうなら、これは「vpu_fw_imx8_xuvi.bin」かもしれません。提供されたアーカイブの中に? どうもありがとうございました! よろしくお願いいたします。 Toartefretter. Re: i.MX8QM VPU information needed for developing H.264 decoding software こんにちは、 はい、そのとおりです。 VPUコア 機能 ファームウェア M0+ コア 0 マローンデコーダー vpu_fw_imx8_dec.bin M0+コア1~2 ウィンザーエンコーダー vpu_fw_imx8_enc.bin M0+コア3 XUVI/PPMプロセッシング、TS関連機能を含む vpu_fw_imx8_xuvi.bin よろしくお願いいたします。 サラス。 Re: i.MX8QM VPU information needed for developing H.264 decoding software こんにちは、 @Manuel_Salas さん、 どうもありがとうございました! よろしくお願いいたします。 Toartefretter.
View full article
MCSPTE1AK144 – 霍尔FOC在转速超过约600 rpm时停止,且Simulink自动部署功能失效 你好, 我正在使用 NXP MCSPTE1AK144芯片和 Sunrise 永磁同步电机,并参考霍尔传感器永磁同步电机 FOC 示例。 软件安装: MATLAB R2025b NXP S32K1xx 2.2.0 支持包 NXP S32K1xx 4.3.0 基于模型的设计工具箱 模型构建成功并生成了 .mot 文件。文件。当我手动复制 .mot 文件时将文件传输到 EVB-S32K144 驱动器后,电机运行正常。通过主机模型,我可以启动和停止电机并更改速度参考值。 我目前面临两个问题。 电机转速超过约 600 转/分钟时停止运转。 电机在低速运转时运行正常。我测试了从每分钟 10 转左右开始的运行情况,也逐渐提高了速度。 当转速超过大约 600 rpm 时,电机停止运转,D11 开始闪烁红色。 我该如何确定导致此次停机的确切故障原因?我应该监测哪个故障变量或寄存器? Simulink 自动部署 Simulink 模型构建成功并生成 .mot 文件。文件已存在,但固件不会自动刷写到主板上。手动复制相同的 .mot 文件将文件写入 EVB-S32K144 驱动器可以正常工作。 如何正确配置才能通过 OpenSDA 将生成的代码自动部署到 S32K144? 我还找到了 NXP 针对此示例的较早建议,该建议使用 MATLAB R2021a 和 NXP 支持包 S32K1xx 2.3.0。您会推荐使用此配置而不是 R2025b 和 MBDT 4.3.0 吗? 谢谢!
View full article
在 CW_PA_v10.5.1 中安装 QCVS 软件包时出错 您好, 我需要为 PBL 创建一个 QorIQ 配置项目,因此需要安装 QCVS 软件包。 我下载了“QCVS Offline Installation Packages for CodeWarrior for Power Architectures Rev 4.5.zip”之前从支持门户网站下载的。最近,我在一台新笔记本电脑上安装了CodeWarrior 10.5.1 。 但是我无法在 CodeWarrior 中安装或添加 QCVS 包。安装过程中,我遇到以下错误: 请帮我解决这个问题。 此致, 维玛尔普拉萨德。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 请卸载您电脑上的CodeWarrior软件。 请从以下链接下载“适用于 Power Architecture 的 CodeWarrior Rev 4.5 的 QCVS 离线安装包.zip”和“适用于 Power Architecture 的 CodeWarrior 开发工作室 v10.5.1 – Windows.exe”。 https://support.nxp.com/s/case/500Te00000gyh6mIAA/community-error-while-installing-the-qcvs-package-in-cwpav1051?language=en_US 请先安装适用于 PA 10.5.1 的 CodeWarrior。然后,在新工作区中打开 CodeWarrior IDE,并安装“适用于 Power Architectures Rev 4.5 的 CodeWarrior 的 QCVS 离线安装包.zip”。来自 CodeWarrior IDE 的帮助->安装新软件->添加->归档。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 嗨@yipingwang , 谢谢你的回复。 我已在新工作区中尝试过,但安装时仍然出现此错误。 是否有适用于 CW_PA_v10.5.1 的最新版 QCVS 工具? 此致, 维玛尔普拉萨德。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 请先在新工作区中打开 CodeWarrior IDE,然后从 CodeWarrior IDE 的“帮助”->“安装新软件”->“添加”->“归档”安装 QCVS 4.5。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 嗨@yipingwang , 我仍然遇到以下错误。 同时添加了适用于 Power Architectures 的 CodeWarrior Rev 4.5 的 QCVS 离线安装包.zip。 它显示“processcheck”操作中未设置“path”参数。 此致, 维玛普拉萨德·M Re: Error while installing the QCVS package in CW_PA_v10.5.1 你使用的是什么操作系统?Windows 11? Re: Error while installing the QCVS package in CW_PA_v10.5.1 嗨@yipingwang , 是的,我使用的是 Windows 11。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 嗨@yipingwang , 谢谢你的回复。 有没有办法在 Windows 11 上安装 CW 10.5.1 和 QCVS 4.5? 或者,是否有适用于 Windows 11 的更新版 QCVS? Re: Error while installing the QCVS package in CW_PA_v10.5.1 我在我的 Windows 11 操作系统环境下也重现了您的问题。 我建议您在 Windows 10 虚拟机上安装 CW 10.5.1 和 QCVS 4.5。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 目前我们还没有适用于 Windows 11 的新版 QCVS 软件。 带来不便敬请谅解。
View full article
利用智能家居设备节约能源? 有没有人尝试过通过使用智能家居设备来降低能源费用?我即将搬进一套新的出租公寓,希望能想办法减少开支。与伴侣同住。
View full article
Saving energy by using smart home devices? Has anyone tried to reduce their energy bills by using smart home devices? I’m moving into a new rental flat and am hoping to be creative in reducing my bills. Staying with a partner.
View full article
无法下载RTD - 下载选项呈灰色 我无法在 S32 Design Studio (S32DS) 中下载/安装 S32K344 板的 RTD 软件包。选择或下载RTD的选项呈灰色,不可用。 我已经重启了S32DS并检查了可用的更新/软件包,但问题仍然存在。因此,我无法继续进行项目设置和开发活动。 请您帮忙查看并提供解决方案建议? 细节: IDE:S32 设计工作室 (S32DS) 目标MCU:S32K344 问题:RTD 下载选项呈灰色 影响:无法安装/下载 RTD 代码包,软件包   Re: Unable to Download RTD - Download Option Greyed Out 您能看到这是如下所示的第二个标签页吗?
View full article
S32K312 LPUART – 波特率为 1 Mbps、时钟频率为 30 MHz 时帧错误 您好,NXP团队: 我正在使用 NXP S32K312 MCU 和 LPUART 外设。通信所需的 UART 波特率为 1 Mbps。 LPUART 6 的功能时钟频率为 30 MHz。 我最初对 UART 的配置如下: 波特率:1,000,000 bps LPUART 时钟:30 MHz SBR 或尾数:2 OSR 或除数:15 数据位:8 奇偶性:无 停止位:1 LSB优先 在这种配置下,我观察到通信过程中出现帧错误。 我理解LPUART波特率计算的原理是: 波特率 = LPUART 时钟频率除以 SBR 乘以 OSR 我还尝试了一种旨在实现精确 1 Mbps 速度的配置: SBR = 2 OSR = 15 波特率 = 30 MHz ÷ 2 × 15 = 1 Mbps 然而,我仍然观察到构图错误。 我还尝试了 921600 波特率,但在这个波特率下也观察到了帧错误。 当前观察 LPUART 时钟:30 MHz 所需通信波特率:1 Mbps UART 配置:8 N 1 在 1 Mbps 速率下观察到帧错误 在 921600 波特率下也观察到帧错误。 通信是通过TI BQ79600桥接器进行的。 使用逻辑分析仪监测TX波形 请问您能否帮忙澄清一下: S32K312 LPUART 能否在 30 MHz LPUART 时钟频率下可靠地支持 1 Mbps UART 通信? 对于 30 MHz 时钟频率,是否有推荐的 OSR 和 SBR 组合可以实现 1 Mbps 的速率? 在 1 Mbps 速率下,OSR 值、SBR 值或波特率精度是否存在任何已知的限制或约束? 是否需要对 LPUART 进行任何额外的配置才能实现可靠的 1 Mbps 通信? 当通信速率为 1 Mbps 时,LPUART 是否有推荐的时钟频率? 帧错误是否与 LPUART 采样配置或时钟容差有关? 如有需要,我可以提供 LPUART 波特率寄存器值、RTD 配置和逻辑分析仪捕获结果。 请提供推荐的配置方案以及任何其他调试步骤。 谢谢。 Re: S32K312 LPUART – Framing Error at 1 Mbps Baud Rate with 30 MHz LPUART Clock 你好@gayathri123 , 帧错误是接收端错误。因此,临时重新复用用作 LPUART6_TX 的 PTD9 本身不应该设置 LPUART 帧错误标志。帧错误表明接收器在预期为停止位的地方检测到了逻辑 0。   请问BQ79600是否在LPUART6_STAT[FE]中报告了该错误,还是只有逻辑分析仪报告了该错误? 2.75 毫秒的低电平唤醒脉冲比 UART 帧长得多。如果接收器保持使能状态时,S32K312 RX 输入端也存在低电平,则 LPUART 可能会正确地报告帧错误,因为未检测到有效的停止位。因此,该标志可能源自唤醒阶段,并在正常的 UART 通信开始时保持设置状态。 请做个测试: 在更改引脚复用之前,请禁用 LPUART 接收器和发射器。 使用 GPIO 生成唤醒脉冲。 将 GPIO 输出恢复为高电平。 重新封装 PTD9 到 LPUART6_TX。 清除之前所有接收错误标志。 重新启用 LPUART 并等待所需的 BQ79600 唤醒恢复时间。 发送有效的命令帧。 请提供 TX 和 RX 的逻辑分析仪捕获结果,以及唤醒脉冲前后 LPUART6_STAT 的值。确定 STAT[FE] 被设置的确切时刻尤为重要。 顺祝商祺! 帕维尔 Re: S32K312 LPUART – Framing Error at 1 Mbps Baud Rate with 30 MHz LPUART Clock 你好 我们使用S32K312 ,并将LPUART6配置为1 Mbps。PTD9配置为 LPUART6 的 TX 引脚。 当我们临时将 PTD9 配置为 GPIO,然后将其重新复用为 LPUART6 TX 时,我们在 UART 通信期间观察到帧错误。 顺序如下: 将 PTD9 配置为 GPIO,并将其拉低约2.75 毫秒,以产生所需的唤醒脉冲。 将 PTD9 重新封装回LPUART6_TX 。 通过 LPUART6 以 1 Mbps 的速度 传输虚拟数据 。 UART 通信过程中出现帧错误。 Re: S32K312 LPUART – Framing Error at 1 Mbps Baud Rate with 30 MHz LPUART Clock 你好@gayathri123 , 感谢您提供的详细描述。 首先要澄清的是 LPUART 波特率公式。对于 S32K3 LPUART,有效波特率计算如下:   波特率 = LPUART 功能时钟 / (SBR × (OSR + 1))   因此,如果 BAUD 寄存器包含 SBR = 2 和 OSR = 15,则得到的波特率为:   30 MHz / (2 × 16) = 937,500 波特   因此,它不是 1 Mbps。当通信伙伴以 1 Mbps 的速度运行时,这种偏差足以导致帧错误。 对于 30 MHz LPUART 功能时钟,可以通过以下方式获得精确的 1 Mbps 波特率:     SBR = 2 OSR寄存器值 = 14 有效过采样率 = 15   30 MHz / (2 × 15) = 1,000,000 波特   请注意,某些配置工具可能会显示有效过采样率,而波特率寄存器存储的值则减一。因此,请在初始化后读取完整的 LPUART6_BAUD 寄存器,并验证实际的 OSR 和 SBR 字段。 S32K312 LPUART 可支持 1 Mbps 通信。30 MHz 的功能时钟也适用,因为它能够精确地生成波特率。除了正确的时钟、波特率设置、帧格式、引脚配置和接收器配置之外,通常不需要其他特殊配置。 顺祝商祺! 帕维尔
View full article
iMX93 FIFO underruns when using SAI1 on M33 I'm using SAI1 to drive an external I2S device.  40MHz BCLK, 1.25MHz WCLK. Boot from Linux, code running on M33 via remoteproc. Getting FIFO underruns for the SAI1 interface. Can't figure out why? Did same code using SAI3 on M33 (A55 was held in uboot) and no problems. Any ideas? Thanks! Audio(PDM | I2S | SAI) Re: iMX93 FIFO underruns when using SAI1 on M33 Hello, Unfortunately, we do not have examples in SDK to use CODECs in our SDK. You could try to use the examples in SDK as reference and you can find in the next path: mcuxsdk\examples\driver_examples\sai If you see FIFO underrun warnings, could be caused by an empty TX FIFO because data is not being pushed fast enough or the transmitter is not properly enabled. A reason that could be causing this issue is resource availability/configuration. First, I suggest you confirm that you do not have issues where the Cortex-A processor is not using the same resources from Cortex-M that could cause the issue. Did you confirm that Transmitter Enable bit from SAI Transmit Control Register (TCSR) register is enable? Best regards. Re: iMX93 FIFO underruns when using SAI1 on M33 I've moved the SAI1 code to the A55 under Linux. Still getting FIFO errors. Here are the details of the configuration and questions: Platform Board: i.MX93 EVK; /sys/devices/soc0/soc_id=i.MX93, /sys/devices/soc0/revision=1.1. Package marking/mask not yet recorded. Linux: 6.12.20-lts-next-gdfaf2136deb2, PREEMPT, A55. SAI1 at 0x443b0000, TX via 44000000.dma-controller-CH21. SAI1 serial root: 40 MHz from VIDEO_PLL; 40 MHz BCLK, 1.25 MHz frame rate. SAI3/WM8962 is Linux-owned and was idle for the reproductions below. LMX2571 I2S FSK sink: signed 16-bit code in active slot, zero in other slot. Constant code +8500 produces the expected +17 kHz RF offset. Minimal Linux reproduction (M33 remoteproc offline) Custom DTB exposes SAI1 as an ALSA playback device; SAI1 PCM card 0. Static ALSA PCM: hw:0,0, S16_LE, 2 channels, 1,250,000 frames/s; period 2,400 frames, buffer 19,200 frames. No Gaussian filter or other real-time waveform generation. TX FIFO depth 32 words, TX DMA burst 8 words, FIFO watermark 24. Static data: slot 0=8500, slot 1=0. Command: python3 /root/cp7g_static_playback.py --device hw:0,0 --seconds 600 Latest result: 750,000,000 frames written in 599.958 s, ALSA xruns=0. SAI1 FEF IRQ diagnostic: 1 episode, 9 IRQ entries over 2.685 ms. First observed at monotonic uptime about 675.892537 s, approximately 7.16 s before playback stopped; not an end-of-stream drain event. First-IRQ instrumentation (timings are after the hardware FEF assertion) TCSR=0x90150c01; consecutive time reads=41 ns; handler work before first TCSR read=209 ns; first TCSR regmap read=120,607 ns (return 0). FEF W1C regmap write=241,007 ns (return 0), before detailed snapshot. Post-ACK TFR0=0x00020001, read=242,799 ns. Post-ACK eDMA CH21 first raw register read=241,423 ns; total CH21 snapshot time=487,722 ns. CH_CSR=0x80000005, CH_ES=0x00000000, CH_INT=0x00000000, CH_SBR=0x00208003, CH_PRI=0x00000000. The TFR0 and CH21 values were sampled after the acknowledgment, not at initial FEF assertion. The long reads/writes cannot establish that they caused the initial FIFO error; CH_ES=0 only says no channel error was latched when sampled. The FEF is a hardware event despite ALSA xruns=0. Independent simplified firmware reproduction With Linux booted and ALSA capture idle, M33 code drove the same SAI1 TX using a single self-linked eDMA CH21 TCD, constant +8500 / zero slots, no major-loop callbacks, no foreground buffer refill, no Gaussian filter. At 40 MHz BCLK, FIFO depth 32, watermark 24, DMA minor loop 16 bytes, it stopped on SAI1 FEF after 216 s (Rev R). In the post-FEF fault snapshot, CH21_ES=0 and DMA global ES=0; the TCD was still self-linked. Similar faults occurred in later priority and internal-BCLK trials. A half-rate trial also failed. Thus neither Python nor M33 waveform computation/refill is necessary to reproduce the intermittent SAI1 FEF. Linux playback also fails with the M33 offline. Probe loading and external wire length changes did not remove the problem. Additional observation A burst-4 / watermark-28 Linux run had one FEF episode at uptime about 676.889 s on a separate boot; the latest burst-8 fault was at 675.893 s. A system journal search around 670–682 s in the latest boot found no logged activity. Similar uptime is suggestive only, not proof of a timer. Questions for NXP 1. Is there a known i.MX93 rev 1.1 mask erratum or low-power/interconnect condition that can delay SAI1 and eDMA CH21 register access and/or DMA service by 100–250 us while SAI1 TX and its clocks are enabled? 2. What hardware status, clock-gating, interconnect, or eDMA traces can identify the first missed SAI1 FIFO service request before FEF? 3. Does SAI1 TX FEF indicate any condition other than an actual FIFO underrun in this asynchronous master configuration? 4. Are there documented SAI1/eDMA burst, watermark, or clock constraints for continuous 40 MHz BCLK / 1.25 MHz stereo frame output on i.MX93? Can provide custom DTB, Linux fsl_sai.c/h changes and static playback script, M33 self-linked TCD source, full boot clock tree, and scope/RF data.
View full article
RTDをダウンロードできません - ダウンロードオプションがグレー表示されています S32 Design Studio(S32DS)でS32K344ボード用のRTDパッケージをダウンロード・インストールできません。RTDを選択またはダウンロードするオプションがグレー表示されており、利用できません。 S32DSを再起動し、利用可能なアップデートやパッケージを確認しましたが、問題は解決しません。このため、プロジェクトのセットアップおよび開発活動を進めることができません。 解決について確認し、アドバイスをいただけますか? 詳細: IDE:S32 Design Studio(S32DS) ターゲットMCU:S32K344 問題:RTDのダウンロードオプションがグレー表示されています 影響:RTDパッケージのインストール/ダウンロードができません   Re: Unable to Download RTD - Download Option Greyed Out 下の2つ目のタブだと見えますか?
View full article
在 M33 上使用 SAI1 时,iMX93 FIFO 出现欠载现象 我正在使用SAI1驱动一个外部I2S设备。40MHz BCLK,1.25MHz WCLK。 从 Linux 系统启动,代码通过 remoteproc 在 M33 上运行。 SAI1接口出现FIFO欠载现象。 搞不明白为什么? 在 M33 上使用 SAI3 执行相同的代码(A55 被限制在 uboot 中),没有出现问题。 您有什么想法吗? 谢谢您! 音频(PDM | I2S | SAI) Re: iMX93 FIFO underruns when using SAI1 on M33 你好, 遗憾的是,我们的 SDK 中没有使用 CODEC 的示例。 您可以参考 SDK 中的示例,这些示例位于以下路径: mcuxsdk\examples\driver_examples\sai 如果看到 FIFO 欠载警告,可能是由于 TX FIFO 为空导致的,因为数据推送速度不够快,或者发射器未正确启用。 造成此问题的原因可能是资源可用性/配置问题。首先,我建议您确认是否存在 Cortex-A 处理器无法使用 Cortex-M 处理器的相同资源而导致问题的情况。 您是否确认SAI发射控制寄存器(TCSR)中的发射器使能位已启用? 顺祝商祺! Re: iMX93 FIFO underruns when using SAI1 on M33 我已经将 SAI1 代码移植到 Linux 下的 A55 上。 仍然出现FIFO错误。 以下是配置详情和问题: 平台 板:i.MX93 EVK;/sys/devices/soc0/soc_id=i.MX93 /sys/devices/soc0/revision=1.1。代码包,软件包标记/掩膜尚未记录。 Linux:6.12.20-lts-next-gdfaf2136deb2PREEMPT,A55。 SAI1 在 0x443b0000,TX 通过 44000000.dma-controller-CH21。 SAI1 串行根:来自 VIDEO_PLL 的 40 MHz;40 MHz BCLK,1.25 MHz 帧速率。 SAI3/WM8962 属于 Linux 所有,在以下复现过程中处于空闲状态。 LMX2571 I2S FSK 接收器:活动插槽中为有符号 16 位代码,其他插槽中为零。 常量码 +8500 产生预期的 +17 kHz 射频偏移。 最小 Linux 复现环境(M33 remoteproc 离线) 自定义 DTB 将 SAI1 公开为 ALSA 播放设备;SAI1 PCM 卡 0。 静态 ALSA PCM:硬件:0,0,S16_LE,2 通道,1,250,000 帧/秒; 周期 2,400 帧,缓冲区 19,200 帧。没有高斯滤波器或其他 实时波形生成。TX FIFO深度32字,TX DMA突发8字 先进先出水印 24。静态数据:槽位 0=8500,槽位 1=0。 命令:python3 /root/cp7g_static_playback.py --设备 hw:0,0 --seconds 600 最新结果:在 599.958 秒内写入了 750,000,000 帧,ALSA xruns=0。 SAI1 FEF IRQ 诊断:1 次事件,2.685 毫秒内发生 9 次 IRQ 条目。 首次观测到单调运行时间约为 675.892537 秒,大约 播放停止前 7.16 秒;不是流结束排水事件。 首次中断请求检测(时序在硬件 FEF 断言之后) TCSR=0x90150c01;连续读取时间=41 ns;处理程序在第一次读取之前工作 TCSR 读取=209 ns;第一个 TCSR regmap 读取=120,607 ns(返回 0)。 FEF W1C regmap write=241,007 ns (返回 0),在详细快照之前。 Post-ACK TFR0=0x00020001,读取=242,799 ns。 ACK后eDMA CH21首次原始寄存器读取=241,423纳秒;CH21总计 快照时间=487,722 ns。CH_CSR=0x80000005,CH_ES=0x00000000, CH_INT=0x00000000,CH_SBR=0x00208003,CH_PRI=0x00000000。 TFR0 和 CH21 值是在确认之后而非确认时采集的。 初步 FEF 断言。长时间的读取/写入操作无法证明它们 导致了最初的FIFO错误;CH_ES=0仅表示没有通道错误。 采样时锁定。尽管 ALSA xruns=0,但 FEF 仍然是一个硬件事件。 独立简化固件复制 Linux 系统启动且 ALSA 捕获空闲时,M33 代码驱动了同一个 SAI1 TX。 使用单个自链接 eDMA CH21 TCD,恒定 +8500 / 零槽, 没有主循环回调,没有前台缓冲区填充,没有高斯滤波器。 40 MHz BCLK,FIFO 深度 32,水位线 24,DMA 次循环 16 字节, 它在 SAI1 FEF 上停留了 216 秒(Rev R)。在 FEF 故障后的快照中, CH21_ES=0 和 DMA 全局 ES=0;TCD 仍然是自链接的。类似的故障也曾发生。 在后续的优先和内部 BCLK 试验中。半速试验也失败了。 因此,既不需要Python也不需要M33波形计算/填充。 重现间歇性 SAI1 FEF。Linux 系统下播放也失败了。 M33离线。探针负载和外部导线长度的变化并未消除 问题。 补充观察 运行在 burst-4 / watermark-28 Linux 系统上的一个 FEF 事件大约在 uptime 时发生。 单独启动时耗时 676.889 秒;最近一次 burst-8 故障发生在 675.893 秒。 在最近一次启动过程中,系统日志搜索大约在 670–682 秒处,未发现任何内容。 已记录的活动。相似的正常运行时间仅供参考,并不能证明存在定时器。 向恩智浦提出的问题 1.是否存在已知的 i.MX93 rev 1.1 掩模勘误或低功耗/互连相关问题? 可能延迟 SAI1 和 eDMA CH21 寄存器访问和/或 DMA 的条件 在SAI1 TX及其时钟启用期间,服务时间为100-250微秒? 2. 哪些硬件状态、时钟门控、互连或 eDMA 走线可以 在 FEF 之前,找出第一个被遗漏的 SAI1 FIFO 服务请求? 3. SAI1 TX FEF 是否指示除实际先进先出 (FIFO) 之外的任何其他情况? 在这种异步主配置中是否存在欠载现象? 4. 是否有关于 SAI1/eDMA 突发、水印或时钟限制的文档记录? i.MX93 上是否支持连续 40 MHz BCLK / 1.25 MHz 立体声帧输出? 可以提供自定义 DTB、Linux fsl_sai.c/h变化和静态播放 脚本、M33 自链接 TCD 源、完整启动时钟树和示波器/射频数据。
View full article
i.MX8MP USBホストロックアップ(-110)低速デバイスでの物理的な取り外し ターゲット設定: SoC:NXP i.MX8MP ポート構成:USBポート合計4個(USB 2.0×2、USB 3.0×2) OS : yocto scarthgap 6.6.52 トポロジー: 私たちの設計では、i.MX8MP SoCは内部のUSB2(本設計ではUSB1回線はotgに接続)コントローラーをUSB 3.0モードで使い、アップストリーム接続を直接オンボードのFresco Logic FL5500-2F0ハブに接続しています。ハブはこの接続を下流の4つの物理ポートに分配します。2つのポートはUSB 3.0のフル機能に対応するように配線されており、残りの2つのポートはUSB 2.0のみに対応するように配線されています。 i.MX8MP(SoCコントローラー「USB2」ライン、USB 3.0モードで動作) - > USB 3.0ハブ(Fresco Logic FL5500-2F0、USB 3.0ポート2つとUSB 2.0ポートを露出)   問題の説明: i.MX8MPで致命的なxHCIコマンドリングのロックアップが発生しており、ハードウェアが再接続時にxchiドライバから発行されたデータコマンドに応答しなくなります。クラッシュ条件は非常に限定的で、単一のハードウェア3.0 USBポートでのみ発生し、他の3.0および2.0ポートではこの問題は発生しません。 ロックアップは、低速(LS)デバイスが下流の高速ハブから物理的に切断されている間に、他の3つのポートのいずれかに少なくとも1台の低速デバイスがバックグラウンドでアクティブに接続されている場合にのみ発生します(問題のあるポートに再接続する前にその低速デバイスを抜いておけば問題は発生しません)。 主な行動的孤立: ポートアイソレーション:同じマルチデバイスのアンプラグテストをもう一方のUSB 3.0ポートやUSB 2.0ポートで行うと、きれいに切断されます。クラッシュはUSB 3.0ポート1つに限定されています。スピードアイソレーション:バックグラウンドデバイスは低速でなければなりません。バックグラウンドで高速デバイス(USBストレージドライブなど)がどれだけあっても関係ありません。他にLSデバイスがなければ、切断は問題なく処理されます。 注: この問題を解決するために、物理的に抜き差しする前に、以下のコマンドを使用して不良の USB ポートの認証を解除しました。 echo 0 > /sys/bus/usb/devices/1-1.1/authorized USBドライバーのバインドを解除してバインドすると動作します。 使用港 ハブ上のバックグラウンドデバイス デバイスのプラグが抜かれています 切断方法 ホストコントローラの結果 USB 3.0(良好なポート) 低速 低速 物理的に引っ張る クリーンな分解 USB 2.0ポート 低速 低速 物理的に引っ張る クリーンな分解 USB 3.0(ポートの不具合) 高速回線のみ 低速 物理的に引っ張る クリーンな分解 USB 3.0(ポートの不具合) なし 低速 物理的に引っ張る クリーンな分解 USB 3.0(ポートの不具合) 低速 低速 ソフトウェア(認可=0) クリーンな分解 USB 3.0(ポートの不具合) 低速 低速 物理的に引っ張る コマンドリングタイムアウト (-110)、ホストがクラッシュしました ログ、 root@lec-imx8mp:~# lsusb バス 001 デバイス 001: ID 1d6b:0002 Linux Foundation 2.0 ルートハブ バス001 デバイス002: ID 1d5c:5510 Fresco Logic Frescologic USB2.0 HUB バス001 デバイス004: ID 413c:301a Dell Computer Corp. Dell MS116 光学式マウス バス001 デバイス005: ID 413c:2113 Dell Computer Corp. KB216 有線キーボード バス 002 デバイス 001: ID 1d6b:0003 Linux Foundation 3.0 ルートハブ バス002 デバイス002: ID 1d5c:5500 Fresco Logic Frescologic USB3.1Gen2 HUB root@lec-imx8mp:~# [ 39.686850] usb 1-1.2:USB接続切断、デバイス番号5 [ 41.191295] usb 1-1.1: xhci-hcd を使用する新しい低速 USB デバイス番号 6 root@lec-imx8mp:~# lsusb バス 001 デバイス 001: ID 1d6b:0002 Linux Foundation 2.0 ルートハブ [ 51.427313] XHCI-HCD、XHCI-HCD.1.オート:xHCIホストがエンドポイント停止コマンドに応答しません [ 51.443403] XHCi-HCD、XHCI-HCD.1.auto:xHCIホストコントローラーが応答しない、死んだとみなす [ 51.451350] XHCI-HCD XHCI-HCD.1.auto:HCが亡くなった。片付け中 [ 51.457035] usb 1-1-port1: usb_device を割り当てできませんでした [ 51.462339] usb 1-1: USB切断、デバイス番号2 バス 001 デバイス 002: ID 1d5c:5510 [ 51.467338] usb 1-1.4:USB接続切断、デバイス番号4 Fresco Logic Frescologic USB2.0 H[ 51.475602] usb 2-1: USB切断、デバイス番号2 バス001 デバイス004: ID 413c:301a Dell Computer Corp. Dell MS116 光学式マウス バス 002 デバイス 001: ID 1d6b:0003 Linux Foundation 3.0 ルートハブ バス002 デバイス002: ID 1d5c:5500 Fresco Logic Frescologic USB3.1Gen2 HUB root@lec-imx8mp:~# lsusb バス 001 デバイス 001: ID 1d6b:0002 Linux Foundation 2.0 ルートハブ バス 002 デバイス 001: ID 1d6b:0003 Linux Foundation 3.0 ルートハブ   i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Linux Yocto Project Re: i.MX8MP USB Host Lockup (-110) on Low Speed device Physical Unplug この問題に関するご意見や解決策があれば、大変助かります。 ありがとう Re: i.MX8MP USB Host Lockup (-110) on Low Speed device Physical Unplug こんにちは、 この2つのクワークでデバイスツリーを試してみてはどうでしょうか? /* USB 2.0パイプラインのパークモード機能を無効化 */ SNP、パークモード無効化、HS個性; /* 攻撃的なリンクスリープを防ぐためにこれも強く推奨されます */ SNP、dis_u2_susphy_quirk; これにより、コントローラのGUCTL1レジスタ内のビット16(PARKMODE_DISABLE_HS)が変更されます。高速バス回線専用のプリフェッチスケジューラー機構を停止し、ハブの背後にあるデバイスからの操作を処理する際にコントローラが反応しない罠に陥るのを防ぎます。 お役に立てば幸いです。 よろしくお願いいたします。 アルド。
View full article
S32K312 LPUART – Framing Error at 1 Mbps Baud Rate with 30 MHz LPUART Clock Hi NXP Team, I am working with an NXP S32K312 MCU and using the LPUART peripheral. The required UART baud rate for the communication is 1 Mbps. The LPUART 6 functional clock is 30 MHz. I initially configured the UART with: Baud rate: 1,000,000 bps LPUART clock: 30 MHz SBR or Mantissa: 2 OSR or Divisor: 15 Data bits: 8 Parity: None Stop bits: 1 LSB first With this configuration, I observed a framing error during communication. I understand that with the LPUART baud rate calculation: Baud Rate = LPUART Clock divided by SBR multiplied by OSR I also tried a configuration intended to achieve exactly 1 Mbps: SBR = 2 OSR = 15 Baud rate = 30 MHz divided by 2 multiplied by 15 = 1 Mbps However, I am still observing a framing error. I also tried 921600 baud, but I observed a framing error at this baud rate as well. Current observations LPUART clock: 30 MHz Required communication baud rate: 1 Mbps UART configuration: 8 N 1 Framing error is observed at 1 Mbps Framing error is also observed at 921600 baud The communication is with a TI BQ79600 bridge The TX waveform is being monitored using a logic analyzer Could you please help clarify: Does the S32K312 LPUART reliably support 1 Mbps UART communication with a 30 MHz LPUART clock? Is there a recommended OSR and SBR combination for achieving 1 Mbps with a 30 MHz clock? Are there any known limitations or restrictions related to OSR values, SBR values, or baud rate accuracy at 1 Mbps? Is there any additional LPUART configuration required for reliable 1 Mbps communication? Is there any recommended clock frequency for the LPUART when communicating at 1 Mbps? Could the framing error be related to the LPUART sampling configuration or clock tolerance? I can provide the LPUART BAUD register value, RTD configuration, and logic analyzer capture if required. Please advise on the recommended configuration and any additional debugging steps. Thanks. Re: S32K312 LPUART – Framing Error at 1 Mbps Baud Rate with 30 MHz LPUART Clock Hello @gayathri123 , A framing error is a receiver-side error. Therefore, temporarily remuxing PTD9, which is used as LPUART6_TX, should not by itself set the LPUART framing-error flag. The framing error indicates that the receiver detected logic 0 where it expected a stop bit.   Could you please confirm whether the error is reported in LPUART6_STAT[FE], by the BQ79600 or only by the logic analyzer? The 2.75 ms LOW wake-up pulse is much longer than a UART frame. If the LOW level is also present on the S32K312 RX input while the receiver remains enabled, the LPUART may correctly report a framing error because no valid stop bit is detected. The flag may therefore originate from the wake-up phase and remain set when normal UART communication starts. As a test, please: Disable the LPUART receiver and transmitter before changing the pin mux. Generate the wake-up pulse using GPIO. Return the GPIO output to HIGH. Remux PTD9 to LPUART6_TX. Clear any previous receive error flags. Re-enable LPUART and wait for the required BQ79600 wake-up recovery time. Transmit a valid command frame. Please provide a logic-analyzer capture of both TX and RX, together with the LPUART6_STAT value before and after the wake-up pulse. It is particularly important to identify the exact moment when STAT[FE] becomes set. Best regards, Pavel Re: S32K312 LPUART – Framing Error at 1 Mbps Baud Rate with 30 MHz LPUART Clock Hi  We are using an S32K312 with LPUART6 configured at 1 Mbps. PTD9 is configured as the LPUART6 TX pin. We are observing a framing error during UART communication when we temporarily configure PTD9 as GPIO and then remux it back to LPUART6 TX. The sequence is as follows: Configure PTD9 as GPIO and drive it LOW for approximately 2.75 ms to generate the required wake-up pulse. Remux PTD9 back to LPUART6_TX. Transmit dummy data through LPUART6 at 1 Mbps. A framing error is observed during the UART communication. Re: S32K312 LPUART – Framing Error at 1 Mbps Baud Rate with 30 MHz LPUART Clock Hello @gayathri123 , Thank you for the detailed description. The first point to clarify is the LPUART baud-rate formula. For the S32K3 LPUART, the effective baud rate is calculated as:   Baud rate = LPUART functional clock / (SBR × (OSR + 1))   Therefore, if the BAUD register contains SBR = 2 and OSR = 15, the resulting baud rate is:   30 MHz / (2 × 16) = 937,500 baud   It is therefore not 1 Mbps. This deviation is large enough to cause a framing error when the communication partner operates at 1 Mbps. For a 30 MHz LPUART functional clock, an exact 1 Mbps baud rate can be obtained with:     SBR = 2 OSR register value = 14 Effective oversampling ratio = 15   30 MHz / (2 × 15) = 1,000,000 baud   Please note that some configuration tools may display the effective oversampling ratio, while the BAUD register stores this value minus one. For this reason, please read back the complete LPUART6_BAUD register after initialization and verify the actual OSR and SBR fields. The S32K312 LPUART can support 1 Mbps communication. A 30 MHz functional clock is also suitable because it allows the baud rate to be generated exactly. No special additional configuration should normally be required beyond the correct clock, baud-rate settings, frame format, pin configuration and receiver configuration. Best regards, Pavel
View full article
M33でSAI1を使用するとiMX93 FIFOがアンダーランする SAI1を使って外部I2Sデバイスを駆動しています。40MHz BCLK、1.25MHz WCLK。 Linuxから起動し、リモートプロック経由でM33上でコードを動かします。 SAI1インターフェースでFIFOアンダーランを取得する方法。 なぜそうなっているのか分かりません。 M33上でSAI3を使用して同じコードを実行しましたが(A55はubootに保持されていました)、問題はありませんでした。 何か解決策はありますか。 よろしくお願いします! オーディオ(PDM |I2S |SAI) Re: iMX93 FIFO underruns when using SAI1 on M33 こんにちは、 残念ながら、SDKにはCODECをSDKで使う例はありません。 SDKの例を参考にしてみると、次のパスで見つかります: mcuxsdk\examples\driver_examples\sai FIFOが警告を不足している場合、それはデータが十分に速くプッシュされていないか、トランスミッタが正しく有効化されていないために空のTX FIFOが原因かもしれません。 この問題の原因の一つはリソースの利用可能性や設定です。まず、Cortex-AプロセッサがCortex-Mと同じリソースを使っていない問題がないか確認することをお勧めします。 SAI送信制御レジスタ(TCSR)レジスタのトランスミッタ有効ビットが有効であることは確認しましたか? よろしくお願いいたします。 Re: iMX93 FIFO underruns when using SAI1 on M33 SAI1のコードをLinuxのA55に移しました。 依然としてFIFOエラーが発生しています。 設定の詳細と質問事項は以下のとおりです。 プラットフォーム ボード:i.MX93 EVK;/sys/devices/soc0/soc_id=i.MX93, /sys/devices/soc0/revision=1.1。パッケージのマーキング/マスクはまだ記録されていません。 Linux: 6.12.20-lts-next-gdfaf2136deb2,先取り、A55。 テキサス州0x443b0000のSAI1(44000000.dma-controller-CH21経由)。 SAI1シリアルルート:VIDEO_PLLから40 MHz;40 MHz BCLK、1.25 MHzのフレームレート。 SAI3/WM8962はLinux所有で、以下の複製では使用されていません。 LMX2571 I2S FSKシンク:アクティブスロットには符号付き16ビットコード、その他のスロットにはゼロ。 定数コード+8500は期待される+17 kHzのRFオフセットを生成します。 最小限のLinux再現(M33リモートプロックオフライン) カスタムDTBはSAI1をALSA再生デバイスとして公開します。SAI1 PCMカード0。 静的ALSA PCM:hw:0,0、S16_LE、2チャネル、1,250,000フレーム/秒; 期間は2,400フレーム、バッファは19,200フレームです。ガウスフィルターやその他のフィルターは使用していません。 リアルタイム波形生成。TX FIFO深度32ワード、TX DMAバースト8ワード、 FIFO透かし24。静的データ: スロット 0=8500、スロット 1=0。 コマンド: python3 /root/cp7g_static_playback.py --device hw:0,0 --seconds 600 最新の結果:7億5000万フレームを599.958秒で書き込み、ALSA xruns=0。 SAI1 FEF IRQ診断:1エピソード、2.685ms間に9回のIRQエントリ。 単調稼働時間約675.892537秒で初めて観測されました。 再生が停止する7.16秒前でした。ストリーム終了時のドレインイベントではありません。 最初の割り込み処理(FEFハードウェアアサーション後のタイミング) TCSR=0x90150c01; 連続読み取り時間=41 ns; 最初の読み取り前にハンドラが動作 TCSR読み取り=209 ns; 最初のTCSR regmap読み取り=120,607 ns (戻り値0)。 FEF W1C regmap 書き込み=241,007 ns (戻り値 0)、詳細スナップショット前。 ACK後TFR0=0x00020001、読み取り時間=242,799 ns。 ACK後のeDMA CH21の最初の生レジスタ読み出し=241,423 ns; 合計CH21 スナップショット時間=487,722 ns。CH_CSR=0x80000005、CH_ES=0x00000000、 CH_INT=0x00000000、CH_SBR=0x00208003、CH_PRI=0x00000000。 TFR0とCH21の値は、確認後ではなく、 初期FEFアサーション。長い読み書きでは、 初期のFIFOエラーを引き起こしました。CH_ES=0はチャネルエラーがなかったことを示すだけです サンプリングされるとラッチ(吸付)ができた。FEFはALSA xruns=0にもかかわらずハードウェアイベントです。 独立簡易ファームウェア再現 Linux起動時にALSAキャプチャがアイドル状態の場合、M33コードは同じSAI1 TXを駆動しました 単一のセルフリンクeDMA CH21 TCDを使用し、一定の+8500スロット、 メジャーループのコールバックもフォアグラウンドバッファのリフィルもガウスフィルターもありません。 40 MHz BCLK、FIFO 深度 32、ウォーターマーク 24、DMA マイナーループ 16 バイト、 216秒後(Rev R)にSAI1 FEFで停止しました。FEF障害発生後のスナップショットでは、 CH21_ES=0、DMAグローバルES=0の場合、TCDは依然として自己リンク状態でした。同様の故障が発生した 後の優先順位付け試験および内部BCLK試験において。半額料金での試行も失敗に終わった。 したがって、PythonもM33波形計算/再充填も必要ありません。 断続的なSAI1 FEFを再現する。Linuxの再生も M33、オフライン。プローブの負荷と外部ワイヤの長さの変更は除去されませんでした 問題。 追加の観察 burst-4 / watermark-28のLinux実行では、稼働時間にFEFエピソードが1回ほどありました 別ブートでは676.889秒、最新のバースト8フォルトは675.893秒でした。 最新の起動で約670〜682秒のシステムジャーナル検索では、何も見つかりませんでした 記録された活動。同様の稼働時間はあくまで示唆的なものであり、タイマーの存在を証明するものではありません。 NXPへの質問 1.i.MX93 rev 1.1マスクのエラタムや低消費電力/インターコネクトの既知のものはありますか? SAI1およびeDMA CH21レジスタへのアクセスやDMAを遅らせる可能性のある状態 SAI1 TXとそのクロックが有効である間に100〜250 USのサービスができるのでしょうか? 2. ハードウェアの状態、クロックゲーティング、インターコネクト、またはeDMAトレースが可能なもの FEFの前に最初に見落としたSAI1のFIFOサービスリクエストを特定しますか? 3. SAI1 TX FEFは実際のFIFO以外の状態を示しているか? この非同期マスター構成でアンダーラン? 4. SAI1/eDMAのバースト、ウォーターマーク、またはクロックの制約は文書化されていますか? i.MX93上の連続40MHz BCLK / 1.25 MHzステレオフレーム出力の場合? カスタムDTBやLinux fsl_sai.c/hも提供可能です変更と静的再生 スクリプト、M33自己リンクTCDソース、完全なブートクロックツリー、およびスコープ/RFデータ。
View full article
i.MX8MP USB主机锁定(-110),低速设备物理拔出 目标设置: SoC:NXP i.MX8MP端口配置:共 4 个 USB 端口(2 个 USB 2.0,2 个 USB 3.0) 操作系统:Yocto Scarthgap 6.6.52 拓扑结构: 在我们的设计中,i.MX8MP SoC 使用其内部 USB2(在我们的设计中,USB1 线连接到 otg)控制器以 USB 3.0 模式直接提供上行连接到板载 Fresco Logic FL5500-2F0 集线器。然后,集线器将此连接向下分配到四个物理端口:两个端口采用 USB 3.0 全功能连接,而其余两个端口仅采用 USB 2.0 连接。 i.MX8MP(SoC 控制器“USB2”线,以 USB 3.0 模式运行)-> USB 3.0 集线器(Fresco Logic FL5500-2F0,提供 2 个 USB 3.0 端口和 2 个 USB 2.0 端口)   问题描述:我们正在追踪 i.MX8MP 上的一个致命的 xHCI 命令环锁定问题。该硬件在重新插拔后无法响应 xHCI 驱动程序发出的数据命令。崩溃条件非常特殊,仅限于一个硬件上的 USB 3.0 端口,其他 USB 3.0 和 2.0 端口均未出现此问题。 当低速 (LS) 设备从下游高速集线器物理拔出,而其他 3 个端口中的至少一个后台连接着至少一个低速设备时,锁定只会发生在特定的 USB 3.0 端口上(如果在尝试重新插入问题端口之前拔出后台低速设备,则不会出现此问题)。 关键行为隔离: 端口隔离:如果我们对另一个 USB 3.0 端口或 USB 2.0 端口执行完全相同的多设备拔插测试,则测试结果正常。故障仅限于单个 USB 3.0 端口。速度隔离:后台设备必须是低速设备。后台连接了多少高速设备(例如 USB 存储驱动器)并不重要;如果没有其他低速设备,拔出操作就能正常进行。 注意:缓解此问题的一个方法是,在尝试物理拔插之前,使用以下命令取消故障 USB 端口的授权: echo 0 > /sys/bus/usb/devices/1-1.1/authorized 如果我们解绑再重新绑定 USB 驱动程序,也能达到同样的效果。 使用的端口 集线器上的后台设备 设备正在拔掉电源 断开连接方法 主机控制器结果 USB 3.0(良好端口) 低速 低速 物理抽签 彻底拆解 USB 2.0端口 低速 低速 物理抽签 彻底拆解 USB 3.0(故障端口) 仅限高速 低速 物理抽签 彻底拆解 USB 3.0(故障端口) 无 低速 物理抽签 彻底拆解 USB 3.0(故障端口) 低速 低速 软件(已授权=0) 彻底拆解 USB 3.0(故障端口) 低速 低速 物理抽签 命令环超时(-110),主机死亡 日志, root@lec-imx8mp:~# lsusb 总线 001 设备 001:ID 1d6b:0002 Linux Foundation 2.0 根集线器 总线 001 设备 002:ID 1d5c:5510 Fresco Logic Frescologic USB2.0 集线器 总线 001 设备 004:ID 413c:301a 戴尔计算机公司 戴尔 MS116 光电鼠标 总线 001 设备 005:ID 413c:2113 戴尔电脑公司 KB216 有线键盘 总线 002 设备 001:ID 1d6b:0003 Linux Foundation 3.0 根集线器 总线 002 设备 002:ID 1d5c:5500 Fresco Logic Frescologic USB3.1Gen2 集线器 root@lec-imx8mp:~# [ 39.686850] usb 1-1.2:USB断开连接,设备编号5 [ 41.191295] usb 1-1.1:使用 xhci-hcd 的新型低速 USB 设备,设备编号为 6 root@lec-imx8mp:~# lsusb 总线 001 设备 001:ID 1d6b:0002 Linux Foundation 2.0 根集线器 [ 51.427313] xhci-hcd xhci-hcd.1.auto:xHCI 主机未响应停止端点命令 [ 51.443403] xhci-hcd xhci-hcd.1.auto:xHCI 主机控制器无响应,假定其已损坏 [ 51.451350] xhci-hcd xhci-hcd.1.auto:HC去世;清理工作 [ 51.457035] usb 1-1-port1:无法分配 usb_device [ 51.462339] usb 1-1:USB 断开连接,设备编号 2 总线 001 设备 002:ID 1d5c:5510 [ 51.467338] usb 1-1.4:USB断开连接,设备编号4 Fresco Logic Frescologic USB2.0 H[ 51.475602] usb 2-1:USB 断开连接,设备编号 2 总线 001 设备 004:ID 413c:301a 戴尔计算机公司 戴尔 MS116 光电鼠标 总线 002 设备 001:ID 1d6b:0003 Linux Foundation 3.0 根集线器 总线 002 设备 002:ID 1d5c:5500 Fresco Logic Frescologic USB3.1Gen2 集线器 root@lec-imx8mp:~# lsusb 总线 001 设备 001:ID 1d6b:0002 Linux Foundation 2.0 根集线器 总线 002 设备 001:ID 1d6b:0003 Linux Foundation 3.0 根集线器   i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Linux Yocto Project Re: i.MX8MP USB Host Lockup (-110) on Low Speed device Physical Unplug 任何关于此问题的见解或解决方案都将非常有帮助。 谢谢 Re: i.MX8MP USB Host Lockup (-110) on Low Speed device Physical Unplug 你好, 您能否尝试在设备树中添加这两个特殊设置? /* 禁用 USB 2.0 管道上的停车模式功能 */ snps,parkmode-disable-hs-quirk; /* 强烈建议同时包含此项,以防止频繁的链路休眠 */ snps,dis_u2_susphy_quirk; 这将修改控制器 GUCTL1 寄存器中的第 16 位(PARKMODE_DISABLE_HS)。它会停止高速总线线路的预取调度机制,确保控制器在处理来自集线器后面的设备的操作时不会陷入无响应陷阱。 希望这能帮到你。 此致敬礼/Saludos, 阿尔多。
View full article
スマートホームデバイスを使ってエネルギーを節約するには? スマートホームデバイスを使って電気代を減らそうとした人はいますか?新しい賃貸アパートに引っ越すので、光熱費を節約するために工夫を凝らしたいと思っています。パートナーと一緒に暮らす。
View full article
CW_PA_v10.5.1でQCVSパッケージをインストールしている際のエラー こんにちは、 PBL用のQorIQ設定プロジェクトを作成する必要があり、そのためQCVSパッケージをインストールする必要があります。 「QCVS Power Architecture Rev 4.5.zip for CodeWarrior オフラインインストールパッケージ」をダウンロードしました。しばらく前にサポートポータルから。最近、新しいノートPCに CodeWarrior 10.5.1 をインストールしました。 しかし、CodeWarriorにQCVSパッケージをインストールしたり追加したりすることができません。インストール中に、以下のエラーが発生しました。 この問題を解決するのを手伝ってください。 よろしくお願いいたします。 ヴィマルプラサード。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 PCでCodeWarriorソフトウェアをアンインストールしてください。 以下のリンクから「QCVS offline installation packages for CodeWarrior for Power Architectures Rev 4.5.zip」および「CodeWarrior Development Studio for Power Architecture v10.5.1 – Windows.exe」をダウンロードしてください https://support.nxp.com/s/case/500Te00000gyh6mIAA/community-error-while-installing-the-qcvs-package-in-cwpav1051?language=en_US まず、CodeWarrior for PA 10.5.1をインストールしてください。その後、新しいワークスペースでCodeWarrior IDEを開き、「CodeWarrior for Power Architectures Rev 4.5.zipのQCVSオフラインインストールパッケージ」をインストールします。CodeWarrior IDEのHelp->Install New Software->Add->Archiveから。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 こんにちは@yipingwangさん ご回答ありがとうございます。 新しいワークスペースで試してみましたが、それでもインストール中にこのエラーが発生します。 CW_PA_v10.5.1に対応した最新バージョンのQCVSツールはありますか? よろしくお願いいたします。 ヴィマルプラサード。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 まず新しいワークスペースでCodeWarrior IDEを開き、CodeWarrior IDEのHelp->Install New Software->Add->ArchiveからQCVS 4.5をインストールしてください。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 こんにちは@yipingwangさん まだ以下のエラーが表示されます。 さらに、 CodeWarrior for Power Architecture Rev 4.5.zip向けのQCVSオフラインインストールパッケージを追加しました。 これは、「processcheck」アクションで「path」パラメータが設定されていないことを示しています。 よろしくお願いいたします。 ヴィマルプラサド M Re: Error while installing the QCVS package in CW_PA_v10.5.1 こんにちは@yipingwangさん ご返信ありがとうございます。 Windows 11にCW 10.5.1とQCVS 4.5をインストールする方法はありますか? あるいは、Windows 11に対応した最新のQCVSバージョンはありますか? Re: Error while installing the QCVS package in CW_PA_v10.5.1 お使いのOSは何ですか?Windows 11? Re: Error while installing the QCVS package in CW_PA_v10.5.1 こんにちは@yipingwangさん はい、Windows 11を使用しています。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 私もWindows 11環境で同様の問題を再現できました。 Windows 10の仮想マシンにCW 10.5.1とQCVS 4.5をインストールすることをお勧めします。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 Windows 11向けの新しいバージョンのQCVSソフトウェアはまだありません。 ご不便をおかけして申し訳ありません。
View full article
Error while installing the QCVS package in CW_PA_v10.5.1 Hi, I need to create a QorIQ Configuration Project for PBL and therefore need to install the QCVS package. I downloaded "QCVS Offline Installation Packages for CodeWarrior for Power Architectures Rev 4.5.zip" from the support portal some time ago. Recently, I installed CodeWarrior 10.5.1 on a new laptop. However, I am unable to install or add the QCVS package to CodeWarrior. During the installation, I encounter the following error: Please help me to resolve this issue. Regards, Vimalprasad. Re: Error while installing the QCVS package in CW_PA_v10.5.1 Please uninstall CodeWarrior software on your PC. Please download "QCVS offline installation packages for CodeWarrior for Power Architectures Rev 4.5.zip" and  “CodeWarrior Development Studio for Power Architecture v10.5.1 – Windows.exe” from the following link https://support.nxp.com/s/case/500Te00000gyh6mIAA/community-error-while-installing-the-qcvs-package-in-cwpav1051?language=en_US Please install CodeWarrior for PA 10.5.1 first. Then open CodeWarrior IDE in a new workspace and install "QCVS offline installation packages for CodeWarrior for Power Architectures Rev 4.5.zip" from Help->Install New Software->Add->Archive in CodeWarrior IDE. Re: Error while installing the QCVS package in CW_PA_v10.5.1 Hi @yipingwang , Thanks for your response, I have tried in the new workspace, but still I'm getting this error while installing. Is there any latest version of QCVS tool is there for CW_PA_v10.5.1? Regards, Vimalprasad. Re: Error while installing the QCVS package in CW_PA_v10.5.1 Please open CodeWarrior IDE in a new workspace first and install QCVS 4.5 from Help->Install New Software->Add->Archive in CodeWarrior IDE. Re: Error while installing the QCVS package in CW_PA_v10.5.1 Hi @yipingwang , I'm still getting this following error. while adding this QCVS offline installation packages for CodeWarrior for Power Architectures Rev 4.5.zip. It shows the "path" parameter was not set in the "processcheck" action. Regards, Vimalprasad M Re: Error while installing the QCVS package in CW_PA_v10.5.1 What OS are you using? Windows 11? Re: Error while installing the QCVS package in CW_PA_v10.5.1 Hi @yipingwang , Thanks for your reply,  Is there any way to install CW 10.5.1 and QCVS 4.5 on a Windows 11? Or, is there any updated QCVS version is there for Window 11? Re: Error while installing the QCVS package in CW_PA_v10.5.1 I also reproduced your problem on my Windows 11 OS environment. I suggest you install CW 10.5.1 and QCVS 4.5 on a Windows 10 VM. Re: Error while installing the QCVS package in CW_PA_v10.5.1 Hi @yipingwang ,       Yes, I'm using Windows 11. Re: Error while installing the QCVS package in CW_PA_v10.5.1 We don't have new version QCVS software for Windows 11 so far. Sorry for the inconvenience. 
View full article