Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
需要对 LPC4078 EEPROM 页面擦除进行说明 我正在使用 LPC4078 和 MCUXpresso,并尝试在 Eeprom 中存储数值。 我想在不清除整个页面的情况下在页面中间写几个字节。 在数据表中可以看到,在将数据写入页面寄存器后,还必须将其编程到非易失性存储器中,而这是通过擦除/编程操作完成的。 擦除/编程操作是擦除整个页面,还是只擦除有新数据的页面区域?- 擦除/编程的地址设置会忽略 6 个 lsbs,因此它只知道页面。 UM10562.pdf 没有明确说明这个问题。 谢谢! 亚历克斯 Re: lpc4078 eeprom page erase clarification required 我附上了一个工作区,其中包含上述项目。我使用 lpc-link2 调试器在 LPC4078 上运行了它。 (我懒得让半托管工作,所以使用断点来检查数据)。 Re: lpc4078 eeprom page erase clarification required 你好@alex_conway 对于 LPC4078 EEPROM,最小擦除/编程单位为一页(64 字节)。因此,每次擦除/编程操作都会擦除整个页面。如果你只想写入几个字节,请先读取整个页面,然后修改所需的字节,最后在页面上执行擦除/编程操作。您可以在自己身边进行测试。   谢谢!   BR 爱丽丝 Re: lpc4078 eeprom page erase clarification required 嗨,爱丽丝、 我的实验证明并非如此: 我使用 lpc_board_ea_devkin_4088 库和 periph_eeprom 演示项目编写了一个小程序来启动它。 我擦除了一页 Eeprom,然后读了回来。令我惊讶的是,结果都是 "0",而不是 0xFF 然后,我将 "ABCDEFG/0 "写入该页面的地址 0,并读回页面。我收到 "ABCDEFG\0 然后,我将 "ABCDEFG/0 "写入该页的地址 7,并回读该页。我收到 "ABCDEFGABCDEFG\0 除了两件事之外,一切都在预料之中: 1. 擦除 eeprom 后读数为 0 2. 从Chip_EEPROM_Write()的实现来看,似乎没有读取-修改-擦除-写入的顺序。只有 Chip_EEPROM_WritePageRegister 之后的 Chip_EEPROM_EraseProgramPag。 这就是我提问的原因。 谢谢! 亚历克斯 Re: lpc4078 eeprom page erase clarification required 在所有 printf 字符串中添加换行符后,我的半托管系统就能正常工作了!还有更清楚的证据证明了我所说的一切: 擦除将 Eeprom 设置为 0x00 该代码不执行读-修改-擦除-写序列,只执行擦除-写序列。 LPC4078 在擦除时似乎只擦除写入的位置。 我真的很想澄清这一点。 谢谢! 亚历克斯 Re: lpc4078 eeprom page erase clarification required 尽管事态“升级”(无论这意味着什么),但恩智浦方面对此事仍未作出进一步回应。 我还需要进一步澄清。
View full article
LS2160A Serdes クロッキング 私はLX2160A SerDes1とRCW SerDesプロトコル2を使用しています。 E~Hレーン:SGMII レーンA~D:PCIe.2 x4(Gen2のみ) リファレンスマニュアルによると、すべてのレーンがPLLSを使用しているため、SGMIIとPCIeは同じリファレンスクロックを共有しているはずです。当初は、高速/低速のクロック入力を別々に使用して、SGMIIを125MHz、PCIeを100MHzで動作させたいと考えていましたが、この特定のプロトコルオプションでは両方のプロトコルがPLLSのみを使用するため、同一の基準周波数を共有する必要があります。そのため、現在はSD1のPLLS入力に100MHzのクロックを1つ供給し、PLLFは使用しないことにしました。 RCW以外のSerDes設定を追加することなく、SGMIIとPCIe Gen1/Gen2の両方で単一の100MHz PLLSリファレンスを使用してプロトコル2を実行することは可能ですか? SGMIIとPCIeが同じPLLSを共有する場合、プロトコル固有の問題(ジッター、SSCなど)は発生しますか? 私のSGMIIリンクパートナーは、独自のローカル125MHzリファレンスを使用するLAN9645です。SGMIIはCDRを使用するため、片側が100MHz、もう片側が125MHzから生成される場合でも、両方とも正しい1.25Gbaudの回線速度を生成する限り、それは正常な動作なのでしょうか? プロトコル2はPLLFを使わないので、SD1の高速参照クロック入力は接続せずに放置してもよいのでしょうか、それとも駆動し続けるべきでしょうか?
View full article
LS1043AXN8QQB DVFS 親愛なるサポートへ、 お客様はLS1043AXN8QQBプラットフォームを使用し、CPUの動的周波数調整を1.6GHzから800MHz、500MHzに設定しました。CPUが500MHzで動作しているときに、RCUの停止とPCIE通信の異常が発生することが判明した。 RMおよびチップのデータシートによると、LS1043は1GHzから1.6GHzをサポートしています。公式文書には、動的周波数調整でサポートされる最小周波数については記載されていない。500MHzに対応しているかどうかは不明です。 CPU LS1043A正常に稼働しているときに動的周波数調整に対応していますか? Re: LS1043AXN8QQB DVFS CPUクロック分周器/cpufreqパスによって500MHzのCPUランタイム動作が実現される場合にサポートされ、CGA PLL自体を1GHz未満に下げることによって実現される場合にはサポートされません。 PCIeの異常について:周波数変更が通常のCPU DFSパスを介して行われる場合、NXPの証拠によれば、CPU周波数のみが影響を受け、AHB/APBは変更されないとのことです。したがって、PCIeはCPU DFSのみによって影響を受けるべきではない。PCIeが異常になった場合、実装がプラットフォーム/SYSCLK/PLL比率も変更していないか確認してください。なぜなら、データシートではプラットフォームクロック設定が有効範囲内に収まることを要求し、適切なPCIe動作のためのPCIeプラットフォームクロック要件が明記されているからです。 LS1043A実行時CPU周波数の500 MHzへのスケーリングをサポートしていますが、CGA PLLは≥1 GHzに保たれ、PCIe/プラットフォームクロックを乱してはいけません。
View full article
LS2160A Serdes Clocking I'm using LX2160A SerDes1 with RCW SerDes Protocol 2: Lanes E–H: SGMII Lanes A–D: PCIe.2 x4 (Gen2 only) From the Reference Manual, it appears all lanes use PLLS, so both SGMII and PCIe must share the same reference clock. I originally wanted to run SGMII at 125 MHz and PCIe at 100 MHz using separate fast/slow clock inputs, but since this specific protocol option puts both protocols on PLLS only, they must share one identical reference frequencyso now I plan to provide a single 100 MHz clock to the SD1 PLLS input and leave PLLF unused. Is it possible to run Protocol 2 with a single 100 MHz PLLS reference for both SGMII and PCIe Gen1/Gen2, with no additional SerDes configuration beyond the RCW? Are there any protocol-specific issues (jitter, SSC, etc.) when SGMII and PCIe share the same PLLS? My SGMII link partner is a LAN9645 using its own local 125 MHz reference. Since SGMII uses CDR, is it normal for one side to be derived from 100 MHz and the other from 125 MHz, as long as both generate the correct 1.25 Gbaud line rate? Since Protocol 2 doesn't use PLLF, can the SD1 fast reference clock input be left unconnected, or should it still be driven?
View full article
S32K328 – マルチコアが有効な場合、FIRCクロック分周器(DIV16)は適用されません NXPテクニカルサポートチームの皆様、こんにちは。 S32K328のFIRCクロック設定について質問があります。 STM2モジュールのFIRCクロックソースを3MHz(DIV 16)にシングルコアセットアップで設定しました。シングルコア構成では、FIRCクロックソースが正しく3MHzで出力されていることを確認しました。 しかし、マルチコアを有効にすると、分周器が16に設定されているにもかかわらず、FIRCクロックソースの出力が3MHzではなく48MHzになります。 現在のアーキテクチャでは、MCUの開始モードとセットモードはCore 0上でしか実行できません。私の質問は、Core 1からMCUクロックにもアクセス(または再設定)できるのか、そしてこれが問題の原因になるのかということです。 私の環境設定に関する補足情報: 私はAUTOSAR環境で作業しており、マルチコアサポートのためにRM(Resource Manager)モジュールを追加しました。 Domain0 マスター: コア 0、Domain1 マスター: コア 1。各ドメインに対してすべてのメモリおよびペリフェラルアクセス権限が付与されています。 ツール環境: MCAL RTD 3.0.0 EB Tresos 27.1.0 私自身の分析からの発見: 実行時にCONFIG_REG_GPRレジスタのFIRC_DIV_SELフィールドを読み取ると、値は3となり、これはドライバーコードに基づき48MHzに対応します(DividerValueマッピング:48MHz→3、24MHz→1、3MHz→2)。また、クロックドライバーのディバイダー書き込みパスにはAPP_CORE_ACC権限チェックと、Secure BAF(CORE2)がWFIに入るまでの待ち時間(ポーリングPRTN0_CORE2_STAT)が含まれていることに気づきました。マルチコア構成では、除算器への書き込みがスキップされる可能性があると推測されます。 以下の点についてアドバイスいただけますか: マルチコアが有効になっている場合、FIRC分周器の設定(DIV 16)が適用されず、3MHzではなく48MHzの出力になるのはなぜですか? このシナリオでは、Core 1からのMCUクロックへのアクセスや再設定がサポートされているか、または必須かは不明です。 マルチコア構成におけるAPP_CORE_ACC権限チェックやSecure BAF WFIタイムアウトによって、ディバイダー書き込みをスキップできるかどうか、そしてディバイダーが正しく適用されているかを確実にする方法についてです。 サポートありがとうございます。ご回答をお待ちしております。 よろしくお願いします、 AWSライブラリS32K3 Re: S32K328 – FIRC Clock Divider (DIV16) Not Applied When Multicore Is Enabled こんにちは、 根本原因 は 自分の側にある。 該当するドライバー機能は 以下の(Clock_Ip_SetFircDivSelHSEb in \Mcu_TS_T40D34M30I0R0\src\Clock_Ip_IntOsc.c をご覧ください😞 c /* Application can write this divider */ if ( ((IP_CONFIGURATION_GPR->CONFIG_REG_GPR & CONFIGURATION_GPR_CONFIG_REG_GPR_APP_CORE_ACC_MASK) >> CONFIGURATION_GPR_CONFIG_REG_GPR_APP_CORE_ACC_SHIFT) == CLOCK_IP_APP_CAN_WRITE) { ... /* FIRC_DIV_SEL write happens here */ } else { /* HSE firmware doesn't allow to write FIRC post divider. */ Clock_Ip_ReportClockErrors(CLOCK_IP_REPORT_WRITE_PROTECTION_ERROR, Config->Name); } 問題は 、 私のマルチコア構成では 、 フルスピードで動作しているときにコードが(APP_CORE_ACC == CLOCK_IP_APP_CAN_WRITE)ブロックに入らないことです。 ブロック 内に while(1)を入れて確認 しました が、その時間は一度も到達しません 。その結果、 FIRC_DIV_SEL書き込みがスキップされ、 レジスタは設定された2(3MHz)ではなくリセット値3(48MHz) のままになります 。これにより、私のSTMティックは意図した16倍速く動作 します。 しかし、デバッグモード(ステップ実行/ブレークポイント設定)で実行すると、同じブロックが正しく実行され、FIRC_DIV_SELも適切に2(3MHz)に設定されます。このフルスピード実行とデバッグ実行の違いが、問題の重要な症状です。 So the APP_CORE_ACC bit in CONFIG_REG_GPR is not set to CLOCK_IP_APP_CAN_WRITE at the moment Mcu_InitClock reads it during a full-speed multicore boot, but it does become writable when I slow execution down with the debugger. 私の環境設定に関する補足情報: Mcu_InitClockとMcu_SetModeはコア0でのみ呼び出されます。Core 1(CM7_1)はMCUクロックAPIを呼び出しません。 コア1は、 MC_ME (PRTN0_CORE1_*) を介してコア0から起動されます 。 HSEアプリケーションのファームウェア は 一切読み込んで いません。 同じ構成 は シングルコア(FIRC_DIV_SEL = 2 / 3MHz)でも正しく 動作します。 ツール環境:MCAL RTD 3.0.0、EB Tresos 27.1.0。 以下の点を理解する手助け をしてもらえます か? CONFIG_REG_GPRのAPP_CORE_ACCビット を制御するものは何 でしょうか?SBAFはどのような条件下で アプリケーションコアの書き込みアクセス をFIRC_DIV_SELに付与 しますか? なぜこのビットはシングルコアでは正しく設定されるのに、マルチコア構成では(フルスピードで)設定されないのでしょうか?CM7_1を起動したりマルチコアブートフローを追加したりすると、SBAFがこのアクセスを許可するタイミングや変更は変わりますか? ブロックは デバッガ下では正しく 実行 されますが、フルスピードではないため、 SBAFが 書き込みアクセスを許可し、Core 0 がMcu_InitClockを呼び出す場合のタイミングや順序の問題 が強く示 唆 されます。 Core 0がクロック 初期化を行う 前に SBAFがAPP_CORE_ACC = APP_CAN_WRITEを付与していることを確認する 推奨方法は 何でしょうか? マルチコア環境 で アプリケーションコアが このアクセス権を付与 される かどうかを決定する 特定の ブート構成(IVT、 ライフサイクル、またはSBAF関連 の設定)はありますか? Thank you for your サポート. I look forward to your guidance. よろしくお願いします、 Re: S32K328 – FIRC Clock Divider (DIV16) Not Applied When Multicore Is Enabled こんにちは、 そちら側でのテストと 詳細なご回答、 ありがとうございました 。 私の実装に関する ご質問にお答えします 。 1. FIRC_DIV_SELの設定方法: 私のClock_Ip_IrcoscConfigurations_0 構造 では 、FIRCクロック は IRCOSCの範囲をCLOCK_IP_SUPPORTS_3MHZ_FREQUENCYに設定 しています 。つまり 、意図された構成は3MHzで、 あなたのテストと同じです。 2. 2番目のコアの初期化方法 / もう一方のコアでクロック初期化を呼び出すかどうか: Mcu_InitClock とMcu_SetModeはどちらも Core 0でのみ呼び出されます。 Core 1では、MCU クロック関連のAPI は一切呼び出していません 。 とはいえ、 コア1で意図しない クロック再構成が発生していないことを 確認するため、私の側でさらにデバッグを 行い 、この動作を再確認します 。 その他の観察事項: シングルコアでは、FIRC_DIV_SEL 2 (3MHz)として読み取られ、正しく動作します。 マルチコアでは、FIRC_DIV_SELが3(48MHz)と読み取られ、STMティックは予想の16倍速くなります。 ご指摘いただいたとおり、最新のRTDリリース への移行についても検討いたします 。 デバッグ結果 はまた お知らせ します。その間に、 クロック初期化がCore 0の3MHz 構成 でのみ行われ ているにもかかわらず、 FIRC_DIV_SELが3( 48MHz)になる原因について何か アドバイス をいた だけるとありがたいです。 よろしくお願いします、 Re: S32K328 – FIRC Clock Divider (DIV16) Not Applied When Multicore Is Enabled こんにちは、 @dpsdprtmvl まず、使われているソフトウェアのバージョンは現在のバージョンより数リリース遅れているので、最新のソフトウェアリリースへの移行をお勧めします。 FIRC_DIV_SELに関して、S32K3 IPCF v4.3.0のIPCF_Example_S32K358を使用して、S32K3X8EVB-Q289ボード上で簡単なテストを実施しました。このテストでは、IRCOSC構成構造(Clock_Ip_IrcoscConfigurations_0)を変更し、IRCOSCの範囲をCLOCK_IP_SUPPORTS_48MHZ_FREQUENCYからCLOCK_IP_SUPPORTS_3MHZ_FREQUENCYに変更しました。 アプリケーションを実行し、コア間のピンポン通信が完了するのを確認した後、CONFIG_REG_GPR[FIRC_DIV_SEL]が下の画像のように期待値(10b)に正しく設定されていることを確認しました。 実装についてもう少し詳しく教えていただけますか?FIRC_DIV_SELはどのように設定していますか?2つ目のコアはどのように初期化していますか?他のコアでもクロック初期化を呼び出していますか? BR、VaneB
View full article
lpc4078 EEPROMページ消去に関する説明が必要 私はLPC4078とMCUXpressoを使用して、EEPROMに値を保存する実験を行っています。 ページ全体を消去せずに、ページの中央に数バイトのデータを書き込みたい。 データシートを見ると、ページレジスタに書き込むデータを書き込んだ後、さらに不揮発性メモリにプログラムする必要があり、それは消去/プログラム操作によって行われると記載されている。 消去/プログラム操作は、ページ全体を消去するのか、それとも新しいデータが格納されているページ領域だけを消去するのか、また、どのようにしてそれを判断するのか?- 消去/プログラム用のアドレス設定では、6 つの lsb が無視されるため、ページのみが認識されます。 UM10562.pdfには、このマターについて明確な記載はありません。 よろしくお願いします。 アレックス Re: lpc4078 eeprom page erase clarification required 該当プロジェクトを含むワークスペースを添付します。LPC4078上でlpc-link2デバッガを使って実行しました。 (セミホスティングを動作させるのが面倒だったので、ブレークポイントを使ってデータを検査しました。) Re: lpc4078 eeprom page erase clarification required こんにちは、 @alex_conway さん。 LPC4078 EEPROMの場合、最小消去/書き込み単位は1ページ(64バイト)です。したがって、消去/プログラム操作を行うたびに、ページ全体が消去されます。数バイトだけ書き込みたい場合は、まずページ全体を読み込み、次に必要なバイトを変更し、最後にページに対して消去/書き込み操作を実行してください。そちら側でもテストしてみてください。   よろしくお願いします。   BR アリス Re: lpc4078 eeprom page erase clarification required こんにちは、アリスさん。 私の実験結果はそれとは異なることを示している。 まずは手始めに、lpc_board_ea_devkin_4088ライブラリとperiph_eepromデモプロジェクトを使って小さなプログラムを作成しました。 EEPROMの1ページを消去して、それを読み戻します。驚いたことに、結果は0xFFではなくすべて'\0'だった。 次に、そのページのアドレス0に「ABCDEFG\0」を書き込み、ページを読み戻します。「ABCDEFG\0」を受け取ります 次に、そのページのアドレス7に「ABCDEFG\0」を書き込み、ページを読み戻します。「ABCDEFGABCDEFG\0」を受け取ります これはすべて予想通りだったが、2点だけ例外があった。 1. EEPROMを消去した後、0を読み取る 2. Chip_EEPROM_Write() の実装を見ると、読み出し-変更-消去-書き込みのシーケンスがないように見えます。Chip_EEPROM_WritePageRegister と Chip_EEPROM_EraseProgramPag があるだけです。 だから私はこの質問をしたのです。 よろしくお願いします。 アレックス Re: lpc4078 eeprom page erase clarification required printf文字列にすべて改行を追加したら、セミホスティングがうまく動作するようになりました!また、私が言ったことすべてをより明確に裏付ける証拠もあります。 消去するとEEPROMが0x00に設定されます このコードは、読み取り→変更→消去→書き込みのシーケンスを実行せず、消去→書き込みのみを実行します。 LPC4078は、消去時に書き込みが行われた場所のみを消去するようです。 この点について、ぜひとも明確な説明をいただきたいです。 よろしくお願いします。 アレックス Re: lpc4078 eeprom page erase clarification required 「エスカレーション」という言葉が何を意味するにせよ、NXPからはこれに関してそれ以上の回答は得られていない。 まだ確認が必要です。
View full article
S32DS for PA v2.1のライセンスが間もなく期限切れになります。 こんにちは、 私のS32DS for PA v2.1のライセンスが間もなく期限切れになります。 メンテナンス期間の延長にご協力ください。 どうもありがとう。 回复: S32DS for PA v2.1 license is going to expire こんにちは。私の登録の有効期間は変更されていません。私が手術で何か間違ったことをしたからでしょうか? Re: S32DS for PA v2.1 license is going to expire こんにちは、Zipengさん。 以下のリンクにアクセスしてください。 Power Architecture開発ツール |NXP Semiconductors ダウンロードをクリックしてください。ソフトウェアアカウントにログインしてください。 更新されたライセンスキーはここに表示されます。 何か問題が発生した場合はお知らせください。ありがとう。 よろしくお願いいたします。 意思 Re: S32DS for PA v2.1 license is going to expire こんにちは、Zipengさん。 フィードバックありがとうございます。ご質問をFlexNetチームに転送しました。返信があり次第、ご連絡いたします。ありがとう! よろしくお願いいたします。 意思 Re: S32DS for PA v2.1 license is going to expire チームはこのリンクを共有しました。もしうまくいかない場合はお知らせください。 CodeWarrior評価ソフトウェアの拡張方法 よろしくお願いいたします。 意思
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: BT NOT working: Android Automotive up via Android 14: WiFi working: 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 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 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 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 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. 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. Best regards, Christine.
View full article
Using the uart port for high baud rate on NXP i.MX6 We plan to use UART communication on the NXP i.MX6 (Cortex-A9) at baud rates of 230.4 kbps or 460.8 kbps. According to the following resolved thread, Solved: Re: how to enhance uart baud rate for imx6 - NXP Community it is stated that at baud rates higher than 115.2 kbps, the processor seemed can't receive all bytes timely and the kernel returns "Rx FIFO overrun" random. To solve this matter, two ways are suggested: Modify the driver code to enable DMA transfer Increase the buffer of DMA receive which above of bytes per frame I have two questions. (The second one is optional.) ① Could you tell me the specific procedure to modify the driver code to enable DMA transfer? ② If there is any information regarding the error rate when operating under the above conditions, we would appreciate it if you could share that as well. Re: Using the uart port for high baud rate on NXP i.MX6 HI @INOUE, Thank you for contacting NXP Support! Unfortunately, we do not have any documentation or application note that describes this procedure. You will need to implement and validate it on your own based on the information provided in the Reference Manual. Please refer to the RM for the hardware details, register descriptions, and recommended programming sequence. Best regards, Chavira Re: Using the uart port for high baud rate on NXP i.MX6 Sorry for the delayed response. First, I understand. We will implement based on the Reference Manual.
View full article
Does NXP have any tutorial to run tflite NPU model on external memory? I see that NXP has this article about running NPU model on external with eiq tflm_label_image_ext_mem example memory https://docs.nxp.com/bundle/AN14700/page/topics/external_memory.html It only mentioned about eiq example, but did not mention details how to modify this example for new NPU models on external memory. In opposite, NXP have very detailed guideline how to modify source code to run new NPU models on SRAM https://docs.nxp.com/bundle/AN14700/page/topics/Note_about_the_source_code_in_the_document.html Currently, I want to deploy NPU model on external memory. If you have detailed guideline, please share with us. Thank you. Re: Does NXP have any tutorial to run tflite NPU model on external memory? Hi @nnxxpp , Thank you so much for your interest in our products and for using our community. If you want to run the NPU model from external memory, I suggest starting from the tflm_label_image_ext_mem example instead of the normal SRAM-based tflm_label_image example. Please refer to the tflm_label_image_ext_mem MCUXpresso SDK documentation for more details. tflm_label_image_ext_mem — MCUXpresso SDK Documentation Wish it helps you Best Regards May Re: Does NXP have any tutorial to run tflite NPU model on external memory? Hi @nnxxpp , Thank you for your feedback. I'm glad the documentation was helpful. If you have any new questions in the future, please feel free to post them in the NXP Community. We'll be happy to help. Best Regards May Re: Does NXP have any tutorial to run tflite NPU model on external memory? @mayliu1  Thank you. I have tried several trials and found that we must to not use sequencer when locate model on external memory same as you mentioned. This is the first time I see NXP's documentation that you attached. Thank you so much for helpful documentation.
View full article
TJA1050, CAN loss Hello, We have a product used TJA1050 used TJA1050, the schematic is as below. We found there is a high-frequency CAN loss during the test. Lost one or two frames in operation. The busload is around 16%. I attached the HW schematic and CAN loss data below. Question 1. What's the possibly root cause of the CAN loss? 2. Is there any issue about the HW schematic? 3. What action I can do in the next step I can try more test or provide more information if necessary. Thank you for your support.  Re: TJA1050, CAN loss 1:If this board of yours is not at the end of the bus, it is recommended to disconnect DR6/DR7 first or change it to an optional jumper 2: For test purpose please remove DR8/DR9/DD1/DD2 3:Whether the data rate and propagation delay of the isolator SI8421 satisfy the CAN bit timing margin
View full article
NXP是否有关于在外部存储器上运行tflite NPU模型的教程? 我看到NXP有一篇关于在外部内存上运行NPU模型的文章,示例内存为eiq tflm_label_image_ext_mem :https://docs.nxp.com/bundle/AN14700/page/topics/external_memory.html 它只提到了 eIQ 示例,但没有提到如何针对外部存储器上的新 NPU 模型修改此示例的细节。相反,NXP 提供了非常详细的指南,说明如何修改源代码以在 SRAM 上运行新的 NPU 模型: https://docs.nxp.com/bundle/AN14700/page/topics/Note_about_the_source_code_in_the_document.html 目前,我想将 NPU 模型部署在外部存储器上。如果您有详细的指导方针,请与我们分享。 谢谢! Re: Does NXP have any tutorial to run tflite NPU model on external memory? 嗨@nnxxpp , 非常感谢您对我们产品的关注以及对我们社区的使用。 如果您想从外部存储器运行 NPU 模型,我建议您从 tflm_label_image_ext_mem 示例开始,而不是从普通的基于 SRAM 的 tflm_label_image 示例开始。 有关更多详细信息,请参阅 tflm_label_image_ext_mem MCUXpresso SDK 文档。 tflm_label_image_ext_mem — MCUXpresso SDK 文档 希望对你有帮助 顺祝商祺! 5月 Re: Does NXP have any tutorial to run tflite NPU model on external memory? @mayliu1 谢谢。我尝试了好几次,发现正如您所说,在外部存储器上定位模型时,我们不能使用序列器。 这是我第一次看到您附上的 NXP 文档。非常感谢您提供的实用文档。 Re: Does NXP have any tutorial to run tflite NPU model on external memory? 嗨@nnxxpp , 感谢您的反馈。很高兴这些文档对您有所帮助。 如果您将来有任何新的问题,请随时在 NXP 社区发帖提问。 我们很乐意提供帮助。 顺祝商祺! 5月
View full article
S32DS for PA v2.1 许可证即将到期 你好, 我的S32DS for PA v2.1许可证即将到期。 请协助延长维护时间。 多谢。 回复: S32DS for PA v2.1 license is going to expire 您好,我在这里的参赛有效期没有改变。是不是因为我的操作出了问题? Re: S32DS for PA v2.1 license is going to expire 你好,Zipeng 请访问以下链接 电源架构开发工具 | 恩智浦半导体 点击下载。登录您的软件账户。 更新后的许可证密钥应显示在此处: 如有任何问题,请告知我。谢谢。 此致, 将要 Re: S32DS for PA v2.1 license is going to expire 团队分享了这个链接。如果对您不起作用,请告诉我。 如何扩展我的 CodeWarrior 评估软件 此致, 将要 Re: S32DS for PA v2.1 license is going to expire 你好,Zipeng 感谢您的反馈。我已经将您的问题转发给了 FlexNet 团队。一旦收到回复,我会立即通知您。谢谢你! 此致, 将要
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: BT 不工作: 通过 Android 14 升级的 Android 汽车: WiFi 正常: 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 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 UUUAndroid Automotive 16 演示图片,使用 UUU 刷入 我将 UART 开关设置为开启(表示 JTAG 已关闭) 我有 SW7 开关作为 1001 下载并用于 emmc 启动-1010 以下是屏幕截图: Board 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 用户界面 我的 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 内核演示图像 它可以按预期运行。 请参考以下截图。 顺祝商祺! 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。 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。
View full article
S32k322 ADC配置问题 我使用了三个 ADC 通道,配置为使用 BCTU 中断进行电流检测(CTU 模式配置为触发模式),其余 ADC 通道配置为正常链式方法进行电压和温度检测。 在此配置下,电压和温度传感工作正常,但电流传感器检测到的是带有噪声的原始值,因此电流控制中会出现异常尖峰。此外,我们将 Ctu 模式从触发模式改为控制模式,目前传感器通道的原始值噪声有所降低。但是,正常频道中配置的其他频道却无法工作。 我们期望使用单个 ADC 外设 (ADC0) 进行电流检测,采用 BCTU 触发,并采用常规链式方法进行电压和温度检测,而不会出现任何尖峰。 注意:我们的硬件设计有配置(即当前传感器通道配置如下,P7-ADC0、P2 和 P3-ADC1 用于 BCTU 方法读取)。接下来,其余ADC通道配置为正常链式方法(ADC0 - X0、X1、S19 和 ADC1 - P0、P2、P3、P1、S10) S32K1系列的S32SDK S32V 的 S32 SDK Re: S32k322 ADC Configuration Issue 你好@ praveen_ext 我相信你遇到的问题和这个一模一样。 https://community.nxp.com/t5/S32K/Difference-in-ADC-noise-between-BCTU-Control-Mode-and-Trigger/td-p/2384122 从你提供的截图来看,你似乎没有对我之前的回复做任何修改。 我已经告知过你,你的ADC时钟分频器配置存在问题。 另外,你确定你的外部时钟频率是 25MHz 吗? 如果您已经检查了这两点,并且在测试后问题仍然存在,您可以尝试修改 ADC 通道的采样时间。 此选项允许您修改采样时间;您可以尝试增加采样时间并再次进行测试。 Re: S32k322 ADC Configuration Issue 嗨@Senlent , 我也有和你上面提到的同样的问题。 我们的外部振荡器时钟频率为 25 MHz。根据 S32K322 数据手册,ADC 支持高达 80 MHz 的频率,所以我将预分频器配置为 2。我还将采样时间配置为 1.2 微秒,并将 BCTU 模式设置为触发信号模式。但是,当在同一个 ADC0 外设上同时执行 BCTU 方法和普通链方法时,我们仍然会得到噪声数据。是否有变通方法或替代方法可以安全地在同一个 ADC0 外设上运行这两个程序? Re: S32k322 ADC Configuration Issue 你好@ praveen_ext 你们不就是同一家公司吗?你问的也是同样的问题。 https://community.nxp.com/t5/S32K/Difference-in-ADC-noise-between-BCTU-Control-Mode-and-Trigger/mp/2384122#M59412 看来你没有仔细阅读我的回答。 这是我第三次告诉你,你的时钟分频器设置不正确。 对于 160MHz,你需要将它们设置为 2 和 4。 Re: S32k322 ADC Configuration Issue 嗨@Senlent , 我也有和你上面提到的同样的问题。 我们的外部振荡器时钟频率为 25 MHz。根据 S32K322 数据手册,ADC 支持最高 80 MHz 的频率,所以我将预分频器设置为 2。我还将采样时间设置为 1.2 微秒,并将 BCTU 模式设置为触发模式。但是,当在同一个 ADC0 外设上同时执行 BCTU 方法和常规链式方法时,仍然会得到噪声数据。是否有解决方法或替代方法可以安全地在同一个 ADC0 外设上运行这两种方法? 与此同时,我将实例 1 的时钟频率降低到 40 MHz,并将采样时间配置为 1.2 微秒。经过这些改变后,BCTU 的测量值不再显示噪声。 Adc_Raw_Val_Ph3 与传感器连接,两个值仍然处于浮空。 RwaeVal - 配置正常链 Re: S32k322 ADC Configuration Issue 嗨@Senlent , 我们测试了之前的建议,但问题仍然没有解决。经过进一步配置和验证,我已将更新后的测试数据和配置图片附在下面。 请您帮忙指出我们遗漏的地方。 ADC0 ADC1 Re: S32k322 ADC Configuration Issue 你好@ praveen_ext 请分享您的项目,我将在我的环境中进行测试。
View full article
S32K3X4EVB-Q257 开发板上的 K26 固件缺失。 我的 S32K3X4EVB-Q257 开发板上的 OpenSDA 无法工作。我已经安装了 PEmicro 驱动程序,但是我的电脑设备管理器中仍然无法识别 OpenSDA。我确信这是因为缺少 K26 固件。请问您能提供给我那个固件吗? Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. 如果更换包含 D+ 和 D- 信号的 USB 电缆后问题仍然存在,我建议联系 PEMicro 技术支持。https://www.pemicro.com/support/index.cfm Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. 我的开发板采用 K26 芯片,但 PEFirmwareConfig.exe 无法识别板载调试器。K26的OpenSDA固件肯定缺失。 Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. HI 首先,检查 U63 上的 K26 是否焊接牢固。由于 K26 芯片短缺,有一批开发板上没有焊接 K26 芯片,因此必须使用外部调试器。 第二步,下载 USB 多链路资源安装 来自多链路调试探针。不使用 USB 集线器,将 USB 连接到 S32K3X4EVB-Q257 的 J55; PEFirmwareConfig.exe能否识别板载调试器? 此致敬礼, Robin
View full article
The K26 firmware on the S32K3X4EVB-Q257 development board is missing. The OpenSDA on my S32K3X4EVB-Q257 development board is not working. I have already installed the PEmicro driver, but OpenSDA is still not recognized in my computer's Device Manager. I am sure it is because the K26 firmware is missing. Could you please provide me with that firmware? Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. If the problem persists after replacing the USB cable with one that includes D+ and D- signals, I recommend contacting PEMicro technical support. https://www.pemicro.com/support/index.cfm Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. My development board has a K26 chip, and PEFirmwareConfig.exe cannot recognize the onboard debugger. The K26's OpenSDA firmware is definitely missing. Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. Hi First, check if the K26 on the U63 is soldered. There was a batch of development boards that did not have the K26 soldered on them because of a shortage of K26, so an external debugger had to be used. Second, download the  USB Multilink Resources Install  from the Multilink Debug Probes. Without using a USB hub, connect the USB to the J55 of S32K3X4EVB-Q257; can the onboard debugger be recognized in PEFirmwareConfig.exe? Best Regards, Robin
View full article
S32K344 FreeRTOS 示例链接失败 你好; 我刚开始使用 S32K344 EVK(S32K344MINI-EVB),目前使用的是 IDE 3.6.5 和 FreeRTOS 7.0.0。(D2511)包含在软件包管理器创建的 FRDM 汽车软件包中。 我正在尝试通过“S32DS 项目示例”构建一个为 344 提供的示例应用程序,即 FreeRTOS_Toggle_Led_Example_S32K344。 我使用 ConfigTools 更新了代码,但到目前为止,这是我对代码所做的唯一修改。 但这段代码直接运行在链接阶段就失败了: c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe:./FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o:在函数“vPortStoreTaskMPUSettings”中: C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1890: 未定义的引用“__FreeRTOS_code_data_start__” c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe:C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1890: 未定义的引用“__FreeRTOS_code_data_end__” c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe:./FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o:在函数“prvSetupMPU”中: C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1723: 未定义的引用“__FreeRTOS_code_data_end__” c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe:C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1723: 未定义的引用“__FreeRTOS_code_data_start__” 我推测这些是链接器部分,但它们似乎在示例代码、软件包内的 FreeRTOS 文件夹或其他地方都没有定义。 “S32DS 项目示例”是否已过时?或者这个问题有我没注意到的简单解决方法吗? 提前致谢, 乔·希德尔 Re: S32K344 FreeRTOS example fails to link 你好,乔·希德尔, 给您带来的不便,我们深表歉意! 我重现了示例由于 Ld 错误而无法正确构建的问题,他们的解决方案是正确的: 根本原因:S32CT 中默认启用了 MPU。这会导致代码生成器生成支持 MPU 的代码(包括对 FreeRTOS MPU 链接器符号的引用)。但是Toggle_Led_Example_S32K344的链接器脚本 (linker_flash_s32k344.ld) 并未定义这些 MPU 内存区域或其边界符号——这些仅存在于 MPU 特定示例中(例如 FreeRTOS_MPU_Example_S32K389/linker_flash_s32k389.ld)。生成的代码需要 MPU 符号,而链接器脚本则不需要 MPU 符号,这导致了未定义引用错误。 禁用“use mpu”选项后,示例程序可以正确编译: 副作用说明:默认情况下禁用 MPU 意味着需要 MPU 的用户必须在 S32CT 中显式启用它并配置内存区域。 此致敬礼, Robin
View full article
S32k322 ADCの設定に関する問題 私は3つのADCチャネルをBCTU割り込みで電流検知用に設定しています(CTUモードはトリガーモードに設定)。残りのADCチャネルは電圧と温度検知用にノーマルチェーン方式で設定しています。 この構成中、電圧と温度の検知は正常に動作していますが、電流センサがノイズを含む生値を感知しているため、電流制御に異常なスパイクが発生しています。また、CTUモードをトリガーモードからコントロールモードに変更し、現在のセンサーチャネルでは生値ノイズが減少しました。しかし、通常のチャネルで設定された他のチャネルは動作しませんでした。 私たちの期待は、BCTUトリガーを用いた電流検出において単一ADCペリフェラル(ADC0)と、通常の連鎖方法での電圧および温度検出をスパイクなしで処理することです。 注:当社のハードウェアは設定(例:電流センサーチャネルは以下の通り、BCTU方式での読み取り用にP7-ADC0、P2、P3-ADC1)で設計されています。その後、通常のチェーン方法(ADC0 - X0,X1,S19およびADC1-P0,P2,P3,P1,S10)で設定された残りのADCチャネルが続きます S32 SDK for S32K1 S32 SDK for S32V Re: S32k322 ADC Configuration Issue こんにちは、@ praveen_ext これはまさにあなたが直面している問題と同じだと思います。 https://community.nxp.com/t5/S32K/Difference-in-ADC-noise-between-BCTU-Control-Mode-and-Trigger/td-p/2384122 あなたが提供してくれたスクリーンショットを見る限り、私の以前の返信に何も変更を加えていないようですね。 既にお伝えしたとおり、ADCクロック分周器の設定に問題があります。 また、外部クロックが25MHzであることは確かですか? この2点を確認しても問題が解決しない場合は、ADCチャネルのサンプリング時間を変更してみてください。 このオプションではサンプリング時間を調整できます。サンプリング時間を延ばして再度テストしてみるのもいいでしょう。 Re: S32k322 ADC Configuration Issue こんにちは、 @Senlent さん。 私も上記で述べられたのと同じ問題を抱えています。 当社の外部発振器クロックは25MHzです。S32K322のデータシートによると、ADCは最大80MHzをサポートしているので、プリスケーラーは2に設定しています。また、サンプリング時間を1.2マイクロ秒に設定し、BCTUモードをトリガーモードに設定しました。しかし、同じADC0ペリフェラルでBCTU法とノーマルチェーン法を同時に実行しても、依然としてノイズの多いデータが得られます。同じADC0ペリフェラルで両方を安全に動かす回避策や代替方法はありますか? Re: S32k322 ADC Configuration Issue こんにちは、 @Senlent さん。 私も上記で述べられたのと同じ問題を抱えています。 外部発振器のクロックは25MHzです。S32K322のデータシートによると、ADCは最大80MHzをサポートしているので、プリスケーラーは2MHzに設定しています。また、サンプリング時間を1.2マイクロ秒に設定し、BCTUモードをトリガーモードに設定しました。しかし、同じADC0ペリフェラルでBCTU方法とノーマルチェーン方法を同時に実行しても、依然としてノイズの多いデータが得られます。同じADC0ペリフェラルで両方を安全に動かす回避策や代替方法はありますか? その間、インスタンス1のクロック周波数を40MHzに下げ、サンプリング時間を1.2マイクロ秒に設定しました。これらの変更後、BCTUからの測定値にはノイズが見られなくなった。 Adc_Raw_Val_Ph3センサーと一致し、浮動している2つの値を保持しています。 RwaeVal - 通常のチェーンを設定済み Re: S32k322 ADC Configuration Issue こんにちは、@ praveen_ext 同じ会社じゃないの?あなたも全く同じ質問をしていますね。 https://community.nxp.com/t5/S32K/Difference-in-ADC-noise-between-BCTU-Control-Mode-and-Trigger/mp/2384122#M59412 私の回答をよく読んでいないようですね。 時計の分周器の設定が間違っていると、これで3度目ですよ。 160MHzの場合は、2と4に設定する必要があります。 Re: S32k322 ADC Configuration Issue こんにちは、 @Senlent さん。 以前に提案された方法を試してみましたが、問題はまだ解決していません。さらなる設定と検証を行った後、更新されたテストデータと設定イメージを以下に添付します。 我々が見落とした点があれば、ご指摘いただければ幸いです。 ADC0 ADC 1 Re: S32k322 ADC Configuration Issue こんにちは、@ praveen_ext プロジェクトを共有していただければ、こちらでテストしてみます。
View full article
LPC1778 checksum in vector table invalid need recover 你好,我在调试LPC1778的FLM时,调用FLM向0x0-0x400写入数据之后发现数据不正确。现在我的调试器无法连接芯片,我查阅了资料,认为是vector table写入的数据出错了,和我想要写入的数据不一致,导致checksum不合法。资料显示checksum不合法会导致芯片进入ISP模式等待下载程序。 1.我想知道这个状态要怎么恢复? 2.为什么FLM写0x0-0x400会引发问题,我尝试了写0x400-0x7FFFF都是正常的。翻看FLM源码,其中有个SET_VALID_CODE的参数会自动修改校验和,是不是这部分有什么问题? Re: LPC1778 checksum in vector table invalid need recover Hi @BianHaopeng1  0x0000–0x0400 不只是普通 flash 数据区,它包含启动向量表、0x1C 的 valid-code checksum,以及 0x2FC 的 CRP 配置字 。checksum 错会让 ROM bootloader 判定 user code invalid 并进入 ISP;如果 0x2FC 被误写成 CRP pattern,还会导致 JTAG/SWD 访问受限甚至不可恢复到普通调试状态。 您可以优先按 ISP 恢复 处理: 拉低 P2[10],然后复位芯片 ,bootloader 接管并进入 ISP mode。 通过 UART0:P0[2] / P0[3] 连接 FlashMagic 或等价 ISP 工具,执行全片擦除或重新下载一个有效镜像。 如果只是 checksum 不合法 ,进入 ISP 后应能擦除并恢复;如果误写了 CRP1/CRP2 ,JTAG 会被禁用,但 ISP 仍有受限恢复路径;如果误写成 CRP3 ,文档说明它会完全禁止 JTAG 和 ISP,这种情况下基本不能再通过常规 ISP/JTAG 恢复。 BR Harry
View full article