Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
当前License即将到期,剩余6天,申请延长有效期 当前License即将到期,剩余6天,申请延长有效期
View full article
ユーザー空間からのセキュアブートライフサイクル読み取り IMX8DXPのユーザー空間からライフサイクルレジスタを読み取る方法。使えるドライバはありますか? i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: Secure-boot life cycle reading from userspace こんにちは@Ajaybajpai980  現在、BSPにはそのようなドライバはいません。 よろしくお願いします、 志明
View full article
CHIP I am writing on behalf of the company CR Soluciones GLN S.A., based in Costa Rica. We are distributors of digital signature card readers—specifically the Rocketek models CR317, CR336A, and CR336C—and I would like to know if these readers are compatible with the NXP JCOP4 chip. Re: CHIP Hello @Lilliam Hope you are doing well. JCOP 4 is an OS that supports ISO 7816-3 T=0, T=1; and ISO 14443 (up to 848kbps). Still, compatibility with third-party readers must be confirmed with the manufacturer. Could you please contact the reader manufacturer for more information on this? Regards, Eduardo. Re: CHIP Hi, My apologies. Unfortunately, I cannot confirm compatibility with specific third-party readers, the reader manufacturer must confirm whether their products have been tested and validated with secure smart cards running JCOP 4. I apologize for the inconvenience. Regards, Eduardo.
View full article
ST25R500 Library Integration with NXP MWCT2016S Hi, I am currently working on a wireless charger project using the NXP MWCT2016S MCU integrated with the ST25R500 NFC reader. I would like to understand how to integrate the ST25R500 library package into the NXP non-AUTOSAR platform. Could you please guide me through the integration process and share any relevant documentation, application notes, or example projects? Your support would be greatly appreciated. Thank you for your assistance. Regards, rakY Re: ST25R500 Library Integration with NXP MWCT2016S Hi @rakYps21  The following links describe how to add and integrate custom libraries into S32DS/Eclipse. They may be useful for your intended application. HOWTO: Add a static library file into S32DS GCC project Creating and using Libraries with ARM gcc and Eclipse | MCU on Eclipse How to use Custom Library Names with GNU Linker and Eclipse | MCU on Eclipse Regarding the integration of the ST25R500 library, this falls outside the scope of our support, as it is a third-party software component and is not developed or maintained by NXP. Therefore, we are unable to provide guidance on the functionality, implementation, or debugging of that library. However, we can assist with topics related to the MWCT2016S, including its configuration, software package, drivers, and supported functionalities. BR, VaneB Re: ST25R500 Library Integration with NXP MWCT2016S Hi VaneB, Thank you for sharing the inputs. I have completed the initial configuration and integrated the ST files into our NXP software package. However, I need guidance on configuring and implementing the GPIO interrupt for the ST25R500 IRQ signal. I have completed some of the initial configurations for PTA18 (EIRQ0), as shown in the attached screenshots. However, I need further guidance on the required configurations and application-level implementation to ensure the interrupt is triggered and handled correctly. Could you please review my current configuration and guide me through the necessary steps to enable and handle the GPIO interrupt properly? Your support would be greatly appreciated. BR, Raky Re: ST25R500 Library Integration with NXP MWCT2016S Hi @rakYps21  Your configuration looks good. For the SIUL2 external interrupt, I recommend checking the thread SIUL2 external interrupt example project using S32K3 RTD without AUTOSAR. It goes into more detail about how to handle this. The example uses an older RTD version, but the general idea and configuration approach are still the same. Also, the RTD package includes Siul2_Icu_Ip_BlinkLed_S32K3xx examples for the different S32K3 variants. These examples configure a GPIO as an external interrupt, so they can be very useful as a reference. These two resources should give you a good starting point to better understand how the external interrupt works and how to configure it.
View full article
Peripheral DMA TCD "START" FIELD Version 5 of the S32Z2 Reference Manual states on page 1399 bullet 1. "1.User write to the TCDn_CSR[START] field requests channel service." The memory map for the TCD CSR on page 1354 in the same document does not show any field for the CSR named "START". Which bit of the TCDn_CSR is the START bit? I'm trying to start a manual transfer from SW. Re: Peripheral DMA TCD "START" FIELD Hi Robert, Thank you for pointing this out. The register map identifies the TCDn_CSR register and its offset, but it does not list the individual bit fields. For the field definitions, please refer to Section 45.3.2.18, “TCD Control and Status (TCD0_CSR - TCD31_CSR),” on pages 1383–1385 of the same S32Z2 Reference Manual. This section shows that the START field is bit 0 of TCDn_CSR , i.e. TCDn_CSR[0] .  I hope this clarifies the apparent difference between the register map and the detailed register description. Best regards, Aldo. Re: Peripheral DMA TCD "START" FIELD Ah, gotcha. Thanks for the clarification.
View full article
My current license is about to expire, with 6 days remaining. I am applying for an extension. My current license is about to expire, with 6 days remaining. I am applying for an extension.
View full article
i.MX8M Miniはディスクへのサスペンドをサポートしています こんにちは、i.MX8M Miniが「ディスクへのサスペンド」(eMMCや他のストレージメディアへの休止)をサポートしているか知りたいです。 コマンドは "echo disk > /sys/power/state" です。 i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: i.MX8M Mini support suspend to disk 残念ながら、現在のNXP BSPではサポートされていません。 一般的な参考として、ARMのディスク へのサスペンド - eLinux.org を参照してください。 ありがとうございます。
View full article
デバイス 私はコスタリカに拠点を置くCR Soluciones GLN S.A.社を代表してこの手紙を書いています。私たちはデジタル署名カードリーダー、特にRocketekモデルのCR317、CR336A、CR336Cの代理店であり、これらのリーダーがNXP JCOP4チップに対応しているかどうかを知りたいです。 Re: CHIP こんにちは、 @Lilliam さん あなたの調子が良いといいのですが。 JCOP 4はISO 7816-3 T=0、T=1をサポートするOSです。およびISO 14443(最大848kbps)をサポートします。 ただし、サードパーティ製リーダーとの互換性については、製造元に確認する必要があります。この件について詳しく知りたい場合は、リーダーメーカーにお問い合わせください。 よろしくお願いいたします。 エドゥアルド。 Re: CHIP こんにちは、 申し訳ありません。残念ながら、特定のサードパーティリーダーとの互換性は確認できず、リーダーメーカーが自社製品がJCOP 4を搭載した安全なスマートカードでテスト・検証されているかどうかを確認する必要があります。 ご迷惑をおかけして申し訳ございません。 よろしくお願いいたします。 エドゥアルド。
View full article
私の現在の運転免許証は、あと6日で期限切れになります。延長申請をしたいと思います。 私の現在の運転免許証は、あと6日で期限切れになります。延長申請をしたいと思います。
View full article
从用户空间读取安全启动生命周期 如何在 imx8dxp 中从用户空间读取生命周期寄存器。有什么驱动程序可以使用吗? i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: Secure-boot life cycle reading from userspace 你好@Ajaybajpai980 目前,电路板支持包。中没有这样的驱动程序。 此致, 志明
View full article
周辺DMA TCD「START」フィールド S32Z2リファレンスマニュアルのバージョン5は1399ページの1に記載しています。 「1. ユーザーがTCDn_CSR[START]フィールドに書き込み、チャネルサービスをリクエストする。」 同じ文書の1354ページにあるTCD CSRのメモリマップには、「START」という名前のCSRのフィールドは表示されていません。TCDn_CSRのどのビットがSTARTビットですか?SWから手動転送を開始しようとしています。 Re: Peripheral DMA TCD "START" FIELD こんにちは、ロバートさん。 ご指摘ありがとうございます。 レジスタマップは TCDn_CSR レジスタとそのオフセットを識別しますが、個々のビットフィールドは一覧表示しません。現場の定義については、同じS32Z2リファレンスマニュアルの1383–1385ページにあるセクション45.3.2.18「TCD制御および状態(TCD0_CSR - TCD31_CSR)」を参照してください。 このセクションでは、 START フィールドが TCDn_CSR のビット 0、つまり TCDn_CSR[0] であることを示しています。 これで、登録簿マップと詳細な登録簿の説明との間の明らかな違いが明確になったことを願います。 よろしくお願いします、 アルド。 Re: Peripheral DMA TCD "START" FIELD ああ、なるほど。ご説明ありがとうございます。
View full article
i.MX8M Mini support suspend to disk Hi, we would like to know whether the i.MX8M Mini supports "suspend-to-disk" (i.e hibernation to eMMC or others storage media)? command is "echo disk > /sys/power/state" i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: i.MX8M Mini support suspend to disk Unfortunately, it is not supported in the current NXP BSP. For general reference, please refer to Suspend To Disk For ARM - eLinux.org . Thanks.
View full article
外围设备 DMA TCD“开始”字段 S32Z2 参考手册第 5 版第 1399 页第 1 点规定: “1.用户向TCDn_CSR[START]字段写入请求通道服务。” 同一文档第 1354 页的 TCD CSR 内存映射中,没有显示名为“START”的 CSR 的任何字段。TCDn_CSR 的哪一位是起始位?我正在尝试从SW发起手动转账。 Re: Peripheral DMA TCD "START" FIELD 嗨,罗伯特, 谢谢你指出这一点。 寄存器映射表标识了 TCDn_CSR 寄存器及其偏移量,但没有列出各个位字段。有关字段定义,请参阅同一 S32Z2 参考手册第 1383-1385 页的第 45.3.2.18 节“TCD 控制和状态 (TCD0_CSR - TCD31_CSR)”。 本节表明 START 字段是 TCDn_CSR 的第 0 位,即 TCDn_CSR[0] 。 我希望这能澄清登记册地图和详细登记册描述之间的明显区别。 此致, 阿尔多。 Re: Peripheral DMA TCD "START" FIELD 啊,明白了。谢谢你的解释。
View full article
ST25R500ライブラリとNXP MWCT2016Sの統合 こんにちは、 現在、 NXP MWCT2016S MCU と ST25R500 NFCリーダを統合したワイヤレス充電器プロジェクトに取り組んでいます。 NXPの非AUTOSARプラットフォームに ST25R500 ライブラリパッケージをどのように統合するかを理解したいです。 統合プロセスについてご案内いただき、関連するドキュメントやアプリケーションノート、またはプロジェクトの例を教えていただけますか? 皆さんのサポートをいただけると大変ありがたいです。 ご協力ありがとうございました。 よろしくお願いいたします。 ラク Re: ST25R500 Library Integration with NXP MWCT2016S こんにちは、 @rakYps21さん 以下のリンクでは、カスタムライブラリをS32DS/Eclipseに追加および統合する方法について説明しています。あなたのアプリケーションには役立つかもしれません。 HOWTO: S32DS GCC プロジェクトに静的ライブラリファイルを追加する方法 ARM gccとEclipseでのライブラリの作成と利用 |EclipseでのMCU GNU LinkerおよびEclipseでのカスタムライブラリ名の使い方 |EclipseのMCU ST25R500ライブラリの統合については、サードパーティ製ソフトウェアコンポーネントであり、NXPが開発・保守しているわけではないため、当社のサポート範囲外です。したがって、当該ライブラリの機能、実装、デバッグに関するガイダンスを提供することはできません。 しかし、MWCT2016Sの設定、ソフトウェアパッケージ、ドライバ、対応機能など、関連するトピックについてはお手伝いできます。 BR、VaneB Re: ST25R500 Library Integration with NXP MWCT2016S こんにちは、VaneBさん。 ご意見をお寄せいただきありがとうございます。 初期設定を完了し、STファイルをNXPのソフトウェアパッケージに統合しました。 しかし、ST25R500のIRQ信号に対するGPIO割り込みの設定と実装について、ガイダンスが必要です。 添付のスクリーンショットに示すように、 PTA18(EIRQ0)の初期設定の一部を完了しました。 しかし、割り込みが正しくトリガーされ処理されるよう、必要な構成やアプリケーションレベルの実装についてさらに指導が必要です。 現在の設定を確認し、 GPIO割り込みを適切に有効化・処理するための手順を教えていただけませんか? 皆さんのサポートをいただけると大変ありがたいです。 BR、 ラキー Re: ST25R500 Library Integration with NXP MWCT2016S こんにちは、 @rakYps21さん 設定は問題なさそうです。 SIUL2外部割り込みについては、 AUTOSARなしのS32K3 RTDを使ったThread SIUL2外部割り込みの例プロジェクトを確認することをお勧めします。この問題への対処方法について、より詳しく説明されています。例では古いRTDバージョンが使われていますが、基本的な考え方や構成方法は同じです。 また、RTDパッケージには異なるS32K3バリアントの Siul2_Icu_Ip_BlinkLed_S32K3xx 例が含まれています。これらの例はGPIOを外部割り込みとして構成するため、参照として非常に役立ちます。 これら2つの資料は、外部割り込みの仕組みと設定方法をより深く理解するための良い出発点となるでしょう。
View full article
KW45のTx出力出力の消費電力は:-15,-10,-5,-2 dBm(カリキュレータ1_4)で こんにちは、 KW45_WK47_MCXW71_MCXW72_BLE_power_profile_calculator_v1.40.xlsxでは、送信出力(dBm)が0dBmから10dBmまでの消費電力が示されています。 KW45に-15、-10、-5、-2 dBmを追加することは可能でしょうか?追加したファイルを完成させるために。 ありがとうございます。 Re: Consumption for KW45 function of Tx Output power for : -15,-10,-5,-2 dBm with calculator 1_4 こんにちは、 あなたの調子が良いといいのですが。この送信値は、 当社のKW45B(無線)およびKW45Z(MCU)データシートに示された典型的な値に対応しています。 また、すべてのプロファイルツールについては、当社のメイン投稿を参照することをお勧めします: Kinetis(KW3x/4x、MCX W7xおよびMCX W23)ワイヤレス接続パワープロファイルツール よろしくお願いいたします。 リカルド
View full article
24MHz时钟问题RT1052 你好, 我开发了一款定制的PCB,其中包括RT1052 MCU。 我使用的时钟配置如下: 其中 C57 和 C58 被替换为 4.7 pF,以符合评估板的要求。 但是,我无法启动芯片上的振荡器。 我觉得启动顺序是正确的: 1) SNVS 3V3 稳定 2) NVCC_x、DCDC_IN、VDD_HIGH(3V3_main)变为 3V3 稳定。 3) VDD_SOC 稳定在 1.1V,这没问题。 当所有电源线都正常且选项字节设置为串行下载时,POR 将被释放。 如果我打开电源,我在示波器上看到没有振荡开始,XTALO 稳定在 3V3。 黄色 XTALO,蓝色 XTALI,绿色 3V3_main,红色 POR(200 毫秒后变为高电平) 如果我关闭电源,我看到一些振荡,我假设振荡器参数正常。 另外,虽然引脚连接正确,但我没有SWD通信。我尝试注入 20 MHz 时钟信号,得到了一些响应,但没有可靠的通信。因此,我首先尝试修复 24 MHz 振荡器。 有人知道为什么振荡器不启动吗? i.MX-RT1050 Re: 24MHz clock issue RT1052 嗨@JBA , 非常感谢您对我们产品的关注以及对我们社区的使用。 根据您的描述,我建议您检查与振荡器相关的连接以及实际的上电波形。 1:请在上电期间测量 VDD_SNVS_IN、VDD_HIGH_IN、DCDC_IN、DCDC_PSWITCH 和 POR_B。尤其请检查 DCDC_PSWITCH 在 DCDC_IN 稳定后至少 1 毫秒是否上升。 2:请查阅晶体制造商的规格说明,了解其负载电容(CL )和ESR,然后使用已安装的电容器值以及PCB和MCU引脚的寄生电容来计算有效负载电容。确认计算出的负载是否适合该晶体。除非晶体规格和板寄生参数相当,否则不应直接复制 EVK 的 4.7 pF 电容值。 3:请在电源稳定后测量 NVCC_PLL 处的电压。如果使用外部时钟源重复测试,请驱动 XTALO 并确保时钟的高电平电压不超过测量的 NVCC_PLL 电压。 顺祝商祺! 刘梅 Re: 24MHz clock issue RT1052 1)上电期间,VDD_SNVS_IN、VDD_HIGH_IN、DCDC_IN、DCDC_PSWITCH 和 POR_B 均被触发。这些信号正确,且顺序正确: 黄色:VDD_SNVS_IN。 绿色:VDD_HIGH_IN 和 DCDC_IN 红色:VDD_SOC 蓝色:POR DCDC_PSWITCH 和 VDD_SOC。DCDC_IN 稳定后 30 毫秒启用 PSWITCH。 2) 我使用 CL = 7 pF 和 stray = 3 pF 重新计算了电容。 负载电容设置为 8.2 pF,但示波器上仍然看不到振荡。 3) 我无法直接测量 NVCC_PLL 引脚,因为它位于 BGA 封装之下。但是,它直接连接到 VDD_HIGH 和 DCDC_IN。关于使用外部时钟源的问题:是否应该将其注入到 XTALI 引脚,而不是 XTALO 引脚? 我还能怎么办呢? 谢谢你的想法。   Re: 24MHz clock issue RT1052 这很令人困惑,因为 NVCC_PLL 与其他 NVCC_x 端口的名称相同。最好将其命名为 NVCC_PLL_CAP Re: 24MHz clock issue RT1052 嗨@JBA , 感谢您提供的最新信息。 关于您提出的“关于使用外部时钟源的问题:是否应该将其注入到 XTALI 引脚,而不是 XTALO 引脚?”这个问题 我指的是 RT1050 数据手册中描述的配置:外部 24 MHz 振荡器驱动 XTALO,XTALI 上有一个 18 pF 电容。所施加的时钟电平不得超过 NVCC_PLL。 我还想澄清一下您所说的“NVCC_PLL 直接连接到 VDD_HIGH 和 DCDC_IN”。你的意思是说 NVCC_PLL、VDD_HIGH_IN 和 DCDC_IN 都连接到同一个 3.3V PCB 网络吗?请检查原理图或PCB网络连接以确认这一点。NVCC_PLL 是内部 LDO_1P1 的约 1.1 V 输出,而 VDD_HIGH_IN 和 DCDC_IN 是电源输入。如果 NVCC_PLL 直接连接到 3.3V 电源,则在进行进一步的振荡器测试之前,需要纠正此连接。 顺祝商祺! 可能 Re: 24MHz clock issue RT1052 嗨,May, 我们还发现了 NVCC_PLL 问题。我断开连接后,振荡器现在开始工作了。感谢您的支持。
View full article
i.MX7D UART5をI2C4を使用してDTEモードで使用 こんにちは。 これはオリジナルのi.MX7Dボードです。 2線式UART5回路はI2C4ポートを使用します。 このUART5はDTEモードです。 CCM、IOMUXCポート、IOMUXC DAISY設定、およびUART5を設定しています。 CCM_TARGET_ROOTn=0x10000000 CCM_CCGRn=0x3 IOMUXC_SW_MUX_CTL_PAD_I2C4_SCL=1 IOMUXC_SW_MUX_CTL_PAD_I2C4_SDA=1 IOMUXC_UART5_RX_DATA_SELECT_INPUT=1 UART5_UCR1=1 UART5_UCR2=0x7027 UART5_UCR3=0x784 UART5_UCR4=0x8000 UART5_UFCR=0x240 UART5_UBIR=0xF UART5_UBMR=0x271 1文字送信後、UART5_UTSは0x20のままです(0x60から変更されています)。 UART5_UTSが0x60に戻らない理由がわかりません。 よろしくお願いいたします。 Re: i.MX7D UART5 in DTE mode using I2C4 ネタバレ (ハイライトして読む)     こんにちは。AldoGです。 私が送信した情報の一部に誤りがありました。 UART5_CLK_ROOT(0x30380b18)=0x10000000 正しいバージョンは以下のとおりです。 UART5_CLK_ROOT(0x3038b180)=0x10000000 よろしくお願いいたします。 Re: i.MX7D UART5 in DTE mode using I2C4 こんにちは。AldoGです。 起動時になぜかIPG_CLK_ROOT(0x30389080)が0x1に設定されていたので、0x0に変更しました。 UART5_CLK_ROOT(0x30380b18)=0x10000000 UART5_CCM_CCGR=CCM_CCGR152(0x30384980)=0x3 このように設定されています。 使用するピンをI2C4からSAI1に変更してみましたが、うまくいきませんでした。 USR2内のTXDCにチェック対象のレジスタを設定しました。 よろしくお願いいたします。 Re: i.MX7D UART5 in DTE mode using I2C4 こんにちは、 i.MX7D UARTステータスレジスタの場合、UTS[6]はTX FIFOが空であることを示す値であり、UTS[5]はRX FIFOが空であることを示す値です。したがって、0x60は両方のFIFOが空であることを示し、0x20はRX FIFOは空だがTX FIFOはまだ空ではないことを示します。したがって、キャラクターを書いた直後にすぐに見0x20を見ることは予想できます。 UTS[6]はFIFO状態のみを反映しています。文字の送信が完全に完了したかどうかを判断する必要がある場合は、送信FIFOとシフトレジスタが空であることを示すUSR2[TXDC]を確認してください。 この2線式構成の場合、以下の点も確認してください。 ハードウェアCTS/RTSフロー制御は無効になっています。対応する信号がコネクテッドでない状態でCTS/RTSを有効にすると、送信が妨げられることがあります。 UART5の機能クロックとIPGクロックの両方が有効になっており、UBIR/UBMR値は実際のUART5クロック周波数を使用して計算されます。 DTEピンのマッピングはi.MX7Dリファレンスマニュアルと照合されています。DTEモードでは見かけのRX/TXピンの方向が変わるため、信号名が混乱しやすいことがあります。 I2C4ペリフェラルも有効化されておらず、同じパッドを駆動していません。 UART5のTXピンは、オシロスコープまたはロジックアナライザでプローブされます。有効な波形が存在する場合、0x20という読み取り値はステータスサンプリングの問題である可能性が高いです。波形が表示されない場合は、まずクロック、フロー制御、およびピン多重化の設定を確認してください。 i.MX 7Dualリファレンスマニュアル(IMX7DRM)、特にUARTとIOMUXのセクションを参照してください。NXPのiMX7 UARTピン設定およびi.MX7 IPG_CLK_ROOTとUARTのクロックに関する説明も参考になるかもしれません。 よろしくお願いいたします。 アルド。 Re: i.MX7D UART5 in DTE mode using I2C4 こんにちは、 TXDCは、TX FIFOとシフトレジスタが空であることを示します。文字送信後にUSR2[TXDC]が1になるかどうか確認してください。値が0のままの場合は、送信前後のUTS、USR1、USR2の値と、UART5のTXピン波形も併せて取得してください。 2線式構成の場合は、ハードウェアCTS/RTSフロー制御が無効になっていることも確認してください。対応する信号が接続されていない状態でCTS/RTSを有効にしている場合、トランスミッタはブロックされたままになることがあります。また、選択したパッドを駆動しているI2C4やSAI1ペリフェラルが有効でないかも確認してください。 よろしくお願いいたします。 アルド。 Re: i.MX7D UART5 in DTE mode using I2C4 こんにちは、AldoGさん。 DTEモードによる混乱を避けるため、基板の配線を変更してDCEモードに設定しました。 U-Bootでの初期化後、IOMUXCのプルアップ/プルダウン設定を切り替えながら、オシロスコープを使用してピン電圧レベルを監視しました。 入力ピンはこれらの設定変更に正しく反応しました。 次に、UART5_UFCRレジスタのDTEビットを設定してテストを繰り返したところ、入力ピンは再び設定変更に正しく反応しました。 出力ピンはDCE/DTE構成に応じてスイッチし、いずれの場合も電圧レベルは「1」となります。 したがって、PADの設定は正しい。 UART5_UCR2レジスタのIRTSビットが「1」に設定されているため、RTS信号は無視する必要があります。 この問題を解決するために次に何を調査すべきか、具体的かつ詳細なサポートをいただけませんか? よろしくお願いいたします。 Re: i.MX7D UART5 in DTE mode using I2C4 こんにちは、AldoGさん。 問題は解決しました。 2線式DCEモードから3線式DTEモードに切り替えました。 使用されるピンは、I2C3_SCL、I2C4_SCL、およびI2C4_SDAです。 クロックはCCMを通じて「/arch/arm/mach-imx/mx7/clock.c'で設定されます。`init_clk_uart()` 関数内。 ピン配置は以下のとおりです。 static iomux_v3_cfg_t const uart5_pads[] = { MX7D_PAD_I2C3_SCL__UART5_DTE_RTS | MUX_PAD_CTRL(UART_PAD_CTRL) MX7D_PAD_I2C4_SCL__UART5_DTE_TX | MUX_PAD_CTRL(UART_PAD_CTRL) MX7D_PAD_I2C4_SDA__UART5_DTE_RX | MUX_PAD_CTRL(UART_PAD_CTRL) }; imx_iomux_v3_setup_multiple_pads(uart5_pads, ARRAY_SIZE(uart5_pads)); writel(readl(0x30330158) | 0x10, 0x30330158); writel(readl(0x30330160) | 0x10, 0x30330160); writel(readl(0x30330164) | 0x10, 0x30330164); writel(0, 0x30330710); writel(0, 0x30330714); 次に、`serial_mx.c` を使用してシリアル初期化とボーレート設定を行います。参考として。 ただし、UCR2レジスタは次のように構成されます。writel(UCR2_WS | UCR2_TXEN | UCR2_RXEN | UCR2_SRST, &base->cr2); これはうまくいった。
View full article
Tamper detection function in iMX6ULL I would like to enable the active tamper detection feature on the i.MX6ULL processor in order to detect when the device enclosure is opened. A switch has been added to the hardware and connected to the external tamper pins, as shown in the attached figure. Do you have any examples or documentation on how to support tamper detection on the software side? Is there an example implementation or a sample function that demonstrates how to configure and handle this feature? Re: Tamper detection function in iMX6ULL Hello, The tamper feature on i.MX 6ULL is controlled by a Fuse which is currently provisioned by NXP to disable this feature on all production part numbers for i.MX6ULL. Several customer-facing documents incorrectly state that i.MX 6ULL supports external tamper. Since the fuse is programmed to disable this feature on all i.MX 6ULL part numbers, a customer will not be able to use the tamper feature even though the tamper pins are documented in the current documentation. Documentation will be updated to reflect that tamper is not Supported. Please also note that the derivative product i.MX 6ULZ also does not support Tamper Feature i.MX 6UL -3 i.MX 6ULL/6ULZ Comments Tamper Detection Signal Yes  No Active Tamper only on i.MX 6UL  Volt/Temp/Freq Detect (DRY-ICE) Yes  No DRY-ICE & Active Tamper features not supported on i.MX 6ULL/ULZ Best regards.
View full article
[88W8997] WLAN RF Test Hello, we want to perform the WIFI/BT regulatory compliance test for the 88W8997 module, which is assembled on the Toradex imx8mp SOM. We are following the instructions described here: https://www.nxp.com/docs/en/application-note/AN14114.pdf For building the driver we were following the UM11675 document, where it refers to https://github.com/nxp-imx/mwifiex (driver) and https://github.com/nxp-imx/imx-firmware (related firmware packages). I build and installed the driver and the firmware on my device and tried to get into the rf test mode. The mentioned driver offers me now the possibility to use the /proc/mwlan/adapter0 interface, where I tried to switch to test mode with the echo "rf_test_mode=1" > /proc/mwlan/adapter0/config" command.  Unfortunately, the driver prints Could not set RF test mode. Why is it not possible to switch directly to test mode?  After further investigation I figured out that if I change the drv_mode to 2 (drv_mode=2 > config), I am able to switch to test mode with "rf_test_mode=1" command. Is this correct? Shouldn't it be possible to get into the mode with the default drv_mode value (default: drv_mode=7)? However, I continued the documents where I entered the described commands: echo "tx_frame=0" > /proc/mwlan/adapter0/config echo "tx_antenna=2" > /proc/mwlan/adapter0/config echo "band=0" > /proc/mwlan/adapter0/config echo "bw=0" > /proc/mwlan/adapter0/config echo "channel=" + str(channel)) echo "tx_power=10 0 1" > /proc/mwlan/adapter0/config echo "tx_frame=1 0x3 0xB496DEB6 0x400 1 100 0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 -1 -1 {MAC_ADDRESS}" > /proc/mwlan/adapter0/config When I check the results on the spectrum analyzer, I cannot see any change there. Is there another possibility to check the test mode is working? Another strange thing is, that as MAC address it always shows 00:00:00:00:00, even though I am setting it with tx_frame.  hardware_status=0 netlink_num=31 drv_mode=2 hssetpara=7,0xff,200,400 sdcmd52rw=0 0x0 0x00 rf_test_mode=1 tx_antenna=1 rx_antenna=1 band=0 bw=0 channel= radio_mode[0]= radio_mode[1]= total rx pkt count=0 rx multicast/broadcast pkt count=0 rx fcs error pkt count=0 tx_power= tx_continuous=0 tx_frame=0 he_tb_tx=0 trigger_frame=0 otp_mac_add_rd_wr= 00:00:00:00:00:00 antcfg=0x3 0x3 Further notes: I read somewhere, that a mfg firmware must be used. When I add this firmware to /lib/firmware/nxp, modify the wifi_mod_para.conf file (Replaced the fw_name with the mfg firmware and added mfg_mode=1 to the SD8997 section) and reloaded the driver (rmmod moal.ko; insmod moal.ko mod_para=nxp/wifi_mod_para.conf. The driver prints that the firmware is already running. When I use echo "fw_reload=1" > /proc/mwlan/adapterX/config, the driver prints the download of FW failed. A reboot is then required. Can you help me out here? Thanks Re: [88W8997] WLAN RF Test @sportzfy we want to perform the WIFI/BT regulatory compliance test for the 88W8997 module, which is assembled on the Toradex imx8mp SOM. We are following the instructions described here: https://www.nxp.com/docs/en/application-note/AN14114.pdf For building the driver we were following the UM11675 document, where it refers to https://github.com/nxp-imx/mwifiex (driver) and https://github.com/nxp-imx/imx-firmware (related firmware packages). I build and installed the driver and the firmware on my device and tried to get into the rf test mode. The mentioned driver offers me now the possibility to use the /proc/mwlan/adapter0 interface, where I tried to switch to test mode with the echo "rf_test_mode=1" > /proc/mwlan/adapter0/config" command. Unfortunately, the driver prints Could not set RF test mode. Why is it not possible to switch directly to test mode? After further investigation I figured out that if I change the drv_mode to 2 (drv_mode=2 > config), I am able to switch to test mode with "rf_test_mode=1" command. Is this correct? Shouldn't it be possible to get into the mode with the default drv_mode value (default: drv_mode=7)? However, I continued the documents where I entered the described commands: echo "tx_frame=0" > /proc/mwlan/adapter0/config echo "tx_antenna=2" > /proc/mwlan/adapter0/config echo "band=0" > /proc/mwlan/adapter0/config echo "bw=0" > /proc/mwlan/adapter0/config echo "channel=" + str(channel)) echo "tx_power=10 0 1" > /proc/mwlan/adapter0/config echo "tx_frame=1 0x3 0xB496DEB6 0x400 1 100 0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 -1 -1 {MAC_ADDRESS}" > /proc/mwlan/adapter0/config When I check the results on the spectrum analyzer, I cannot see any change there. Is there another possibility to check the test mode is working? Another strange thing is, that as MAC address it always shows 00:00:00:00:00, even though I am setting it with tx_frame. hardware_status=0 netlink_num=31 drv_mode=2 hssetpara=7,0xff,200,400 sdcmd52rw=0 0x0 0x00 rf_test_mode=1 tx_antenna=1 rx_antenna=1 band=0 bw=0 channel= radio_mode[0]= radio_mode[1]= total rx pkt count=0 rx multicast/broadcast pkt count=0 rx fcs error pkt count=0 tx_power= tx_continuous=0 tx_frame=0 he_tb_tx=0 trigger_frame=0 otp_mac_add_rd_wr= 00:00:00:00:00:00 antcfg=0x3 0x3 Further notes: I read somewhere, that a mfg firmware must be used. When I add this firmware to /lib/firmware/nxp, modify the wifi_mod_para.conf file (Replaced the fw_name with the mfg firmware and added mfg_mode=1 to the SD8997 section) and reloaded the driver (rmmod moal.ko; insmod moal.ko mod_para=nxp/wifi_mod_para.conf. The driver prints that the firmware is already running. When I use echo "fw_reload=1" > /proc/mwlan/adapterX/config, the driver prints the download of FW failed. A reboot is then required. Can you help me out here? Have you tried checking whether the correct manufacturing firmware and mfg_mode=1 settings are enabled for the 88W8997? I’d also verify the supported drv_mode and RF test commands for your driver version. Re: [88W8997] WLAN RF Test Hello, We are using now the toradex wifi layer (https://github.com/toradex/meta-toradex-wifi/tree/kirkstone-6.x.y) and utilizes the integrated labtool utility. Additionally, we used the toradex reference image instead of our official one. With this setup it seems to work now. Thanks. Re: [88W8997] WLAN RF Test Hello @joschi2804  After further investigation I figured out that if I change the drv_mode to 2 (drv_mode=2 > config), I am able to switch to test mode with "rf_test_mode=1" command. Is this correct? Shouldn't it be possible to get into the mode with the default drv_mode value (default: drv_mode=7)? --> drv_mode = 1;3;7 is fine, just make sure mlan0 interface enable.  When I check the results on the spectrum analyzer, I cannot see any change there. Is there another possibility to check the test mode is working? --> Could you share output of "cat /proc/mwlan/adapter0/config" after tx_frame = 1? You should make sure all parameters are configured correctly. You may also share spectrum output to us as well. Also make sure spectrum configured well.  I read somewhere, that a mfg firmware must be used. When I add this firmware to /lib/firmware/nxp, modify the wifi_mod_para.conf file (Replaced the fw_name with the mfg firmware and added mfg_mode=1 to the SD8997 section) and reloaded the driver (rmmod moal.ko; insmod moal.ko mod_para=nxp/wifi_mod_para.conf. The driver prints that the firmware is already running. When I use echo "fw_reload=1" > /proc/mwlan/adapterX/config, the driver prints the download of FW failed. A reboot is then required. --> this is another way for rf test, please refer to UM11675 only. Re: [88W8997] WLAN RF Test Hello, I am using the latest branch of this repository.https://github.com/nxp-imx/imx-firmware/tree/lf-6.6.3_1.0.0/nxp/FwImage_8997_SD The wifi_mod_param.conf file refers to the sdiouart8997_combo_v4.bin firmware. Re: [88W8997] WLAN RF Test Hello @joschi2804  Could you share driver and firmware version?  Best Regards Shaun
View full article
iMX6ULL中的防篡改检测功能 我希望在 i.MX6ULL 处理器上启用主动防篡改检测功能,以便检测设备外壳何时被打开。 如图所示,硬件中增加了一个开关,并将其连接到外部防拆引脚。 您是否有关于如何在软件端支持篡改检测的示例或文档?是否有示例实现或示例函数来演示如何配置和处理此功能? Re: Tamper detection function in iMX6ULL 你好, i.MX 6ULL 的防篡改功能由一个熔丝控制,目前 NXP 已对该熔丝进行了配置,以禁用 i.MX6ULL 所有生产部件号的此功能。 一些面向客户的文档错误地指出 i.MX 6ULL 支持外部篡改。由于所有 i.MX 6ULL 部件号的熔丝都被编程为禁用此功能,因此即使防篡改引脚在当前文档中有记录,客户也无法使用防篡改功能。 文档将更新,以反映不支持篡改。 另请注意,衍生产品 i.MX 6ULZ 也不支持篡改功能。 特性 i.MX 6UL -3 i.MX 6ULL/6ULZ 备注 防篡改检测信号 是 不 仅在 i.MX 6UL 上启用主动防拆功能 电压/温度/频率检测(干冰) 是 不 i.MX 6ULL/ULZ 不支持干冰和主动防篡改功能 顺祝商祺!
View full article