Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
LPC55S28 VBAT_PMU 电流消耗 我有一块PCB板,原理图如下。我备有一颗纽扣电池,以防PCB主电源断开。据我了解,MCU 上的 VBAT_PMU(引脚 51)专用于Always‑On (PD_AON) 域。 当我测量电池的电流消耗时(没有主电源,只有电池供电),我得到大约 102uA 的电流。这远远高于 RTC 的预期功耗,即使移除 D12 也是如此。Vbat 仅连接到 VBAT_PMU 引脚,没有连接到其他任何引脚。 这里预期会出现什么情况?我预计 VBAT_PMU 只会消耗足够的电流,以确保在断电期间 RTC 能够保持时间。102uA 的电流会很快耗尽 CR1632 纽扣电池的电量。 如何给MCU供电,才能使电池只为RTC供电,并且在主电源断开时电流消耗小于1uA? Re: LPC55S28 VBAT_PMU Current Draw 嗨@guitardenver 在 LPC55S28 上,VBAT_PMU 是始终开启功能域的电源,该功能域包括 PMC、RTC 和 OS 事件定时器,只要存在有效的 VBAT 电源,该功能域就会保持通电状态。从该功能域来看,即使深度掉电,RTC 也能继续运行。 VBAT_PMU 本身并不能保证“仅 RTC 电流”。要获得亚微安级的备用电流,设备必须处于深度掉电模式。 因此,您测得的在主电源移除后的 ~102 µA 与仅 RTC 深度掉电运行不符。 对于 LPC55S2x/LPC552x,数据手册显示,在 25 °C 和 3.0 V 的深度睡眠模式下,典型总供电电流为 110 µA;而 RTC 振荡器禁用时的深度掉电电流为 590 nA;RTC 由外部晶体供电时的深度掉电电流为 790 nA。 要使 LPC55S28 上的纽扣电池电流小于 1 µA,只需从电池为 VBAT_PMU 供电,并在移除主电源之前使固件进入深度掉电状态。 BR 哈里 Re: LPC55S28 VBAT_PMU Current Draw 感谢你的回复! 我编写了一段代码,可以在发生低电压中断时触发深度掉电,效果很好。但这种方法存在一个巨大的问题。如果 ROM 引导加载程序正在执行,并且电源被移除,则不会设置掉电中断,也没有代码将其置于掉电状态。 有没有什么好办法可以保证我能进入深度关机模式?如果任何状态使MCU处于正常模式,电池就会耗尽。或许我遗漏了什么。如果不行,我可能就得在板子上加装一个外置实时时钟芯片了。 Re: LPC55S28 VBAT_PMU Current Draw 嗨@guitardenver 不——对于 LPC55S28,如果设备在主电源移除时可能正在执行 ROM 引导加载程序,则不能仅通过固件保证进入深度掉电状态。深度掉电是通过电源 API 以软件方式进入的模式。 BR 哈里
查看全文
如何在 SGMII 中为 M7 内核配置 PFE_MAC 您好,NXP, 我们希望在 PFE_MAC 和以太网交换机的端口之间建立 SGMII 链路。 请问是否有针对 M7 内核在 SGMII 中配置 PFE_MAC 的示例? 感谢您的帮助。 Re: How to configure PFE_MAC in SGMII for the M7 core 你好, @77373 感谢你的帖子。 是的,PFE MCAL 软件包中确实包含此功能,您可以查看其中包含的相应示例,这些示例可以通过您的 NXP 帐户访问和下载,或者通过以下链接应用: https://www.nxp.com/app-autopackagemgr/automotive-software-package-manager:AUTO-SW-PACKAGE-MANAGER BR 陈银
查看全文
IMX8MP secondary image boot Does IMG_CNTN_SET1_OFFSET secondary image boot (RM 6.1.6.2) work for ECSPI ("SPI") NOR boot on i.MX8MP, or only for FlexSPI NOR (and SD/eMMC)? Table 6-28 lists "SPI" and "FlexSPI NOR" as separate boot devices, and the secondary-offset valid values are stated only "for FlexSPI NOR boot." Re: IMX8MP secondary image boot Hello, Your understanding is wrong, the IMG_CNTN_SET1_OFFSET secondary image boot also work for SPI devices, only with a different offset: For FlexSPI = the valid values are: 0, 1, 2, 3, 4, 5, 6, and 7 For SPI = Secondary boot is disabled if fuse value is bigger than 10, n = fuse value bigger than 10. • n == 0: Offset = 4MB • n == 2: Offset = 1MB • Others & n <= 10 : Offset = 1MB*2^n Re: IMX8MP secondary image boot Thanks — that clears up the offset mapping. Two follow-ups so we can reproduce it on our i.MX8MP board (boot NOR on ECSPI2, OPEN / non-HAB config, fuse read 2 1 = 0 → n=0 → 4 MB): What triggers the ROM to switch to the secondary image on SPI NOR? Is it any invalid primary boot header / failed image parse, or specifically a HAB authentication failure? In other words, does secondary-image boot work in open (non-secured) configuration, or only when the device is HAB-closed? Does it fall back on the same reset, or does it require a power cycle / a second reset (persistent-boot style)? Must the secondary image at the 4 MB offset be a separately-built bootable image (its own IVT/boot data for that offset), or is a byte-identical copy of the primary sufficient?
查看全文
Difference in ADC noise between BCTU Control Mode and Trigger Mode Hello, I am working on an application using the [S32k322] where I use the eMIOS timer to trigger the BCTU every 100 µs to read analog data. I am observing a strange behavior between the two BCTU modes: Control Mode: When the ADC CTU mode is set to Control Mode, the ADC conversions are completely stable. The data read via FreeMASTER is clean and free of noise or glitches. Trigger Mode: When I switch the ADC CTU mode to Trigger Mode (keeping the 100 µs eMIOS trigger identical), the sampled analog data becomes noisy and exhibits noticeable glitches in FreeMASTER. Are there specific architectural configurations, timing constraints, or register settings (such as trigger delays, FIFO configurations, or clock synchronization) required for Trigger Mode to prevent this noise? Thank you for your help. Output with ADC ctu mode : Trigger Mode output with ADC ctu mode : Control Mode Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode Hi@Stark_ could you please share the test project and i will test it on myside. Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode Hi @Senlent ,    Thanks for the response. My ADC clock is 160MHz, and I've attached my ADC configuration and register values below. Clock ADC Configuration Output with ADC ctu mode : Trigger Mode output with ADC ctu mode : Control Mode Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode Hi@Stark_ Based on the configuration screenshot you provided, there are some configuration issues, specifically the division ratios for the module clock and calibration clock. The ADC clock configuration must strictly follow the table below. please change it and test  again, Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode Hi @Senlent  I have attached test code. is it possible to work on BCTU and normal conversion for the some selected channels (ADC_Instance0 and ADC_Instance1)? Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode Hi @Senlent  " yes, it is possible to work on BCTU and normal conversion." is there any example code for reference? " Also, your program still doesn't modify the ADC module clock and calibration clock divider. Below are my test results; I connected the port externally to GND. You can see there isn't a significant difference. " could you please share the modified test project and i will test it on myside. Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode Hi@Stark_ I don't have a demo like that; the attached file is a modified project. Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode Hi@Stark_ yes, it is possible to work on BCTU and normal conversion. I tested the program you provided and made some modifications. Your external clock is 25MHz, while mine is 16MHz. Also, your program still doesn't modify the ADC module clock and calibration clock divider. Below are my test results; I connected the port externally to VDD(my typing error). You can see there isn't a significant difference. Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode Hi @Senlent  Thank you for attaching the modified project. I have tested it, but it is currently not working for normal ADC conversions in my setup. However, my actual application requires a system clock of 25 MHz. The only change I made to your project was updating this clock frequency from 16 MHz to 25 MHz. After changing the clock to 25 MHz, and setting the Adc CTU mode in control Mode the Normal conversions is not working , while the BCTU conversions continue to function. when the Adc CTU mode is in Trigger mode, Normal conversions  and the BCTU conversions continue to function. Is the project you attached designed to support both BCTU Trigger Mode and Normal conversions simultaneously at 25 MHz? If so, what additional clock dividers, prescalers, or sampling time configurations do I need to adjust to make it work at this higher frequency? Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode Hi@Stark_ I've already show you of my test results, and you should have noticed that the fluctuations in my sampling results are perfectly normal. My suggestion is that you could try increasing the sampling time, as I previously suggested. Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode Hi @Senlent  I configured the ADC to use Trigger mode since conversions need to be driven by both the BCTU and Normal modes. However, when using Trigger mode, I noticed noise on the ADC data measured via the BCTU as mention previously. Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode Hi@Stark_ if your ADC conversions are driven through BCTU , use BCTU Control mode . If you want the ADC to accept normal/injected conversions or other trigger paths, use Trigger mode . BCTU Control mode locks ADC start control to BCTU only; Trigger mode leaves the ADC open to normal/injected and other supported conversion triggers. So your test results are in line with expectations.
查看全文
LPC55S28 VBAT_PMU 消費電流 下記の回路図が描かれたプリント基板があります。基板の主電源が切断された場合に備えて、バックアップ用のコイン型電池を用意しています。私の理解では、MCUのVBAT_PMU(ピン51)は常時オン(PD_AON)ドメイン。 メイン電源を使わずにバッテリーだけを使った状態でバッテリーの電流消費量を測ると、約102uAになります。これはRTCが消費する量をはるかに超える。D12が削除された場合のイベントです。VBATはVBAT_PMUピンにのみ接続されており、それ以外は接続されません。 ここで期待される動作は何ですか?VBAT_PMUは、電源が切れている間、RTCが時刻を維持するために必要なだけの電流しか消費しないはずだと私は考えています。102μAの電流では、CR1632型コイン電池はかなり早く消耗してしまうだろう。 MCUに電力を供給するにはどうすればいいですか?バッテリーはRTCだけに電力を供給し、メイン電源を外したときに1uA未満の電力を消費します。 Re: LPC55S28 VBAT_PMU Current Draw こんにちは、 @guitardenver LPC55S28では、VBAT_PMU常時オンドメインの電源であり、PMC、RTC、OSイベントタイマーを含む。有効なVBAT電源が存在する限り、そのドメインは電源を維持します。RTCはそのドメインから深いダウン状態で動作を続けられます。 VBAT_PMU単体では「RTC専用電流」を保証するものではありません。サブマイクロアンペアのバックアップ電流を得るには、デバイスをディープパワーダウンモードにする必要があります。 したがって、主電源を抜いた状態で測定された約102μAは、RTCのみの深切断動作とは一致しません。 LPC55S2x/LPC552xのデータシートによると、25℃、3.0Vでのディープスリープモード時の標準的な総供給電流は110μAですが、RTC発振器を無効にした状態でのディープパワーダウン時は590nA、外部水晶発振器でRTCを動作させた状態では790nAとなっています。 LPC55S28のコイン型電池から1µA未満の電流を得るには、バッテリーからVBAT_PMUのみに電力を供給し、主電源が切断される前にファームウェアがディープパワーダウン状態に入るようにします。 BR ハリー Re: LPC55S28 VBAT_PMU Current Draw お返事ありがとうございます! 電圧低下割り込みでディープパワーダウンをトリガーするコードがあり、これはうまく機能しています。しかし、この方法には大きな問題があります。ROMブートローダーが実行中に電源が切断された場合、ブラウンアウト割り込みは設定されておらず、電源を切断するためのコードも含まれていません。 ディープパワーダウンモードに入ることを確実にする方法はありますか?もしMCUがノーマルモードに残る状態が現れると、バッテリーが消耗します。何か見落としていることがあるのかもしれない。そうでない場合は、基板上に外部RTCチップを取り付ける必要があるかもしれません。 Re: LPC55S28 VBAT_PMU Current Draw こんにちは、 @guitardenver いいえ — LPC55S28では、メイン電源が外れたときにデバイスがROMブートローダーを実行している可能性がある場合、ファームウェアだけでDeep Power-downに入ることを保証できません。ディープ・ダウンは、パワーAPIを通じてソフトウェアで入力されるモードです。 BR ハリー
查看全文
使用 S32K3X8EVB-Q289 板载调试器对自定义 S32K358 目标进行编程 我目前正在使用 S32K3X8EVB-Q289 评估板,并基于 S32K358 MCU 开发了定制硬件设计。 请问您能否澄清一下: 官方是否支持使用 EVB 板载调试器对外部 S32K358 目标进行编程/调试? 如果支持,EVB 需要进行哪些跳线设置或硬件修改? 为此应该使用哪个调试连接器? 与使用 S32 调试探针相比,有哪些局限性? 是否有相关文档或应用笔记描述此配置? 感谢您的支持。 问候, 亚什·古普塔 Re: Using S32K3X8EVB-Q289 On-Board Debugger to Program a Custom S32K358 Target 你好@Yash2530 , 1. 是的,支持使用 S32K3X8EVB-Q289 板载调试器对外部 S32K358 目标进行编程/调试。实际上,EVB 板载 OpenSDA 调试器使用的是 P&E Micro 开发的引导加载程序/调试应用程序 - https://community.nxp.com/t5/S32-Design-Studio/Which-debugging-interface-is-better/mp/1715877 2. 对于此使用情况,EVB 上不需要焊接返工或跳线设置。 3. J55 USB 主机连接器。 4. 实际上,对于外部 S32K358 目标的标准烧录和源代码级调试,EVB 的板载调试器应该足够了。由于我不知道您最看重哪些功能,请您自行比较各项功能: https://www.nxp.com/design/design-center/software/automotive-software-and-tools/s32-design-studio-ide/s32-debugger-for-s32-platform:S32DBG-S32PLATFORM https://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320180&productTab=5045 5. 是的, https://www.nxp.com/webapp/Download? colCode=S32K3X8EVB-Q289HWUM 顺祝商祺! 帕维尔
查看全文
Temperature condition for IMX95LPD5EVK measurements Hi, Going through the AN14449 document, I cannot find the temperature condition for the measurements? Was the heat-sink mounted? Was the fan mounted and running? What ambient temperature was used? Re: Temperature condition for IMX95LPD5EVK measurements Hello,  The board was tested as it is. The Note: In the used BCU software tool, measurements are performed using the on-board measurement circuitry and these measurements are taken at room temperature without thermal forcing equipment. Only means it was tested on ambient temperature, it wasn't tested in a chamber room but the board keeps the heatsink and fan. 
查看全文
IMX8MPセカンダリイメージブート IMG_CNTN_SET1_OFFSETセカンダリイメージブート(RM 6.1.6.2)は、i.MX8MP上のECSPI("SPI") NORブートで動作しますか、それともFlexSPI NOR(およびSD/eMMC)のみで動作しますか?表6-28では、「SPI」と「FlexSPI NOR」が別々のブートデバイスとして記載されており、セカンダリオフセットの有効値は「FlexSPI NORブートの場合」にのみ記載されています。 Re: IMX8MP secondary image boot こんにちは、 あなたの理解は間違っています。IMG_CNTN_SET1_OFFSETセカンダリイメージブートはSPIデバイスでも動作しますが、オフセットが異なります。 FlexSPI の有効な値は、0、1、2、3、4、5、6、および 7 です。 SPI の場合、ヒューズ値が 10 より大きい場合、セカンダリ ブートは無効になります。n = ヒューズ値が より大きい場合 10. • n == 0: オフセット = 4MB • n == 2: オフセット = 1MB • その他 & n <= 10 : オフセット = 1MB*2^n Re: IMX8MP secondary image boot ありがとうございます。これでオフセットマッピングの問題が解決しました。i.MX8MPボード上で再現するために2つのフォローアップです(ECSPI2でNOR起動、OPEN/非HAB設定、ヒューズ読み取り2 1 = 0 → n=0 → 4MB): ROMがSPI NORのセカンダリイメージに切り替わるトリガーは何ですか?これは無効なプライマリブートヘッダーやイメージ解析失敗、それとも特定のHAB認証失敗なのでしょうか?つまり、セカンダリイメージブートはオープン(非セキュア)構成でも機能するのか、それともデバイスがHABで閉じられている場合にのみ機能するのか? 同じリセット手順にフォールバックするのか、それとも電源のオンオフ/2回目のリセット(永続起動方式)が必要になるのか? 4MBオフセットにあるセカンダリイメージは、別途構築されたブート可能なイメージ(そのオフセット用の独自のIVT/ブートデータ)である必要がありますか、それともプライマリイメージとバイト単位で同一のコピーで十分ですか?
查看全文
IMX95LPD5EVK测量的温度条件 您好, 查阅AN14449文档后,我找不到测量所需的温度条件?散热器安装好了吗?风扇安装好了吗?运转正常吗?环境温度是多少? Re: Temperature condition for IMX95LPD5EVK measurements 你好, 板按原样进行了测试。 注:在所使用的BCU软件工具中,测量是使用板载测量电路进行的。 这些测量是在室温下进行的,没有使用任何热力设备。这只是意味着它在环境温度下进行了测试,而不是在恒温箱中进行了测试,但电路板保留了散热片和风扇。
查看全文
DESFire EV3トランザクションMAC入力(TMI)の構築 — TapLinxによるバックエンド検証 こんにちは、 バックエンドでDESFire EV3トランザクションMAC(TMV/TMC)の値を検証しています。カード TapLinx(CommitTransaction)を介してトランザクションMACを生成します。取引は手に入れた MACキー、カードUID、TMC(事前・事後)、そして返却されたTMV、そして 公開参照からEV2セッションキー導出を実装しましたが、私はできません。 正確なトランザクションMAC入力(TMI)バイトを持っていないため、TMVを再現しています EV3の建設。 以下の点で助けていただけませんか: 1.DESFire EV3 の正確な TMI 蓄積 (どのコマンド バイト/フィールドが (注文内容、梱包材を含む)。 2. 同じトランザクションでコミットされたバックアップデータファイルの書き込みが対象となるかどうか TMIによる。 3. 既知のキーを持つトランザクションMAC参照ベクトルが利用可能かどうか 実装を検証するために、(キー + TMI + TMC + TMV)を使用します。 4. これがNDAのみの場合、小規模会社としてDS4870 / AN12757を取得する正しい方法。 ご回答をお待ちしています。 Re: DESFire EV3 Transaction MAC Input (TMI) construction — backend verification with TapLinx お世話になります。 私たちの製品にご関心を持っていただき、本当にありがとうございます。 残念ながら、MIFARE DESFire EV3のセキュア ドキュメントにアクセスするにはNDAへの署名が必要です。よくある質問(FAQ)をご確認の上、秘密保持契約書(NDA)にご記入ください。当サイトから新しいチケットを作成する必要があります。 この情報がお役に立てば幸いです。
查看全文
KW47 NBU 编程和升级 您好: 我想了解如何对KW47 NBU进行编程和升级。希望步骤能更详细一些。 谢谢! Re: KW47 NBU programming and upgrade 您好: 非常感谢您的支持。我现在可以通过您提供的方法更新nbu固件。 我发现您提供的方法似乎没有包含通过固件更新NBU的方法?例如,如果我的设备已经上市,需要更新NBU版本,我应该如何操作? 谢谢! Re: KW47 NBU programming and upgrade 你好,希望你一切都好。 您可以参考AN14796 从 KW45 迁移到 KW47 的指南,第 6.2 节“在 KW47 中加载 NBU 固件”。 本文档将介绍几种更新 KW47 的 NBU 的方法(以 KW47-EVK 为例演示),包括 blhost、安全配置工具和 LinkServer,您可以选择最适合您开发的方法。每种方法的详细步骤也包含在内。 希望这能帮到你!如果您还有其他问题,请告诉我。 此致, 安娜·索菲亚。 Re: KW47 NBU programming and upgrade 你好, ROM引导加载程序具有固件更新功能,可用于更新主闪存以及无线电闪存固件。 对于现场 NBU 更新,工作流程通常遵循以下顺序:应用程序存储更新映像并将相应的元数据写入用户 IFR0 OTACFG 区域,然后触发系统重置,以便 ROM 引导加载程序可以接管并执行无线电固件更新。 更多信息请参阅KW47 安全参考手册第 4.2.6 节“固件更新功能”和第 4.2.2.3 节“空中 (OTA) 更新配置”。 此致, 安娜·索菲亚。
查看全文
License of S32DS for ARM 2018R1 IDE has expired My license of S32DS for ARM 2018R1 IDE has expired. Could you help check and extend it? I checked the Software licensing but this version I can not extend myself (I can the ARM2.2). Thank you in advance. Activation | Installation | Licensing | Installer Download Re: License of S32DS for ARM 2018R1 IDE has expired Ahoj Matúši,   your S32DS license has been extended. Please activate S32DS again with your old code. 
查看全文
How to configure PFE_MAC in SGMII for the M7 core Hello NXP, We would like to establish an SGMII link between PFE_MAC and Port of the Ethernet switch. Do you have examples to configure PFE_MAC in SGMII for the M7 core? Thank you for your help. Re: How to configure PFE_MAC in SGMII for the M7 core Hello, @77373  Thanks for your post. Yes, it does exist in the PFE MCAL package, you may check the corresponding examples included, which could be accessed and downloaded it from your NXP account or applying it via the following link: https://www.nxp.com/app-autopackagemgr/automotive-software-package-manager:AUTO-SW-PACKAGE-MANAGER BR Chenyin
查看全文
What AES modes are supported out-of-the-box by ssscli for SE051? Hello, I am currently evaluating the SE051 using the ssscli tool from the Plug & Trust Middleware. My goal is to perform AES encryption and decryption operations using modes such as CBC, ECB, and ideally AEAD modes like GCM or CCM. While looking at the provided Python source code for ssscli, I noticed the following: In const.py, the CRYPT_ALGO dictionary only defines AES_CTR. In cli.py, the help text for the encrypt and decrypt commands only mentions --algo oaep and --algo rsaes. Since I am planning to use this in a commercial product, I would like to avoid modifying the NXP-provided source code (such as const.py or cli.py). Could you please clarify the following points? Out-of-the-box Support: Without modifying any source code, what AES modes are available by the ssscli encrypt/decrypt commands in the current release (04.07.01)? Is it limited to AES_CTR? Alternative Approach: If I need to use other modes like CBC or GCM without modifying the Python CLI scripts, is the recommended approach to develop a custom application using the C-API? Or is there another pre-built NXP tool/binary available for evaluating these specific AES modes? Environment: Board: MCIMX8M-WEVK and OM-SE051ARD SoC: i.MX 8M Linux version: 6.1.151-cip46 Plug & Trust MW version: 04.07.01 Any guidance would be highly appreciated. Re: What AES modes are supported out-of-the-box by ssscli for SE051? Hi @Uc_S , Yes, the out of box support by ssscli on AES is just limited to AES_CTR, if you don't want to modify the python code, you have to develop a custom application in C, such as the examples provided within the MW, for example, the demo of ex_sss_symmetric.  Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: What AES modes are supported out-of-the-box by ssscli for SE051? Thank you for the clear response. I completely understand. It is very helpful to know that AES_CTR is the only out-of-the-box supported mode for ssscli. Based on your advice, we will consider developing a custom C application using the provided examples to implement the other AES modes.
查看全文
SSSCLIがSE051で標準サポートしているAESモードは何ですか? こんにちは、 現在、Plug & Trust Middlewareのssscliツールを使用してSE051の評価を行っています。 私の目標は、CBC、ECBなどのモード、理想的にはGCMやCCMのようなAEADモードを使ってAES暗号および復号化を行うことです。 ssscli の Python ソースコードを調べていたところ、以下の点に気づきました。 const.pyでは、CRYPT_ALGO辞書はAES_CTRのみを定義しています。 cli.py では、encrypt コマンドと decrypt コマンドのヘルプ テキストには --algo oaep と --algo rsaes しか記載されていません。 商用製品で使う予定なので、NXPが提供するソースコード(const.py や cli.py など)を改変するのは避けたいです。 以下の点について説明していただけますか? 標準サポート: ソースコードを改変せずに、現在のリリース(04.07.01)でSSSCLIの暗号化/復号コマンドで利用可能なAESモードは何ですか? AES_CTRに限定されるのでしょうか? 代替アプローチ: PythonのCLIスクリプトを改変せずにCBCやGCMのような他のモードを使う必要がある場合、C-APIを使ってカスタムアプリケーションを開発するのが推奨されるのでしょうか? それとも、これらの特定のAESモードを評価するための他の既成のNXPツールやバイナリはありますか? 環境: ボード: MCIMX8M-WEVKとOM-SE051ARD SoC: i.MX 8M Linux版: 6.1.151-CIP46 Plug & Trust MW バージョン: 2001年4月7日 何かご助言いただければ大変ありがたいです。 Re: What AES modes are supported out-of-the-box by ssscli for SE051? こんにちは、 @Uc_S さん。 はい、SSSCLIによるAESのすぐに使えるサポートはAES_CTR単に限られています。Pythonコードを修正したくない場合は、MWに示されている例のようにCでカスタムアプリケーションを開発する必要があります。例えばex_sss_symmetricのデモなどです。 すてきな一日を、 カン ------------------------------------------------------------------------------- 注記: この投稿があなたの質問への回答になっている場合は、「正解としてマーク」ボタンをクリックしてください。ありがとうございます! - 前回の投稿から7週間Threadをフォローしており、その後の返信は無視しています もし後で関連する質問があれば、新しいThreadを開き、閉じたThreadを参照してください。 ------------------------------------------------------------------------------- Re: What AES modes are supported out-of-the-box by ssscli for SE051? 明確なご回答をありがとうございました。 よく分かります。ssscliで標準でサポートされているモードはAES_CTRのみであることを知っておくと非常に役立ちます。 ご助言をもとに、提供された例を用いて他のAESモードを実装するためのカスタムCアプリケーションの開発を検討します。
查看全文
Linuxカーネル6.1.85用のIW416 Wi-Fi/BTドライバーのソースコードおよびビルドガイドの要請 こんにちは、NXPコミュニティの皆さん、 現在、 NXP IW416(8997ベース) Wi-Fi/BluetoothモジュールをカスタムSBCに統合する作業を進めています。私のシステムは Linuxカーネル6.1.85を搭載したYoctoベースのディストリビューションを使っています。 Wi-FiとBluetoothのドライバーを独立したカーネルモジュールとして構築したいのですが、正しくて最も安定したソースを使っているか確認したいです。 以下の点について教えていただけませんか? ドライバーソースコード: カーネル6.1.85では、どのリポジトリとブランチ(またはコミット)を使うべきでしょうか? 組み立て手順: これらのドライバーや必要なファームウェアを正しく構築・統合する方法についての公式ドキュメントやアプリケーションノート、ガイドはありますか? 何かご助言や適切な情報源を教えていただければ大変ありがたいです。 お手数ですが、よろしくお願いいたします。   Re: Request for IW416 Wi-Fi/BT driver source code and build guide for Linux Kernel 6.1.85 私の環境設定は以下のとおりです。 $ ls -al /lib/firmware/nxp/ drwxr-xr-x 2 root root 4096 2月 28 02:44 ./ drwxr-xr-x 3 root root 4096 2月 28 2024 ../ -rw-r--r-- 1 root root 415996 2月 28 2024 sdioiw416_wlan_v0.bin -rw-r--r-- 1 root root 570976 2月 28 2024 sdiouartiw416_combo_v0.bin -rw-r--r-- 1 root root 154920 2月 28 2024 uartiw416_bt_v0.bin -rw-r--r-- 1 root root 58 2月 28 02:28 wifi_mod_para.conf   $ cat /lib/firmware/nxp/wifi_mod_para.conf fw_name= "nxp/sdiouartiw416_combo_v0.bin" cal_data_cfg=なし   $ lsmod モジュールサイズ使用 モアル 745472 0 mlan 585728 1 moal   DMESGログの関連部分は提供できます。どのキーワードやパーツにgrepをすべきか教えてもらえますか?また、正常に動作した場合の期待される結果/出力についても知りたいです。   よろしくお願いします。 +起動時には、以下のようにMLANドライバからのログがあります。 [ 1.312336] wlan: MWLANドライバの読み込み中 [ 1.316381] wlan: バスドライバへの登録... [ 1.321331] wlan: バスドライバへの登録完了 [ 1.326355] wlan: ドライバのロードが正常に完了   Re: Request for IW416 Wi-Fi/BT driver source code and build guide for Linux Kernel 6.1.85 こんにちは、 @sunam ファームウェアは /lib/firmware/nxp/ に配置する必要があります。 Wi-FiとBluetoothのコンボファームウェアを使用している場合は、以下のように設定してください。 root@imx8mnevk: /lib/firmware/nxp # ls -l sduartiw416_combo.bin -rw-r--r-- 1 root root 406996 2011年4月5日sduartiw416_combo.bin 入力した後は、/lib/firmware/nxp/wifi_mod_para.confのWi-Fiドライバーの読み込みパラメータを再度確認し、ファームウェア名が一致しているか再度確認してください。 それでも起動しない場合は、デバイスの起動時に取得したdmesgログを提供してください。 よろしくお願いいたします。 Christine。 Re: Request for IW416 Wi-Fi/BT driver source code and build guide for Linux Kernel 6.1.85 こんにちは、 私は現在、IW416チップを使用しています。6.1.55-2.2.2ブランチを使ってドライバを無事に構築でき、ドライバが正しく生成されていることも確認しました。 しかし、どうやら動作していないようで、最新のファームウェアがインストールされていないことが原因ではないかと疑っています。ファームウェアファイルをどのディレクトリに入れるべきか教えていただけますか? よろしくお願いします。 Re: Request for IW416 Wi-Fi/BT driver source code and build guide for Linux Kernel 6.1.85 こんにちは、 @sunam 1. ご使用のチップセットがIW416か88W8997のどちらであるかを再度ご確認ください。これらは異なるチップセットです。 IW416の場合、 最新のファームウェアをダウンロードするには: imx-firmware/FwImage_IW416_SD (lf-6.18.20_2.0.0) · nxp-imx/imx-firmware · GitHub 最新のドライバーをダウンロードするには: GitHub - nxp-imx/mwifiex at lf-6.18.20_2.0.0 · GitHub また、ドライバーのソースコードはLinuxカーネルバージョン 2.6.32から6.19.0まで運行しているホストとも互換性があるので、あなたのL6.1.85には問題ありません。 2. ビルド手順: これらのドライバや必要なファームウェアを正しく構築・統合する方法についての公式ドキュメント、アプリケーションノート、ガイドはありますか? ==> 参照先: NXP Wi-Fiドライバーのダウンロードと構築方法 また、以下のドキュメントもあなたにとって役立つと思います。 Linux OSを実行する8M Quad EVK上でNXPベースのワイヤレスモジュール i.MX 始める 他に何かご心配な点がございましたら、お知らせください。 もし違うなら、私の回答を解決策としてマークして、閉じるのを手伝ってください。 当社の製品使用中に問題が発生した場合は、新たなCASEの作成を歓迎します。 よろしくお願いいたします。 Christine。 Re: Request for IW416 Wi-Fi/BT driver source code and build guide for Linux Kernel 6.1.85 こんにちは、 @sunam 通常は以下のようなdmesgログが出力されるはずです。 ========= root@imx8mnevk:~# dmesg |グレップ・ウラン [ 5.127546] wlan: MWLANドライバーの読み込み [ 5.141006] WLAN: バス運転手への登録... [ 5.213728] wlan: TX SGモードを有効にする [ 5.217262] WLAN: mpa_tx.BUF_Size=65280 [ 5.221136] wlan: RX SG モードを有効にする [ 5.224679] wlan: mpa_rx.buf_size=65280 [ 6.505940] wlan: RX SG モードを有効にする [ 6.585864] wlan: version = SD8987----16.92.21.p155.1-MM6X16540.p33-GPL-(FP92)//これは、当社の88W8987の例です。 [ 6.624373] wlan: バス運転手への登録完了 [ 6.637582] wlan: ドライバのロードが正常に完了 ======== wifi_mod_para.confを以下のように変更できます: ====== SDIW416 = { fw_name=nxp/sdiouartiw416_combo_v0.bin cal_data_cfg=なし cfg80211_wext=0xf max_sta_bss=1 drv_mode=7 } ======= それでも解決しない場合は、デバイスの起動時に取得したdmesgログをすべて提供してください。 DMESGログは添付ファイルとしてアップロードできます。 よろしくお願いいたします。 Christine。
查看全文
Using S32K3X8EVB-Q289 On-Board Debugger to Program a Custom S32K358 Target I am currently using the S32K3X8EVB-Q289 evaluation board and have developed a custom hardware design based on the S32K358 MCU. Could you please clarify: Is programming/debugging an external S32K358 target using the EVB's on-board debugger officially supported? If supported, what jumper settings or hardware modifications are required on the EVB? Which debug connector should be used for this purpose? Are there any limitations compared to using an S32 Debug Probe ? Is there any documentation or application note describing this configuration? Thank you for your support. Regards, Yash Gupta Re: Using S32K3X8EVB-Q289 On-Board Debugger to Program a Custom S32K358 Target Hello @Yash2530 , 1. Yes, using the S32K3X8EVB-Q289 on-board debugger to program/debug an external S32K358 target is supported. Actually, the EVB’s on-board OpenSDA debugger uses a P&E Micro-developed bootloader/debug application - https://community.nxp.com/t5/S32-Design-Studio/Which-debugging-interface-is-better/m-p/1715877 2. No soldering rework or jumper setting is required on the EVB for this use case. 3. J55 USB host connector. 4. In practice, for standard flashing and source-level debug of an external S32K358 target, the EVB’s on-board debugger should be sufficient. Since I don't know what feature is important to you, please compare features by yourself: https://www.nxp.com/design/design-center/software/automotive-software-and-tools/s32-design-studio-ide/s32-debugger-for-s32-platform:S32DBG-S32PLATFORM https://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320180&productTab=5045 5. Yes, https://www.nxp.com/webapp/Download?colCode=S32K3X8EVB-Q289HWUM Best regards, Pavel
查看全文
DESFire EV3 Transaction MAC Input (TMI) construction — backend verification with TapLinx Hi, I'm verifying DESFire EV3 Transaction MAC (TMV/TMC) values on a backend. The card produces the Transaction MAC via TapLinx (CommitTransaction). I have the Transaction MAC key, the card UID, the TMC (pre and post), and the returned TMV, and I've implemented the EV2 session-key derivation from public references — but I cannot reproduce the TMV because I do not have the exact Transaction MAC Input (TMI) byte construction for EV3. Could you please help with: 1. The exact TMI accumulation for DESFire EV3 (which command bytes/fields are included, their order, and padding). 2. Whether Backup Data File writes committed in the same transaction are covered by the TMI. 3. Whether a known-key Transaction MAC reference vector is available (key + TMI + TMC + TMV) to validate an implementation. 4. If this is NDA-only, the correct way to obtain DS4870 / AN12757 as a small company. Thank you! Re: DESFire EV3 Transaction MAC Input (TMI) construction — backend verification with TapLinx Hello sir, Thank you so much for your interest in our products. Unfortunately, it is required to sign an NDA to gain access to the Secured Documentation of MIFARE DESFire EV3. Please check our FAQ and fill out the NDA Form. You will need to create a new ticket from our site. I hope this information may be helpful.
查看全文
IMX95LPD5EVK測定時の温度条件 こんにちは、 AN14449ドキュメントを確認しても、測定値の温度条件が見つかりません。ヒートシンクは取り付けられていましたか?ファンは取り付けられていて、作動していましたか?使用された周囲温度は何度でしたか? Re: Temperature condition for IMX95LPD5EVK measurements こんにちは、 基板は現状のままテストされました。 注記: 使用されているBCUソフトウェアツールでは、測定は搭載の測定回路を使用して行われます これらの測定は熱強制装置を使わず、室温で行われます。これは、周囲温度でテストされたという意味であり、試験室ではテストされていませんが、ボードにはヒートシンクとファンが残っています。
查看全文
BCTU 控制模式和触发模式下 ADC 噪声的差异 你好, 我正在开发一个使用[S32k322]的应用程序,其中我使用eMIOS 定时器每 100 µs 触发一次BCTU来读取模拟数据。 我发现两种 BCTU 模式之间存在一种奇怪的现象: 控制模式:当 ADC CTU 模式设置为控制模式时,ADC 转换完全稳定。通过 FreeMASTER 读取的数据干净,没有噪声或故障。 触发模式:当我将 ADC CTU 模式切换到触发模式(保持 100 µs eMIOS 触发不变)时,采样模拟数据变得嘈杂,并在 FreeMASTER 中出现明显的毛刺。 触发模式是否需要特定的架构配置、时序约束或寄存器设置(例如触发延迟、FIFO 配置或时钟同步)来防止出现这种噪声? 感谢您的帮助。 ADC CTU 模式输出:触发模式 ADC CTU 模式输出:控制模式 Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode 嗨@Stark_ 请您分享一下测试项目,我这边会进行测试。 Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode 嗨@Senlent , 谢谢你的回复。我的ADC时钟频率为160MHz,我的ADC配置和寄存器值附在下面。 钟 ADC配置 ADC CTU 模式输出:触发模式 ADC CTU 模式输出:控制模式 Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode 嗨@Stark_ 根据您提供的配置截图,存在一些配置问题,特别是模块时钟和校准时钟的分频比。 ADC时钟配置必须严格按照下表执行。 请修改后再测试一次。 Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode 嗨@Senlent 我已附上测试代码。 是否可以对某些选定的通道(ADC_Instance0 和 ADC_Instance1)进行 BCTU 和正常转换? Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode 嗨@Senlent “是的,可以进行BCTU和常规转换。” 是否有可供参考的示例代码? 此外,您的程序仍然没有修改ADC模块时钟和校准时钟分频器。 以下是我的测试结果; 我把端口外部连接到了地线(GND)。你可以看到,效果并没有明显不同。“ 请您分享一下修改后的测试项目,我这边会进行测试。 Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode 嗨@Stark_ 是的,可以进行 BCTU 和常规转换。 我测试了您提供的程序并做了一些修改。你的外部时钟频率是 25MHz,而我的外部时钟频率是 16MHz。 此外,您的程序仍然没有修改ADC模块时钟和校准时钟分频器。 以下是我的测试结果; 我将端口外部连接到了VDD(我的打字错误) 。你可以看出两者之间没有显著差异。 Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode 嗨@Stark_ 我没有那样的演示;附件是一个修改后的项目。 Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode 嗨@Senlent 感谢您附上修改后的项目文件。我已经测试过了,但目前在我的设置中,它对正常的ADC转换不起作用。 但是,我的实际应用需要25 MHz的系统时钟。我对你的项目所做的唯一更改就是将时钟频率从 16 MHz 更新到 25 MHz。 将时钟频率改为 25 MHz 后,将 ADC CTU 模式设置为控制模式,正常转换不起作用,而 BCTU 转换继续工作。 当 ADC CTU 模式处于触发信号模式时,正常转换和BCTU 转换继续运行。 您提供的这个项目是否旨在同时支持25 MHz 的BCTU 触发信号模式和正常转换?如果是这样,我还需要调整哪些额外的时钟分频器、预分频器或采样时间配置才能使其在更高的频率下工作? Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode 嗨@Senlent 我将 ADC 配置为使用触发模式,因为转换需要由 BCTU 模式和正常模式共同驱动。但是,在使用触发模式时,我注意到通过 BCTU 测量的 ADC 数据中存在噪声,正如之前提到的那样。 Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode 嗨@Stark_ 如果您的 ADC 转换是通过 BCTU 驱动的,请使用 BCTU 控制模式。 如果您希望 ADC 接受正常/注入转换或其他触发信号,请使用触发模式。 BCTU 控制模式将 ADC 启动控制锁定为仅 BCTU;触发模式使 ADC 对正常/注入和其他支持的转换触发信号开放。 所以你的测试结果符合预期。 Re: Difference in ADC noise between BCTU Control Mode and Trigger Mode 嗨@Stark_ 我已经向你展示了我的测试结果,你应该已经注意到,我的采样结果的波动是完全正常的。 我的建议是,您可以尝试增加采样时间,就像我之前建议的那样。
查看全文