Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
FRDM33771BSPIEVB MATLAB 支持 你好 在恩智浦基于模型的设计工具箱中,我没有在电池示例中获得 Bcc_771 块组。 请告诉我是否需要安装其他模块集? Bcc_772、Bcc_774、Bcc_775 已存在,但未找到 Bcc_771。 此外,我能否获得使用该模块组和平衡逻辑获取电池组的电池电压、电流和温度的分步程序? 这将很有帮助,谢谢 ! Re: FRDM33771BSPIEVB MATLAB support 你好@bhushan7051和@petervlna 适用于电池管理系统 的基于模型的设计工具箱仅支持 MC33774A、MC33775A 和 MC33772C,这些部件用于主要的 HVBMS 参考设计,因为从 Simulink 生成的代码与适用于 S32K3 的 MBDT 结合使用时,基于恩智浦实时驱动 和电池管理系统 软件开发工具包,后者不支持 MC33771B/MC33771C。 但是,要使用 FRDM33771BSPIEVB 板,你必须将其与 S32K144 配对,请从这里下载并安装适用于 S32K1 的 MBDT https://www.mathworks.com/matlabcentral/fileexchange/64740-nxp-support-package-s32k1xx最新版本同时支持 MC3377[1/2][B/C]。 此致, Marius Re: FRDM33771BSPIEVB MATLAB support 你好 由于我没有从电池管理系统团队那里得到任何反馈,我正在从现有材料中调查这个问题。 我可以看出 S32K358 的可用代码包中没有 771: 但是,我不明白 Codewarrior 中演示的 FRDM33771BSPIEVB 有什么意义,它与 BCC_77x 示例有什么联系。 我看到 BCC_S32K144_MC33771_FreeMASTER 和 BCC_S32K144_Monitoring 的演示,其中包含 XML 格式的文档。 你能说得更具体一些吗? 此外,我能否获得使用该模块组和平衡逻辑获取电池组的电池电压、电流和温度的分步程序? 有《电池管理系统 软件安装指南》,第 5 章介绍了基本的使用示例: https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/S32K/31702/1/BMS_SWInstalationGuide_Application.pdf&ved=2ahUKEwi0o4ywh6COAxUFzAIHHU6XA5YQFnoECBMQAQ&usg=AOvVaw1EUf4PdWTQXhFyQM-w5QVJ 有关 API 的文档位于 RTD 代码包中的文件夹文档中。 这里还有教程: https://www.nxp.com/design/design-center/training/TIP-SPEED-UP-BMS-APPS-MBDT 顺祝商祺! Peter Re: FRDM33771BSPIEVB MATLAB support 还是没有回应? Re: FRDM33771BSPIEVB MATLAB support 你好 我没有得到任何回复,所以我把这个话题升级了。 我会尽快通知您。 顺祝商祺! Peter Re: FRDM33771BSPIEVB MATLAB support 你好 直到现在才有更新。 仍在等待电池管理系统团队的回应。 顺祝商祺! Peter Re: FRDM33771BSPIEVB MATLAB support 谢谢你,彼得,我在等待进一步的答复! Re: FRDM33771BSPIEVB MATLAB support 你好 我已经联系了我们的电池管理系统团队,看看这里有什么问题。 我会尽快反馈给您。 顺祝商祺! Peter
記事全体を表示
pca9450b pmic_on_req held LOW by imx8 nano ultralite i have a custom board using factory-new imx8 nano ultralite powered by the PCA9450B PMIC PMIC_ON_REQ is connected directly to the MCU with an external 10K pull up. I am noticing that the OMIC_ON_REQ signal is held low (0V) even with the 10k pull up. This it is causing the PMIC to be stuck in SNVS power mode (only the 1V8 and 0V8 rails are powered) and not entering RUN. The datasheet for the iMX8 says the PMIC_ON_REQ   Default Pin Function is "snvsmix.PMIC_ON_REQ" and the Input/Output status is "Open-drain, output high, with PU". So i am very confused as to why this signal is being held low. If i cut the trace to the MCU, when i apply power the pull up correctly causes the PMIC_ON_REQ signal at the PMIC to be HIGH (1.8V) and the PMIC enters RUN mode and all the rails power up correctly. I am wondering what is causing the imx8 to hold the signal LOW even with the external pull up, especially given the datasheets description of the mcu pin. Thank you! i.MX 8M | i.MX 8M Mini | i.MX 8M Nano PMIC Re: pca9450b pmic_on_req held LOW by imx8 nano ultralite Pulling up ONOFF to 1V8 instead of 0V8 fixed it! That was an error in the design. thank you very much! Re: pca9450b pmic_on_req held LOW by imx8 nano ultralite Hi, Yes, actually the BootROM can be a reason for PMIC_ON_REQ not being asserted, it waits for SNVS supplies, then delays for an amount of time, also it depends on the processor control inputs. Please review: 1. Pull ONOFF to LDO1 (1V8 instead of 0V8). 2. PMIC outputs clock source to processor. 3. Processor oscillator has a valid clock. 4. SNVS supplies are valid. Regards Re: pca9450b pmic_on_req held LOW by imx8 nano ultralite Here are the relevant schematic sheets. The schematic follows the schematic in the PCA4950 app note. No pull up on PMIC_ON_REQ. POR_B has external pull up. The datasheet does not say anything about pull up resistor on the PMIC_ON_REQ. Can you tell me what page of the datasheet says not to put a pull up resistor on that signal? Or did you mean app note where there is the reference schematic? I found other notes researching online that a valid design is attaching an external pull up to PMIC_ON_REQ signal (permanently setting it HIGH) and permanently pulling PMIC_STBY_REQ to LOW if i do not want the MCU to be able to control the power modes of the PMIC.  My schematic has an external pull up resistor on POR_B. I am away from the lab so I do not have the board in front of me, but i think POR_B signal is ok because when i attach an external pull up resistor to the PMIC_ON_REQ signal, the PMIC enters run (all rails power up correctly) and the firmware developer is able to connect to the iMX8 over JTAG and read back the target data. The firmware developer is also able to flash firmware to the eMMC. So my issue remains that the iMX8 PMIC_ON_REQ pin is holding the signal LOW (even with the external pull up). When i cut the trace to the iMX8, the added external pull-up pulls the signal high and the PMIC enters run. Is there something in the ROM of the iMX8 that could cause this? I am confused by this behavior because the imx8 datasheets says the default function and state of the PMIC_ON_REQ pin is open-drain output set to HIGH state Re: pca9450b pmic_on_req held LOW by imx8 nano ultralite Hi, Could you remove the pull-up, as per PCA9450B datasheet, pull-up is not needed. Could you share the relevant schematics? What is the status of POR_B in your board? HDG states that it's used by the processor to assert PMIC_ON_REQ and requires a pull-up. Regards Re: pca9450b pmic_on_req held LOW by imx8 nano ultralite Yes I have looked at the HDG. It does not cover my issue. There is no issue with the reset or power on sequence if i cut the trace to the PMIC_ON_REQ pin on the iMX8. With the trace cut, PMIC power up sequence is valid, reset is released, and we are able to JTAG connect to the board and read back the board target info. For some reason the iMX8 PMIC_ON_REQ pin is holding that signal low and this is particular signal is not mentioned in the board bring up in the HDG. Any other thoughts? Re: pca9450b pmic_on_req held LOW by imx8 nano ultralite Hi, Thank you for your interest in NXP Semiconductor products, Have you gone through chapter 4 Avoiding board bring-up problems of IMX8MNHDG? There could be a reset cause that holds the line asserted. Regards
記事全体を表示
必要なブートアニメーションが複数のディスプレイに表示される こんにちは、皆さん。 現在、Android 14 OS の「マルチディスプレイ」機能を有効にする NXP MX8MP プラットフォームに取り組んでおり、プライマリ ディスプレイとして 1 つの DSI MIPI ディスプレイを使用し、もう 1 つを LVDS ディスプレイとして使用しています。マルチディスプレイ機能は正常に実装されましたが、起動時に Android のブートアニメーションは DSI MIPI ディスプレイにのみ表示され、この Android のブートアニメーションは LVDS ディスプレイには表示されません。 ここでは、両方のディスプレイで Android のブートアニメーションを取得する必要があります。これを解決するにはどうすればいいでしょうか? グラフィックスとディスプレイ i.MX 8ファミリ | i.MX 8QuadMax (8QM) | 8QuadPlus マルチメディア Re: Required Boot animation shows in multiple display こんにちは@Bio_TICFSL できるだけ早くこの問題の解決策をご提供ください。かなり長い間、あなたの返答を待っていました。 よろしくお願いいたします。 マノジ・クマール Re: Required Boot animation shows in multiple display こんにちは@Bio_TICFSL この問題の解決にご協力CANますか? Re: Required Boot animation shows in multiple display こんにちは@Bio_TICFSL サポートありがとうございます。しかし、問題は異なります。「マルチディスプレイの有効化」に取り組んでおり、この機能は正常に実装されました。問題は、メインディスプレイ(DSI MIPI)ではAndroidの起動アニメーションが表示されるのに対し、LVDSディスプレイではAndroidの起動アニメーションが表示されず、起動完了後すぐにホーム画面が表示されることです。 ここでは、両方のディスプレイで Android のブートアニメーションを取得する必要があります。これを解決するにはどうすればいいでしょうか? Re: Required Boot animation shows in multiple display こんにちは、 Android MX8 システムで両方のモニターにブートイメージを表示するには、U-Boot ブートローダーと Linux カーネルの両方をデュアルディスプレイ対応にサポートする必要があります。これには、デバイスツリーファイル (DTB/DTBO) の変更と、場合によっては U-Boot のブート引数の調整が含まれます。さらに、カーネルが両方のモニターに適したディスプレイのドライバと設定でコンパイルされていることを確認することも重要です。  1. U-Boot 構成: デバイス・ツリー: 両方のディスプレイの存在を反映するために、デバイスツリー(DTBまたはDTBO)を更新する必要があります。これには、適切なディスプレイコントローラ(例:LVDS、HDMI、MIPI-DSI)を有効にし、各ディスプレイの設定を構成することが含まれます。      ブート引数: U-Boot では、正しいディスプレイ構成を指定するために bootargs 変更し、デュアル ディスプレイ セットアップ用の正しい DTB/DTBO ファイルをロードする必要がある場合があります。        2. カーネル構成: デバイス・ツリー: カーネルのデバイス ツリー (多くの場合、 arch/arm64/boot/dts/ の下にあります) も、U-Boot の変更と同様に、デュアル ディスプレイの設定を反映するように更新する必要があります。      表示選択: カーネルは、各ディスプレイにどのディスプレイ コントローラを使用するかを認識する必要があり、これは多くの場合、デバイス ツリーを通じて行われます。        3. Android固有の手順: ブートイメージ: Android ブートイメージ (boot.img) は、カーネルとデバイスツリーに必要な変更を加えた後、再構築する必要があります。このイメージには、カーネル、RAM ディスク、そして場合によってはその他のバイナリが含まれています。      ディスプレイの初期化: Android システムは起動時に両方のディスプレイを初期化する必要があり、これにはディスプレイ ドライバと構成設定への特定の呼び出しが含まれる場合があります。        4. テスト: 初期ブート: 新しいブートイメージを書き込んだ後、システムを起動し、ブートプロセスを確認します。両方のディスプレイにブートロゴとその他のブートメッセージが表示されます。      表示機能: システムが Android を起動した後、両方のディスプレイが正しく動作していること、および両方のディスプレイでシステムを操作できることを確認します。      よろしくお願いします。          
記事全体を表示
FRDM33771BSPIEVB MATLABサポート こんにちは、 NXP モデルベースデザインツールボックスでは、バッテリーの例に Bcc_771 ブロックセットが取得されません。 追加のブロックセットをインストールする必要があるかどうかCAN教えてください。 Bcc_772、Bcc_774、Bcc_775はありますが、Bcc_771は見つかりません。 また、このブロックセットとバランスロジックを使用して、バッテリーパックのセル電圧、電流、温度を取得するための手順を段階的に教えていただけますか? 助かります。ありがとうございます! Re: FRDM33771BSPIEVB MATLAB support こんにちは、@bhushan7051 さんと@petervlna さん BMS 用のモデルベース デザイン ツールボックスは、主要な HVBMS リファレンス・デザインに使用される部品である MC33774A、MC33775A、および MC33772C のみをサポートします。これは、S32K3 用の MBDT と組み合わせて使用する場合、Simulink から生成されるコードは、MC33771B/MC33771C をサポートしない NXP リアルタイム・ドライバと BMS SDKs に基づいているためです。 ただし、FRDM33771BSPIEVB ボードを使用するには、S32K144 とペアリングする必要があり、ここから S32K1 用の MBDT をダウンロードしてインストールしてくださいhttps://www.mathworks.com/matlabcentral/fileexchange/64740-nxp-support-package-s32k1xx最新バージョンではMC3377[1/2][B/C]の両方をサポートしています。 よろしくお願いいたします。 マリウス Re: FRDM33771BSPIEVB MATLAB support こんにちは、 BMS チームからフィードバックが得られなかったため、入手可能な資料からこれを調査しています。 S32K358 で利用可能なパッケージには 771 が存在しないことがわかります。 しかし、Codewarrior にデモがある FRDM33771BSPIEVB のポイントがわかりません。それがどのように BCC_77x の例にコネクテッドされるのでしょうか。 BCC_S32K144_MC33771_FreeMASTER および BCC_S32K144_Monitoring のデモがあり、XML 形式のドキュメントが含まれています。 もっと具体的に教えていただけますか? また、このブロックセットとバランスロジックを使用して、バッテリーパックのセル電圧、電流、温度を取得するための手順を段階的に教えていただけますか? BMS ソフトウェア インストール ガイドの第 5 章には、例を使った基本的な操作方法が説明されています。 https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/S32K/31702/1/BMS_SWInstalationGuide_Application.pdf&ved=2ahUKEwi0o4ywh6COAxUFzAIHHU6XA5YQFnoECBMQAQ&usg=AOvVaw1EUf4PdWTQXhFyQM-w5QVJ API に関するドキュメントは、RTD パッケージの doc フォルダーにあります。 ここにチュートリアルもあります: https://www.nxp.com/design/design-center/training/TIP-SPEED-UP-BMS-APPS-MBDT よろしくお願いいたします。 ピーター Re: FRDM33771BSPIEVB MATLAB support まだ応答がありませんか? Re: FRDM33771BSPIEVB MATLAB support こんにちは、 返答がなかったので、トピックを拡大しました。 できるだけ早くお知らせします。 よろしくお願いいたします。 ピーター Re: FRDM33771BSPIEVB MATLAB support こんにちは、 今のところ更新はありません。 まだ BMS チームの返答を待っています。 よろしくお願いいたします。 ピーター Re: FRDM33771BSPIEVB MATLAB support ピーターさん、ありがとうございます。今後の返答をお待ちしています。 Re: FRDM33771BSPIEVB MATLAB support こんにちは、 何が問題なのかを確認するために、BMS チームにお問い合わせしました。 できるだけ早くフィードバックします。 よろしくお願いいたします。 ピーター
記事全体を表示
imx8mp OpenGL 无显示 有没有办法让 OpenGL 在无头模式下运行(不连接显示器)? 我正在使用基于 fsl-xwayland 映像的 imx8mp。我知道 PGU 等设备在我的设备树中配置正确,因为连接后就能正常显示。如果我尝试像这样运行一个简单的 gstreamer 管道: gst-launch-1.0 videotestsrc ! video/x-raw,format=NV12,width=1920,height=1080 ! queue ! glupload ! glcolorconvert ! gldownload ! video/x-raw,format=RGB ! queue ! fakesink 我收到以下错误信息 Got context from element 'gldownloadelement0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\ gldisplaywayland0"; ERROR: from element /GstPipeline:pipeline0/GstGLUploadElement:gluploadelement0: Failed to perform a wayland roundtrip 我的系统安装为通过 SSH 使用 remote-x 服务器,但即便如此,我也一无所获。 有没有什么 XDG 变量可以设置? 图形与显示 i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Linux 多媒体 Yocto Project Re: imx8mp OpenGL without display 所以,我要回答我自己的问题,供其他来这里的人参考: 我可以通过以下方法让 GPU 工作并执行 gstreamer glupload/glshader 等命令: - 为虚拟显示器加载 VKMS 内核模块 - 在 westom.ini 中设置 renderer=gl 并禁用"g2d" 。 经过这些设置后,WESTON 启动了,我也有了 opngl 命令。 有趣的是,我验证了 OpenCL 在 weston 离线时也能正常工作。遗憾的是,与普通矩阵相比,OpenCV 中使用 UMat 和 T-API 的性能并没有提高。它似乎确实比简单的逐元素乘法快得多,例如在 C 中,所以这可能要归因于 OpenCV 中的 Arm-neon 加速。 Re: imx8mp OpenGL without display 谢谢 ugurkur,但这似乎没什么用。 如果我检查 `echo $XDG_RUNTIME_DIR` ,会得到"/run/user/0" ,所以看起来没问题。 根据我的清单,我有你提到的所有代码包。但我仍然无法让 OpenGL 正常工作。 Re: imx8mp OpenGL without display 你好,我在 i.MX8M 板上遇到了同样的问题。对我有用的是将 weston、weston-init 和 weston-xwayland 代码包添加到我的 Yocto 图像中,这完全解决了显示错误。此外,我还使用以下命令设置了 XDG_RUNTIME_DIR 环境变量: export XDG_RUNTIME_DIR=/run/user/$( id -u) 希望这也能帮助您解决问题! Re: imx8mp OpenGL without display 那么,它们能教给我们什么吗?您还有什么其他想法,可能是什么原因导致了这个问题? Re: imx8mp OpenGL without display 这不是错误,你的系统应该在无显示的情况下运行。 此致 Re: imx8mp OpenGL without display 我得到以下信息 WARNING: erroneous pipeline: could not link videotestsrc0 to xvimagesink0, neither element can handle caps video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080 我是否漏掉了内核配置? Re: imx8mp OpenGL without display 你好 请再试一次: $ DISPLAY=:0 gst-用上市,不用发布-1.0videotestsrc !video/x-raw(memory:NVMM),width=1920,height=1080, 'video/x-raw,width=1920,height=1080 !xvimagesink sync=0 此致
記事全体を表示
MPC5744P ADC 在现场停止工作 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 您好, 我希望有人能紧急帮助我解决这个问题。 我们现场有一款产品,ADC 突然停止工作,ADC 值被冻结。这个问题只在现场出现,我们无法在测试实验室复制。我查阅了处理器手册,但没有找到任何可以在没有任何警告的情况下停止 ADC 转换的源代码。在 CPU 硬 RESET 后,ADC 开始正常工作。 我们还对 CPU 内部温度进行了监控,结果显示了同样的情况。 请解释一下造成这种现象的原因。是否可以在不重新启动 ADC 模块的情况下重新启动 ADC 模块? 谢谢! 此致, 阿里-梅拉伊 概述 Re: MPC5744P ADC stop working in the field 你好,我们也遇到了类似的问题。我们的芯片是 MPC5675K,使用 ADC 收集三个通道的数据。然而,不知从什么时候开始,数据不再同时工作了。我们已经在实验室测试了我们的设备是否有电子转账,但一直无法重现这个问题。对于 ADC 的突然冻结,我们目前束手无策。您有什么新的解决方案吗? Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,彼得、 对不起,我想说我们不能重新启动。 我们进行了一些高分辨率示波器测量,发现当 HV 接通时,ADC 输入电压会在几微秒内超过 5V,然后才重新稳定下来。我们正在实验室密切关注这一问题,电子团队正在努力缓解这一问题。 我同意你的所有观点。 一旦我从实验室得到了一些范围图,我将向你们提供最新信息,并可能向你们提供更多有关我们发现的信息。 非常感谢彼得。 此致, 阿里-梅拉伊 Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 您好, 问题在于我们可以 RESET 微型,因为这些 ADC 故障不会影响控制,但会限制产品功能。 你能还是不能?因为只有一种方法可以 RESET ADC模块和PBRIDGE(寄存器所在的位置),那就是系统 RESET。这也是我与设计部门讨论的结果。 此外,如果微波干扰与 EMI(900V 开关),我认为这对微波的整体概念也至关重要。 如何在如此严重的干扰下保证功能安全,从而使ADC模块停止工作。 其他模块也可能受到影响,如 FCCU、STCU 或类似模块,这些模块在 micro 运行期间并不一直在使用。 你看到的只是 ADC 问题,因为它一直在运行。 如果在微处理器处理 IVOR 或 FCCU 例程时开启高压,会对系统造成严重影响。 以上只是我的一些假设。 此致, Peter Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,彼得、 感谢您的测试。 问题在于我们可以 RESET 微型,因为这些 ADC 故障不会影响控制,但会限制产品功能。 产品已经交付给客户,我们可以对其进行任何修改,但我们正在进行内部调查,研究如何将 EMI 对 Mirco 的影响降至最低,以便对产品进行修改。临时解决办法是在现有产品出现故障时,以某种方式重新启动 ADC,使其重新联机。 所以我想你是在建议唯一的解决方案是 RESET Mirco 但没有其他方法可以让 ADC 恢复活力? 你是否建议先让 ADC 掉电,然后禁用时钟,然后重新启动时钟,然后重启 ADC 你认为这会再次重启 ADC 转换吗? 非常感谢彼得的帮助。 此致, 阿里-梅拉伊 Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 您好, PCTLx 将切断 ADC 的时钟。 请参阅参考手册: 59.3.52 ADC_0 外围设备控制寄存器(MC_ME_PCTL237) 但我刚刚进行了测试,它不会擦除 ADC 寄存器。(它们位于 PBRIDGE 上),因此在恢复 ADC 的时钟后,寄存器的值是相同的。 我想重置ADC寄存器的唯一方法是触发微型RESET。 如果你用子卡保护 ECU 免受 EMI 影响会发生什么?问题仍然存在吗? 此致, Peter Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,彼得、 我通过将掉电位设置为 1 来关闭 ADC 的电源,然后等到 ADC 状态更改为掉电然后重启它。我附上了 ADC 重新启动的代码。 我使用 SCAN 模式进行正常转换,而不是 CTU 模式。 因此,在代码启动时,通过将 NSTART 位设置为 1 来启动 ADC 一次,然后直接从 CDATA 读取数据 我附上了 ADC 配置和 ADC 每 1ms 读取一次的代码 希望这能解释 ADC 的设置方法。 为什么要停止转换?这是一个随机问题,因为它主要发生在接通高压(800V)电源时。这个问题与 EMI 有关,但它锁定了 CDATA 注册。我怎么能再次触发转换,因为我认为在扫描模式下不需要触发信号。 从 CDR 数据中提取数据时,有效位应该清零,但 CPU 处于该状态时,有效位不会清零。 您提到 PCTL 寄存器,请提供更多关于使用 PCTL 寄存器重启 ADC 的信息。 如果您需要更多信息,请告诉我。 此致, 阿里-梅拉伊 Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 您好, 重启 ADC 模块并没有解决问题,因为即使尝试重启 ADC 模块,ADC 值仍然被冻结。 您是如何重启 ADC 模块的?您是否在 PCTL 寄存器中将其关闭,然后将模式转换到 RUNx 再返回? 能否请您帮助我了解 CDR 注册锁定的原因? 看来 ADC 转换已经完成,新的转换尚未启动。 (因此,ADC 不会卡住,而是处于定义状态并等待新的转换触发信号,无论是 SW 还是 CTU) 这我就不知道了,因为我对 ADC 的使用方法了解有限。 此致, Peter 注:如果在 ADC 转换卡住后通过调试器手动启动 ADC 转换,会发生什么情况?它会继续转换吗? Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,彼得、 希望你一切顺利。 我有一个更新 重启 ADC 模块并没有解决问题,因为即使尝试重启 ADC 模块,ADC 值仍然被冻结。 我有注册快照,可以更深入地了解这个问题。 出现此问题时,ADC 模块工作正常,ADC 状态在状态 4 和 6 之间切换,但 CDATA 注册被冻结为固定值 CDR 寄存器 因此,它们都锁定为十进制 1171(十六进制 0x493)的相同值,有效位保持高电平 CPU 和 BandGap 显示了相同的行为。 能否请您帮助我了解 CDR 注册锁定的原因? 谢谢! 此致, 阿里-梅拉伊 Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 好的,彼得,谢谢。我会记录 ADC 的状态,如果有更新,我会给您回复。 谢谢您, 阿里 Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 很难说、 我从没试过这样做。 但是,如果时钟丢失,就无法从 PBRIDGE 上的寄存器中读取任何信息,而 ADC 也在该寄存器中。 但由于您能读取结果,我怀疑 ADC 转换未处于扫描模式,而是处于 IDLE 状态。 Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,彼得、 发生故障时,我会尝试将 ADC 状态保存在闪存中。 如果是时钟问题,那么你认为让 ADC 掉电并重启会恢复时钟吗? 此致, 阿里 Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗯 最重要的是查看 ADC 是否仍在转换,但结果寄存器没有更新。 当 ADC 转换卡住时,测试 SW 应检查 ADC 状态并将其存储。 由于是扫描模式,我想只有时钟丢失才会导致这种情况。 但首先让我们看看出现问题时 ADC 是否仍在转换。 此致, Peter Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,彼得、 主要问题是我无法在 LAB 中复制故障,因此不确定 ADC 状态寄存器在现场的状态如何。 我已经准备了一个测试软件,可以在ADC值停滞时执行ADC RESET,所以我希望这能解决这个问题。 我尝试过将ADC电源置于3.3V以下,但随后MCU RESET,因此这不是导致问题的原因,因为我们在现场看不到CPU RESET。我还尝试改变 ADC 的参考电压,但这并不能阻止 ADC 模块工作。 是否有办法强制解决 ADC 硬件上的任何特定问题,使其卡住,例如您提到的 ADC 校准丢失? 如果出现电压问题,我将检查 FCCU 的故障反应,我认为该问题未配置为执行 RESET。 谢谢! 阿里 Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 好吧,这些都是假设。 如果 ADC 功率下降或突破低压检测/HVD 阈值,则设备将执行通知并在启用后 RESET。 它可能导致ADC电容失准,或停滞在逻辑电平上,或许多其他原因。 如何启用和禁用 ADC? ADC 卡住时的状态是什么? 此致, Peter Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,彼得、 当发生这种情况时,计数被冻结在 1373 个计数上,再也无法恢复,因此我们必须执行电源循环。主要发生在高压电源启动时,但有时是随机的,在功能运行时也会发生。 我们已经在HV实验室测试了这些板,发现HV开启时ADC_HV和ADC_Ref出现峰值,但是ADC不会停止工作,它只发生在我假设电磁干扰水平很高的现场。HV 接通后,ADC_HV 和 ADC_ref 电压很快就会稳定下来。 您知道 ADC 在断电或出现噪音时会自动进入什么特定状态吗?重启 ADC 会有帮助吗? 此致, 阿里 Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 好吧,因为只有在接通 900V 时才会出现这种情况,所以我怀疑可能是电磁干扰问题。 出现这种情况时,ADC 电压测量值是多少?ADC ref 或 ADC_HV 是否存在尖峰? 测量的线路电压如何? 此致, Peter Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,彼得、 谢谢您的答复。 我使用的是 SCAN(扫描)模式,时钟频率为 80Mhz。 我在启动任务中启动转换,该任务只执行一次。 只要应用程序需要,我就会从 CDATA Reg 中收集转换后的数据。 我们有自己的控制板用于测试。 当开启高压电源(即 900 伏直流)时,会出现此问题。因此可能与电磁干扰有关,但 ADC 始终无法恢复,并不断报告 1373 计数。这种情况只发生在现场,因为我们无法在高压实验室复制这个问题。 以下是 ADC 设置和读取的代码 谢谢! 阿里 ADC_0.MCR.B.OWREN = 1U; /* 启用结果覆盖 */ ADC_0.MCR.B.CTUEN = 0U; /* CTU 模式未启用 */ ADC_0.MCR.B.模式 =cdd_adc_continious_scan_conversion; ADC_0.MCR.B.ADCLKSEL = 1U; /* 80 Mhz 模式 */ ADC_0.MCR.B.PWDN = 0U; /* 启用 ADC0(将其从掉电模式中释放) */ /* NSTART 应该是设置的最后一个寄存器位 */ ADC_0.MCR.B.NSTART = 1; /* 启动正常模式 */ 读取 ADC 转换后的数据                                                                        Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,阿里、 从你提供的非常简短的描述来看,它可以是任何东西,从处理顶级任务到总线权限,再到未服务的 ADC 触发信号或时钟故障。 如果能告诉我们您如何使用 ADC(CTu 或 CPU 模式?) 如何触发转化 如何提供转换后的数据 因为它看起来真的像你的 SW 设计中没有服务的角落案例。 您的软件在恩智浦 EVB 上运行正常吗? 此致, Peter Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 您好, 谁能帮我解决这个问题? 此致, 阿里
記事全体を表示
MPC5744P ADC stop working in the field Hi, I hope someone can help me on this issue urgently. We have a product in the field where the ADC suddenly stop working and the value of ADC values are frozen. This issue only occurs in the field and we cannot replicate in test lab. I have consulted the processor Manual but couldn't find any source that could stop the ADC conversion without any warning. The ADC start working properly after the CPU is hard reset. We are also monitoring internal CPU temperature which shows the same behavior. Please could you explain what could be the source of this behavior?. is it possible to just restart the ADC module without hard rest to bring the ADC module back to life?. Thanks, Kind Regards, Ali Meraj General Re: MPC5744P ADC stop working in the field Hello, we've encountered a similar issue. Our chip is an MPC5675K, and we're using the ADC to collect data from three channels. However, at some point, the data stopped working simultaneously. We've tested our device in the lab for EFT, but haven't been able to replicate the issue. We're currently at a loss as to what to do about this sudden ADC freeze. Do you have any new solutions? Re: MPC5744P ADC stop working in the field Hi Peter, Sorry I wanted to mention that we can't restart. we have done some high resolution scope measurements and we are finding that when HV is turned ON the ADC input goes above 5V from couple of micro seconds before it is settled again. we are looking into this issue closely in the lab now and the Electronics team is working to mitigate this issue. I agree with all of your points. I will update you with some scope plots once I have them from the Lab and probably provide you more information of our findings. Thank you very much Peter. Regards, Ali Meraj Re: MPC5744P ADC stop working in the field Hi, The problem is that we can reset the Micro as these ADC fault doesnt effect the control but it limits the product functionality. You can or can't? Because there is only way how to reset ADC module and PBRIDGE(where the registers are located) and that is system reset. This is also outcome from my discussion with design. Furthermore, if you disturbing micro with EMI (900V switching) I assume that this is critical also for micro as whole concept. How you can guarantee the safety functions with such heavy disturbance which stops ADC module. Other modules can be affected as well, modules like FCCU, STCU, or similar which are not in use all the time micro is running. You just see only ADC issue as it is all the time running. In case you switch on high voltage in moment micro is processing some IVOR, or FCCU routine, it can have critical impact on system. These are just a few assumption from my side. regards, Peter Re: MPC5744P ADC stop working in the field Hi Peter, Thanks for testing. The problem is that we can reset the Micro as these ADC fault doesnt effect the control but it limits the product functionality. The products are already with the customer we can modify anything on those but we are doing internal investigation on how to minimize EMI effect on Mirco so that we revise our product. The interim fix would be to restart the ADC somehow to get them back online when the fault occurs on the existing products. so I think you are suggesting the only solution would be to reset the Mirco and there is no other way to bring the ADC back to life? would you suggest to first take the ADC into power down then disable the clock and then restart the clock and then restart the ADC do you think that would restart the ADC conversion again? Thank you very much Peter for your help. Kind Regards, Ali Meraj Re: MPC5744P ADC stop working in the field Hi, PCTLx will cut off the clocks to ADC. Refer to reference manual: 59.3.52   ADC_0 Peripheral Control Register (MC_ME_PCTL237) But I have just tested it and it will  not erase the ADC registers. (they are on PBRIDGE) so after restoring the clocks to ADC the registers value it the same. I guess only way to reset the ADC registers is to trigger reset of micro. What happen if you shield the ECU from EMI? Does the issue remain? regards, Peter Re: MPC5744P ADC stop working in the field Hi Peter, I took the ADC to power down by setting power down bit to 1 then wait till the ADC status is changed to power down then restart it. i have attached the code of ADC restart. I am using SCAN mode for normal conversion not CTU mode. so at the startup of the code the ADC is started once by setting NSTART bit to 1 and then just read the data from CDATA i have attached the code of ADC config and ADC read every 1ms I hope this explain how the ADC is setup. why would the conversion stop? this is random issue as it mostly happens when the high voltage (800V) supply is turned on. This issue is EMI related but its locking up the CDATA reg. how would i trigger the conversion again as I think in SCAN mode trigger is not required. the valid bit should be cleared when the data is extracted from CDR data but it doesn't clear when the CPU is in this state. you mention about PCTL register could you please provide more information on restarting the ADC using PCTL reg. Please let me know if you need more information. Regards, Ali Meraj Re: MPC5744P ADC stop working in the field Hi, The ADC module restart didn't solve the issue as the ADC values remain frozen even after trying to restart ADC module. How did you restart ADC module? Did you turn it of in PCTL register and then mode transition to RUNx and back? Could you please help me on understanding why the CDR reg is locking up?. It looks like the ADC conversion finished and new one is not started. (So the ADC is not stuck but staying in defined state and waiting for new conversion trigger, either SW or CTU) This I do not know as I have only limited information on how do you use ADC. regards, Peter PS: what happen if you start ADC conversion manually via debugger after it is stuck? Does it continue converting? Re: MPC5744P ADC stop working in the field Hi Peter, I hope you are doing good. I have an update The ADC module restart didn't solve the issue as the ADC values remain frozen even after trying to restart ADC module. I have register snapshots which give more insight of this issue. When this issue happens the ADC module is working normal and ADC Status is toggling between state  4 and 6 but the CDATA reg is frozen to a fix value CDR Registers so they all lock up to same value of 1171 decimal (0x493 Hex) and the Valid bit remains high The CPU and BandGap shows the same behavior. Could you please help me on understanding why the CDR reg is locking up?. Thanks, Kind Regards, Ali Meraj Re: MPC5744P ADC stop working in the field Ok Peter, thanks. I will log the ADC status and if i have an update I will get back to you. thanks, Ali Re: MPC5744P ADC stop working in the field Hard to say, I never tried it this way. But if the clock is lost you wont be able to read anything from registers on PBRIDGE where also ADC is. But as you are able to read results, I will suspect the ADC conversion is not in scan mode and it is IDLE. Re: MPC5744P ADC stop working in the field Hi Peter, I will try to save the ADC status in the flash when this fault occurs. if it is a clock issue then do you think that taking ADC into power down and restart will resume the clock? Regards, Ali Re: MPC5744P ADC stop working in the field Hmm, The most important is to see if the ADC is still converting but the result registers are not updated. Test SW should check the ADC status and store it when ADC conversion is stuck. As it is in scan mode, I guess only loss of clock can cause this condition. But first lets see if the ADC is still converting when the issue occurs. regards, Peter Re: MPC5744P ADC stop working in the field Hi Peter, The main problem is that I cant replicate the fault in the LAB so I am not sure what will be the status of the ADC status register in the field. I have prepared a test software to perform ADC reset if the ADC values are stuck so I am hoping that might get around this issue. what i have tried is taking the ADC supply below 3.3V but then MCU resets so that is not what is causing the issue as we don't see the CPU reset in the field. I have also tried changing the ADC ref voltage but this doesn't stop the ADC module from working. is there anyway I can force any particular issue on ADC hardware so that it gets stuck for example as you mentioned about loss of ADC calibration? I will check the FCCU for the fault reaction in case of voltage issue which i think is not configured to perform reset. Thanks, Ali Re: MPC5744P ADC stop working in the field Well, all this is hypothetical. If the ADC power drops or spikes out of LVD/HVD thresholds then the device will perform notification and reset if enabled. It can cause decalibration of ADC capacitors, or stuck on logic level, or many other things. What about enabling and disabling ADC? What is the Status of the ADC when it is stuck? regards, Peter Re: MPC5744P ADC stop working in the field Hi Peter, when this happens the counts are frozen to 1373 counts and never recover so we have to do power cycle. it mostly happens on HV power up but sometimes its random and it happens during the functional operation. We have tested the boards in HV lab and seen spikes on ADC_HV and ADC_ref when the HV is turned on but ADC doesn't stop working it only happens in field where I am assuming the EMI levels are high. The ADC_HV and ADC_ref voltage settles downs quite quickly after HV is on. Do you know any particular state that ADC takes itself in case of power failure or noise? does restarting ADC will help? Kind Regards, Ali Re: MPC5744P ADC stop working in the field ok, since it is only when you turn 900V on, them I suspect it can be EMI issue. What are the ADC voltages measurement when this happens? Are there any spikes on ADC ref or ADC_HV? What about measured line voltages? regards, Peter Re: MPC5744P ADC stop working in the field Hi Peter, thanks for reply. I am using SCAN mode @80Mhz clock rate. I start the conversion in the startup task which only execute once. I collect the converted data from CDATA reg whenever it is need by Application. we have our own control board which we are using for testing. This issue occurs when high voltage supply is turned on i.e.900Vdc. so it might be related to EMI but the ADC never recovers and counts reports 1373 counts constantly. This happens only in field as we cant replicate this issue in our HV lab. below is the code for ADC setup and reading Thanks, Ali ADC_0.MCR.B.OWREN = 1U; /* Enable result overwriting */ ADC_0.MCR.B.CTUEN = 0U; /* CTU mode not enable */ ADC_0.MCR.B.MODE = CDD_ADC_CONTINIOUS_SCAN_CONVERSION; ADC_0.MCR.B.ADCLKSEL = 1U; /* 80 Mhz mode */ ADC_0.MCR.B.PWDN = 0U; /* Enable ADC0 (release it from power-down mode) */ /* NSTART Should be the last register bit set */ ADC_0.MCR.B.NSTART = 1; /* Start normal mode */     READING of ADC converted DATA                                                                        Re: MPC5744P ADC stop working in the field Hi Ali, From the very brief description you have provided it can be anything from top level tasks handling trough  permission on buses down to the unserved ADC trigger or clock glitch. Maybe it would be a good start to tell us how do you use ADC (CTu or CPU mode?) How do you trigger conversion How do you serve converted data because it really looks like unserved corner case of your SW design. Is your SW running correctly on NXP EVB? regards, Peter Re: MPC5744P ADC stop working in the field Hi, Could someone help me on this issue please? Regards, Ali
記事全体を表示
致敬 示例代码 异步 SPI ON WB s32k344 您好 是否有人能帮助提供 WB S32k344(SPI 异步环回)的示例代码或其他东西。 我们正在努力解决这个问题 . 情景就像 、 我们想让 SPI UP .我们配置了 SPI 并调用了以下函数。 Spi_Init(NULL_PTR); Spi_SetAsyncMode(SPI_INTERRUPT_MODE); Spi_SetupEB(0u,TxChBuf0,RxChBuf0,20u); WriteIB(1u, TxChBuf1); Spi_AsyncTransmit(SpiConf_SpiSequence_SpiSequence_Slave); 但是我们也无法在 SPI_CLK 线路上检查时钟脉冲。 请指导我们如何验证向上 spi 的所有条件。 1. 关于 Spi,我有一个疑问需要澄清? 只有在传输 SPI_OUT 或 SPI_IN 数据时,才会获得 SPIclk。 Re: Regards Example Code Async SPI ON WB s32k344 Robin_Shen、 我有 S32K344-WB 板。听你这么说,示例项目无法在这里运行。该板与 S32K3X4EVB-Q257 或 S32K3X4EVB-T172 兼容板有什么区别?需要对示例进行哪些更改? 这是非常不幸的。 Re: Regards Example Code Async SPI ON WB s32k344 附件中的视频记录了我如何导入 EB 项目以生成代码,然后使用 S32DS 版本项目。我没有安装 S32K3 RTD 1.0.0,但安装了 RTD 1.0.0。已安装 HF01。但我认为这不是问题的原因。 您是否尝试过导入 RTD 1.0.0 项目并进行版本?(文件->新文件->S32DS 示例项目) 如果没有,恐怕您需要在 S32DS 社区提出一个新问题,并向我的同事寻求帮助。 或者使用 S32K3 RTD 1.0.0 重新安装 S32DS v3.4: 请从《S32K3xx 实时驱动程序 (RTD) 安装指南-培训》第 17 页开始 点击 S32K3 标准软件 -> 汽车软件 -S32K3/S32M27x-Cortex-M 的实时驱动程序-> 先前版本-> S32K3 实时驱动程序版本 1.0.0 点击 S32K3 标准软件 -> 汽车软件 -S32K3-S32 设计工作室-> 3.4.1_D2110 适用于 S32 平台的 S32 设计工作室 v.3.4 使用适用于 S32K3 设备的 Service Pack 2 进行 更新 Re: Regards Example Code Async SPI ON WB s32k344 无法理解此错误 .请帮我解决这个问题。 谢谢! Re: Regards Example Code Async SPI ON WB s32k344 我按照以下顺序进行了操作: 5.2.导入 EB tresos 项目 6.生成代码 5.1.导入 S32DS 项目 7.1.在 S32DS 中版本 Re: Regards Example Code Async SPI ON WB s32k344 你能帮我如何版本 S32DS 吗? 我找不到这方面的信息。 Re: Regards Example Code Async SPI ON WB s32k344 抱歉,s32k344_Whiteboard_example_rtm_1.0.0 中的 EB 配置项目似乎只能在 S32DS 中版本并生成 elf 文件。它不像 S32K3 RTD 中的其他 EB 项目一样提供生成文件来版本。 Re: Regards Example Code Async SPI ON WB s32k344 你好,罗宾 我阅读了上述文件。本文档只提到了如何生成代码,但我想了解有关编译代码和生成 elf 的信息。 请提供帮助。 这里只有 S32ds 的版本信息没有 EB tresos 编译信息吗 Re: Regards Example Code Async SPI ON WB s32k344 你是否按照第 " 2.3.2 章安装了 sw32k3_rtd_4.4_ 1.0.0_d2110.exe。安装 S32K344_Whiteboard_Software_User_Guide.pdf 的实时驱动程序 "?(C:\NXP\S32K344_Whiteboard_Example_RTM_1.0.0\ s32K344_Whiteboard_example_rtm_1.0.0\ S32K344_Whiteboard_Software_User_Guide.pdf) 请点击下载 RTD S32K3 标准软件-> 汽车软件-s32K3/S32M27x-Cortex-M 的实时驱动程序-> 问:是否有任何文档可以指导关于 EB 项目的导入和版本,编译 A:请按照 S32K344_Whiteboard_Software_User_Guide.pdf 的指南进行操作,例如:5.2。导入 EB tresos 项目。 Re: Regards Example Code Async SPI ON WB s32k344 你好,罗宾 是否有任何文档可以指导有关EB项目的导入和编译,版本它。 我正在努力导入和编译它。 请帮助我 正如您所看到的,项目结构差异太大。 谢谢  阿比舍克 Re: Regards Example Code Async SPI ON WB s32k344 你好,罗宾 我有版本 1 的 RTD 软件包 可在此处获取 Re: Regards Example Code Async SPI ON WB s32k344 你好,罗宾 请告诉我这些插件使用了哪个 RTD 软件包。因为我无法获取这些插件 请为我提供路径。 谢谢! 阿比舍克 Re: Regards Example Code Async SPI ON WB s32k344 是的。 请告诉我你使用的是哪个板。它是汽车通用用途的 S32K344-WB 评估板吗?S32K344 白板 示例项目中有一个 Spi_Example_47478A_440_100 项目供你参 考。(C:\NXP\S32K344_Whiteboard_Example_RTM_1.0.0\S32K344_Whiteboard_Example_RTM_1.0.0\SPI\Spi_Example_47478A_440_100) 遗憾的是,S32K3 RTD 通常是 S32K3X4EVB-Q257 或 S32K3X4EVB-T172 上的示例,因此如果在 RTD 中使用该项目,则需要根据 S32K344-WB 硬件进行修改。 祝好, Robin ------------------------------------------------------------------------------- 注: - 如果本帖回答了您的问题,请点击"ACCEPT AS SOLUTION" 按钮。谢谢! - 我们会在最后一次发帖后的 7 周内跟踪主题,之后的回复将被忽略 如果您以后有相关问题,请另开新主题并参考已关闭的主题。 -------------------------------------------------------------------------------
記事全体を表示
よろしくお願いいたします サンプルコード 非同期 SPI ON WB s32k344 こんにちは どなたか、WB S32k344 (SPI 非同期ループバック) のサンプル コードなどについてお手伝いいただけませんか。 私たちはここでそれに苦労しています。 シナリオは次のようになります。 SPI UP を取得したいと考えています。SPI が設定されており、以下の関数が呼び出されます。 Spi_Init(NULL_PTR); Spi_SetAsyncMode(SPI_INTERRUPT_MODE); Spi_SetupEB(0u, TxChBuf0, RxChBuf0, 20u); WriteIB(1u, TxChBuf1); Spi_AsyncTransmit(SpiConf_SpiSequence_SpiSequence_Slave); しかし、SPI_CLK ライン上のクロックパルスもチェックすることはできません。 SPI をアップするためのすべての条件を確認する方法を親切に教えてください。 1. SPI について明確にしておきたい疑問が 1 つあります。 SPIclk は、SPI_OUT または SPI_IN でデータが転送されているときにのみ取得されます。これは正しいですか? Re: Regards Example Code Async SPI ON WB s32k344 Robin_Shenさん、 s32K344-WB ボードを持っています。あなたのおっしゃる通り、サンプル プロジェクトはここでは実行されません。このボードと互換ボードS32K3X4EVB-Q257 または S32K3X4EVB-T172 の違いは何ですか? 例にはどのような変更を加える必要がありますか? これは非常に残念なことだ。 Re: Regards Example Code Async SPI ON WB s32k344 添付ファイルのビデオには、EB プロジェクトをインポートしてコードを生成し、S32DS を使用してプロジェクトをビルドする方法が記録されています。S32K3 RTD 1.0.0はインストールされていないが、RTD 1.0.0はインストールされていますHF01がインストールされました。しかし、これがこの問題の原因だとは思いません。 RTD 1.0.0 プロジェクトをインポートしてビルドしてみましたか?(ファイル->新規->例からのS32DSプロジェクト) そうでない場合は、S32DS コミュニティで新しい質問をして、同僚に助けを求める必要があります。 または、S32K3 RTD 1.0.0 を含む S32DS v3.4 を再インストールします。 S32K3xx リアルタイム・ドライバ(RTD)インストールガイド - トレーニングの17ページから始めてください。 クリック S32K3 標準ソフトウェア - > オートモーティブ SW - S32K3/S32M27x - Cortex-M 用リアルタイム・ドライバ -> 前へ -> S32K3 リアルタイム・ドライバ バージョン 1.0.0 クリック S32K3 標準ソフトウェア - > オートモーティブ SW - S32K3 - S32 Design Studio -> 3.4.1_D2110 S32 プラットフォーム用 S32 Design Studio v.3.4 アップデート(S32K3 デバイス向け Service Pack 2 対応) Re: Regards Example Code Async SPI ON WB s32k344 このエラーを理解できません。どうか私を助けていただけますCANか。 よろしくお願いします。 Re: Regards Example Code Async SPI ON WB s32k344 私は次の順序に従いました: 5.2.EB tresos プロジェクトのインポート 6. コードを生成する 5.1.S32DSプロジェクトのインポート 7.1.S32DSを内蔵 Re: Regards Example Code Async SPI ON WB s32k344 S32DS の構築方法をCAN教えていただけますか? この情報は見つけることができません。 Re: Regards Example Code Async SPI ON WB s32k344 申し訳ありませんが、S32K344_Whiteboard_Example_RTM_1.0.0 の EB 構成プロジェクトは、S32DS でのみビルドされ、elf ファイルを生成するようです。S32K3 RTD の他の EB プロジェクトのようにビルドするための makefile は提供されません。 Re: Regards Example Code Async SPI ON WB s32k344 こんにちは、ロビン 上記の文書を確認しました。このドキュメントではコードの生成方法のみが記載されていますが、このコードのコンパイルと ELF 生成に関する情報も知りたいです。 親切に助けてください。 ここではS32dsのビルド情報のみが記載されており、EB tresosのビルド情報は記載されていません。 Re: Regards Example Code Async SPI ON WB s32k344 S32K344_Whiteboard_Software_User_Guide.pdf の「 2.3.2. リアルタイム・ドライバのインストール 」の章に従って、 SW32K3_RTD_4.4_1.0.0_D2110.exe をインストールしましたか? (C:\NXP\S32K344_Whiteboard_Example_RTM_1.0.0\S32K344_Whiteboard_Example_RTM_1.0.0\S32K344_Whiteboard_Software_User_Guide.pdf) RTDをダウンロードするには、 S32K3標準ソフトウェア-> オートモーティブ SW - S32K3/S32M27x - Cortex-M用リアルタイム・ドライバ ->をクリックしてください。 Q: EBプロジェクトのインポート、コンパイル、ビルドに関するガイドとなるドキュメントはありますか? A: S32K344_Whiteboard_Software_User_Guide.pdf のガイド(例:5.2)に従ってください。EB tresos プロジェクトをインポートします。 Re: Regards Example Code Async SPI ON WB s32k344 こんにちは、ロビン EB プロジェクトのインポート、コンパイル、ビルドに関するガイドとなるドキュメントはありますか。 プロセスが複雑すぎるようです。インポートしてコンパイルするのに苦労しています。 助けてください ご覧のとおり、プロジェクト構造は大きく異なります。 よろしくお願いします。 アビシェク Re: Regards Example Code Async SPI ON WB s32k344 こんにちは、ロビン バージョン1のRTDパッケージを入手しました こちらから入手可能です Re: Regards Example Code Async SPI ON WB s32k344 こんにちは、ロビン これらのプラグインに使用されている RTD パッケージを教えてください。これらのプラグインを入手できないので パスを教えてください。 よろしくお願いします。 アビシェク Re: Regards Example Code Async SPI ON WB s32k344 はい。 どのボードを使っているか教えてください。これはオートモーティブ汎用S32K344-WB評価ボードでしょうか?参考として、 S32K344 ホワイトボード サンプル プロジェクト に Spi_Example_47478A_440_100 プロジェクトがあります。(C:\NXP\S32K344_Whiteboard_Example_RTM_1.0.0\S32K344_Whiteboard_Example_RTM_1.0.0\SPI\Spi_Example_47478A_440_100) 残念ながら、S32K3 RTD は通常、S32K3X4EVB-Q257 または S32K3X4EVB-T172 の例です。SO、RTD でプロジェクトを使用する場合は、S32K344-WB ハードウェアに応じて変更する必要があります。 よろしくお願いします、 ロビン --------------------------------------------------------------------------------- 注記: - この投稿があなたの質問への回答である場合は、「解決策として承認」ボタンをクリックしてください。ありがとう! - Threadは最後の投稿から7週間フォローされます。それ以降の返信は無視されます。 後ほど関連する質問がある場合は、新しいThreadを開いて、閉じたThreadを参照してください。 ---------------------------------------------------------------------------------
記事全体を表示
Regards Example Code Async SPI ON WB s32k344 Hello  can anyone will help with WB S32k344 (SPI Async loopback ) example code or something . we are struggling here with it . The scenario is like , We want to get SPI UP . we are configured SPI and called below functions . Spi_Init(NULL_PTR); Spi_SetAsyncMode(SPI_INTERRUPT_MODE); Spi_SetupEB(0u, TxChBuf0, RxChBuf0, 20u); WriteIB(1u, TxChBuf1); Spi_AsyncTransmit(SpiConf_SpiSequence_SpiSequence_Slave); but we are not able to check the clock pulses also on SPI_CLK line . kindly guide us with method to verify all conditions to up spi . 1. one doubt i need to clerify about spi ?  SPIclk will get only when some data is transfering SPI_OUT or SPI_IN . is it corrct ? Re: Regards Example Code Async SPI ON WB s32k344 Robin_Shen, I have the s32K344-WB board. From what you said, the example projects won't run here. What is the difference in this board to the compatible boards, S32K3X4EVB-Q257 or S32K3X4EVB-T172? what changes would need to be made to the examples? This is most unfortunate.  Re: Regards Example Code Async SPI ON WB s32k344 The video in the attachment records how I imported the EB project to generate code and then built the project with S32DS. I don't have S32K3 RTD 1.0.0 installed but I have RTD 1.0.0 HF01 installed. But I don't think this is the cause of this problem. Have you tried to import the RTD 1.0.0 project and build it? (File->New->S32DS Project from Example) If not, I'm afraid you need to raise a new question in the S32DS community and ask my colleagues for help. Or reinstall S32DS v3.4 with S32K3 RTD 1.0.0: Please start from page 17 of S32K3xx Real-Time Drivers (RTD) Installation Guide - Training Click S32K3 Standard Software - > Automotive SW - S32K3/S32M27x - Real-Time Drivers for Cortex-M -> Previous -> S32K3 Real Time Drivers Version 1.0.0 Click S32K3 Standard Software - > Automotive SW - S32K3 - S32 Design Studio -> 3.4.1_D2110 S32 Design Studio for S32 Platform v.3.4 Update with Service Pack 2 for S32K3 devices Re: Regards Example Code Async SPI ON WB s32k344  Not able to understand this Error . Can you please help me with it .  Thanks Re: Regards Example Code Async SPI ON WB s32k344 I followed the following order: 5.2. Import EB tresos Project 6. Generate Code 5.1. Import S32DS Project 7.1. Build in S32DS Re: Regards Example Code Async SPI ON WB s32k344 Can you please help me with how to build in S32DS ? As This info I am not able to find it . Re: Regards Example Code Async SPI ON WB s32k344 Sorry, the EB configuration project in S32K344_Whiteboard_Example_RTM_1.0.0 seems to only build in S32DS and generate elf files. It does not provide makefile to build like other EB projects in S32K3 RTD. Re: Regards Example Code Async SPI ON WB s32k344 Hi Robin I have gone throught above document . In this document it is mentioned only how to generate code but I want info about Compilation of this code and elf generation . Kindly help on it . Here only S32ds build info is there not about EB tresos build info  Re: Regards Example Code Async SPI ON WB s32k344 Did you install SW32K3_RTD_4.4_1.0.0_D2110.exe by follow the chapter "2.3.2. Install Real-Time Drivers" of S32K344_Whiteboard_Software_User_Guide.pdf?  (C:\NXP\S32K344_Whiteboard_Example_RTM_1.0.0\S32K344_Whiteboard_Example_RTM_1.0.0\S32K344_Whiteboard_Software_User_Guide.pdf) Please download RTD by click S32K3 Standard Software -> Automotive SW - S32K3/S32M27x - Real-Time Drivers for Cortex-M ->  Q: Is there any document avaliable which guide the about EB project import and compile ,build it A: Please follow the guide of S32K344_Whiteboard_Software_User_Guide.pdf, for example: 5.2. Import EB tresos Project. Re: Regards Example Code Async SPI ON WB s32k344 Hello robin  Is there any document avaliable which guide the about EB project import and compile ,build it . As it seems process is too much complicated .I am struggling here to import and compile it  Please help me with it  As you see project structure is too much different . Thanks  Abhishek  Re: Regards Example Code Async SPI ON WB s32k344 Hi Robin  I got version 1 RTD package  It is Available here  Re: Regards Example Code Async SPI ON WB s32k344 Hi Robin Please let me know which RTD package is used for these plugins . as I am not able to get these Plugins  Kindly provide me path . Thanks Abhishek Re: Regards Example Code Async SPI ON WB s32k344 Yes. Please tell me which board you are using. Is it the S32K344-WB Evaluation Board for Automotive General Purpose? There is a Spi_Example_47478A_440_100 project in the S32K344 Whiteboard Example Project for your reference. (C:\NXP\S32K344_Whiteboard_Example_RTM_1.0.0\S32K344_Whiteboard_Example_RTM_1.0.0\SPI\Spi_Example_47478A_440_100) Unfortunately, the S32K3 RTD is usually an example on the S32K3X4EVB-Q257 or S32K3X4EVB-T172, so if you use the project in the RTD, you need to modify it according to the S32K344-WB hardware. Best Regards, Robin ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "ACCEPT AS SOLUTION" 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. -------------------------------------------------------------------------------
記事全体を表示
MPC5744P ADCが現場で動作を停止 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 誰かが早急にこの件に関して私をCANことを願っています。 現場に、ADC が突然動作を停止し、ADC 値がフリーズしてしまう製品があります。この問題は現場でのみ発生し、テスト ラボでは再現できません。プロセッサのマニュアルを参照しましたが、警告なしに ADC 変換を停止できるソースは見つかりませんでした。CPU がハードリセットされると、ADC は正常に動作し始めます。 内部 CPU 温度も監視しており、同様の動作が見られます。 この動作の原因は何なのか説明していただけますか? ADC モジュールを復旧させるために、ハードリセットせずに ADC モジュールを再起動するだけで可能でしょうか? ありがとうございます よろしくお願いいたします。 アリ・メラジ 全般 Re: MPC5744P ADC stop working in the field こんにちは。私たちも同様の問題が発生しました。私たちのチップは MPC5675K で、ADC を使用して 3 つのチャネルからデータを収集しています。しかし、ある時点で、データが同時に機能しなくなりました。弊社のデバイスを EFT 用にラボでテストしましたが、問題を再現できませんでした。私たちは現在、この突然の ADC フリーズに対して何をすべきか途方に暮れています。何か新しい解決策はありますか? Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ピーター。 申し訳ありませんが、再起動CANないことをお伝えしたかったのです。 高解像度のスコープ測定をいくつか行ったところ、HV がオンになると、ADC 入力が数マイクロ秒から 5V を超えてから再び安定することがわかりました。現在、私たちは研究室でこの問題を詳しく調査しており、エレクトロニクス チームがこの問題を軽減するために取り組んでいます。 あなたの意見にはすべて同意します。 ラボからスコープ プロットが届き次第、その最新情報をお知らせします。また、おそらく、調査結果に関する詳しい情報も提供する予定です。 ピーターさん、本当にありがとう。 よろしくお願いいたします。 アリ・メラジ Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 問題は、これらの ADC 障害は制御には影響しないものの、製品の機能が制限されるため、Micro をリセットCANことです。 CANか、それともできませんか?ADC モジュールと PBRIDGE (レジスタが配置されている場所) をリセットする方法はシステム リセットのみだからです。これもデザインとの議論から生まれた成果です。 さらに、EMI(900Vスイッチング)でマイクロを妨害する場合、これはマイクロ全体のコンセプトにとっても重要であると想定します。 ADC モジュールを停止させるほどの大きな外乱が発生した場合に、どのようにしてセーフティ機能を保証できるのでしょうか。 FCCU、STCU などの、マイクロの実行中に常に使用されるわけではないモジュールも影響を受ける可能性があります。 常に実行されているため、ADC の問題だけが表示されます。 マイクロが IVOR または FCCU ルーチンをプロセッシング中に高電圧をオンにすると、システムに重大な影響を与える可能性があります。 これらは私の側からの単なるいくつかの推測です。 よろしくお願いいたします ピーター Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ピーター。 テストしていただきありがとうございます。 問題は、これらの ADC 障害は制御には影響しないものの、製品の機能が制限されるため、Micro をリセットCANことです。 製品はすでに お客様 の手元にあるため、それらに対して何かを変更することは可能ですが、当社では 製品 を改訂するために、Mirco への EMI の影響を最小限に抑える方法について社内調査を行っています。暫定的な解決策としては、既存の製品で障害が発生した場合に、何らかの方法で ADC を再起動してオンラインに戻すことが考えられます。 SO、唯一の解決策は Mirco をリセットすることであり、ADC を復活させる他の方法はないということを示唆していると思いますか? まず ADC の電源を切り、次にクロックを無効にし、次にクロックを再起動し、最後に ADC を再起動することをお勧めします。これで ADC 変換が再び再開されると思いますか? ピーターさん、ご協力ありがとうございました。 よろしくお願いいたします。 アリ・メラジ Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 PCTLx は ADC へのクロックを遮断します。 リファレンスマニュアルを参照してください: 59.3.52ADC_0 ペリフェラル制御レジスタ (MC_ME_PCTL237) しかし、テストしたところ、ADC レジスタは消去されません。(それらは PBRIDGE 上にあります) SO、クロックを ADC に復元した後、レジスタの値は同じになります。 ADC レジスタをリセットする唯一の方法は、マイクロのリセットをトリガーすることだと思います。 ECUをEMIから保護するとどうなるでしょうか?問題は解決しますか? よろしくお願いいたします ピーター Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ピーター。 パワーダウン ビットを 1 に設定して ADC をパワーダウンし、ADC のステータスがパワーダウンに変更されるまで待ってから再起動しました。ADC 再起動のコードを添付しました。 通常の変換には CTU モードではなく SCAN モードを使用しています。 SO、コードの起動時にNSTARTビットを1に設定してADCを一度起動し、CDATAからデータを読み取るだけです。 ADC設定と1msごとのADC読み取りのコードを添付しました。 これで ADC の設定方法が理解できたかと思います。 なぜ変換が停止するのでしょうか?これはランダムな問題であり、ほとんどの場合、高電圧 (800V) 電源がオンになっているときに発生します。この問題は EMI に関連していますが、CDATA レジストリがロックされています。SCAN モードではトリガーは必要ないと思うのですが、どうすれば変換を再度トリガーできるでしょうか。 有効ビットは、CDR データからデータが抽出されたときにクリアされる必要がありますが、CPU がこの状態にあるときはクリアされません。 PCTL レジスタについて言及されていますが、PCTL レジスタを使用して ADC を再起動する方法についての詳細情報を提供していただけますか。 さらに詳しい情報が必要な場合はお知らせください。 よろしくお願いいたします。 アリ・メラジ Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 ADC モジュールを再起動しても問題は解決されませんでした。ADC モジュールを再起動しても、ADC 値がフリーズしたままでした。 ADC モジュールをどのように再起動しましたか?PCTL レジスタでオフにしてから、RUNx にモード遷移して戻しましたか? CDR レジストリがロックされる理由を理解するのを手伝っていただけますか? ADC 変換は終了しましたが、新しい変換は開始されていないようです。 (SO、ADC はスタックしておらず、定義された状態のまま、SW または CTU のいずれかの新しい変換トリガーを待機しています) ADC の使用方法に関する情報が限られているため、これはわかりません。 よろしくお願いいたします ピーター PS: ADC 変換がスタックした後にデバッガーを介して手動で開始するとどうなりますか?変換は継続されますか? Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ピーター。 お元気でお過ごしでしょうか。 最新情報があります ADC モジュールを再起動しても問題は解決されませんでした。ADC モジュールを再起動しても、ADC 値がフリーズしたままでした。 この問題に関するより詳しい情報を提供するレジスタースナップショットがあります。 この問題が発生すると、ADCモジュールは正常に動作し、ADCステータスは状態4と6の間で切り替わりますが、CDATAレジスタは固定値に固定されます。 CDRレジスタ SOそれらはすべて10進数の1171(16進数の0x493)の同じ値に固定され、有効ビットはハイのままです。 CPU と BandGap は同じ動作を示します。 CDR レジストリがロックされる理由を理解するのを手伝っていただけますか? ありがとうございます よろしくお願いいたします。 アリ・メラジ Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> わかりました、ピーター。ありがとう。ADC のステータスを記録し、更新があればご連絡いたします。 ありがとうございます。 アリ Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 難しいですね、 私はこの方法を試したことはありません。 しかし、クロックが失われると、ADC も存在する PBRIDGE 上のレジスタから何も読み取れなくなります。 しかし、結果を読み取ることができるので、ADC 変換がスキャン モードではなく、アイドル状態になっていると思われます。 Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ピーター。 この障害が発生したときに、ADC ステータスをフラッシュに保存してみます。 クロックの問題である場合、ADC の電源をオフにして再起動するとクロックが再開されると思いますか? よろしくお願いいたします。 アリ Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ふーむ、 最も重要なのは、ADC がまだ変換中であるが、結果レジスタが更新されていないかどうかを確認することです。 テスト SW は ADC のステータスをチェックし、ADC 変換が停止したときにそれを保存する必要があります。 スキャン モードなので、クロックの損失のみがこの状態の原因であると考えられます。 しかし、まず問題が発生したときに ADC がまだ変換中であるかどうかを確認しましょう。 よろしくお願いいたします ピーター Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ピーター。 主な問題は、LAB で障害を再現できないSO、現場での ADC ステータス レジスタのステータスがどうなるかわからないことです。 ADC 値が固定されている場合に ADC リセットを実行するテスト ソフトウェアを用意したSO、この問題を回避できるのではないかと考えています。 私が試したのは、ADC 電源を 3.3V 未満に下げることですが、その場合 MCU がリセットされます。現場で CPU がリセットされることはないことから、SO、これが問題の原因ではないと考えられます。ADC リファレンス電圧の変更も試みましたが、これによって ADC モジュールの動作が停止することはありません。 たとえば、ADC キャリブレーションの損失について言及したように、ADC ハードウェアに特定の問題を強制してスタックさせる方法はありますか? リセットを実行するように設定されていないと思われる電圧の問題のCASEの障害反応について FCCU を確認します。 ありがとうございます アリ Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> まあ、これはすべて仮説です。 ADC 電力が LVD/HVD しきい値を超えて低下または急上昇した場合、デバイスは通知を実行し、有効になっている場合はリセットします。 これにより、ADC コンデンサのキャリブレーションがずれたり、ロジック レベルでスタックしたり、その他さまざまな問題が発生する CAN あります。 ADC を有効または無効にするにはどうすればよいでしょうか? ADC がスタックした場合のステータスは何ですか? よろしくお願いいたします ピーター Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ピーター。 これが起こると、カウントは 1373 カウントでフリーズし、回復することはない。SO、電源サイクルを実行する必要があります。これは主に HV 電源投入時に発生しますが、ランダムに発生する場合もあり、機能操作中に発生することもあります。 私たちは HV ラボでボードをテストし、HV がオンのときに ADC_HV と ADC_ref にスパイクが発生していることを確認しましたが、ADC は動作を停止しません。これは、EMI レベルが高いと想定される現場でのみ発生します。ADC_HV と ADC_ref の電圧は、HV がオンになるとすぐに安定します。 停電やノイズが発生したCASEに ADC が取る特定の状態を知っていますか?ADC を再起動すると役立ちますか? よろしくお願いいたします。 アリ Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> わかりました。900V をオンにしたときだけなので、EMI の問題である CAN があります。 このような場合の ADC 電圧測定はどうなりますか?ADC ref または ADC_HV にスパイクはありますか? 測定された線間電圧はどうですか? よろしくお願いいたします ピーター Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ピーター。 返信ありがとうございます。 80Mhz クロック レートで SCAN モードを使用しています。 一度だけ実行されるスタートアップ タスクで変換を開始します。 アプリケーションで必要な場合はいつでも、CDATA reg から変換されたデータを収集します。 私たちはテストに使用している独自の制御ボードを持っています。 この問題は、高電圧電源 (例:900Vdc) がオンになっているときに発生します。SO、EMI に関連している可能性がありますが、ADC は回復せず、常に 1373 カウントを報告します。この問題は当社の HV ラボでは再現できないため、現場でのみ発生します。 以下はADCのセットアップと読み取りのコードです ありがとうございます アリ ADC_0 . MCR . B . OWREN = 1U ; /* 結果の上書きを有効にする */ ADC_0 . MCR . B . CTUEN = 0U ; /* CTUモードが有効になっていません */ ADC_0 . MCR . B .モード = CDD_ADC_CONTINIOUS_SCAN_CONVERSION; ADC_0 . MCR . B . ADCLKSEL = 1U ; /* 80 MHz モード */ ADC_0 . MCR . B . PWDN = 0U ; /* ADC0を有効にする(パワーダウンモードを解除する)*/ /* NSTARTは最後にセットされるレジスタビットである */ ADC_0 . MCR . B . NSTART = 1 ; /* 通常モードを開始 */ ADC変換データの読み取り                                                                        Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、アリさん あなたが提供した非常に簡単な説明によると、バス上の許可を処理するトップレベルのタスクから、サービスが提供されていない ADC トリガーやクロック グリッチまで、あらゆるものが考えられます。 まず、ADC をどのように使用しているか (CTu モードか CPU モードか) を教えていただくのが良いかもしれません。 どのようにコンバージョンを誘発するか 変換されたデータをどのように提供しますか なぜなら、これは本当に、SW デザインの未対応のCASEのように見えるからです。 SW は NXP EVB 上で正しく動作していますか? よろしくお願いいたします ピーター Re: MPC5744P ADC stop working in the field <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 この問題について誰か助けてくれませんか? よろしくお願いいたします。 アリ
記事全体を表示
未解決の包含 こんにちは、皆さん MCUXpresso 24.9を使用しています。 私のプロジェクトでは、何らかの理由でコンパイラのコマンドラインを変更する必要がありました。変更は正常に動作しており、プロジェクトは問題なく構築されています。 しかし、副作用があります。インデクサーは lib include ファイルを解決できません。 この問題をデバッグするために、デフォルトのオプション ([新しいプロジェクト] -> [新しい C/C++ プロジェクトの作成]) を使用してテスト プログラムを作成し、プロジェクトをコンパイルするためのコマンド ライン ([プロジェクト プロパティ] -> [C/C++ ビルド] -> [設定] -> [MCU C コンパイラ]) をデフォルト値 (" arm-none-eabi-gcc") から "../compile.cmd" に変更しました。 compile.cmd ファイルはプロジェクト ディレクトリにあり、次の 1 行が含まれています。 arm-none-eabi-gcc %*    プログラムをコンパイルすると、プロセスはエラーなしで終了しますが、すべての c ライブラリ ファイルが未解決の包含として強調表示されるSO、問題はインデクサーにのみ存在します。 デフォルト設定の場合、ハイライトは表示されず、 \.metadata\.logに記録されます。ファイルには次のメッセージがあります: !ENTRY org.eclipse.cdt.core 1 0 2024-10-14 10:30:17.365 !MESSAGE Indexed 'MIMXRT1064_Project' (20 sources, 43 headers) in 1,87 sec: 8.359 declarations; 17.870 references; 0 unresolved inclusions; 0 syntax errors; 0 unresolved names (0%) カスタム設定がある場合は、次のメッセージが表示されます。 !ENTRY org.eclipse.cdt.core 4 0 2024-10-14 10:32:13.001 !MESSAGE Error: Cannot run program "..\compile.cmd": Launching failed !STACK 0 java.io.IOException: Cannot run program "..\compile.cmd": Launching failed at org.eclipse.cdt.utils.spawner.Spawner.exec(Spawner.java:450) at org.eclipse.cdt.utils.spawner.Spawner. (Spawner.java:147) at org.eclipse.cdt.utils.spawner.Spawner. (Spawner.java:134) at org.eclipse.cdt.utils.spawner.ProcessFactory$Builder.start(ProcessFactory.java:273) at org.eclipse.cdt.utils.spawner.ProcessFactory.exec(ProcessFactory.java:366) at org.eclipse.cdt.core.CommandLauncher.execute(CommandLauncher.java:189) at org.eclipse.cdt.internal.core.BuildRunnerHelper.build(BuildRunnerHelper.java:274) at org.eclipse.cdt.managedbuilder.language.settings.providers.AbstractBuiltinSpecsDetector.runProgramForLanguage(AbstractBuiltinSpecsDetector.java:808) at org.eclipse.cdt.managedbuilder.language.settings.providers.AbstractBuiltinSpecsDetector.runForLanguage(AbstractBuiltinSpecsDetector.java:736) at org.eclipse.cdt.managedbuilder.language.settings.providers.AbstractBuiltinSpecsDetector.runForEachLanguage(AbstractBuiltinSpecsDetector.java:601) at org.eclipse.cdt.managedbuilder.language.settings.providers.AbstractBuiltinSpecsDetector$1.runInWorkspace(AbstractBuiltinSpecsDetector.java:527) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) !ENTRY org.eclipse.cdt.core 1 0 2024-10-14 10:32:14.602 !MESSAGE Indexed 'MIMXRT1064_Project' (20 sources, 30 headers) in 1,05 sec: 7.246 declarations; 12.921 references; 18 unresolved inclusions; 59 syntax errors; 3.440 unresolved names (15%) どうすればこの問題を解決できるでしょうか? どうもありがとう ビアフラ Re: Unresolved inclusion こんにちは@Alice_Yang 、 私が報告した問題に関して何かニュースはありますか? 開発チームから検証されましたか? その間にMCUXpresso 25.6にスイッチしましたが、何も変わりません。 問題ビューでエラーが報告されているにもかかわらず、プロジェクトは正常にコンパイルされます。 どうもありがとう ビアフラ Re: Unresolved inclusion こんにちは@Alice_Yang 、 これで、プロジェクトの場所に応じて絶対パスを設定できるようになりました。この画像のように、ProjDirPath パス変数を使用する必要があります。 しかし、実際のプロジェクトは非常に複雑なプロジェクトであり、コマンドラインが8191文字の制限を超えているSO、Windowsの.cmdを使用することはできません。バッチファイル。 PCにGitがインストールされているので、.shシェルファイルを使用CANます。 ファイル compile.sh はプロジェクト ディレクトリ内に compile.cmd として存在し、次の行が含まれています。 #!/bin/sh arm-none-eabi-gcc $@ compile.shファイルではプロジェクトはエラーなくビルドされますが、.shファイルを使用するとファイルでも同じ問題が発生します。インデクサーは lib インクルード ファイルを解決できません。 どうもありがとう ビアフラ Re: Unresolved inclusion こんにちは@biafra はい、受け取りました。IDEs 開発チームに確認する必要があります。できるだけ早く返信させていただきます。ご辛抱いただきありがとうございます。 BR アリス Re: Unresolved inclusion こんにちは@Alice_Yang 、 ファイルを受け取りましたか? どうもありがとう ビアフラ Re: Unresolved inclusion こんにちは@Alice_Yang 、 間違いをお詫びします。ファイルを添付します。 どうもありがとう ビアフラ Re: Unresolved inclusion こんにちは@biafra 申し訳ありませんが、ファイルを受け取っていません。もう一度送っていただけますか? BR アリス BR アリス Re: Unresolved inclusion こんにちは@Alice_Yang 、 一歩先を行きました。 compile.cmd ファイルの絶対パス (C:/MyProject/compile.cmd) を使用してプロジェクトをコンパイルするようにコマンド ラインを設定すると、未解決の包含装飾が消えます。 SO、PROJECT_LOC パス変数を使用しようとしましたが、展開されていないようで、ビルド エラーも発生しました。 インデクサーに compile.cmd ファイルへの相対パスを与える方法はありますか? あるいは、プロジェクトの場所に応じて絶対パスを与えることはできますか? プロジェクト開発者のドライブ パスが異なるため、プロジェクトの場所を変更できる必要があります。 どうもありがとう ビアフラ Re: Unresolved inclusion こんにちは@Alice_Yang 、 ご回答ありがとうございます。 プロジェクトを添付します。他に何か必要な場合はお知らせください。 どうもありがとう ビアフラ Re: Unresolved inclusion こんにちは@biafra compile.cmd を含むプロジェクト全体を送信してください。私は自分の側でテストと確認を手伝います。ありがとう。 BR アリス
記事全体を表示
Api Reference/JavaDoc for TapLinx Android SDK Where can I find api reference/JavaDoc for TapLinx Android SDK? Getting Started Re: Api Reference/JavaDoc for TapLinx Android SDK Dear why_sto, JavaDocs are available on below link, under "Downloads" (hint: press "Show all" button): https://www.nxp.com/design/design-center/software/rfid-developer-resources/taplinx-software-development-kit-sdk:TAPLINX Best regards, TapLinx team Re: Api Reference/JavaDoc for TapLinx Android SDK Hello, I can't seem to find the mentioned JavaDoc, it seems only release notes and the getting started guides are available.
記事全体を表示
ntag424 dna Hello, I urgently need the security and non-copyability of ntag424 dna. I want to know how we can write securely on these types of tags. Does the nfc tagWriter by nxp app guarantee this? and how ? Is there a way to avoid using the nfc tagWriter by nxp app but have the same security? Re: ntag424 dna I have RFID Discover tool but to use it now we need a PEGODA Reader by NXP which I don't have. I am using DENSO and KEONN mainly to scan NFCs.  So how can RFIDDiscover help me in development of secure NFC reader. Right now I am stuck at SDM as it is not allowing me to configure the file of NTAG424 DNA tag. Re: ntag424 dna Hello @zahra2023  Yes, RFID Discover (full version) can do these and we use it all the time. In addition, if the Reader that you're using is from NXP, please refer to this example (Examples\NfcrdlibEx3_NFCForum) could be helpful to you. BR kelly Re: ntag424 dna Is RFID Discover Tool the only thing we need? Do you have any documentation or a built-in API service for checking authenticated tags over the server? I am curious about the security and how UID, SUN, etc. make the tag secure, but the tagWriter nxp does not satisfy me (at least the current version). Can you assure me that using RFID Discover Tool is a good suggestion? Thanks Re: ntag424 dna and what about this question: Should the tags support PICC to have a secure tag (Secure Unique Nfc message feature)? We have some ntag424 dna, but apparently they don’t support PICC. I attached two files. They are the tag’s info. Thanks Re: ntag424 dna Hello @zahra2023  Yes, it's possible. And here are some suggestions for you as follows: 1. Please read the application document carefully, which describes in detail how to develop NTAG424:  NTAG 424 DNA and NTAG 424 DNA TagTamper features and hints (nxp.com). 2.  Please log in EdgeVerse™ NFC Readers | NXP Semiconductors and select a reader that matches your application. 3. RFID Discover Tool is a full-featured development and debugging tool, it is recommended that you use it. BR kelly Re: ntag424 dna Hello @zahra2023   The feature of tagWriter is limited, according to your application requirements must use RFID Discover. So, please establish an NDA with NXP by going to   https://www.nxp.com/support/support:SUPPORTHOME and select "Request an NDA" BR kelly Re: ntag424 dna Except for the documentation, do you have another source? GitHub repo or  sample code? Thanks Re: ntag424 dna unfortunately, we don’t have such a contract. If I use tagWriter nxp, where should I set the keys to have a secure tag? I saw tagXplorer (old desktop version) and there we can set some keys, but on tagWriter nxp I have not seen such configs! Should the tags support PICC to have a secure tag? We have some ntag424 dna, but apparently they don’t support PICC.. P.S.: I attached 2 files. I appreciate it in advance. Re: ntag424 dna @zahra2023 If you want to develop your own app, these PDFs will be your bible: NT4H2421Gx and AN12196. Re: ntag424 dna Hello @zahra2023  Thanks for contacting us and using the NXP products. Yes, there is a tool can be helpful to you. But it's available under an NDA, if you've already had an active NDA, you can log in RFIDDiscover | NXP Semiconductors to download the following documents. BR kelly Re: ntag424 dna we wanna develop our app tag writer. is it possible ? P.S: in our project there are 2 groups: 1) tag writers and 2) tag readers.
記事全体を表示
适用于 TapLinX Android SDK 的 Api 参考/JavaDoc 在哪里可以找到适用于 TapLinx Android SDK 的 API 参考/JavaDoc? 入门指南 Re: Api Reference/JavaDoc for TapLinx Android SDK 亲爱的 why_sto、 JavaDocs 可通过以下链接获取:"Downloads" (提示:按"Show all" 按钮): https://www.nxp.com/design/design-center/software/rfid-developer-resources/taplinx-software-development-kit-sdk:TAPLINX 顺祝商祺! TapLinx 团队 Re: Api Reference/JavaDoc for TapLinx Android SDK 你好,我似乎找不到提到的 JavaDoc,似乎只有版本说明和入门指南可用。
記事全体を表示
Can't log in and use NXP GUI GUIDER 1.9.0 Hello, When starting NXP GUI GUIDER there is a blocking window that require to log in. When I try to log it ends by displaying an error : "login check failed, please login again" . So it's impossible to use the software because the log in window is blocking. I am sure my log user name and password are good because I log successully in the nxp website . Any idea ? Thanks Re: Can't log in and use NXP GUI GUIDER 1.9.0 I also have allot problems with GUI guider login. It does not store my credentials. I have allot timeouts while login, my internet connection is perfect. It is very frustrating. I hate using GUI guider JUST because of the login **bleep**. And now also 2 factor auth is mendatory, making my frustration only bigger. Why do we have to login for using this software at all.... I hate it. Re: Can't log in and use NXP GUI GUIDER 1.9.0 Hello @Loic128, Can you test run the GUI Guider as admin? if this does not solve the problem, can you disable the firewall and try the same? BR Habib Re: Can't log in and use NXP GUI GUIDER 1.9.0 Hello @Loic128  and @mark2 , The issue was commented to the internal team, and we are working on it. When I have more information, I will, get back to you as soon as possible. BR Habib. Re: Can't log in and use NXP GUI GUIDER 1.9.0 Update :  now I succeed to login in GUI GUIDER but when I try to create a project it ends with an error message : "Download is failed, please check your network" So not completely solved ? Re: Can't log in and use NXP GUI GUIDER 1.9.0 Same problem here.
記事全体を表示
S32DS PA V2.1のインストールに失敗しました こんにちは、チームの皆さん 今日、私のコンピューターにインストールされている S32DS PA V2.1 が正常に起動せず、起動後数秒で自動的に終了することがわかりました。別のワークスペースを設定してみても同じです。SOアンインストールして再インストールしようとしましたが、アクティベーション コードを入力してから数秒後にインストール プログラムがロールバックしてしまいます。別のコンピューターに正常にインストールできるSO、アクティベーション コードは問題ないと思われます。 これを解決する方法を誰か知っていますか? インストール ログ ファイルには以下のエラーが表示されます。 ..... まとめ ------- インストール: 失敗しました。 62 成功 24の警告 1 致命的ではないエラー 1 致命的なエラー ..... S32 Design Studio for Power Architecture バージョン 2.1 (すべてのアンインストーラー コンポーネントをインストール) ステータス: エラー 追加情報: エラー - LaunchAnywhere コンポーネントの書き込みエラー (アクセス拒否) ..... RepositoryManager: フォールバック リポジトリの場所を試行しています... # # VM をインストールしています: d:\NXP\S32DS_Power_v2.1\jre # システムの一時ディレクトリ = C:\Users\shinlitaike08\AppData\Local\Temp ==== ライセンス サービスのインストール ログの開始: ==== ==== ライセンスサービスのインストールログ終了。==== ==== ライセンスアクティベーションログ開始: ==== # # Java ランタイム環境によって致命的なエラーが検出されました: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) pc=0x611a8c19、pid=3644、tid=0x00001db0 # # JRE バージョン: Java(TM) SE ランタイム環境 (8.0_202-b08) (ビルド 1.8.0_202-b08) # Java VM: Java HotSpot(TM) クライアント VM (25.202-b08 混合モード windows-x86) # 問題のあるフレーム: # C [cll_app.dll+0x18c19] # # コアダンプの書き込みに失敗しました。Windowsのクライアントバージョンでは、ミニダンプはデフォルトで有効になっていません。 # Re: S32DS PA V2.1 install failed ファイルの権限を確認してください: ユーザー アカウントに、インストール ディレクトリと一時フォルダーに対する完全な読み取り/書き込み権限があることを確認します。 インストール ディレクトリ (例: C:\NXP\S32DS_Power_v2.1) を右クリックし、セキュリティ設定を確認します。 ユーザー アカウントに「フル コントロール」権限があることを確認します。 Re: S32DS PA V2.1 install failed 私にとっては解決策を見つけましたが、それはインストール フォルダーの権限に関連していました。インストールフォルダに適切な権限を与えたら、プログラムをインストールすることができました。 Re: S32DS PA V2.1 install failed はい、やりました。 Re: S32DS PA V2.1 install failed こんにちは、 インストーラーを管理者として実行していることをCAN確認できますか? Stan Re: S32DS PA V2.1 install failed こんにちは、私も同じ問題を抱えています。 取得したログを添付します。 Re: S32DS PA V2.1 install failed こんにちは、 S32 Design Studio for PA をもう一度インストールしてみませんか。 既存のアクティベーションコードを使用してください。ライセンスを延長しました。 それでも問題が解決しない場合は、お知らせください。 Stan Re: S32DS PA V2.1 install failed 解決しましたか? Re: S32DS PA V2.1 install failed こんにちは、 あなたの投稿を正しいボックスに移動しました。 よろしくお願いいたします。 ピーター
記事全体を表示
TapLinx Android SDKs の API リファレンス/JavaDoc TapLinx Android SDK の API リファレンス/JavaDoc はどこで入手できますか? はじめに Re: Api Reference/JavaDoc for TapLinx Android SDK why_sto様 JavaDocs は以下のリンクの「ダウンロード」から入手できます (ヒント: 「すべて表示」ボタンを押してください)。 https://www.nxp.com/design/design-center/software/rfid-developer-resources/taplinx-software-development-kit-sdk:TAPLINX よろしくお願いいたします。 TapLinxチーム Re: Api Reference/JavaDoc for TapLinx Android SDK こんにちは。上記の JavaDoc が見つからないようです。リリース ノートと入門ガイドのみが利用できるようです。
記事全体を表示
未解决的纳入问题 大家好, 我使用的是 MCUXpresso 24.9。 在我的项目中,由于某些原因,我需要更改编译器命令行。chenges 运行良好,该项目的版本没有问题。 但也有副作用:索引器无法解析 lib 包含文件: 为了调试这个问题,我使用默认选项创建了一个测试程序(新项目-> 创建一个新的 C/C++ 项目),然后我将命令行从默认值(" Arm-none-eabi-gcc ")改为将项目(项目属性-> C/C++ 版本-> 设置-> MCU C 编译器)从默认值(Arm-none-eabi-gcc)编译为 ".../compile.cmd ": 文件 compile.cmd 位于项目目录中,只包含一行内容: arm-none-eabi-gcc %*    如果我对程序进行编译,程序会在没有错误的情况下结束,但所有的 c 库文件都被高亮显示为未解决的夹杂物:因此问题只出在索引器上。 默认设置下没有高亮显示,在 \.metadata\.log 中也没有高亮显示。文件中有以下信息: !ENTRY org.eclipse.cdt.core 1 0 2024-10-14 10:30:17.365 !MESSAGE Indexed 'MIMXRT1064_Project' (20 sources, 43 headers) in 1,87 sec: 8.359 declarations; 17.870 references; 0 unresolved inclusions; 0 syntax errors; 0 unresolved names (0%) 当我进行自定义设置时,会出现以下信息: !ENTRY org.eclipse.cdt.core 4 0 2024-10-14 10:32:13.001 !MESSAGE Error: Cannot run program "..\compile.cmd": Launching failed !STACK 0 java.io.IOException: Cannot run program "..\compile.cmd": Launching failed at org.eclipse.cdt.utils.spawner.Spawner.exec(Spawner.java:450) at org.eclipse.cdt.utils.spawner.Spawner. (Spawner.java:147) at org.eclipse.cdt.utils.spawner.Spawner. (Spawner.java:134) at org.eclipse.cdt.utils.spawner.ProcessFactory$Builder.start(ProcessFactory.java:273) at org.eclipse.cdt.utils.spawner.ProcessFactory.exec(ProcessFactory.java:366) at org.eclipse.cdt.core.CommandLauncher.execute(CommandLauncher.java:189) at org.eclipse.cdt.internal.core.BuildRunnerHelper.build(BuildRunnerHelper.java:274) at org.eclipse.cdt.managedbuilder.language.settings.providers.AbstractBuiltinSpecsDetector.runProgramForLanguage(AbstractBuiltinSpecsDetector.java:808) at org.eclipse.cdt.managedbuilder.language.settings.providers.AbstractBuiltinSpecsDetector.runForLanguage(AbstractBuiltinSpecsDetector.java:736) at org.eclipse.cdt.managedbuilder.language.settings.providers.AbstractBuiltinSpecsDetector.runForEachLanguage(AbstractBuiltinSpecsDetector.java:601) at org.eclipse.cdt.managedbuilder.language.settings.providers.AbstractBuiltinSpecsDetector$1.runInWorkspace(AbstractBuiltinSpecsDetector.java:527) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) !ENTRY org.eclipse.cdt.core 1 0 2024-10-14 10:32:14.602 !MESSAGE Indexed 'MIMXRT1064_Project' (20 sources, 30 headers) in 1,05 sec: 7.246 declarations; 12.921 references; 18 unresolved inclusions; 59 syntax errors; 3.440 unresolved names (15%) 如何尝试消除问题? 非常感谢 比夫拉 Re: Unresolved inclusion 你好,@Alice_Yang、 有关于我报告的问题的消息吗? 是否已从开发团队得到验证? 在此期间,我改用了 MCUXpresso 25.6,但没有任何变化。 尽管在问题视图中报告了错误,但项目编译正常。 非常感谢 比夫拉 Re: Unresolved inclusion 你好,@Alice_Yang、 现在,我可以根据项目本地配置绝对路径。它需要使用 ProjDirPath 路径变量,如图所示: 但是,实际项目非常复杂,命令行超过了 8191 个字符的限制,因此我无法使用 Windows .cmd批处理文件。 因为我的电脑上安装了 Git,所以我可以使用 .sh shell 文件。 文件 compile.sh 与 compile.cmd 一样位于项目目录中,包含以下几行: #!/bin/sh arm-none-eabi-gcc $@ 尽管使用 compile.sh 文件版本项目时没有错误,但使用 .sh文件会导致同样的问题:索引器无法解析 lib 包含文件。 非常感谢 比夫拉 Re: Unresolved inclusion 你好@biafra 是的,我收到了。我需要与 IDE 开发团队确认。我会尽快给您回复。感谢您的耐心等待。 BR 爱丽丝 Re: Unresolved inclusion 你好,@Alice_Yang、 您收到文件了吗? 非常感谢 比夫拉 Re: Unresolved inclusion 你好@Alice_Yang、 抱歉弄错了,文件附后。 非常感谢 比夫拉 Re: Unresolved inclusion 你好@biafra 对不起,我还没有收到文件。您能再发一次吗? BR 爱丽丝 BR 爱丽丝 Re: Unresolved inclusion 你好,@Alice_Yang、 我先行一步。 如果我在命令行中设置编译项目的绝对路径的绝对路径(C:/MyProject/compile.cmd),未解决的夹杂装饰就会消失。 所以我尝试使用PROJECT_LOC路径变量,但它似乎没有扩展,我也有版本错误。 有没有办法给 索引器提供 编译.cmd 文件的相对路径?甚至是绝对路径(取决于项目位置)? 由于项目开发人员的驱动路径不同,我需要更改项目位置。 非常感谢 比夫拉 Re: Unresolved inclusion 你好,@Alice_Yang、 非常感谢你的答复。 该项目附后。如果还需要什么,请告诉我。 非常感谢 比夫拉 Re: Unresolved inclusion 你好@biafra 请将整个项目连同 compile.cmd 一起发送给我们。我帮助我这边进行测试和检查。谢谢。 BR 爱丽丝
記事全体を表示
无法登录和使用 NXP GUI GUIDER 1.9.0 你好 启动 NXP GUI GUIDER 时,会出现一个需要登录的阻止窗口。当我尝试登录时,最后显示了一个错误:"登录检查失败,请重新登录" 。 由于登录窗口被阻止,所以无法使用该软件。我确信我的登录用户名和密码是正确的,因为我成功登录了 nxp 网站。 您有什么想法吗? 谢谢! Re: Can't log in and use NXP GUI GUIDER 1.9.0 我在使用图形用户界面引导程序登录时也遇到了很多问题。 它不会存储我的证书。 我的网络连接非常好,但登录时出现了多次超时。 这是非常令人沮丧的。我讨厌使用图形用户界面引导程序,就是因为它的登录**哔**。 现在,2 因子认证也是必须的,这让我更加沮丧。 为什么我们必须登录才能使用该软件....我讨厌这样。 Re: Can't log in and use NXP GUI GUIDER 1.9.0 你好,@Loic128、 您能以管理员身份试运行图形用户界面引导程序吗?如果这还不能解决问题,您能否禁用防火墙并尝试同样的方法? BR Habib Re: Can't log in and use NXP GUI GUIDER 1.9.0 您好@Loic128和@mark2, 该问题已提交给内部团队,我们正在处理。当我获得更多信息时,我会尽快给您回复。 BR Habib. Re: Can't log in and use NXP GUI GUIDER 1.9.0 更新:现在我已成功登录 GUI GUIDER,但当我尝试创建项目时,却出现了错误信息:"下载失败,请检查您的网络。" 所以还没有完全解决? Re: Can't log in and use NXP GUI GUIDER 1.9.0 这里也有同样的问题。
記事全体を表示