Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
RT1176 Not able to program MT25QL256ABA8E12 flash Got  "20107 (0x4e8b) FlexSPINOR: SFDP Not Found." error when trying to program a new 3.3V NOR flash, MT25QL256ABA8E12. Previously, we were able to successfully program the NOR Flash over USB in our last rev hardware. The key difference in EV design is the NOR Flash device: we have moved to the MT25QL256ABA8E12-0AAT, which is from the same flash series but is a 3.3V, automotive-grade part. Old flash: MT25QU256ABA8E12-1SIT New flash: MT25QL256ABA8E12-0AAT A steady 3.3V is supplied to NVCC_SD2 for this change and 3.3V rail is updated for the new 3.3V NOR Flash as well. Please take a look and let me know if there is any other settings I need to do for flashing. Re: RT1176 Not able to program MT25QL256ABA8E12 flash Hi Gavin, Thanks. Please find attached full Write with the complete FCB configuration in SEC log. Please take a look and let me know. One datapoint that I want to share is when I probed the NOR signals, I noticed that the RESET# net is pulled to 1.1-1.3V, which is not expected and I do not have a good explanation for this observation yet. Chris Re: RT1176 Not able to program MT25QL256ABA8E12 flash thanks. Confirmed that the design includes all the 3.3V rail updates.  Re: RT1176 Not able to program MT25QL256ABA8E12 flash Beside SFDP, the supply voltage change may result in different schematics design since 1.8V need to change to 3.3V. Please modify the related NOR VCC schematics and PCB layout from 1.8V to 3.3V as well Re: RT1176 Not able to program MT25QL256ABA8E12 flash Hi @chryao , Thanks for your reaching out! The "complete FCB" test only initializes the FlexSPI controller using the parameters inside the FCB. No erase, program, or read was performed on the flash, so it does not confirm that the flash is actually responding. In contrast, the simplified option (0xC0000005) requires reading the SFDP table from the flash, and this was the only real flash access in both logs. It failed with 20107. Could you please run a full Write with the complete FCB configuration in SEC without XMCD and share the complete log? Additionally, it is advisable to first perform a test in normal boot mode where the RAM code accesses (reads/writes) the Flash memory, in order to rule out any potential hardware-related issues. Best regards, Gavin Re: RT1176 Not able to program MT25QL256ABA8E12 flash attached is the log. flashing failure log completeFCB test connection pass log. Re: RT1176 Not able to program MT25QL256ABA8E12 flash @Gavin_Jia Please provide me if NXP have approved vendor list for RT1176 3.3V NOR Flash, in BGA-24 package. Re: RT1176 Not able to program MT25QL256ABA8E12 flash Hi @chryao , Thanks for your additional log files. In the logs, I found that  configure-memory with the complete FCB only initializes the FlexSPI controller, so it doesn't exchange any data with the flash. The first real flash access is flash-erase-region , and it fails with 20106 Command Failure . That matches the earlier 20107 SFDP Not Found from the simplified option. Two different configuration methods both fail on the first real flash access, which tells us the flash isn't responding at all. This points to a hardware issue rather than an FCB or LUT setting.    For a 3.3V flash, 1.1–1.3V on RESET# is not a valid logic high, so the flash is most likely being held in reset or left in an undefined state. For the same reason, I'd expect that running the flexspi_nor_polling_transfer example from SRAM would also fail to access the flash. I'd suggest starting with the schematic and PCB. Please make sure RESET# sees a clean, valid 3.3V level first, and then try enabling and programming the flash again. About an approved vendor list: NXP doesn't maintain an official AVL for external NOR flash, and none of the RT EVKs uses a 3.3V BGA-24 NOR. In general, a serial NOR flash that supports the JEDEC SFDP standard should work with FlexSPI.  Best regards, Gavin
View full article
NXP Trimension® SR250で始めるUWB入門 第3回:UWB測距デモを試してみる (日本語ブログ) はじめに   第2回では、SR250評価ボード (SR250UWBSHIELD) のセットアップ方法として、A. PnP (Plug and Play) ルートとB. Zephyr SDKルートの2種類の環境構築手順を解説しました。 今回はいよいよ実際にUWB測距デモを動かします。デモの進め方も引き続きA/Bの2ルートに分けて解説します。まだ環境構築が終わっていない方は、先に第2回をご確認ください。 スマートフォンとのUWB測距はBルートで扱います。まず、Zephyr SDKでビルドせずにpre-builtバイナリを使って試す方法を紹介し、その後にZephyr SDKでNearbyデモをビルドする方法を説明します。pre-built版ではZephyr SDKのビルドは不要で、RW612へのFW書き込みは第2回のPnPルートで説明した手順と同じ流れで行えます。 第1回 UWBの基礎とSR250の概要 第2回 SR250評価ボード (SR250UWBSHIELD) のセットアップ 第3回(本記事) UWB測距 (Ranging) を試してみる 第4回 UWBレーダー (Radar) を試してみる デモの全体像  UWB測距では、通信相手となるデバイスが必要です。今回のデモでは、 一方のボードが Controller としてUWBセッションのスケジューリング・タイミング制御を担い、同時に Initiator として測距を開始します。 もう一方のボードは Controlee としてControllerの指示に従い、Responder として応答パケットを返します。 ボード2台を用意する代わりに、UWB対応スマートフォンを相手デバイスとして使うことも可能です (Bルート参照)。 「A. PnPルート」の方はこちら 「B. Zephyr SDKルート」の方はこちら A. PnPルート   GitHub: SR250 UWB Plug-and-Play Application Simple_demosフォルダの概要   PnPデモ用リポジトリの Simple_demos\ フォルダには、以下のファイルが含まれています。 ファイル名 内容 UartInterface.py シリアル通信の基本処理をまとめたモジュール。 各デモスクリプトから共通で使用されます。 UwbConfig.py UWBセッションのパラメータ (チャネル、タイミング等) を設定するモジュール。 第2回のZephyr SDKルートで書き込んだキャリブレーションデモと同様に、デバイスのキャリブレーション値の設定もこのファイルで行います。 デモスクリプト各種 demo_ranging.py :2台のボード間でDS-TWR (Double-Sided Two-Way Ranging) による距離計測を行うメインデモ。 demo_radar_ocpd.py :オンチップ存在検知 (OCPD: On-Chip Presence Detection) デモ。 demo_radar_raw.py :CIR (Channel Impulse Response) の生データ取得デモ。 ※レーダー関連 (ocpd/radar_raw) のデモについては次回の記事で詳しく紹介します。 viki_SR250.pl UCIパケットをデコードするPerlスクリプト。ログの詳細解析に使用します。 使用にはPerlのインストールが必要です。WindowsではStrawberry Perlなどをインストールし、コマンドプロンプトで perl -v を実行して、Perlのバージョンが表示されること(Perlがインストールされ、PATHが設定されていること)を確認してください。   今回は測距用デモの  demo_ranging.py  を試してみましょう。   COMポートの確認   ボードをPCのUSBポートに接続し、COMポート番号を確認してください。確認方法は第2回をご参照ください。   Ranging Demoの起動   今回も第2回と同様に、Windows PCのコマンドプロンプトを使用します。コマンドプロンプトを2つ起動し、それぞれのコマンド内のCOMポート番号を、各ボードのCOMポート番号に置き換えて実行してください。ボーレートはスクリプトが自動設定するため、指定する必要はありません。   Controller側 (例:COM3): python demo_ranging.py COM3 controller Controlee側 (例:COM4): python demo_ranging.py COM4 controlee   実行ログの確認   スクリプトを起動すると、ターミナルにログが流れ始めます。Ctrl+Cで止めることができます。 ログには16進数の文字列がたくさん流れてきて、測距できているのかいないのか、一見ちんぷんかんぷんに見えるかもしれません。これらはUWBデバイスとホスト間でやり取りされるUCIパケットの生データです。次のセクションでUCIについて説明します。   UCI (UWB Command Interface) とは?   UCIは、FiRa Consortiumが策定したホストとUWBデバイス間の標準コマンドインターフェースです。コマンド・レスポンス・通知 (Notification) の3種類のメッセージで構成されています。 先ほど動作させたPythonスクリプトはバックグラウンドでボードにUCIコマンドを送信し、ボードからのUCIレスポンスおよびNotificationを受信しています。測距結果はUCI Notificationとして返されますが、デフォルトのPythonスクリプトではデコードされず、送受信したUCIパケットがそのまま16進数の生データとして表示されます。   UCIログの読み方   まずは、測距結果を含むUCI Notificationを一例として見てみましょう。 NXPUCIR <= 62 00 00 38 30 00 00 00 01 00 00 80 00 c8 00 00 00 01 00 00 00 00 00 00 00 00 00 00 01 11 11 00 00 30 00 85 f9 00 09 fc 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 00 UCIパケットでは、複数バイトの値をリトルエンディアンで読み取ります。この例の先頭4バイトはヘッダーです。 62 00 00 38 :Notificationであること、メッセージの種類、ペイロード長 (0x38 = 56バイト) を示します。 30 00 00 00 :セッションシーケンス番号です。 01 00 00 80 :UWBセッションを識別するセッションハンドルです。 c8 00 00 00 :測距間隔で、 0x000000C8 = 200 、200 msを示します。 01 :測距方式としてTwo-Way Ranging (TWR) が設定されています。 01 :このNotificationに含まれる測距結果が1件であることを示します。 続く測距結果のフィールドでは、 11 11 が相手デバイスの短いMACアドレス、続く 00 が測距成功、次の 00 が見通し (LoS) を示します。そして、 30 00 が距離のフィールドです。リトルエンディアンで読むと 0x0030 = 48 となるため、このパケットの測距結果は 48 cm です。   今回のように測距結果だけを確認したい場合は、次のセクションで説明するUCIパケット全体をデコードする viki_SR250.pl  を使わず、測距結果を取り出す関数をPythonスクリプトへ直接追加する方法もあります。例えば、 demo_ranging.py に以下のコールバック関数を追加します。 ntf[0] は測距ステータス、 ntf[2] と ntf[3] は距離データです。 def extract_ranging(id, ntf): if ntf[0] == 0: distance = int(ntf[2] + (ntf[3] << 8)) print(f"Device {id}: dist = {distance} cm")   次に、 demo_ranging.py の受信スレッドで extract_ranging をキーワード引数として渡します。 read_thread = Thread( target=UartIntf.read_from_serial_port, kwargs={"extract_ranging": extract_ranging} ) read_from_serial_port() は受信した測距Notificationをこの関数に渡すため、測距に成功するたびに、例えば Device 0: dist = 48 cm のように距離がリアルタイムで表示されます。   viki_SR250.pl  によるデコード   UCIパケット全体を詳しく解析したい場合は、 viki_SR250.pl  を使用します。 viki_SR250.pl  はUCIパケットの各フィールドをデコードし、セッション状態の遷移や各パケットの詳細を確認できます。使用にはPerlのインストールが必要です。 python -u demo_ranging.py COM3 controller | perl viki_SR250.pl   UCIの各フィールドがデコードされ、セッション状態の遷移や各パケットの詳細を確認できます。 B. Zephyr SDKルート   通常の測距デモ:ControllerとControleeデモ   Zephyr SDKルートでの測距デモも、Controller/Controlee構成で動作します。2台のボードにそれぞれ異なるファームウェアをビルドして書き込みます。 まず一つのボードだけ接続し、Controllerファームウェアのビルド、書き込みを行います。 west build -b frdm_rw612 -p auto uwbiot-top\demos\common\demo_ranging_controller\zephyr west flash 💡 前のビルドからビルドオプションを変更している場合、エラーが発生することがあります。sr250-uwbiot-zephyr\buildフォルダを消去するか、pristineビルドをまず試してみてください。 Controllerデモを書き込んだボードを一度外し、もう一つのボードを接続してControlee ファームウェアのビルド、書き込みを行います。 west build -b frdm_rw612 -p auto uwbiot-top\demos\common\demo_ranging_controlee\zephyr west flash   Controllerデモを書き込んでおいたボードを再度接続し、ターミナルソフトを2つ起動します。3Mbps設定で、それぞれのCOMポート番号を接続すると、以下のログのようにボード間の測距を開始します。 スマートフォンとの測距:Nearbyデモ   Bルートでは、BLEを接続の起点として使用し、UWB対応スマートフォンとの測距が可能です。このデモで使用するアプリケーション名は demo_nearby_interaction です。"Nearby" という名前は、AppleのiOS向け「Nearby Interaction」フレームワークと、Androidの「Nearby」APIに由来します。これらは、OSベンダーが提供するUWBを使った近距離インタラクション向けのAPIです。 Nearbyデモでは、最初からUWBで通信するのではなく、まずBLEを使って相手の発見・接続と、UWB測距に必要な情報交換を行います。スマートフォンのUWBは、このような事前の接続・設定を終えてから測距セッションを開始する設計になっているためです。また、BLEはUWBに比べて低消費電力で相手の発見や接続を行いやすいため、常時UWBを動作させず、必要なときだけUWB測距を開始することで消費電力を抑えられます。次の順序で測距を開始します。 BLEでSR250ボードとスマートフォンを接続します。 BLE経由で、UWB測距に必要なセッション情報や設定情報を交換し、双方の測距条件をそろえます。 交換した情報に基づいてUWBセッションを開始し、UWBでDS-TWR測距を行います。 つまり、BLEは接続とUWB測距の準備に使用し、実際の距離測定はUWBで行います。   Nearbyデモは、ボード1セットとUWB対応スマートフォンがあれば試せます。pre-builtバイナリで手軽に試す方法と、必要に応じてZephyr SDKでアプリケーションをビルド方法の2つを説明します。   方法1:pre-builtバイナリで試す   Zephyr SDKでビルドせず、あらかじめ用意されたpre-builtバイナリを使って手軽にNearbyデモを試すことができます。まずは動作確認をしたい場合に便利な方法です。 手順と必要なファイルは、GitHubのNXP Application Code Hub: UWB Nearby Interaction with phones を参照してください。リポジトリからUWB Trimension SR250 Nearby Interaction Demo application packageをダウンロードして展開し、 program_FRDM-RW612.bat を実行してファームウェアを書き込みます。書き込み操作は、第2回のPnPルートで説明した "Step 1: RW612 PnP用FWの書き込み" と同じ流れで、ボタン操作でISPモードへ入れてからバッチファイルを実行します。   方法2:Zephyr SDKでビルドする   ソースコードを変更したり、アプリケーションの動作を詳しく確認する場合は、Zephyr SDKでNearbyデモをビルドします。   Nearby Interactionファームウェアのビルド、書き込み: west build -b frdm_rw612 -p auto uwbiot-top\demos\SR2XX\demo_nearby_interaction\zephyr west flash   どちらの方法もFW書き込み後に、ターミナルソフトで接続すると以下のようなログが出力され、BLEアドバタイジングモードに入ります。スマートフォンのアプリを起動すると、BLE接続が確立され、UWB測距のログが流れ始めます。 スマートフォンアプリ   スマートフォン側では、パートナーである MobileKnowledgeが作成したMK UWB Connectを使用できます。AndroidスマートフォンではGoogle Playから、iPhoneではApp Storeから入手できます。アプリにはRanging、Distance Alert、Trackerなどのデモモードがあり、SR250 Nearby Interactionアクセサリとの測距を試すことができます。 iPhoneでは、MK UWB ConnectのほかにNXP Trimensions ARも使用できます。NXP Trimensions ARもMK UWB ConnectのTrackerデモも、UWB測距とARKit利用して、SR250アクセサリとの距離や位置関係をAR画面上で表示します。ARKitを使用するため、起動時にはアプリから姿勢キャリブレーションを案内されます。画面の指示に従って、スマートフォンを動かしてください。 Android:MK UWB Connect iPhone:MK UWB Connect または NXP Trimensions AR 対応端末:UWB対応スマートフォン iPhone:iPhone 11以降 (iPhone SE (第3世代)、iPhone 16eおよび17eを除く) Android:Google Pixel Proシリーズ、Samsung Galaxy S21+~S26シリーズ、AQUOS RシリーズのR8世代以降など その他の対応端末は、UWB対応モバイル端末一覧をご参照ください。   MK UWB Connectを動かしたときの画面は、NXP Application Code Hub: UWB Nearby Interaction with phonesで確認できます。 iPhoneでNXP Trimensions ARを動かしたときは以下のような画面で、SR250ボードまでの距離と方向が表示されます。 まとめ   今回は2つのルートでUWB測距デモを実際に動かしました。 Aルート (PnP):Pythonスクリプトを実行するだけで手軽にUWB測距が確認できます。 viki_SR250.pl  を使えばUCIログの詳細解析も可能です。 Bルート (Zephyr SDK):pre-builtバイナリを使えばビルドなしで、Zephyr SDKでビルドすればソースコードを変更しながら、BLEを活用したスマートフォンとの測距が可能です。スマートフォン側では、Android・iPhoneに対応した MK UWB Connect アプリを使用します。 次回はSR250のもう一つの機能、UWBレーダーによるオンチップ存在検知 (OCPD) デモを試してみます。 参考リンク Trimension SR250 製品ページ (日本語) SR250 評価ボード (TRIMENSION-SR250) SR250 UCI仕様書 (UM12508) SR250 UWBIoT for Zephyr OS (GitHub) Making UWB Plug and Play with Trimension SR250 (トレーニング動画) ========================= 本投稿の「Comment」欄にコメントをいただいても、現在返信に対応しておりません。 お手数をおかけしますが、お問い合わせの際には「NXPへの技術質問 - 問い合わせ方法 (日本語ブログ)」をご参照ください。 (既に弊社NXP代理店、もしくはNXPとお付き合いのある方は、直接担当者へご質問いただいてもかまいません。) 第3回では、第2回で構築した環境を使って、いよいよUWB測距デモを動かします。2台のSR250 UWB SHIELDによるボード間測距に加え、Zephyr SDKルートではBLEで接続したUWB対応スマートフォンとの測距も試します。PnPルートとZephyr SDKルートの2通りを解説します。 (作業時間:環境構築済みなら最短10分) 日本語ブログ
View full article
使用 NXP Trimension® SR250 开始使用 UWB - 第 3 部分:试用 UWB 距离演示(日语博客) 介绍   在第二部分中,我们将介绍 SR250 评估板( SR250UWBSHIELD )的设置方法,特别是 A。PnP(即插即用)Root 和 B。本文档介绍了设置 Zephyr SDK 根环境的两种方法。 这次,我们将正式进行UWB测距演示。我们将继续使用A、B两条不同的路径来讲解演示过程。如果您尚未完成环境设置,请先查看第二部分。 使用智能手机进行UWB距离测量将采用方案B。首先,我们将介绍如何在不使用Zephyr SDK的情况下尝试使用预编译的二进制文件,然后我们将解释如何使用Zephyr SDK构建Nearby演示程序。使用预编译版本时,无需构建Zephyr SDK,并且可以按照PnP方案第二部分中介绍的步骤,将固件写入RW612。 第一 UWB基础知识及SR250概述 第二次 设置 SR250 评估板 (SR250UWBSHIELD) 第三部分(本文) 我们来试试超宽带测距。 第四 试试超宽带雷达。 示威活动的总体情况 UWB测距需要通信伙伴设备。在本演示中, 其中一块板充当控制器,负责处理 UWB 会话的调度和定时控制,同时充当发起者来启动距离测量。 另一块板充当控制器接收方,遵循控制器的指令,并充当响应方,返回响应数据包。 除了使用两块电路板之外,您还可以使用支持 UWB 的智能手机作为另一台设备(参见路线 B)。 对于使用“A. PnP 途径”的用户,请点击此处。 对于使用“B. Zephyr SDK 途径”的用户,请点击此处。 A. PnP 路线   GitHub: SR250 UWB 即插即用应用程序 Simple_demos 文件夹概要   PnP 演示仓库中的 Simple_demos\ 文件夹包含以下文件: 文件名 内容 UartInterface.py 一个概括串行通信基本处理的模块。 这是所有演示脚本中通用的。 UwbConfig.py 用于配置 UWB 会话参数(信道、时间等)的模块。 与第二节课中使用 Zephyr SDK root 编写的校准演示类似,设备校准值也在此文件中设置。 各种演示脚本 demo_ranging.py 这是主要演示,演示如何使用 DS-TWR(双面双向测距)测量两个板之间的距离。 demo_radar_ocpd.py :片上存在检测 (OCPD) 演示。 demo_radar_raw.py :演示如何从 CIR(信道脉冲响应)获取原始数据。 *有关雷达相关(ocpd/radar_raw)演示的详细信息将在下一篇文章中介绍。 viki_SR250.pl 用于解码 UCI 数据包的 Perl 脚本。用于详细的日志分析。 要使用此功能,必须安装 Perl。在 Windows 系统上,请安装 Strawberry Perl 或类似程序,然后在命令提示符中运行 perl -v 以确认显示 Perl 版本(即 Perl 已安装且 PATH 环境变量已设置)。   这次,我们来尝试一下用于距离测量的 demo_ranging.py 演示。   检查 COM 端口   将开发板连接到电脑的 USB 端口,并检查 COM 端口号。有关如何检查端口号的说明,请参阅第 2 部分。   启动测距演示   与第二部分一样,我们将使用 Windows 电脑上的命令提示符。打开两个命令提示符窗口,并在执行命令前将每个命令中的 COM 端口号替换为您开发板的 COM 端口号。波特率将由脚本自动设置,因此您无需指定。   控制器端(例如,COM3): python demo_ranging.py COM3 controller 受控端(例如,COM4): python demo_ranging.py COM4 controlee   检查执行日志   运行脚本后,日志会开始输出到终端。你可以按 Ctrl+C 停止输出。 日志中可能充斥着十六进制字符串,乍一看很难判断距离测量是否正常工作。这些是UWB设备和主机之间交换的UCI数据包的原始数据。UCI将在下一节中进行解释。   什么是UCI (UWB命令接口) ?   UCI是由FiRa联盟开发的一种主机与UWB设备之间的标准命令接口。它包含三种类型的消息:命令、响应和通知。 我们刚刚运行的 Python 脚本会在后台向开发板发送 UCI 命令,并接收来自开发板的 UCI 响应和通知。距离测量结果以 UCI 通知的形式返回,但默认的 Python 脚本不会对其进行解码,因此发送和接收的 UCI 数据包会以原始十六进制数据的形式显示。   如何读取 UCI 日志   首先,我们来看一个包含距离测量结果的 UCI 通知示例。 NXPUCIR <= 62 00 00 38 30 00 00 00 01 00 00 80 00 c8 00 00 00 01 00 00 00 00 00 00 00 00 00 00 01 11 11 00 00 30 00 85 f9 00 09 FC 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 00 UCI 数据包以小端序格式读取多字节值。在本例中,前四个字节是数据包头部。 62 00 00 38 这表明它是一条通知,消息类型为 0x38,有效载荷长度为 56 字节。 30 00 00 00 这是会话序列号。 01 00 00 80 这是用于标识 UWB 会话的会话句柄。 c8 00 00 00 :表示距离测量间隔为 0x000000C8 = 200 ,200毫秒。 01 采用双向测距(TWR)作为距离测量方法。 01 这表示该通知包含一个距离测量结果。 在以下测距结果字段中, 11 11 是另一台设备的短 MAC 地址, 00 表示测距成功, 00 表示视距 (LoS) 连接。最后, 30 00 是距离字段。以小端字节序读取时,它变为 0x0030 = 48 ,因此该数据包的测距结果为48 厘米。   如果您只想查看距离测量结果(如本例所示),也可以直接在 Python 脚本中添加一个函数来提取距离测量结果,而无需使用 viki_SR250.pl 来解码整个 UCI 数据包(如下一节所述)。例如,将以下回调函数添加到 demo_ranging.py 中。 ntf[0] 表示距离测量状态, ntf[2] 和 ntf[3] 表示距离数据。 def extract_ranging(id, ntf): 如果 ntf[0] == 0: distance = int(ntf[2] + (ntf[3] << 8)) print(f"设备 {id}:距离 = {distance} 厘米")   接下来,我们将 extract_ranging 作为关键字参数传递给接收线程 demo_ranging.py 。 read_thread = Thread( target=UartIntf.read_from_serial_port,kwargs={"extract_ranging": extract_ranging} ) read_from_serial_port() 接收到的距离测量通知会传递给该函数,因此每次距离测量成功时,距离都会实时显示,例如 Device 0: dist = 48 cm 。   viki_SR250.pl 解码   如果要详细分析整个 UCI 数据包,请使用 viki_SR250.pl 。 viki_SR250.pl 会解码 UCI 数据包的每个字段,使您可以查看会话状态转换和每个数据包的详细信息。使用此功能需要安装 Perl。 python -u demo_ranging.py COM3 controller | perl viki_SR250.pl   UCI 的每个字段都会被解码,从而可以查看会话状态转换和每个数据包的详细信息。 B. Zephyr SDK 路线   标准距离测量演示:控制器和被控制器演示   使用 Zephyr SDK 的距离测量演示程序也适用于控制器/被控对象配置。需要为两个开发板分别构建不同的固件并写入其中。 首先,只连接一块板子,并构建和烧录控制器固件。 west build -b frdm_rw612 -p auto uwbiot-top\demos\common\demo_ranging_controller\zephyr west flash 💡 如果您自上次构建以来更改了构建选项,则可能会遇到错误。请尝试删除 sr250-uwbiot-zephyr\build 文件夹,或者先尝试全新构建。 移除已写入 Controller demo 的电路板,连接另一块电路板,然后构建并写入 Controlee 固件。 west build -b frdm_rw612 -p auto uwbiot-top\demos\common\demo_ranging_controlee\zephyr west flash   将已写入控制器演示程序的开发板重新连接,并启动两个终端程序。将速率设置为 3Mbps,连接相应的 COM 端口,然后开始测量开发板之间的距离,如下方日志所示。 测量智能手机与目标距离:附近演示   方案 B 使用 BLE 作为连接起点,从而能够使用兼容 UWB 的智能手机进行距离测量。本演示中使用的应用程序名称为demo_nearby_interaction 。“Nearby”一词源自苹果公司为 iOS 开发的“ Nearby Interaction ”框架以及安卓系统的“ Nearby ”API。这些 API 由操作系统供应商提供,用于使用 UWB 进行短距离交互。 在 Nearby 演示中,并非一开始就使用 UWB 通信,而是首先使用 BLE 来发现并连接对方,并交换 UWB 测距所需的信息。这是因为智能手机的 UWB 功能设计为仅在完成这些初步连接和设置后才启动测距会话。此外,由于 BLE 在发现和连接对方方面比 UWB 更节能,因此可以通过不持续运行 UWB,仅在必要时才启动 UWB 测距来降低功耗。测距过程按以下顺序开始: 使用蓝牙低功耗技术将 SR250 板和您的智能手机连接起来。 通过 BLE 交换 UWB 测距所需的会话信息和配置信息,确保双方的测距条件一致。 根据交换的信息,将启动 UWB 会话,并使用 UWB 执行 DS-TWR 距离测量。 简而言之,BLE 用于连接和准备 UWB 测距,而实际的距离测量则使用 UWB 进行。   只需一套开发板和一部兼容 UWB 的智能手机即可体验 Nearby 演示。我们将介绍两种方法:一种是使用预编译二进制文件轻松体验,另一种是如果需要,如何使用 Zephyr SDK 构建应用程序。   方法一:尝试使用预编译的二进制文件。   您可以使用预编译的二进制文件轻松试用 Nearby 演示,而无需使用 Zephyr SDK 进行构建。如果您只是想检查它是否有效,这是一种便捷的方法。 有关说明和所需文件,请参阅 GitHub 上的NXP 应用代码中心:UWB 近距离交互(与手机交互) 。从代码库下载并解压 UWB Trimension SR250 近距离交互演示应用包,然后运行 program_FRDM-RW612.bat 来刷写固件。刷写操作与 PnP 路线第二部分中“步骤 1:刷写 RW612 PnP 固件”的步骤相同;使用按钮进入 ISP 模式,然后执行批处理文件。   方法二:使用 Zephyr SDK 构建   要修改源代码或更详细地检查应用程序的行为,请使用 Zephyr SDK 构建 Nearby 演示。   Nearby Interaction固件构建和刷写: west build -b frdm_rw612 -p auto uwbiot-top\demos\SR2XX\demo_nearby_interaction\zephyr west flash   两种方法写入固件后,通过终端软件连接设备都会输出类似如下的日志,设备将进入BLE广播模式。启动智能手机应用程序后,BLE连接建立,UWB距离测量日志将开始输出。 智能手机应用   在智能手机方面,合作伙伴是 您可以使用由MobileKnowledge开发的MK UWB Connect应用。该应用可在 Google Play(适用于安卓智能手机)和 App Store(适用于 iPhone)下载。该应用包含多种演示模式,例如测距、距离警报和追踪器,方便您使用 SR250 Nearby Interaction 配件体验距离测量功能。 在 iPhone 上,除了MK UWB Connect之外,您还可以使用NXP Trimensions AR。NXP Trimensions AR 和 MK UWB Connect Tracker 演示程序均使用 UWB 测距和 ARKit 技术,在 AR 屏幕上显示与 SR250 配件的距离和位置关系。由于使用了 ARKit,该应用程序会在启动时引导您进行姿态校准。请按照屏幕上的说明移动您的智能手机。 Android : MK UWB Connect iPhone : MK UWB Connect或NXP Trimensions AR 兼容设备:支持UWB的智能手机 iPhone :iPhone 11 及更新机型(不包括 iPhone SE(第三代)、iPhone 16e 和 17e) Android :Google Pixel Pro 系列、三星 Galaxy S21+ 至 S26 系列、 AQUOS R 系列 R8 代及更新机型等。 对于其他兼容设备,请参阅UWB 兼容移动设备列表。   您可以在NXP 应用代码中心运行 MK UWB Connect 时查看屏幕:UWB Nearby Interaction with phones 。 当您在 iPhone 上运行 NXP Trimensions AR 时,以下屏幕将显示到 SR250 板的距离和方向。 总结   这次,我们实际上使用了两条不同的路线进行 UWB 测距演示。 路线 A(即插即用) :您只需运行一个 Python 脚本即可轻松检查 UWB 距离测量结果。使用 viki_SR250.pl ,您还可以对 UCI 日志进行详细分析。 方案 B(Zephyr SDK) :使用预编译的二进制文件,无需自行编译即可通过智能手机使用 BLE 进行距离测量;而使用 Zephyr SDK 编译则允许修改源代码。在智能手机端,请使用 MK UWB Connect 应用,该应用兼容 Android 和 iPhone。 下次,我们将尝试 SR250 的另一个功能:使用 UWB 雷达进行片上存在检测 (OCPD) 演示。 参考链接 Trimension SR250 产品页面(日语) SR250 评估板 (TRIMENSION-SR250) SR250 UCI 规范 (UM12508) SR250 UWBIoT for Zephyr OS(GitHub) 使用 Trimension SR250 实现 UWB 即插即用(培训视频) ========================= 即使您在本文的“评论”栏留言,我们目前也无法回复。 给您带来不便,我们深感抱歉。请在询问时参阅“NXP技术问题-联系方式(日本博客)”。 (如果您已经是NXP的代理商或与其有合作关系,可以直接向负责人咨询。) 在第三节课中,我们将使用第二节课中搭建的环境,最终运行UWB距离测量演示。除了使用两个SR250 UWB扩展板测量电路板之间的距离外,我们还将尝试使用通过BLE连接的UWB兼容智能手机,并采用Zephyr SDK方案进行距离测量。我们将分别讲解即插即用(PnP)方案和Zephyr SDK方案。 (预计时间:如果环境已经设置好,最快只需 10 分钟) 日本博客
View full article
Getting Started with UWB Using NXP Trimension® SR250 - Part 3: Trying Out a UWB Distancing Demo (Japanese Blog) Introduction   In the second part, we will cover the setup method for the SR250 evaluation board ( SR250UWBSHIELD ), specifically A. PnP (Plug and Play) Root and B.This document explains the two methods for setting up the Zephyr SDK root environment. This time, we will finally run the UWB ranging demonstration. We will continue to explain the demonstration process using two separate routes, A and B. If you haven't finished setting up your environment yet, please check out Part 2 first. UWB distance measurement with a smartphone will be handled using Route B. First, we will introduce how to try using a pre-built binary without building with the Zephyr SDK, and then we will explain how to build the Nearby demo with the Zephyr SDK. With the pre-built version, building the Zephyr SDK is not necessary, and writing the firmware to the RW612 can be done in the same way as the procedure explained in the second part on the PnP route. 1st Basics of UWB and an overview of the SR250 2nd time Setting up the SR250 evaluation board (SR250UWBSHIELD) Third installment (this article) Let's try UWB ranging. 4th Try out UWB radar. The overall picture of the demonstration UWB ranging requires a communication partner device. In this demonstration, One board acts as the Controller , handling scheduling and timing control for the UWB session, while simultaneously acting as the Initiator to start distance measurement. The other board acts as the Controlleree , following the Controller's instructions, and as the Responder , it returns response packets. Instead of using two boards, you can also use a UWB-compatible smartphone as the other device (see Route B). For those using the "A. PnP route," please click here. For those using the "B. Zephyr SDK route," please click here. A. PnP Route   GitHub: SR250 UWB Plug-and-Play Application Summary of the Simple_demos folder   The Simple_demos\ folder in the PnP demo repository contains the following files: file name Content UartInterface.py A module that summarizes the basic processing of serial communication. This is used in common across all demo scripts. UwbConfig.py A module for configuring UWB session parameters (channel, timing, etc.). Similar to the calibration demo written using the Zephyr SDK root in the second session, the device calibration values are also set in this file. Various demo scripts demo_ranging.py This is the main demo, demonstrating distance measurement between two boards using DS-TWR (Double-Sided Two-Way Ranging). demo_radar_ocpd.py : On-Chip Presence Detection (OCPD) demo. demo_radar_raw.py : A demonstration of obtaining raw data from CIR (Channel Impulse Response). *Details about the radar-related (ocpd/radar_raw) demo will be covered in the next article. viki_SR250.pl A Perl script for decoding UCI packets. Used for detailed log analysis. Perl must be installed to use this feature. On Windows, install Strawberry Perl or a similar program, then run perl -v in the command prompt to confirm that the Perl version is displayed (that Perl is installed and the PATH is set).   This time, let's try demo_ranging.py demo for distance measurement.   Check COM port   Connect the board to your PC's USB port and check the COM port number. Please refer to Part 2 for instructions on how to check the port number.   Launching Ranging Demo   As with the second installment, we will be using the command prompt on a Windows PC. Open two command prompt windows and replace the COM port number in each command with the COM port number of your board before executing them. The baud rate will be set automatically by the script, so you do not need to specify it.   Controller side (e.g., COM3): python demo_ranging.py COM3 controller Controlee side (e.g., COM4): python demo_ranging.py COM4 controlee   Checking the execution log   When you run the script, logs will start flowing to the terminal. You can stop it with Ctrl+C. The log may appear filled with hexadecimal strings, making it difficult to tell at first glance whether distance measurement is working or not. These are the raw data of UCI packets exchanged between the UWB device and the host. UCI will be explained in the next section.   What is UCI (UWB Command Interface) ?   UCI is a standard command interface between a host and a UWB device, developed by the FiRa Consortium. It consists of three types of messages: commands, responses, and notifications. The Python script we just ran sends UCI commands to the board in the background and receives UCI responses and notifications from the board. The distance measurement results are returned as UCI notifications, but the default Python script does not decode them, and the sent and received UCI packets are displayed as raw hexadecimal data.   How to read UCI logs   First, let's look at a UCI Notification that includes distance measurement results as an example. NXPUCIR <= 62 00 00 38 30 00 00 00 01 00 00 80 00 c8 00 00 00 01 00 00 00 00 00 00 00 00 00 00 01 11 11 00 00 30 00 85 f9 00 09 fc 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 00 UCI packets read multi-byte values in little-endian format. In this example, the first four bytes are the header. 62 00 00 38 This indicates that it is a notification, the message type, and the payload length (0x38 = 56 bytes). 30 00 00 00 This is the session sequence number. 01 00 00 80 This is the session handle that identifies the UWB session. c8 00 00 00 : Indicates a distance measurement interval of 0x000000C8 = 200 , 200 ms. 01 Two-Way Ranging (TWR) is set as the distance measurement method. 01 This indicates that this notification contains one distance measurement result. In the following range measurement result field, 11 11 is the short MAC address of the other device, followed by 00 which indicates successful range measurement, and then 00 which indicates line of sight (LoS). Finally, 30 00 is the distance field. When read in little-endian format, it becomes 0x0030 = 48 , so the range measurement result for this packet is 48 cm .   If you only want to check the distance measurement results, as in this case, you can also directly add a function to extract the distance measurement results into your Python script, instead of using viki_SR250.pl which decodes the entire UCI packet as explained in the next section. For example, add the following callback function to demo_ranging.py . ntf[0] is the distance measurement status, and ntf[2] and ntf[3] are the distance data. def extract_ranging(id, ntf): if ntf[0] == 0: distance = int(ntf[2] + (ntf[3] << 8)) print(f"Device {id}: dist = {distance} cm")   Next, we pass extract_ranging as a keyword argument to the receiving thread demo_ranging.py . read_thread = Thread( target=UartIntf.read_from_serial_port, kwargs={"extract_ranging": extract_ranging} ) read_from_serial_port() The received distance measurement notification is passed to this function, so each time the distance measurement is successful, the distance will be displayed in real time, for example, Device 0: dist = 48 cm .   viki_SR250.pl Decoded by   Use viki_SR250.pl if you want to analyze the entire UCI packet in detail. viki_SR250.pl decodes each field of the UCI packet, allowing you to see session state transitions and details of each packet. Perl must be installed to use this. python -u demo_ranging.py COM3 controller | perl viki_SR250.pl   Each field of the UCI is decoded, allowing you to view session state transitions and details of each packet. B. Zephyr SDK Route   Standard distance measurement demo: Controller and Controlleree demo   The distance measurement demo using the Zephyr SDK also works in a Controller/Controlee configuration. Different firmware is built and written to each of the two boards. First, connect only one board and build and flash the Controller firmware. west build -b frdm_rw612 -p auto uwbiot-top\demos\common\demo_ranging_controller\zephyr west flash 💡 If you have changed build options since the previous build, you may encounter errors. Try deleting the sr250-uwbiot-zephyr\build folder or try a pristine build first. Remove the board with the Controller demo written to it, connect the other board, and then build and write the Controlee firmware. west build -b frdm_rw612 -p auto uwbiot-top\demos\common\demo_ranging_controlee\zephyr west flash   Reconnect the board with the Controller demo written to it, and start two terminal programs. With the settings at 3Mbps, connect the respective COM port numbers, and the distance measurement between the boards will begin as shown in the log below. Measuring distance from a smartphone: Nearby demo   Route B uses BLE as the connection starting point, enabling distance measurement with UWB-compatible smartphones. The application name used in this demo is demo_nearby_interaction . The name "Nearby" comes from Apple's " Nearby Interaction " framework for iOS and Android's " Nearby " API. These are APIs provided by OS vendors for short-range interactions using UWB. In the Nearby demo, instead of communicating via UWB from the start, BLE is first used to discover and connect to the other party and exchange information necessary for UWB ranging. This is because smartphone UWB is designed to start the ranging session only after these preliminary connections and settings are completed. Also, since BLE is more power-efficient than UWB for discovering and connecting to the other party, power consumption can be reduced by not running UWB constantly and only starting UWB ranging when necessary. The ranging starts in the following order: Connect the SR250 board and your smartphone using BLE. Session information and configuration information necessary for UWB ranging are exchanged via BLE, ensuring that the ranging conditions are consistent for both parties. Based on the exchanged information, a UWB session will be started, and DS-TWR distance measurement will be performed using UWB. In short, BLE is used for connection and preparing for UWB ranging, while the actual distance measurement is performed using UWB.   The Nearby demo can be tried with just one board set and a UWB-compatible smartphone. We will explain two methods: an easy way to try it with a pre-built binary, and how to build an application using the Zephyr SDK if needed.   Method 1: Try with a pre-built binary.   You can easily try out the Nearby demo using pre-built binaries instead of building with the Zephyr SDK. This is a convenient method if you just want to check if it works. For instructions and required files, please refer to NXP Application Code Hub: UWB Nearby Interaction with phones on GitHub. Download and extract the UWB Trimension SR250 Nearby Interaction Demo application package from the repository, and run program_FRDM-RW612.bat to flash the firmware. The flashing operation follows the same procedure as "Step 1: Flashing RW612 PnP firmware" explained in Part 2 of the PnP route; enter ISP mode using the buttons and then execute the batch file.   Method 2: Build with Zephyr SDK   To modify the source code or examine the application's behavior in more detail, build the Nearby demo with the Zephyr SDK.   Nearby Interaction firmware build and flashing: west build -b frdm_rw612 -p auto uwbiot-top\demos\SR2XX\demo_nearby_interaction\zephyr west flash   In both methods, after writing the firmware, connecting with terminal software will output logs similar to the following, and the device will enter BLE advertising mode. When you launch the smartphone app, the BLE connection will be established, and UWB distance measurement logs will begin to flow. Smartphone app   On the smartphone side, the partner is You can use MK UWB Connect , created by MobileKnowledge . It's available from Google Play for Android smartphones and from the App Store for iPhones. The app includes demo modes such as Range, Distance Alert, and Tracker, allowing you to try out distance measurement with the SR250 Nearby Interaction accessory. On iPhones, you can use NXP Trimensions AR in addition to MK UWB Connect . Both NXP Trimensions AR and the MK UWB Connect Tracker demo use UWB ranging and ARKit to display the distance and positional relationship with SR250 accessories on the AR screen. Because ARKit is used, the app will guide you through attitude calibration upon startup. Please move your smartphone according to the on-screen instructions. Android : MK UWB Connect iPhone : MK UWB Connect or NXP Trimensions AR Compatible devices : UWB-compatible smartphones iPhone : iPhone 11 and later (excluding iPhone SE (3rd generation), iPhone 16e and 17e) Android : Google Pixel Pro series, Samsung Galaxy S21+ to S26 series, AQUOS R series R8 generation and later , etc. For other compatible devices, please refer to the list of UWB-compatible mobile devices .   You can view the screen when running MK UWB Connect at NXP Application Code Hub: UWB Nearby Interaction with phones . When you run NXP Trimensions AR on your iPhone, the following screen will display the distance and direction to the SR250 board. summary   This time, we actually ran the UWB ranging demonstration using two different routes. Route A (PnP) : You can easily check UWB distance measurement by simply running a Python script. Using viki_SR250.pl , you can also perform detailed analysis of UCI logs. Route B (Zephyr SDK) : Using the pre-built binary allows for distance measurement with a smartphone using BLE without building, while building with the Zephyr SDK allows for modification of the source code. On the smartphone side, use the MK UWB Connect app, which is compatible with Android and iPhone. Next time, we'll try out another feature of the SR250: an on-chip presence detection (OCPD) demonstration using UWB radar . Reference links Trimension SR250 Product Page (Japanese) SR250 Evaluation Board (TRIMENSION-SR250) SR250 UCI Specification (UM12508) SR250 UWBIoT for Zephyr OS (GitHub) Making UWB Plug and Play with Trimension SR250 (Training Video) ========================= We are currently unable to respond to comments left in the "Comment" section of this post. We apologize for the inconvenience, but please refer to " Technical Questions to NXP - How to Contact Us( Japanese Blog) " when making an inquiry. (If you are already an NXP distributor or have a relationship with NXP, you may ask your representative directly.) In the third session, we will finally run the UWB distance measurement demo using the environment we built in the second session. In addition to measuring distance between boards using two SR250 UWB SHIELDs, we will also try measuring distance with a UWB-compatible smartphone connected via BLE using the Zephyr SDK route. We will explain both the PnP route and the Zephyr SDK route. (Estimated time: as little as 10 minutes if the environment is already set up) Japanese Blog
View full article
Connecting LCD_PAR_S035 to the U-blox IRIS-W1 EVK Using the 8080 8-bit Interface The LCD_PAR_S035 can be interfaced with the U-blox IRIS-W1 EVK using the 8080 8-bit parallel interface. Enabling this configuration requires a combination of GPIO routing, jumper wiring, and two resistor population changes on the EVK. The reason for this additional wiring is that the signals required by the LCD's 8080 interface are distributed across multiple expansion connectors on the EVK. Additionally, the CS (Chip Select) and DC (Data/Command) signals are not routed by default to the required GPIOs and must be reassigned through resistor rework. Without these modifications, the LCD controller cannot be properly controlled by the IRIS-W1 device when operating in 8080 parallel mode.   Signal Mapping The following GPIO assignments have been verified for operation with the LCD_PAR_S035:   GPIO56 -> CS Available on J48 after removing R263 and populating R264 GPIO57 -> DC Available on J48 after removing R265 and populating R266 GPIO54 -> WR Available on J43 by default GPIO48 -> RD Available on J44 by default GPIO44 -> RST Available on J3 by default GPIO45 -> TE Available on J4 by default GPIO53 -> D7 Available on J43 by default GPIO52 -> D6 Available on J44 by default GPIO51 -> D5 Available on J43 by default GPIO49 -> D4 Available on J43 by default GPIO47 -> D3 Available on J43 by default GPIO46 -> D2 Available on J48 by default GPIO43 -> D1 Available on J4 by default GPIO42 -> D0 Available on J3 by default GPIO17 -> I2C_SCL Available on J47 by default GPIO16 -> I2C_SDA Available on J10 by default Required Hardware Rework Two routing modifications are required to expose the LCD control signals through the desired GPIOs: CS Signal Routing:   Remove : R263 Populate : R264  DC Signal Routing: Remove : R265 Populate : R266 Populate:   Remove: LCD Configuration The LCD module must be configured for 8080 8-bit parallel mode before power-up. The interface selection switch located on the back of the LCD_PAR_S035 should be set to: 110     Incorrect switch settings will prevent communication between the display controller and the IRIS-W1. Software Configuration After completing the hardware setup, any compatible LVGL example from the SDK can be used as a starting point. The selected project must use a flash configuration that matches the flash device populated on the target hardware. Reference flash configurations are available in the following repository: https://github.com/u-blox/u-blox-sho-OpenCPU/tree/master/MCUXpresso/IRIS-W1/sw_config/flash_config Reference Design Files Additional information regarding connector locations, GPIO routing, resistor options, and board-level implementation can be found in the EVK design package: https://github.com/u-blox/evk_designs_sho_altium/tree/main/EVK-IRIS-W10/Deliverables Summary Enabling the LCD_PAR_S035 on the U-blox IRIS-W1 EVK through the 8080 8-bit interface requires: Configuring the display for 8080 8-bit mode (switch setting 110 ). Reworking resistor populations for CS and DC routing. Connecting the LCD control and data signals according to the GPIO mapping listed above. Selecting the appropriate flash configuration for the target hardware. Using an LVGL-based application to validate display operation. This configuration provides direct access to the LCD through the parallel interface and serves as a useful reference for graphics evaluations and GUI development on the IRIS-W1 platform. Results: FRDM-RW612
View full article
8MNANOLPD4-EVK 的 Altium 文件或 MIMX8MN6CVTIZAA 的原理图符号/封装 您好, 我能否获得最新的 Altium 项目文件,或者可以导入 Altium 的格式文件? 顺祝商祺! 8MNANOLPD4-EVK MIMX8MN6CVTIZAA Re: Altium files for 8MNANOLPD4-EVK or Schematic Symbol/Footprint for MIMX8MN6CVTIZAA 你好,以色列, 我可以获取可导入到 Altium 的电路板文件吗? 此致, 糟糕。 Re: Altium files for 8MNANOLPD4-EVK or Schematic Symbol/Footprint for MIMX8MN6CVTIZAA 你好@Stefano_Allegri , 您应该提交一个工单,请使用以下链接: https://support.nxp.com 此致, 以色列。 Re: Altium files for 8MNANOLPD4-EVK or Schematic Symbol/Footprint for MIMX8MN6CVTIZAA 你好,以色列, 我将开发一款新板,并以 8MNANOLPD4-EVK 作为参考设计,请问如何获取该板的 Altium 文件(原理图和布局图)? Re: Altium files for 8MNANOLPD4-EVK or Schematic Symbol/Footprint for MIMX8MN6CVTIZAA 嗨@Sal2020 , 我已将文件直接发送到您的邮箱。 此致, 以色列。
View full article
RW612 的 32.768kHz 晶体 你好, 我目前正在进行一个PCB设计项目,其中包括来自u-blox的IRIS-W10模块,该模块内部有一个RW612芯片。这是我第一个使用恩智浦MCU的设计。 我不太确定应该如何设计RTC外部晶振的电路。根据其他MCU(例如STM32)的经验,我知道它们需要在晶振的两个引脚上都连接一个外部负载电容。但对于 NXP MCU 来说,似乎有些型号具有内部可配置的负载电容。在 RW612 寄存器列表中,我偶然发现了 RTC CTRL 寄存器,特别是字段 RTC_OSC_LOADCAP。在我看来,这表明该 MCU 实际上具有内部负载电容,但我找不到任何关于此领域的文档。 所以我的问题是:要在该寄存器中设置一个特定的电容值,位格式是什么? 产品:WiFi RW6XX Re: 32.768kHz Crystal for RW612 以下是 32k 晶振的相关寄存器。RTC_OSC_LOADCAP 寄存器看起来很神秘,因为它可能不适用于此产品。 Re: 32.768kHz Crystal for RW612 感谢您的回复。 RTC晶体的结构似乎分为两个部分。你给我看的那个是PMU的。让我头疼的是RTC部分。 从下面的屏幕截图中可以看到,没有外部电容,但我也没有看到任何内部电容。 在这张截图中,你可以看到我在问题中提到的那个具体的寄存器。 你说的可能是对的,这个 MCU 根本没有内部电容,但如果是这样,RTC_OSC_LOADCAP 字段在寄存器文档中就不应该可见。 另一方面,FRDM-RW612 的这款晶体电路出厂时没有负载电容。 Re: 32.768kHz Crystal for RW612 嗨@Niwo ,希望你一切都好。 请问您是否已经选定了32kHz的晶体?这一点很重要,因为每个晶体都需要其数据手册中定义的特定负载电容。 此外,强烈建议与晶体制造商合作,确定晶体电路周围的合适特性。 Re: 32.768kHz Crystal for RW612 你好@RomanVR , 感谢您的反馈, 我还没订购任何零件,但我打算用这个: https://eu.mouser.com/de/ProductDetail/ECS/ECS-.327-6-16-TR3?qs=A6eO %2BMLsxmSq6P7XbVvfvw% 3D%3D 顺祝商祺! Re: 32.768kHz Crystal for RW612 @Niwo你好,很抱歉回复晚了。 根据共享的晶体数据手册,所需的负载电容为 12pF,因此应以此作为配置任何外部电路的指导,并与晶体制造商进一步分析以获得最佳性能建议。 关于上述寄存器,它不应用于配置外部晶体负载电容,这一意见已提交给相关团队采取进一步行动。对于 XTAL32K 功能和晶体相关要求,UM11865 的第 10 章是正确的参考资料。 希望这能帮到你! Re: 32.768kHz Crystal for RW612 你好@RomanVR , 我想对文档提出一些修改建议,我认为这将使其他人更容易理解 32.768kHz 晶体的设计: 从 RM00278 和 MCUXpressoSDK 驱动程序中移除 RTC CTRL 寄存器中的 RTC_OSC_LOADCAP 字段 在 UM11865 的图 71 中添加外部负载电容,或者更好的是,在第 10 章中添加一个原理图,显示晶体和负载电容连接到 GPIO[22] 和 GPIO[23]。 在 UM11865 的第 10 章第 2 节中,我不明白“外部电容:18 pF”应该告诉读者什么。请详细说明一下。 希望我的反馈对您有所帮助。 顺祝商祺!
View full article
工具在 VS Code 中安装失败 您好,NXP, 我尝试在 VS Code 中安装配置工具和安全配置工具,但都失败了。 您能帮忙检查一下并提供一些修复建议吗? 非常感谢。 VS Code 版本:1.120.0 回复: Tools are failed to install in VS Code 嗨,哈里, 知道了。 谢谢 。 回复: Tools are failed to install in VS Code 嗨@jimmyli 作为替代方案,我建议分别下载并安装 MCUXpresso 配置工具和 MCUXpresso 安全配置工具。 请使用Windows系统的默认安装路径安装这两个工具。安装完成后,重启 VS Code。这样一来,MCUXpresso for VS Code 扩展程序应该能够自动检测已安装的工具,从而有助于避免您目前遇到的安装/检测错误。 MCUXpresso 配置工具 | 面向恩智浦微控制器 (MCU) 的软件开发 | 恩智浦半导体 MCUXpresso 安全配置工具 | 恩智浦半导体 BR 哈里
View full article
QEMU support for S32 series boards I am looking to use qemu to speed up ci/cd and testing for S32 automotive processors for a project. I am having trouble getting the SDK access.  2 questions: 1. is this allowed? I can't figure out if they want me to sign NDAs or whats the process. 2. whether its allowed or not how can I get an SDK? seems to be public but also blocked?? which seems counter intuitive to getting a hassle for the process of making accounts to acess this and won't tell me what I need. Re: QEMU support for S32 series boards Hello, @enough_ahnaf  Thanks for your reply. I have the following suggestions for your issue: 1. If you have any contact information with NXP repsentative,  you can reach out to them to request access 2. If not, you may create a support case via support.nxp.com to obtain further support. BR Chenyin Re: QEMU support for S32 series boards I don't even have that category. That's what I have been wanting to find out why? Seems its different access not public? Re: QEMU support for S32 series boards Hello, @enough_ahnaf  Thanks for your reply. You may try applying S32N5 SDK via the following URL BR Chenyin Re: QEMU support for S32 series boards S32 N5 SDK Re: QEMU support for S32 series boards Hello, @enough_ahnaf  Thanks for the post. May I know which SDK you were referring to? S32G or other SOC? BR Chenyin
View full article
Altium files for 8MNANOLPD4-EVK or Schematic Symbol/Footprint for MIMX8MN6CVTIZAA Hi, Could I get the last Altium project files or the files in a format importable into Altium? Best Regards, 8MNANOLPD4-EVK MIMX8MN6CVTIZAA Re: Altium files for 8MNANOLPD4-EVK or Schematic Symbol/Footprint for MIMX8MN6CVTIZAA Hi Israel, Can i get the files of the board that is importable to altium. Regards, Dangy. Re: Altium files for 8MNANOLPD4-EVK or Schematic Symbol/Footprint for MIMX8MN6CVTIZAA Hi @Stefano_Allegri, You should open a ticket use the next ticket: https://support.nxp.com Regards, Israel. Re: Altium files for 8MNANOLPD4-EVK or Schematic Symbol/Footprint for MIMX8MN6CVTIZAA Hi Israel, i will developper a new board and i will use 8MNANOLPD4-EVK for referance designe, how can i get the altium files of the board (schematics and layout)? Re: Altium files for 8MNANOLPD4-EVK or Schematic Symbol/Footprint for MIMX8MN6CVTIZAA Hi @Sal2020, I sent you the files directly to your mail. Regards, Israel.
View full article
QEMU对S32系列板卡的支持 我正在考虑使用 qemu 来加速 S32 汽车处理器的 CI/CD 和测试,用于一个项目。我无法获取SDK访问权限。 两个问题: 1. 这样做可以吗?我搞不清楚他们是不是要我签保密协议,也不知道具体流程是什么。 2. 无论是否允许,我该如何获取 SDK?它似乎是公开的,但又被屏蔽了?这似乎与创建帐户以访问它的过程相矛盾,而且它也不告诉我需要什么。 Re: QEMU support for S32 series boards 你好, @enough_ahnaf 谢谢你的回复。 针对您的问题,我有以下建议: 1.如果您有恩智浦代表的联系方式,您可以联系他们申请访问权限。 2. 如果以上方法均无效,您可以通过 support.nxp.com 创建支持案例以获得进一步支持。 BR 陈银 Re: QEMU support for S32 series boards 我甚至没有这个类别。我一直想知道为什么?似乎访问权限不一样,不是公开的? Re: QEMU support for S32 series boards 你好, @enough_ahnaf 感谢您的回复。 您可以尝试通过以下URL应用 S32N5 SDK BR 陈银 Re: QEMU support for S32 series boards S32 N5 SDK Re: QEMU support for S32 series boards 你好, @enough_ahnaf 感谢分享。 请问您指的是哪个SDK?S32G 或其他 SoC? BR 陈银
View full article
RW612用32.768kHz水晶発振子 こんにちは、 現在、u-bloxのIRIS-W10モジュールにRW612を内蔵したPCB設計プロジェクトに取り組んでいます。これはNXP MCUを使った初めてのデザインです。 RTC外部クリスタルの回路設計方法が迷っています。STM32などの他のMCUでは、水晶発振器のピン両方に外部負荷コンデンサが必要であることがわかっています。しかし、NXPのMCUの中には、内部で設定可能な負荷容量を備えているものもあるようだ。RW612レジスタリストで、RTC CTRLレジスタ、特にRTC_OSC_LOADCAPフィールドを見つけました。これはこのMCUに内部負荷上限があることを示していますが、この分野に関するドキュメントは見つかりませんでした。 SO 質問ですが、このレジスタで特定のコンデンサ値を設定するためのビットフォーマットは何でしょうか? 製品: WiFi RW6XX Re: 32.768kHz Crystal for RW612 以下は、32k XTALに関連するレジスタです。RTC_OSC_LOADCAPのレジスターはこの製品に当てはまらない可能性があるため謎のようです Re: 32.768kHz Crystal for RW612 ご返信よろしくお願いします。 RTC水晶発振器の構成は2つのセクションに分かれているようだ。あなたが見せてくれたのはPMUからのものです。私にとって頭痛の種はRTCセクションです。 下のスクリーンショットでは外部コンデンサは見当たりませんが、内部のコンデンサは見当たりません このスクリーンショットでは、私が質問で話していた特定のレジスターが見えます。 このMCUには内部コンデンサが全くないというあなたの言う通りかもしれませんが、もしそうならRTC_OSC_LOADCAPフィールドはレジスタのドキュメントに表示されないはずです。 一方、FRDM-RW612のこの水晶回路には、工場出荷時には負荷コンデンサが取り付けられていません。 Re: 32.768kHz Crystal for RW612 こんにちは、 @Niwo さん。お元気でお過ごしでしょうか。 すでに32kHzのクリスタルを選んでいるか確認していただけますか?これは重要な点で、各結晶はデータシートで定義された一定の負荷静電容量を必要とします。 また、水晶発振回路周辺の適切な特性を決定するためには、水晶発振器メーカーと連携して作業を進めることを強くお勧めします。 Re: 32.768kHz Crystal for RW612 こんにちは、 @RomanVR さん、 ご返信ありがとうございます。 まだ部品は注文していませんが、これを使おうと思っています。 https://eu.mouser.com/de/ProductDetail/ECS/ECS-.327-6-16-TR3?qs=A6eO %2BMLsxmSq6P7XbVvfvw% 3D%3D よろしくお願いいたします。 Re: 32.768kHz Crystal for RW612 こんにちは、 @Niwo さん。返信が遅れて申し訳ありません。 共有された結晶データシートによると、必要な負荷静電容量は12pFであるため、外部回路の構成時の指針とし、結晶メーカーと連携して最適な性能提案を検討するべきです。 前述のレジスタについては、外部結晶負荷静電容量の設定に使用すべきではありません。この点は適切なチームに提出され、さらなる対応が求められました。XTAL32Kの機能および水晶発振器関連の要件については、UM11865の第10章を参照してください。 お役に立てば幸いです! Re: 32.768kHz Crystal for RW612 こんにちは、 @RomanVR さん、 32.768kHzのクリスタルデザインに他の人が取り組みやすくなると思うドキュメントのいくつか変更点を提案したいと思います。 RM00278およびMCUXpressoSDKドライバからRTC CTRLレジスタのRTC_OSC_LOADCAPフィールドの削除 UM11865の図71に外部負荷コンデンサを追加するか、さらに良いのは10章に結晶と負荷コンデンサがGPIO[22]およびGPIO[23]にコネクテッドされていることを示す回路図を追加することです。 UM11865の第10章第2節にある「外部コンデンサ:18 pF」が読者に何を伝えようとしているのか理解できません。これについてもっと詳しく説明してください。 私のフィードバックがお役に立てば幸いです。 よろしくお願いいたします。
View full article
32.768kHz Crystal for RW612 Hello, I'm currently working on a PCB design project that includes an IRIS-W10 module from u-blox with an RW612 inside. This is my first design with an NXP MCU. I'm unsure, how I should design the circuit for the RTC external crystal. From other MCUs like STM32 I know they need an external load capacitor on both of the crystal pins. But for NXP MCUs it seems that some have internal configurable load caps. In the RW612 register list I stumbled upon the RTC CTRL register and in particular the field RTC_OSC_LOADCAP. To me this indicates that this MCU has in fact internal load caps, but I couldn't find any documentation on this field. So my question is: What is the bit-format to set a specific capacitor value in this register? Product: WiFi RW6XX Re: 32.768kHz Crystal for RW612 Here is the related register for 32k XTAL. The register for RTC_OSC_LOADCAP looks as a mystery since may not applicable to this product Re: 32.768kHz Crystal for RW612 Thank you for your reply. It seems that the configuration of the RTC crystal is split up into two section. The one you showed me is from the PMU. What causes me a headache is the RTC section. In the screen shot below you can see there are no external capacitors, but I don't see any internal caps eighter And in this screen shot you can see the particular register I was talking about in my question. You might be right that this MCU has no internal capacitors at all, but if so the RTC_OSC_LOADCAP field should not be visible in the register documentation. On the other hand this crystal circuit from the FRDM-RW612 has no load caps from factory. Re: 32.768kHz Crystal for RW612 Hi @Niwo, hope you are doing well. Could you please confirm if you have already selected a 32kHz crystal? This is important as each crystal requires a certain load capacitance defined in their datasheet. Also, it is strongly recommended to work along the crystal manufacturer to determine the proper characteristics around the crystal circuitry. Re: 32.768kHz Crystal for RW612 Hello @RomanVR, Thank you for your response. I haven't ordered any parts yet, but I intend to use this one: https://eu.mouser.com/de/ProductDetail/ECS/ECS-.327-6-16-TR3?qs=A6eO%2BMLsxmSq6P7XbVvfvw%3D%3D Best regards Re: 32.768kHz Crystal for RW612 Hi @Niwo, I apologize for the delay. As per the shared crystal datasheet, the required load capacitance is 12pF, hence this should be taken as guide to configure any external circuitry and further analyzed with the crystal manufacturer for optimal performance suggestions. Regarding the mentioned register, it should not be used to configure the external crystal load capacitance, this observation has been raised with the appropriate teams to take further action. For XTAL32K functionality and crystal-related requirements, Chapter 10 of UM11865 is the proper reference. Hope this helps! Re: 32.768kHz Crystal for RW612 Hello @RomanVR, I would like to suggest a few changes for the documentation that I think will make it easier for others to approach the design for the 32.768kHz crystal: Removal of the RTC_OSC_LOADCAP field in the RTC CTRL register from RM00278 and also from the MCUXpressoSDK drivers Add external load capacitors to figure 71 of UM11865 or even better add a schematic to chapter 10 that shows the crystal and load caps beeing connected to GPIO[22] and GPIO[23] In chapter 10 section 2 of UM11865 I don't understand what "External capacitor: 18 pF" should tell the reader. Please go into more detail about this I hope my feedback is helpful to you. Best regards
View full article
S32シリーズボードに対するQEMUサポート プロジェクトのために、S32 車載プロセッサのCI/CDやテストを高速化するためにQEMUを利用したいと考えています。SDKへのアクセスに問題があります。 2つの質問: 1. これは許可されていますか?NDAにサインしてほしいのか、それとも手続きがどうなのか分かりません。 2. 許可されているかどうかは、どうやってSDKを入手すればいいのか?公開されているのにブロックされているように見えます。これはアカウント作成の手続きに面倒がかかるのは直感に反しているように思えますし、必要なものも教えてくれません。 Re: QEMU support for S32 series boards こんにちは、 @enough_ahnaf ご返信ありがとうございます。 あなたの問題に対して、以下の提案があります。 1.もしNXP担当者のお問い合わせをお持ちであれば、アクセスを申請するために連絡を取ることができます 2. そうでない場合は、support.NXP.com を通じてサポートCASEを作成し、さらなるサポートを得ることができます。 BR チェイン Re: QEMU support for S32 series boards 私にはそのカテゴリーすらありません。それがずっと知りたかったことだよ、なぜ?アクセスが違うみたいで、公開されていない? Re: QEMU support for S32 series boards こんにちは、 @enough_ahnaf ご返信ありがとうございます。 以下のURLからS32N5 SDKを適用してみてください BR チェイン Re: QEMU support for S32 series boards S32 N5 SDK Re: QEMU support for S32 series boards こんにちは、 @enough_ahnaf 投稿ありがとうございます。 どのSDKsのことを言っているのか教えてもらえますか?S32Gまたは他のSoC? BR チェイン
View full article
8MNANOLPD4-EVK の Altium ファイル、または MIMX8MN6CVTIZAA の回路図シンボル/フットプリント こんにちは、 最後のAltiumプロジェクトのファイルや、Altiumにインポート可能な形式のファイルを入手できますか? よろしくお願いいたします。 8MNANOLPD4-EVK MIMX8MN6CVTIZAA Re: Altium files for 8MNANOLPD4-EVK or Schematic Symbol/Footprint for MIMX8MN6CVTIZAA こんにちは、イスラエルさん。 Altiumにインポート可能なボードのファイルを入手できますか? よろしくお願いいたします。 危険だ。 Re: Altium files for 8MNANOLPD4-EVK or Schematic Symbol/Footprint for MIMX8MN6CVTIZAA こんにちは、 @Stefano_Allegri さん。 チケットを開いてください。次のチケットを使用してください: https://support.nxp.com よろしくお願いいたします。 イスラエル。 Re: Altium files for 8MNANOLPD4-EVK or Schematic Symbol/Footprint for MIMX8MN6CVTIZAA こんにちは、イスラエルさん。 新しい基板を開発し、参照設計に8MNANOLPD4-EVKを使う予定ですが、基板のAltiumファイル(回路図とレイアウト)はどうやって入手できますか? Re: Altium files for 8MNANOLPD4-EVK or Schematic Symbol/Footprint for MIMX8MN6CVTIZAA こんにちは、 @Sal2020 さん。 ファイルを直接あなたのメールアドレスに送信しました。 よろしくお願いいたします。 イスラエル。
View full article
Tools are failed to install in VS Code Hi NXP,       I am trying to install config tool and secure provisioning tool in VS Code, but they are all failed.       Can you help to check and provide some tips to fix ?       Thanks very much.       VS Code ver: 1.120.0 回复: Tools are failed to install in VS Code Hi Harry,       Got it.       Thanks . 回复: Tools are failed to install in VS Code Hi @jimmyli  As a workaround, I would suggest downloading and installing the MCUXpresso Config Tools and MCUXpresso Secure Provisioning Tool separately. Please install both tools using their default installation paths on Windows. After the installation is complete, restart VS Code. The MCUXpresso for VS Code extension should then be able to detect the installed tools automatically, which should help avoid the installation/detection errors you are currently seeing. MCUXpresso Config Tools | Software Development for NXP Microcontrollers (MCUs) | NXP Semiconductors MCUXpresso Secure Provisioning Tool | NXP Semiconductors BR Harry
View full article
VS Code でツールのインストールに失敗しました こんにちは、NXPさん。 VS Code に構成ツールとセキュアプロビジョニングツールをインストールしようとしていますが、どちらも失敗します。 チェックを手伝って、修正するためのコツを教えてもらえますか? ありがとうございました。 VS Code バージョン: 1.120.0 回复: Tools are failed to install in VS Code こんにちは、ハリーさん。 わかった。 ありがとう 。 回复: Tools are failed to install in VS Code こんにちは、 @jimmyli 回避策として、MCUXpresso Config ToolsとMCUXpresso Secure Provisioning Toolをそれぞれ個別にダウンロードしてインストールすることをお勧めします。 Windowsでは、両方のツールをデフォルトのインストールパスを使用してインストールしてください。インストールが完了したら、VS Codeを再起動してください。MCUXpresso for VS Code拡張機能はインストール済みのツールを自動的に検出できるはずで、現在見ているインストールや検出エラーを避けるのに役立ちます。 MCUXpresso Config Tools | NXPマイクロコントローラ (MCU) 向けソフトウェア開発 | NXP Semiconductors MCUXpressoセキュアプロビジョニングツール |NXPセミコンダクターズ BR ハリー
View full article
FRDM-KL25Z 卡在 OpenSDA Bootloader v1.09 — LASTSTAT.TXT 卡在“正在编程...”处 你好, 我的FRDM-KL25Z卡在OpenSDA Bootloader v1.09版本(绿色LED灯持续闪烁)。 当我将匹配的固件(MSD-DEBUG-FRDM-KL25Z_Pemicro_v118.SDA)复制到引导加载程序驱动器时: 1. LASTSTAT.TXT 无限期地显示“编程中...”。 2. 卸载并重启电源(不按住 Reset 键)后,电路板不会启动到应用程序——它会直接重启到 BOOTLOADER 模式。 3. 在 Windows 和 Linux 上测试,结果完全相同。 如何才能让 Bootloader v1.09 成功完成固件的写入和刷写?     谢谢您! Kinetis L系列MCU Re: FRDM-KL25Z stuck in OpenSDA Bootloader v1.09 — LASTSTAT.TXT hangs on "Programming..." 是的,我也遇到了同样的问题,lastat.txt 一直处于编程状态。 Re: FRDM-KL25Z stuck in OpenSDA Bootloader v1.09 — LASTSTAT.TXT hangs on "Programming..." 大家好, 如果您当前运行的是 Bootloader 版本 1.10 或更早版本,则需要找到一台 Windows 7 电脑来执行此更新。 请按照以下步骤查找您的开发板所编程的引导加载程序版本: 在将板插入 USB 端口之前,按住 RESET 按钮以启动板进入 Bootloader 模式。 打开 SDA_INFO.HTM 文件,其中将包含引导加载程序的版本号以及当前正在使用的 OpenSDA 固件的名称和版本。如果您的板运行的引导加载程序版本不是 1.11 或更高版本,请从 P&E 网站下载最新的 OpenSDA 固件应用程序,并按照相应文档中的说明,使用 BOOTUPDATEAPP_PEmicro_v111.SDA 应用程序更新引导加载程序。通过 BOOTUPDATEAPP 更新引导加载程序后,OpenSDA 板即可升级到最新的 MSD/DEBUG OpenSDA 固件 1.14 或更高版本。 详情请参考: PEmicro | 40 多年来,我们始终致力于嵌入式系统领域的创新。产品包括闪存编程器、云端编程器、自动化编程器、批量编程器等等…… 但如果您只有一台 Windows 10 电脑可用,本文介绍了在 Windows 10 主机上更新引导加载程序所需的步骤:使用 Windows 10 恢复 OpenSDA 开发板 | MCU on Eclipse 谢谢! BR 爱丽丝
View full article
Display not working on IMX 93 FRDM board Hi, I am using an i.MX 93 FRDM board with Linux version 6.6.36 (Scarthgap), the fsl-imx-wayland distribution, and the core-image-weston image. However, the display is not working, and the screen remains blank. The system detects both the display and the HDMI interface, but no output is shown on the screen. Could you please help me identify the possible cause of this issue and suggest steps to troubleshoot it?. Re: Display not working on IMX 93 FRDM board Hi @Zhiming_Liu , One more observation, When I connected the device to my monitor, it worked as expected. However, after connecting it to my waveshare display and rebooting the device , it failed to work. Interestingly, when I reconnected it to the original monitor and rebooted the device, it worked again. Why this behaviour occurs?? With regards Ajil Re: Display not working on IMX 93 FRDM board Hi all, The issue is solved.Changed the required display resolution in  /etc/xdg/weston/weston.ini The display is working fine. With regards  Ajil  Re: Display not working on IMX 93 FRDM board Hi @ap3415  If the hardware connections are working properly, please use imx-image-core for testing. Best Regards, Zhiming Re: Display not working on IMX 93 FRDM board Hi @Zhiming_Liu , Thank you for the suggestion. However, my project requires core-image-weston, so I am testing with this image. Could you please suggest how I can troubleshoot the issue with core-image-weston or help identify any additional configuration required to make it work properly? With regards, Ajil
View full article
Request for Educational Access to FRDM-MCXN947 and FRDM-MCXN236 Thank you for the FRDM board promotion and for supporting the engineering community. I recently placed an order using the promotional offer and successfully received/ordered two FRDM boards. I noticed that the promotion for the FRDM-MCXN947 and FRDM-MCXN236 is no longer available. I am a student at VIT Chennai and actively work on embedded systems and IoT projects for learning and research. If possible, I would be very grateful if you could consider adding a FRDM-MCXN947 and FRDM-MCXN236 to my existing order, or provide an alternative way for students to obtain these boards for educational purposes. My order number is: [963355] Thank you for your time and for supporting student innovation. Kind regards, Adithya
View full article