Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
Request to Extend License for S32 Design Studio for ARM 2018.R1 We are currently using S32 Design Studio for ARM 2018.R1 (Windows) for one of our products. The license has recently expired, and we are unable to activate the software. When we attempt to generate an activation key using our activation code, the generated key is also reported as expired, preventing us from using the IDE. Our activation code is: Activation Code: FF6A-EDA4-CDF0-7186 Could you please extend or renew the license associated with this activation code, or advise us on the appropriate steps to regain access to the software? Your assistance would be greatly appreciated, as this project depends on this development environment. Thank you. Re: Request to Extend License for S32 Design Studio for ARM 2018.R1 Hi,  your S32DS license has been extended.  Re: Request to Extend License for S32 Design Studio for ARM 2018.R1 Thanks. But I am still unable to activate the software. I tried both online and offline activations and it failed. This is what i get as the error: kasundinesh_0-1784003465339.png
View full article
NXP Partners A web query replied that Timeskey was an NXP partner.  The NTAG213 RFID tag stickers I purchased on Amazon, while they worked, when scanned with the NXP TagInfo android app showed the IC Manufacturer to be Non-genuine, most probably counterfeit product.  I want to support the owner of the technologies I use.  How can I be sure I get genuine NXP product when purchasing items like NFC tag stickers? Re: NXP Partners Hello Sir, I hope you are doing well. I am sorry to hear that you received counterfeit tags. To ensure product authenticity and quality, we strongly recommend purchasing NFC tags only through NXP's authorized partners. For NTAG products, please visit the NTAG 213/215/216 | NXP Semiconductors. On the product page, scroll down to the Engineering Services section, where you will find a list of our authorized partners and distributors. It is recommended to only purchase the tags directly from our Partner's official websites.
View full article
AW-CM276NF Wifi/Bluetooth 模块已过时 我们已经通过 piCE 和串行接口生产了几款使用 imx8MP 和 AW-CM276NF 的板。 据了解,AW-CM276NF 模块已经过时,很难再用于生产。 有谁能推荐一种可通过 PCIe/串行接口工作并支持 NXP Linux/Yocto 的替代模块? Re: AW-CM276NF Wifi/Bluetooth Module becoming obsolete 非常感谢,我们会去看看。也有人向我们推荐了 AW-XM729,但还不确定它与 AW-693 相比如何...... Re: AW-CM276NF Wifi/Bluetooth Module becoming obsolete 您好, 具有最新公开SW的 PCIe 芯片组有 88W8997 88W9098 AW693 我建议你看看AW693。如果您愿意改用 SDIO,我推荐 IW612。 Daniel。 Re: AW-CM276NF Wifi/Bluetooth Module becoming obsolete 您好, IW623(AW-XM729)仍处于试生产阶段。 Re: AW-CM276NF Wifi/Bluetooth Module becoming obsolete 你好,特里, 请问您是从哪里得知AW-CM276NF模块已经过时的? AzureWave和NXP目前均未发布 AW-CM276NF 或W8997芯片组的任何停产通知。 还有一个问题:您是否知道 AW-CM276NF 的规格在后来的版本中有所更改? 对于PCIe + UART配置,该模块现在需要CON[2:0] 设置 = 011 。早期版本最多支持八种接口组合。 新版模块仅支持以下配置: SDIO(WLAN)+ UART(蓝牙) PCIe(无线局域网)+ UART(蓝牙) 对于 PCIe + UART 模式,配置必须设置为CON[2:0] = 011 。 此致, 迈克尔·胡珀茨 Re: AW-CM276NF Wifi/Bluetooth Module becoming obsolete 你好,特里, 感谢您的快速回复。 我目前正在评估我们某款产品的后续电路板,以替换 CompuLab 的 SO-DIMM SoM。您提供的有关 AW-CM276NF 已停产的信息对我们的评估过程非常有帮助。 此致, 迈克尔·胡珀茨 Re: AW-CM276NF Wifi/Bluetooth Module becoming obsolete 我们的一位客户表示该模块即将过时,之后我们从 AzureWave 获得了相关信息: 亲爱的马丁: AW-CM276NF的最后购买日期为2026年2月28日。 作为替代方案,我们推荐使用 AW-XM729,它的引脚与 AW-CM276NF 兼容。 附件是DS文件,请您审阅。 问候, ...... ...... (多发性硬化症。) AzureWave Technologies Inc 请注意,虽然 AW-XM729 在引脚功能上兼容,但在封装尺寸上并不完全兼容。 关于 CON 设置,是的,我们对这两块已经生产了大约 3 年的电路板一直使用该设置。
View full article
Android 14 Automotive (NXP) と i.MX 95 EVK 19x19 で Bluetooth が動作しない/クラッシュする ちょっと、そこ、 公式ウェブサイトAAUG_14.0.0_2.1.0_2024-10-02_14-28.pdfに記載されているドキュメントに従って、Linuxサーバー上でAndroid 14 Automotive NXPコードを正常にクローンおよびビルドしました。 このコードは、以下のリンクからダウンロードしました: https://www.nxp.com/pages/alpha-beta-bsps-for-microprocessors:IMXPRERELEASES (Android オートモーティブ 14.0.0_2.1.0(L6.6.23 BSP) i.MX95 19x19 EVK Alphaをサポート リンク: https://www.nxp.com/webapp/Download?colCode=automotive-14.0.0_2.1.0_image_95evk_car2&appType=license ) オートモーティブ向けのビルドターゲットの両方で試してみました。 1. evk_95_car-trunk_staging-userdebug 2. evk_95_car2-trunk_staging-userdebug 基板への書き込み後、処理は正常に完了し、Android 14 オートモーティブのUIが表示されるようになりました。 フラッシュに使用するコマンド: sudo ./uuu_imx_android_flash.sh -f imx95 -e -t emmc しかし、UI で Bluetooth を有効にしようとすると、 adb logcatでクラッシュが発生します。Bluetoothが有効になりません。 ログファイル(bt.logとbt-on.log)を添付します。 役員情報: i.MX 95 19x19 EVK リファレンスボード。 私はWiFiとBTにJODY-W377-00B u-bloxチップを使用しています。 これは想定される動作なのか、それとも既知の問題なのか、ご確認いただけますでしょうか? 追加情報が必要な場合はお知らせください。現在ブロックされており、 BTが機能している場合にのみ処理が必要です。 よろしくお願いします。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Android Automotive OSのインストール成功、Bluetoothが動作しない、Wi-Fiが動作することを示すUIスクリーンショットとして、ボードに関する追加情報を追加します。 さらに情報が必要な場合はお知らせください。 JODY-W377: JODY-W377_CHIP.jpeg BTが動作しません: BT_Not_Working.jpeg Android オートモーティブがAndroid 14にアップデートされました。 Android_Automotive.jpeg Wi-Fi動作状況: WiFi_Working.jpeg Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 詳しい情報ありがとうございます。 ログと設定を確認するのに少しお時間をください。 何か新しい情報があれば、お知らせします。 よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 共有されたログによると、HALの初期化に失敗しているようです。 下記のリリース版をお試しいただけますでしょうか? 16.0.0_1.2.0_DEMO_95 現在お使いのBSPはアルファ版/ベータ版であり、何らかの問題がある可能性があります。上記のリリース版をお試しいただき、結果をお知らせください。よろしくお願いいたします。 よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @Christine_Li さん。 ご返信ありがとうございます。 あなたのコメントを拝見したところ、私が探しているAndroid Automotiveのイメージではなく、Android OSのイメージを提供していただいたことに気づきました。 Android 16ではボードを起動できないため、イメージを試してみました。 私が試したこと: 提供されたリンクからAndroidイメージをフラッシュしてください。スクリーンショットはこちらです。 Androdi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndroid 16 デモイメージが UUU でフラッシュ 次に、(オプションとして)Android Automotive 16のプリビルド済みデモイメージを試してみました。スクリーンショットはこちらです。 Andrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi オートモーティブ 16 デモ画像が UUU と共にフラッシュ UARTスイッチはONに設定されています(つまり、JTAGはOFFです)。 ダウンロード用スイッチとしてSW7(1001)、eMMCブート用スイッチとして1010を持っています。 スクリーンショットはこちらです。 Board imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageボードイメージ これまで、Android 16は常にLIBUSBエラーで失敗し、Android 14アルファ版イメージに切り替える必要がありました。 Android 14の場合、搭載のUARTをONに切り替えると、Bluetoothが動作し、デフォルトで有効になりました。 今、私が懸念しているのは別のことです。 私が持っているBluetoothスピーカーはボードに接続されず、コネクテッドと切断済みの通知が表示されるだけです。 スクリーンショットはこちらです。 BT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UI 私のiPhoneは通話やメディアの送受信は正常に行えますが、Bluetoothヘッドホンのスピーカーはデータを受信しません。 Android Automotiveでは、BTシンクは動作するが、ソースは全く動作しないということでしょうか? Bluetoothを音源として使用する方法はありますか?設定変更は必要ですか? よろしくお願いいたします。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @Christine_Li さん。 ログファイルを添付しましたので、他に何か対応が必要な点があればお知らせください。 実はこれがAndroid自動車用のBTのシンクプロファイルによる設計上の制限なのか、他にもいくつか疑問があります。 1. ゾーン1の出力を3.5mmジャックに、ゾーン2の出力をJ10接続の外部スピーカーに配線できますか?設定やルーティングの変更が必要ですか? 2. 3.5mmジャックとUSBサウンドカードを使って、Pipewireを使って独立してオーディオを定義・ルーティングする必要がありますか? 目的はimx95 EVK REV Aボード上でオーディオマルチゾーンの実装を実現することです。ご提案があればお聞かせください。また、追加情報が必要な場合はお知らせください。 ありがとうございます。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 ヘッドセットに接続しようとした際の 失敗したHCIログとlogcat ログを教えてもらえますか? Androidでは、 HCIのスヌープログ Bluetooth in Developer Options を有効にし、Bluetoothを一度切り替えてキャプチャを開始し、その後ログをエクスポートすることで adb をキャプチャできます。 手順: 開ける 開発者向けオプション 有効にする Bluetooth HCIスヌープログ Bluetoothの切り替え 一度オンオフを繰り返して 問題の再現を試みています。 ADBコマンドを使用してログファイルを取得します。 接続失敗ログを確認して、接続失敗の原因を探してみましょう。 よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 現在のログを確認したところ、 ======= Line 838: 06-19 07:25:06.044 1294 1486 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:67:36 BOND_BONDING => BOND_BONDED Line 841: 06-19 07:25:06.077 1181 1357 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 844: 06-19 07:25:06.084 1673 1673 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 853: 06-19 07:25:06.099 1181 1357 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device XX:XX:XX:XX:67:36 Line 868: 06-19 07:25:06.284 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 886: 06-19 07:25:06.401 1544 1571 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 888: 06-19 07:25:06.411 1544 1571 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device XX:XX:XX:XX:67:36 Line 903: 06-19 07:25:08.919 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 909: 06-19 07:25:09.953 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 911: 06-19 07:25:10.014 1294 1426 I btm_acl : packages/modules/Bluetooth/system/stack/acl/btm_acl.cc:205 - disconnect_acl: Disconnecting peer:xx:xx:xx:xx:67:36 reason:HCI_ERR_PEER_USER comment:stack::l2cap::l2c_link::l2c_link_timeout All channels closed Line 914: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:4101 - btif_av_acl_disconnected: btif_av_acl_disconnected: Peer xx:xx:xx:xx:67:36 : ACL Disconnected Line 915: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:1503 - FindOrCreatePeer: BtifAvPeer *BtifAvSink::FindOrCreatePeer(const RawAddress &, tBTA_AV_HNDL): Create peer: peer_address=xx:xx:xx:xx:67:36 bta_handle=0x41 peer_id=0 Line 920: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:1575 - DeleteIdlePeers: DeleteIdlePeers: Deleting idle peer: xx:xx:xx:xx:67:36 bta_handle=0x41 Line 922: 06-19 07:25:10.055 1294 1460 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/btif_dm.cc:890 - btif_dm_get_connection_state: Acl is not connected to peer:xx:xx:xx:xx:67:36 これはすでにペアリングと接続が成功しているのに、SDPが「SdpManager: sdpRecordFoundCallback: Search instance is NULL」と応答し、プロファイルが存在しないため、AndroidホストがACLリンクを切断していることを意味します。 さらにデバッグを進めるため、HCIスヌープログを提供していただけますでしょうか。 ヘッドセットに接続しようとする際に 、失敗したHCIログとlogcat ログ 教えてもらえますか? Androidでは、 HCIのスヌープログ Bluetooth in Developer Options を有効にし、Bluetoothを一度切り替えてキャプチャを開始し、その後ログをエクスポートすることで adb をキャプチャできます。 手順: 開ける 開発者向けオプション 有効にする Bluetooth HCIスヌープログ Bluetoothの切り替え 一度オンオフを繰り返して 問題の再現を試みています。 ADBコマンドを使用してログファイルを取得します。 また、Android 16 車載のリリースも試すことができます。この問題はAndroid 14のオートリリースに関連しているのではないかと疑っています。 i.MX 95 (B0) 19x19 EVK – Arm Cortex-M7コア内のEVSを用いたデモ画像 i.MX 95 (B0) 19x19 EVK – Arm Cortex-AコアにおけるEVSを用いたデモ画像 よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 あなたが勧めていたAndroid 16のプリビルドを試しましたが、先ほど述べたLIBUSBエラーで、uuuでフラッシュをブロックしています。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 I.MX95-EVK 19*19とAndroid 16 車載リリースでローカルでテストしました: i.MX 95 (B0) 19x19 EVK – Arm Cortex-AコアにおけるEVSを用いたデモ画像 期待通りに動作します。 参考までに、下記のスクリーンショットをご覧ください。 Untitled.png よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 それは私の間違いだった。前回共有するリンクはAndroid 16向けで、オートモーティブ Android 16向けではありません。 また、以下のリンクからオートモーティブAndroid版のリリースを入手できます: Android オートモーティブ向けソフトウェア | NXP Semiconductors 昨日、リンクは特にI.MX95-EVK オートモーティブのAndroid 16向けだとお伝えしました。参考までに、リンクを下記に再度貼り付けておきます。 i.MX 95 (B0) 19x19 EVK – Arm Cortex-AコアにおけるEVSを用いたデモ画像 もしLIBUSB関連の問題がまだ続く場合は、別のUSB Type-Cケーブルを交換するか、Windows PCのUSBポートを交換するか、電源を抜いてからボードを再起動して再度接続してみてください。時々このようなLIBUSBエラーも発生しますが、別のUSB Type-Cケーブルを交換したり、Windows PCのUSBポートを交換したり、電源を抜いてからボードを再起動してからPCポートに差し直すと問題は解決します。 よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 ログを確認しましたが、接続失敗のプロセスは含まれていませんでした。 Bluetoothを再度有効にしてから問題(ヘッドセットを接続するがUIで切断表示)を再現し、ログを保存して共有する方法を教えてもらえますか? なぜボードにフラッシュできないのか分かりませんが、私が共有したオートモーティブ Android 16画像のリンクで正常にフラッシュできます。 以下は、フラッシュが正常に完了したことを示す、私の側の画面のスクリーンショットです。 そして、以下の点についてもあなたは正しいです。 シリアルダウンロードモードに入るには、ボードのSW7(ブートモード)を1001(1~4ビット)に変更してください。 SW7を変更してボードを1010(1-4ビットの形)に戻し、eMMCブートモードに入ることができます。 Christine_Li_0-1782981372954.png よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは@Christine_Li あなたが勧めていたAndroid 16のプリビルドを試しましたが、先ほど述べたLIBUSBエラーで、uuuでフラッシュをブロックしています。 BT HCIのログをzipファイルとして添付します。 ごサポートありがとうございます。 よろしくお願いします。     Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @Christine_Li さん。 Windowsでフラッシュできないので、Ubuntu 22.04からあなたと同じようにフラッシュを試みました。 添付のzipファイルにあるスクリーンショットの通り、LIBUSBエラーが表示されました。 設定でBTスヌープログを有効にした後、以下の操作を行いました。 1. /data/misc/bluetooth/logs/btsnoop_hci.log から既存のログファイルを削除します。 2. UIからBTを無効にする - ログは生成されません 3. Bluetoothを有効にし、UIからAirdopes 141イヤホンに接続をクリックします。ログファイルが生成されます(zipファイルに添付されています)。 4. このプロセスの後、UI上のイヤホンには接続中と表示され、その後切断されます。 よろしくお願いいたします。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 HCIログに接続に関するログが一切ない理由が分かりません。 スクリーンショットは以下をご覧ください。 あなたと私の違いは、あなたがUbuntuを使ってフラッシュしているのに対し、私はWindowsを使ってフラッシュしている点だと思います。 Ubuntu 22.04で試してみて、結果をお知らせします。 もう一つお願いがあります。I.MX95 19*19 EVKはもう1つ在庫がありますか?可能であれば、別のEVK製マザーボードで試していただけますでしょうか? もしくは、Windows PCでフラッシュを試していただけますか? よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 もう問題は解決しましたか? もしそうなら、このCASEをとりあえず閉じてもいいですか? もしなければ、もし私からのさらなるサポートが必要なら教えてください。 よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 Ubuntu 24.04で確認しました。Ubuntu 22.04のPCを持っていないので、I.MX95-EVKに正常にダウンロードできます。 テスト結果のスクリーンショットは以下をご覧ください。 Image.jpg あなたの側でLIBUSB_ERROR_NO_DEVICE=-4エラーが出ている場合、 USBハブに接続しているか確認してもらえますか? はいの場合、 Ubuntu PCに直接接続していただけますか? また、このコマンドで情報が出力されているか確認してもらえますか: uuu -lsusb   私の側では、接続された既知のデバイス情報、チップ名、Pro SDPS:、Vid情報、Pid Info、Bcdバージョン、Serial_noなどを出力できます。 また、すでにSW7(1001、1-4ビット)を変更してボードをシリアルダウンロードモードに切り替えているか、二重に確認してください。   通常、このようなLIBUSB_ERROR_NO_DEVICEエラーは、I.MX 95ボードとUbuntu PCの接続に関連しています。   よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 この件はクローズしてください。ありがとう。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @Christine_Li さん。 どうやら私のインフラに問題があるようです。これまでのサポートありがとうございます。 よろしくお願いします。
View full article
使用外部MCU链路调试探针时,应该使用哪个USB接口为FRDM-MCXA153供电? 您好,我是 NXP 微控制器和 MCUxpresso IDE 的新手。我购买了 FRDM-MCXA153 和 MCU-Link 调试探针。我想使用外部调试探针,因为我将在我的定制印刷电路板上使用它。我已经成功运行了闪烁 LED 示例代码,并且可以使用 MCU-Link 调试探针通过外部调试端口 J18 进行调试。 我的问题是,在使用外部调试器时,我应该使用 FRDM 板上的哪个 USB 接口(J18 或 J8)为电路板供电? 谢谢 开发板 Re: Which USB to power the FRDM-MCXA153 when using external MCU Link Debug Probe? 嗨@joe1652 我建议使用 J8 作为电源输入。 谢谢。 BR 爱丽丝
View full article
S32K3 内核掉电错误 & 正在运行(总线错误) 我问 MCU 处于什么状态,在下列情况下会出现什么情况。 有趣的是,如果使用 Over(Trace32) 运行特定函数,问题就会出现,但如果使用 Step(Trace32) 运行,问题就不会出现。 (向 MCU 正常供电)。 Re: S32K3 core power down error & running(bus error) 大家好 我们的项目目前也面临同样的问题。没有使用 CRC 和 C40 模块,但本主题中描述的所有其他内容都适用于我们的情况。 @kjy106906,你的问题解决了吗? 编辑:@danielmartynek,既然是这个话题,你听说过这种问题已经解决了吗? 感谢您的回答 Re: S32K3 core power down error & running(bus error) 你好@kjy106906、 你写道"奇怪的是,即使我添加几行不必要的代码(添加用于调试的 while 语句、添加全局变量等),问题也不会重现。" 如果写入寄存器或 sram 存储器,能否回读,使所有操作都正确序列化? RM,rev.8,第 3.8 节内存操作序列化。 此致, 丹尼尔 Re: S32K3 core power down error & running(bus error) 谢谢@danielmartynek 我还在使用 C40 库。(C40_Ip_Read) 但不返回错误,(返回成功)。 Re: S32K3 core power down error & running(bus error) 读取 DFlash 时,是否使用了驱动程序? 因为驱动程序会检查错误: danielmartynek_0-1714660282009.png 谢谢! 丹尼尔 Re: S32K3 core power down error & running(bus error) 谢谢@danielmartynek 由于公司网络安全原因,无法共享整个项目。 即使我分享我的精灵,它目前也能在我的游戏板上运行。 在您的环境中可能无法进行测试。 也无法共享简化精灵。 奇怪的是,即使我添加几行不必要的代码(添加用于调试的 while 语句、添加全局变量等),问题也不会重现。 目前,此问题已在 5 个电池管理系统板中出现。 这一切都与 Dataflash 有关。 出现上述现象的原因会不会是数据闪存区损坏或其他错误? Re: S32K3 core power down error & running(bus error) 你好@kjy106906、 我想在我这边进行测试。 您能分享一下这个项目吗? 或者最好是使用.elf的简化版本能重现该问题吗? 如果您不想在这里分享,请创建一张票据。 谢谢! 丹尼尔 Re: S32K3 core power down error & running(bus error) 谢谢@danielmartynek 我目前使用的是 Vector Microsar MCU 没有输入任何 Os Hal 故障(异常)。 如果输入了 MCU 异常,我想我会在调试器中看到 MCU 跳转到相应的代码,但是当前 Trace32 中会输出总线错误。 因此,例外情况似乎并未发生。 如果还有其他需要检查的地方,请告诉我。 RESET_B 或非 VDD_HA_A 跌至低点。 此问题会导致在没有 Trace32 的情况下以仅限电池管理系统的状态无限 RESET SBC。由于该问题发生在 Dataflash Init 中,因此 MCU 无法运行,SBC 会无限 RESET。 所以这也不是劳特巴赫的问题。 这对我们来说是一个重要问题。如果还有其他需要检查的地方,请告诉我。 Re: S32K3 core power down error & running(bus error) 你好@kjy106906、 因此,我认为核心不会检测到任何故障异常,也不会转到 HardFault_Handler()。 你能监测 reset_b 引脚吗?应用程序是否正在运行? 如果是这样,可能是劳特巴赫问题。 BR,丹尼尔 Re: S32K3 core power down error & running(bus error) 谢谢 即使我在错误处理程序上设置了中断,中断也不会发生,MCU 会进入相应的状态。 我想知道 MCU 现在处于什么状态,以及进入这种状态的原因。 Re: S32K3 core power down error & running(bus error) 你好@kjy106906、 请查看有关故障异常的更多信息。 请参考这些文件: https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447 https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570 https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-HARDFAULT-Handling-Interrupt-DS3-5-RTD300/ta-p/1806259 如果 BFARVALID = 1,则读取可配置故障状态寄存器 (CSFR) 和总线故障地址寄存器 (BFAR)。您应该能在堆栈中找到故障指令的 PC 地址。 此致, 丹尼尔 Re: S32K3 core power down error & running(bus error) 谢谢@danielmartynek 该功能不是 RTD 功能,而是一个简单的计算功能。 计算特定地址上 C40 读取数据的 CRC 时出现问题。 该问题出现在执行 CRC 计算功能时,而不是读取数据时。 MCU:S32K312,RTD 版本:2.0.0 我想知道 MCU 现在处于什么状态,以及进入这种状态的原因。 Re: S32K3 core power down error & running(bus error) 你好@kjy106906、 你能说得更具体一些吗? 你在这里做什么工作? 如果您使用 MCU 和 RTD,是否还能说明其版本? 谢谢! BR,丹尼尔 Re: S32K3 core power down error & running(bus error) @kjy106906 , @danielmartynek 同样的问题,您是否找到了根本原因? 使用尺寸优化也会出现此问题,如果不进行任何优化,则问题会消失。 Re: S32K3 core power down error & running(bus error) 你好, 我们最终找到了我们这边问题的根本原因。 它与 NXP 勘误表ERR052460有关,该勘误表与分支推测有关。以下代码片段修正了该行为。 // NXP ERR052460 Workaround: Cortex-M7: A hang scenario can occur when a reserved read locked memory region is accessed by application cores *((uint32_t*) 0x402AC0F0) = 0x1CB0499Du; *((uint32_t*) 0x402AC0F0) = 0xB9920D38u; 我不确定这是否是你们那边的根本原因(我不是恩智浦的员工,而且他们似乎也不会回应),但值得检查一下。 Re: S32K3 core power down error & running(bus error) @Palacni非常感谢您的及时回复。遗憾的是,在我的衍生机型上,勘误表中提到的位置还有一个外围设备,用于启用用户访问。我已经向恩智浦索取了我相对较新的衍生产品的勘误表…… 当使用以下任一方法时,它都能正常工作: 禁用优化(-O0) 使用SoC上另一个功能域的SRAM。 禁用指令缓存 通过调试器单步执行
View full article
SE050E2HQ1/Z01Z3Zに必要な熱データ こんにちは、チームの皆さん、 部品番号の熱抵抗データと動作接合部温度情報を探しています。 SE050E2HQ1/Z01Z3Z ありがとうございます。 ひどい スマート・カード Re: Thermal Data required for SE050E2HQ1/Z01Z3Z こんにちは、 @Harsh_Bhavsar さん。 詳細については、 https://www.nxp.com/docs/en/data-sheet/SE051.pdfをご参照ください。それらはほとんど同じです。 心から、 カン Re: Thermal Data required for SE050E2HQ1/Z01Z3Z こんにちは、Kan_Liさん。 ご回答ありがとうございます。データシートは大変参考になりました。 同じ接合部の最大許容温度を教えてもらえますか?それとも動作温度を考慮してもいいですか? ありがとうございます。 ひどい Re: Thermal Data required for SE050E2HQ1/Z01Z3Z こんにちは、kanさん、 それは本当に役立つ情報です。 ありがとうございます。 ひどい Re: Thermal Data required for SE050E2HQ1/Z01Z3Z こんにちは、 @Harsh_Bhavsar さん。 動作時の最大接合温度は動作時よりわずかに高く、内部温度センサーは 約110°C で作動し始めます。 すてきな一日を、 カン ------------------------------------------------------------------------------- 注記: この投稿があなたの質問への回答になっている場合は、「正解としてマーク」ボタンをクリックしてください。ありがとうございます! - 前回の投稿から7週間Threadをフォローしており、その後の返信は無視しています もし後で関連する質問があれば、新しいThreadを開き、閉じたThreadを参照してください。 -------------------------------------------------------------------------------
View full article
FRDM MCX A266のピン設定ツールが見つかりません サイト内のピン設定ツールが見つかりません。 FRDMトレーニング Re: Can't find pin configuration tool for FRDM MCX A266 こんにちは、 これは、ツールを使い始める際に役立つ情報です。 MCUXpresso設定ツールのクイックスタートガイド MCUXpresso設定ツールユーザーガイド(IDE) 必要な情報やツールがあればお知らせください。 敬具、ルイス Re: Can't find pin configuration tool for FRDM MCX A266 https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-config-tools-pins-clocks-and-peripherals:MCUXpresso-Config-Toolsが見つかりました Re: Can't find pin configuration tool for FRDM MCX A266 ご返信ありがとうございます。 可能であれば、これらのツールのステップバイステップ設定の例を教えていただけると助かります。 Re: Can't find pin configuration tool for FRDM MCX A266 こんにちは、 何を達成したいのかによりますが、どのプロセスにアシスタントが必要なのか確認または説明してもらえますか? また、ユーザーガイドのMCUXpresso設定ツールユーザーガイド(IDE)第3章には、手順や写真が付いており、ツールの機能にリダイレクトして設定に合わせて調整できます。 敬具、ルイス Re: Can't find pin configuration tool for FRDM MCX A266 はい、お願いします。私が今やろうとしているのは、ごくシンプルなことです。 4つのDACチャネルと4つのADCチャネルを定義します。 それらを内部の4つのADCチャネルにルーティングしてループを閉じます。 それらの信号が届いたことを確認し、入力数を掛け合わせます。 再度掛け合わせて、パフォーマンスを測定してください。 デバッグおよび結果表示のために、USB経由のシリアル通信でログ出力を行うように設定してください。
View full article
C++のTFLiteモデルをCベースのMCUXpressoプロジェクトに統合する方法は? NXPチームの皆様、こんにちは。 私はMCXN947のためにTensorFlow Lite MicroモデルをMCUXpressoプロジェクトに統合しています。私のアプリケーションはCで書かれていますが、TensorFlow LiteのMicro推論コードと生成モデルはC++で書かれています。 C言語とC++のソースファイルを結合する際に、コンパイルとリンクに関する問題が発生しています。既に「extern C」を試してみましたが、問題は解決しません。 以下の点についてアドバイスいただけますか? MCUXpressoプロジェクトでC言語とC++のソースファイルを混在させることは推奨されますか? C++ TensorFlow Lite MicroモデルをCベースのアプリケーションに統合する際の推奨されるアプローチは何ですか? この統合に必要なコンパイラ/リンカの設定や参考例はありますか? 何かご助言いただければ大変ありがたいです。ありがとう。 開発ボード MCX N Re: How to Integrate a C++ TFLite Model into a C-Based MCUXpresso Project? こんにちは、 @sivamankomb さん、 投稿ありがとうございます。 もちろん、MCUXpressoプロジェクトではCとC++のソースファイルを混ぜることも可能です。実際、これは私たちのSDKデモでも使われているアプローチです。参考までに、SDKに含まれるいくつかのeIQ関連の例プロジェクトを確認できます。SDKはSelect Board |MCUXpresso SDK Builder。 Celeste_Liu_0-1784012914332.png 要点は以下のとおりです。 - .cファイルはC言語コードとしてコンパイルされます。 - .cppファイルはC++コードとしてコンパイルされます。 - 最終リンクステージでは、C++ランタイムおよびC++シンボル解決をサポートするツールチェーンを使用しなければなりません。 - Cコードは外部の「C」ラッパーを通じて公開された関数のみを呼び出し、TFLM C++のクラス、テンプレート、名前空間を直接含めたり使用したりしてはいけません。 したがって、推奨されるアプローチは、TFLM推論の実装を.cppファイルにカプセル化することです。ファイルを作成し、C アプリケーションに対しては C ABI 互換のラッパーインターフェースのみを公開します。 例えば、SDKのtflm_label_imageデモでは、コアとなるTFLM推論ロジックがcommon/tflm/model.cppで実装されています。このファイルはTFLM C++ APIを使用します。 #include "tensorflow/lite/micro/micro_interpreter.h" #include "tensorflow/lite/micro/micro_op_resolver.h" static const tflite::Model* s_model = nullptr; static tflite::MicroInterpreter* s_interpreter = nullptr; extern tflite::MicroOpResolver &MODEL_GetOpsResolver(); 次に、tflite::MicroInterpreter インスタンスを作成し、MODEL_Init() 内で AllocateTensors() を呼び出して初期化を実行します。 外部に露出したモデル.h、Cに優しいインターフェースを提供します。 #if defined(__cplusplus) extern "C" { #endif status_t MODEL_Init(void); uint8_t* MODEL_GetInputTensorData(tensor_dims_t* dims, tensor_type_t* type); uint8_t* MODEL_GetOutputTensorData(tensor_dims_t* dims, tensor_type_t* type); void MODEL_ConvertInput(uint8_t* data, tensor_dims_t* dims, tensor_type_t type); status_t MODEL_RunInference(void); const char* MODEL_GetModelName(void); #if defined(__cplusplus) } #endif 関数宣言は外部「C」を通じてエクスポートされるため、Cのソースファイルは単に「model.h」#include できます。また、tflite::MicroInterpreterやMicroMutableOpResolverのようなC++型の知識を必要とせずに、MODEL_Init()やMODEL_RunInference()などの関数を呼び出すことができます。 このアーキテクチャは当社のSDK例でも採用されており、CベースのアプリケーションにTFLMを統合する際に一般的に推奨されます。なぜなら、C++の実装の詳細をクリーンに分離しつつ、アプリケーション層の純粋なCインターフェースを保持できるからです。 顧客のMLモデルをSDKデモに統合したい場合は、AN14241を参照してください。 お役に立てば幸いです。 BR セレステ
View full article
AW-CM276NF Wifi/Bluetooth Module becoming obsolete We have produced a few boards using the iMX8mp and the AW-CM276NF over PICe and serial interfaces. We understand the AW-CM276NF module is becoming obsolete and is now difficult to get hold of for production. Can anyone recommend a replacement module that will work over PCIe/serial and has NXP Linux/Yocto support ? Re: AW-CM276NF Wifi/Bluetooth Module becoming obsolete Many thanks, we will have a look. We have also been recommended the AW-XM729, not sure how that compares with the AW-693 yet ... Re: AW-CM276NF Wifi/Bluetooth Module becoming obsolete Hi, The PCIe chipsets with the latest public SW are: 88W8997 88W9098 AW693 I would recommend you take a look at AW693. If you are open to switch to SDIO, I recommend IW612. Regards, Daniel. Re: AW-CM276NF Wifi/Bluetooth Module becoming obsolete Hi, IW623 (AW-XM729) is sill in preproduction stage.  Re: AW-CM276NF Wifi/Bluetooth Module becoming obsolete Hello Terry, Can you tell me where you obtained the information that the AW-CM276NF module is obsolete? Neither AzureWave nor NXP currently show any obsolescence notice for the AW-CM276NF or the W8997 chipset. One more question: are you aware that the AW-CM276NF specifications were changed in later revisions? For the PCIe + UART configuration, the module now requires the CON[2:0] setting = 011. Earlier revisions supported up to eight interface combinations. The newer modules support only the following configurations: SDIO (WLAN) + UART (Bluetooth) PCIe (WLAN) + UART (Bluetooth) For the PCIe + UART mode, the configuration must be set to CON[2:0] = 011. Best regards, Michael Huppertz Re: AW-CM276NF Wifi/Bluetooth Module becoming obsolete Hello Terry, Thank you for your quick reply. I am currently in the process of evaluating a successor board for one of our products to replace a SO-DIMM SoM from CompuLab. The information you provided regarding the AW-CM276NF's obsolescence is very helpful to our evaluation process. Best regards, Michael Huppertz Re: AW-CM276NF Wifi/Bluetooth Module becoming obsolete We got the information from AzureWave after a customer of ours said the module was becoming obsolete: Dear Martin, Last time buy for AW-CM276NF will be 28th Feb 2026. For alternative, we are recommended AW-XM729 which is pin out compatible with AW-CM276NF. Attached DS for your kind review. Regards,  ...... ...... (Ms.) AzureWave Technologies Inc Note although the AW-XM729 is pin function compatible, it is not quite footprint compatible. On the CON settings, yes we have been using that setting for the two boards in question that have been in production for about 3 years.
View full article
S32K3 core power down error & running(bus error) I ask what state the MCU is in and what cases occur in the following situations. What's interesting is that if I run a specific function with Over(Trace32), the issue occurs, but when I run it with Step(Trace32), the issue does not occur. (Power is being supplied to the MCU normally.) Re: S32K3 core power down error & running(bus error) Hello all We are currently facing the same kind of issue on our project. CRC and C40 modules are not used, however everything else that is described in this topic is valid in our case. @kjy106906 , have you solved your issue ? Edit: @danielmartynek , since this topic, have you ever heard of this kind of issue that has been resolved ? Thank for your answers Re: S32K3 core power down error & running(bus error) Hi @kjy106906, You wrote: "Strangely, even if I add a few lines of unnecessary code (adding a while statement for debugging, adding a global variable, etc.), the issue does not reproduce." If you write registers or an sram memory, can you read it back so that all the operations are properly serialized? RM, rev.8, Section 3.8 Serialization of memory operations. Regards, Daniel Re: S32K3 core power down error & running(bus error) Thank you @danielmartynek  I'm also using the C40 library. (C40_Ip_Read) However, Error is not returned, ( Success is returned.) Re: S32K3 core power down error & running(bus error) When you read the DFlash, do you use the driver? Because the driver checks for errors: danielmartynek_0-1714660282009.png Thank you, Daniel Re: S32K3 core power down error & running(bus error) Thank you @danielmartynek  Sharing the entire project is not possible due to company security reasons. Even if I share my elf, it currently works on my board. Testing may not be possible in your environment. It is also not possible to share the simplified elf. Strangely, even if I add a few lines of unnecessary code (adding a while statement for debugging, adding a global variable, etc.), the issue does not reproduce. Currently, this issue has occurred in 5 BMS boards. It's all related to Dataflash. Could the above phenomenon occur due to dataflash area being broken or other errors? Re: S32K3 core power down error & running(bus error) Hi @kjy106906, I would like to test it on my side. Can you share the project? Or preferably a simplified version with .elf that can reproduce the issue? If you don't want to share it here, create a ticket. Thank you, Daniel Re: S32K3 core power down error & running(bus error) Thank you @danielmartynek  I am currently using Vector Microsar The MCU does not enter any Os Hal Fault (Exception). If an MCU Exception is entered, I think I will see the MCU jumping to the corresponding code in the debugger, but currently a Bus error is output in Trace32. Therefore, it seems that an exception did not occur. If there are any more points to check, let me know. Neither Reset_b nor VDD_HA_A fall to Low. This issue causes infinite SBC reset in BMS-only state without Trace32. Because that issue occurs in Dataflash Init, the MCU does not operate and an infinite reset of the SBC occurs. So it's not a lauterbach issue either. It's an important issue for us. Please let me know if there are any more points to check. Re: S32K3 core power down error & running(bus error) Hello @kjy106906, So, I understand the core does not detect any fault exception, it does not go to the HardFault_Handler(). Can you monitor the reset_b pin? Is the application running? If so, it might be a lauterbach issue. BR, Daniel Re: S32K3 core power down error & running(bus error) Thank you Even if I set a break on the error handler, the break does not occur and the MCU enters the corresponding state. I wonder what state the MCU is in and the reason for entering that state. Re: S32K3 core power down error & running(bus error) Hi @kjy106906, Please find more information about the fault exception. Refer to these documents: https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447 https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570 https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-HARDFAULT-Handling-Interrupt-DS3-5-RTD300/ta-p/1806259 Read Configurable Fault Status Register (CSFR) and Bus Fault Address Register (BFAR) if BFARVALID = 1. You should be able to find the PC address of the fault instruction on the stack. Regards, Daniel Re: S32K3 core power down error & running(bus error) Thank you always @danielmartynek  That function is not an RTD function but a simple calculation function. An issue occurs when calculating the CRC of C40 read data at a specific address. This occurs when executing the CRC calculation function, not when reading. MCU: S32K312, RTD version: 2.0.0 I wonder what state the MCU is in and the reason for entering that state. Re: S32K3 core power down error & running(bus error) Hello @kjy106906, Can you be more specific? What function do you step over here? Can you also specify the MCU and RTD version if you use it? Thank you, BR, Daniel Re: S32K3 core power down error & running(bus error) Hello, We were finally able to identify the root cause of the issue on our side. It was linked to NXP errata ERR052460, related to branch speculation. The following code snippet corrects the behavior. // NXP ERR052460 Workaround: Cortex-M7: A hang scenario can occur when a reserved read locked memory region is accessed by application cores *((uint32_t*) 0x402AC0F0) = 0x1CB0499Du; *((uint32_t*) 0x402AC0F0) = 0xB9920D38u; I’m not sure whether this is the exact same root cause on your side (I’m not from NXP and it seems they won’t respond anyway), but it’s worth checking. Re: S32K3 core power down error & running(bus error) @kjy106906 , @danielmartynek , The same question were you able to find the root cause? This issue is also observed with size optimizations and goes away if no optimization is used. Re: S32K3 core power down error & running(bus error) @Palacni Thank you very much for your prompt reply. Unfortunately on my derivate there is another peripheral at the location cited by errata to enable user access. I've asked NXP for errata of my relatively new derivate .......... . . . It works when any one of the following is used, Disable the optimizations (-O0) Use SRAM of another domain on the SoC Disable the Instruction cache Stepping in via debugger
View full article
如何将 C++ TFLite 模型集成到基于 C 的 MCUXpresso 项目中? 您好,NXP团队, 我正在将 TensorFlow Lite Micro 模型集成到我的 MCUXpresso 项目中,用于 MCXN947。我的应用程序是用 C 编写的,而 TensorFlow Lite Micro 推理代码和生成的模型是用 C++ 编写的。 在合并 C 和 C++ 源文件时,我遇到了编译和链接问题。我已经尝试使用“extern "C"”,但问题仍然存在。 请问您能否就以下问题提供建议? 在 MCUXpresso 项目中混合使用 C 和 C++ 源文件是否可行? 将 C++ TensorFlow Lite Micro 模型集成到基于 C 的应用程序中的推荐方法是什么? 此集成是否需要任何编译器/链接器设置或参考示例? 任何指导都将不胜感激。谢谢。 开发板 MCX N Re: How to Integrate a C++ TFLite Model into a C-Based MCUXpresso Project? 你好@sivamankomb , 感谢你的帖子。 当然,您可以在 MCUXpresso 项目中混合使用 C 和 C++ 源文件。事实上,我们的 SDK 演示也采用了这种方法。您可以参考 SDK 中包含的几个与 eIQ 相关的示例项目。您可以从“选择开发板 | MCUXpresso SDK 构建器”下载 SDK。 Celeste_Liu_0-1784012914332.png 要点如下: - .c文件被编译成 C 代码。 - .cpp文件被编译成 C++ 代码。 - 最终的链接阶段必须使用支持 C++ 运行时和 C++ 符号解析的工具链。 - C 代码只能调用通过 extern "C" 包装器公开的函数,而不能直接包含或使用 TFLM C++ 类、模板或命名空间。 因此,推荐的方法是将 TFLM 推理实现封装在一个 .cpp 文件中。文件仅向 C 应用程序公开与 C ABI 兼容的包装接口。 例如,在 SDK 的 tflm_label_image 演示中,核心 TFLM 推理逻辑在 common/tflm/model.cpp 中实现。此文件使用了 TFLM C++ API,例如: #include "tensorflow/lite/micro/micro_interpreter.h" #include "tensorflow/lite/micro/micro_op_resolver.h" static const tflite::Model* s_model = nullptr; static tflite::MicroInterpreter* s_interpreter = nullptr; extern tflite::MicroOpResolver &MODEL_GetOpsResolver(); 然后创建一个 tflite::MicroInterpreter 实例,并在 MODEL_Init() 中调用 AllocateTensors() 来执行初始化。 外部暴露的模型.h,提供 C 语言友好的接口。 #if defined(__cplusplus) extern "C" { #endif status_t MODEL_Init(void); uint8_t* MODEL_GetInputTensorData(tensor_dims_t* dims, tensor_type_t* type); uint8_t* MODEL_GetOutputTensorData(tensor_dims_t* dims, tensor_type_t* type); void MODEL_ConvertInput(uint8_t* data, tensor_dims_t* dims, tensor_type_t type); status_t MODEL_RunInference(void); const char* MODEL_GetModelName(void); #if defined(__cplusplus) } #endif 函数声明通过 extern "C" 导出,这样 C 源文件就可以简单地 #include "model.h"无需了解 tflite::MicroInterpreter 或 MicroMutableOpResolver 等 C++ 类型,即可调用 MODEL_Init() 和 MODEL_RunInference() 等函数。 这种架构也是我们的 SDK 示例所采用的方法,并且在将 TFLM 集成到基于 C 的应用程序中时通常建议采用这种方法,因为它能够干净利落地隔离 C++ 实现细节,同时为应用程序层保留纯 C 接口。 如果您想将客户 ML 模型集成到 SDK 演示中,您可以参考AN14241 。 希望对您有所帮助。 BR 塞莱斯特
View full article
Can't find pin configuration tool for FRDM MCX A266 Can't find on site pin configuration tool. FRDM-Training Re: Can't find pin configuration tool for FRDM MCX A266 Hello, This is some helpful information if you are starting with the tool Quick Start Guide for MCUXpresso Config Tools MCUXpresso Config Tools User's Guide (IDE) If there is information or tools that you need to look for, let us know Best Regards, Luis Re: Can't find pin configuration tool for FRDM MCX A266 Found https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-config-tools-pins-clocks-and-peripherals:MCUXpresso-Config-Tools Re: Can't find pin configuration tool for FRDM MCX A266 Thanks for your reply. Will glad if you could point me to howto step by step configuration examples of those tools if possible. Re: Can't find pin configuration tool for FRDM MCX A266 Hello, It would depend on what are you trying to achieve, if you could confirm or describe what process do you need assistant for? Also, the User guide MCUXpresso Config Tools User's Guide (IDE) Chapter 3 is Pin Configuration Instructions with steps and photos that can redirect you to the tool functionalities and match your configuration. Best Regards, Luis Re: Can't find pin configuration tool for FRDM MCX A266 Yes, please. What I'm trying to do is something simple at this point. Define 4 DAC and 4 ADC channels. Route them to the 4 ADC channels internally to close the loop. Test that those signals arrived, then multiply the number of inputs. Multiply again and measure performance. Define log prints to serial over USB for debugging and results presentation.
View full article
使用 i.MX 95 EVK 19x19 的 Android 14 Automotive (NXP) 上蓝牙不工作/崩溃 你们好 按照官方网站 aaug_14.0.0_2.1.0_2024-10-02_ 14-28.pdf 上提供的文档,我成功地在 Linux 服务器中克隆并构建了 Android 14 Automotive NXP 代码。 从以下链接下载的代码: https://www.nxp.com/pages/alpha-beta-bsps-for-microprocessors:IMXPRERELEASES (安卓汽车 14.0.0_2.1.0(L6.6.23 BSP) 支持 i.mx95 19x19 EVK Alpha 链接:https://www.nxp.com/webapp/Download?colCode=automotive-14.0.0_2.1.0_image_95evk_car2& appType=License) 我已经尝试过汽车的两个版本目标。 1. evk_95_car-trunk_staging-userdebug 2. evk_95_car2-trunk_staging-userdebug 刷新主板后,该过程成功完成,我能够看到 Android 14 Automotive 用户界面。 闪存使用的命令:sudo ./uuu_imx_android_flash.sh -f imx95 -e -t emmc 但是,当我尝试在用户界面上启用蓝牙时,adb logcat 出现了崩溃。蓝牙从未启用。 附上日志:bt.log 和 bt-on.log。 主板信息: i.MX 95 19x19 evk 参考板。 我使用的是JODY-W377-00B u-blox芯片,用于WiFi 和BT。 请确认这是预期行为还是已知问题? 如果需要任何补充信息,请告诉我。我目前被封锁了,只有在英国电信正常工作的情况下,我才需要处理。 谢谢! Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 将主板的更多信息添加为安卓汽车操作系统安装成功、BT 无法运行且 WIFI 正常运行的用户界面屏幕截图。 如果需要更多信息,请告诉我。 JODY-W377: JODY-W377_CHIP.jpeg BT 不工作: BT_Not_Working.jpeg 通过 Android 14 升级的 Android 汽车: Android_Automotive.jpeg WiFi 正常: WiFi_Working.jpeg Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  感谢您提供的详细信息。 请给我一点时间来检查日志和您的配置。 一旦有任何更新,我会通知你。 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  您共享的日志显示HAL初始化失败。 你介意试试下面的版本吗: 16.0.0_1.2.0_DEMO_95 你现在使用的是 Alpha/Beta BSP,它可能有一些问题,请尝试一下上述版本,并告诉我你的结果,谢谢。 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好@Christine_Li, 谢谢你的回复。 我仔细阅读了您的评论,这才意识到您提供的是安卓操作系统镜像,而不是我正在寻找的安卓车载系统镜像。 但我试过这张图片是因为我无法在 Android 16 上启动板。 我尝试了以下方法: 将您提供的链接中的 Android 镜像刷入系统。以下是截图: Androdi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndroid 16 演示版镜像通过 UUU 刷入 然后,我尝试使用了(可选的)Android Automotive 16 预构建演示镜像。以下是截图: Andrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndroid Automotive 16 演示图片,使用 UUU 刷入 我将 UART 开关设置为开启(表示 JTAG 已关闭) 我有 SW7 开关作为 1001 下载并用于 emmc 启动-1010 以下是屏幕截图: Board imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard image板图片 到目前为止,Android 16 总是因 LIBUSB 错误而安装失败,所以我不得不切换到 Android 14 测试版镜像。 对于 Android 14-一旦我切换到 UART-在机上开启,蓝牙就会开始工作并默认启用。 现在我担心的是另一件事。 我的蓝牙扬声器无法连接主板,但只显示连接和断开连接的通知。 以下是截图: BT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT 用户界面 我的 iPhone 虽然能连接并处理通话和媒体内容,但我的蓝牙耳机却无法接收任何数据。 难道在 Android Automotive 中,蓝牙接收功能可以正常工作,而蓝牙发送功能却完全无法工作吗? 有没有办法将蓝牙作为音源?需要进行任何配置更改吗? 先行致谢。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 嗨@Christine_Li , 请查看附件中的日志,并告知是否还有其他需要采取的措施。 我还有一些疑问,这是否是由于 Android Automotive 的 BT sink profile 造成的设计限制? 1. 我可以将区域 1 的输出连接到 3.5mm 插孔,将区域 2 的输出连接到 J10 连接的外部扬声器吗?是否需要进行配置和路由更改? 2. 我是否需要使用 Pipewire 来独立定义和路由 3.5mm 插孔和 USB 声卡的音频? 整个目的是为了在 imx95 EVK REV A 板上实现音频多区域功能。如有任何建议或需要更多信息,请告知。 谢谢。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  请您提供一下连接耳机时失败的 HCI 日志和 logcat 日志? 在 Android 上,您可以通过启用此功能来捕获 HCI 日志。 蓝牙 HCI 窥探日志 在 开发者选项 ,切换一次蓝牙以开始捕获,然后导出日志  adb  。 步骤: 打开 开发者选项 使能够 蓝牙 HCI 窥探日志 切换蓝牙 断断续续地 正在尝试重现该问题。 使用 ADB 命令提取日志文件。 我们来看看连接失败的日志,然后找出连接失败的原因。 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  我查看了您当前的日志,发现 ======= Line 838: 06-19 07:25:06.044 1294 1486 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:67:36 BOND_BONDING => BOND_BONDED Line 841: 06-19 07:25:06.077 1181 1357 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 844: 06-19 07:25:06.084 1673 1673 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 853: 06-19 07:25:06.099 1181 1357 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device XX:XX:XX:XX:67:36 Line 868: 06-19 07:25:06.284 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 886: 06-19 07:25:06.401 1544 1571 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 888: 06-19 07:25:06.411 1544 1571 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device XX:XX:XX:XX:67:36 Line 903: 06-19 07:25:08.919 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 909: 06-19 07:25:09.953 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 911: 06-19 07:25:10.014 1294 1426 I btm_acl : packages/modules/Bluetooth/system/stack/acl/btm_acl.cc:205 - disconnect_acl: Disconnecting peer:xx:xx:xx:xx:67:36 reason:HCI_ERR_PEER_USER comment:stack::l2cap::l2c_link::l2c_link_timeout All channels closed Line 914: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:4101 - btif_av_acl_disconnected: btif_av_acl_disconnected: Peer xx:xx:xx:xx:67:36 : ACL Disconnected Line 915: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:1503 - FindOrCreatePeer: BtifAvPeer *BtifAvSink::FindOrCreatePeer(const RawAddress &, tBTA_AV_HNDL): Create peer: peer_address=xx:xx:xx:xx:67:36 bta_handle=0x41 peer_id=0 Line 920: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:1575 - DeleteIdlePeers: DeleteIdlePeers: Deleting idle peer: xx:xx:xx:xx:67:36 bta_handle=0x41 Line 922: 06-19 07:25:10.055 1294 1460 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/btif_dm.cc:890 - btif_dm_get_connection_state: Acl is not connected to peer:xx:xx:xx:xx:67:36 这意味着它已经成功配对和连接,但由于 SDP 响应“SdpManager: sdpRecordFoundCallback: 搜索实例为 NULL”且没有配置文件,因此 ACL 链接被 Android 主机断开。 为了进一步调试,请提供 HCI 侦听日志。 请问您能帮我提供这些信息吗? 失败的 HCI 日志以及 logcat 日志 你尝试连接耳机时遇到什么问题? 在 Android 上,您可以通过启用此功能来捕获 HCI 日志。 蓝牙 HCI 窥探日志 在 开发者选项 ,切换一次蓝牙以开始捕获,然后导出日志  adb  。 步骤: 打开 开发者选项 使能够 蓝牙 HCI 窥探日志 切换蓝牙 断断续续地 正在尝试重现该问题。 使用 ADB 命令提取日志文件。 同时,您还可以尝试以下 Android 16 自动版本。我怀疑这个问题可能与您的 Android 14 自动版本有关。 i.MX 95 (B0) 19x19 EVK – 采用 Arm Cortex-M7 内核的 EVS 演示镜像 i.MX 95 (B0) 19x19 EVK – 采用 EVS 的 Arm Cortex-A 内核演示图像 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好, 我在本地使用 I.MX95-EVK 19*19 和 Android 16 自动版本进行了测试: i.MX 95 (B0) 19x19 EVK – 采用 EVS 的 Arm Cortex-A 内核演示图像 它可以按预期运行。 请参考以下截图。 Untitled.png 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 我尝试了你坚持要用的 Android 16 预构建版本,但是遇到了之前提到的 LIBUSB 错误,导致无法使用 uuu 进行刷机。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  我查看了你的日志,其中没有包含连接失败的进程。 请您重新启用蓝牙,然后重现问题(连接耳机但用户界面显示已断开连接),并保存日志并与我分享,以便我捕获 HCI 日志。 我不确定为什么你无法将其刷入你的板,但我可以用我分享给你的汽车 Android 16 镜像链接成功刷入。 下面这张截图显示了我这边刷机成功的画面。 你说的也对: 将板载SW7(启动模式)更改为 1001(1-4 位)以进入串行下载模式。 将 SW7 切换回 1010(1-4 位),进入 eMMC 启动模式。 Christine_Li_0-1782981372954.png 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 嗨@Christine_Li , 我尝试了你坚持要用的 Android 16 预构建版本,但是遇到了之前提到的 LIBUSB 错误,导致无法使用 uuu 进行刷机。 我已将 BT HCI 日志以 zip 文件的形式附在这里。 感谢您的支持。 此致问候     Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  那是我的错。上次我分享给你的链接是 Android 16 的,不是车载 Android 16 的。 您可以通过以下链接获取汽车版安卓版本: Android Automotive 软件 | NXP 半导体 昨天我分享的链接是专门针对 I.MX95-EVK Automotive Android 16 的。为了方便起见,我把链接再贴在下面。 i.MX 95 (B0) 19x19 EVK – 采用 EVS 的 Arm Cortex-A 内核演示图像 如果仍然存在 LIBUSB 相关问题,请尝试更换另一根 USB Type-C 数据线,或者更换 Windows 电脑上的另一个 USB 端口,或者拔下数据线后重启主板再重新插上。有时我们也会遇到这种 LIBUSB 错误,但更换另一根 USB Type-C 线缆,或者更换 Windows PC 上的另一个 USB 端口,或者拔下主板后再重新插入 PC 端口并重启主板,问题就解决了。 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好@Christine_Li , 我尝试在我的 Ubuntu 22.04 系统上按照你的步骤刷机,因为我无法在 Windows 系统上刷机。 它确实显示了 LIBUSB 错误,如压缩包中的截图所示。 在设置中启用 BT 窥探日志后,我执行以下操作: 1. 删除 /data/misc/bluetooth/logs/btsnoop_hci.log 中的现有日志文件 2. 从用户界面禁用蓝牙 - 未生成日志 3. 启用蓝牙,并在用户界面中点击连接到 Airdopes 141 耳机 - 已生成日志文件(已将其打包成 zip 文件) 4. 在此过程中,用户界面上的耳机显示正在连接,然后断开连接。 感谢您的支持 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  我不知道为什么你的HCI日志中没有任何与连接相关的日志。 请看下面的屏幕截图: 我认为你我之间的区别在于,你用的是 Ubuntu 系统进行刷机,而我用的是 Windows 系统进行刷机。 我先用 Ubuntu 22.04 试一下,然后告诉你结果。 还有一个问题,请问您还有 I.MX95 19*19 EVK 吗?如果可以的话,请您尝试使用另一块EVK主板? 或者,您能否尝试使用 Windows 电脑进行刷机? 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 请关闭此问题。谢谢。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  所以问题已经解决了吗? 如果可以,那么请问我是否可以暂时结案? 如果还有什么需要我进一步帮助的,请告诉我。 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  我用 Ubuntu 24.04 进行了测试,因为我们没有 Ubuntu 22.04 的电脑,我可以成功地将其下载到 I.MX95-EVK 中。 以下是我的测试结果截图: Image.jpg 对于您遇到的 LIBUSB_ERROR_NO_DEVICE = -4 错误,请问您是否连接了USB 集线器? 如果可以,请您直接将其连接到您的Ubuntu电脑上。 请问您能否帮忙用以下命令检查一下它是否输出信息: uuu -lsusb   就我而言,它可以输出已连接的已知设备信息,例如芯片名称、Pro SDPS:、Vid 信息、PID 信息、二进码十进数(BCD) 版本和序列号。 另外,请再次确认您是否已将SW7(1001,1-4 位)更改为将板切换到串行下载模式。   通常,这种 LIBUSB_ERROR_NO_DEVICE 错误与 I.MX 95 板和 Ubuntu PC 的连接有关。   顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 嗨@Christine_Li , 看起来像是我的基础设施出了问题。感谢您一直以来的支持。 此致问候
View full article
How to Integrate a C++ TFLite Model into a C-Based MCUXpresso Project? Hello NXP Team, I am integrating a TensorFlow Lite Micro model into my MCUXpresso project for the MCXN947. My application is written in C, while the TensorFlow Lite Micro inference code and generated model are in C++. I am encountering compilation and linking issues when combining the C and C++ source files. I have already tried using "extern C", but the issue remains. Could you please advise on the following? Is it recommended to mix C and C++ source files in an MCUXpresso project? What is the recommended approach for integrating a C++ TensorFlow Lite Micro model into a C-based application? Are there any required compiler/linker settings or reference examples for this integration? Any guidance would be greatly appreciated. Thank you. Development Board MCXN Re: How to Integrate a C++ TFLite Model into a C-Based MCUXpresso Project? Hello @sivamankomb , Thanks for your post. Of course you can mix C and C++ source files in an MCUXpresso project. In fact, this is also the approach used in our SDK demos. For reference, you can review several eIQ-related example projects included in the SDK. The SDK is available for download from Select Board | MCUXpresso SDK Builder. Celeste_Liu_0-1784012914332.png The key points are as follows: - .c files are compiled as C code. - .cpp files are compiled as C++ code. - The final linking stage must use a toolchain that supports the C++ runtime and C++ symbol resolution. - C code should only call functions exposed through extern "C" wrappers and should not directly include or use TFLM C++ classes, templates, or namespaces. Therefore, the recommended approach is to encapsulate the TFLM inference implementation in a .cpp file and expose only a C ABI-compatible wrapper interface to the C application. For example, in the SDK's tflm_label_image demo, the core TFLM inference logic is implemented in common/tflm/model.cpp. This file uses the TFLM C++ APIs, such as #include "tensorflow/lite/micro/micro_interpreter.h" #include "tensorflow/lite/micro/micro_op_resolver.h" static const tflite::Model* s_model = nullptr; static tflite::MicroInterpreter* s_interpreter = nullptr; extern tflite::MicroOpResolver &MODEL_GetOpsResolver(); Then creating a tflite::MicroInterpreter instance and calling AllocateTensors() within MODEL_Init() to perform initialization. The externally exposed model.h,  provides a C-friendly interface. #if defined(__cplusplus) extern "C" { #endif status_t MODEL_Init(void); uint8_t* MODEL_GetInputTensorData(tensor_dims_t* dims, tensor_type_t* type); uint8_t* MODEL_GetOutputTensorData(tensor_dims_t* dims, tensor_type_t* type); void MODEL_ConvertInput(uint8_t* data, tensor_dims_t* dims, tensor_type_t type); status_t MODEL_RunInference(void); const char* MODEL_GetModelName(void); #if defined(__cplusplus) } #endif The function declarations are exported through extern "C", allowing C source files to simply #include "model.h" and call functions such as MODEL_Init() and MODEL_RunInference() without needing any knowledge of C++ types like tflite::MicroInterpreter or MicroMutableOpResolver. This architecture is also the approach adopted by our SDK examples and is generally recommended when integrating TFLM into a C-based application, as it cleanly isolates the C++ implementation details while preserving a pure C interface for the application layer. If you want to integrate customer ML model to SDK demo, you can refer to AN14241 . Hope it helps. BR Celeste
View full article
Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hey there, I have successfully cloned and build the Android 14 Automotive NXP code in Linux server by following the documentation provided on the official website AAUG_14.0.0_2.1.0_2024-10-02_14-28.pdf. Code downloaded from this link: https://www.nxp.com/pages/alpha-beta-bsps-for-microprocessors:IMXPRERELEASES (Android Automotive 14.0.0_2.1.0 (L6.6.23 BSP) Supports i.MX95 19x19 EVK Alpha Link:https://www.nxp.com/webapp/Download?colCode=automotive-14.0.0_2.1.0_image_95evk_car2&appType=license) I have tried with both the build targets for automotive. 1. evk_95_car-trunk_staging-userdebug 2. evk_95_car2-trunk_staging-userdebug After flashing the board, the process completed successfully and I am able to see the Android 14 Automotive UI. Command used for flashing : sudo ./uuu_imx_android_flash.sh -f imx95 -e -t emmc However, when i try to enable Bluetooth on UI, I am getting a crash in adb logcat. Bluetooth never gets enabled. Attaching the logs: bt.log and bt-on.log. Board information : i.MX 95 19x19 evk reference board. I am using JODY-W377-00B u-blox chip for WiFi and BT. Could you please confirm if this is an expected behavior or a known issue? Please let me know if any additional information is required. I am currently blocked and i need processed only if BT is working. Thank you. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Adding additional information of the board as UI screenshots for Android automotive OS install success, BT not working and WIFI working. Please let me know if more information is required. JODY-W377: JODY-W377_CHIP.jpeg BT NOT working: BT_Not_Working.jpeg Android Automotive up via Android 14: Android_Automotive.jpeg WiFi working: WiFi_Working.jpeg Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hi, @ni3  Thanks for your detailed info. Please allow me some time to check logs and your setup. Once have any updates, I will let you know. Best regards, Christine. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hi, @ni3  Your shared logs seems there is HAL initialization failure. Would you mind have a try with below release: 16.0.0_1.2.0_DEMO_95 You are using now is Alpha / Beta BSPs, it might have some issues, please have a try with above release, and let me know your results, Thanks. Best regards, Christine. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hello @Christine_Li , Thanks for the reply. I went through the comment by you and realized that you provided me Android OS image and not the Android automotive one which i am looking for. I have tried the image though because i am not able to bring the board up with Android 16. What i tried: Flash the Android image from link you provided. Here is the screenshot: Androdi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUU Then I tried with (optionally) Android automotive 16 prebuilt DEMO images. Here is screenshot: Andrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUU I have UART switch set to ON (means JTAG is OFF) I have SW7 switch for download as 1001 and for emmc boot - 1010 Here is screenshot: Board imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard image Till now - Android 16 has always failed with LIBUSB error, and I had to switch to Android 14 alpha image. For Android 14 - once I switch to UART - ON on board then Bluetooth started working and enabled by default. Now my concern is something different. Bluetooth speakers i have does not connect with the board but just shows notification of connected and disconnected. Here is screenshot: BT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UI My iPhone does connect and process call+media but my headphone BT speakers does not receive any data. Is it that BT sink does work and source does not work at all in Android automotive? Is there a way that I can use BT as source? Any config changes required? Thanks in advance. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hi @Christine_Li , Please find the logs attached and let me know if there is anything that needs to be done further. I have few more queries actually if this is design limitation due to BT sink profile for Android automotive. 1. Can I route zone 1 output to 3.5mm jack and zone 2 output to J10 connected external speaker? Is there configuration and routing changes required? 2. Do I need to use pipewire to define and route the audio independently with 3.5mm jack and USB soundcard? The whole purpose is to achieve Audio Multizone implementation on imx95 EVK REV A board. Please suggest and let me know if further information required. Thanks. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hi, @ni3  Can you please help to provide me the failed HCI logs and also logcat logs when you trying to connect to your headset? On Android, you can capture HCI logs by enabling Bluetooth HCI snoop log in Developer Options , toggling Bluetooth once to start capture, and then exporting the log with  adb  . Steps: Open Developer Options Enable Bluetooth HCI snoop log Toggle Bluetooth off and on once Trying to reproduce the issue. Pull the log file with ADB commands. Let's have a look the connection failed logs then try to find the connection failed reason. Best regards, Christine. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hi,   I tested it locally with I.MX95-EVK 19*19, and Android 16 Auto release: i.MX 95 (B0) 19x19 EVK – demo images with EVS in Arm Cortex-A core​​ It can work as expected. Please see below screenshot for your reference. Untitled.png Best regards, Christine. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 I had a try at the Android 16 prebuilt you insisted but it's a LIBUSB error mentioned earlier which blocks the flashing using uuu. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hi, @ni3  I checked your current logs, and found that the  ======= Line 838: 06-19 07:25:06.044 1294 1486 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:67:36 BOND_BONDING => BOND_BONDED Line 841: 06-19 07:25:06.077 1181 1357 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 844: 06-19 07:25:06.084 1673 1673 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 853: 06-19 07:25:06.099 1181 1357 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device XX:XX:XX:XX:67:36 Line 868: 06-19 07:25:06.284 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 886: 06-19 07:25:06.401 1544 1571 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 888: 06-19 07:25:06.411 1544 1571 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device XX:XX:XX:XX:67:36 Line 903: 06-19 07:25:08.919 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 909: 06-19 07:25:09.953 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 911: 06-19 07:25:10.014 1294 1426 I btm_acl : packages/modules/Bluetooth/system/stack/acl/btm_acl.cc:205 - disconnect_acl: Disconnecting peer:xx:xx:xx:xx:67:36 reason:HCI_ERR_PEER_USER comment:stack::l2cap::l2c_link::l2c_link_timeout All channels closed Line 914: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:4101 - btif_av_acl_disconnected: btif_av_acl_disconnected: Peer xx:xx:xx:xx:67:36 : ACL Disconnected Line 915: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:1503 - FindOrCreatePeer: BtifAvPeer *BtifAvSink::FindOrCreatePeer(const RawAddress &, tBTA_AV_HNDL): Create peer: peer_address=xx:xx:xx:xx:67:36 bta_handle=0x41 peer_id=0 Line 920: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:1575 - DeleteIdlePeers: DeleteIdlePeers: Deleting idle peer: xx:xx:xx:xx:67:36 bta_handle=0x41 Line 922: 06-19 07:25:10.055 1294 1460 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/btif_dm.cc:890 - btif_dm_get_connection_state: Acl is not connected to peer:xx:xx:xx:xx:67:36 It means it already paired and connected successfully, but ACL link is disconnected by Android host due to the SDP responds that “SdpManager: sdpRecordFoundCallback: Search instance is NULL” no profiles. To debug further, please help to provide me the HCI snoop logs. Can you please help to provide me the failed HCI logs and also logcat logs when you trying to connect to your headset? On Android, you can capture HCI logs by enabling Bluetooth HCI snoop log in Developer Options , toggling Bluetooth once to start capture, and then exporting the log with  adb  . Steps: Open Developer Options Enable Bluetooth HCI snoop log Toggle Bluetooth off and on once Trying to reproduce the issue. Pull the log file with ADB commands. And also, at the same time, you can have a try with below Android 16 Auto release. I suspect the issue might be related to your Android 14 auto release. i.MX 95 (B0) 19x19 EVK – demo images with EVS in Arm Cortex-M7 core​​​​​​​​​ ​​​ ​​ i.MX 95 (B0) 19x19 EVK – demo images with EVS in Arm Cortex-A core​​ Best regards, Christine. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hi, @ni3  That was my mistake. Last time I share to you the link is for Android 16, not for Automotive Android 16. And you can get the Automotive Android release by below link: Software for Android Automotive | NXP Semiconductors And yesterday I shared to you the link is specially for I.MX95-EVK Automotive Android 16. Here I paste the link below again for your convenience. i.MX 95 (B0) 19x19 EVK – demo images with EVS in Arm Cortex-A core​​ If still have LIBUSB related issue, please have a try by changing another USB Type-C cable, or changing another USB port on your windows PC, or reboot the board after plug out then plug in again. Sometimes we also meet such kind of LIBUSB error, but after changing another USB Type-C cable, or changing another USB port on our windows PC, or reboot the board after plug out then plug into the PC port again, the issue is resolved.  Best regards, Christine. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hi @Christine_Li , I had a try at the Android 16 prebuilt you insisted but it's a LIBUSB error mentioned earlier which blocks the flashing using uuu. I am attaching the BT HCI logs here as a zip file. Thanks for your support. Regards.     Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hi, @ni3  I checked your logs, it doesn't including your connect failed process. Can you please help to capture HCI logs by re-enable Bluetooth, then reproduce the issue(Connect your Headset but showing disconnected in UI), then save the logs and share to me? I am not sure why you can not flash it into your board, but I can flash it successfully with the link I shared to you the Automotive Android 16 Image. Below is the flashing screenshot on my side showing that flash successfully. And you are also right with: Change the board's SW7 (boot mode) to 1001 (1-4 bits) to enter serial download mode. Change SW7 to switch the board back to 1010 (form 1-4 bit) to enter eMMC boot mode. Christine_Li_0-1782981372954.png Best regards, Christine. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hello  @Christine_Li, Tried to flash the same as you from my Ubuntu 22.04 since I cannot use Windows for flashing. It did show me LIBUSB error as per the attached screenshot in the zip. After enabling BT snoop logs in settings, I did the following: 1. Delete the existing log file from /data/misc/bluetooth/logs/btsnoop_hci.log 2. Disable the BT from UI - No log generated 3. Enable the BT + Click on connect to Airdopes 141 earbuds from UI - Logfile generated (attached the same in zip) 4. The earbuds on UI show connecting and then disconnected after this process. Thanks for your support Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hi, @ni3  I don't know why in your HCI logs, there is no any logs related to connection. Please see below for the screenshot: I think the difference between your side and my side is you are using Ubuntu to flash, and I am using Windows to flash. Let me have a try with Ubuntu 22.04, then let you know my results. Another request, do you have another I.MX95 19*19 EVK? If possible, would you please have a try with another EVK board? Or, would you please have a try with Windows PC to flash? Best regards, Christine. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hi, @ni3  So have you already resolved the issue? If yes, then would you mind me close this case for now? If not, please let me know if still need any further support from my side. Best regards, Christine. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Please close the issue. Thanks. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hi, @ni3  I checked with Ubuntu 24.04 because we do not have ubuntu 22.04 PC, and I can successfully download it into I.MX95-EVK. Please see below for my test result screenshot: Image.jpg  For the LIBUSB_ERROR_NO_DEVICE = -4 error on your side, can you please check whether you connect with a USB Hub? If yes, would you please directly connect it to your Ubuntu PC? And can you please help to check whether it output info with this command: uuu -lsusb   For my side, it can output the connected known devices info, such as Chip name, Pro SDPS:, Vid info, Pid Info, Bcd version and Serial_no. Also, please double confirm you already change SW7(1001, 1-4 bits) to switch the board into  serial download mode.   Usually such kind of LIBUSB_ERROR_NO_DEVICE error is related to the connections of I.MX 95 board and Ubuntu PC.   Best regards, Christine. Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Hi @Christine_Li, It looks like my infra issue. Thanks for your support over the time. Regards.
View full article
S32K3コアの電源オフエラーと実行中(バスエラー) 以下の状況で、MCU がどのような状態にあり、どのようなCASEが発生するのかを質問します。 興味深いのは、特定の関数を Over(Trace32) で実行すると問題が発生しますが、Step(Trace32) で実行すると問題が発生しないことです。 (MCUには正常に電源が供給されています。) Re: S32K3 core power down error & running(bus error) 皆さんこんにちは 現在、私たちのプロジェクトでも同じ種類の問題に直面しています。CRC および C40 モジュールは使用されませんが、このトピックで説明されている他のすべてはこのCASEに有効です。 @kjy106906 、問題は解決しましたか? 編集: @danielmartynek 、このトピック以降、この種の問題が解決されたと聞いたことがありますか? ご回答ありがとうございます Re: S32K3 core power down error & running(bus error) こんにちは@kjy106906さん、 あなたはこう書いています。「不思議なことに、不要なコードを数行追加しても(デバッグのために while ステートメントを追加したり、グローバル変数を追加したりしても)、問題は再現しません。」 レジスタまたは SRAM メモリに書き込む場合、すべての操作が適切にシリアル化されるようにそれを読み戻すことはできますか? RM、rev.8、セクション3.8 メモリ操作のシリアル化。 よろしくお願いいたします。 ダニエル Re: S32K3 core power down error & running(bus error) ありがとう@danielmartynek C40 ライブラリも使用しています。(C40_Ip_読み取り) ただし、エラーは返されません (成功が返されます)。 Re: S32K3 core power down error & running(bus error) DFlash を読み込むときに、ドライバは使いますか? ドライバはエラーをチェックするため: danielmartynek_0-1714660282009.png ありがとうございました。 ダニエル Re: S32K3 core power down error & running(bus error) ありがとう@danielmartynek NXPについてセキュリティ上の理由により、プロジェクト全体を共有することはできません。 エルフを共有しても、現在は私のボード上で動作します。 お使いの環境ではテストができない可能性があります。 簡易エルフの共有もできません。 不思議なことに、不要なコードを数行追加しても(デバッグ用の while ステートメントの追加、グローバル変数の追加など)、問題は再現されません。 現在、この問題は 5 つの BMS ボードで発生しています。 すべては Dataflash に関連しています。 上記の現象は、データフラッシュ領域の破損やその他のエラーにより発生した可能性がありますか? Re: S32K3 core power down error & running(bus error) こんにちは@kjy106906さん、 私の側でテストしてみたいと思います。 CANプロジェクトを共有してもらえますか? または、 .elfを使用した簡略化されたバージョンが望ましい問題を再現CANか? ここで共有したくない場合は、チケットを作成してください。 ありがとうございました。 ダニエル Re: S32K3 core power down error & running(bus error) ありがとう@danielmartynek 現在、Vector Microsarを使用しています MCU は OS HAL Fault (例外) を発生しません。 MCU 例外が入力されると、デバッガーで MCU が対応するコードにジャンプするのが確認できると思いますが、現在は Trace32 でバス エラーが出力されています。 したがって、例外は発生しなかったようです。 他に確認すべき点があればお知らせください。 Reset_b も VDD_HA_A も Low に下がりません。 この問題により、Trace32 のない BMS のみの状態で SBC が無限にリセットされます。この問題は Dataflash Init で発生するため、MCU が動作せず、SBC の無限リセットが発生します。 SO、これは Lauterbach の問題でもありません。 それは私たちにとって重要な問題です。他に確認すべき点があればお知らせください。 Re: S32K3 core power down error & running(bus error) こんにちは@kjy106906さん、 SO、コアは障害例外を検出せず、HardFault_Handler() には移動しないことがわかります。 CAN reset_b ピンを監視できますか?アプリケーションは実行されていますか? もしSOなら、それは Lauterbach の問題である可能性があります。 BR、ダニエル Re: S32K3 core power down error & running(bus error) よろしくお願い申し上げます。 エラー ハンドラーにブレークを設定しても、ブレークは発生せず、MCU は対応する状態になります。 MCU がどのような状態にあり、その状態になった理由は何なのかが気になります。 Re: S32K3 core power down error & running(bus error) こんにちは@kjy106906さん、 障害例外に関する詳細情報をご覧ください。 以下のドキュメントを参照してください。 https://community.nxp.com/t5/S32K-Knowledge-Base/S32K14x の障害処理/ta-p/1114447 https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570 https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-HARDFAULT-Handling-Interrupt-DS3-5-RTD300/ta-p/1806259 BFARVALID = 1 の場合、構成可能な障害ステータス レジスタ (CSFR) とバス障害アドレス レジスタ (BFAR) を読み取ります。スタック上の障害命令の PC アドレスを見つけることができるはずです。 よろしくお願いいたします。 ダニエル Re: S32K3 core power down error & running(bus error) いつもありがとう@danielmartynek その関数は RTD 関数ではなく、単純な計算関数です。 特定のアドレスの C40 読み取りデータの CRC を計算するときに問題が発生します。 これは読み取り時ではなく、CRC 計算機能の実行時に発生します。 MCU: S32K312、RTDバージョン: 2.0.0 MCU がどのような状態にあり、その状態になった理由は何なのかが気になります。 Re: S32K3 core power down error & running(bus error) こんにちは@kjy106906さん、 もっと具体的に教えていただけますか? ここではどのような機能を踏むのでしょうか? 使用する場合、CAN MCU と RTD のバージョンも指定できますか? ありがとうございました。 BR、ダニエル Re: S32K3 core power down error & running(bus error) こんにちは、 ようやく、弊社側の問題の原因を特定することができました。 これは、分岐投機に関連するNXPのエラータERR052460に関連していました。以下のコードスニペットがこの挙動を修正します。 // NXP ERR052460 Workaround: Cortex-M7: A hang scenario can occur when a reserved read locked memory region is accessed by application cores *((uint32_t*) 0x402AC0F0) = 0x1CB0499Du; *((uint32_t*) 0x402AC0F0) = 0xB9920D38u; これがあなたの側でも全く同じ根本原因かどうかは分かりませんが(私はNXPの社員ではありませんし、どうせ彼らは返答してくれないでしょうから)、確認してみる価値はあると思います。 Re: S32K3 core power down error & running(bus error) @kjy106906 、 @danielmartynek 、 同じ質問ですが、根本原因は特定できましたか? この問題はサイズ最適化を行った場合にも発生し、最適化を行わない場合は解消されます。 Re: S32K3 core power down error & running(bus error) @Palacni迅速なご返信、誠にありがとうございます。残念ながら、私の派生データには訂正表で示された場所に別の周辺機器があり、ユーザーアクセスを許可しています。私はNXPに、比較的新しい派生版の正誤表を依頼しました。 以下のいずれかが使用される場合に機能します。 最適化を無効にする(-O0) SoC上の別のドメインのSRAMを使用する 命令キャッシュを無効にする デバッガー経由でステップインする
View full article
RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure Hello, My name is Hye-Woon Jang, and I am currently using the RD33772C14VEVM board. After purchasing the board, I connected it to a DC power supply as shown in the attached photo. Since I do not currently have a suitable 12 V battery available, I am supplying 12 V using the power supply instead. The connections are as follows: 12 V + : VBAT+, K30_12V_L 12 V - : VBAT-, GND_KL31_DOWN HYEWOONJANG_0-1783667728625.png I am contacting you because, even when only the power supply is connected, the red RESET LED turns on and continues blinking at intervals of approximately 0.5 to 1 second, as shown in the attached photo. Should I understand this behavior as the board being repeatedly reset? I am asking because the LED brightness appears to be different from when I manually press the RESET button. HYEWOONJANG_1-1783667850747.png I would like to run a model using TRACE32. However, when the board is connected to TRACE32, the RESET indication in TRACE32 blinks at the same time as the RESET LED on the board, and it seems that TRACE32 is therefore unable to establish a connection with the target. HYEWOONJANG_2-1783667887333.png I would appreciate it if you could confirm whether this RESET LED behavior is normal and advise me on how to resolve the issue.  Thank you for your assistance. Best regards, Hye-Woon Jang #rd33772c14vevm #s32k344 #JTAG #MBDT #reset #T32 #TRACE32 Re: RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure And please let me know how I can stop the repeated reset behavior. Thank you. Re: RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure When I purchased the RD33772C14VEVM board, the supplied J5 cable assembly included a board labeled “PWA, X-14VBMS-EMU (700-50656)” at the end of the cable. My understanding is that this board functions as an emulator for battery cell voltages and temperatures when 12 V is supplied as follows: *12v + to K30_12V_L *12v - to GND_K31_DOWN Could this emulator board be used in place of connecting at least three actual battery cells to the MC33772C? Re: RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure Hello Jang, please refer to the section 13.2.2 in the MC33772C datasheet. Minimally 3 Cells must be populated with the MC33772C.  JozefKozon_0-1783929535467.png For the RD33772C14VEVM 4 Cells are recommended. Then the Cells must supply the MC33772C. Power supplying the MC33772C from external source without populating the Cells will not work.  JozefKozon_1-1783929689001.png JozefKozon_2-1783929756047.png Please also refer to the AN12536 attached. With Best Regards, Jozef Re: RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure Would it be correct to understand it this way? 12 V SUPPLY (−) → B− → SHUNT → VBAT− → X-14VBMS-EMU GND_KL31_DOWN Re: RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure Hello Jang, thank you for pointing me to the X-14VBMS-EMU, I see it now. I see a possible issue in the connection. Please connect the negative side of the X-14VBMS-EMU to the other pin of the shunt resistor, so the current will flow through the Shunt resistor and sensed by ISENSE pins. Please refer to the RD33772C14VEVM schematic attached.  JozefKozon_0-1783938183393.png JozefKozon_1-1783938905472.png Please check if you have the J1 connector populated, for setting the FS26 to DEBUG mode. JozefKozon_2-1783939229571.png Please follow the powering order. First please connect the 12V to B+ and B-.  Then connect the connector to J6.  Connect the battery simulation cable to J5 and connect the power source (+12V to the BAT+ (K30) and negative point from the Shunt resistor to BAT- (K31)).  JozefKozon_3-1783939864151.png With Best Regards, Jozef Re: RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure Hello JozefKozon, Thank you for your response. Based on what you explained and the RD33772C14VEVM board schematic, I connected it as follows: 12 V supply -> shunt -> EMU. However, the reset behavior is still the same. HYEWOONJANG_0-1784003154936.png Could you please answer the following questions? I am supplying power after setting the DC power supply to 12 V and 1.5 A. However, I confirmed that the actual current going into the board is 12 V and 0.04 A. Could this be a problem? If the issue in question 1 is a problem, what should I do to make 1.5 A flow into the board? As you explained, I configured the setup so that the wire from the power supply goes through the shunt resistor and then to the EMU. Could you please confirm once whether the setup shown in the attached photo is correct? When TRACE32 is connected, it appears that a reset occurs once every 0.5 seconds, and because of this behavior, I cannot connect TRACE32 to the board. Is there a way to confirm whether the board is actually performing a reset? When I measured the voltage between JTAG pin 10 and GND, it was 4.9 V. However, since I do not have an oscilloscope, there is a limitation in confirming the reset behavior through the JTAG pin. If there is a way to stop the reset behavior, could you please explain it in detail, even though it may be inconvenient? Since we have not yet been able to obtain a 12 V battery, we are conducting the test with the VBAT terminals left unconnected. When 12 V is supplied to B+ and B−, we confirmed that 12 V is present at the VBAT terminals. Could leaving VBAT unconnected be causing the issue? I look forward to your response. Thank you. Re: RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure Hello Jang, Would it be correct to understand it this way? 12 V SUPPLY (−) → B− → SHUNT → VBAT− → X-14VBMS-EMU GND_KL31_DOWN [A] Yes, this is how it is depicted in the RD33772C14VEVM board schematic. JozefKozon_0-1784001398003.png With Best Regards, Jozef
View full article
RD33772C14VEVM RESET LEDの繰り返し点滅とTRACE32接続エラー こんにちは、 私の名前はチャン・ヘウンです。現在、RD33772C14VEVMボードを使用しています。 ボードを購入した後、添付の写真のようにDC電源に接続しました。現在、適切な12Vバッテリーが手元にないため、代わりに電源装置を使って12Vを供給しています。 接続は以下のとおりです。 12V+:VBAT+、K30_12V_L 12 V - : VBAT-、GND_KL31_DOWN HYEWOONJANG_0-1783667728625.png 電源ユニットのみに接続されていても、赤いRESETLEDが点灯し、添付写真に示されているように約0.5秒から1秒間隔で点滅し続けるため、あなたに連絡しています。 これは、基板が繰り返しリセットされていると理解すべきでしょうか? 手動でリセットボタンを押したときと、LEDの明るさが異なっているように見えるので、質問させていただきました。 HYEWOONJANG_1-1783667850747.png TRACE32を使ってモデルを実行したいと思っています。しかし、ボードをTRACE32に接続すると、TRACE32のRESET表示と同時に基板上のRESETLEDが点滅し、TRACE32ターゲットとの接続ができないようです。 HYEWOONJANG_2-1783667887333.png このリセットLEDの挙動が正常かどうか確認し、問題の解決方法についてアドバイスをいただけると助かります。ご協力ありがとうございました。 よろしくお願いします、 チャン・ヘウン #rd33772c14vevm #s32k344 #JTAG #MBDT #リセット #T32 #TRACE32 Re: RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure リセットの繰り返しを止める方法も教えてください。ありがとう。 Re: RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure RD33772C14VEVMボードを購入した際、付属のJ5ケーブルアセンブリにはケーブルの端に「PWA, X-14VBMS-EMU (700-50656)」とラベル付けされた基板が付属していました。 私の理解では、このボードは12Vが供給された場合、バッテリーセルの電圧と温度のエミュレーターとして機能します。 *12v + からK30_12V_L *12V - GND_K31_DOWN このエミュレーターボードは、少なくとも3つの実際のバッテリーセルをMC33772Cに接続する代わりに使えるでしょうか? Re: RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure このように理解して良いでしょうか? 12V電源(−) → B− → シャント → VBAT− → X-14VBMS-EMU GND_KL31_DOWN Re: RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure こんにちは、チャンさん。 MC33772Cのデータシートのセクション13.2.2を参照してください。最低でも3つのセルにMC33772Cを実装する必要があります。 JozefKozon_0-1783929535467.png RD33772C14VEVMには4セルが推奨されます。次に、セルはMC33772Cを供給する必要があります。セルに部品を実装せずに外部電源からMC33772Cに電源を供給しても動作しません。 JozefKozon_1-1783929689001.png JozefKozon_2-1783929756047.png 添付のAN12536もご参照ください。 敬具、 ヨゼフ Re: RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure こんにちは、チャンさん。 X-14VBMS-EMUについて教えていただきありがとうございます。おかげさまで分かりました。接続に問題がある可能性があるようです。X-14VBMS-EMUの負側をシャント抵抗のもう一方のピンに接続してください。そうすれば電流がシャント抵抗を通過し、ISENSEピンで感知されます。添付のRD33772C14VEVMの回路図をご参照ください。 JozefKozon_0-1783938183393.png JozefKozon_1-1783938905472.png FS26をデバッグモードに設定するには、J1コネクタが正しく接続されているか確認してください。 JozefKozon_2-1783939229571.png 電源投入の順番を守ってください。まず、12VをB+とB-に接続してください。 次に、コネクタをJ6に接続します。 バッテリーシミュレーションケーブルをJ5に接続し、電源(+12V)をBAT+(K30)に接続し、シャント抵抗器のマイナス点をBAT-(K31)に接続します。 JozefKozon_3-1783939864151.png 敬具、 ヨゼフ Re: RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure こんにちは、チャンさん。 このように理解して良いでしょうか? 12V電源(−) → B− → シャント → VBAT− → X-14VBMS-EMU GND_KL31_DOWN [A] はい、RD33772C14VEVMボードの回路図ではそのように描かれています。 JozefKozon_0-1784001398003.png 敬具、 ヨゼフ Re: RD33772C14VEVM Repeated RESET LED Blinking and TRACE32 Connection Failure こんにちは、JozefKozonさん。 ご返信ありがとうございます。 説明されたこととRD33772C14VEVM基板の回路図に基づいて、接続は次の通りです:12V電源 -> シャント -> EMU。しかし、リセット時の動作は以前と同じです。 HYEWOONJANG_0-1784003154936.png 以下の質問にお答えいただけますか? DC電源を12Vと1.5Aに設定した後に電源を供給しています。しかし、実際に基板に流れ込む電流は12V、0.04Aであることを確認しました。これが問題になる可能性はありますか? 質問1の問題が深刻な場合、基板に1.5Aの電流を流すにはどうすればよいでしょうか? ご説明の通り、電源からの配線がシャント抵抗を通ってEMUに接続するように設定しました。添付の写真に示されているセットアップが正しいかどうか、一度だけ確認していただけますか? TRACE32接続すると、0.5秒ごとにリセットが起こるようで、この動作のせいでTRACE32ボードに接続できません。基板が実際にリセットを実行しているかどうかを確認する方法はありますか?JTAGピン10とGND間の電圧を測定したところ、4.9Vでした。しかし、オシロスコープを持っていないため、JTAGピンを介したリセット動作の確認には限界があります。 リセット動作を止める方法があれば、不便かもしれませんが詳しく説明してもらえますか? 12Vバッテリーを入手できていないため、VBAT端子を接続せずにテストを実施しています。B+とB−に12Vを供給したところ、VBAT端子に12Vが存在することを確認しました。VBATを接続していないことが問題の原因かもしれませんか? ご回答をお待ちしております。 よろしくお願いします。
View full article
TJA1445のFlexCAN(S32K348)ビットタイミング計算 こんにちは、 設定設定のために MPC5xxx/S32Kxx/LPCxxxx: CAN / CAN FDビットタイミング計算 ナレッジベースドキュメントから添付ファイルをダウンロードしました。 しかし、カリキュレータで TJA1445 トランシーバーのオプションが見つからず、S32K348ボードの設定を進めることができません。 TJA1445トランシーバーを含むカリキュレータの最新バージョンがあるか教えていただけますか?もしそうでなければ、既存のドロップダウンリストからどの代替トランシーバが最も互換性があるか、または最も近い選択肢を選ぶべきでしょうか? ご協力ありがとうございます! よろしくお願いいたします。 Re: FlexCAN(S32K348) bit timing calculation for TJA1445 こんにちは、 @Penta7 さん。 トランシーバを選択することで伝播遅延パラメータも読み込みますが、ユーザー値で簡単に上書きできます。TJA1445のデータシートを参照して、propTXRXを220 nsに上書きできます: Julin_AragnM_0-1784069536942.png よろしくお願いします、 ジュリアン Re: FlexCAN(S32K348) bit timing calculation for TJA1445 TJA14XXファミリー向けにFlexGUIを試しましたか?ご要望のタイミング設定情報があるかどうかはわかりません 現在のバージョンはNXP_TJA14XX_GUI_1.1.0です。NXP公式ウェブサイトからダウンロード可能です
View full article