Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
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
VRC_CTRLに関する説明 こんにちは、NXPサポートの皆さん、 S32K3のVRC_CTRL(PTE13)についていくつか質問させてください。 (1) RMがVRC_CTRL直接信号だと言及していますが、以下の表(赤字)の理解や質問を確認してください。 ALTx OBE IBE VRC_CTRL 質問 汎用I/O (GPIO) ディセーブルされる ディセーブルされる イネーブル VRC_CTRLは有効になりますよね? 汎用I/O (GPIO) ディセーブルされる イネーブル イネーブル VRC_CTRLは引き続き有効ですよね? 汎用I/O (GPIO) イネーブル 気にしない イネーブル 誰に効力が及ぶのか? (2)PTE13をGPIO + OBE有効 + 出力レベル低 に設定すると 、VRC_CTRLがエラー信号として扱われるため、VRC_CTRLの負帰還メカニズムが壊れ、GPIOとVRC_CTRLが同時にピンを駆動するようになるのでしょうか? (3)NXP MCALでは、PTE13をPG_VRC_CTRL_OUTとして設定すれば、関数Port_Ipw_SetOnlyOutputMode()によってOBEが自動的に設定されますが、これはMCALの問題でしょうか? (4)VRC_CTRLフィードバック機構のテスト方法、どの条件下でどのような波形が期待されるか? (5)MSCR141がRMで「サポートされていません」と記載されているのはなぜですか? ありがとうございます。 BR Re: VRC_CTRL Clarification こんにちは、パベルさん。 詳細なご回答をありがとうございました。 ラストマイルレギュレータで使用されている間は、VRC_CTRLをGPIO出力として設定したり、強制的に使用したりしないでください。特に、GPIO出力レベルをLowに設定することは、レギュレータを無効化または制御する正しい方法ではありません。 VRC_CTRLが有効になっている場合とOBEが同時に有効になっている場合、どうなりますか?PTE13には中級レベルが設けられるかもしれない。 ダイレクト信号とSIUL2出力多重の両方の合計駆動経路を示す図はどこで見つかりますか? 以下は私の測定値です。VRC_CTRLが有効になると、GPIO出力がPTE13に影響を与えることがあります。 検証のためには、起動時および負荷変動時に、V15とVRC_CTRLを同時に測定する必要があります。 負荷変更をトリガーするにはどうすればいいですか?コアの周波数を切り替えることでできますか?   MSCR141は「サポート対象外」と記載されています。これは、PTE13/VRC_CTRLが通常のSIUL2出力多重化パスではなく、PMCからの直接接続を使用するためです。したがって、MSCR141はVRC_CTRL機能の制御に使用してはなりません。 ここでよく理解できなかったのですが、少なくとも無効GPIO141無効VRC_CTRL使えるのに、なぜRMはMSCR141サポートしていないとだけ書いているのでしょうか? 実はデバッガーからMSCR141にアクセスできて、そこで設定を切り替えられます。 Port_Ipw_SetOnlyOutputMode() に関して言えば、この関数が呼び出されたという事実だけでは、PMC レギュレータが影響を受けていることを証明するものではありません。 すみません、あなたの言いたいことがよく分かりませんでした。 実際、これが私がこの質問をした主な理由です。MCALポートモジュールでPTE13 PinModeをPG_VRC_CTRL_OUTに設定すると、次のコードが生成されます。 #define SIUL2_0_PORT141_PG_VRC_CTRL_OUT (PORT_ONLY_OUTPUT_MODE) Port_Ipw_SetOnlyOutputMode() will be called and “OBE” bit will set in this function.​ MCALのバグかもしれません。PG_VRC_CTRL_OUTモードが誤ってOBEを有効にしている可能性があります。 確認を手伝ってもらえますか? GPIO + PORT_PIN_HIGH_Z + PORT_PIN_LEVEL_NOTCHANGE に設定することは回避策だと思いますか?この場合、PTE13のMSCR141は確実に0(OBE = 0)になることが保証されます。 よろしくお願いいたします。 くまモン Re: VRC_CTRL Clarification こんにちは、 @kumamon さん。 主な誤解は、VRC_CTRLが通常のSIUL2/GPIO出力として扱われていることにあると思います。 VRC_CTRLは、PMCラストマイルレギュレータの直接出力です。外部バラストトランジスタ電源オプションを使用すると、PMCはV15ドメインを監視し、外部NPNトランジスタのベースにコネクテッドされたVRC_CTRLを調整します。これにより閉鎖されたアナログフィードバックループが形成されます。したがって、VRC_CTRLは通常のGPIO出力データレジスタを介して制御されるものではありません。 このため、表中のGPIO ALTx、IBE、OBEの組み合わせはVRC_CTRL関数には適用されません。 IBEはデジタル入力バッファのみを制御し、V15レギュレータのフィードバックループには関与しません。 ラストマイルレギュレータで使用されている間は、VRC_CTRLをGPIO出力として設定したり、強制的に使用したりしないでください。特に、GPIO出力レベルをLowに設定することは、レギュレータを無効化または制御する正しい方法ではありません。 ラストマイルレギュレータは、PMC_CONFIG[LMBCTLEN]フィールドや、デバイス固有のPMCの章に記載されている初期化シーケンスなど、PMCによって制御されます。 VRC_CTRLはデジタルステータス出力ではなくアナログ制御信号です。したがって、すべてのデザインに適用される単一の固定波形は存在しません。その電圧は外部トランジスタ、V15負荷、電源電圧、外部静電容量、動作モードに依存します。検証のためには、起動時および負荷変動時に、V15とVRC_CTRLを同時に測定する必要があります。期待される結果は、VRC_CTRLが必要に応じて外部トランジスタを調整している間、V15が規定の動作範囲内に留まることです。 MSCR141は「サポート対象外」と記載されています。これは、PTE13/VRC_CTRLが通常のSIUL2出力多重化パスではなく、PMCからの直接接続を使用するためです。したがって、MSCR141はVRC_CTRL機能の制御に使用してはなりません。 Port_Ipw_SetOnlyOutputMode() に関して言えば、この関数が呼び出されたという事実だけでは、PMC レギュレータが影響を受けていることを証明するものではありません。 また、リセット動作は導関数に固有のものであることにご注意ください。例えば、S32K3x8(およびS32K356)PMCはデバイス固有のCONFIGリセット値が0x00000083なので、リセット後にラストマイルレギュレーター構成が有効になります。これは、LMBCTLENを明示的に有効にする必要がある場合がある古いS32K3派生版から一般化して適用すべきではありません。 よろしくお願いいたします。 パベル Re: VRC_CTRL Clarification こんにちは、 @kumamon さん。 寸法を教えていただきありがとうございます。彼らは設定MSCR141[OBE] = 1)がデジタル出力ドライバーを有効にし、GPIOレベルがVRC_CTRLノードに影響を与えることを確認しています。PMCラストマイルレギュレータがアクティブな状態でGPIO出力ドライバーを有効にするのはサポートされていない構成であり、V15の規制を乱す可能性があります。 これは必ずしもMCALドライバの欠陥を示すものではありません。PTE13/VRC_CTRLは、用途ごとに取り扱う必要がある特殊なピンです。汎用ポートドライバは出力モードが要求されるとOBEを有効にしますが、PMCレギュレーターと外部バラストトランジスタ回路が使用されているかどうかを判別できません。 提案された回避策は、結果としてMSCR141[OBE] = 0となる構成であれば適切です。 PORT_PIN_HIGH_Zを使用してください。 PORT_PIN_LEVEL_NOTCHANGED を使用してください。 Port_Init() の後に MSCR141[OBE] を確認してください。 VRC_CTRLがアクティブな間は、PTE13をデジタル出力として設定しないでください。 必須条件は、デジタル出力バッファを無効にしておくことです。 よろしくお願いいたします。 パベル Re: VRC_CTRL Clarification こんにちは、パベルさん。 ご回答ありがとうございます。 汎用ポートドライバは出力モードが要求されるとOBEを有効にします。 次の図において、 PG_VRC_CTRL_OUT以外の設定で「出力モード」を導入するものはどれかご存知ですか?申し訳ありませんが、MCAL PortがPG_VRC_CTRL_OUTを誤って出力モードにマッピングしているように感じます。 検証のためには、起動時および負荷変動時に、V15とVRC_CTRLを同時に測定する必要があります。 負荷変更をトリガーするにはどうすればいいですか?コアの周波数を切り替えることでできますか?   ありがとうございます。 BR/くまモン Re: VRC_CTRL Clarification こんにちは、 @kumamon さん。 あなたの懸念は理解できました。設定で選択する内容: ピン方向 = ポートピンHIGH_Z ピンレベル値 = PORT_PIN_LEVEL_NOTCHANGED ピンモード = PG_VRC_CTRL_OUT したがって、デジタル出力バッファは有効にされないことが想定されます。生成されたコードがそれでもOBE = 1に設定してしまう場合は、MCALポートの設定でこの動作を調査する必要があります。 MSCR141は、この特殊用途の直接信号には対応していないことが文書で明記されていることにご注意ください。PTE13/VRC_CTRLはPMCによって制御されるため、通常のSIUL2出力バッファ構成は必要ありません。したがって、手動でMSCR141にアクセスしたり変更したりすることは、サポートされた適用方法ではありません。 正確なMCAL/RTDバージョンと、OBEを設定する生成された設定および初期化コードも教えていただけますか?また、中古のS32K3 MCUの正確なバージョンも教えてください。 CPUの負荷に関しては、これはレギュレータの応答を観察するためのオプションの提案に過ぎず、VRC_CTRL構成を検証するために必須ではありません。 よろしくお願いいたします。 パベル Re: VRC_CTRL Clarification こんにちは、パベルさん。 ありがとうございます。 スクリーンショットに示されている設定は正しいようです。 しかし問題は、生成されたコードがOBEビットを有効にしてしまうことであり、これは想定外のことだ。 クロック構成を変更せずにCPUのワークロードを変更する方が、コア周波数を変更するよりも一般的に解釈しやすい。 CPUワークロードを変更する方法について少し説明してもらえますか? ありがとうございます。 BR/くまモン。 Re: VRC_CTRL Clarification こんにちは、パベルさん。 ありがとうございます。 MSCR141は、この特殊用途の直接信号には対応していないことが文書で明記されていることにご注意ください。 以下の図によると、PTE13は必ずしもVRC_CTRLではなく、他のどの関数でもなり得ます。「MSCR141はサポートされていません」という記述と矛盾しているように感じます。 正確なMCAL/RTDバージョンと、OBEを設定する生成された設定および初期化コードも教えていただけますか?また、中古のS32K3 MCUの正確なバージョンも教えてください。 RTDバージョン: 構成: 生成: 注:申し訳ありません、前回の議論で間違いがありました。OBEはPort_Ipw_SetOnlyOutputMode()では設定されず、Siul2_Port_Ip_PinInit()で設定する必要があります。 MCU:S32K322 ありがとうございます。 BR/くまモン Re: VRC_CTRL Clarification こんにちは、 @kumamon さん。 スクリーンショットに示されている設定は正しいようです。 負荷変動測定に関しては、これはレギュレータの応答を評価するためのオプションの提案にすぎませんでした。VRC_CTRLの設定を検証する必要はありません。そのようなテストが必要な場合、クロック構成を変更せずにCPUのワークロードを変更する方が、コア周波数を変更するよりも一般的に解釈しやすい。 よろしくお願いいたします。 パベル Re: VRC_CTRL Clarification こんにちは、パベルさん。 詳しい説明をありがとうございました。 最も良い方法は、MCALポートの設定からPTE13を完全に除外することのようです。 私たちのユースケースは少し特別です: ブートローダーでは、ほとんどのピンが入力(IBE = 1)として設定されています。// そして、現時点ではブートローダーを変更したくありません。 - アプリケーション上、PTE13を完全に手つかずにするためにGPIO + HIGH_Zに設定し、その時にIBEをクリアできるようにしています。 質問(長々と書いてしまってすみません) : - 前回の議論によると、「IBE = 1」はVRC_CTRL関数に影響を与えない、ということですよね?IBE=1のままにしてもいいですか? - PTE13をGPIO + HIGH_Zに設定してアプリケーションで完璧な未修正状態を達成しても問題ないですよね? よろしくお願いします。 BR/くまモン Re: VRC_CTRL Clarification こんにちは、 @kumamon さん。 私は詳細な調査を行った。結果は以下のとおりです。 S32K3 RTD 4.0.0とRTD 7.0.1の間で、ポート構成データとそれに伴う動作は一貫しています。 S32K3 リファレンスマニュアル: MSCR141サポートされていないという声明には、より明確なデバイスごとの説明が必要です。MSCR141は、PTE13およびVRC_CTRLピン機能が定義されていないS32K388およびS32K389ではサポートされていません。 PTE13をVRC_CTRLとして使用する場合の構成: PTE13をPMCラストマイルレギュレータのVRC_CTRL出力として使用する場合、MCALポートモジュールでピンを構成する必要はありません。 PTE13をGPIOや他のペリフェラル機能として使用する場合の構成: この場合、PMCのVRC_CTRL機能はアクティブであってはなりません。これは、リセット後に最終段階の規制当局が有効になるデリバティブ商品にとって特に重要です。アプリケーションは通常のSIUL2関数にPTE13を割り当てる前に、まずPMC電源を適切に設定する必要があります。 したがって、この2つのユースケースは相互に排他的として扱うべきです。 VRC_CTRL の使用法: PMCラストマイルレギュレータを設定します。 MCALポートモジュールはPTE13には手を加えないでください。 GPIOまたはペリフェラルの使用: PMCラストマイルレギュレーターを無効にするか、使用しないでください。 MCALポートモジュールを介してPTE13を設定します。 あなたの測定結果はこの区別と一致しています。PMC VRC_CTRL機能とSIUL2デジタル出力バッファが同時に作動している場合、デジタル出力経路がVRC_CTRLノードに影響を与え、V15の制御を乱す可能性があります。したがって、このような同時構成は避けるべきである。 よろしくお願いいたします。 パベル Re: VRC_CTRL Clarification こんにちは、@Pavel さん。 効果的で詳細なサポートに感謝します。 これで明確になりましたので、このチケットはクローズします。 BR/クマノン Re: VRC_CTRL Clarification こんにちは、 @kumamon さん。 利用ケースを明確にしてくれてありがとうございます。 はい、IBE = 1は有効のままにできます。 はい、PTE13をGPIO + HIGH_Zに設定できます。 MCALポートの設定でPG_VRC_CTRL_OUTを選択しないようにしてください。RTDは、選択されたPortPinDirectionに関係なく、このモードをPORT_ONLY_OUTPUT_MODEとして分類し、結果として出力バッファを有効にします。PORT_PIN_HIGH_Zを選択しても、PG_VRC_CTRL_OUTのこの動作は上書きされません。 よろしくお願いいたします。 パベル
View full article
eFlexPWMを使用した初期PWM出力値 こんにちは、 MCXA132のeFlexPWMを使用して、PWM23の初期値を変更したいと考えています。 そのため、私は以下の手順を実行します。 1. SM1CTRL2[PWM23_INIT] = 1 2. SM1CTRL2[FRCEN] = 1 SM1CTRL2[力] = 1(SM1CTRL2[FORCE_SEL]は000であることに注意) 3. MCTRL[RUN] = 010 しかし最初のPWMサイクルは常に出力レベル0から始まります。 問題はどこにあるのでしょうか? よろしくお願いします MCXA Re: Initial PWM output value with eFlexPWM こんにちは、 @zorrotz さん。 問題の分析に協力するために、あなたのプロジェクト全体をぜひ共有していただけますか? よろしくお願いします。 BR アリス Re: Initial PWM output value with eFlexPWM こんにちは、 自分の間違いに気づきました。 リファレンス・マニュアルには次のような注記があります: 「MCTRL[LDOK]が設定されていない場合、MCTRL[RUN]を設定するとSTS[RF]フラグも設定されます。CPU割り込み要求を防ぐには、MCTRL[RUN]を設定する前にINTEN[RIE]をクリアしてください。 私はSTS[RF]を使ってPWMサイクルを終わらせていますが、MCTRL[RUN] = 1を行う前にSTS[RF]をクリアしています。 よろしくお願いします。
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
VRC_CTRL Clarification Hello NXP Support, I would like to ask some questions on S32K3's VRC_CTRL (PTE13). (1) RM mentions VRC_CTRL is direct signal, could you please check the understanding/question in the following table (red font)? ALTx OBE IBE VRC_CTRL Question GPIO Disabled Disabled Enabled VRC_CTRL will take effect, right? GPIO Disabled Enabled Enabled VRC_CTRL will still take effect, right? GPIO Enabled Not Care Enabled Who will take effect? (2) If we configure PTE13 as GPIO + OBE Enabled + Output Level Low, will the VRC_CTRL negative feedback mechanism be broken because VRC_CTRL is treated as error signal and now maybe GPIO and VRC_CTRL are driving the pin at the same time? (3) In NXP MCAL, as long as I configure PTE13 as PG_VRC_CTRL_OUT, OBE will be automatically set by function Port_Ipw_SetOnlyOutputMode(), is it an issue of MCAL? (4) How to test VRC_CTRL feedback mechanism , what waveform is expected during which condition? (5) Why is MSCR141 documented as "Not Supported" in RM? Thanks. BR Re: VRC_CTRL Clarification Hello Pavel, Thanks a lot for your detailed answer. VRC_CTRL should not be configured or forced as a GPIO output while it is used by the last-mile regulator. In particular, setting a GPIO output level to Low is not the correct way to disable or control the regulator. What will happen if VRC_CTRL is enabled and OBE is also enabled at the same time? Maybe a intermediate level will be present on PTE13? Where can I find some diagram to describe the combined driving path from both direct signal and SIUL2 output-multiplexing? The following is my measurement. You can see when VRC_CTRL is enable, GPIO output can have some impact to the PTE13. For validation, V15 and VRC_CTRL should be measured together during startup and under load changes. How to trigger the load change, is it by switching the frequency of the core?   MSCR141 is documented as “Not Supported” because PTE13/VRC_CTRL uses a direct connection from the PMC rather than the normal SIUL2 output-multiplexing path. Therefore, MSCR141 must not be used to control the VRC_CTRL function. I didn't quite understand here, at least GPIO141 can be used when VRC_CTRL is disabled, why does RM just mention MSCR141 is not supported? Actually I can access MSCR141 from debugger, and I can switch the settings there.  Regarding Port_Ipw_SetOnlyOutputMode(), the fact that this function is called does not by itself prove that the PMC regulator is affected. Sorry, I didn't get your point here. Actually this is the main reason I asked this question, following code will be generated when I configure PTE13 PinMode as PG_VRC_CTRL_OUT in MCAL Port module. #define SIUL2_0_PORT141_PG_VRC_CTRL_OUT (PORT_ONLY_OUTPUT_MODE) Port_Ipw_SetOnlyOutputMode() will be called and “OBE” bit will set in this function.​ I think it maybe a MCAL bug, PG_VRC_CTRL_OUT mode enables OBE by mistake. Could you please help to check? Do you think that configuring it to GPIO + PORT_PIN_HIGH_Z + PORT_PIN_LEVEL_NOTCHANGE can be a workaround, in this case, MSCR141 of PTE13 can be guaranteed to be 0 (OBE = 0)? Best regards Kumamon Re: VRC_CTRL Clarification Hello @kumamon , I think the main misunderstanding is that VRC_CTRL is being treated as a regular SIUL2/GPIO output. VRC_CTRL is a direct output of the PMC last-mile regulator. When the external ballast-transistor supply option is used, the PMC monitors the V15 domain and adjusts VRC_CTRL, which is connected to the base of the external NPN transistor. This forms a closed analog feedback loop. Therefore, VRC_CTRL is not controlled through the normal GPIO output data registers. For this reason, the GPIO ALTx, IBE and OBE combinations in the table are not applicable to the VRC_CTRL function: IBE only controls the digital input buffer and has no role in the V15 regulator feedback loop. VRC_CTRL should not be configured or forced as a GPIO output while it is used by the last-mile regulator. In particular, setting a GPIO output level to Low is not the correct way to disable or control the regulator. The last-mile regulator is controlled by the PMC, including the PMC_CONFIG[LMBCTLEN] field and the initialization sequence documented in the device-specific PMC chapter. VRC_CTRL is an analog control signal rather than a digital status output. Consequently, there is no single fixed waveform that applies to all designs. Its voltage depends on the external transistor, V15 load, supply voltage, external capacitance and operating mode. For validation, V15 and VRC_CTRL should be measured together during startup and under load changes. The expected result is that V15 remains within its specified operating range while VRC_CTRL adjusts the external transistor as required. MSCR141 is documented as “Not Supported” because PTE13/VRC_CTRL uses a direct connection from the PMC rather than the normal SIUL2 output-multiplexing path. Therefore, MSCR141 must not be used to control the VRC_CTRL function. Regarding Port_Ipw_SetOnlyOutputMode(), the fact that this function is called does not by itself prove that the PMC regulator is affected. Please also note that the reset behavior is derivative-specific. For example, the S32K3x8 (and S32K356) PMC has a device-specific CONFIG reset value of 0x00000083, so the last-mile regulator configuration is enabled after reset. This must not be generalized from older S32K3 derivatives where LMBCTLEN may need to be enabled explicitly. Best regards, Pavel Re: VRC_CTRL Clarification Hello Pavel, Thanks for the answer. The generic Port driver enables OBE when an output mode is requested. Do you know which setting other than PG_VRC_CTRL_OUT in the following figure introduces the "output mode"? Sorry, but I still feel MCAL Port maps the PG_VRC_CTRL_OUT to output mode by mistake. For validation, V15 and VRC_CTRL should be measured together during startup and under load changes. How to trigger the load change, is it by switching the frequency of the core?   Thanks. BR/Kumamon Re: VRC_CTRL Clarification Hello @kumamon , Thank you for the measurements. They confirm that setting MSCR141[OBE] = 1 enables the digital output driver and allows the GPIO level to influence the VRC_CTRL node. Enabling the GPIO output driver while the PMC last-mile regulator is active is not a supported configuration and can disturb V15 regulation. This does not necessarily indicate an MCAL driver defect. PTE13/VRC_CTRL is a special-purpose pin that requires application-specific handling. The generic Port driver enables OBE when an output mode is requested, but it cannot determine whether the PMC regulator and the external ballast-transistor circuit are being used. Your proposed workaround is appropriate, provided that the resulting configuration leaves MSCR141[OBE] = 0: Use PORT_PIN_HIGH_Z. Use PORT_PIN_LEVEL_NOTCHANGED. Verify MSCR141[OBE] after Port_Init(). Do not subsequently configure PTE13 as a digital output while VRC_CTRL is active. The essential requirement is to keep the digital output buffer disabled. Best regards, Pavel Re: VRC_CTRL Clarification Hello Pavel, Thanks. The configuration shown in your screenshot appears to be correct. But the question is that the generated code will enable OBE bit, which is not expected. changing the CPU workload while keeping the clock configuration unchanged is generally easier to interpret than changing the core frequency. Could you please explain a bit on how to change CPU workload? Thanks. BR/Kumamon. Re: VRC_CTRL Clarification Hello Pavel, Thanks. Please note that MSCR141 is documented as not supported for this special-purpose direct signal. According to the following diagram, PTE13 is not necessarily VRC_CTRL, it can be any of other functions. I feel It is conflicting to the statement "MSCR141 is not supported". Could you please provide the exact MCAL/RTD version and the relevant generated configuration and initialization code that sets OBE? Also provide exact version of used S32K3 MCU. RTD Version: Configuration: Generated: Note: Sorry, I made a mistake in previous discussion. OBE is not set by Port_Ipw_SetOnlyOutputMode(), it shall be set in Siul2_Port_Ip_PinInit(). MCU: S32K322 Thanks. BR/Kumamon Re: VRC_CTRL Clarification Hello @kumamon , The configuration shown in your screenshot appears to be correct. Regarding the load-change measurement, this was only an optional suggestion for evaluating the regulator response. It is not required to verify the VRC_CTRL configuration. If such a test is desired, changing the CPU workload while keeping the clock configuration unchanged is generally easier to interpret than changing the core frequency. Best regards, Pavel Re: VRC_CTRL Clarification Hello @kumamon , I now understand your concern. Your configuration selects: Pin Direction = PORT_PIN_HIGH_Z Pin Level Value = PORT_PIN_LEVEL_NOTCHANGED Pin Mode = PG_VRC_CTRL_OUT Therefore, the digital output buffer is not expected to be enabled. If the generated code nevertheless sets OBE = 1, this behavior should be investigated in the MCAL Port configuration. Please note that MSCR141 is documented as not supported for this special-purpose direct signal. PTE13/VRC_CTRL is controlled by the PMC and should not require a normal SIUL2 output-buffer configuration. Accessing or modifying MSCR141 manually is therefore not a supported application method. Could you please provide the exact MCAL/RTD version and the relevant generated configuration and initialization code that sets OBE? Also provide exact version of used S32K3 MCU. Regarding the CPU workload, this was only an optional suggestion for observing the regulator response and is not required to verify the VRC_CTRL configuration. Best regards, Pavel Re: VRC_CTRL Clarification Hello Pavel, Thanks a lot for detailed explanation. The best way seems to be excluding PTE13 from MCAL port configuration completely. Our use-case is a little special: - In bootloader, most of the pins are configured as input (IBE = 1).   // and we do not want to change bootloader now. - in application, in order to make PTE13 perfectly untouched, I configure it to GPIO + HIGH_Z, so IBE can be cleared then. Question (Please forgive my verbosity): - According to previous discussion, "IBE = 1" will not impact VRC_CTRL function, right? I can keep IBE = 1? - If I configure PTE13 to GPIO + HIGH_Z to achieve perfect untouched state in application, it is also OK, right? Thanks BR/Kumamon Re: VRC_CTRL Clarification Hello @kumamon , I performed a detailed investigation. Here are the results: The Port configuration data and the resulting behavior are consistent between S32K3 RTD 4.0.0 and RTD 7.0.1. S32K3 Reference Manual: The statement that MSCR141 is not supported requires a clearer device-specific explanation. MSCR141 is not supported on S32K388 and S32K389, where PTE13 and the VRC_CTRL pin function are not defined. Configuration when PTE13 is used as VRC_CTRL: If PTE13 is used as the VRC_CTRL output of the PMC last-mile regulator, the pin does not need to be configured in the MCAL Port module. Configuration when PTE13 is used as GPIO or another peripheral function: In this case, the PMC VRC_CTRL function must not be active. This is particularly important for derivatives where the last-mile regulator is enabled after reset. The application must first configure the PMC supply appropriately before assigning PTE13 to a regular SIUL2 function. The two use cases should therefore be treated as mutually exclusive: VRC_CTRL use: Configure the PMC last-mile regulator. Leave PTE13 untouched by the MCAL Port module. GPIO or peripheral use: Disable or do not use the PMC last-mile regulator. Configure PTE13 through the MCAL Port module. Your measurements are consistent with this distinction. If the PMC VRC_CTRL function and the SIUL2 digital output buffer are active at the same time, the digital output path can influence the VRC_CTRL node and disturb the V15 regulation. This simultaneous configuration should therefore be avoided. Best regards, Pavel Re: VRC_CTRL Clarification Hello @kumamon , Thank you for clarifying your use case. Yes, IBE = 1 can remain enabled. Yes, you can configure PTE13 to GPIO + HIGH_Z. Just do not select PG_VRC_CTRL_OUT in the MCAL Port configuration. RTD classifies this mode as PORT_ONLY_OUTPUT_MODE, independently of the selected PortPinDirection and consequently enables the output buffer. Selecting PORT_PIN_HIGH_Z does not override this behavior for PG_VRC_CTRL_OUT. Best regards, Pavel Re: VRC_CTRL Clarification Hello @Pavel, Thank you for your effective, and detailed support. It is clear to me now, I will close this ticket. BR/Kumanon
View full article
开发 H.264 解码软件需要 i.MX8QM VPU 信息 亲爱的, 我们想开发一款软件,利用 i.MX8QM 内部的 VPU 来解码 H.264 视频。 然而,参考手册对 VPU 的细节描述非常简略。 是否有更多关于其运行的信息?例如,如何与这四个 M0+ 核心交互,如何提供 TS 数据,如何检索解码后的视频? 提前感谢! 顺祝商祺! Re: i.MX8QM VPU information needed for developing H.264 decoding software 你好@Manuel_Salas 是的,我们很好,谢谢关心! 为了确保我们目标一致,我们希望在 A 核心上开发软件,而不是在 M4 核心上,甚至不是直接在 M0+ 核心上。 从我们提供的文档来看,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 应用程序编程接口 Linux 参考手册。 此致敬礼, 萨拉斯。 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-core 主机软件(通过 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。 注:表格来自i.MX Linux 版本说明。 顺祝商祺! 萨拉斯。 Re: i.MX8QM VPU information needed for developing H.264 decoding software 你好@Manuel_Salas , 是否除了分别运行在一个和两个 M0+ 内核上的解码器和编码器固件之外,还需要第三个固件来运行第四个 M0+ 内核? 如果是,这会不会是‘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
Initial PWM output value with eFlexPWM Hi, Working with eFlexPWM of MCXA132, I want to modify the initial value for PWM23. For that I do next steps: 1. SM1CTRL2[PWM23_INIT] = 1 2. SM1CTRL2[FRCEN] = 1     SM1CTRL2[FORCE] = 1    (note that SM1CTRL2[FORCE_SEL] is 000) 3. MCTRL[RUN] = 010 But first PWM cycle always starts with output at level 0. Where can be the problem? Thanks in advance MCXA Re: Initial PWM output value with eFlexPWM Hello @zorrotz  To help us analyze the issue, could you please share your complete project with us? Thank you. BR Alice Re: Initial PWM output value with eFlexPWM Hello, I have found my mistake. The reference manual has this note: "If MCTRL[LDOK] is not set, setting MCTRL[RUN] also sets the STS[RF] flag. To prevent a CPU interrupt request, clear INTEN[RIE] before setting MCTRL[RUN]." I am using STS[RF] to end PWM cycle, but I clear STS[RF] before doing MCTRL[RUN] = 1. Thanks
View full article
i.MX8QM VPU information needed for developing H.264 decoding software Dear, We would like to develop software to decode H.264 video using the VPU inside the i.MX8QM. However, the reference manual is very brief on the VPU details. Is there more information available regarding its operation; for example, how to interact with these four M0+ cores, how to provide the TS data, how to retrieve the decoded video? Thanks in advance! Best regards. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hello @Manuel_Salas Yes, we're doing fine, thanks for asking! Just to be sure we're aligned, we want to develop the software on the A-core, not on the M4 or even directly on the M0+ cores. From what we've seen in the provided document, there should be a driver inside the Linux distribution, right? I think I've found the source code of this. The firmware itself that must be loaded on these M0+ cores, is this also somewhere present inside the Linux distribution? Many thanks again! Best regards, ToarteFretter. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hello @ToarteFretter  Hope you are doing very well. Unfortunately, NXP does not publicly share detailed Amphion VPU firmware documentation. The firmware is provided by the IP owner (Amphion), and NXP does not have any driver or SDK examples for controlling the VPU directly from the M core. We just have the i.MX VPU Application Programming Interface Linux Reference Manual available. Best regarsd, Salas. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hi @Manuel_Salas, Can you tell us if the firmware that needs to run on the M0+ cores for the VPU functionality on the i.MX8QM, has to be loaded by the software running on the A-core (e.g.: by Linux), or is this baked into the chip through ROM or maybe part of the SCFW? Quickly looking into the source code of Linux doesn't give us a clear response on this question; also because of the confusing and many flavours of the i.MX8, as well as the VPU types from what it looks. It would be very helpful of you, if you could give some more information on this? Also, if firmware needs to be loaded by us, where that we can find it? Many thanks! Best regards, ToarteFretter. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hello @ToarteFretter  For the i.MX8QM Amphion VPU, the decoder firmware is not stored in ROM and is not part of SCFW. It is a separate binary that is loaded at runtime by the A-core host software (by the Linux Amphion kernel driver). Also, you can find the binary with: wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.33-7ce4783.bin Inside, you will find the vpu_fw_imx8_dec.bin and vpu_fw_imx8_enc.bin. NOTE: Table from i.MX Linux Release Notes. Best regards, Salas. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hello @Manuel_Salas, Can it be that next to the decoder and encoder firmware's, that run respectively on one and two M0+ cores, there is also a third firmware needed for the fourth M0+ core? If yes, could this be ‘vpu_fw_imx8_xuvi.bin’ inside the provided archive? Many thanks! Best regards, Toartefretter. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hello. Correct. VPU core Function Firmware M0+ core 0 Malone decoder vpu_fw_imx8_dec.bin M0+ cores 1–2 Windsor encoder vpu_fw_imx8_enc.bin M0+ core 3 XUVI/PPM processing, including TS-related functions vpu_fw_imx8_xuvi.bin Best regards, Salas. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hello @Manuel_Salas, Many thanks! Regards, Toartefretter.
View full article
VRC_CTRL 说明 您好,NXP技术支持, 我想问一些关于 S32K3 的 VRC_CTRL (PTE13) 的问题。 (1)RM提到VRC_CTRL是直接信号,请您核对下表(红色字体)中的理解/问题? ALTx OBE IBE VRC_CTRL 问题 通用IO 禁用 禁用 已启用 VRC_CTRL 会生效,对吗? 通用IO 禁用 已启用 已启用 VRC_CTRL 仍然会生效,对吗? 通用IO 已启用 不在乎 已启用 谁将负责执行? (2)如果我们配置 PTE13 为 GPIO + OBE 使能 +输出电平低,VRC_CTRL 负反馈机制是否会被破坏,因为 VRC_CTRL 被视为错误信号,而现在 GPIO 和 VRC_CTRL 可能同时驱动该引脚? (3)在 NXP MCAL 中,只要我将 PTE13 配置为 PG_VRC_CTRL_OUT,OBE 就会通过函数Port_Ipw_SetOnlyOutputMode()自动设置,这是 MCAL 的问题吗? (4)如何测试 VRC_CTRL 反馈机制,在什么情况下预期会产生什么样的波形? (5)为什么 RM 中将 MSCR141 记录为“不支持”? 谢谢。 BR Re: VRC_CTRL Clarification 你好,帕维尔, 非常感谢您的详细解答。 当 VRC_CTRL 被最后一公里稳压器使用时,不应将其配置或强制为 GPIO 输出。具体来说,将 GPIO 输出电平设置为低电平并不是禁用或控制稳压器的正确方法。 如果同时启用 VRC_CTRL 和 OBE 会发生什么情况?PTE13或许会设立中级水平? 哪里可以找到描述直接信号和 SIUL2 输出复用组合驱动路径的图表? 以下是我的测量结果。可以看到,当 VRC_CTRL 启用时,GPIO 输出会对 PTE13 产生一些影响。 为了进行验证,应在启动和负载变化期间同时测量 V15 和 VRC_CTRL。 如何触发负载变化?是通过切换磁芯频率吗?   MSCR141 被记录为“不支持”,因为 PTE13/VRC_CTRL 使用来自 PMC 的直接连接,而不是正常的 SIUL2 输出复用路径。因此,MSCR141 不能用于控制 VRC_CTRL 功能。 这里我不太明白,至少在 VRC_CTRL 被禁用时可以使用 GPIO141,为什么 RM 只提到不支持 MSCR141? 实际上,我可以从调试器访问 MSCR141,并且可以在那里更改设置。 关于 Port_Ipw_SetOnlyOutputMode(),调用此函数本身并不能证明 PMC 调节器受到影响。 抱歉,我没明白你的意思。 实际上,这就是我提出这个问题的主要原因,当我在 MCAL 端口模块中将 PTE13 PinMode 配置为 PG_VRC_CTRL_OUT 时,将生成以下代码。 #define SIUL2_0_PORT141_PG_VRC_CTRL_OUT (PORT_ONLY_OUTPUT_MODE) Port_Ipw_SetOnlyOutputMode() will be called and “OBE” bit will set in this function.​ 我认为这可能是 MCAL 的一个 bug,PG_VRC_CTRL_OUT 模式错误地启用了 OBE。 请问您能帮忙查一下吗? 您认为将其配置为 GPIO + PORT_PIN_HIGH_Z + PORT_PIN_LEVEL_NOTCHANGE是否可以作为一种变通方法,在这种情况下,可以保证 PTE13 的 MSCR141 为 0 (OBE = 0)? 顺祝商祺! 熊本 Re: VRC_CTRL Clarification 你好@kumamon , 我认为主要的误解在于将 VRC_CTRL 视为常规的 SIUL2/GPIO 输出。 VRC_CTRL 是 PMC 末端调节器的直接输出。当使用外部镇流晶体管供电选项时,PMC 会监测 V15 功能域并调整 VRC_CTRL,VRC_CTRL 连接到外部 NPN 晶体管的基极。这就形成了一个闭合的模拟反馈回路。因此,VRC_CTRL 不是通过正常的 GPIO 输出数据寄存器来控制的。 因此,表中所示的 GPIO ALTx、IBE 和 OBE 组合不适用于 VRC_CTRL 功能: IBE 仅控制数字输入缓冲器,在 V15 稳压器反馈回路中不起作用。 当 VRC_CTRL 被最后一公里稳压器使用时,不应将其配置或强制为 GPIO 输出。具体来说,将 GPIO 输出电平设置为低电平并不是禁用或控制稳压器的正确方法。 最后一公里调节器由 PMC 控制,包括 PMC_CONFIG[LMBCTLEN] 字段和设备特定 PMC 章节中记录的初始化序列。 VRC_CTRL 是一个模拟控制信号,而不是数字状态输出。因此,没有一种固定的波形适用于所有设计。其电压取决于外部晶体管、V15 负载、电源电压、外部电容和工作模式。为了进行验证,应在启动和负载变化期间同时测量 V15 和 VRC_CTRL。预期结果是 V15 保持在规定的工作范围内,而 VRC_CTRL 根据需要调整外部晶体管。 MSCR141 被记录为“不支持”,因为 PTE13/VRC_CTRL 使用来自 PMC 的直接连接,而不是正常的 SIUL2 输出复用路径。因此,MSCR141 不能用于控制 VRC_CTRL 功能。 关于 Port_Ipw_SetOnlyOutputMode(),调用此函数本身并不能证明 PMC 调节器受到影响。 另请注意,RESET行为是特定于衍生产品的。例如,S32K3x8(和 S32K356)PMC 具有设备特定的 CONFIG 复位值为 0x00000083,因此复位后即可启用最后一公里稳压器配置。这不能从较旧的 S32K3 衍生版本中推广,因为在这些版本中可能需要显式启用 LMBCTLEN。 顺祝商祺! 帕维尔 Re: VRC_CTRL Clarification 你好@kumamon , 谢谢你提供的尺寸信息。他们确认,将 MSCR141[OBE] 设置为 1 可启用数字输出驱动程序,并允许 GPIO 电平影响 VRC_CTRL 节点。在 PMC 最后一公里稳压器处于活动状态时启用 GPIO 输出驱动程序是不受支持的配置,并且可能会干扰 V15 稳压。 这并不一定表明MCAL驱动程序存在缺陷。PTE13/VRC_CTRL 是一个特殊用途的引脚,需要根据特定应用进行处理。通用端口驱动程序在请求输出模式时启用 OBE,但它无法确定是否正在使用 PMC 稳压器和外部镇流晶体管电路。 只要最终配置后的 MSCR141[OBE] = 0,您提出的变通方案就是合适的: 使用 PORT_PIN_HIGH_Z。 使用 PORT_PIN_LEVEL_NOTCHANGED。 在 Port_Init() 之后验证 MSCR141[OBE]。 当 VRC_CTRL 处于活动状态时,请勿将 PTE13 配置为数字输出。 最基本的要求是禁用数字输出缓冲器。 顺祝商祺! 帕维尔 Re: VRC_CTRL Clarification 你好,帕维尔, 谢谢你的回答。 通用端口驱动程序在请求输出模式时启用 OBE。 你知道下图除了PG_VRC_CTRL_OUT之外,还有哪个设置可以引入“输出模式”吗?抱歉,但我仍然觉得 MCAL 端口错误地将PG_VRC_CTRL_OUT 映射到了输出模式。 为了进行验证,应在启动和负载变化期间同时测量 V15 和 VRC_CTRL。 如何触发负载变化?是通过切换磁芯频率吗?   谢谢。 BR/熊本熊 Re: VRC_CTRL Clarification 你好,帕维尔, 谢谢。 从截图中看到的配置似乎是正确的。 但问题是,生成的代码会启用 OBE 位,这是意料之外的。 在保持时钟配置不变的情况下改变 CPU 工作负载,通常比改变核心频率更容易解释。 请问如何更改 CPU 工作负载? 谢谢。 BR/熊本熊。 Re: VRC_CTRL Clarification 你好@kumamon , 我现在明白你的担忧了。您的配置选择了: 引脚方向 = PORT_PIN_HIGH_Z 引脚电平值 = PORT_PIN_LEVEL_NOTCHANGED 引脚模式 = PG_VRC_CTRL_OUT 因此,预计不会启用数字输出缓冲器。如果生成的代码仍然将 OBE 设置为 1,则应在 MCAL 端口配置中调查此行为。 请注意,文档显示 MSCR141 不支持此特殊用途的直接信号。PTE13/VRC_CTRL 由 PMC 控制,不应需要正常的 SIUL2 输出缓冲区配置。因此,手动访问或修改 MSCR141 不是一种受支持的应用方法。 请提供MCAL/RTD的确切版本以及设置OBE的相关配置和初始化代码。另外,请提供所用S32K3 MCU的确切版本。 关于 CPU 工作负载,这只是观察调节器响应的一个可选的建议,并非验证 VRC_CTRL 配置的必要条件。 顺祝商祺! 帕维尔 Re: VRC_CTRL Clarification 你好,帕维尔, 谢谢。 请注意,文档显示 MSCR141 不支持此特殊用途的直接信号。 根据下图,PTE13 不一定是 VRC_CTRL,它可以是任何其他功能。我觉得这与“不支持 MSCR141”的说法相矛盾。 请提供MCAL/RTD的确切版本以及设置OBE的相关配置和初始化代码。另外,请提供所用S32K3 MCU的确切版本。 RTD 版本: 配置: 已生成: 注:抱歉,我之前的讨论中犯了个错误。OBE 不是由 Port_Ipw_SetOnlyOutputMode() 设置的,而应该在 Siul2_Port_Ip_PinInit() 中设置。 MCU:S32K322 谢谢。 BR/熊本熊 Re: VRC_CTRL Clarification 你好@kumamon , 从截图中看到的配置似乎是正确的。 关于负载变化测量,这只是评估调节器响应的一个可选的建议。无需验证 VRC_CTRL 配置。如果需要进行此类测试,在保持时钟配置不变的情况下改变 CPU 工作负载通常比改变核心频率更容易解释。 顺祝商祺! 帕维尔 Re: VRC_CTRL Clarification 你好@kumamon , 我进行了详细调查。以下是结果: S32K3 RTD 4.0.0 和 RTD 7.0.1 之间的端口配置数据和结果行为是一致的。 S32K3 参考手册:关于不支持 MSCR141 的声明需要更清晰的针对特定设备的解释。MSCR141 在 S32K388 和 S32K389 上不受支持,因为 PTE13 和 VRC_CTRL 引脚功能未定义。 当 PTE13 用作 VRC_CTRL 时进行配置:如果 PTE13 用作 PMC 末端稳压器的 VRC_CTRL 输出,则无需在 MCAL 端口模块中配置该引脚。 当 PTE13 用作 GPIO 或其他外设功能时,配置:在这种情况下,PMC VRC_CTRL 功能必须处于非活动状态。对于RESET后启用最后一公里调节器的衍生品来说,这一点尤其重要。应用程序必须先正确配置 PMC 电源,然后才能将 PTE13 分配给常规 SIUL2 功能。 因此,这两种使用场景应视为互斥的: VRC_CTRL 的用法: 配置 PMC 最后一公里调节器。 MCAL 端口模块不要触碰 PTE13。 GPIO 或外设用途: 禁用或不使用 PMC 最后一公里调节器。 通过 MCAL 端口模块配置 PTE13。 你的测量结果与这种区别相符。如果 PMC VRC_CTRL 功能和 SIUL2 数字输出缓冲器同时处于活动状态,则数字输出路径会影响 VRC_CTRL 节点并干扰 V15 调节。因此,应避免这种同时配置的情况。 顺祝商祺! 帕维尔 Re: VRC_CTRL Clarification 你好,帕维尔, 非常感谢您的详细解释。 最好的办法似乎是将 PTE13 从 MCAL 端口配置中完全排除。 我们的使用场景有点特殊: - 在引导加载程序中,大多数引脚都配置为输入(IBE = 1)。//我们现在不想更改引导加载程序。 - 在应用中,为了使 PTE13 完全不受影响,我将其配置为 GPIO + HIGH_Z,这样就可以清除 IBE。 问题(请原谅我的啰嗦) : - 根据之前的讨论,“IBE = 1”不会影响 VRC_CTRL 功能,对吗?我可以保持 IBE = 1 吗? - 如果我将 PTE13 配置为 GPIO + HIGH_Z 以实现应用程序中完美的未触及状态,这样也可以,对吗? 谢谢! BR/熊本熊 Re: VRC_CTRL Clarification 你好@kumamon , 感谢您详细说明您的使用场景。 是的,IBE = 1 可以保持启用状态。 是的,您可以将PTE13 配置为 GPIO + HIGH_Z。 请勿在 MCAL 端口配置中选择 PG_VRC_CTRL_OUT。RTD 将此模式归类为 PORT_ONLY_OUTPUT_MODE,与所选的 PortPinDirection 无关,因此启用输出缓冲区。选择 PORT_PIN_HIGH_Z 并不会覆盖 PG_VRC_CTRL_OUT 的此行为。 顺祝商祺! 帕维尔 Re: VRC_CTRL Clarification 你好@Pavel , 感谢您高效而细致的支持。 现在我明白了,我会关闭这个工单。 BR/库马农
View full article
eFlexPWM 的初始 PWM 输出值 你好, 在使用 MCXA132 的 eFlexPWM 时,我想修改 PWM23 的初始值。 为此,我将采取以下步骤: 1. SM1CTRL2[PWM23_INIT] = 1 2. SM1CTRL2[FRCEN] = 1 SM1CTRL2[FORCE] = 1(注意 SM1CTRL2[FORCE_SEL] 为 000) 3. MCTRL[RUN] = 010 但第一个 PWM 周期总是从输出电平 0 开始。 问题出在哪里? 提前致谢 MCXA Re: Initial PWM output value with eFlexPWM 你好@zorrotz 为了帮助我们分析问题,能否请您与我们分享您的完整项目? 谢谢! BR 爱丽丝 Re: Initial PWM output value with eFlexPWM 你好, 我找到我的错误了。 参考手册中有这样一条注释: “如果未设置 MCTRL[LDOK],则设置 MCTRL[RUN] 也会设置 STS[RF] 标志。为防止 CPU 中断请求,请在设置 MCTRL[RUN] 之前清除 INTEN[RIE]。 我使用 STS[RF] 来结束 PWM 周期,但在执行 MCTRL[RUN] = 1 之前,我会清除 STS[RF]。 谢谢!
View full article
特定のフィットイメージにcsfヘッダーファイルが関連付けられていることを確認します。 セキュアブートは正常に動作しており、esbc_validateを使用してU-Bootが何をしているのかおおよそ理解しています。しかし、私は、cst 2.x で生成された特定のヘッダーファイルが、特定のフィット (カーネル、dtbs、ルートファイルシステム) イメージに関連付けられていることを検証するアップグレードユーティリティを作成しようとしています。 CSFセキュリティヘッダーを正しいオフセットに配置し、フィットイメージをオフセットに配置すれば、起動時には問題なく動作します。しかし、それらをそれぞれの場所に配置する前に、確認しておきたいのです。 公開鍵はCSFに埋め込まれているので、それを抽出しなければならないと理解しています。その後、少し混乱しています。RSA署名を抽出して、抽出した公開鍵を使ってハッシュを取得する必要があると思うのですが、そのハッシュは何らかの形でフィットイメージに関連付けられているものの、単にフィットイメージのハッシュではないのでしょうか? すでにSRKHを切れたヒューズから引き抜くことができたので比較できます。 今のところ、Google/Geminiはあまり役に立っていません。 ヒントをいただけますか? QorIQ LS1デバイス Re: Verify a csf header file is associated with a specific fit image. 署名は単にFITのハッシュではありません。このセキュアブートフローでは、CSFヘッダーのSHA-256ダイジェスト、そのヘッダーで指定されたイメージバイト、公開鍵マテリアル、および使用されている場合はSGテーブルを認証します。検証では、鍵と融合されたSRKHとの照合も行われます。 SO、どちらのファイルをインストールする前に、ユーティリティは候補ヘッダーを解析し、そのサイズとオフセットフィールドを使って候補FITから正しいバイトを選択し、署名済みデータのダイジェストを計算し、抽出したRSA署名を検証済み公開鍵で検証しなければなりません。検証が成功すると、そのヘッダーは認証済みのFITバイトに関連付けられます。FITのみのSHA-256比較では機能しません。
View full article
URLとバックリンクのための最高のインスタントインデックスツール、インスタントインデクサー2026 https://www.indexingurl.comを試してみてください あるいはお問い合わせ T g srma25 Whats app +8801602923484         評価ボード
View full article
TJA1410_10Base_T1s Hi,NXP I am testing 10BASE-T1S using the S32K5 and TJA1410. Currently, I can see waveforms on the TX pin, and there are also waveforms on the RX and ED pins, which indicates that signals can be received on the MDI. However, the TX pin is unable to send data to the MDI. TX_RX_ED-2026-09-10-19-26-50.bmpTX_RX_ED-2026-09-10-19-26-50.bmpTX_RX_ED-2026-09-10-19-26-50.bmp Best Reagrds. xianlong Ethernet PHY Re: TJA1410_10Base_T1s Hello @wuxianlong , How have you measured the MDI? MDI is differential interface so you need to use differential oscilloscope probe. MDI requires proper differential termination - please refer to AN14787 - Application note 10BASE-T1S Ethernet PMD transceiver TJA1410, Rev. 1.0 , chapter 3.3. Best regards, Pavel Re: TJA1410_10Base_T1s Hello @wuxianlong , I hope this email finds you well. I am writing to you in regard to a product currently in your possession – an NPI (New Product Introduction) - S32K5 - which has not been officially launched yet. Please be advised that customers who have been granted early access to such products have assigned their field engineers. Your designated field engineer should serve as your primary support channel for any issues, concerns or queries you may have about this product. Our online support team will be opening a wider range of support for this product once it has been officially released. Until then, we will not be equipped to provide the desired assistance. We appreciate your understanding in this matter. Thank you for your understanding. Best regards, Pavel Re: TJA1410_10Base_T1s Hi,@PavelL  I did not use a differential probe. When I transmit (TX), the MDI shows no fluctuation on the oscilloscope — it remains flat/horizontal. However, when the PC sends data, the MDI clearly shows a differential waveform. It feels like the TJA1410 is not being correctly switched into transmit mode and the chip remains in normal mode. Are there any methods to verify the PHY's current mode? Currently, our TJA1410 is not connected to an SMI interface — what precautions should we take regarding this? Best Regards, xianlong Re: TJA1410_10Base_T1s Hello @wuxianlong , Since S32K5 is an NPI device, please note that we are currently unable to validate the complete S32K5 and TJA1410 setup on our side.   The TJA1410 operating mode is not selected through the SMI interface. The transitions between Normal and Transmitting modes are controlled by commands received on the TX pin. Therefore, observing data activity on TX does not necessarily confirm that the TJA1410 has entered Transmitting mode. The preceding TRANSMIT command and its timing must also comply with the timing specified in the TJA1410 data sheet.   Please verify the transition from Normal to Transmitting mode according to Figure 10 in the TJA1410 data sheet. In particular, please capture the TX command together with the differential VLINE signal and ED output. This should confirm whether the TJA1410 recognizes the TRANSMIT command and activates its MDI transmitter.   Best regards, Pavel 回复: TJA1410_10Base_T1s As can be seen from the waveform in the manual, RX ignores the first transition starting with high impedance (or 0), resulting in RX missing a transition and RZI decoding error. I'd like to ask about NXP TJA1410. In this case, are there any recommended decoding methods? 回复: TJA1410_10Base_T1s Hello @li_wang , Please note: Once an answer is marked as a solution, the original query is no longer actively tracked in our system. I only receive subscription emails for updates and those can occasionally be missed. If you need further assistance, the best approach is to create a new query. Best regards, Pavel
View full article
Looking for FS5600 FRDM-K82F firmware I am restoring aFRDM-K82F that has been used with the KITFS5600FRDMEVM. It was set up some years ago and the files and knowledge for that have been difficult to find. I followed the firmware recovery procedure in UM11526. The OpenSDA firmware has been successfully restored and the board now enumerates as FRDM-K82FD. The next step in UM11526 requires the following firmware: nxp-gui-fw-frdmk82f-usb_hid-fs5600_xxx.bin The manual states that this file is located in the MCU folder of the NXP GUI package. However, the current NXPGUI_PR_11.1.0 package no longer contains the K82F firmware; its MCU directory only contains KL25Z and S32K144 firmware. Does anyone know where to find this frimware or an older NXPGUI package containing it? I only need the FS5600 application firmware at this point. The K20/OpenSDA bootloader and FRDM-K82F interface firmware are already working. Thanks in advance. PMIC for i.MX Re: Looking for FS5600 FRDM-K82F firmware Thank you guoweisun. It worked great and I will try to remember to use the support ticket when appropriate. Thank you! Re: Looking for FS5600 FRDM-K82F firmware Hi jbarns Please try to download from attached. By the way for DFAE please prioritize asking questions on salesforce submit ticket instead of in community.
View full article
TJA1410_10Base_T1s こんにちは、NXP S32K5とTJA1410を使用して10BASE-T1Sのテストを行っています。現在、TXピンに波形が見え、RXピンとEDピンにも波形があり、これはMDIで信号が受信できることを示しています。しかし、TXピンはMDIにデータを送信できません。 TX_RX_ED-2026-09-10-19-26-50.bmpTX_RX_ED-2026-09-10-19-26-50.bmpTX_RX_ED-2026-09-10-19-26-50.bmp よろしくお願いいたします。 シアンロン イーサネット PHY Re: TJA1410_10Base_T1s こんにちは@wuxianlongさん MDIはどのように測定しましたか?MDIは差動インターフェースなので、差動オシロスコーププローブを使う必要があります。MDIは適切な差動終端を必要とします。AN14787 - アプリケーションノート10BASE-T1S イーサネットPMDトランシーバ TJA1410、Rev. 1.0、第3.3章を参照してください。 よろしくお願いいたします。 パベル Re: TJA1410_10Base_T1s こんにちは@wuxianlongさん このメールが、あなたがお元気でいらっしゃる時に届くことを願っています。現在お手元にある製品、NPI(新製品紹介)S32K5についてお手伝いしていますが、まだ正式に発売されていません。 これらの製品の早期アクセス権を得たお客様は、現場エンジニアを割り当てていることにご注意ください。指定されたフィールドエンジニアが、この製品に関する問題や懸念、問い合わせの主要なサポートチャネルとなります。 正式リリース後、オンラインサポートチームはより幅広いサポートを展開していきます。それまでは、私たちは必要な支援を提供する体制が整っていません。 この件についてご理解いただき感謝いたします。 ご理解いただきありがとうございます。 よろしくお願いいたします。 パベル Re: TJA1410_10Base_T1s こんにちは、 @PavelL 私は差動プローブを使用しませんでした。私が送信(TX)すると、オシロスコープ上のMDIには変動が見られず、平坦/水平な状態が維持されます。しかし、PCがデータを送信すると、MDIには明確な差動波形が表示される。TJA1410が正しく送信モードに切り替わっておらず、チップは通常モードのままにしているように感じます。PHYの現在のモードを確認する方法はありますか?現在、私たちのTJA1410はSMIインターフェースに接続されていませんが、どのような注意点を取るべきでしょうか? 敬具 仙龍 Re: TJA1410_10Base_T1s こんにちは@wuxianlongさん S32K5はNPIデバイスであるため、現時点では弊社側でS32K5とTJA1410の完全なセットアップを検証することができませんのでご了承ください。   TJA1410動作モードはSMIインターフェースを通じて選択されません。通常モードと送信モード間の遷移は、TXピンで受信したコマンドによって制御されます。したがって、TXでデータアクティビティを観測したとしても、TJA1410が送信モードに入ったことを必ずしも確認できるわけではありません。前述のTRANSMITコマンドとそのタイミングは、TJA1410データシートに指定されているタイミングにも準拠する必要があります。   TJA1410データシートの図10に従って、通常モードから送信モードへの遷移を確認してください。特に、TXコマンドと差動VLINE信号、およびED出力を併せて取得してください。これにより、TJA1410がTRANSMITコマンドを認識し、MDIトランスミッタを起動するかどうかが確認されます。   よろしくお願いいたします。 パベル 回复: TJA1410_10Base_T1s こんにちは@li_wangさん ご注意ください:回答が解決済みとしてマークされると、元の質問はシステム上で追跡されなくなります。私は更新情報の購読メールしか受け取らず、それも時々見逃されることがあります。 さらにサポートが必要な場合は、新しいクエリを作成するのが最善の方法です。 よろしくお願いいたします。 パベル 回复: TJA1410_10Base_T1s マニュアルの波形図からわかるように、RXは高インピーダンス(または0)から始まる最初の遷移を無視するため、RXは遷移を見逃し、RZI復号エラーが発生します。 NXP TJA1410について質問させてください。この場合、推奨されるデコード方法はありますか?
View full article
LS1046A custom board: PBL SD_CLK drops 195 kHz to 24 kHz, then idle; HRESET_B stuck LOW Hello, This follows up the earlier thread (June is out of office): https://community.nxp.com/t5/QorIQ/LS1046A-custom-board-cold-boot-fails-from-eMMC-SD-and-QSPI/m-p/2416533 Summary Native cold boot from SD stalls with HRESET_B LOW. Debugger-assisted boot (CodeWarrior rcw.apply()) reaches U-Boot with the same RCW, PBI and card. During the native stall, the PBL starts SD_CLK at about 195 kHz and sends command frames. DAT0 never toggles. The clock then stops, restarts briefly at about 24 kHz, and the bus goes idle. We would like help interpreting this against RM Table 4-8 "RCW State Timing". Setup (board 2, no reset rework) LS1046AXE8T1A Rev 1.0 (SVR 0x87070010). No CPLD; an STM32 BMC does power sequencing and reset. cfg_rcw_src=0x40 (SW8 = 0010 0000, SW5 pole 1 OFF). Primary reference: 100 MHz differential. Clock-select strap IFC_WE_B (cfg_eng_use0). DDR reference: differential. SD card: The same card boots an LS1046ARDB to U-Boot. EVDD = 3.3 V. The SD/eMMC mux is set to the SD slot. RCW EVDD_VSEL = 0b10. RCW: PLL ratios copied from the hard-coded 0x9F example (platform 400 MHz, CPU 1300 MHz, PLL2 1000 MHz / FMan 500 MHz, DDR 1600 MT/s), both SerDes disabled: 0810000d 0a000000 00000000 00000000 00000000 00f00012 60040000 c1000000 00000000 00000000 00000000 0001c83e 00004504 24001102 00000096 00000001 PBI: identical to the stream in the earlier thread, ending with 08610040 6d8bdebf (END/CRC). Reset circuit: PORESET_B is driven by an open-drain MOSFET with a 10 kΩ pull-up to 1.8 V.  TRST_B is controlled separately and released 1 ms after PORESET_B. HRESET_B has a 4.7 kΩ pull-up. Native cold-boot observations (no debugger connected) Times are approximate. t = 0 is the ASLEEP falling edge, which coincided with PORESET_B rising in a separate capture. ≈ +0.5 ms: SD_CLK starts at 192–200 kHz (about 100 MHz/512 by our arithmetic). CMD is idle. ≈ +3.2 ms: CMD frames begin. The frame shape looks like CMD0 (40 00 00 00 00 95), but we have not decoded it. ≈ +9.6 ms: SD_CLK stops for about 1 ms. ≈ +10.6 ms: a few transitions appear on CMD and DAT0 with no clock. ≈ +10.7 to +11.2 ms: SD_CLK runs at 24.39 kHz (about 100 MHz/4096) for about 16 cycles, with no CMD frame. ≈ +11.0 ms: ASLEEP goes HIGH. Afterwards: no CLK, CMD or DAT0 activity for the rest of the 250 ms window. HRESET_B stays LOW. HRESET_B is LOW before PORESET_B is released and stays LOW afterwards. RESET_REQ_B stays HIGH with the card inserted. Without a card, RESET_REQ_B goes LOW. CCS access during the stall ccs::config_chain {ls1043a dap sap2} is accepted. ccs::display_mem 2 0x01ee0000 4 0 1 returns "Scan timeout".  Debugger-assisted boot (works) set_source(0x40) and set_data({13: 0x00004504}) (the same value as on the card), then apply(). RCWSR then matches the card. U-Boot reports CPU 1300, platform 400, DDR 1600, FMan 500 MHz. SD initialisation and FIP loading succeed. Questions Per Table 4-8 "RCW State Timing", what SD_CLK frequencies and transitions should we see with a 100 MHz SYSCLK? Does "~195 kHz → stop → ~24 kHz burst → idle" mean the PBL timed out during card identification, reset the eSDHC, or reached a later state? Which SD command sequence does the PBL issue (CMD0/CMD8/ACMD41 …), with what retries and timeouts? If the card doesn't answer, should RESET_REQ_B assert, and after how long? Is "Scan timeout" on SAP2 expected while HRESET_B is LOW? If so, what JTAG-accessible status can show PBL progress in this state? Could a slow PORESET_B rise ( specification ≤ 1 SYSCLK) cause this behaviour? Hard-coded 0x9F with no card: HRESET_B did not go HIGH after PORESET_B release. How should we interpret this? Re: LS1046A custom board: PBL SD_CLK drops 195 kHz to 24 kHz, then idle; HRESET_B stuck LOW Hello, The waveform indicates the device never completed the RCW/PLL transition. It is not yet in the normal PBI/eSDHC operating phase. 1. Expected SD_CLK with 100 MHz SYSCLK For RCW loading: SD_CLK = SYSCLK / 512 100 MHz / 512 = 195.3125 kHz After RCW loading and PLL lock: HRESET_B should deassert. The platform clock switches. SD_CLK = platform clock / 80 . With a 400 MHz platform clock, this is approximately 5 MHz. NXP describes this transition as the indication that PLL lock and RCW loading completed. Therefore: ~195 kHz → stop → ~24 kHz burst → idle     does not represent the documented later-state transition. The 24 kHz value is approximately 100 MHz / 4096 ; treat it as a reset/default-divider or restart artifact, not proof that PBL reached PBI loading. The clock alone cannot distinguish an SD identification timeout from an eSDHC reset. 2. SD commands, retries, and RESET_REQ_B The expected SD-identification flow is broadly: CMD0 CMD8 CMD55 + ACMD41 repeated until the card is ready CMD2 CMD3 CMD7 then block reads for RCW/PBI data     CMD1 is normally the eMMC initialization command, not the SD-card equivalent. The exact LS1043A ROM retry count and per-command timeout are not specified in the accessible NXP support material; they should not be inferred from the waveform. NXP documentation instead describes the terminal behavior: if the selected SD source is unavailable, the SoC does not fall back to another source; it asserts RESET_REQ_B and halts. Thus, if the card is completely absent, RESET_REQ_B should eventually assert. There is no documented fixed “assert after exactly N ms” value to use as a pass/fail limit. If it remains high while HRESET_B remains low, the device may still be before the terminal PBL error path—or the board may be masking/interfering with RESET_REQ_B . 3. SAP2 “Scan timeout” Yes, this is expected while HRESET_B is still asserted. The same reset signature— PORESET_B released, HRESET_B low, RESET_REQ_B high, and the processor inaccessible through the debug path—is associated with an early reset/boot condition. Before SAP2 becomes accessible, there is no dependable CCSR register that reports PBL progress. Use: PORESET_B HRESET_B RESET_REQ_B ASLEEP CLK_OUT , if configured Once debug access is established by using RCW override/safe-RCW or by isolating RESET_REQ_B , inspect: RSTCR RSTRQSR RSTRQPBLSR RSTRQMR NXP specifically recommends these reset registers when RESET_REQ_B access is possible. 4. Slow PORESET_B rise Yes. A slow or poorly shaped PORESET_B release can violate the reset-initialization timing and cause incorrect strap, clock, or PLL sampling. With a 100 MHz SYSCLK, the stated limit of one SYSCLK is approximately 10 ns. Verify the actual voltage crossing and rise time directly at the LS1043A pin, not only at the reset-generator output. Also verify that RESET_REQ_B is not feeding back into PORESET_B ; NXP recommends an isolation option during bring-up because boot failures can otherwise create a reset loop that prevents JTAG access. 5. Meaning of the 0x9F test 0x9F is the hard-coded-RCW/debug discriminator. With a valid clock and reset sequence, it should remove dependence on reading the RCW from the SD card. Therefore, if HRESET_B still never rises with no card installed, the fault is probably earlier than SD-card identification: SYSCLK/differential clock selection or quality PLL lock RCW strap decode reset electrical timing reset feedback or JTAG/TRST state In other words, the 0x9F result argues against “missing card” as the primary cause. First prove that HRESET_B rises with 0x9F and a clean reset/clock setup; then return to SD RCW loading. Regards Re: LS1046A custom board: PBL SD_CLK drops 195 kHz to 24 kHz, then idle; HRESET_B stuck LOW Hello, We are looking into what you said - prove that HRESET_B rises with 0x9F, as of now we are observing same behaviour as SD card in which HRESET_B being low and ASLEEP going low first and then high back. Also We tried with SD, EMMC as well as QSPI and is observing same cold boot stall and same HRESET_B & ASLEEP behaviour. Below is the CCS console we got when connected during stall - can anything be done to find at what the custom board is failing.  CCS console logCCS console logCCS console logCCS console log Thank you Re: LS1046A custom board: PBL SD_CLK drops 195 kHz to 24 kHz, then idle; HRESET_B stuck LOW Hi, The CCS capture does not prove that HRESET_B rises with 0x9F. It proves that JTAG detects the TAP/IDCODE, but subsequent accesses to the LS1046A system space fail with Scan timeout . The same symptom is documented for this cold-boot case. Interpretation 0x9F is an isolation test for hard-coded RCW using the differential SYSCLK path; it is not a guarantee of successful boot. During a valid sequence, HRESET_B is asserted during POR and should release after RCW/PLL completion; ASLEEP should transition after PBI execution. A brief HRESET_B high followed by low indicates that the processor may have passed the RCW/PLL stage but then entered another reset/stall condition. The oscilloscope must show whether PORESET_B or RESET_REQ_B also reasserts. Recommended isolation test Set the board to 0x9F. Disconnect the CodeWarrior TAP completely. Perform a clean power cycle. Capture these signals together: PORESET_B HRESET_B RESET_REQ_B TRST_B ASLEEP DIFF_SYSCLK relevant power-good rails Interpretation: PORESET_B falls again: investigate the external supervisor/BMC/power-good logic. PORESET_B remains high but HRESET_B stays low: investigate differential clock selection, PLL/RCW settings, HRESET_B pull-up/drive, and TRST_B/COP reset wiring. HRESET_B rises, ASLEEP falls, then both restart: investigate RESET_REQ_B feedback and the PBI/boot-source transaction. Also verify that HRESET_B and PORESET_B are not driven by the same source. HRESET_B should have its own pull-up and RESET_REQ_B should be isolated from PORESET_B/HRESET_B during bring-up. CCS actions After the waveform capture, reconnect CCS and use the LS1043A/LS1046A chain position, not DAP or SAP2, to read: 0x01EE00B4 Reset Request Preboot Loader Status 0x01EE00C8 Reset Request Status     These registers are specifically recommended for this failure mode. If those reads also return Scan timeout , CCS cannot reach the CCSR bus while the device is stalled; the waveform and reset schematic are then the primary evidence. Enable CCS protocol logging at DEBUG level and capture the complete low-level log. Bottom line: because SD, eMMC, and QSPI show the same behavior, the common failure is probably before or independent of the storage device—reset sequencing, clock/PLL selection, TRST_B/HRESET_B wiring, or RESET_REQ_B feedback.   regards Re: LS1046A custom board: PBL SD_CLK drops 195 kHz to 24 kHz, then idle; HRESET_B stuck LOW Hi, Last day, we were able to successfully boot one of our boards using an SD card. We found that the following changes helped: PORESET_B ramp time: 4 ns, achieved using a level translator with rise/fall times below 10 ns. IFC_AVD: 4.7 kΩ pull-up to OVDD. JTAG reset: Connected the JTAG reset from connector to BMC, with TRST_B controlled by the BMC. We were able to reproduce the same successful boot on two more boards as well. We are now verifying the same changes with the eMMC boot configuration.  Thank you.
View full article
MCUXpresso IDE v24.12 [ビルド148] [2025-01-10] デバッグを付けずに添付します。AXFイメージダウンロード 親愛なるサポートへ MCUXpressoデバッガ(JLINK)を使わなければ、.AXFイメージをダウンロードせずに使う必要があります。(実行時にフラッシュセクターを再プログラムする必要があるため)、「イメージをロード」オプションを選択しないようにしました(添付画像参照)。動作はするが、プログラムをメイン画面に再起動することはできない。 デバッグ構成 > 起動の関連チェックボックスが選択されている場合でも同様です。 .AXFファイルがロードされていなくても、フラッシュメモリに変更が加えられていないことを前提として、プログラムを再起動することは可能ですか? 敬具 パオロ Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] debug attach without .AXF image download こんにちは、@pberna67 さん。 これがあなたの状況に適切な回避策かどうかは確信が持てませんが、「.axf ファイルをダウンロードせずにデバッガーを使用する」という方法があります。「image」は「デバッグ」ではなく「アタッチ」をしているように聞こえます。 クイックスタートパネルで、JLinkアイコンのドロップダウンを選択し、次に「接続」オプションをクリックします。 この設定は変更されるため、クイックスタートパネルからJLinkアイコンをクリックするたびに、自動的に再度アタッチが行われます。 BR、 エドウィン。 Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] debug attach without .AXF image download ちゃんと動作しますし、再起動ボタンも動作します! よろしくお願いします。
View full article
FS65 - IO2 IO3 でロードダンプ機能を有効にする 私は現在、SBC FS65を使っています。リファレンス・マニュアルによると、IO2とIO3はロードダンプ耐性ではありません。IO0、IO4、IO5(外部保護付き)はロードダンプ耐性ですが、IO4とIO5は外部ICの監視に使われています。 これにより、点火やその他のウェイクアップソースなどの外部接続に使用できるのはIO0のみとなる。 IO2とIO3のロードダンプ防止を外部(IO5のように)で、外部ロードに接続できるかどうかを教えていただけますか? Re: FS65 - Enable load dump feature on IO2 IO3 こんにちは、サンディープさん。 IO2とIO3は論理レベルのローカル入力であり、ECUの外部に直接接続されることを想定していません。それらの絶対最大電圧範囲は-0.3Vから8Vのみです。 外部のウェイクアップ電源として使用する場合は、オートモーティブ用に認定された負荷ダンプ対応の入力コンディショニングまたはレベルシフト回路が別途必要となります。この回路は、IO2またはIO3の電圧が、すべての通常状態および過渡状態においてピンの定格範囲内に維持され、かつ指定された入力しきい値が満たされることを保証しなければなりません。 BR、トーマス Re: FS65 - Enable load dump feature on IO2 IO3 こんにちは、トーマスさん。 ご説明ありがとうございます。
View full article
最佳URL和反向链接即时索引工具2026 试试https://www.indexingurl.com 或联系 T g srma25 WhatsApp +8801602923484         评估板
View full article
MCUXpresso IDE v24.12 [Build 148] [2025-01-10] debug attach without .AXF image download Dear Support I need to use the MCUXpresso debugger (JLINK) without download the .AXF image (I need to reprogram some flash sector on runtime), so I deselected the "Load image" option (see attached image). It works but is not possible to restart the program to the main  even if the related checkbox in the Debug Configuration -> Startup is selected. Is it possible to restart the program assuming that no change is done in the flash memory even if .AXF is not loaded ? Regard Paolo Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] debug attach without .AXF image download Hi @pberna67, Note entirely sure if this would be the proper workaround for your situation, but "using the debugger without downloading the .axf image" sounds like doing an 'attach' instead of a 'debug'. On the quick start panel, select the JLink icon dropdown, and then click on the attach option: Keep in mind that this changes the configuration used, so every subsequent time you click on the JLink icon from the quickstart panel, an attach will automatically be done again. BR, Edwin. Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] debug attach without .AXF image download It works and and woks also the restart button! Thanks
View full article