Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
FlexIO0 SPIコントローラーのTXシフター(SHIFTCTL, PINCFG=11b)は、SHIFTSにもかかわらず出力ピンを駆動しません 取締役会: FRDM-MCXN236(MCX N236、デュアルCortex-M33) ツールチェーン: MCUXpresso IDE 25.6.136,ベアメタルレジスタレベルC(SDK周辺機器ドライバーなし) RMの参考文献: MCX N23x リファレンスマニュアル Rev. 4、2025-03-05、第53章(FlexIO)、表453(SPIコントローラ、CPHA=0構成) 私が作っているもの: FlexIO0はRM表453に従いSPIコントローラとして構成:シフター2台(shifter0 = TX、shifter1 = RX)+タイマー1台(timer0 = SCK、デュアル8ビットカウンタボーモード)、SPI経由でBME280センサーを読み込みます。ピン: P1_0/P1_1/P1_2 は ALT6 (FLEXIO0_D8/D9/D10) に多重化され、PORT1->PCR の読み取りによって正しいことが確認されています。 観察: RXシフターとSCKタイマー出力はどちらも完全に動作します。SCKは正常にスケジュール通りに切り替わり(2つの独立したレジスタで確認済み、下記参照)、SHIFTSTAT/TIMSTATはすべての転送が正常に、時間通りに、エラーなく完了したことを報告します。しかし、 TXシフターの出力ピン(SDO、D8)は、私が思いつく限りのあらゆるバリエーションで、そこに何が書き込まれていても、電気的な動きを全く示しません。センサーからのチップIDレジスタの読み込みは常に 0x00 であり、期待される 0x60 ではありません(同じボード、同じセンサー、同じブート上の動作する FlexComm/LPSPI3 ドライバーが正しく読み取れます)。 レジスタ構成(RMテーブル453と完全に一致、PINSELは実際のピンに置き換えられています) SHIFTCFG0 = 0x0000_0000 (RM: 0000_0000h -- スタート/ストップビット無効) SHIFTCTL0 = 0x0083_0002 (RM: 0083_0002h、PINSEL=8 (実際のD8/SDOの場合)) デコード結果: TIMSEL=0、TIMPOL=1(負エッジ)、PINCFG=3(11b、駆動出力) PINSEL=8、PINPOL=0、SMOD=2(送信) -- すべてのフィールドがRMのものと照合されます 文字通りの例では、PINSELのみが置換されています。 SHIFTCFG1 = 0x0000_0000 SHIFTCTL1 = 0x0000_0101 (RM: 0000_0101h、PINSEL=10 (実際のD10/SDIの場合)) TIMCMP0 = RM独自の式に基づいて算出(8ビットフレーム、1MHz SCK用のボー分周器) TIMCFG0 = 0x0100_2222 (RMリテラル値、ピン置換不要) TIMCTL0 = 0x01C3_0201 (RM: 01C3_0201h、PINSEL=9 (実際のD9/SCKの場合)) 私が除外した可能性は、それぞれハードウェアの直接的な証拠(デバッガによるレジスタ/メモリの検査、オシロスコープは使用不可)に基づいている。 ピンマルチプレクサがALT6に到達していません -- PCRの読み取り結果から、使用されている4つのピンすべてでALT6の設定が正しいことが確認されました。 センサ/配線の故障――別の動作するFlexComm/LPSPI3 SPIドライバが同じ物理センサ、同じ起動時にチップID(0x60)を正しく読み取ります。 SCKは物理ピンで一度もトグルしなかった――同時にサンプリングされた2つの独立したレジスタ、FLEXIO0->PIN(ビット9)とGPIO1->PDIR(ビット1、完全に別の周辺ブロックで、FlexIO内部ロジックを経由しない)によってトグルが確認された。両者はリアルタイムで、サンプルごとに一致する。 SHIFTBUFBIS (ビットスワップされたエイリアスレジスタ) 内の TX バイトレーンの配置 -- 下位バイト、上位バイト (RM 53.3.1 から再導出) を試しました。シフトレジスタのマイクロアーキテクチャ記述(サマリーテーブルだけでなく)、バイトレーンに依存しない完全な32ビット交互書き込み(0xAAAAAAAA)など、すべて同一の永続的にフラットなSDOを生成します。 TXバッファアンダーラン(SHIFTERR)-- RX準備完了待機が成功した直後にキャプチャされ、毎回0x0(クリーン)を読み取ります。 ピン/パッド固有の障害 -- shifter0 の PINSEL をまったく異なる物理ピン (D8 ではなく D9) に再ターゲットしましたが、依然として平坦です。タイマーは、同一のPINCFG=11b「駆動出力」機構を使用して、どちらのピンも正しく駆動します。 「有効化時の暗黙的なロード」(RM 53.3.1:シフターの状態フラグは、「データがSHIFTBUFからシフターにロードされたとき、またはシフターが送信モード用に最初に構成されたとき」に設定されます。つまり、最初のサイクルでロードされた古いデータが存在する可能性があります)は、最初の転送を破棄し、続いてトレースされた明確な2番目の転送を行うことで除外されました。結果は同一で、フラットな状態でした。 SHIFTBUFBIS エイリアス書き込みパスの非対称性 -- SHIFTBUFBIS[0] の代わりに、エイリアスされていないプレーンな SHIFTBUF[0] レジスタを介して同じバイトレーン非依存パターンを書き込みました: 同じフラットな結果。 FLEXIO0->PINOUTD/PINOUTE/PINOUTDIS(グローバルなピンごとのソフトウェア出力オーバーライドレジスタ、RM 53.3.3)-- ライブ読み取りでは、動作中のSCKピンと動作していないSDOピンの両方で、すべてゼロが表示されます。これは、「タイマー/シフター構成によって制御されている」(通常の状態)ことを意味します。原因ではない。 FLEXIO0->PINの読み取り自体が信頼できない - 上記の#3を参照。GPIO1->PDIRを介して独立して確認済み。 Shifter0インスタンス固有の不具合 -- 代わりに、ビット単位で同一のSHIFTCTL値で構成されたshifter2を使用して、全く同じフラットな結果を再現しました。同じ失敗。特定のインスタンスに限った話ではありません。 RM 53.7.1.27の文書化された 2 段階の PINCFG 書き込みシーケンス (最初に 10b を書き込み、次に 11b に別途書き込み、最初の構成時の短い低グリッチを回避する) -- 直接適用: 同じフラットな結果。 また、この部分に関する唯一の公開されたマスクセットエラッタ文書(MCXN23x_0P21K Rev. 2.0)も確認しましたが、FlexIO関連の項目は一切ありません。また、NXP自身のFlexIO-SPIアプリケーションノート(AN12780)も確認しました。後者はRM表453がすでに記載しているもの以上の指針を加えていません。 質問: シフターの内部帳簿(SHIFTSTAT、SHIFTERR、TIMSTAT)は、すべてのテストで完全に正常で、スケジュールどおりで、エラーのない送信モード動作を報告しており、同じCSブラケットトランザクション内の複数の転送にわたってTX準備完了フラグが正しくクリアおよび再設定されています。これはRM 53.3.1によれば、真のタイマートリガーによるリロードでのみ発生するはずです。また、シフトクロック自体(同じPINCFG=11b「駆動出力」メカニズムですが、SHIFTCTLではなくTIMCTL経由)が物理ピンに正しく到達することが独立して証明されています。 レジスタレベルの設定がすべてRMテーブル453の具体的な例と完全に一致するにもかかわらず、シフタのSHIFTCTL.PINCFG=11b送信モード出力(タイマーの同じPINCFG=11b出力とは対照的に)がMCXN23xマスクセット上の割り当てられたピンに到達できないような、既知のシリコン動作、文書化されていない前提条件、またはRMのギャップは存在するのでしょうか? 必要であれば、レジスタレベルのプロジェクトソースコード全体と、完全な追記専用の調査ログ(試行したすべての仮説、すべての撤回、およびそれぞれの正確なハードウェア証拠)を喜んで共有します。     MCX N
記事全体を表示
S32K311NHT0MPAST During MCU sleep mode, should the GPIO output state be retained (latched) or reset to its default state?Please confirm Re: S32K311NHT0MPAST Hi During S32K3 standby mode the GPIO output state is retained (latched).  For more detail please read the discussion in Where does the program start running after S32K344 wakes up from standby? Best Regards, Robin
記事全体を表示
virtual machine vm mc9s08qg8 does nxp support vm on windows 11 ? i want to build a vm and download cw(classic IDE) v5.2 so i can use my wiztronics burner board! Is this possible with NXP software. Do u support this action!!!!!!!! Re: virtual machine vm mc9s08qg8 Hello The usage of Virtual machines is not recommended, we cannot guarantee proper functionality when running tools in the IDE inside a virtual machine; The recommended path is to install the tool natively on a supported OS and using the corresponding version, In this case for windows 11 the CodeWarrior version is 11.1 Best Regards
記事全体を表示
CodeWarriorのビルドエラー 時々ビルドエラーが出ます: mingw32-make: *** ターゲットにするルールはありません Dropbox//Projects/\Project_x/\Project_Headers/\../\Sources/\イベント情報.c',`Sources/Events_c.obj` で必要です。  停止。 ファイル Events_c.obj は確かに存在しますが、通常の対処法では解決しません。クリーンビルドを試しました。Events_c.obj を削除しました。Flashフォルダ全体を削除し、シャットダウンと再起動も試しましたが、何も効果がありませんでした。結局、新しいプロジェクトを作成し、ソースファイルの内容をコピー&ペーストしました。この問題は数週間に一度発生し、数回はコンピューターが「スリープ状態」になった後に自然に解消されました。 Re: CodeWarrior Build error ありがとうございます。同期の問題は納得できますが、試せるまで数日かかりそうです。 Re: CodeWarrior Build error これは.objファイルの問題というよりは、ファイル自体、あるいは生成された Makefile 内の古いまたは不正な依存関係パスのようなものです。Dropbox//Projects/\Project_x... というパスに奇妙なスラッシュが含まれていることが大きな手がかりです。プロジェクトがDropboxと同期されたフォルダから直接ビルドされているかどうかを確認し、ローカルの同期されていないディレクトリに移動してみてください。また、問題が発生した際に生成された依存関係/Makefileのエントリを、正常にビルドできた場合と比較してください。Dropboxフォルダの同期後、またはPCのスリープ解除後にエラーが解消される場合は、ソースファイルではなく、Dropbox/ファイルシステムのタイミングに問題がある可能性が高いでしょう。
記事全体を表示
Renovate your home Hi everyone, I'm just starting to think about how to renovate a 100-square-meter house and make it as smart as I need. The house will be undergoing a fairly extensive renovation (underfloor heating, air conditioning, electric shutters, etc.), so I can set something up while I'm at it. I'm an engineer, so I have no problem messing around with some system to get it working. Looking around, I think the most economical and versatile solution is to have Home Assistant running locally on a Raspberry Pi (which I already have) and then all the devices I need, with a 5-7 inch display from which I can view and control everything. I'm unsure about the protocol: should I rely on Wi-Fi-based protocols or something wired (I read KNX?)? Obviously, I think wired is more efficient, but also more expensive. Is it worth it? Do you have any additional advice for someone who's renovating but isn't very familiar with the ins and outs of the smart home world? Re: Renovate your home Hi @ozipin, The communication method to coordinate all devices really depends on your needs and requirements, but generally specific protocols like Zigbee were created precisely to cover the needs of smart homes, so I would suggest looking into Zigbee capable devices. This should provide similar reliability to wired communication, while allowing for much more flexibility and reducing the costs. I highly recommend taking a look at the Building and Home Automation | NXP Semiconductors webpage to get more insight on how our can enable your smart home. BR, Edwin.
記事全体を表示
LX2160A JTAG (CCS) connection fails I'm trying to use DDR Tool with my LX2160A, but I can't connect. I think the cause is that the CCS cannot confirm the JTAG connection. Attach the result of the IDcode verification. KAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.png When I tried connecting a while ago, I was able to confirm a connection from JTAG, but the files were corrupted, and since revisions were not carefully managed, recovery was not possible. We are unaware that downloading from the internet via "check for update" can sometimes result in file corruption, and therefore we are currently unable to match the software's status. Since I was able to connect once, I suspect it might be a software issue. If you know a solution, please let me know. Thank you very much for your understanding. Re: LX2160AのJTAG(CCS)接続が失敗する Thank you for your reply. I performed the installation using "CodeWarrior for ARMv8 v11.5.0 b200629 Windows Offline Installer". After that, I tried updating using CodeWarrior IDE by selecting Help → Install New Software → Add → Archive and specifying com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip, but an error occurred during installation. The error message is as follows: KAZU_ISHI_0-1786959225115.pngKAZU_ISHI_0-1786959225115.pngKAZU_ISHI_0-1786959225115.pngKAZU_ISHI_0-1786959225115.pngKAZU_ISHI_0-1786959225115.png An error occurred while installing the items session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=[R]com.freescale.core.debugger.fsl_gdb13.0.0.202003111126 --> [R]com.freescale.core.debugger.fsl_gdb14.0.0.202204131357, action=com.freescale.updater.customactions.actions.FreescaleProcessCheck). NLS missing message: param_not_set in: com.freescale.updater.customactions.Messages Could you please advise me on how to deal with this? Thank you very much for your understanding. Re: LX2160AのJTAG(CCS)接続が失敗する Please check whether you have installed the latest CodeWarrior for ARMv8 11.5.12. Please open CodeWarrior IDE and check the version from Help->About CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA. If you have already installed this version CodeWarrior, please plug off USB cable from CodeWarrior TAP and plug in again. Re: LX2160AのJTAG(CCS)接続が失敗する Thank you for your reply. The version information for CodeWarrior currently in use is as follows: CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA Version: 11.5.0 Build ID: 200629GA Compared to the latest version you provided, my environment appears to be running an older version. By the way, if I select "com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip" via "Install New Software" → "Add" → "Archive", which items should I install? Selecting "Select All" results in an error and the installation fails. Re: LX2160AのJTAG(CCS)接続が失敗する Please install CW_ARMv8_v2020.06_b200629GA_Win_Offline.exe first, then open CodeWarrior IDE and install service pack com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip from Help->Install New Software->Add->Archive. If your problem persists, please provide screenshot to show your error.
記事全体を表示
S32K311NHT0MPAST MCUスリープモード中、GPIOの出力状態は保持(ラッチ)されるべきか、それともデフォルト状態にリセットすべきか?必ず確認してください Re: S32K311NHT0MPAST ハイ S32K3のスタンバイモード中は、GPIO出力状態が保持(ラッチ)されます。 詳細については、 「S32K344がスタンバイ状態から復帰した後、プログラムはどこで実行を開始しますか?」の議論を参照してください。 よろしくお願いいたします ロビン
記事全体を表示
如何初始化J3H081智能卡 您好,我购买了一张J3H081 JCOP卡。 我还收到了 、 、 、 、 、 以及一条 APDU 线“ 00F0 0000 10 ” 我使用 GlobalPlatformPro 尝试了 APDU 线路,它返回 6A82。 我完全不知道如何初始化这张卡。 我没有说明书,我想学习如何编写Java卡的程序。 Re: How to initialize J3H081 SmartCard JCOP 是一款高度安全的元件产品,因此,所有技术支持、文档访问和软件/工具请求都必须通过您授权的 NXP 代理商处理。 请联系您向其购买 JCOP 卡的代理商。   此致敬礼, 阿隆德拉
記事全体を表示
仮想マシン vm mc908qg8 NXPはWindows 11でVMをサポートしていますか?VMを構築して、CW(クラシックIDE)v5.2をダウンロードして、Wiztronicsのバーナーボードを使いたいと思っています!これはNXPのソフトウェアで可能でしょうか?この行動を支持しますか!!!!!!! Re: virtual machine vm mc9s08qg8 Hello 仮想マシンの使用は推奨されません。仮想マシン内でIDE内でツールを動かす際に適切な機能を保証することはできません。 推奨される方法は、サポートされているOSにネイティブインストールし、対応するバージョンを使うことです。この場合、Windows 11のCodeWarriorバージョンは11.1です よろしくお願いいたします。
記事全体を表示
LX2160AのJTAG(CCS)接続が失敗する LX2160Aに対し、DDR toolの使用を考えていますが、Connectができません。 原因はCCSより、JTAGの接続が確認できないことだと思います。 IDcodeの確認結果を添付します。 KAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.png 少し前に接続を試した際はJTAGからの接続が確認できましたが、ファイルが破損してしまったことと、細かくリビジョンを管理しておらず復元できておりません。 check for Updateより、インターネットからダウンロードを実施するとファイルが破損するケースが存在することを把握しておらず、現在ソフトウェアの状態を一致させることができないでいます。 一度接続できたため、ソフトウェアの問題かと思いますが、解決方法をご存じでしたらご教授願います。 以上よろしくお願いいたします。 Re: LX2160AのJTAG(CCS)接続が失敗する まずCW_ARMv8_v2020.06_b200629GA_Win_Offline.exeをインストールし、その後CodeWarrior IDEを開き、Help->Install New Software->Add->Archiveからサービスパックcom.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zipをインストールしてください。 問題が解決しない場合は、エラー画面のスクリーンショットをご提供ください。 Re: LX2160AのJTAG(CCS)接続が失敗する 最新版のCodeWarrior for ARMv8 11.5.12がインストールされているかどうか確認してください。 CodeWarrior IDEを開き、QorIQ LSシリーズ(ARM V8 ISA)のHelp->About CodeWarrior Development Studioのバージョンを確認してください。 既にこのバージョンのCodeWarriorをインストールしている場合は、CodeWarrior TAPからUSBケーブルを抜き、再度差し込んでください。 Re: LX2160AのJTAG(CCS)接続が失敗する ご返信ありがとうございます。 現在使用しているCodeWarriorのバージョン情報は以下の通りです。 CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA Version: 11.5.0 Build Id: 200629GA ご連絡いただいた最新バージョンと比較すると、私の環境は古いバージョンのようです。 ちなみに、「Install New Software」→「Add」→「Archive」から 「com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip」を選択した場合、どの項目をインストールすればよいでしょうか。 「Select All」を選択すると、エラーが発生し、インストールが成功しません。 Re: LX2160AのJTAG(CCS)接続が失敗する ご返信ありがとうございます。 「CodeWarrior for ARMv8 v11.5.0 b200629 Windows Offline Installer」からインストールを実行しました。 その後、CodeWarrior IDEで、Help → Install New Software → Add → Archive から com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip を指定して更新を試みましたが、インストール中にエラーが発生します。 エラーメッセージは以下の通りです KAZU_ISHI_0-1786959225115.pngKAZU_ISHI_0-1786959225115.png An error occurred while installing the items session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=[R]com.freescale.core.debugger.fsl_gdb 13.0.0.202003111126 --> [R]com.freescale.core.debugger.fsl_gdb 14.0.0.202204131357, action=com.freescale.updater.customactions.actions.FreescaleProcessCheck). NLS missing message: param_not_set in: com.freescale.updater.customactions.Messages 対処方法についてご教示いただけますでしょうか? 以上よろしくお願いいたします。
記事全体を表示
J3H081スマートカードの初期化方法 こんにちは。J3H081 JCOPカードを購入しました。 私はまた、 、 、 、 、 、 を受け取りました。 そして1つのAPDUライン「 00F0 0000 10 」 GlobalPlatformProを使用してAPDUラインを試したところ、6A82が返されました。 そして、カードの初期化方法が全く分かりません。 説明書が何もないので、Javaカードのプログラミング方法を学びたいと思いました。 Re: How to initialize J3H081 SmartCard JCOPは非常に安全な要素製品であり、すべての技術サポート、ドキュメントアクセス、ソフトウェアやツールのリクエストは 、認可されたNXP代理店を通じて処理しなければなりません。 JCOPカードを購入した代理店にお問い合わせください。   よろしくお願いします、 アロンドラ
記事全体を表示
CodeWarrior 版本错误 我偶尔会遇到版本错误: mingw32-make:*** 没有规则可以创建目标 Dropbox//Projects/\Project_x/\Project_Headers/\../\Sources/\Events.c'`Sources/Events_c.obj` 需要此文件。  停止。 文件 Events_c.obj 当然存在,但通常的解决方法却不起作用。我尝试了全新版本,删除了 Events_c.obj 文件。我删除了整个 Flash 文件夹,也尝试过关机重启,但都没用。最后我新建了一个项目,然后剪切粘贴了源文件的内容。这个问题每隔几周就会发生一次,而且有几次,在电脑“休眠”后,问题就自行消失了。 Re: CodeWarrior Build error 谢谢,同步问题确实有道理,但我需要几天时间才能尝试。 Re: CodeWarrior Build error 这听起来不太像是 .obj 文件的问题。文件本身有问题,更像是生成的 Makefile 中存在过时或格式错误的依赖路径。Dropbox//Projects/\Project_x... 路径中奇怪的斜杠是一个重要的线索。我会检查项目是否直接从 Dropbox 同步的文件夹构建,并尝试将其移动到本地的非同步目录。此外,请将出现问题时生成的依赖项/Makefile 条目与正常版本时生成的条目进行比较。如果Dropbox文件夹同步或电脑唤醒后错误消失,则进一步表明问题出在Dropbox/文件系统的时序问题上,而不是源文件本身。
記事全体を表示
How to use the FCCU function of MFS2633? How are PIN.17 FCCU1 and PIN.18 FCCU2 of the MFS2633 used? What truth table do the input values of these two pins form, triggering different protection measures of the chip? Re: MFS2633的FCCU功能如何使用? Hello Rio, FCCU1 (PIN 17) and FCCU2 (PIN 18) on the MFS2633 are digital inputs used to receive fault signals from the connected MCU. They are part of the FS26 Fail-Safe State Machine's MCU monitoring interface. They connect directly to the MCU's FCCU error-output pins (for example, the FCCU_EOUT[0:1] or FSP outputs of S32K3xx MCUs). The FS26 monitors these inputs and, when a fault condition is detected, asserts the configured safety output(s) (FS0B and/or RSTB). The monitoring mode is selected with the FCCU_CFG[2:0] bits in the FS_I_SAFE_INPUTS register during the FS26 initialization phase. The available modes are: Screenshot 2026-08-13 092241.jpg In the most common automotive implementation — the bi-stable (paired) mode — the two pins work as a complementary pair, not as independent inputs that produce different reactions. The FS26 expects: Normal/safe state: FCCU1 = HIGH (1), FCCU2 = LOW (0) Fault state: FCCU1 = LOW (0) or FCCU2 = HIGH (1) Any deviation from the expected normal state triggers the configured fault reaction. The default fault polarity is: FCCU1 = 0 or FCCU2 = 1 is a fault . This polarity is configurable via FCCU12_FLT_POL . Screenshot 2026-08-13 092736.jpg The safety reaction (which outputs are asserted) does not differ based on the specific combination of FCCU1/FCCU2 levels. The reaction is the same for any detected fault, but can be configured independently per pin using FCCU12_FS_REACTION , FCCU1_FS_REACTION  and FCCU2_FS_REACTION bits. Screenshot 2026-08-13 093010.jpg The default reaction is to assert both RSTB and FS0B low when a fault is detected. If you wish to enable a fault recovery strategy (where the MCU handles the fault without being reset), you must change the reaction to FS0B only. BRs, Tomas
記事全体を表示
How to initialize J3H081 SmartCard Hello I have purchased a J3H081 JCOP card. I have also received , , , , , and one APDU line "00F0 0000 10 " I tried the APDU line using GlobalPlatformPro and it returns 6A82 and I completely don't know how to initialize the card. I have no instructions, and I wanted to learn how to program a Java card. Re: How to initialize J3H081 SmartCard JCOP is a highly secure element product, and as such, all technical support, documentation access, and software/tooling requests must be handled through your authorized NXP distributor. Please contact the distributor from whom you purchased the JCOP card.   Best regards,  Alondra
記事全体を表示
FlexIO0 SPI-controller TX shifter (SHIFTCTL, PINCFG=11b) never drives its output pin, despite SHIFTS Board: FRDM-MCXN236 (MCX N236, dual Cortex-M33) Toolchain: MCUXpresso IDE 25.6.136, bare-metal register-level C (no SDK peripheral drivers) RM reference: MCX N23x Reference Manual Rev. 4, 2025-03-05, Chapter 53 (FlexIO), Table 453 (SPI controller, CPHA=0 configuration) What I am building: FlexIO0 configured as an SPI controller per RM Table 453: 2 shifters (shifter0 = TX, shifter1 = RX) + 1 timer (timer0 = SCK, dual 8-bit counter baud mode), reading a BME280 sensor over SPI. Pins: P1_0/P1_1/P1_2 muxed to ALT6 (FLEXIO0_D8/D9/D10), confirmed correct via PORT1->PCR readback. Observation: The RX shifter and the SCK timer output both work perfectly — SCK toggles cleanly and on-schedule (confirmed via two independent registers, see below), and SHIFTSTAT/TIMSTAT report normal, on-time, error-free completion of every transfer. But the TX shifter's own output pin (SDO, D8) never shows any electrical movement whatsoever, regardless of what's written to it, under every variation I've been able to think of. The chip-ID register read back from the sensor is always 0x00, never the expected 0x60 (which a separate, working FlexComm/LPSPI3 driver on the same board, same sensor, same boot, reads correctly). Register configuration (matches RM Table 453 exactly, PINSEL substituted for real pins) SHIFTCFG0 = 0x0000_0000 (RM: 0000_0000h -- start/stop bit disabled) SHIFTCTL0 = 0x0083_0002 (RM: 0083_0002h, PINSEL=8 for our real D8/SDO) decodes to: TIMSEL=0, TIMPOL=1(neg edge), PINCFG=3(11b, driven output), PINSEL=8, PINPOL=0, SMOD=2(Transmit) -- every field verified against RM's literal example, only PINSEL substituted SHIFTCFG1 = 0x0000_0000 SHIFTCTL1 = 0x0000_0101 (RM: 0000_0101h, PINSEL=10 for our real D10/SDI) TIMCMP0 = derived per RM's own formula (8-bit frames, baud divider for 1MHz SCK) TIMCFG0 = 0x0100_2222 (RM literal value, no pin substitution needed) TIMCTL0 = 0x01C3_0201 (RM: 01C3_0201h, PINSEL=9 for our real D9/SCK) What I've ruled out, each via direct hardware evidence (debugger register/memory inspection, no oscilloscope available): Pin mux not reaching ALT6 -- PCR readback confirms correct ALT6 config on all four pins used. Sensor/wiring fault -- a separate, working FlexComm/LPSPI3 SPI driver reads the chip ID (0x60) correctly from the same physical sensor, same boot. SCK never toggling on the physical pin -- confirmed toggling via TWO independent registers sampled at the same instants: FLEXIO0->PIN (bit 9) and GPIO1->PDIR (bit 1, a completely separate peripheral block with no FlexIO-internal logic in its path). Both agree, in real time, sample for sample. TX byte-lane placement in SHIFTBUFBIS (the bit-swapped alias register) -- tried the low byte, the high byte (re-derived from RM 53.3.1's shift-register microarchitecture description, not just the summary table), and a byte-lane-agnostic full 32-bit alternating write (0xAAAAAAAA) -- all produce an identical, permanently flat SDO. TX buffer underrun (SHIFTERR) -- reads 0x0 (clean) every time, captured immediately after a successful RX-ready wait. Pin/pad-specific fault -- retargeted shifter0's PINSEL to a completely different physical pin (D9 instead of D8); still flat. The timer, using the identical PINCFG=11b "driven output" mechanism, drives either pin correctly. "Implicit load on enable" (RM 53.3.1: the shifter status flag sets "when data has been loaded from SHIFTBUF into the shifter or when the shifter is initially configured for Transmit mode" -- i.e. a possible stale first-cycle load) -- ruled out via a throwaway first transfer followed by a traced, unambiguously-second transfer: identical flat result. SHIFTBUFBIS alias write-path asymmetry -- wrote the same byte-lane-agnostic pattern through the plain, non-aliased SHIFTBUF[0] register instead of SHIFTBUFBIS[0]: identical flat result. FLEXIO0->PINOUTD/PINOUTE/PINOUTDIS (the global per-pin software output-override registers, RM 53.3.3.3) -- live readback shows all zero, meaning "controlled by timer/shifter configuration" (the normal state) on both the working SCK pin and the non-working SDO pin identically. Not the cause. FLEXIO0->PIN readback itself being unreliable -- see #3 above; independently confirmed via GPIO1->PDIR. Shifter0-instance-specific defect -- reproduced the identical flat result using shifter2 instead, configured with the bit-for-bit identical SHIFTCTL value. Same failure. Not instance-specific. RM 53.7.1.27's documented two-step PINCFG write sequence (write 10b first, then a separate write to 11b, to avoid a brief low glitch on first configuration) -- applied directly: identical flat result. I also checked the one published mask-set errata document for this part (MCXN23x_0P21K Rev. 2.0) -- no FlexIO-related entries at all -- and NXP's own FlexIO-SPI application note (AN12780), which adds no guidance beyond what RM Table 453 already documents. Question: Given the shifter's internal bookkeeping (SHIFTSTAT, SHIFTERR, TIMSTAT) reports completely normal, on-schedule, error-free Transmit-mode operation on every test — including the TX-ready flag correctly clearing and re-setting across multiple transfers within the same CS-bracketed transaction, which per RM 53.3.1 should only happen on a genuine timer-triggered reload — and the shift clock itself (same PINCFG=11b "driven output" mechanism, just via TIMCTL instead of SHIFTCTL) is independently proven to reach its physical pin correctly: Is there a known silicon behavior, an undocumented prerequisite, or an RM gap that would prevent a shifter's SHIFTCTL.PINCFG=11b Transmit-mode output specifically (as opposed to a timer's identical PINCFG=11b output) from reaching its assigned pin, on the MCXN23x mask set, even though every register-level configuration matches RM Table 453's own worked example exactly? Happy to share the full register-level project source and a complete, append-only investigation log (every hypothesis tried, every retraction, with exact hardware evidence for each) if useful.     MCXN
記事全体を表示
LX2160A JTAG(CCS)连接失败 我考虑用DDR工具来LX2160A,但我连接不上。 我认为原因是CCS无法确认JTAG连接。 附上身份码验证结果。 KAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.pngKAZU_ISHI_0-1786615924736.png 前段时间我尝试连接时,通过 JTAG 确认了连接,但是文件损坏了,由于我没有仔细管理版本,所以一直无法恢复。 Check for Update无法识别从互联网下载时文件损坏的情况,因此无法匹配当前软件状态。 既然我曾经连接过一次,我怀疑可能是软件问题。如果你知道解决办法,请告诉我。 非常感谢你的理解。 Re: LX2160AのJTAG(CCS)接続が失敗する 感谢你的回复。 我使用“CodeWarrior for ARMv8 v11.5.0 b200629 Windows Offline Installer”执行了安装。 之后,我尝试使用 CodeWarrior IDE 进行更新,方法是选择“帮助”→“安装新软件”→“添加”→“归档”,并指定 com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip,但在安装过程中出现错误。 错误信息如下: KAZU_ISHI_0-1786959225115.pngKAZU_ISHI_0-1786959225115.pngKAZU_ISHI_0-1786959225115.pngKAZU_ISHI_0-1786959225115.pngKAZU_ISHI_0-1786959225115.png 安装项目时发生错误 会话上下文为:(profile=epp.package.cpp,phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=[R]com.freescale.core.debugger.fsl_gdb13.0.0.202003111126 --> [R]com.freescale.core.debugger.fsl_gdb14.0.0.202204131357,操作=com.freescale.updater.customactions.actions.FreescaleProcessCheck)。 NLS 缺少消息:参数未设置,位于:com.freescale.updater.customactions.Messages 请问您能否指导我如何处理此事? 非常感谢你的理解。 Re: LX2160AのJTAG(CCS)接続が失敗する 请先安装 CW_ARMv8_v2020.06_b200629GA_Win_Offline.exe,然后打开 CodeWarrior IDE 并从“帮助”->“安装新软件”->“添加”->“归档”安装服务包 com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip。 如果问题仍然存在,请提供屏幕截图以显示您的错误。 Re: LX2160AのJTAG(CCS)接続が失敗する 感谢你的回复。 当前使用的CodeWarrior版本信息如下: CodeWarrior QorIQ LS 系列开发工作室 - ARM V8 指令集架构 版本:11.5.0 版本号:200629GA 与您提供的最新版本相比,我的环境似乎运行的是旧版本。 顺便问一下,如果我通过“安装新软件”→“添加”→“归档”选择“com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip”,我应该安装哪些项目? 选择“全选”会导致错误,安装失败。 Re: LX2160AのJTAG(CCS)接続が失敗する 请检查您是否已安装适用于 ARMv8 的最新版 CodeWarrior 11.5.12。 请打开 CodeWarrior IDE,并从“帮助”->“关于 CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA”中检查版本。 如果您已经安装了此版本的 CodeWarrior,请从 CodeWarrior TAP 上拔下 USB 电缆,然后重新插入。
記事全体を表示
S32K311NHT0MPAST MCU进入睡眠模式时,GPIO输出状态应该保持(锁定)还是重置为默认状态?请确认 Re: S32K311NHT0MPAST HI 在S32K3待机模式下,GPIO输出状态会被保留(锁存)。 更多详情请参阅“S32K344 从待机状态唤醒后,程序从哪里开始运行?”中的讨论。 此致敬礼, Robin
記事全体を表示
翻新您的房屋 大家好, 我正在考虑如何翻新一栋100平方米的房子,并使其尽可能满足我的智能化需求。房子将进行相当全面的翻新(地暖、空调、电动百叶窗等),所以我可以趁此机会布置一些东西。我是一名工程师,所以摆弄一些系统让它正常运行对我来说不成问题。环顾四周,我认为最经济实惠且用途最广泛的解决方案是在本地运行 Home Assistant 的树莓派(我已经有了)上,然后连接我需要的所有设备,再配上一个 5-7 英寸的显示屏,我可以从中查看和控制所有设备。我不太确定协议的选择:应该采用基于 Wi-Fi 的协议,还是有线协议(我听说过 KNX?)?显然,我认为有线协议效率更高,但也更昂贵。值得吗?对于那些正在进行房屋装修但不太了解智能家居领域内幕的人,您还有什么建议吗? Re: Renovate your home 嗨@ozipin , 协调所有设备的通信方式实际上取决于您的需求,但通常像 Zigbee 这样的特定协议正是为了满足智慧家居的需求而创建的,所以我建议您考虑使用支持 Zigbee 的设备。这应该能提供与有线通信类似的可靠性,同时还能提供更大的灵活性并降低成本。 我强烈建议您访问NXP Semiconductors 的“楼宇与家庭自动化”网页,以更深入地了解我们的产品如何助力您打造智慧家居。 BR, 埃德温。
記事全体を表示
お問い合わせ:ISO 15118-20 EVCCシミュレーションおよびSECCテスト用NXP EasyEVSE こんにちは 当社は、カスタム仕様の充電器側ISO 15118-20 SECCを開発中です。 当社は、実車を必要とせずに充電器のテストを行うためのEV側シミュレーターとして、NXP EasyEVSEプラットフォームの導入を検討しています。MIMXRT1064-EVKはEVCCソフトウェアを実行し、EVSE-SIG-BRD2XとGreen PHYハードウェアは充電器へのCP/PEおよびPLC接続を提供するものと理解しています。 確認いただけますか: このプラットフォームやハードウェアがEV/EVCCモードで動作し、カスタムSECCをテストできるかどうか。 ISO 15118-20 ACやAC-BPTに対応しているかどうかも重要です。 CP状態や5%のPWM、SLAC、SDP、TCP/TLS、認証、サービス発見、スケジュール交換、充電ループ、セッション停止のテストができるかどうかも含まれます。 現在のSoC、ターゲットSoC、充電・放電電力制限などのEV値を設定できるかどうか。 EV側のハードウェア部品表(BOM)を正確に記載してください。これには、適切な信号基板、グリーンPHY基板、ケーブル、および部品番号が含まれます。 必要なSEVENSTAXソフトウェアが含まれるのか、別途評価ライセンスが必要なのか。 評価にQA/テスト用TLS証明書とセキュアエレメントが必要かどうか。 変更可能なEVパラメータとメッセージフィールドはどれですか? 充電・放電電力がセッション中に動的に変化できるかどうか、 このシステムは、研究室での開発および相互運用性テストのみを目的としています。 よろしくお願いいたします。
記事全体を表示
Unable to get serial console or boot linux on MCIMX8Q!XP-CPU (Si B0) - only garbage on UART Hello, I am facing issues bringing up the MCIMX8QXP-CPU (Silicon Revision B0) board. Hardware: MCIMX8QXP-CPU (Si B0) MCIMX8-8X-BB baseboard IMX-LVDS-HDMI adapter connected to J1 Original 16 GB SD card that came with the kit Also tried a newly flashed 32 GB SD card with official Linux BSP (L6.18.20 / MX8QXPC0 image) Problem: Serial console (J11) always shows only garbage characters (□□□□) at 115200 8N1. Tried multiple COM ports Tried different terminal software (PuTTY, Docklight) Tried on two different Windows laptops Installed latest FTDI VCP drivers Same result with original kit SD card and newly flashed card UUU never detects the board in Serial Download Mode (SW2 = 1000). uuu -lsusb shows no device. Board does not appear in Device Manager when in download mode. HDMI – no display output so far (using IMX-LVDS-HDMI on J1). Boot switches tried: SD boot: SW2 = ON ON OFF OFF Serial Download: SW2 = ON OFF OFF OFF eMMC: SW2 = OFF ON OFF OFF What I have already done: Flashed official .Sdcard image using Balena Etcher and Rufus Verified SD card is properly inserted in J12 Used original power supply Checked multiple USB cables for the debug port Could someone please advise: Is there any known issue with Si B0 boards regarding the debug UART? Any additional steps to get clean console output? Recommended way to recover / verify the board is healthy?    HW-Open-Source i.MX 8 Family | i.MX 8QuadMax (8QM) | 8QuadPlus
記事全体を表示