Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
ISF API ライブラリ? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> CI プロトコルについて詳しく知るために、Intelligent Sensing Framework v. 2.0 ソフトウェア リファレンス マニュアルを参照していました。 プロトコルは理解していますが、ここでは Matlab を使用してセンサー データロガーを構築するつもりです。 Matlab 用の ISF API ライブラリはありますか?あるいは C/C++ でしょうか? それは私たちのここでのニーズに大いに役立つでしょう。   ありがとうございます。 インテリジェント・センシング・フレームワーク
View full article
磁力計の校正は必ずしも正確ではない <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 私はコンパスの方向を知る必要がある組み込みデバイスに取り組んでいます。私は磁力計の調整とコンパスの方向の検出のために、センサ フュージョン ライブラリ (ありがたいことに!) とともに FXOS8700 を使用しています。   しかし、キャリブレーションの結果は必ずしも信頼できるとは限りません。つまり、特定の調整後、コンパスの方向が正しい値から +/- 40 度ずれているということです。数回のキャリブレーションの後、正しいコンパスの方向を取得できましたが、数回のキャリブレーションの後、正しいコンパスの方向を取得できませんでした。   当社のアプリケーションでは、スマートフォンとは異なり、デバイスをインストールした後にデバイスの傾きや磁場の強度が変化しないアプリケーションであるため、キャリブレーション機能を継続的に使用していません。最初に一度キャリブレーションを実行し、補正ベクトルとマトリックスを保存して、後で適用します。   SO、センサ フュージョン ライブラリに実装されているキャリブレーション アルゴリズムは、常に正しいキャリブレーション値を返すことが期待されるのでしょうか?もしそうなら、ここで何が見逃されているのか、またはどうすれば問題の根本を突き止めることができるのか、何かアイデアはありますか?そうでない場合、不適切な調整を識別して回避する方法はありますか?   役に立つかもしれないので、いくつかの観察結果をメモします。 1.フィット誤差 2% でのキャリブレーション後、コンパスの方向は不正確になりますが、フィット誤差 5% でのキャリブレーション後、コンパスの方向は完全に正確になります。 2. デバイスを北に向けたときにコンパスの方向が間違っている場合、南に向けたときにもコンパスの方向が間違っていることがほぼ常に観察されています。同様に、東を指すコンパスの方向が間違っている場合、西を指すコンパスの方向も間違っています。 3. テストは同じデバイス、PCB で実行されました。ハードウェアの変更はありません。   よろしくお願いいたします。 クリソリン センサ・フュージョン Re: Magnetometer calibration is not always accurate <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 進捗状況をお知らせいただきありがとうございます。 よろしくお願いいたします。 Mike Re: Magnetometer calibration is not always accurate <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ありがとう、マイク。 はい、その数字はKL25Zのものでした。私はmagCalとeCompassの両方を使っています。 私はフリーダムボードを使って開発環境を構築していました。しかし、オーバーサンプリング比を 8 に戻すだけで、問題は部分的に解決されるようです。2 つのコンパスの方向間の時間差 (40 ミリ秒) がアプリケーションには大きすぎるため、以前にオーバーサンプリング比を 2 に下げました。SO、オーバーサンプリング比を 8 に戻した後、最大誤差は +/-15 度のみになりました 。将来的にデバイス上にさらに有害な磁性材料が付着しない限り、これで十分でしょう。 サポートしてくれてありがとう ところで、OSR と ODR の調整について質問があります。それについて新たな議論を始めるつもりです。再度、感謝します。 ありがとうございます クリソリン Re: Magnetometer calibration is not always accurate <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> クリソリン、 専門家に確認したところ、これらの関数はゼロや無限大を返すべきではないようです。正しいデータが供給されていると確信していますか? 上記のグラフは、かなり妥当に見えるので、既成のプロジェクトを実行している KL25Z のグラフであると思われます。変更がコードに及ぼす影響をすぐに確認できるように、そのプラットフォームでこの問題のデバッグを実行することをお勧めします。作業中の(継続的に調整された)プロジェクトから始めます。問題のない結果が得られたことを確認し、各ステップで段階的な変更と結果の確認を開始します。 Mike Re: Magnetometer calibration is not always accurate <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> クリソリン、 添付した図はKL25Z用ですか、それともボード用ですか? 一般的に、私たちは適合誤差に頼りますが、上のグラフの見た目が気に入るかどうかも確認します (「調整済み」表示は円形になるはずです)。 ハードウェア抽象化レベルでは、センサの物理的な方向と、使用するグローバル参照フレームの 2 つの問題を考慮する必要があります。8700 センサのみを使用しているため、おそらく HAL の問題は発生しません。さまざまな設定は、そのデバイスにおいて、必要なすべての参照フレームに対して一貫しています。別個の磁気センサと加速度センサおよび/またはジャイロセンサがある場合は、物理センサが一貫した参照フレームにマップされるように、ハードウェア抽象化レベルを調整する必要がある場合があります。その議論はおそらく、ディスカッション掲示板で私が行える範囲を超えています。 magCal のみを使用していますか、それとも eCompass の完全実装を使用していますか? 現在、ライブラリのバージョンは 5.00 であり、数週間以内に 4.22 が廃止される予定です。新しいバージョンには、eCompass のベアメタル、非 RTOS バージョンがいくつかあります。したがって、いずれにせよアップグレードしたほうがよいかもしれません。新しいバージョンは freescale.com/sensorfusion にあります。 固有値の問題については数学の専門家に確認する必要があります。彼は私が考えつくよりももっと賢い答えを持っているでしょう。 Mike Re: Magnetometer calibration is not always accurate <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、Mikeさん ご意見をありがとうございました。 いくつかのことを探索し、試してきました。いくつかの質問 1.1 回限りのキャリブレーションに使用している停止条件は、適合誤差が 5% 未満になることです。適合誤差は、キャリブレーションが十分であるかどうかを知るための良い手段ですか?キャリブレーションが適切かどうかを確認する他の方法はありますか? 2. HAL については、センサ フュージョン ライブラリの ApplyHAL() 関数は、ハードウェアではなく OS の座標系に依存しているようです。しかし、 Freescale Sensor Fusion for Kinetis 製品開発キット ユーザーガイドドキュメントでは、別のことが示唆されているようです。それで、使用すべきコードのバージョンはあるのでしょうか?現在、build422 - Nov2014 を使用しています。 3. 現時点では、センサ フュージョン ライブラリ (WIN8 として定義された THISCOORDSYSTEM) で使用可能な HAL を使用しています。これにより、コンパスの方向がかなり正確になります。PCB 上のチップの方向に合わせて HAL を作成したい場合、ガイドはありますか?シングルチップ(FXOS8700)を使用しています。 4. 7 要素および 10 要素のキャリブレーション関数では、固有ベクトルと値は 0/Infinity です。結局、これらの関数は有用なキャリブレーションソリューションを返しません。これは予想通りでしょうか?確認したところ、fmatA マトリックスには実際にはゼロ以外の固有値とベクトルがありますが、関数 eigencompute() は固有値とベクトルを 0/無限大としてのみ返します。 KL25Z を使用している間は問題は発生していません。これが私のスクリーンショットです: ありがとうございます クリソリン Re: Magnetometer calibration is not always accurate <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 弊社の参照コードを使用したときに、KL25Z でも同じ問題が発生しましたか?非常に醜い磁場がない限り、そのようなことは起きないはずです。これが、すべての視覚化機能をツールボックスに組み込んだ理由の 1 つです。そうしないとデバッグするのが本当に難しくなります。製品に磁気充電フィルムまたは類似の素材が含まれていない限り、磁気較正によって得られる精度は、ほとんどの人が実感できる最高値で約 5 度程度になると思います。10 未満なら難しくないはずです。10を超えても、作業を続けてください。 参考までに、MCU にフラッシュ スペースがあり、予備の UART がある場合は、弊社のリファレンス プロジェクトの 1 つからシリアル インターフェースを導入できます。ツールボックスのグラフィック表示は間違ったボードのものになりますが、その他の機能は正常に動作するはずです。 確認する必要があるもう 1 つの点は、すべてのセンサの物理的な向きがリファレンス ボード上のセンサと同じであることです。センサに一貫した参照フレームがない場合、融合ルーチンで非常に奇妙な動作が発生する可能性があります。幸いなことに、ボードが一致しない場合はコードで簡単に修正できます。HAL (ハードウェア抽象化コード) を探します。 Re: Magnetometer calibration is not always accurate <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ありがとう、マイク。 異なる MCU を搭載したカスタム ボードで開発しています。SO、センサー フュージョン ツールボックスの GUI を使用することはできません。 しかし、私はKL25Z/FXS-MULT1-RevCのGUI上でグラフを観察しました。 ありがとうございます クリソリン Re: Magnetometer calibration is not always accurate <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> クリソリン、 センサー フュージョン ツールボックスの「磁気」タブの表示はどのようになっていますか?こちらは、K64F/MULT2-B ボードの組み合わせでキャプチャしたものになります。 磁気バッファをクリアするには、「ファイル」->「リセット」を使用できます。次に、1 分ほどかけて、できるだけ多くの方向にボードを回転させます。実際にライブラリには 3 つの異なる磁気キャリブレーション オプションが組み込まれています。 4 要素ソルバーは、磁場の強度と硬鉄ベクトルを決定します。逆軟鉄マトリックスは単位マトリックスに設定されます。これは最も単純なソルバーであり、上記で見たものと一致しています。 7 要素ソルバーは、逆軟鉄マトリックスに非 1 の対角要素を追加します。 10 要素ソルバーは、逆軟鉄マトリックスに非対角の非ゼロ要素を追加します。 「磁気キャリブレーション」機能は、電源投入時に 4 要素ソルバーで開始されます。ある程度の適合が達成されると、7 要素ソルバーが試されます。7 要素の方が優れている場合は、それに切り替わります。次に、10 要素ソルバーを試します。 磁気的に完璧な環境では、上記の XY、YZ、ZX の図に円形のパターン (上記のような) が表示されるはずです。ハードアイアンオフセットは正常であり、予想通りです。デバイスに鉄系材料が含まれている場合は、上記の 1 つ以上の項目に省略記号が表示されます。「キャリブレーション済み表示」チェックボックスをクリックすると、アルゴリズムが生の測定値をキャリブレーション済みデータにマッピングする方法を確認できます。 多くの場合、この表示は「センサ」タブと組み合わせて使用すると、問題の診断に必要な情報を提供します。「Magnetics」タブは、新しい値が理想的な球にどのようにマッピングされるかをリアルタイムで確認できるので気に入っています。ボードを動かして何が起こるか見てみましょう。 そういえば、どんなボードを使っていますか? Mike Re: Magnetometer calibration is not always accurate <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 本当にありがとう、マイク。 熱条件に関しては、キャリブレーション直後、キャリブレーションが行われたのと同じ場所で、誤ったコンパスの方向が観察されます。つまり、熱環境は変化しなかったはずです。 鉄分の影響については、仕事机に東西南北を記して実験しています。同じ場所で、いくつかの調整を行った後、正しいコンパスの方向を取得しました。また、空きスペースで保持してみました。問題は依然として残っています。 ありがとうございます クリソリン Re: Magnetometer calibration is not always accurate <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> クリソリン、 すぐに部分的に回答し、残りの部分については同僚に相談します。 まず、アプリケーションの温度環境はどの程度制御されていますか?温度変化によりセンサの読み取り値が変化するため、質問します。継続的なキャリブレーションを行うと、その問題は解消されます。ただし、1 回限りの調整を行うため、その対象となります。 次に、テストを行っている環境は磁気的にどの程度クリーンですか?センサーに対して空間的に固定されていない鉄材料は、読み取り値を狂わせます。たとえば、オフィスでセンサを調整し、それを木製の机の上の特定の場所に置くと、読み取り値は変化します。その理由は、デスクトップと机の脚を接続する鉄製のブラケットがあるからです。センサをテーブル上でどちらかの方向に 6 インチ動かすと、正しい読み取り値が復元されます。ここでの問題はセンサやキャリブレーション設定ではなく、環境そのものにあります。実際、私たちのオフィスエリアには、ビルディング内の金属によって磁場が 90 度ずれる場所が 1 か所あります。昔ながらの機械式コンパスでも同じことが言えます。 環境自体に何か問題がない限り、キャリブレーション直後の測定値に 40% の誤差は見られません。私が標準的に行うテストは、センサーを持ち上げて、干渉のない自由な空間に保持することです。 観測された誤差が約 180 度対称であることは当然のことです。これは、硬鉄と軟鉄の歪みがどのように作用するかの結果です。それら(およびそれらを修正するアルゴリズム)は、本質的に対称的です。 よろしくお願いいたします。 Mike
View full article
pressure sensor MPXV7002 temperature range The pressure sensor MPXV7002 has following temperature ranges: operating: TA +10...+60°C Do may cause permanent damage if operating at -10°C...+9°C? [yes or no] I can accept in my project that the error will increase outside of the compensated temperature range (+10...+60°C), but I cannot accept that the sensor will be permanent damaged, as stated in the datasheet (Table 4. Maximum Ratings, note [1]). Thank you for your help. Re: pressure sensor MPXV7002 temperature range Dear Andrea, yes, you can use the MPXV7002DP outside of the compensated temperature range (TA +10...+60°C), from -30°C to 100°C without damage. But as you mentioned the error is increased outside of the compensated area and we cannot guarantee how much. With Best Regards, Jozef
View full article
SensorFusion 7.0 の方向ドリフトの問題 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 私は、9-DOF MEMS ナビゲーション デバイス ( InvenSense MPU-9250 、できれば NXP の部品を含む) を使用して、カスタム設計されたハードウェア、ソフトウェア、およびドライバでリアルタイムの方向を提供するアプリケーションを開発しています。すべてがカスタムであるため、SensorFusion 7.0 ライブラリを SDK で提供されるコア ルーチンにまで削減する必要がありました。さらに、初期化関数を直接呼び出し、ジャイロ、磁力計、加速度センサの 1 要素 FIFO にデータをロードする独自の関数を作成しました。 MPU-9250 の軸は、下の図のように定義されています。したがって、磁力計の軸を回転させて、ジャイロと加速度センサと同じにします。これは、Z 軸を反転し、X 軸と Y 軸を交換することによって行います。 また、単位が正しいことも確認しました (加速度は g、回転速度は度/秒、磁力計はマイクロテスラ)。整数と浮動小数点数の「単位あたりのカウント数」と「単位あたりのカウント数」の変換係数を適切に設定しました(少なくとも私はそう信じています)。 私はfRun_9DOF_GBY_KALMANアルゴリズムを 200 Hz で実行し、9 つの軸すべてに対して 200 Hz で新しいデータ/サンプルを 1 要素 FIFO にロードしています。デバイスを少し動かすと、 iFirstAccelMagLockフラグが 0 から 1 にスイッチすることがわかりました (これは良い兆候のようです)。 しかし、カルマンフィルタの様々な角度出力は、 fPhiPl; ///< ロール (度) fThePl; ///< ピッチ (度) fPsiPl; ///< ヨー (度) fRhoPl; ///< コンパス (度) fChiPl; ///< 垂直からの傾き (度) fDeltaPl; ///< カルマンフィルタからの事後傾斜角(度) 空間を漂っているように見え、デバイスの実際の回転には反応しません。 静止状態での長期平均を使用して、ジャイロの DC オフセットを測定してみました。それは約 0.5 度/秒なので、これを差し引いても、このドリフトと応答の欠如は解消されません。 したがって、SensorFusion 7.0 ライブラリの使用に関して次の質問があります。 ジャイロの回転方向を含む、9 つの自由度すべてについて、予想される入力軸と単位が正確に指定されている場所はどこですか?X、Y、Z 軸はジャイロ、磁気、加速度に対して一貫している必要があり、ジャイロの回転方向に対しては右手の法則が満たされる必要があると想定しています。しかし、もう一度言いますが、これはどこかに正確に文書化されているのでしょうか? アルゴリズムはジャイロ DC オフセット/ドリフトに対してどの程度敏感ですか?ハードウェアに合わせてこれを正確にゼロにする必要がありますか? メイン ループにキャリブレーション ルーチンが欠けているのでしょうか? SensorFusion (fRun_9DOF_GBY_KALMAN) は磁力計のキャリブレーションに対してどの程度敏感ですか?私の磁力計は 10 倍ずれているようですが、金属がたくさんある場所にあるため、磁場成分 (X、Y、Z) もずれているかどうかはわかりません。磁力計の読み取り値と磁場の歪みが最小限でなければ、アルゴリズムは適切に動作しないと考えられますか?コード内に硬鉄/軟鉄およびキャリブレーション ルーチンがいくつか含まれていたので、これらがキャリブレーションされていない磁力計の補正にどの程度役立つのか疑問に思っています。 iFirstAccelMagLock = 1 の場合、何を意味しますか?これは、SensorFusionが磁力計とジャイロデータが正しく連携して動作していると認識しているという意味でしょうか?それとも、ジャイロと磁力計のデータが何らかの理由で壊れていても、iFirstAccelMagLock = 1 になる可能性はあるのでしょうか?言い換えれば、この変数は正常な動作を示す指標としてどの程度信頼できるのでしょうか? 9-DOF デバイスを 200 Hz でサンプリングし、1 要素 FIFO を使用して 200 Hz でデータを SensorFusion にロードしています。私のサンプルのアナログ帯域幅は約 50 Hz または 100 Hz です (これを設定することができます)。SV_9DOF_GBY_KALMANの出力も200Hzで読み取っています。このアプローチに何か問題はありますか? これを適切に動作させるために、他に何かアドバイスはありますか? センサ・フュージョン Re: Problem with Drift in Orientation with SensorFusion 7.0 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ジョナサン、 通常、競争力のある部品のポートのサポートは提供していません (Invensense は NXP の競合です) が、いくつかの質問にお答えしたいと思います (他の方も追加の提案があれば歓迎します)。順番に: 1. ユーザー ガイドのセクション 5.3 では、ハードウェア抽象化の問題について説明します。 2. カルマン フィルタには、追跡する変数 (XY および Z) の 3 つとしてジャイロ オフセットが含まれます。デバイスが回転している限り、それらの推定値は継続的に更新されます。磁力計とジャイロの参照ベクトルは、デバイスが静止しているときに安定性を保つ必要があります。 3. 申し訳ございませんが、コードレビューは提供できません。 4. 適切な磁気校正が非常に重要です。これがないと、9 軸の良好な結果は期待できません。私たちが組み込んでいるルーチンは、一般に、センサに対して空間的に固定された硬鉄/軟鉄源の処理をかなりうまく行います。一般的な干渉を処理するためのコードもいくつか含まれていますが、それをどれだけうまく処理できるかには限界があります。 5. コードのコメントを確認すると、 iFirstAccelMagLock は初期化コードが一度だけ実行されるようにするためのブール変数であることがわかります。この値から全体的な健全性を推測しないでください。 6.MCU に十分な MIPS がある限り、あなたが概説したアプローチに問題はないと思います。 7. マニュアルを読みます。私はできる限り多くの「集合知」をそこに盛り込もうとしました。 よろしくお願いいたします。 Mike
View full article
LPC4337 Sensor Fusion Library The NXP Sensor Fusion Toolbox has the Flash LPCXpresso Binary -> OM13070 LPC4337 in the menu Is the source code of this version of the sensor fusion library available? SensorFusion Re: LPC4337 Sensor Fusion Library Hi Pavel, As part of ISSDK enablement for NPIs like RT10xx (RT1050, RT1060, RT1064, RT1020), our Sensors software team  signed up to provide sensor usage examples only as early enablement before their SDK launch. This is the reason that all MCU NPIs where ISSDK has been part of their MRD/PRD for early enablement, we provide ISSDK middleware support to deploy only sensor examples for a custom kit with FRDM-STBC-AGM01 (and not algorithm examples like sensor fusion and pedometer). Best regards, Tomas Re: LPC4337 Sensor Fusion Library Hi Tomas, Thank you, downloaded the LPC54114 AGM01 SDK and it has all the ISSDK and Sensor Fusion library files. I was also looking at the iMXRT1050 so I downloaded the iMXRT1050 with AGM01 SDK and it has the ISSDK and the sensor drivers but the \middleware\issdk\algorithms\sensorfusion\sources are missing from the SDK.  Is there a reason why the sensorfusion/sources are missing from the iMXRT1050 SDK? Thanks, Pavel Re: LPC4337 Sensor Fusion Library Hi Pavel, The binaries available as part of File -> Flash LPCXpresso Binary options in the NXP Sensor Fusion Toolbox were custom made for Sensor Fusion Toolbox v5 (older version) compatible with KSDK v1.2 using the Processor Expert module on Code Warrior toolchain (Kinetis SDK v1.2 is no more available). I do not have the source code or Code Warrior project for this binaries since latest Sensor Fusion Toolbox v7.x is integrated into ISSDK and is compatible with MCUXpresso SDK v2.5.0 (latest version). Even MCUXpresso SDK builder does not support the LPC families listed in the Sensor Fusion Toolbox File -> LPCXpresso Binary tab (i.e. LPC4337, LPC1549 and LPC11U68). The MCUXpresso SDK builder only supports LPC5xxxx and LPC8xxx series of MCUs: So I would recommend to use these LPC MCU families supported by MCUXpresso SDK latest version (since support model will be sustainable) and the ISSDK based Sensor Fusion examples we have for the following LPCXpresso boards: I hope it helps. Best regards, Tomas PS: If this answer helps to solve your question, please mark it as "Correct" or “Helpful”. Thank you.
View full article
NXP MPXV5050 Vacuum sensor support We have been working for a AUTOMOTIVE FILTER SENSOR project, based on MPXV5050 (NXP absolute vacuum sensor. We've deveoped our customized board using NXP MCU S9S08 Series. We have matched all the functional points required for reading pressure/ vacuum via MCU ADC & convert it to digital value. During our testing we set point as 3.276 V corresponding to 405mBar Since boards were meeting all required o/p parameters in testing conditions without potting in housing/ enclosure, Later after QC testing as OK, We Potted it with Hard-Epoxy component. After potting, we found the Reference has shifted by 30mBar. What could be the reason, Please help us with suggestions/ remedies / precautions to be taken care. Meanwhile, can you kindly connect me with any NXP PRESSURE/ VACUUM Sensor experts to Resolve the issue. Re: NXP MPXV5050 Vacuum sensor support Is there some sensor that may  I use directly with water? Re: NXP MPXV5050 Vacuum sensor support Hello Mahesh, My apologies for the delayed response. Please note that for all NXP standard pressure sensor products, any environment other than dry air, will have some impact on the reliability and lifetime of the product. NXP's silicon pressure sensors are NOT compatible with oil, gas, petrol and water or water vapors, or chemicals. A determination must be made if this impact is acceptable for the application. That means that you cannot use our pressure sensors in such applications in which the sensor may be in direct contact with diesel.  After some working hours, maybe days the device would fail. I would like refer to the following application notes that would be worth to be considered in addition to the provided information and solutions: AN3728 - Media Compatibility for IPS PRT Pressure Sensors AN1516 - Liquid Level Control Using a Pressure Sensor AN1950 - Water Level Monitoring In regard with the soldering and mounting techniques about the axial port, other than the information on the datasheet, we only have the material composition declaration report of this device that you can find on the following link: MPXV5050VC6T1 - MCD Report The AN1984  about how to handle NXP Pressure Sensors may be useful for you: I hope this information will be useful for you. If I misunderstood your question, feel free to let me know.  I will be glad to help. Have a great day. David Diaz. Re: NXP MPXV5050 Vacuum sensor support Hi David, Thanks for your support on Vacuum sensors, Meanwhile there are 2 more queries. 1. After inserting the FULLY-MOUNTED PCB in housing ... during field trial with Vehicle sensor P1 side of housing comes in contact with DIESEL...     Kindly let us know what would be the consequence/ effect on MPXV5050 Vacuum sensors. 2. Can we have specific mounting and soldering information on single port, Axial, type of sensor package. The part number is MPXV5050VC6T1. Your App notes, shared earlier, do not talk about this package. Kindly guide Regards Mahesh.V.S. Re: NXP MPXV5050 Vacuum sensor support Hi David, Thanks for your response. Customer would like to have specific mounting and soldering information on single port, Axial, type of sensor package. The part number is MPXV5050VC6T1. Your App notes, shared earlier, do not talk about this package. Thanks in Advance. Mahesh.V.S. Re: NXP MPXV5050 Vacuum sensor support Hello Rajiv, The MP3V5050VC6U is a Gauge pressure sensor, which means that, it measures the difference between the absolute pressure and the Local atmospheric pressure. P2 port is intended to be left open to the atmosphere. I strongly do not recommend covering the small hole. Have you considered using an Absolute pressure sensor? The typical voltage supply of almost all our absolute pressure sensors is 5V. Unfortunately, that range of pressure is not available. In regard with the assembly guidelines, I would like to recommend the following documents that describes several mounting techniques, offers lead forming recommendations, soldering recommendations, and suggests means of testing the MPX series of pressure sensors: 1. Mounting Techniques, lead forming, and testing of the MPX Series pressure sensors 2. Soldering Recommendations for Pressure Sensor Devices I hope this information will be useful for you. If I misunderstood your question, feel free to let me know.  I will be glad to help. Have a great day. David Diaz. PS: If my answer helps to solve your question, please mark it as "Correct". Thank you. Re: NXP MPXV5050 Vacuum sensor support Hi David two more question: 3. Is there a 5 Volt Vacuum sensor with -50 to 0 Kpa range, the current one we are using is 3.3V 4. Do you have any assembly guidelines App note for pressure sensors? Regards, Rajiv Bandodkar. Re: NXP MPXV5050 Vacuum sensor support Hi David, 1. In our application we have selected MP3V5050VC6U, and the single port is connected to the diesel filter, there will not be the occasion to reference it to atmospheric pressure. So what is the solution. 2. The P2 hole in the sensor: should it be open to atmosphere? if yes, How about contamination with dust, water, etc Regards, Rajiv Bandodkar. Re: NXP MPXV5050 Vacuum sensor support Hello Mahesh, I assume the pressure on-box after the potting compound is affecting on the pressure sensor because it is pressing down the sensor package affecting its measures and creating this offset.The temperature could be another factor. In this case, I recommend Implementing Auto-Zero for Integrated Pressure Sensors. Auto-zero is a compensation technique based on sampling the offset of the sensor at reference pressure (atmospheric pressure is a zero reference for a gauge measurement) in order to correct the sensor output for long-term offset drift or variation. I hope this information will be useful for you. If I misunderstood your question, feel free to let me know.  I will be glad to help. Have a great day. David Diaz. PS: If my answer helps to solve your question, please mark it as "Correct". Thank you.
View full article
在 KL26Z 上正确配置传感器融合项目 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好   我正试图使用传感器融合库在 Freedom KL26Z 上开发一个项目。   我访问了这个页面传感器融合|自由刻度 下载并安装传感器融合库 然后将项目正确导入 CodeWarrior。到目前为止,我觉得还不错   然后,我尝试进行第一次编译,但立即出现错误: 说明 相关资源 通路 位置 类型 mqxlite.h:没有此类文件或目录 mqxlite.h:无此文件或目录 MQX1.h /FSFK_KL26Z/Generated_Code 第 69 行 C/C++ 问题   哼哼在成功编译之前,是否需要运行一些代码生成?   我希望有人能在一开始帮我一把。   此外,通过查看代码,我在 GeneratedCode/MQX1.h 中发现了以下内容:   #include"PE_Const.h" #include"IO_Map.h" /* 包括继承的元器件 */ #include"SystemTimer1.h" #include"task_template_list.h" /* MQX Lite 包含文件 */ #include"mqxlite.h" #include"mqxlite_prv.h"   /* MQX Lite 源文件的路径 */ #define MQX_PATH"C:/Freescale/CW MCU v10.6/MCU/ProcessorExpert/lib/mqxlite/V1.1.1/" void SystemTimer1_OnCounterRestart(LDD_TUserData *UserDataPtr);     为什么会有绝对路径?此外,我的电脑上也没有任何指向......:     如果我没理解错的话,这个文件是在我下载并安装传感器融合库时自动生成的。这意味着,如果我想使用版本管理工具(如 github.com)开源这个项目,请纠正我的错误、这个绝对路径对每个人都是一样的。但是,如果其他贡献者将库安装在与我的电脑不同的路径上,代码将无法编译。这非常不方便携带,如果有人能解释一下其中的原因,我将不胜感激。   感谢您的帮助   信息编辑者: Remi BegesRemi Beges 传感器融合 Re: Configuring properly sensor fusion project on KL26Z <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 谢谢您的回答,好吧,那我就改用 KDS。谢谢大家的帮助,我真的很感激。 Re: Configuring properly sensor fusion project on KL26Z <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 融合库中的某些算法确实需要超过 64KB 的闪存。 而且默认版本肯定超过了这些限制。打开 docs/XSFLK_DS.pdf(数据表),查看表 15 至表 17。 虽然我个人更喜欢 CodeWarrior,但它已被弃用,转而使用 KDS,它是 100% 免费的,没有代码大小的限制。 Mike Re: Configuring properly sensor fusion project on KL26Z <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,雷米、 我开始想让你多试几次,直到更新安装完毕(有时会出现一些错误,但重试几次后更新就会正确安装),幸运的是,你已经试过了。 关于代码大小,我没有这方面的信息,但您可以启用 codewarrior 打印代码大小。 您可以查看这篇文章:如何在 codewarrior V10.3 中检查代码大小和内存使用情况 或者直接访问这个:使用 gcc for arm/Kinetis 的代码大小信息 | Ecli pse 上的 MCU 希望能帮到您 顺祝商祺! 艾萨克-阿维拉 Re: Configuring properly sensor fusion project on KL26Z <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好 Isaac 我试过更新所有软件包,但我遇到了几个错误 有些站点无法找到。 详情请查看错误日志。 jar:file:C:%5CUsers%5CB48923%5CDownloads%5CCW%20for%20MCU%2010.6%5Ccom.freescale.mcu10_6.kinetis.updatesite.zip!/. jar:file:C:%5CUsers%5CB48923%5CDownloads%5CCW%20for%20MCU%2010.6%5Ccom.freescale.mcu10_6.e200.updatesite.zip!/. jar:file:C:%5CUsers%5CB48923%5CDownloads%5CCW%20for%20MCU%2010.6%5Ccom.freescale.mcu10_6.coldfire.updatesite.zip!/. 在收集要安装的项目时发生错误 会话上下文是:(profile=PlatformProfile,phase=org.eclipse.equinox.internal.p2.engine.pases.Collect,operand=,action=)。 无法读取 http://freescale.com/lgfiles/updates/Eclipse/MCU10_6/com.freescale.mcu.updatesite/plugins/com.freescale.mcu.projectwizard_1.4.11.FSL_b06012.jar. 分块流意外结束 无法读取 http://freescale.com/lgfiles/updates/Eclipse/MCU10_6/com.freescale.mcu.updatesite/binary/com.freescale.mqx.v4.1_root_1.4.1.201504301310. 分块流意外结束 大多数软件包都没有更新,因为当我重新运行更新工具时,我仍然建议使用相同的软件包。 仍然没有 1.1.1mqxlite 文件夹 知道是什么原因造成的吗? 编辑:我还尝试手动更新 MQX lite。我从这里下载了驱动程序(Freescale MQX™ Lite Real-Time Operating|Freescale),但安装后仍然没有 1.1.1 版本。资料夹 编辑 2:我再次尝试更新,这次成功了(尽管我仍然遇到"no repository found" 错误)。也许是运气不好,我第一次试的时候服务器宕机了,但不管怎样,我现在有 1.1.1 版了。版本 所以现在我可以启动调试了。但新问题 我有 CodeWarrior 特别版,但限制至少为 64kB。传感器融合库占用的空间比这更大吗? Re: Configuring properly sensor fusion project on KL26Z <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 上述答复是正确的。 你需要使用 MQXLite 1.1.1 来完成构建,如果你安装了所有 CodeWarrior 更新,你应该会得到这个版本。 你说的绝对路径是错误的:smileyblush:所讨论的路径是安装这些 CodeWarrior 更新时工具设置 MqxLite 的默认路径。 处理器专家代码生成包含在用户指南"入门" 部分。 仅供参考,Source/*.h和 *.c 文件也可从 MIG GitHub 网站获取,网址是Home - memsindustrygroup/Open-Source-Sensor-Fusion Wiki - GitHub。 此致, Mike Re: Configuring properly sensor fusion project on KL26Z <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,雷米 实际上,处理器专家库有 V1.1.1 版本(如下所示),但你需要在 CodeWarrior 中更新一些软件包(我不记得到底是哪个软件包了)。 我认为传感器融合库是在假设已经安装了处理器专家的上一次更新的情况下制作的。 你能试试安装 CodeWarrior 的所有软件包吗? 你可以在 CodeWarrio 的 “帮助” 选项卡上进行此操作,然后选择 “检查更新”。 希望能帮到你。 顺祝商祺! 伊萨克 ----------------------------------------------------------------------------------------------------------------------- 注:如果本帖回答了您的问题,请点击 "正确答案 "按钮。谢谢! ----------------------------------------------------------------------------------------------------------------------- Re: Configuring properly sensor fusion project on KL26Z <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我已经找到了解决办法。首先,在 “组件” 选项卡中,我手动将 MqxLite 版本从 1.1.1 更改为 1.1.0。这样就消除了警告("MQXlite version not found, ..." ),然后右击树状视图中的 ProcessorExpert,点击生成处理器专家代码。之后,编译代码就能正常工作了。 因此,确实需要生成一些代码,但文档中并没有明确说明。现在,我的主要问题是解决了,但我想知道为什么 MQX1.h 中指定的路径是错误的,我想处理器专家会适当地生成代码。如果您有任何相关信息,我将不胜感激。致敬 Re: Configuring properly sensor fusion project on KL26Z <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,爱丽丝,我已经按照本指南设置了项目。在提示我应该可以运行程序的步骤中,我遇到了错误。请告诉我可以提供哪些信息来寻求帮助,因为我完全被卡在这里了。 Re: Configuring properly sensor fusion project on KL26Z <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,雷米 安装传感器融合库后,请参阅"Freescale Sensor Fusion for Kinetis 产品开发套件用户指南" 、 它在目录下:...docs\XSFLK_UG.pdf 参考后,在版本时如果仍然出现错误,请与我联系! 希望对您有帮助! 祝您愉快, Alice ----------------------------------------------------------------------------------------------------------------------- 注:如果本帖回答了您的问题,请点击正确答案按钮。Thank you! -----------------------------------------------------------------------------------------------------------------------
View full article
Xtrinsic pressure sensor / altimeter The relativelly new high-precision pressure sensor for altitude detection designed to help users further leverage advanced navigation capabilities and emerging location-based services such as GPS assist and e911. The Freescale Xtrinsic MPL3115A2 pressure sensor, based on micro-electromechanical systems (MEMS) technology, complements the accelerometers and magnetometers in the Xtrinsic portfolio to meet the growing demand for these types of components in smart mobile devices. The Xtrinsic MPL3115A2 smart digital pressure sensor processes pressure and temperature data locally, requiring fewer computations assigned to the applications processor and thereby reducing power significantly compared to systems using basic sensors directly managed by the host processor. The pressure sensor features optimal efficiency with a FIFO (first-in/first-out) memory buffer, a standby mode of 2 micro amps and a low-power mode of 8.5 micro amps for current consumption savings depending on conditions of the processor and output data rates chosen. The Xtrinsic MPL3115A2 pressure sensor is designed to address the increasing popularity of mobile location-based services used in sophisticated handsets by delivering 30 cm resolution, which enables the device to identify elevation at a granular level. For example, a phone could detect the exact floor a user is on within a high-rise building or a shopping mall, allowing location-based services to more accurately reflect immediate surroundings. Beyond the smart mobile device market, the Xtrinsic MPL3115A2 pressure sensor has many other potential applications, including tracking assets in business and industrial settings, providing precise locations in emergency search and rescue missions, forecasting climate changes in desktop weather stations and monitoring home cooling and heating systems. In addition, the sensor is ideal for medical applications, including respiratory equipment and health monitoring and detection systems that can help identify the location of patients within their homes or other environments. About the Xtrinsic MPL3115A2 pressure sensor Freescale’s Xtrinsic MPL3115A2 pressure sensor offers advanced accuracy and sampling rates combined with low power consumption to increase performance. The device provides barometric and altimetry pressure detection up to 30 cm of resolution and delivers a digital output in either meters or pascals, based on user preference. The MPL3115A2 sensor also includes embedded functions and user-programmable options, such as temperature compensation, with variable sampling rates up to 128 Hz. Smart features include autonomous data acquisition with two interruptions on thresholds detection. To enhance efficiency, the device regulates auto-wake and sleep modes (to avoid unnecessary use of power) and requires zero data processing for mobile devices and medical and security applications. Freescale has a history of providing long-term production support for its products. The MPL3115A2 device is part of the Freescale Product Longevity program, with a minimum of 15 years of expected supply. See www.freescale.com/productlongevity for details, terms and conditions. Availability, price and development support Sample quantities of the Xtrinsic MPL3115A2 pressure sensor are available now from Freescale. Production quantities and samples are already available from Freescale and its distribution partners starting at a suggested resale price of $1.43 (USD) in 10,000-piece quantities. The Freescale Sensor Toolbox offers hardware, software and accessories in a common platform for acceleration, magnetic, pressure and touch sensors. In addition, the DEMOSTBMPL3115A2 includes the Xtrinsic MPL3115A2 pressure sensor development board and a USB board for a suggested resale price of $99 (USD). Electrical specs for the MPL3115A2  pressure sensor include: Pressure Range: Calibrated: 50 kPa to 110 kPa Operational: 20 kPa to 110 kPa Equivalent Altitude Range: Calibrated: 5574.4m down to -698.3m Operational: 11774.9m down to -698.3m Temperature Range:  -40C to 85C Numerical Output Ranges: Pressure: -131072 to +131071.75 Pa Altitude: -32768m to 32767.9375m Temperature: -128C to 127.9375C Supply Voltage: 1.95V to 3.6V core 1.6V to 3.6V I/O Supply Current at 1 Hz update rate: 8.5 microamps (no oversampling) 265 microamps (128X oversampling) Standby Current: 2 microamps 400 kHz I 2 C digital interface Resolution: 20 bit output field implies (2 X 131072 Pa / 2 20 bits) = 0.25 Pa/LSB Noise: 1.5 Pa RMS at 128X oversample rate You may be wondering how the MPL3115A2 generates altitude estimates. It’s actually simple math: Altitude = K1 X (1 – (P/P0) K2 ) meters, where K1 = 44300.77 meters K2 = 0.190263 (unitless) P0 = 101325 Pascals http://www.engineeringtv.com/video/Freescale-Xtrinsic-MPL3115A2-Sm;Engineering-TV-Embedded-Videos
View full article
欢迎 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 用于 Kinetis MCU 的 Freescale 传感器融合库可从以下网址获取 http://www.freescale.com/sensorfusion. 这个社区空间为该库的用户和开发人员提供了一个集中的场所,使他们能够聚在一起解决问题、分享见解并了解有关传感器融合主题的更多信息。 我负责管理创建融合库的团队。 我们认为我们有一些特别的东西,并期待与您分享。 迈克尔-斯坦利 飞思卡尔传感器解决方案部 传感器融合
View full article
X/Y/Z 変換 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 私は、Windows と Android の両方でセンサー フュージョン ツールボックスを実行し、FRDM-FXS-MULT2-B を使用して FRDM-KL25Z (FRDM-K22F も持っていますが、適切なファームウェアが用意されていないようです) に接続しています。方向表示は非常にうまく機能します。しかし、私が本当に知りたいのは、翻訳を表示できるかどうかです。ボードが回転しながら左右または上下に動く様子をどれだけ正確に表示できるかを見てみたいと思います。   ディスプレイに線形加速が利用できることがわかります。並進運動を得るにはそれを統合する必要があるのでしょうか?   ありがとうございます   Scott センサ・フュージョン Re: X/Y/Z translation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> スコット、 K22F はツールボックスで確実に機能します。ツールボックスがバイナリを見つけられなかった理由はわかりません。[email protected]までメールをいただければ、.binで返信します必要なもの。これは、KDS でプロジェクトをコンパイルして得られたものと同じになるはずです。 実際のところ、Bluetooth は有線シリアル/USB よりも信頼性が高く動作すると思いますが、適切な Bluetooth ドライバがインストールされており、事前に「デバイスとプリンター」ページでデバイスとペアリングされている必要があります。 Mike Re: X/Y/Z translation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 私の弟子は、メカトロニクスの経験があり(そして私よりもずっと最近まで学校に通っていました)、この 2 つを提案してくれました。私の元彼は剛体力学を教える大学教授なので、おそらくそこからも何かアドバイスをもらえると思います。前回、私が彼女にかなり簡単な問題だと思っていたものを出したら、それは学生の修士論文になってしまった。 これまでは FRDM-KL25Z を使用してきましたが、これは FRDM-K22F (意図されたプラットフォームに非常に近い) では動作させることができなかったためです。Kinetis インターフェース ツールでは、使用可能なファームウェア リストに AGM01 - FRDM_K22F が表示されますが、ロードしようとすると「指定されたファームウェア パスにファイルがありません」というメッセージが表示されます。FSFK_K22F プロジェクトをコンパイルして KDS からロードすることはできましたが、詳しく調べていないため、それがセンサ ツールボックスで動作するかどうかはわかりません。 私はこれを Bluetooth 経由で Android デバイスに接続することしかできませんでした (3 つの異なる BT インターフェースを試したにもかかわらず、これはおそらく Windows のせいです)。また、これを Bluetooth 無線で動作するようにハッキングするのは、手間がかかる上に価値がないように思えます。K22F コードを実行できれば、それを大容量ストレージへの書き込みに適応できるかどうかを確認します。最悪の場合…動作する FRDM-KL25Z と大量のダクトテープがあります。 ありがとうございます Scott Re: X/Y/Z translation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> スコット、 融合アルゴリズムは、デバイスの向きを可能な限り正確に推定できるように最適化されています。それができれば、測定された加速度から計算された重力を差し引くのは簡単です。ツールボックスには両方のプロットがあります。センサの読み取り値は「センサ」タブにプロットされ、線形加速度は「ダイナミクス」タブに表示されます。ログ ファイルのポストプロセスに使用できる無料の Matlab クローンが Web 上に多数あります。Scilab と GNU Octive が思い浮かびます。 よろしくお願いいたします。 Mike Re: X/Y/Z translation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> すでに Bluetooth 経由で (融合アルゴリズムなしで) いくつかのキャプチャを実行しましたが、おそらくそれを再検討する必要があるでしょう。センサ フュージョン グラフに表示される線形加速度の読み取り値に遠心力の要素が含まれているのか、それともジャイロ データを使用するアルゴリズムによってその要素が除去されているのか教えてください。そのためにはフープの半径を知る必要があるようですが、融合アルゴリズムの基礎となる数学をあまりよく理解していません。 アイソレータと呼ばれる基本的なオフボディムーブでは、フープは垂直で中心は固定され、フープは回転します。単一のジャイロ軸でこれを見事に捉えます。アイソポップは同様の動きですが、回転中のある時点で、フープの中心がフープの平面内でフープの直径 1 つ分直線上を移動し、同じ直線上に戻ります。センサ融合アルゴリズムが定常回転から遠心力の部分をキャンセルできれば、このような動きを捉えるのは簡単そうです。多くの動きには、一定の回転要素と、ある軸での素早い移動と戻りが含まれます。フープの計算された位置がゆっくりとドリフトすることは大きな懸念事項ではなく、フープ ダンサーはとにかく動き回る傾向があります。私が懸念しているのは、ハイポサイクロイド運動です。 動きは次のようになります:ハイポサイクロイド半径に 200、130、130 と入力して開始をクリックすると、私が何を言っているのかがわかります。フープが回転するたびに、センサの動きが複数のポイントで一時的に停止するようです。フラフープの運動に関する学術論文は数多くあるが、それらは酔っ払った数学者が学部の休日パーティーのジョークとして書いたものがほとんどだという気がする。 約 2 年前の初期デザインの時点では、Bosch の部品が唯一の 9 軸センサーでした。フリースケールは1年以内にリリースされると予想していました。あれはキャンセルされたんでしょうか?私の最初のプロトタイプでは、FXOS8700 と Bosch BMG160 を使用しました。ボードのスペースは限られています (幅 < 5/8 インチ、将来のバージョンでは < 1/2 インチ) ので、コンポーネントの数を少なくするようにしています。当社独自の SMT ラインは、一部の小さな DFN または QFN 部品にはほとんど対応しておらず、CM がこれらのボードのほとんどを処理しても、検査と再作業は面倒です。また、フープではボードのたわみを避けるのが難しく、隠れたリード部分が問題になることがあります。それを軽減するために、BMX055 はボードの取り付けポイントから遠い端に配置されています。 MEMS ジャイロと加速度センサの構造に関する妥協点について知っておいてよかったです。既存のセンサーは、フープが使用されていない状態を判定してスリープ状態にしたり、LED に動きに反応するパターンを作成したりするのに十分です。磁力計は、単純なオドメータータイプの測定(ゼロ交差を数えるだけで回転数を数えることができる)が可能なので、保持しておく価値があると思います。また、これはコストにあまり敏感なボードではありません。センサのリテール価格の割合は 2% 未満です。120 MHz の K22F と、最低 32 MB の外部フラッシュを搭載しており、電力予算への影響は最小限です。そこに詰め込めるセンサで、将来役に立つ可能性があるものがあれば、検討する価値があります。コスト効率の良い方法を見つけることができれば、円周全体に静電容量式タッチセンサを配置するでしょう。 センサ フュージョン ツールボックスには変換が表示されないので、変換を表示できる比較的シンプルなシミュレーション フレームワークを提案していただけますか?Simulink はおそらくこのプロジェクトの予算を少し超えています。 ありがとうございます Scott Re: X/Y/Z translation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> スコット、 フラフープ上の静止点の動きが時間の経過とともにどのように見えるかはわかりません。(センサーの観点から)ほぼ一定の加速度がないことを確認するために、フープを何回か回転させて加速度値をグラフ化する必要があると思います。それらはアルゴリズムに大混乱を引き起こす可能性があります。 はい、どのベンダーのセンサでもアルゴリズムをご利用いただけます。ドライバを交換する必要があり、NXP のサポートは (当然ですが) NXP センサの使用に限定されます。NXP には 9 軸センサがありません。このアプリケーションではおそらくマガジンは必要ありません。MMA8652 アクセルと FXAS21002 ジャイロをお勧めします。 あなたが言及したデバイスについては、どちらともコメントできません。統合デバイスでどのようなデザイン上のトレードオフが行われたかに応じて、独立したジャイロを使用すると統合デバイスよりも優れたパフォーマンスが得られる場合があることはわかっています。ジャイロは、MEMS 用の真空空洞を持つことを好みます。ガスは MEMS の質量の動きを弱め、ジャイロの Q 係数 (電力効率を考えてください) を低下させる可能性があるためです。逆に言えば、消費者アクセルは通常は避難されません。過剰減衰応答曲線を実現するには、加速用のガス減衰が望ましい。オプションを評価する際に考慮すべき事項です。 よろしくお願いいたします。 Mike Re: X/Y/Z translation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 迅速で有益なご返答をありがとうございます!これ以上ご迷惑をおかけする前に、私がどのようなアプリケーションを使っているかをお話しします。試してみること自体が無謀かどうか、私に教えてください。ボードはフラフープの中にあるため、主にハイポサイクロイド経路に沿って動きます。遠心力は約 6 G になります。直線加速についてはよく分かりませんが、一般的な動きにはさまざまな種類があり、かなり直線的なものもあれば、ほとんどが回転的なものもあります。方向検知によってできることはたくさんありますが、多少のずれがあっても直線移動を計算できれば本当に便利です。フープはフーパーから遠く離れることはないが、色々なことが起こっている また、このライブラリは他のブランドのセンサでも動作すると思いますか?既存のすべてのデバイスには Bosch BMX055 を使用しています。Freescale が 9 軸センサを開発中だと思っていたのですが、今のところ見つかりません。BMX055 の代替となる Freescale 製品は存在しますか? また、センサ フュージョン ライブラリで動作しますか? ありがとうございます Scott Re: X/Y/Z translation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> スコット、 K22F 用のビルドは利用可能ですが、KDS のみです。標準ビルドで試してみたい場合は、Sensor Fusion Toolbox からボードをフラッシュすることもできます。 加速度の二重積分は、センサ内のノイズやオフセットも二重積分されてすぐに爆発してしまうことに気づくまでは、素晴らしいように思えます。2 つのうち、ボードマウント後のオフセットがおそらく最も大きな原因です。ツールボックス内のアルゴリズムは、ジャイロのオフセットとドリフトを修正しますが、加速度センサは修正しません。結果が期待外れになることが分かっているため、公開バージョンの Fusion ツールボックスには位置チャートを含めていません。 開発中の次のバージョンでは、信号がカルマン フィルターに送られる前に加速度センサのオフセット/回転を大幅に改善する、加速度センサの 1 回限りのキャリブレーションを実行できるルーチンを組み込む予定です。その時点で、ポジショニング/ナビゲーション支援アプリケーションに適したソリューションが得られます。Mark (主要な開発者であり、Fusion ライブラリの私の相棒) は、Q1 後半に新しいバージョンをリリースする予定だと考えています。製品のタイムラインをより早くする必要がある場合は、 [email protected]までメールをお送りください。オプションについてご相談させていただきます。 よろしくお願いいたします。 Mike
View full article
X/Y/Z 移位 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我在 Windows 和 Android 上都运行了传感器融合工具箱,并将其连接到 FRDM-KL25Z(我还有一个 FRDM-K22F,但似乎没有相应的固件)和 FRDM-FXS-MULT2-B。 方向显示效果相当不错。 不过,我真正想知道的是,是否有可能显示翻译。 我想看看它能多准确地显示板在旋转时左右移动或上下移动。   我看到显示屏上有线性加速度。 我是否只需要整合它来推动翻译运动?   谢谢!   Scott 传感器融合 Re: X/Y/Z translation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 斯科特 K22F 绝对可以与工具箱配合使用。 我不确定为什么工具箱无法为你找到二进制文件。请给我发送电子邮件:[email protected]、我将用 .bin 来回复您需要 这应该等同于在 KDS 下编译项目时得到的结果。 实际上,我发现蓝牙对我来说比有线串行/USB 更可靠,但是你必须安装相应的蓝牙驱动程序,并且必须事先在 " 设备和打印机 " 页面中与设备配对。 Mike Re: X/Y/Z translation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我在这里的门徒有一些机电一体化方面的经验(而且比我最近上的学要多得多),他也刚刚提出了这两个建议。 我的前男友是一位教授刚体动力学的大学教授,所以我也可以从他那里获得一些信息。上次我给她出了一个我认为相当简单的问题,结果却变成了一个学生的硕士论文。 笑一笑 到目前为止,我一直在使用 FRDM-KL25Z,因为我无法让它与 FRDM-K22F(更接近预定平台)一起工作。 Kinetis 接口工具在可用固件列表中显示了 AGM01 - FRDM_K22F,但当我尝试加载时,它却显示"指定固件路径下没有文件" 。 我确实从 KDS 中编译并加载了 FSFK_K22F 项目,但我还没有仔细研究过它,也不清楚它是否应该与传感器工具箱配合使用。 我只能通过蓝牙让它在安卓设备上运行(尽管尝试了3种不同的英国电信接口,但这可能是Windows的错),而为了与蓝牙无线电一起使用而对其进行黑客攻击似乎麻烦多于其价值。如果我能运行 K22F 代码,我将看看能否将其调整为写入大容量存储器。 最坏的情况是......我们有一个能用的 FRDM-KL25Z 和一堆胶带。 谢谢! Scott Re: X/Y/Z translation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 斯科特 融合算法经过优化,可以尽可能最佳地估计设备方向。一旦有了这些,就可以从测出的加速度中减去计算出的重力。 工具箱里有这两种绘图。 传感器读数绘制在 " 传感器 " 选项卡上,线性加速度绘制在 " Dynamics " 选项卡上。网上有许多免费的 Matlab 克隆,您可以用它们对日志文件进行后处理。 我想到了 Scilab 和 GNU Octive。 此致, Mike Re: X/Y/Z translation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我已经通过蓝牙(没有融合算法)进行了一些捕获,我可能需要重新审视一下。你能告诉我我在传感器融合图中看到的线性加速度读数是否包含离心分量,还是使用陀螺数据的算法删除了离心分量?看起来它需要知道箍的半径,但我对融合算法的基本数学知识掌握得不是很好。 一个被称为 "隔离 "的基本离体动作是让吊环垂直,中心固定,同时吊环旋转。 单个陀螺轴在捕获这一点方面做得很漂亮。iso pop 也是类似的动作,但在旋转的某个点上,圈子的中心会在圈子的平面上以直线平移一个圈的直径,然后在同一条线上返回。如果传感器融合算法能够抵消稳定旋转中的离心部分,那么这种动作似乎很容易被捕获。许多动作都涉及恒定旋转元器件以及在某个轴上的快速偏移和返回。吊环计算位置的缓慢漂移不应该是一个主要问题,反正吊环舞者往往会四处走动。 我担心的是下环运动。 运动应该是这样的Hypocycloid半径分别输入 200、130 和 130,然后点击开始,你就会明白我在说什么了。看起来,传感器的运动在每次旋转时都会在多个点短暂停滞。 有不少关于呼啦圈运动的学术论文,但我感觉这些论文大多是喝醉酒的数学家们写给系里节日聚会的插科打诨之作。 大约两年前进行最初设计时,博世部件是唯一可用的 9 轴传感器。飞思卡尔预计在一年内推出一款。 我猜那部电影被取消了? 我的第一批原型机使用的是 FXOS8700 和博世 BMG160。 板空间有限(< 5/8 " 宽,未来版本为 < 1/2 ")所以我想缩短元器件倒计时。我们自己的 SMT 生产线几乎不足以容纳一些微型 DFN 或 QFN 部件,即使 CM 负责大部分的板,检查和返工也很痛苦。此外,板弯曲在圈内很难避免,隐藏的铅部分可能会造成麻烦。BMX055 位于板的连接点的尽头,试图减少这种情况。 很高兴知道 MEMS 陀螺仪和加速度计结构的折衷方案。 现有的传感器已经足够好用,比如确定吊环何时不用,可以进入休眠状态,以及在 LED 中创建运动反应模式。 我认为磁力计值得保留,因为它可以进行简单的里程表式测量--你可以通过计算零点交叉来计算转数。 而且,这不是一个对成本非常敏感的板。传感器占零售价的比例不到 2% 。 它有 120 MHz 的 K22F 和至少 32 MB 的外部闪存可供使用,对功耗预算的影响微乎其微。任何传感器,只要有可能派上用场,都值得考虑。 如果能找到一种经济有效的方法,我想在周身都安装电容式触摸传感器。 既然传感器融合工具箱没有显示翻译功能,您能否建议任何合理简单的仿真框架? Simulink 可能超出了我们这个项目的预算。 谢谢! Scott Re: X/Y/Z translation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 斯科特 我不确定呼啦圈上的静止点随着时间的推移会发生怎样的运动。 我认为您需要绘制出吊环多次旋转时的加速度值,以确保(从传感器的角度来看)不会出现一些近乎恒定的加速度。 这些都会对算法造成破坏。 是的,我们欢迎您将算法用于任何供应商的传感器。 您需要更换驱动程序,而且恩智浦的支持(当然)仅限于使用恩智浦传感器。 恩智浦没有 9 轴传感器。这种应用可能不需要弹匣。 我推荐使用 MMA8652 加速器和 FXAS21002 陀螺仪。 我无法在你提到的设备上用这种或那种方式发表评论。我确实知道,使用单独的陀螺仪有时可以产生比集成设备更好的性能,具体取决于该集成设备在设计上进行了哪些权衡或没有做过哪些设计权衡。陀螺仪喜欢为 MEMS 安装抽真空腔体,因为气体会抑制 MEMS 质量的运动,从而降低陀螺仪的 Q 系数(即功率效率)。 与此相反,消费者口腔溃疡通常不会被排空。 为实现过阻尼响应曲线,最好为加速装置提供气体阻尼。 这是您在评估各种选择时需要考虑的问题。 此致, Mike Re: X/Y/Z translation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 感谢您快速、翔实的回复! 在给你添麻烦之前,我先告诉你我的申请是什么,你可以告诉我这样做是不是疯了。 板在呼啦圈里,所以它主要沿着我猜是下摆线的路径移动。离心力可达 6 Gs 左右。 不清楚线性加速度,但常见的动作种类繁多,有些是相当线性的,有些则主要是旋转的。 方向感应可以让我做很多有用的事情,但计算线性移动,即使有一些漂移,也会非常方便。 吊环通常不会离吊环手太远,但可能会发生很多事情 此外,我相信该库还能与其他品牌的传感器一起使用,对吗? 我们在所有现有设备中都使用博世 BMX055。我以为飞思卡尔正在开发一款 9 轴传感器,但现在找不到了。 除了 BMX055 之外,飞思卡尔还有其他产品吗? 谢谢! Scott Re: X/Y/Z translation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 斯科特 K22F 有一个版本可用,但只能在 KDS 下使用。如果你只想玩标准版本,也可以刷新 Sensor Fusion Toolbox 中的板。 加速度的双重积分听起来很不错,直到你意识到传感器中的任何噪音和/或偏移也会被双重积分,并很快爆炸。 在这两者中,板后安装偏移可能是最严重的罪魁祸首。工具箱中的算法可以纠正陀螺仪偏移和漂移,但不能纠正加速度计偏移和漂移。 我们没有在已发布的融合工具箱版本中加入位置图,因为我们知道结果会多么令人失望。 在正在开发的下一个版本中,我们计划加入一些例程,让您可以对加速度计进行一次性校准,从而在信号输入卡尔曼滤波器之前显著改善加速度计的偏移/旋转。 这样,您就有了一个可以很好地用于定位/导航辅助应用的解决方案。 我相信 Mark(主要开发者,也是我的融合库犯罪合作伙伴)计划在第一季度末发布新版本。如果您的产品时间表需要更快,请给我发电子邮件:[email protected],我们可以讨论各种方案。 此致, Mike
View full article
X/Y/Z translation I've got the sensor fusion toolbox running on both Windows and Android and connecting to a FRDM-KL25Z (I also have a FRDM-K22F but it doesn't seem to have the appropriate firmware available) with a FRDM-FXS-MULT2-B.  The orientation display works quite well.  What I really want to know, though, is whether it's possible to display translation.  I'd like to see how accurately it can show the board moving side to side or up and down while it's rotating.   I see that there's linear acceleration available in the display.  Am I just going to have to integrate that to get translational movement?   Thanks,   Scott SensorFusion Re: X/Y/Z translation Scott, The K22F will definitely work with the toolbox.  I'm not sure why the toolbox couldn't locate the binary for you.  If you'll shoot me an email at [email protected], I'll respond with the .bin you need.  This should be equivalent to the one you got by compiling the project under KDS. I actually find that Bluetooth works more reliably for me than the wired serial/USB, but you do have to have the appropriate Bluetooth drivers installed and you have to have previously paired with the device in the "Devices and Printers" page. Mike Re: X/Y/Z translation My protégé here, who has some experience with mechatronics (and has been in school a whole lot more recently than me), also just suggested those two.  And my ex is a university professor who teaches rigid body dynamics so I can probably get some input there as well. Last time I gave her what I thought would be a fairly straightforward problem it turned into a student's master's thesis.  I've been using the FRDM-KL25Z so far because I haven't been able to get it to work with the FRDM-K22F (which is much closer to the intended platform).  The Kinetis Interface Tool shows AGM01 - FRDM_K22F in the available firmware list but it says "No file at specified Firmware path" when I try to load it.  I did get the FSFK_K22F project to compile and load from KDS but I haven't looked at it closely and I'm not clear on whether that's supposed to work with the sensor toolbox. I've only been able to get it to work over Bluetooth to an Android device (despite trying 3 different BT interfaces, but that's probably the fault of Windows), and hacking it to work with the Bluetooth radio in the hoop seems like it'd be more trouble than it's worth.  If I can get the K22F code running I'll see if I can adapt that to write to mass storage.  Worst case... we've got a working FRDM-KL25Z and a bunch of duct tape. Thanks, Scott Re: X/Y/Z translation Scott, The fusion algorithm is optimized to make the best possible estimate of device orientation.  Once it has that, it is trival to subtract computed gravity from the measured acceleration.  The toolbox has plots for both.  The sensor readings are plotted on the "Sensors" tab, and the linear acceleration on the "Dynamics" tab.  There are a number of free Matlab clones on the web that you can use to post-process log files.  Scilab and GNU Octive come to mind. Regards, Mike Re: X/Y/Z translation I've already done some captures via Bluetooth (without the fusion algorithms) and I'll probably need to revisit that.  Can you tell me if the linear acceleration readings I'm seeing in the sensor fusion graphs include a centrifugal component, or is that removed by the algorithms using the gyro data? Seems like it would need to know the radius of the hoop for that, but I don't have a strong grasp of the underlying math of the fusion algorithms. A basic off-body move called an isolation has the hoop vertical and the center fixed while the hoop rotates.  A single gyro axis does a beautiful job of capturing this.  An iso pop is a similar move but at some point in the rotation the center of the hoop translates one hoop diameter in a straight line in the plane of the hoop and returns on the same line.  If the sensor fusion algorithms can cancel out the centrifugal part from the steady rotation then it seems like this sort of move would be easy to capture.  Many moves involve a constant rotation component and a quick excursion and return on some axis.  Slow drift of the hoop's calculated position shouldn't be a major concern and hoop dancers tend to move around anyway.  It's the hypocycloid motion that concerns me. The motion should look something like this: Hypocycloid Enter 200, 130, and 130 for the radii and click start and you'll see what I'm talking about. It looks like the motion of the sensor should briefly stall at multiple points for each hoop rotation.  There are a number of academic papers on hula hoop motion, but I get the feeling that they're mostly things drunk mathematicians write as gags for their department holiday parties. At the time of the initial design about two years ago the Bosch part was the only 9-axis sensor available. Freescale was expecting one out within a year.  I assume that one got cancelled?  My first prototypes used an FXOS8700 and Bosch BMG160.  Board space is limited (< 5/8" wide, < 1/2" for future versions) so I'm trying to keep the component count down.  Our own SMT line is just barely adequate for some of the tiny DFN or QFN parts and even with a CM doing most of these boards, inspection and rework are a pain. Also, board flex is hard to avoid in a hoop and hidden lead parts can be trouble.  The BMX055 is at the far end of the board from its attachment point to try to reduce that. That's good to know about the compromises with MEMS gyro and accelerometer construction.  The existing sensors have been good enough for things like determining when the hoop is not in use and can go to sleep and to create motion-reactive patterns in the LEDs.  I think the magnetometer is worth keeping because it allows for things like a simple odometer type measurement - you can just count zero-crossings to count revolutions.  Also, this is not a very cost-sensitive board.  The sensors account for less then 2% of the retail price.  It has a 120 MHz K22F and a minimum of 32 MB of external flash to work with and the effect on the power budget is minimal. Any sensor that I can cram in there that might potentially be useful down the line is worth considering.  I'd have capacitive touch sensors all the way around the circumference if I could figure out a cost effective way to do it. Since the sensor fusion toolbox doesn't show translation, can you suggest any reasonably simple simulation framework that might?  Simulink's probably a little out of our budget for this project. Thanks, Scott Re: X/Y/Z translation Scott, I'm not sure what the motion of a stationary point on a hula hoop looks like over time.  I think you would need to chart out the acceleration values over a number of rotations of the hoop to make sure that (from the sensor's perspective), you don't have some near constant accelerations.  Those could play havoc with the algorithms. Yes, you are welcome to use the algorithms with any vendor's sensors.  You will need to replace the drivers, and NXP's support is (of course) limited to use of NXP sensors.  NXP does not have a 9-axis sensor available. You probably don't need a mag for this application.   I would recommend the MMA8652 accel and the FXAS21002 gyro. I can't comment one way or the other on the device you mention.  I do know that use of a separate gyro can sometimes yield better performance than an integrated device, depending upon what design tradeoffs were or were not made with that integrated device.  Gyros like to have evacuated cavities for the MEMS, as gas can dampen motion of the MEMS masses, decreasing the gyro's Q factor (think power efficiency).  Conversely, consumer accels are typically not evacuated.  Gas damping for the accel is desirable to achieve an overdamped response curve.  It's something to consider as you evaluate options. Regards, Mike Re: X/Y/Z translation Thanks for the fast and informative response!  Before I trouble you any further I'll tell you what my application is and you can tell me if it's nuts to even try.  The board is in a hula hoop, so it mostly moves in what I guess would be a hypocycloid path.  Centrifugal forces can be around 6 Gs.  Not sure about linear acceleration, but there are a large variety of common moves, some fairly linear and some mostly rotational.  There are plenty of useful things that orientation sensing can let me do, but calculating linear movement, even if it has some drift, would be really handy.  The hoop's usually not going far from the hooper but there can be a lot going on Also, I believe the library will work with other brands of sensors, right?  We use a Bosch BMX055 in all of the existing devices.  I thought Freescale had a 9-axis sensor in the works but I can't find it now .  Is there a Freescale alternative to the BMX055, and will it work with the sensor fusion library? Thanks, Scott Re: X/Y/Z translation Scott, There is a build available for the K22F, but only under KDS.  You can also flash the board from the Sensor Fusion Toolbox if you just want to play with the standard build. Double integration of acceleration sounds great until you realize that any noise and/or offset in the sensor also get doubly integrated, and quickly explodes.  Of the two, post-board-mount offset is probably the worst culprit.   The algorithms in the toolbox correct for gyro offset and drift, but not accelerometer.  We haven't included position charts in the published version of the fusion toolbox because we know how disappointing the results will be. In the NEXT version under development, we plan to include routines to allow you to do a one-time calibration of the accelerometer that will dramatically improve accelerometer offsets/rotations before the signals are fed into the Kalman filter.  At that point, you've got a solution that should work well for positioning/navigation aid applications.   I believe Mark (the primary developer, and my partner in crime on the fusion library) plans to release the new version in late Q1.  If your product timeline needs something sooner, drop me an email at [email protected] and we can discuss options. Regards, Mike
View full article
need a pressure sensor that operates at -40C and stores at -51 was using MPXV5004DP MPXV5004DP This part was used in a legacy design. We inherited the design and noticed the part's spec didn't match our requirements (-40C operating and -51C storage). This sensor seemed to adequately worked when tested at those values but we couldn't knowingly leave an out-of-spec part in our design. We changed to another part that was rated for -40C operation but it actually works worse than the NXP sensor that isn't rated for it. We are trying to find alternatives. Does anyone know of differential pressure sensors that can operate in this environment: -40C to +51C operational -51C to +73C storage temp Max pressure > 4 psi needs to sense pressure in the 0-1 psi range (more is fine) Operates off of 5V SMT (small form factor such as the package of the current part) Re: need a pressure sensor that operates at -40C and stores at -51 was using MPXV5004DP Hi, Unfortunately, we do not have any data information for out-of-spec data, so we don’t have any performance information on the MPXV5004DP working at -40C. We can only recommend to use this sensor with a min operational temperature of 0C.   From the current portfolio, for the low pressure range, working at -40C temperature, I can only recommend the MPXV7007DP sensor: https://www.nxp.com/docs/en/data-sheet/MPXV7007.pdf Regards, Jose
View full article
pitIsrFlag Sensor Fusion SDK Question I just purchased a K64F-AGM01 assembly. Never used the NXP products before. I'm stuck. I've searched the community for hours and hours for answers. Read every documentation I could find. Still can't seem to find the information that I need to build my project. I loaded a SDK example for sensor fusion. Ran the example in debugger, but it runs through the cycle once, and since pitIsrFlag doesn't == true on the first pass, the program ends. I get no data from the sensor fusion functions. Am I supposed to write my own program to call the bare metal main function from a loop I create separately? SensorFusion Re: pitIsrFlag Sensor Fusion SDK Question Randy, You probably don't want to think of the board as a programmable USB peripheral.  That's not the intent.  The GUI uses the OpenSDA UART/USB feature to communicate with the board.  So it has to have the appropriate OpenSDA driver installed on your windows machine - which only embedded developers are likely to have.   The interface in the embedded code has communications to/from the sensor fusion toolbox as it's primary reason for existence.  But of course you are welcome to use it as a starting point for your application.  The protocol (covered in ch. 7 of the user guide) is binary.  So you should not expect to see human readable content in your console.  Nor can you send it ascii commands.  The embedded code is almost always streaming packet types 1, 3 and 4 at a minimum.  You use Sensor Fusion Toolbox commands to select which algorithm is being used to compute the data in those packets. Shoot me an email at [email protected] with your contact info and I'll check on my end to see how I can put the C# file that I use to communicate with the board into your hands. Regards, Mike Re: pitIsrFlag Sensor Fusion SDK Question To add to this.....I've tried writing "Q9 " to the K64F through the serial port in my Visual C# project then calling ReadExisting() to read data from the serial port. ReadExisting gives me an empty string. The only time ReadExisting gives me any data is when I first plug in the K64F, and when it does give me data it is undecipherable. After the first read, in the following calls to ReadExisting it gets an empty string. The ReadLine command gets data, but it appears to be undecipherable as well. Re: pitIsrFlag Sensor Fusion SDK Question Thank you Mike for your help. I've studied everything available that I could find and still stuck. With typical USB hardware peripherals I've programmed to in the past, they have *.dll file(s) I can import into my Visual Studio C# project and use the hardware's custom API data structure calls and send them through the virtual USB to get the data. I've never worked with an embedded system so, while I understand the basics of how it works, I'm having trouble with the syntax to request specific data from the K64F-AGM01. I connect to the port through my C# project and send a ReadLine command. The information I get back is hex numbers. Is this what I should expect? If so, how do I translate them? (As a side note, when I hook the K64F board up to Tera Term, the console just prints a stream of garbage) I was hoping to be able to just send a request to the port from my C# project to get the fRhoPl data from the K64F. If there is a simple line of C code from my C# project to do this, I haven't found it. I see there's a sUARTOutputBuffer in the bare metal code. Is that where can pick up the data from the host? If so, how? Should I write lines of code in the bare metal main program to actually send information to the port, then read it from the port on the host (C# project) side? Thanks in advance, Randy <> Virus-free. www.avg.com <> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Sat, Dec 2, 2017 at 7:54 AM, michaelestanley Re: pitIsrFlag Sensor Fusion SDK Question "Sensor Fusion Toolbox" refers to the GUI portion only running under windows or Android.  It communicates to a sensor fusion application running on the embedded board via a UART-based protocol which is documented in the user guide.  The GUI has the ability to program boards with a sample S.F. application.  But that is NOT what you've done.  You've used the development tool to program the board, which is the normal development flow.  ALL calibrations are done on the embedded board.  The GUI is for demo and debug purposes only. You can create your own windows app if desired.  Again, the protocol is specified in the user guide.  And since you have source, you can even change it if desired.  We don't normally supply Windows-side software or headers, as most customers have their own interfaces. calls to initialize the accel and mag calibration parameters are inside function initializeFusionEngine() in file sensor_fusion.c.  The initialization functions for the 6 and 9-axis Kalman filters will either load previously stored gyro offsets from flash OR just use current measurements as the offset.  The latter is why you see that message in the GUI. Much of the above IS covered in the user guide.  You will save yourself a lot of time if you take the time to at least give it a quick skim so you know what is covered.  I also posted links to training videos in this space yesterday. Good luck. Mike Re: pitIsrFlag Sensor Fusion SDK Question Thank you, Mike. I was able to read the compass data and might not need the Windows GUI. A few questions: 1. Is the Sensor Fusion Toolbox flashed onto the K64F when I run the Windows Sensor Fusion Toolbox and thereafter the Windows GUI is reading the processed or calibrated compass fRhoPl heading from the board itself, or is the Sensor Fusion Toolbox a Windows program that is constantly pulling the raw data from the K64F and processing the calibrations in a Windows .exe? 2. If the Toolbox software is actually on the board and running from the board, could I just create my own Windows GUI and pull the calibrated compass data from the serial port, and if so, what header files or library files do I need to include in my Windows C# program? 3. When I first run the Windows Sensor Fusion Toolbox, it asks the user to move the board around to calibrate it. This being the case, when I run the debug in the MCUXpresso IDE and read the fRhoPl data, how does the Sensor Fusion software initially calibrate the sensors? When running the debugger, it doesn't ask me to wave the board around as does the Windows Sensor Fusion program. Thank you for your help. Very grateful. Randy <> Virus-free. www.avg.com <> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Fri, Dec 1, 2017 at 2:01 PM, michaelestanley Re: pitIsrFlag Sensor Fusion SDK Question Randy, You can read the compass heading directly from the global structures.  The field name varies as a function of the algorithm you're using.  See Section 4.2 in the user manual, and specifically Table 6.  The forth row in the table gives you the field name. Let me know if you're still interested in the GUI after checking that out.  We're in the process of adjusting our software release processes in anticipation of the QualComm merger, and I'll need to consult my masters about doing that within the scope of new guidelines. Regards, Mike Re: pitIsrFlag Sensor Fusion SDK Question Thanks Mike, Really appreciate your reply. Yes, everything works when I run Sensor Fusion Toolbox. I'll try putting a break as you suggest.....Another question: Is it possible to get the source code to the Windows GUI for the Sensor Fusion Toolbox? What I'm trying to do is just capture the compass heading (in degrees) after all the offsets and calibration have been calculated (as is displayed in the text box in the Sensor Fusion Toolbox GUI)? Thank you again. Randy <> Virus-free. www.avg.com <> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Fri, Dec 1, 2017 at 11:11 AM, michaelestanley Re: pitIsrFlag Sensor Fusion SDK Question Randy, Let me ask, are you trying to single step through the debugger?  If you try that on the if (true == pitIsrFlag) { statement, you will go nowhere fast.   The reason is that the PIT timer is programmed to "freeze" in debug mode.  From the PIT chapter of the K64 Reference Manual: The good news is that you can put a break at the next line after the IF, RUN to that point, then continue single stepping. Does your board flash green on LED D12 on the K64 when you just power it up outside the debugger?  If so, the app is running fine and this is just a pilot error. The other thing you should do is startup the sensor fusion toolbox and connect to the board.  That will enable you to see it operating correctly. Regards, Mike
View full article
MXPHシリーズ圧力センサ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> MXPH6400 シリーズの圧力センサを湿潤環境 (淡水および海水) で使用した経験のある方と話す必要があります。センサの寿命はどの程度期待できますか?超ソフト RTV またはシリコン グリースの層を追加して内部のゲルを保護する方法はあるでしょうか? どのような助けや指導でも本当にありがたいです。 ケリー・ボーサム、DASCOR, Inc. 619-794-7788 [email protected] Re: MXPH series pressure sensors <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ウィリアムさん すべてが順調であることを願っています。 残念ながら、MPXH6400 デバイスを湿った環境で使用した経験はありませんが、いくつかコメントや提案を追加したいと思います。 - すべての NXP 標準圧力センサ製品において、乾燥空気以外の環境は製品の信頼性と寿命に何らかの影響を与えることに注意してください。NXP のシリコン圧力センサは、オイル、ガス、ガソリン、水、水蒸気、化学物質とは互換性がありません。 - 数時間、あるいは数日の稼働後、水道の使用によりデバイスが故障する可能性があります。 - 通常、水測定アプリケーションでは、ヘッド チューブが使用されます。これは、水位または圧力を測定する必要がある容器とセンサーの間にある単純なチューブです。チューブ内に空気が閉じ込められ、センサーが液体の水から隔離されます。 詳細については、以下のアプリケーションノートを参照してください。 AN3728 - IPS PRT圧力センサのメディア互換性 - 適切なシリコンオイルを使用して、湿気や結露水の侵入からセンサを保護することを検討しましたか? シリコングリースで圧力センサーを保護することは、当社の製品を過酷な媒体で使用する場合の最良の方法です。このソリューションを「産業的に」実装する方法について、私たちにはそれほど経験がありません。気泡を避けるために、グリースの充填は真空状態で行われます。通常、グリースによって機械的ストレスが生じ、オフセット値が変化する可能性があるため、オフセット調整が必要になります。この解決策はテスト済みであり、決定的なものと思われます。 - メディア耐性ジェルを搭載したデバイスの使用を検討しましたか? NXP は、ダイを環境から隔離するために 2 種類のゲルを使用しています。当社のすべての標準タイプの圧力センサには、フルオロシリコーン ゲル (タイプ FE-53) が使用されています。メディア耐性ゲル (Sifel) は、主にオートモーティブ アプリケーションなどの高温環境で使用される当社の圧力センサに使用されています。MPXAZ、MPXVZ、MPXHZ という指定を持つすべての圧力センサーは、メディア耐性ゲル (Sifel) を使用しているものです。このシリーズのデバイスでは、過酷な媒体に対してより耐性のある当社のオートモーティブグレードのゲルが使用されています。ただし、お客様はアプリケーション内で検証を実行する必要がありますが、製品は既存の標準圧力センサよりも堅牢になります。 いずれの場合も、アプリケーション内で製品のパフォーマンスを検証し、すべてのリスクと責任を負う必要があります。 この情報が皆様のお役に立てれば幸いです。 よろしくお願いいたします。 デビッド
View full article
MMA8652 対 MMA8451 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 現在、新しいアクセラレータを選択中です。私は選択肢を 2 つのチップ、MMA8652 と MMA8451 に絞りました。一方が 12 ビットでもう一方が 14 ビットであり、パッケージが異なること以外は、複雑さの点ではどちらも同様であると考えるのは正しいでしょうか?つまり、一方のチップがもう一方のチップよりもプログラムや構成が容易というわけではないということです。 また、低電力バッテリー駆動製品の設計の観点からは、INT ピンをプルアップするほうがよいですか、それともプルダウンするほうがよいですか? 最後に、MMA8652 のデータシートを見ると、回路図にはチップの周囲に極性のあるコンデンサが示されていますが、これらは極性がないはずだと思います。私の考えは正しいでしょうか? ありがとうございます 加速度センサ Re: MMA8652 vs MMA8451 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、デビッド。 ご返信ありがとうございます。 念のため確認しますが、データシートでは 4 つのコンデンサすべてが有極性と記載されていますが、これはタイプミスだと思います。無極性コンデンサを4つ使用しても大丈夫でしょうか? ありがとうございます。 Re: MMA8652 vs MMA8451 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 1. 基本的に、上記のデバイス間の主な違いは解像度とパッケージ オプションです。 2. ご指摘の複雑さに関しては、どちらのデバイスも I2C インターフェースを使用しています。 必要なデバイスをプログラムおよび構成するためのソフトウェアの例をここで見つけることができます。 3. INT ピンにプルアップまたはプルダウンを配置するかどうかは、アプリケーションによって異なります。 割り込みピンはプッシュプルまたはオープンドレインに設定でき、アクティブ ハイまたはアクティブ ローのいずれかにすることができます。オープン ドレイン設定の割り込みピンにプルアップ抵抗を使用する場合は、加速度センサをアクティブ Low に設定する必要があります。プルダウン抵抗を使用する場合は、割り込みピンをアクティブ ハイに設定する必要があります。これはレジスタ 0x2C (MMA8451、2、3Q) で行われます。 詳細については、アプリケーションノート AN4077 を参照してください。 AN4077 - MMA845xQ デザインチェックリストとボード実装ガイドライン 4. 最後に、BYP ピンのコンデンサは、残りのコンデンサがデカップリング コンデンサである間に内部レギュレータの安定性を保証するためにそこに配置する必要があります。 この情報が皆様のお役に立てれば幸いです。 ご質問を誤解していた場合は、遠慮なくお知らせください。喜んでお手伝いさせていただきます。 素晴らしい一日をお過ごしください。 デビッド・ディアス。
View full article
MBDT v1.6.0 DataMemRead block and dynamic memory addresses Dear NXP Support Team, I am working with NXP Model-Based Design Tool (MBDT) v1.6.0 and I have a question regarding the DataMemRead block. I would like to read data from a memory address that is provided by a variable at runtime (i.e. a dynamic address / pointer). However, the DataMemRead block in my version does not expose any input port for the address; the address can only be configured as a fixed parameter in the block settings. My questions are: Is it possible to use the DataMemRead block with a variable (dynamic) address in MBDT v1.6.0? If not, is this a known limitation of the block? Is there a recommended or supported alternative within MBDT to perform memory reads using a variable address (e.g. via a specific block or a recommended C Function/User Code approach)? Any guidance or best practices would be appreciated. Thank you in advance for your support. Best regards Re: MBDT v1.6.0 DataMemRead block and dynamic memory addresses Hello, thank you for the clarification. To confirm, in our use case the data that needs to be accessed dynamically is stored in RAM, not in Flash. The address is calculated at runtime and must be dereferenced dynamically. Given that dynamic RAM addressing is not supported by the current Model-Based Design Toolbox implementation, could you please advise: - What is the recommended workaround for this use case? - Is the expected approach to use a custom C block / S-Function for dynamic RAM access? - Are there any roadmap plans to support dynamic RAM addressing in future toolbox releases? This functionality is required for our application, so any guidance on an NXP-supported or validated solution would be highly appreciated. Best regards, Re: MBDT v1.6.0 DataMemRead block and dynamic memory addresses Hi, @mariaalejandro, Thank you for your interest into Model-Based Design Toolbox for S32K3. If the data that needs to be accessed dynamically is stored exclusively in RAM, the current version of the block does not provide a solution that supports this use case. Dynamic RAM addressing is not supported by the existing implementation. If the data is stored in Flash, it can be accessed using the MemInFls Read block, which does allow the use of a dynamic address as its input. The limitation, however, is that the data must already be written to Flash beforehand in order to be selectively accessed (read) at runtime. You can refer to the following model example: s32k3xx_mem_infls_s32ct, where for the Source Address is used a Data Store variable. Best regards, Dragos Re: MBDT v1.6.0 DataMemRead block and dynamic memory addresses Hi, @mariaalejandro, Since this feature is not yet supported by the toolbox, I’ve outlined below how you can approach the topic using custom code. You can use the s32k3xx_dma_transfer_ebt model example as a starting point for integrating custom code. 1. The first step would be to create a folder containing the .h and .c files, that you will use to create your custom functions. This folder and the corresponding files should be included in the Hardware Settings of the model, at Custom Code section: - Include directories - Source files 2. The next step would be to define these newly created files.  - dmaBuffers.h will contain the directRAMRead and directRAMWrite function calls: - dmaBuffers.c will contain the diretRAMRead and directRAMWrite function definitions: 3. The model example should contain the MATLAB Function block for creating the environment of calling the already created functions. Please note that in the above example was used uint32 as a data type, you should modify this based on your project requirement. 4. After building and deploying the code on the hardware, we must validate the model example by importing the generated code into S32 Design Studio IDE. The step function will look like this: If you enable the Memory section in the bottom right side in S32DS, you should be able to see the addressed, based on your selected monitors. For example, the 0x20004000 address has been selected, considering the hardware part that the model has been validated on: At this section address, a random data has been written. After continuing one step in the debug process, allowing our read function to be executed, the returned result will look like this: The difference between the written value ( 00001234 ) and the value observed during the memory read ( 34120000 ) is a direct consequence of the system’s endianness. The target platform uses little‑endian byte ordering, meaning that multi‑byte values are stored in memory with the least significant byte (LSB) at the lowest address. So when the logical 32‑bit value 0x00001234 is written, it is placed in memory as: Byte position Stored byte Address + 0 0x34 Address + 1 0x12 Address + 2 0x00 Address + 3 0x00 When the memory is read back as a 32‑bit word, these bytes are reassembled in the correct order by the CPU, resulting in the displayed value 0x34120000 . This behavior is expected and correct for little‑endian architectures. The model example simply reflects the underlying memory representation, not an error in the input or the tool. I have also attached the archive containing the model example used in the demonstration. Hope this helps, Dragos Re: MBDT v1.6.0 DataMemRead block and dynamic memory addresses This explanation was really useful. Now I',m able to access RAM memory addresses dinamically.
View full article
当我让 NOR_Flash 正常工作时,USB CDC 停止工作... 使用 RT1021,我从 FeerTOS 你好项目开始,使用 1020 开发套件作为我的硬件板,我在 USB CDC 库中添加了没有问题,得到了 CDC 的 USB 功能,而且说话还不错。我需要 NVM,所以我添加了 flexspi_nor_flash 示例,经过搜索终于发现,由于链接器脚本不存在,导致硬件崩溃。因此,我拿来了链接器脚本,其中包含 *(EXCLUDE_FILE(*flexspi_nor_flash_ops.o *fsl_flexspi.o).text*) 以及 <#ifmemory.name=="SRAM_ITC"> *flexspi_nor_flash_ops.o(.文本*) *fsl_flexspi.o(.text*) 以及 <#ifmemory.name=="BOARD_SDRAM"> *(.bss*) 但是,一旦我这样做,USB CDC 就会停止工作,在设备管理器中 抱怨代码 43,请求 USB 描述符失败。是否有人 还有人遇到过这种情况吗?这个板上的 UART 仍然可以正常工作。 如果我删除链接器脚本并注释掉调用 nor_flash 功能,USB 就会重新开始工作。 非常感谢。 Re: USB CDC stopped working when I got the NOR_Flash working... 嗨,@tom_porter、 感谢您对恩智浦半导体产品的关注并有机会为您服务。 如果 SEMC(外部 同步动态随机存取存储器 控制器)未初始化,则在 .bss 上进行操作部分可能会失败。这可能会导致崩溃,USB CDC 初始化也可能失败。   请尝试以下方法: 1:在内部 SRAM 中设置 .bss(请勿使用 同步动态随机存取存储器(SDRAM))。 2:如果你需要使用 同步动态随机存取存储器(SDRAM),请启用 XIP_BOOT_HEADER_DCD_ENABLE = 1 希望对您有所帮助 顺祝商祺! MayLiu Re: USB CDC stopped working when I got the NOR_Flash working... 效果很好,感谢您的帮助
View full article
S32K144 ロック解除 セキュアデバッグ こんにちは、 winIDEA を使用して S32K144 デバイスの安全なデバッグのロックを解除しようとしています。 iSYSTEMのドキュメントによると NXP S32: NXP S32G2/3xx および S32R45x のセキュア デバッグのロック解除 安全なデバッグ ロック解除は、パスワード パラメータを持つ S32G2 および S32K3 デバイスでサポートされます。 ただし、winIDEA CPUオプションでS32K144を設定すると、セキュリティロック解除 S32G2/S32K3で利用可能なパラメータ(保護、パスワード、スマートカードパスワード) デバイスが存在しません。 **接続スクリプト$(SFR_FILE_DIR)/S32K1xx_ConnectToSoC.cppにはロック解除パラメータが含まれていません またはS32K144デバイスのセキュリティ関連機能** 質問: 1.S32K144 はセキュアデバッグロック解除をサポートしていますか? 2. はいの場合、S32K144 の適切な手順は何ですか? 3. S32K144 セキュア デバッグ ロック解除の代替方法またはツールはありますか? Re: S32K144 unlock Secure debug こんにちは、 参考資料をご提供いただきありがとうございます。 以下をレビューしました: - S32DS1.3 バックドアアクセスキーの例 - winIDEA S32K1xx JTAGロックブログ winIDEAブログでは、フラッシュセキュリティバイト(0x40C)を使用してS32K1xxデバイスをロックする方法を紹介しています。 ただし、winIDEA を介してすでに保護されている S32K1xx デバイスのロックを解除する手順が必要です。 iSYSTEMロック解除ドキュメントは、S32K3xxおよびS32G2xxデバイスのみを対象としています。 パスワード パラメータは、winIDEA の S32K1xx では使用できません。 以下をご提供いただけますでしょうか: 1.保護された S32K1xx デバイスのロックを解除するための具体的な winIDEA 手順は何ですか? 2. S32K1xx 用の winIDEA でバックドア アクセス キー メソッドを構成するにはどうすればよいでしょうか? Re: S32K144 unlock Secure debug こんにちは@Kishore_14さん、 1. はい。ただし、S32K3xx の手順とは多少異なります。部品が固定されると、JTAG/SWD インターフェースは無効になります。つまり、部品がこの状態にある場合、デバッグ コントローラは SOC メモリにマップされたアドレスを読み取ったり書き込んだりすることはできません。 フラッシュ構成フィールドのFTFC_FSECバイトがセキュア状態にある場合、その部品はセキュアです。 2. AN12130および例 S32K144 のバックドア アクセス キー S32DS1.3 の検証を参照してください。また、S32K1xx リファレンス マニュアルの5.2.1 章「フラッシュ メモリのセキュリティ」でも、FSEC フィールドの動作について説明されています。 3. winIDEA のNXP S32K1xx ブログにも JTAG ロックの手順が記載されています。これは、共有した S32K/G/R リンクと同じドキュメントですが、K1 デバイスに重点が置かれています。 よろしくお願いします、 ジュリアン Re: S32K144 unlock Secure debug こんにちは@Kishore_14さん、 winIDEA を介して S32K デバイスのロックを解除する具体的な手順がわかりません。この SW は NXP 製ではなくサードパーティ製なので、代わりに NXP に問い合わせてみてはいかがでしょうか。オンライン ヘルプ - iSYSTEM 。 S32K1xx のロックを解除するには、バックドア キーを有効にして入力するか、一括消去を有効にする必要があります。 バックドア キーは、FTFC コマンドでのみ MCU のロックを解除するために使用できます。(ファームウェアから S32K144W のフラッシュのロックを解除 - NXP コミュニティ) MCU を外部からロック解除したい場合は、チップ全体を一括消去する必要があります。 winIDEA を使用して同じことを説明しているこの投稿を見つけました: Arm Cortex-M: ロックされた/保護されたデバイス - TASKING ナレッジベース。 よろしくお願いします、 ジュリアン Re: S32K144 unlock Secure debug S32K1xx セキュア デバッグ ロック解除に関して追加の質問があります。 ハードウェア デバッガーのサポート: 1. S32デバッガー - S32DSで「セキュアデバッグ」オプションを表示します。 - 「セキュアデバッグを有効にする」チェックボックスが利用可能 - 「デバッグの種類: パスワード」ドロップダウンが利用可能 - S32デバッガハードウェアがありません   2. PEMicro デバッガー - 安全なデバッグ オプションが表示されません: - PEMicroハードウェアがあります - S32DSインターフェースに安全なデバッグオプションがない - PEMicroライセンスを持っていません 1.PEMicro デバッガーは S32K1xx セキュア デバッグ ロック解除をサポートしていますか? 2. セキュア デバッグ機能は S32 デバッガー ハードウェアでのみ使用できますか? 3.PEMicro がサポートしている場合、PEMicro を使用して S32K1xx の安全なデバッグ オプションを有効にするにはどうすればよいでしょうか? Re: S32K144 unlock Secure debug こんにちは@Kishore_14さん、 1. PEMicro デバッガーは S32K1xx セキュア デバッグ ロック解除をサポートしていますか? 私の知る限りではそうではありません。  2. セキュア デバッグ機能は S32 デバッガー ハードウェアでのみ使用できますか? セキュア デバッグは S32G/R/Z デバイスでのみ使用できます。S32K144 デバイスを選択すると、「セキュア デバッグ」オプションが無効になることがわかります。 3. PEMicro がサポートしている場合、PEMicro を使用して S32K1xx の安全なデバッグ オプションを有効にするにはどうすればよいでしょうか? 何らかのスクリプトをサポートしているかどうかは、サポート ページ ( PEmicro サポート ホーム)で問い合わせることができます。 ただし、前述したように、FTFC コマンドによるバックドア キーを使用するか、チップ全体を一括消去するか (一括消去が有効になっている場合) という 2 つの方法があります。 よろしくお願いします、 ジュリアン Re: S32K144 unlock Secure debug こんにちは、ジュリアン S32K1xx の「FTFC コマンドによるバックドア キー」に関する前回の回答の続きです。 1. 「FTFCコマンドによるバックドアキー」とは、サンプルプロジェクトを使用することを意味しますか? 例_S32K144_バックドアアクセスキーの検証_S32DS1.3_v2 FTFC コマンド 0x45 でアプローチしますか? 2.別のプロジェクト (ブートローダーなど) を使用している場合、バックドア キーのロック解除コードをすべてのプロジェクトにハードコードする必要がありますか? ありがとう。 Re: S32K144 unlock Secure debug こんにちは@Kishore_14さん、 1. はい。 2. 質問を正しく理解できたかわかりません。FSECレジスタは読み取り専用レジスタであり、リセットシーケンス中にプログラムフラッシュメモリ内のフラッシュコンフィギュレーションフィールド(FSEC)にフラッシュセキュリティバイトの内容がロードされます。このコンフィギュレーションフィールドにはバックドア比較キーも保持されており、startup_S32K1XX.Sファイルで設定可能です。 FTFC を介してキーをロードする場合は、UART、CAN、SPI など (JTAG/SWD を除く) を介してキーを受信し、キーをロードするルーチンを作成して、デバイスのセキュリティを解除し、次のリセットまで JTAG/SWD インターフェースのロックを解除することができます。 よろしくお願いします、 ジュリアン
View full article
About SEMC SRAM I/F signal, UB#/LB# information for MIMXRT1170 Hello community, In SEMC of IMXRT1170, it can connect non-ADMUX SRAM with 16bit data bus width. From Table 29-7, UB#(Upper Byte) and LB#(Lower Byte) signal are assigned to SEMC_DM0 and SEMC_DM1 pin. However, there is no explanation or waveform in the Reference Manual. What should I refer to for information on the UB#/LB# signals when connecting non-ADMUX SRAM? Best regards, Ishii. Re: About SEMC SRAM I/F signal, UB#/LB# information for MIMXRT1170 Hi  @takayuki_ishii , Thanks for your updated information.  I have internally confirmed that the timing diagram we have matches the one shown in that link. Regarding your new question: Yes, this is  the behavior NXP intends. In 16‑bit Non‑MUX mode: 1: UB# and LB# are active low byte‑enable signals. 2: For read cycles, both UB# and LB# remain asserted (low), even for 8‑bit reads. 3: For 8‑bit write cycles, the unused byte lane is disabled by deasserting (driving high) UB# or LB#. Wish it helps you Best Regards MayLiu Re: About SEMC SRAM I/F signal, UB#/LB# information for MIMXRT1170 Heillo @mayliu1  Thank you for your suggestion. The inquiry in that thread is the same as my question. However, I don't understand the "solution" posted. This is because NXP has provided no information about UB#/LB#. Although it is marked as the solution, please review the response content. I suspect the original poster probably gave up waiting for a response from NXP. What I want to know is the timing of the UB#/LB# signals output from the i.MX RT1170 SEMC to control SRAM. Since the signal names are UB#/LB#, I assume they are active low, but I need information on when they are asserted low and when they are negated high. In a typical memory controller, UB#/LB# are driven high when not accessing the SRAM; when accessing the low byte D[7:0], LB# is driven low; when accessing the high byte D[15:8], UB# is driven low. However, on the i.MX RT1170 SEMC I observe behavior where the signals are driven low in some state, and when accessing the low byte D[7:0], UB# is driven high to disable low byte of SRAM; when accessing the high byte D[15:8], LB# is driven high to disable high byte of SRAM. Is this the behavior NXP intends? Best regards, Ishii. Re: About SEMC SRAM I/F signal, UB#/LB# information for MIMXRT1170 Hi @takayuki_ishii , Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you. Regarding your question, I think you can refer to this NXP RT community post. Solved: Re: About UB/LB Signals behavior when SEMC is used as SRAM-I/F - NXP Community Below is the timing diagram. Wish it helps you Best Regards MayLiu Re: About SEMC SRAM I/F signal, UB#/LB# information for MIMXRT1170 Hello @mayliu1 , Thank you for your detail information. Let me confirm two more points to clarify the operation of UB#/LB#. In the case of "8-bit write cycle" shown in 3, 1. I think that ADV# is active(low) UB#/LB# keep low level.  Is it correct? 2.  When does UB#/LB# become deasserting (High)? Also, how long does it remain deasserting (High) for?  a. WEL  b. WEL + WEH  c. WEL + WEH + CEH  d. another value. Please show an attached excel sheet. Best regards, Ishii. Re: About SEMC SRAM I/F signal, UB#/LB# information for MIMXRT1170 Hi @takayuki_ishii , Thanks for your updated information. Regarding your new questions, please refer to below: Question 1: I think that ADV# is active(low) UB#/LB# keep low level.  Is it correct? Answer 1:  Not correct. UB#/LB# are low during IDLE, CES and CEH states. They keep activity during AS, AH, WEL, WEH states. ADV# is low in AS state. So when ADV# is active (low), UB#/LB# will be active, NOT always low. Question 2:  When does UB#/LB# become deasserting (High)? Also, how long does it remain deasserting (High) for? WEL WEL + WEH WEL + WEH + CEH another value. Answer 2:  UB#/LB# become deasserting during AS, AH, WEL, WEH states. Best Regards MayLiu Re: About SEMC SRAM I/F signal, UB#/LB# information for MIMXRT1170 Hello @mayliu1  Thank you for the detailed reply. With the information you provided, I was able to confirm the behavior of the UB#/LB# signals. However, since this behavior was unexpected, I would appreciate it if you could consider adding it to the reference manual or datasheet. Best regards, Ishii. Re: About SEMC SRAM I/F signal, UB#/LB# information for MIMXRT1170 Hi @takayuki_ishii  Thanks for your updated information. Sorry for my late reply. I was away on leave during the Chinese New Year holiday. The update to the documentation you requested is now in progress. Thank you for bringing this issue to our attention.   Best Regards MayLiu
View full article