Multi Source Translation Content

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi Source Translation Content

讨论

排序依据:
i.MX95 19×19 EVK – IMX95-OS08A20 相机支持,带 AAOS 16 您好,NXP团队: 我们目前正在使用 NXP i.MX95 19×19 EVK (IMX95LPD5EVK-19) 和 Android Automotive OS (AAOS) 16。 我们的要求是使用 i.MX95 电路板支持包。官方支持的摄像头模块。 我们之前评测过 AN14853 中列出的索尼 IMX219、IMX258 和 IMX477 相机模块。但是,我们了解到 Innowave IMX258 在 i.MX95 电路板支持包中没有得到官方支持。 根据 NXP 的指导,我们了解到 IMX95-OS08A20 是 NXP 支持的 i.MX95 19×19 EVK 相机模块。 我们想就我们的具体使用案例确认以下几点: 1. IMX95-OS08A20 是否在 i.MX95 19×19 EVK (IMX95LPD5EVK-19) 上正式支持 AAOS 16? 2. IMX95-OS08A20 应该使用哪个确切的 NXP 电路板支持包 / AAOS 16 版本? 3. AAOS 16 电路板支持包中是否已包含所需的摄像头驱动程序和 ISP 支持? 4. 启用 OS08A20 是否需要任何额外的补丁、代码包,软件包或配置更改? 5. 19×19 EVK 上的 OS08A20 摄像机应该使用哪种设备树/DTB 配置? 6. AAOS 16 支持哪些相机分辨率和帧速率? 7. 是否有适用于 AAOS 16 的 OS08A20 的 EVS 配置或示例应用程序? 8. 请确认我们需要购买的确切摄像头模块/零件编号以及所需的线缆或适配器。 9. 如果可能,请提供 IMX95-OS08A20 的推荐购买信息或 NXP 代理商信息。 我们目前的处境是: 板: NXP i.MX95 19×19 EVK (IMX95LPD5EVK-19) 软件: Android Automotive OS 16 电路板支持包。: NXP i.MX95 电路板支持包。 我们只有在确认该相机与我们确切的 AAOS 16 + 电路板支持包 环境兼容后,才会继续购买该相机。 NXP 参考: https://www.nxp.com/design/design-center/development-boards-and-designs/IMX95-OS08A20 谢谢! Android Re: i.MX95 19×19 EVK – IMX95-OS08A20 Camera Support with AAOS 16 你好, OS08A20 不是 i.MX95 的 AAOS 支持的摄像头,对于此处理器,我们支持 OX03C10 和 AP1302 摄像头传感器。 此致敬礼/Saludos, 阿尔多。 Re: i.MX95 19×19 EVK – IMX95-OS08A20 Camera Support with AAOS 16 嗨,阿尔多, 谢谢你的解释。 我们了解到 i.MX95 的 AAOS 不支持 OS08A20,而 AAOS 支持的相机解决方案是 OX03C10 和 AP1302。 我们的具体要求是 i.MX95 19×19 EVK (IMX95LPD5EVK-19) 上的 AAOS 16。 请问您能否提供以下关于支持的相机选项的信息? 对于 i.MX95 19×19 EVK 上的 AAOS 16,推荐使用 OX03C10 还是 AP1302? 我们应该购买的摄像头模块/零件编号是多少? 需要哪种摄像头板、解串器、适配器或线缆? NXP AAOS 16 / 电路板支持包 的哪个版本正式支持所选相机? AAOS 16 电路板支持包中是否已包含所需的摄像头驱动程序、ISP 支持、设备树配置和 EVS 支持? 是否需要其他补丁、固件或配置更改? 请问能否提供NXP摄像头模块的产品页面/订购信息/推荐代理商信息? 我们的目标环境是: 板:NXP i.MX95 19×19 EVK (IMX95LPD5EVK-19) 软件:Android Automotive OS 16 电路板支持包。:NXP i.MX95 电路板支持包。 在进行购买之前,我们希望确认具体支持的硬件和所需的配件。 感谢您的支持。 此致, 格纳纳·普拉桑纳
查看全文
MIMXRT1010 SDK for Mcuxpresso Hi, I have been using mcuxpresso ide (V25.6) with SDK_2.x_FRDM-K64F to build a network on 2.4 GHz using the nrf24l01 attached to FRDM-K64F eval kits.  I want to add a couple of MIMXRT1010 eval kits to the network.  I am trying to install SDK_2_11_0_EVK-MIMXRT1010-AGM01.zip to use the same IDE to build a system on the RT1010s.  It appears to download and install but silently gets ignored. There is a message saying that it already exists, but the only one in the 'installed SDKs' panel is the FRDM-K64F.  I have re-built the SDK carefully checking that I have included the mcuxpresso IDE and am developing on linux.   Is it possible that I am being stomped by an unknown bug? Any help appreciated. cheers Nigel Re: MIMXRT1010 SDK for Mcuxpresso Hi @ve3id, Here are a few things to test to make sure that the SDK is re-installed properly: On the Installed SDKs panel, click on the "Open SDK handling preferences page": You should see something like this: Please search for the 'SDK_2_11_0_EVK-MIMXRT1010-AGM01.zip' on all of the SDK search root paths that are listed there and delete it manually. If you haven't modified the SDK location paths for your workspace, you should see the option "Common 'mcuxpresso' folder" selected, and only the 'mcuxpresso\02\SDKPackages' search root, as this one is the default location. Once deleted, refresh the SDK list by clicking on the reload button: Then try drag and dropping the SDK zip file to the Installed SDKs once more. If it doesn't appear after a while, try reloading the SDK list once again. BR, Edwin. Re: MIMXRT1010 SDK for Mcuxpresso Problem solved! I tried unzipping it manually inside the ~/mcuexpresso/02/SDKPackages directory directly and it failed because it wanted to over-write cmsis compiler, which I didn't want it to do. So I created an MIMX directory underneath the existing SDKPackages directory unzipped it there, and hey presto it appears in my 'installed  SDK' panel.  I can start a new project with the MIMXRT1011 mpu, so it looks like I am good to go now. thanks for your help in pointing me the right way! cheers Nigel Re: MIMXRT1010 SDK for Mcuxpresso I also tried the 'download and install SDKs option from inside the 'available SDKs' panel.  I selected the MIMXR1011 processor and it downloaded this file into the /02/SDKPakcages directory com.nxp.mcuxpresso.sdk.sdk_2.x_mimxrt1011xxxxx_p2site_26.9.0.20191125144617176723704789806225.zi but it does not show in the panel as installed. Re: MIMXRT1010 SDK for Mcuxpresso Thanks for the reply. I tried exactly what you said, the /home/nigel/mcuxpresso/02/SDKPackages# directory was the only one shown, I deleted the zip file in there and dragged it again, it appeared again but then did not appear in the installed SDKs panel.  I did it twice, but still doesn't appear in the installed sdks panel after a refresh. 
查看全文
KITPF09FRDMPGM – 間違った基板が同梱されていますか? KITPF09FRDMPGMを注文しました。納品物には、KITPF09FRDMPGM本体と、別売りのFRDM-KL25Z基板が含まれていました。 しかし、両基板は互換性がないと思いますし、少なくともどう接続すべきかはわかりません。例えば、FRDM-KL25ZのJ21ヘッダーは機械的に邪魔になる。 さらに、KITPF09FRDMPGMをFRDM-KL25Zに接続するために必要なピンヘッダーが欠品しています。 どなたか、キットに正しい基板が付属しているか確認していただけませんか?KITPF7100FRDMPGMに付属の基板と似たような外観であるべきではないでしょうか? i.MX用PMIC Re: KITPF09FRDMPGM – Wrong Board Included? こんにちは、 KITPF09FRDMPGMに付属している基板は正しい基板です。KITPF09FRDMPGMとFRDM-KL25Zは別々の基板として供給され、意図されたとおりに組み立てれば互換性があります。 必要なピンヘッダーはプリインストールされていませんので、別途購入して基板にはんだ付けする必要があります。適切なヘッダーが取り付けられれば、基板を正しく接続できます。 KITPF09FRDMPGM基板は問題なくテストしたので、基板自体は正しく機能しています。 お役に立てば幸いです! Re: KITPF09FRDMPGM – Wrong Board Included? ヘッダーピンをはんだ付けしました。しかし、NXP_GUIを使用してキットを接続しようとしても、何も起こりません。また、古いFRDM-KL25Zを搭載したPF8100用の古いキットも見つけました。そちらは検出されました。何が問題なのでしょうか? Re: KITPF09FRDMPGM – Wrong Board Included? よし、もう一度考えてみた。J21はおそらく単なるジャンパーであり、ピンヘッダーが取り付けられていれば、トップボードに干渉することはありません。試してみます。 Re: KITPF09FRDMPGM – Wrong Board Included? それがぴったり合うはずだったなんて、今でも驚いています。形状が異なり、コネクタJ21が基板と干渉する。はんだ付けを外すべきでしょうか? コントローラーボードはもっとこんな感じに見えるべきではないでしょうか?   
查看全文
MIMXRT1010 SDK for Mcuxpresso こんにちは、 私はmcuxpresso ide(V25.6)と、SDK_2.x_FRDM-K64Fを使って、FRDM-K64F評価キットにnrf24l01を接続して2.4 GHzのネットワークを構築しています。MIMXRT1010評価キットを2つネットワークに追加したい。RT1010sで同じIDEを使ってシステムを構築するためにSDK_2_11_0_EVK-MIMXRT1010-AGM01.zipをインストールしようとしています。ダウンロードとインストールは完了したように見えるが、その後は何も通知されずに放置される。すでに存在しているというメッセージはありますが、「インストール済みSDKs」パネルにあるのはFRDM-K64Fだけです。私はdmaxpresso IDEを含めているか慎重にSDKを再構築し、Linux上で開発しています。 未知のバグに攻撃されている可能性はありますか? どんなご協力でもありがたいです。 乾杯 ナイジェル Re: MIMXRT1010 SDK for Mcuxpresso こんにちは、 @ve3id さん。 SDKが正しく再インストールされていることを確認するために、いくつかテストすべきポイントをご紹介します。 インストール済みSDKsパネルで「Open SDK handling preferences」ページをクリックしてください: 次のような画面が表示されるはずです。 そこに掲載されているすべてのSDK検索ルートで「SDK_2_11_0_EVK-MIMXRT1010-AGM01.zip」を検索し、手動で削除してください。 もしワークスペースのSDKの位置パスを変更していなければ、「Common 'mcuxpresso' folder」が選択されているのが確認でき、デフォルトの位置は'mcuxpresso\02\SDKPackages'の検索ルートだけが表示されるはずです。 削除後は、リロードボタンをクリックしてSDKsリストを更新してください: その後、SDKのzipファイルをもう一度ドラッグ&ドロップしてインストール済みSDKsに切り替えてみてください。しばらくしても表示されない場合は、再度SDKリストを再読み込みしてみてください。 BR、 エドウィン。 Re: MIMXRT1010 SDK for Mcuxpresso 問題解決! ~/mcuexpresso/02/SDKPackages ディレクトリ内で手動で解凍しようとしましたが、cmsis コンパイラを上書きしようとしたため失敗しました。上書きは望んでいませんでした。そこで既存のSDKPackagesディレクトリの下にMIMXディレクトリを作成し、そこに解凍したところ、すぐに「インストール済みSDKs」パネルに現れました。MIMXRT1011 MPで新しいプロジェクトを始められるので、今は問題なさそうです。 正しい方向へ導いてくださり、ありがとうございました! 乾杯 ナイジェル Re: MIMXRT1010 SDK for Mcuxpresso ご返信ありがとうございます。あなたが言った通りに試しましたが、/home/nigel/mcuxpresso/02/SDKPackages#ディレクトリだけが表示されていました。そこに入っていたzipファイルを削除して再度ドラッグしましたが、再び表示されましたが、インストールされたSDKパネルには表示されませんでした。2回試しましたが、更新してもインストールされたSDKsパネルに表示されません。 Re: MIMXRT1010 SDK for Mcuxpresso また、「利用可能なSDKs」パネル内の「SDKsのダウンロードとインストール」オプションも試しました。MIMXR1011プロセッサを選択し、このファイルを/02/SDKPakcagesディレクトリにダウンロードしました com.nxp.mcuxpresso.sdk.sdk_2.x_mimxrt1011xxxxx_p2site_26.9.0.20191125144617176723704789806225.zi ですが、パネルにはインストール済みとして表示されません。
查看全文
SDK Builder Changed? The MCUXpresso SDK Builder seems to have changed from 25.12 onwards and trying to update a previous configuration (SDK_25.09.00_FRDM-MCXN947) now presents me with all the middleware options selected in grey with seemingly no way to deselect the ones I don't want (which is most of them). A box at the bottom says that I can set "Filtering Criteria" but that takes me to a new page where all my board/processor/toolchain information has disappeared. Just building the SDK produces a 738MB (vs. 56MB for my 25.09 configuration) zip file and once downloaded it appears to contain support and middleware all the processors rather than just the one that I'm interested in. Just to add to the confusion the directory structure now seems quite different compared to 25.09. This is using Firefox if that makes a difference. Am I doing something wrong or is this the way the SDK Builder is supposed to work now? Andy Re: SDK Builder Changed? As an update I've just tried to update to the 26.09 release and have exactly the same problems although the  generated archive is now over 1Gb of data.
查看全文
i.MX RT1064 定制板 – SGTL5000 编解码器通过 I2C 无响应 您好, 我设计了一款采用MIMXRT1064处理器和SGTL5000音频编解码器的定制 PCB。 对于 SGTL5000 电路,我遵循了标准/参考 SGTL5000 原理图。 RT1064 和 SGTL5000 之间的连接方式如下: LPI2C1_SCL → GPIO_AD_B1_00 LPI2C1_SDA → GPIO_AD_B1_01 SAI1_MCLK → GPIO_AD_B1_09 SAI1_RXD → GPIO_AD_B1_12 SAI1_TXD → GPIO_AD_B1_13 SAI1_RX_BCLK → GPIO_AD_B1_11 SAI1_RX_LRCLK → GPIO_AD_B1_10 我也附上了原理图的相关部分。 我的主要问题是,在刷写固件后,我没有收到来自 SGTL5000 的任何 I2C ACK 。 我测量了以下电压: SCL ≈ 3.3 V SDA ≈ 3.3 V MCLK 约为1.6 V 为了进行调试,我编写了一个函数,该函数暂时将 I2C 引脚更改为 GPIO,生成 9 个时钟脉冲,执行位操作 I2C 地址扫描,然后将引脚恢复为 LPI2C1。 static void i2c_hw_debug(void) { gpio_pin_config_t 输入 = { kGPIO_数字输入, 0, kGPIO_NoIntmode }; IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B1_00_GPIO1_IO16, 0U); IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B1_01_GPIO1_IO17, 0U); IOMUXC_SetPinConfig( IOMUXC_GPIO_AD_B1_00_GPIO1_IO16, 0x00B0U); IOMUXC_SetPinConfig( IOMUXC_GPIO_AD_B1_01_GPIO1_IO17, 0x00B0U); gpio_pin_config_t out_init = { kGPIO_数字输出, 1、 kGPIO_NoIntmode }; GPIO_PinInit(GPIO1, 16, &out_init); GPIO_PinInit(GPIO1, 17, &in); for (int i = 0; i < 9; i++) { GPIO_PinWrite(GPIO1, 16, 0U); SDK_DelayAtLeastUs(10U, SystemCoreClock); GPIO_PinWrite(GPIO1, 16, 1U); SDK_DelayAtLeastUs(10U, SystemCoreClock); } PRINTF("正在扫描 I2C 地址...\r\n"); for (uint8_t addr = 0x03; addr <= 0x77; addr++) { 如果 (bb_probe(16, 17, addr)) { PRINTF("在 0x%02X 处找到 ACK\r\n", addr); } } IOMUXC_SetPinMux( IOMUXC_GPIO_AD_B1_00_LPI2C1_SCL, 1U); IOMUXC_SetPinMux( IOMUXC_GPIO_AD_B1_01_LPI2C1_SDA, 1U); } 如何使用 MIMXRT1064 初始化 SGTL5000 编解码器?为什么即使所有硬件连接和配置看起来都正确,我也没有收到来自编解码器的 ACK? 谢谢。 Re: i.MX RT1064 Custom Board – SGTL5000 Codec Not Responding Over I2C 嗨@Anushka_SS , 我建议您以evkmimxrt1064_sai示例代码为基础来开发您的应用程序。该代码示例展示了 RT1064 和 WM8960 编解码器的集成。也就是说,我们也提供了fsl_sgtl5000.c/.h驱动程序文件,可以将其作为元器件导入到项目中,只需取消定义CODEC_WM8960_ENABLE并改为定义CODEC_SGTL5000_ENABLE即可启用该驱动程序。SGTL5000 驱动程序文件包含正确初始化和使用此编解码器所需的例程。 如果这有帮助,或者您还需要任何进一步的帮助,请告诉我。 BR, 埃德温。 Re: i.MX RT1064 Custom Board – SGTL5000 Codec Not Responding Over I2C 谢谢。我已经完成了这项工作:使用 SDK 的 fsl_sgtl5000 驱动程序和 CODEC_SGTL5000_ENABLE 创建了一个新项目。问题发生在驱动程序初始化之前:SGTL5000 NAK 其地址(0x0A 和 0x2A,LPI2C 状态 902)。运行时验证:音频 PLL = 786.432 MHz,SAI1 MCLK = 12.288 MHz(从 CCM 寄存器读取),LPI2C 时钟 = 10 MHz。我使用 GPIO_AD_B1_00/01 作为 LPI2C1,使用 GPIO_AD_B1_09 作为 MCLK。SGTL5000 模块通过跳线连接到我的定制 RT1064 板。您能否建议一下硬件方面还有哪些需要检查的地方(焊盘设置、MCLK 信号完整性、RT1064 特有的问题等等)? Re: i.MX RT1064 Custom Board – SGTL5000 Codec Not Responding Over I2C 我的定制板上同时安装了RT1064和SGTL5000编解码器。我分别测试了每个芯片:用 Teensy 4.1 测试了 SGTL5000,用外部 PJRC SGTL5000 音频扩展板测试了 RT1064。这两个芯片单独使用都没问题,但是当我把它们的引脚焊接在一起时,就无法正常工作,并出现以下输出: === SGTL5000 启动测试 === I2C扫描(Teensy风格)…… 扫描完成:0 个设备 音频锁相环 = 786432000 Hz SAI1 mux=2 prediv=3 div=15 -> MCLK = 12288000 Hz (预期 12288000) LPI2C 时钟频率 = 10000000 Hz(预期值为 10000000) -- 尝试 1 -- CHIP_ID @0x A: status=902 id=0x 0 0 CHIP_ID @0x2A:状态=902 id=0x 0 0 -- 尝试 2 -- CHIP_ID @0x A: status=902 id=0x 0 0 CHIP_ID @0x2A:状态=902 id=0x 0 0 -- 尝试 3 -- CHIP_ID @0x A: status=902 id=0x 0 0 CHIP_ID @0x2A:状态=902 id=0x 0 0 SGTL5000 无应答。停止。 我测量的电压值是: SCL:3.2V SDA:3.2 伏 MCLK:1.5–1.6V Re: i.MX RT1064 Custom Board – SGTL5000 Codec Not Responding Over I2C 更新:MCLK 测试结果 RT1064 板和编解码器板是两个独立的板子,通过跳线连接。我使用来自两个不同来源的 MCLK,并采用相同的 RT1064 I2C 固件对编解码器进行了测试。 测试 1:来自 RT1064 的 MCLK(SAI1_MCLK,GPIO_AD_B1_09,12.288 MHz) 直流万用表测量 MCLK 引脚上的电压,读数约为 1.57 V(电源电压约为 3.1 V)。 慢速位操作 I2C(~1 kHz):编解码器发出 ACK,但 CHIP_ID 读取的是 0xBFFF / 0xA01F 而不是 0xA011。 LPI2C 在 5、10、20、50 和 100 kHz 时:每个速度下均为 NAK(状态 902)。 当 MCLK 焊盘设置较弱 (0x1008) 时,编解码器完全没有响应,MCLK 引脚读数约为 0 V。 不同的MCLK焊盘驱动设置没有区别。 测试 2:来自 Teensy 4 的 MCLK(引脚 23) RT1064 MCLK 跳线已从编解码器板上断开。 Teensy MCLK 连接到编解码器板的 MCLK 焊盘,Teensy GND 连接到编解码器板的 GND。 RT1064 仍然通过跳线驱动 I2C (SCL/SDA)。 RT1064 LPI2C 在 100 kHz 时: CHIP_ID = 0xA011 且 CODEC_Init OK 。 使用直流万用表测量 Teensy MCLK,读数约为 1.7 V(3.3 V 电源)。 目前为止的结论 编解码器板、其电源、I2C 线路和 I2C 固件都正常工作。问题只出在来自 RT1064 板的 MCLK 信号上。在万用表上,直流电平看起来正常,但编解码器表现得好像来自 RT1064 的 12.288 MHz 时钟信号无法使用。 Re: i.MX RT1064 Custom Board – SGTL5000 Codec Not Responding Over I2C 请问您能否帮我理解一下为什么RT1064没有通过MCLK引脚向编解码器提供正确的时钟信号? 这可能是硬件相关的问题,还是更有可能是我的 RT1064 程序中的配置问题,例如 MCLK 时钟源、音频 PLL 配置、时钟分频器、引脚多路复用器配置或 SAI 设置?
查看全文
如果选择了 Microsoft Edge 选项,则不会显示板内置的欢迎页面。 各位 我已经下载了 sdk.sdk_2.x_lpcxpresso54114仅提供 FreeMASTER 示例。它运行正常,但如果我在 FreeMASTER 的选项面板中选择 Edge 支持,就会出现问题。 在这种情况下,将显示欢迎屏幕: 点击一次板内置的欢迎页面,然后等待 10 秒或更长时间……没有任何反应。10秒后再次点击(第二次点击)页面才会出现: 没有图标,而且点击链接会出现奇怪的现象(例如,点击 readme.txt 链接时会弹出保存窗口)。 反之亦然,如果您在 FreeMASTER 的选项面板中选择 Internet Explorer,结果几乎是正确的。 “readme”链接会打开内部的 readme.txt 文件,但如果您点击“演示项目文件”链接,则会打开“演示项目”文件。 出现错误提示的 MSXbox 仍然会出现。 问题是我需要使用 RPC-JSON 脚本方式支持最新的浏览器,但是你提供的和我附加的 html 文件都无法正常工作。请测试我的 .h 文件。同时,请将文件上传到您的平台。它指的是 SDK 固件中相同的变量和命令 此致 Paolo Re: Board's Built-in Welcome Page doesn't appear if Microsoft Edge option is selected 亲爱的保罗: 这三种浏览器选项都能很好地检测和加载 SDK 示例应用程序中嵌入的演示页面和项目文件。浏览器元器件的行为确实会受到本地系统设置和已安装浏览器版本的很大影响,但通常情况下我们不应该遇到您描述的问题。 freemaster 使用其自己的浏览器方案“fmstr://”来访问存储在应用程序闪存中并由 TSA 表描述的内容。当系统设置过于严格时,此方案可能会被禁用或运行异常。Edge 浏览器不显示物品图标是一个已知问题。 目前,我们先忽略浏览 HTML 页面时遇到的图标缺失和其他问题。我们先来打开存储在目标闪存中的项目文件。请尝试直接点击欢迎页面中的“FreeMASTER演示项目”项。我从你的信息中理解到以下内容: Internet Explorer:无法打开项目,显示错误消息框 Chromium:项目能正确打开吗? 微软Edge浏览器:没有任何反应 请确认我的理解是否正确。 谢谢你, 米哈尔
查看全文
i.MX RT1064 Custom Board – SGTL5000 Codec Not Responding Over I2C Hi, I have designed a custom PCB using the MIMXRT1064 processor and the SGTL5000 audio codec. For the SGTL5000 circuit, I followed the standard/reference SGTL5000 schematic. The connections between the RT1064 and SGTL5000 are as follows: LPI2C1_SCL → GPIO_AD_B1_00 LPI2C1_SDA → GPIO_AD_B1_01 SAI1_MCLK → GPIO_AD_B1_09 SAI1_RXD → GPIO_AD_B1_12 SAI1_TXD → GPIO_AD_B1_13 SAI1_RX_BCLK → GPIO_AD_B1_11 SAI1_RX_LRCLK → GPIO_AD_B1_10 I have attached the relevant part of my schematic as well. My main problem is that after flashing the firmware, I am not receiving any I2C ACK from the SGTL5000. I measured the following voltages: SCL = approximately 3.3 V SDA = approximately 3.3 V MCLK = approximately 1.6 V For debugging, I wrote a function that temporarily changes the I2C pins to GPIO, generates 9 clock pulses, performs a bit-banged I2C address scan, and then restores the pins back to LPI2C1. static void i2c_hw_debug(void) { gpio_pin_config_t in = { kGPIO_DigitalInput, 0, kGPIO_NoIntmode }; IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B1_00_GPIO1_IO16, 0U); IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B1_01_GPIO1_IO17, 0U); IOMUXC_SetPinConfig( IOMUXC_GPIO_AD_B1_00_GPIO1_IO16, 0x00B0U); IOMUXC_SetPinConfig( IOMUXC_GPIO_AD_B1_01_GPIO1_IO17, 0x00B0U); gpio_pin_config_t out_init = { kGPIO_DigitalOutput, 1, kGPIO_NoIntmode }; GPIO_PinInit(GPIO1, 16, &out_init); GPIO_PinInit(GPIO1, 17, &in); for (int i = 0; i < 9; i++) { GPIO_PinWrite(GPIO1, 16, 0U); SDK_DelayAtLeastUs(10U, SystemCoreClock); GPIO_PinWrite(GPIO1, 16, 1U); SDK_DelayAtLeastUs(10U, SystemCoreClock); } PRINTF("Scanning I2C addresses...\r\n"); for (uint8_t addr = 0x03; addr <= 0x77; addr++) { if (bb_probe(16, 17, addr)) { PRINTF("ACK found at 0x%02X\r\n", addr); } } IOMUXC_SetPinMux( IOMUXC_GPIO_AD_B1_00_LPI2C1_SCL, 1U); IOMUXC_SetPinMux( IOMUXC_GPIO_AD_B1_01_LPI2C1_SDA, 1U); } How can I initialize the SGTL5000 codec with the MIMXRT1064, and why am I not receiving an ACK from the codec even though all the hardware connections and configurations appear to be correct? Thanks. Re: i.MX RT1064 Custom Board – SGTL5000 Codec Not Responding Over I2C Hi @Anushka_SS, I would suggest basing your application on the evkmimxrt1064_sai example code instead. This code exemplified the integration of the RT1064 and a WM8960 codec. That said, we do also provide the fsl_sgtl5000.c/.h driver files, which can be imported as a component to the project, and enabled by simply changing the codec used by undefining CODEC_WM8960_ENABLE and defining CODEC_SGTL5000_ENABLE instead. The SGTL5000 driver files have the necessary routines to properly initialize and use this codec. Let me know if this helps, and if you require any further assistance. BR, Edwin. Re: i.MX RT1064 Custom Board – SGTL5000 Codec Not Responding Over I2C Thank you. I have already done this: a fresh project using the SDK's fsl_sgtl5000 driver with CODEC_SGTL5000_ENABLE. The problem occurs before the driver initializes: the SGTL5000 NAKs its address (0x0A and 0x2A, LPI2C status 902). Verified at run time: Audio PLL = 786.432 MHz, SAI1 MCLK = 12.288 MHz (read back from the CCM registers), LPI2C clock = 10 MHz. I am using GPIO_AD_B1_00/01 for LPI2C1 and GPIO_AD_B1_09 for MCLK. The SGTL5000 module is connected to my custom RT1064 board with jumper wires. Can you suggest what else to check on the hardware side (pad settings, MCLK signal integrity, anything specific to the RT1064)? Re: i.MX RT1064 Custom Board – SGTL5000 Codec Not Responding Over I2C I have both the RT1064 and the SGTL5000 codec on my custom board. I tested each chip independently: the SGTL5000 with a Teensy 4.1, and the RT1064 with an external PJRC SGTL5000 audio shield. Both work fine on their own, but when I connect them together by soldering their pins, it doesn't work, and I get this output: === SGTL5000 bring-up test === I2C scan (Teensy style)... Scan done: 0 device(s) Audio PLL = 786432000 Hz SAI1 mux=2 prediv=3 div=15 -> MCLK = 12288000 Hz (expect 12288000) LPI2C clock = 10000000 Hz (expect 10000000) -- try 1 -- CHIP_ID @0x A: status=902 id=0x 0 0 CHIP_ID @0x2A: status=902 id=0x 0 0 -- try 2 -- CHIP_ID @0x A: status=902 id=0x 0 0 CHIP_ID @0x2A: status=902 id=0x 0 0 -- try 3 -- CHIP_ID @0x A: status=902 id=0x 0 0 CHIP_ID @0x2A: status=902 id=0x 0 0 SGTL5000 not answering. Stop. The voltages I'm measuring are: SCL: 3.2 V SDA: 3.2 V MCLK: 1.5–1.6 V Re: i.MX RT1064 Custom Board – SGTL5000 Codec Not Responding Over I2C Update: MCLK testing results The RT1064 board and the codec board are two separate boards, connected with jumper wires. I tested the codec using MCLK from two different sources, with the same RT1064 I2C firmware. Test 1: MCLK from the RT1064 (SAI1_MCLK, GPIO_AD_B1_09, 12.288 MHz) A DC multimeter on the MCLK pin reads about 1.57 V (supply about 3.1 V). Slow bit-bang I2C (~1 kHz): the codec ACKs, but CHIP_ID reads 0xBFFF / 0xA01F instead of 0xA011. LPI2C at 5, 10, 20, 50 and 100 kHz: NAK at every speed (status 902). With a weak MCLK pad setting (0x1008), the codec doesn't answer at all and the MCLK pin reads about 0 V. Different MCLK pad drive settings made no difference. Test 2: MCLK from a Teensy 4 (pin 23) RT1064 MCLK jumper wire disconnected from the codec board. Teensy MCLK connected to the codec board's MCLK pad, Teensy GND connected to the codec board's GND. RT1064 still drives I2C (SCL/SDA) through jumper wires. RT1064 LPI2C at 100 kHz: CHIP_ID = 0xA011 and CODEC_Init OK. A DC multimeter on the Teensy MCLK reads about 1.7 V (3.3 V supply). Conclusion so far The codec board, its power supplies, the I2C wiring and the I2C firmware all work. The problem is only the MCLK coming from the RT1064 board. The DC level looks normal on a multimeter, but the codec behaves as if the 12.288 MHz clock arriving from the RT1064 is not usable. Re: i.MX RT1064 Custom Board – SGTL5000 Codec Not Responding Over I2C Can you please help me understand why the RT1064 is not providing a proper clock signal to the codec on the MCLK pin? Could this be a hardware-related issue, or is it more likely to be a configuration problem in my RT1064 program, such as the MCLK clock source, Audio PLL configuration, clock divider, pin mux configuration, or SAI settings?
查看全文
i.MX95 19×19 EVK – IMX95-OS08A20 Camera Support with AAOS 16 Hi NXP Team, We are currently working with the NXP i.MX95 19×19 EVK (IMX95LPD5EVK-19) and Android Automotive OS (AAOS) 16. Our requirement is to use a camera module that is officially supported by the i.MX95 BSP. We previously evaluated the Sony IMX219, IMX258 and IMX477 camera modules listed in AN14853. However, we understand that the Innowave IMX258 is not officially supported in the i.MX95 BSP. Based on the guidance from NXP, we understand that the IMX95-OS08A20 is an NXP-supported camera module for the i.MX95 19×19 EVK. We would like to confirm the following for our specific use case: 1. Is the IMX95-OS08A20 officially supported with AAOS 16 on the i.MX95 19×19 EVK (IMX95LPD5EVK-19)? 2. Which exact NXP BSP / AAOS 16 release should be used for the IMX95-OS08A20? 3. Is the required camera driver and ISP support already included in the AAOS 16 BSP? 4. Are any additional patches, software packages or configuration changes required to enable the OS08A20? 5. Which Device Tree / DTB configuration should be used for the OS08A20 camera on the 19×19 EVK? 6. What camera resolutions and frame rates are supported with AAOS 16? 7. Is there an EVS configuration or sample application available for using the OS08A20 with AAOS 16? 8. Please confirm the exact camera module / part number and required cable or adapter that we should purchase. 9. If possible, please provide the recommended purchase information or NXP distributor information for the IMX95-OS08A20. Our current environment is: Board: NXP i.MX95 19×19 EVK (IMX95LPD5EVK-19) Software: Android Automotive OS 16 BSP: NXP i.MX95 BSP We would like to proceed with purchasing the camera only after confirming its compatibility with our exact AAOS 16 + BSP environment. NXP reference: https://www.nxp.com/design/design-center/development-boards-and-designs/IMX95-OS08A20 Thank you. Android Re: i.MX95 19×19 EVK – IMX95-OS08A20 Camera Support with AAOS 16 Hello, The OS08A20 is not a camera supported in the AAOS for the i.MX95, for this processor we support OX03C10 and the AP1302 camera sensors. Best regards/Saludos, Aldo. Re: i.MX95 19×19 EVK – IMX95-OS08A20 Camera Support with AAOS 16 Hi Aldo, Thank you for the clarification. We understand that the OS08A20 is not supported in AAOS for the i.MX95, and that the supported camera solutions for AAOS are OX03C10 and AP1302. Our requirement is specifically for AAOS 16 on the i.MX95 19×19 EVK (IMX95LPD5EVK-19). Could you please provide the following information for the supported camera options? Which of OX03C10 or AP1302 is recommended for AAOS 16 on the i.MX95 19×19 EVK? What is the exact camera module / part number that we should purchase? What camera board, deserializer, adapter, or cable is required? Which NXP AAOS 16 / BSP release officially supports the selected camera? Is the required camera driver, ISP support, Device Tree configuration, and EVS support already included in that AAOS 16 BSP? Are any additional patches, firmware, or configuration changes required? Could you please provide the NXP product page / ordering information / recommended distributor for the camera module? Our target environment is: Board: NXP i.MX95 19×19 EVK (IMX95LPD5EVK-19) Software: Android Automotive OS 16 BSP: NXP i.MX95 BSP We would like to confirm the exact supported hardware and required accessories before proceeding with the purchase. Thank you for your support. Best regards, Gnana Prasanna
查看全文
Moisture detection using NX20P0477UKZ Hello Team, We have developed custom board using P/N: NX20P0477UKZ. We are not able to detect moisture detection. In our design we are using 1.5meter cable to connect Mobile phone. So one end of cable is connected with our custom board and other end of cable is exposed to external world for Mobile connection.  So when we try to detect moisture from cable which is exposed to external world. we are not able to detect moisture. Please guide us to resolve this issue. Thanks Re: Moisture detection using NX20P0477UKZ Hello kadamm Good day! The NX20P0477 is intended to operate when no device is connected, and its main purpose is to prevent connection under moisture conditions by asserting FLAGB beforehand. Once a cable or device is connected (a mobile phone is connected even via a cable), the electrical conditions on the CC lines become more complex, and the presence of water together with an active connection introduces unpredictable behavior. Therefore, the device cannot reliably distinguish or detect moisture events under these conditions. I hope this information has helped you, please let me know if you need help with anything else. Have a great day and best of luck. Re: Moisture detection using NX20P0477UKZ Hello Rafar. Thanks for your quick response. We are performing test without connection of any device. As per our application, we are connecting one of cable to our on board type c connector and other end of cable is left opened. We are dipping opened end of cable into water but Flag pin (C1) is always high and not able to detect moisture.  We are making CP_EN(B2) pin as high to detect moisture. Could you please suggest us how can we validate functionality? Thanks Re: Moisture detection using NX20P0477UKZ Hello Rafar. Is there any update on our issue? This issue is very critical for us. Looking for your response as soon as possible. Thanks Re: Moisture detection using NX20P0477UKZ It seems CC1 and CC2 need have some voltage in order to detect the water tap condition. In your test scenario, we are connecting one of cable to our on board type c connector and other end of cable is left opened. Does that means there are not voltage on CC1 or CC2 pin?
查看全文
CodeWarrior TAP フラッシュプログラミングの問題 私の会社では、QoriQ PシリーズおよびTシリーズプロセッサのフラッシュプログラミング用に、CodeWarrior TAP( CWH-CTP-BASE-HE )を複数台所有しています。弊社が保有するTAPは、リビジョンBとリビジョンEのモジュールが混在しています。これらが使用されてきた期間(約15年間)を通して、プログラミングの失敗につながるJTAG関連の問題が絶え間なく発生してきました。これらは「JTAGスキャンチェーンの失敗」または「JTAGの設定失敗」であることが多い。最近、より新しいTAPであるrev.Hを試す機会を得ました。この新しいTAP rev.Hは、数多くのプログラミング試行において問題なく動作しました。CodeWarrior TAPを使用した過去のFlashプログラミングの問題は、古いモジュール改訂版が原因であった可能性が高いようです。この問題を解決するために私たちができることについて、何か情報を提供していただけますか?rev.Bとrev.Eモジュールに関して、何かできることはありますか?それとも、新しいCodeWarrior TAP(rev.H)を購入せざるを得ないのでしょうか?ご協力いただきありがとうございます。 Re: CodeWarrior TAP flash programming problems 参考までに、CWTAPSのファームウェアの状態は以下のとおりです。 ブートローダー v1.0.1 オペレーティングシステム v1.0.4 CWTAPSはCodeWarrior for PA、v10.5.2からアップデートされました。 Re: CodeWarrior TAP flash programming problems 添付の最新版ccsを使用して、C:\Freescale\CW_PA_v10.5.1\PA\ccsを置き換えてください。 Re: CodeWarrior TAP flash programming problems CWTAP rev.H を使用している場合は、私が提供している CCS を使用する必要があります。 CWTAP rev.E を使用している場合は、CodeWarrior 10.5.x に付属のオリジナルの CCS を使用する必要があります。 オリジナルのCCSは、最新のCodeWarrior rev.Hとは互換性がありません。 Re: CodeWarrior TAP flash programming problems こんにちは、 はい、ありがとうございます。CWTAP rev.E を OS v1.0.4 にダウングレードする必要があります。CodeWarriorに元のCCSを戻した場合、「updatecwtap」で古いファームウェアが復元されますか? PSこの会話から察するに、CWTAP rev.Hは異なるハードウェアであると推測します。 よろしくお願いします。 Re: CodeWarrior TAP flash programming problems それは考えもしなかった。そこで、CodeWarrior 10.5.2 の CCS と CWTAP rev.E を OS v1.0.5 で試してみる必要があります。情報とアドバイスをありがとうございました。 Re: CodeWarrior TAP flash programming problems CWTAP rev.Hは異なるハードウェアです。 CWTAP rev.Eが、新しいファームウェアを搭載したオリジナルのCCSで動作するかどうか試してみてください。 Re: CodeWarrior TAP flash programming problems こんにちは、 CCSのアップデート情報ありがとうございます。CodeWarrior 10.5.2とCWTAP rev.Eを使用して、お送りいただいたアップデートを試してみました。相変わらずJTAGの問題が発生しています。CWTAP rev.H を使用すると問題が発生しないのは不思議です。これは異なるハードウェアですか?ありがとう Re: CodeWarrior TAP flash programming problems こんにちは、 私は、OS v.1.0.5を搭載したCWTAP rev.Eと、CodeWarrior 10.5.2のCCSを使用してフラッシュプログラミングを試してみました。変化なし。依然として同じJTAGの問題が発生しています。 Re: CodeWarrior TAP flash programming problems こんにちは、 CodeWarrior TAP( CWH-CTP-BASE-HE )を新たに購入することで、プログラミングの問題を解決しました。新しいTAPはrev.Hとして識別されます。P1025およびT1024開発ボードへのフラッシュプログラミングを何度も繰り返しましたが、エラーや問題は一切発生しませんでした。ご協力ありがとうございました。 よろしくお願いいたします、ポール ご協力ありがとうございました。 Re: CodeWarrior TAP flash programming problems CodeWarrior TAP revE を両方のバージョンの CCS で使用し、以下のコマンドを実行してみてください。 % すべて削除 % config cc cwtap % ccを表示 CodeWarrior TAP revE (OS v.1.0.5)は現在どのバージョンのCCSとも通信できないため、updatecwtapコマンドを使用することは不可能だと思われます。 Re: CodeWarrior TAP flash programming problems CWTAP rev.EとOS 1.0.5、旧/新CCSのどの組み合わせでもうまくいきませんでした。「updatecwtap --force」を使用して、CWTAP rev.E を OS 1.0.4 に復元しました。これはうまく機能し、通信もできます。 Re: CodeWarrior TAP flash programming problems 新しく購入したRev-H TAPに問題が発生しています。DDR検証を行う予定ですが、SPDからDDR構成を読み取ろうとすると失敗します。添付のスクリーンショットをご覧ください。 ccsフォルダを新しいものに置き換えましたが、結果は変わりません。 Rev-G TAPでは、全く問題なく動作しています。 私たちのアイデア:PA-10.5.1のCW
查看全文
Board's Built-in Welcome Page doesn't appear if Microsoft Edge option is selected Dear all I've downloaded sdk.sdk_2.x_lpcxpresso54114 with only FreeMASTER examples. It works correctly but I have a problem if I select the Edge support in the Option panel of FreeMASTER in that case the Welcome Screen appears: Clicking on Board's Built-In Welcome Page, one time, than wait 10 second or more.... nothing happen. After 10 second click again (second time) than the page appears: without icons, and if you click on the links a strange behavior happen (a save window appears if you try, for example, to click on readme.txt link) Vice versa ,If you select Internet Explorer in the option Option panel of FreeMASTER the result is almost right read me link opens the internal readme.txt file but if you click on Demo Project file link An msxbox with error appers anyway The problem is that I need to support recent browsers using RPC-JSON script approach and your and also my attached html file don't work. Please test my .h file in your platform too. It refers to the same variables and command of the sdk firwmare Regards Paolo Re: Board's Built-in Welcome Page doesn't appear if Microsoft Edge option is selected Dear Paolo,  all three browser options shall work well to detect and load the demo pages and project file embedded in the SDK example application. It is true that the browser component behavior is heavily affected by local system settings and versions of browsers installed, but in general we should not see problems like you describe.  The freemaster uses its own browser scheme "fmstr://" to reach the content stored in the application flash memory and described by TSA tables. This scheme may be disabled or may behave wrong when system settings are set too restrictively.  The Edge not showing the item icons is a known issue. For now, let's ignore the missing icons and other issues when browsing the HTML pages. Let's focus on opening the project file stored in the target flash. Please try to click the "FreeMASTER Demonstration Project" item directly in the Welcome page . This is what I understood from your message: Internet Explorer: does not open the project, shows error message box Chromium: opens the project correctly (?) MS Edge: nothing happens Please confirm my understanding is correct.  Thank you, Michal
查看全文
WiFiドライバがクラッシュする - 88w8997 FN-Link L297B-SRモジュール(Wi-FiとBluetoothが同じアンテナを共有している)で、断続的にWi-Fiドライバのクラッシュ問題に直面しています。この問題はランダムに発生し、1日後、2日後、あるいは4~5日間連続稼働した後にのみ発生することもあります。 ログを確認してください [64622.321614]mwifiex_sdio mmc2:0001:1: 情報: ca:c6:5c:cb:ad:7e から正常に切断されました: 理由コード 3 [64624.050010]mwifiex_sdio mmc2:0001:1: 情報: bssid ca:c6:5c:cb:ad:7e に接続しようとしています [64624.072596]mwifiex_sdio MMC2:0001:1: イベント:不明 イベント ID: 0x95 [64624.085770]mwifiex_sdio mmc2:0001:1: 情報: bssid ca:c6:5c:cb:ad:7e に正常に関連付けられました [64987.640381]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65060.466817]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65184.303423]mwifiex_sdio mmc2:0001:1: 情報: ca:c6:5c:cb:ad:7e から正常に切断されました: 理由コード 0 [65204.712100]ieee80211 phy0: sched_scan 開始: n_ssids=4 n_match_sets=4 [65204.725038]ieee80211 phy0: n_channels=41 interval=10 ie_len=13 [65259.046894]ieee80211 phy0: スケジュールされたスキャンを停止します! [65259.067983]mwifiex_sdio mmc2:0001:1: 情報: bssid ca:c6:5c:cb:ad:7e に接続しようとしています [65260.594440]mwifiex_sdio mmc2:0001:1: ASSOC_RESP: 失敗、ステータスコード=2、エラー=0xfffa、a_id=0x3fff [65260.611662]mwifiex_sdio mmc2:0001:1: 関連付け失敗: 理由不明 接続失敗 [65260.624191]mwifiex_sdio mmc2:0001:1: 情報: bssid ca:c6:5c:cb:ad:7e への関連付けに失敗しました [65260.636278]ieee80211 phy0: sched_scan 開始: n_ssids=4 n_match_sets=4 [65260.645499]ieee80211 phy0: n_channels=41 interval=10 ie_len=13 [65271.191030]mwifiex_sdio mmc2:0001:1: mwifiex_cmd_timeout_func: タイムアウト コマンド ID = 0x6b、アクション = 0x1 [65271.199985]mwifiex_sdio mmc2:0001:1: num_data_h2c_failure = 0 [65271.205896]mwifiex_sdio mmc2:0001:1: num_cmd_h2c_failure = 0 [65271.211654]mwifiex_sdio mmc2:0001:1: is_cmd_timedout = 1 [65271.217064]mwifiex_sdio mmc2:0001:1: num_tx_timeout = 0 [65271.222454]mwifiex_sdio mmc2:0001:1: last_cmd_index = 0 [65271.227893]mwifiex_sdio mmc2:0001:1: last_cmd_id: 6b 00 28 00 16 00 12 00 6b 00 [65271.235303]mwifiex_sdio mmc2:0001:1: last_cmd_act: 01 00 13 00 01 00 ca c6 01 00 [65271.242862]mwifiex_sdio mmc2:0001:1: last_cmd_resp_index = 4 [65271.248670]mwifiex_sdio mmc2:0001:1: last_cmd_resp_id: 0c 81 28 80 16 80 12 80 6b 80 [65271.256568]mwifiex_sdio mmc2:0001:1: last_event_index = 3 [65271.262131]mwifiex_sdio mmc2:0001:1: last_event: 18 00 0b 00 0a 00 65 00 0a 00 [65271.269514]mwifiex_sdio mmc2:0001:1: data_sent=0 cmd_sent=1 [65271.275248]mwifiex_sdio mmc2:0001:1: ps_mode=1 ps_state=0 [65271.281497]mwifiex_sdio mmc2:0001:1: スキャンを無視します。カードが取り外されたか、ファームウェアの状態が不良です。 [65271.290880]mwifiex_sdio mmc2:0001:1: ===mwifiex ドライバ情報ダンプ開始=== [65271.317907]mwifiex_sdio mmc2:0001:1: 情報: MWIFIEX バージョン: mwifiex 1.0 (16.92.21.p76) [65271.326650]mwifiex_sdio mmc2:0001:1: スキャン失敗: -14 [65271.350746]mwifiex_sdio mmc2:0001:1: SDIO レジスタ ダンプの開始 [65271.369462]mwifiex_sdio mmc2:0001:1: SDIO Func0 (0x0-0x9): 43 03 02 02 03 02 00 02 03 00 [65271.385505]mwifiex_sdio mmc2:0001:1: SDIO Func1 (0x10-0x17): 00 00 00 00 00 00 e0 ff [65271.396619]mwifiex_sdio mmc2:0001:1: SDIO Func1: (0x8) c3 (0x58) 00 (0x5c) 48 (0x5d) 00 (0x60) 07 (0x61) 0c (0x62) 00 (0x64) 10 (0x65) 00 (0x66) 00 (0x68) 00 (0x69) 00 (0x6a) 00 [65271.416154]mwifiex_sdio mmc2:0001:1: SDIO Func1 (0xe8-0xf2): dc fe 7e 00 62 00 3f a7 24 14 70 [65271.580586]mwifiex_sdio mmc2:0001:1: SDIO Func1 (0xe8-0xf2): dc fe 8f 00 73 00 3f a7 24 14 70 [65271.594858]mwifiex_sdio mmc2:0001:1: SDIO レジスタ ダンプ終了 [65271.610712]mwifiex_sdio mmc2:0001:1: ===mwifiex ドライバ情報ダンプ終了=== [65271.628592]mwifiex_sdio mmc2:0001:1: == mwifiex ファームウェアダンプ開始 == [65271.666427]mwifiex_sdio mmc2:0001:1: ctrl_data の取得に失敗しました [65271.676062]mwifiex_sdio mmc2:0001:1: ファームウェアのダンプに失敗しました [65271.693018]mwifiex_sdio mmc2:0001:1: == mwifiex ダンプ情報を /sys/class/devcoredump に開始 [65271.710201]mwifiex_sdio mmc2:0001:1: == mwifiex ダンプ情報を /sys/class/devcoredump に出力終了 [65271.723737]mwifiex_sdio mmc2:0001:1: PREP_CMD: FW が異常な状態です [65271.735173]mwifiex_sdio mmc2:0001:1: 情報: mwifiex をシャットダウンします... [65271.769056]mwifiex_sdio mmc2:0001:1: PREP_CMD: カードが取り外されました [65271.812192]mwifiex_sdio mmc2:0001:1: PREP_CMD: カードが取り外されました [65271.855652]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65271.870925]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65271.967852]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.068050]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.168010]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.268029]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.368215]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.468007]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.567994]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.668015]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.768055]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.839448]mwifiex_sdio mmc2:0001:1: 情報: ファームウェアのダウンロードが完了しました。サイズは622240バイトです。 [65273.607175]mwifiex_sdio mmc2:0001:1: WLAN FW がアクティブです [65273.641454]mwifiex_sdio mmc2:0001:1: 不明なapi_id: 5 [65273.687228]mwifiex_sdio mmc2:0001:1: 情報: MWIFIEX バージョン: mwifiex 1.0 (16.92.21.p76) [65273.713221]mwifiex_sdio mmc2:0001:1: ドライバーバージョン = mwifiex 1.0 (16.92.21.p76) [65277.145122]mwifiex_sdio mmc2:0001:1: 情報: bssid ca:39:a3:cb:ad:7e に接続しようとしています [65278.668157]mwifiex_sdio mmc2:0001:1: ASSOC_RESP: 失敗、ステータスコード=2、エラー=0xfffc、a_id=0x3fff [65278.677711]mwifiex_sdio mmc2:0001:1: アソシエーション失敗: 理由 CONNECT_ERR_ASSOC_ERR_TIMEOUT [65278.691251]mwifiex_sdio mmc2:0001:1: ASSOC_RESP: 認証タイムアウト [65278.710528]mwifiex_sdio mmc2:0001:1: 情報: bssid ca:39:a3:cb:ad:7e への関連付けに失敗しました [65279.781236]mwifiex_sdio mmc2:0001:1: 情報: bssid ca:c6:5c:cb:ad:7e に接続しようとしています [65281.310722]mwifiex_sdio mmc2:0001:1: ASSOC_RESP: 失敗、ステータスコード=2、エラー=0xfffa、a_id=0x3fff [65281.320307]mwifiex_sdio mmc2:0001:1: 関連付け失敗: 理由不明 接続失敗 以下のGitHubリンクで同じ問題を見つけましたが、まだ解決されていないようです。 https://www.bing.com/ck/a?!&&p=6f8995a9ee8bc78d51549c45a34f5deee2c26e49fb129fa9306c277b1df3c48cJmltdHM9MTc5MDQ2NzIwMA&ptn=3&ver=2&hsh=4&fclid=28fe8c6f-37d9-6a8e-3ad5-9b0736ee6b90&psq=wifi+driver+crashes+while+trying+to+reconnect+-+88w8997&u=a1aHR0cHM6Ly9naXRodWIuY29tL254cC1pbXgvaW14LWZpcm13YXJlL2lzc3Vlcy81 前もって感謝します Re: wifi driver crashes- 88w8997 こんにちは、 詳細なログをありがとうございます。クラッシュ情報から、ファームウェアバージョン16.92.21.p76を使用していることが確認できます。 88W8997は標準のimxファームウェアリリースには含まれなくなりましたのでご注意ください。ただし、最新のファームウェアを含む専用のホットフィックスブランチがこちらにあります。 https://github.com/nxp-imx/mwifiex/tree/hotfix/lf-6.12.49_2.2.0_hotfix_w8997 https://github.com/nxp-imx/imx-firmware/tree/hotfix/lf-6.12.49_2.2.0_hotfix_w8997 お使いのバージョンよりも大幅に新しい、そのブランチで利用可能なファームウェアへのアップグレードをお勧めします。このバージョンには、コマンドタイムアウトやファームウェアの異常状態といった、お客様が経験されている問題に対処する可能性のある安定性の修正が含まれています。 よろしくお願いいたします。 ダニエル。 Re: wifi driver crashes- 88w8997 ダニエル・ルバルカバ、サポートありがとうございます。 ホットフィックスファームウェアをコンボチップにロードし、約1週間連続稼働させた。この期間中、私たちは別の問題に直面しました。以前のWi-Fiファームウェアのクラッシュという問題とは異なり、今回はWi-Fi機能は動作し続けたものの、BLEが3~4日間の連続動作後に動作しなくなった。 BLEの失敗は、単にHCIインターフェースをリセットするだけでは回復できませんでした。BLE機能を復元するために、コンボチップのファームウェアを再ロードする必要がありました。BLE障害発生時に取得した最新のログを添付しましたので、詳細な分析にご活用ください。 [308423.524163] Bluetooth: hci0: コマンド 0x0406 送信タイムアウト [308454.723609]Bluetooth: hci0: コマンド 0x2011 送信タイムアウト [308454.728959]Bluetooth: hci0: オペコード 0x2011 が失敗しました: -110 [308454.734354]Bluetooth: hci0: 許可リストに追加できません: -110 [308456.771606]Bluetooth: hci0: オペコード 0x200b が失敗しました: -110 [308456.776986]Bluetooth: hci0: コマンド 0x200b 送信タイムアウト [308456.782265]Bluetooth: hci0: バックグラウンドスキャンの開始に失敗しました: -110 [308458.819547]Bluetooth: hci0: オペコード 0x2011 が失敗しました: -110 [308458.824925]Bluetooth: hci0: コマンド 0x2011 送信タイムアウト [308458.830210]Bluetooth: hci0: 許可リストに追加できません: -110 [308460.867534]Bluetooth: hci0: オペコード 0x200b が失敗しました: -110 [308460.872908]Bluetooth: hci0: コマンド 0x200b 送信タイムアウト [308460.878263]Bluetooth: hci0: バックグラウンドスキャンの開始に失敗しました: -110 [308462.915455]Bluetooth: hci0: オペコード 0x2011 が失敗しました: -110 [308462.920957]Bluetooth: hci0: コマンド 0x2011 送信タイムアウト [308462.926341]Bluetooth: hci0: 許可リストに追加できません: -110 [308464.963435]Bluetooth: hci0: オペコード 0x200b が失敗しました: -110 [308464.968817]Bluetooth: hci0: コマンド 0x200b 送信タイムアウト [308464.974104]Bluetooth: hci0: バックグラウンドスキャンの開始に失敗しました: -110 [308467.747431]Bluetooth: hci0: コマンド0x200a 送信タイムアウト 前もって感謝します。
查看全文
PXIコントローラのMPU選び方 オープンソースのPXIシャーシコントローラを作りたいと思っています(ご存じない方のために説明すると、基本的にArm SBCで、PCIe経由でバックプレーンにコネクテッドし、ペリフェラルPXIモジュールも同じですが、RCではなくPCIe EPが付いています) 例えば、Linux配信を動かせるMPUが必要です。Ubuntuはグラフィックモードで、まずまずのパフォーマンスを保ち、例えば特殊なソフトウェアが動作しているはずです。LabVIEWおよびカスタムペリフェラルモジュールはユーティリティを制御し、1秒あたり数GBの生データを処理します。また、PXI仕様で要求されているように、少なくとも2つの独立したPCIe RCを備えている必要があり、それらが高速であればあるほど良いです。それらが十分に高速であれば、たとえば次のようなことが可能になります。RF AWGでDACに生データを連続的に供給し、AWGのRAMサイズに制限されません。また、LPDDR4を大量に接続できる可能性も面白いです。典型的な32ビットバスだけでなく、64+も対応可能です。 新しいTI Am69aはかっこいいようですが、かなり高くなそうですし、しかも非常に新しいので、完全なエラッタやソフトウェアの例、ドライバなどはありません。ハードウェア開発者で趣味でコーディングしている私には難しすぎると思います もう一つの方法はRockchip RK3588です。こちらは手頃で古いですが、PCIeが遅すぎて、Gen 3の2x2だけです。私はそれで十分に受け入れられますが...もしかしたら、もっと良いアイデアや、最近似たようなことをした方がいいかもしれませんね?ぜひ聞かせていただきたいです 🙂 USB Re: Choosing an MPU for PXI controller こんにちは、 NXP Semiconductors製品にご関心いただきありがとうございます。 PCIe要件に関しては、最新のインダストリアルPCIe世代はGen 3です。LS2048/88Aは4つのPCIeコントローラ(Gen3)を持ち、1x8、4x4、4x2、4x1レーン構成をサポートし、LX2160A最大24レーンのPCIe Gen3レーンを持ち、最大x8のポートをサポートします。Layerscapeはまた、数Gbps以上のデータをプロセッシングできる優れたコネクティビティを備えています。DDRは64ビットと72ビットの2倍コントローラでも満足していますが、DDR4上で動作します。 https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/layerscape-processors:QORIQ-ARM もう一つの欠点は、ネイティブでグラフィカルインターフェースを動かせないことです。インダストリアルグラフィックプロセッサは i.MX プロセッサで、32ビットDDRで動作し、最大10Gbpsのイーサネット、最大2倍のPCIe Gen 3に対応しますが、グラフィックス処理は可能です。 よろしくお願いします。
查看全文
MCXN947 DLLの自動調整機能が動作しません こんにちは、 私はFlexSPI経由でMCXN947とOctalRAM(IS66WVO32M8DALL-200BLI)を使用しています。 FlexSPIのルートクロックはPLL1を介して150MHzで供給され、RAMはDDRモードで動作するため、出力クロックレートは75MHzになります。 `flexspi_device_config_t`には以下のパラメータがあります。 flexspi_device_config_t psram_config = { .flexspiRootClk = 150000000U, .isSck2Enabled = false, .flashSize = OCTALRAM_ISSI_SIZE, .CSIntervalUnit = kFLEXSPI_CsIntervalUnit1SckCycle, .CSInterval = 2, .CSHoldTime = 2, .CSSetupTime = 2, .dataValidTime = 2, .columnspace = 4, .enableWordAddress = false, .AWRSeqIndex = HYPERRAM_CMD_LUT_SEQ_IDX_WRITEDATA, .AWRSeqNumber = 1, .ARDSeqIndex = HYPERRAM_CMD_LUT_SEQ_IDX_READDATA, .ARDSeqNumber = 1, .AHBWriteWaitUnit = kFLEXSPI_AhbWriteWaitUnit2AhbCycle, .AHBWriteWaitInterval = 0, .enableWriteMask = true, }; FlexSpiの初期化には、SDK FLEXSPI_DRIVERバージョン2.6.0を使用しています。 自動調整機能(マニュアル10.3.15.6節「サンプリングのためのDLL構成」)でディレイセルを以下の値で設定すると、 • SLVDLYTARGET=0x0F(分算器16/32 * root_clock = 3.33 ns) • REFPHASEGAP=0x02 • DLLEN=0x01 • OVRDEN=0x01 ASLVLOCKとAREFLOCKのロックビットを待った後、ASLVSELには0x01、AREFSELには0x00が返されました。その結果、設定された遅延時間が約120psであるため、RAMの読み書き機能は動作しません。 /* Configure DLL. */ configValue = FLEXSPI_CalculateDll(base, config); base->DLLCR[index] = configValue; /* DLL neu kalibrieren */ base->DLLCR[0] |= FLEXSPI_DLLCR_DLLRESET_MASK; base->DLLCR[0] &= ~FLEXSPI_DLLCR_DLLRESET_MASK; /* Exit stop mode. */ base->MCR0 &= ~FLEXSPI_MCR0_MDIS_MASK; /* Lock abwarten */ while ((base->STS2 & (FLEXSPI_STS2_AREFLOCK_MASK | FLEXSPI_STS2_ASLVLOCK_MASK)) != (FLEXSPI_STS2_AREFLOCK_MASK | FLEXSPI_STS2_ASLVLOCK_MASK)) { } SDK_DelayAtLeastUs(10U, CLOCK_GetCoreSysClkFreq()); SLVDLYTARGETに異なる値を使用しても、ASLVLOCKとAREFLOCKの出力は変わりません。 しかし、レジスタOVRDEN=0x01とOVRDVAL=0x1bを使用して遅延時間を固定値(約3.36ナノ秒の遅延時間に相当)に設定すると、RAMからの読み書きは問題なく動作します。 しかし、ルートクロックが100 MHzを超えるため、NXPはDLLの自動調整機能の使用を推奨しています。 残念ながら、正しい遅延時間を判断できないようです! 通信・制御(I3C |I2C |SPI |FlexCAN |イーサネット |FlexIO) コアとメモリ MCX N Re: MCXN947 DLL auto-adjusted function not working こんにちは、 @IbhDanielさん 投稿ありがとうございます! MCXNx4リファレンスマニュアルによると、シリアルルートクロックはFlexSPIコアクロックであることが示されています(表79参照)。時計の使用状況)。あなたの場合、このクロックは150 MHzに設定されています。 また、DLLサンプリング構成を実装しており、自動キャリブレーションパスが正しいアプローチのようです。設定値SLVDLYTARGET = 0x0FおよびDLLEN = 0x01は正しく構成されています。唯一特定された問題は、OVRDENが0x00ではなく0x01であり、これにより自動キャリブレーション出力経路が無効化され、SLVDLYTARGET値に関係なくASLVSEL=0x01、AREFSEL=0x00となります。 上記の分析結果が貴社の実装にも当てはまるかどうか確認させてください。以下を確認してください:MCR0[RXCLKSRC] = 3h(フラッシュメモリ提供の読み取りストロボとDQSパッドからの入力)があなたの構成で使用されているか? Re: MCXN947 DLL auto-adjusted function not working こんにちは、カルロスさん。 ご返信ありがとうございます。 すみません、誤字で、OVRDENビットを0に設定しました。MCUレジスタのスクリーンショットを見ると、OVRDENが値0に設定されているのもわかります。 私はOctalRam IS66WVO32M8DALL-200BLIを使っています。もし理解が正しければ、このモジュールはDQS信号をMCUに送っているようです。 Re: MCXN947 DLL auto-adjusted function not working 再度確認したところ、MCUのMCR0[RXCLKSRC]ビットは3時間に設定されています。 Re: MCXN947 DLL auto-adjusted function not working こんにちは、 @IbhDaniel さん。 あなたの構成でMCR0[RXCLKSRC] = 3h(DQSパッドからのフラッシュメモリ提供の読み取りストロボ入力)が使われているか確認していただけますか? この点は重要です。なぜなら、自動調整・キャリブレーションはDQS信号が外部DQSパッドから送信される場合にのみサポートされるからです。RXCLKSRCの設定が異なると、自動遅延調整機構は期待どおりに動作しません。 Re: MCXN947 DLL auto-adjusted function not working こんにちは、 @IbhDanielさん 確認ありがとうございます。社内チームと検討いたします。これには時間がかかる場合があります。ご理解とご協力に感謝いたします。 それまでの間は、手動キャリブレーションで見つけた回避策をご利用ください。 ご迷惑をおかけして申し訳ございません。 Re: MCXN947 DLL auto-adjusted function not working こんにちは@IbhDaniel。 flexspi_config_tを教えていただけますか? これは、あなたが直面している現象を再現するためのものです。 また、UpdateDllValue と FLEXSPI_SetFlashConfig() の後に SDK_DelayAtLeastUs を 10us 追加してみてください。 BR
查看全文
SDK 生成器已更改? MCUXpresso SDK Builder 似乎从 25.12 版本开始发生了变化,尝试更新之前的配置(SDK_25.09.00_FRDM-MCXN947)现在会向我显示所有以灰色选择的中间件选项,似乎无法取消选择我不想要的选项(也是其中的大多数)。 底部的方框显示我可以设置 " 过滤标准 " 但这使我进入了一个新页面,我的所有板/处理器/工具链信息都消失了。 仅构建 SDK 就会产生 738MB(相对于 Windows 8)的文件。我的 25.09 配置为 56MB)压缩文件,下载后它似乎包含所有处理器的支持和中间件,而不仅仅是我感兴趣的处理器。 更让人困惑的是,现在的目录结构似乎与 25.09 版大相径庭。 这是使用 Firefox 浏览器,如果这有什么不同的话。 是我做错了什么,还是 SDK 生成器现在就应该这样工作? 安迪 Re: SDK Builder Changed? 最新进展是,我刚刚尝试更新到 26.09 版本,但遇到了完全相同的问题,尽管生成的存档现在超过 1Gb 数据。
查看全文
CodeWarrior TAP 闪存编程 我公司有许多 CodeWarrior TAP(CWH-CTP-BASE-HE)用于闪存编程 QorIQ P 系列和 T 系列处理器。我们的 TAP 混合了 rev.B 和 Rev.E 模块。在使用这些产品的整个过程中(约 15 年),我们遇到过无数与 JTAG 相关的问题,导致编程失败。通常是 "JTAG 扫描链失败 "或 "配置 JTAG 失败"。最近,我有机会尝试一款更新的 TAP,即 rev.H。这个较新的TAP Rev.H在许多编程尝试中都没有出现问题。看来我们使用CodeWarrior TAP的历史闪存编程问题可能是由于较旧的模块版本造成的。您能告诉我们如何解决这个问题吗?我们可以对 rev.B 和 rev.E 模块做些什么吗?还是我们只能购买新的 CodeWarrior TAP (rev.H)?谢谢您的帮助。 Re: CodeWarrior TAP flash programming problems 有关信息,CWTAPS 的固件状态为 启动加载程序 v1.0.1 操作系统 v1.0.4 CWTAPS 已从适用于 PA 的 CodeWarrior 更新至 10.5.2 版。 Re: CodeWarrior TAP flash programming problems 请使用所附的最新 ccs 替换 C:\Freescale\CW_PA_v10.5.1\PA\ccs Re: CodeWarrior TAP flash programming problems 如果您使用的是CWTAP rev.H,则需要使用我提供的 CCS。 如果您使用的是 CWTAP rev.E,则需要使用 CodeWarrior 10.5.x 中提供的原始 CCS。 原始的 CCS 无法与最新的 CodeWarrior rev.H 一起使用。 Re: CodeWarrior TAP flash programming problems 你好、 好的,谢谢。我需要将 CWTAP rev.E 降级到操作系统 v1.0.4。如果我在 CodeWarrior 中放回原来的 CCS,"updatecwtap "会恢复旧固件吗? 附注从对话中我推测,CWTAP rev.H 是不同的硬件。 谢谢! Re: CodeWarrior TAP flash programming problems 您好, 感谢您提供中央监控系统的最新信息。我使用 CodeWarrior 10.5.2 和 CWTAP rev.E 尝试了您发送的更新。我仍然遇到同样的 JTAG 问题。奇怪的是,当我使用 CWTAP rev.H 时却没有出现任何问题。这是不同的硬件吗?谢谢 Re: CodeWarrior TAP flash programming problems CWTAP rev.H 是不同的硬件。 请尝试 CWTAP rev.E 能否在新固件下与原 CCS 协同工作。 Re: CodeWarrior TAP flash programming problems 我没想到这一点。因此,我需要尝试使用 CodeWarrior 10.5.2 中的 CCS 和操作系统 v1.0.5 中的 CWTAP rev.E。感谢您提供的信息和建议。 Re: CodeWarrior TAP flash programming problems 请尝试在两个版本 CCS 中使用 CodeWarrior TAP Reve 并尝试了以下命令。 % 全部删除 % 配置 cc cwtap % 显示 cc 我怀疑操作系统 v.1.0.5 的 CodeWarrior TAP Reve 现在无法与任何版本的 CCS 通信,因此无法使用 updatecwt ap 命令。 Re: CodeWarrior TAP flash programming problems 又见面了 我们通过购买新的 CodeW arrior TAP( CWH-CTP-BASE-HE )解决了编 程问题。新的 TAP 被标识为 Rev.H。我重复了对 P1025 和 T1024 开发板的多次闪存编程,没有遇到任何错误或问题。谢谢你们的帮助。 亲切的问候,保罗 感谢您的帮助。 Re: CodeWarrior TAP flash programming problems 您好, 我尝试过使用操作系统版本 1.0.5 的 CWTAP rev.E 和 CodeWarrior 10.5.2 的 CCS 进行闪存编程。没有变化,我们仍然遇到同样的 JTAG 问题。 Re: CodeWarrior TAP flash programming problems 我在 CWTAP rev.E 与操作系统 1.0.5 和新/旧 CCS 的任何组合中都没有遇到任何问题。我使用 "updatecwtap --force "将 CWTAP rev.E 恢复到了操作系统 1.0.4。这样做效果很好,我可以与它通信。 Re: CodeWarrior TAP flash programming problems 我们新购置的 Rev-H TAP 出现了问题。我们打算进行 DDR 验证,但是尝试从 SPD 读取 DDR 配置时失败了。请查看附件截图。 我们用这个新文件夹替换了原来的 ccs 文件夹,但结果仍然一样。 同样的操作在 Rev-G TAP 上运行良好,没有任何问题。 我们的想法:PA-10.5.1 的 CW
查看全文
Choosing an MPU for PXI controller I want to create an open-source PXI chassis controller (if someone doesn't know, it's basically an ARM SBC, connected to backplane via PCIe, peripheral PXI modules do the same, but have PCIe EP instead of RC) So, I need an MPU that can run linux distr, e.g. Ubuntu, in graphic mode with decent performance, as some specialised software would be running on it, e.g. LabVIEW and custom peripheral modules control utilities, that process Gbs of raw data per second. It should also have at least 2 independent PCIe RCs, as denanded by PXI spec, and the faster they are the better: if they are fast enough, it would be possible to e.g. feed DAC in RF AWG with raw data continuously, not limited by AWG ram size. Also a possibility to connect a lot of LPDDR4 would be cool, not just typical 32 bit bus, but 64+ The new TI Am69a looks like a cool thing, but it seems like it's going to cost a lot, and it's very new, so no full errata, no software examples, drivers and so on - looks too challenging for me, being a hardware developer and coding only as hobby Another way would be Rockchip RK3588, it's more affordable and older, but it's PCIe is too slow, just 2x2 gen 3. I could definitely live with it, but... Maybe you have better ideas or done something similar recently? Would be grateful to hear them 🙂 USB Re: Choosing an MPU for PXI controller Hi, Thank you for your interest in NXP Semiconductor products, For PCIe requirement, latest PCIe generation in industrial processors is Gen 3. LS2048/88A has 4 PCIe controllers (Gen3) supporting 1x8, 4x4, 4x2, 4x1 lane configurations and LX2160A has Up to 24 PCIe Gen3 lanes, supporting ports as wide as x8. Layerscape also has the outperforming ethernet connectivity capable of processing more than a couple Gbps of data. DDR is also satisfied with 2x controllers of 64 and 72 bits respectively, however, they run on DDR4. https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/layerscape-processors:QORIQ-ARM Another con is that they cannot run graphical interfaces natively, industrial graphics processors are i.MX processors, they run on 32-bit DDR, up to 10 Gbps ethernet, up to 2x PCIe Gen 3, they can run graphics though. Regards
查看全文
MCXN947 DLL auto-adjusted function not working Hello, I'm using the MCXN947 via FlexSPI with an OctalRAM (IS66WVO32M8DALL-200BLI). The FlexSPI root clock is supplied at 150 MHz via PLL1, and since the RAM operates in DDR mode, I have an output clock rate of 75 MHz. The `flexspi_device_config_t` has the following parameters: flexspi_device_config_t psram_config = { .flexspiRootClk = 150000000U, .isSck2Enabled = false, .flashSize = OCTALRAM_ISSI_SIZE, .CSIntervalUnit = kFLEXSPI_CsIntervalUnit1SckCycle, .CSInterval = 2, .CSHoldTime = 2, .CSSetupTime = 2, .dataValidTime = 2, .columnspace = 4, .enableWordAddress = false, .AWRSeqIndex = HYPERRAM_CMD_LUT_SEQ_IDX_WRITEDATA, .AWRSeqNumber = 1, .ARDSeqIndex = HYPERRAM_CMD_LUT_SEQ_IDX_READDATA, .ARDSeqNumber = 1, .AHBWriteWaitUnit = kFLEXSPI_AhbWriteWaitUnit2AhbCycle, .AHBWriteWaitInterval = 0, .enableWriteMask = true, }; To initialize FlexSpi, I use the SDK FLEXSPI_DRIVER, version 2.6.0. When I configure the delay cells using the auto-adjusted function (as described in the manual under section 10.3.15.6, “DLL configuration for sampling”) with the following values: • SLVDLYTARGET=0x0F (divider 16/32 * root_clock = 3.33 ns) • REFPHASEGAP=0x02 • DLLEN=0x01 • OVRDEN=0x01 After waiting for the ASLVLOCK and AREFLOCK lock bits, I get 0x01 for ASLVSEL and 0x00 for AREFSEL. Consequently, the RAM's read and write functions do not work, since the set delay time is approximately 120 ps! /* Configure DLL. */ configValue = FLEXSPI_CalculateDll(base, config); base->DLLCR[index] = configValue; /* DLL neu kalibrieren */ base->DLLCR[0] |= FLEXSPI_DLLCR_DLLRESET_MASK; base->DLLCR[0] &= ~FLEXSPI_DLLCR_DLLRESET_MASK; /* Exit stop mode. */ base->MCR0 &= ~FLEXSPI_MCR0_MDIS_MASK; /* Lock abwarten */ while ((base->STS2 & (FLEXSPI_STS2_AREFLOCK_MASK | FLEXSPI_STS2_ASLVLOCK_MASK)) != (FLEXSPI_STS2_AREFLOCK_MASK | FLEXSPI_STS2_ASLVLOCK_MASK)) { } SDK_DelayAtLeastUs(10U, CLOCK_GetCoreSysClkFreq()); Even if I use different values for SLVDLYTARGET, the output of ASLVLOCK and AREFLOCK does not change. However, if I set the delay time to a fixed value using the registers OVRDEN=0x01 and OVRDVAL=0x1b (corresponding to a delay time of approximately 3.36 ns), reading from and writing to RAM works without any problems. However, since the root clock is greater than 100 MHz, NXP recommends using the DLL's auto-adjustment feature. Unfortunately, it doesn't seem to be able to determine the correct delay time! Communication & Control(I3C | I2C | SPI | FlexCAN | Ethernet | FlexIO) Core and Memory MCXN Re: MCXN947 DLL auto-adjusted function not working Hi @IbhDaniel  Thank you for the post! The MCXNx4 Reference Manual indicates that the serial root clock is the FlexSPI core clock (see Table 79. Clock Usage). In your case, this clock is configured to 150 MHz. I also see that you have implemented the DLL sampling configuration, and the auto-calibration path appears to be the correct approach. The settings SLVDLYTARGET = 0x0F and DLLEN = 0x01 were configured correctly. The only issue identified was OVRDEN = 0x01 instead of 0x00, which disables the auto-calibration output path and causes ASLVSEL = 0x01 and AREFSEL = 0x00 regardless of the SLVDLYTARGET value. I would just like to confirm that the above analysis applies to your implementation. Could you please verify that: MCR0[RXCLKSRC] = 3h (Flash-memory-provided read strobe and input from DQS pad) is being used in your configuration? Re: MCXN947 DLL auto-adjusted function not working Hi Carlos, Thanks for your reply. Sorry, that was a typo on my part, I set the OVRDEN bit to 0. In the screenshot of the MCU register, you can also see that OVRDEN was set to value 0. I’m using the OctalRam IS66WVO32M8DALL-200BLI, if I understand correctly, this module sends the DQS signal to the MCU. Re: MCXN947 DLL auto-adjusted function not working I checked it again, and the MCR0[RXCLKSRC] bit is set to 3h in the MCU. Re: MCXN947 DLL auto-adjusted function not working Hi @IbhDaniel, Could you please verify that MCR0[RXCLKSRC] = 3h (Flash-memory-provided read strobe input from the DQS pad) is being used in your configuration? This point is important because auto-adjustment/calibration is only supported when the DQS signal is sourced from the external DQS pad. If a different RXCLKSRC setting is selected, the automatic delay adjustment mechanism will not operate as expected. Re: MCXN947 DLL auto-adjusted function not working Hi @IbhDaniel  Thank you for the confirmation, I'll review this with the internal team. This may take some time. We appreciate your patience.  In the meanwhile, please use the workaround you find doing the manual calibration.  Apologize the inconvenience this may cause.  Re: MCXN947 DLL auto-adjusted function not working Hi @IbhDaniel, Could you please share your flexspi_config_t?  This to replicate the behavior you are facing.  Also, try adding SDK_DelayAtLeastUs of 10us after UpdateDllValue and after FLEXSPI_SetFlashConfig() BR
查看全文
连续两次测量中接收灵敏度相差 10dB 我发现我们一款使用 QN9083 BLE SoC 的产品出现了异常行为。当我测量设备接收器灵敏度时,我发现连续两次测量之间有高达 10dB 的差异。我正在使用 CMW100 的广播模式进行测量,该设备放置在屏蔽的射频盒中。在不打开盒子和/或改变设备位置的情况下,连续进行 RxS 测量,设备的响应差异高达 10dB(即 -91dBm 和 -81dBm),这是意料之外的,以前从未发生过。这种行为是随机的。我正在寻找硬件和软件方面可能的原因。 Re: Rx sensitivity differs by 10dB between consecutive measurements 你好, 连续两次灵敏度测量结果之间出现高达 10 dB 的变化,这通常是我们意想不到的。 能否告知您当前使用的软件/SDK 版本? 另外,您能否澄清一下: 这种情况是发生在单个设备上还是多个产品上? 您是否在不同的单元中观察到过同样的情况? 使用相同的测量设置,能否在 NXP 开发板上重现该问题? 这些信息将有助于确定问题是硬件、软件还是测试环境特有的。 顺祝商祺! 里卡多 Re: Rx sensitivity differs by 10dB between consecutive measurements 您好,感谢您的回复。我的回答如下: 能否告知您当前使用的软件/SDK 版本? 5.0 版本基于156414(控制器子系统)和 156821(主机子系统) 这种情况是发生在单个设备上还是多个产品上? 同一款产品。使用其他产品从未遇到过问题。 您是否在不同的单元中观察到过同样的情况? 是的,但并非始终如此。 使用相同的测量设置,能否在 NXP 开发板上重现该问题? 我需要一块搭载 QN9083 芯片的开发板,以及一个能将芯片设置为广播模式的固件。 谢谢!       Re: Rx sensitivity differs by 10dB between consecutive measurements 关于BLE版本的其他信息: SDK 2.2.3 BLE 1.5.6,支持 BLE Core 5.0。 Re: Rx sensitivity differs by 10dB between consecutive measurements @Ricardo_Zamora 我使用 QN9080-DK 进行了测量。虽然我没有看到 10dB 的差异,但仍然存在 5dB 的波动(见下方数据)。可能是什么原因造成的? furbani_0-1784214895282.pngfurbani_0-1784214895282.png Re: Rx sensitivity differs by 10dB between consecutive measurements 嗨@Ricardo_Zamora,您有时间查看我发布的数据/答案吗? 谢谢。 Re: Rx sensitivity differs by 10dB between consecutive measurements 我测量了 W236 FRDM 板,看看辐射 RSSI 的变化有多大。变化幅度可达 4dB。 RomanPBudek_0-1789049903611.pngRomanPBudek_0-1789049903611.png RomanPBudek_1-1789049923585.pngRomanPBudek_1-1789049923585.png Re: Rx sensitivity differs by 10dB between consecutive measurements @RomanPBudek谢谢你的更新。你使用什么仪器进行测量的?如果您也能测量一下我们这款设备的尺寸,我想寄送一台给您。 谢谢 Re: Rx sensitivity differs by 10dB between consecutive measurements 这是恩智浦HCI黑盒软件。我很乐意与测量结果进行比较。我会通过电子邮件发送我的地址。 过去,接收灵敏度问题可以追溯到测试夹具上的探测问题。随着测试夹具的磨损,探针针可能会接触到塑料外壳,并将静电注入射频针中。通过将灯具接地解决了这个问题。让我看看其中几个设备,了解一下它们的性能。 Re: Rx sensitivity differs by 10dB between consecutive measurements 嗨@RomanPBudek 这些设备是密封的,无法重新编程。它们自带固件,开机后会播放广告。你能进行测试吗?我们发现的这种差异是在使用 CMW100 以广告模式测试这些设备时出现的(参见 2026 年 9 月 30 日的电子邮件)。 请指教。 谢谢! 法比奥·乌尔巴尼
查看全文