Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
i.MX RT1176 – FlexIO2 parallel receive: maximum achievable shift clock? Only ~48 MSPS reached iMXR1176 SDK 25.09.00 Manifest 3.15.0 Goal I am acquiring data from an LTC2164 16-bit ADC on an i.MX RT1176. The data path is: LTC2164 (full-rate CMOS output) → FlexIO2 (parallel RX) → eDMA → external SDRAM Hardware setup LTC2164 configured in full-rate CMOS output mode, clocked by an external 100 MHz oscillator (so 100 MSPS, 16-bit parallel). ADC data outputs D0–D15 connected to GPIO_AD_00 … GPIO_AD_15. ADC CLKOUT+ connected to GPIO_AD_30, used as the FlexIO timer clock (external pin clock source). Software setup FlexIO2 configured as a parallel receiver, data latched into shifter 7; shifters 7->0 are chained so that 32 bytes are buffered before the DMA request is asserted. eDMA triggered by kDmaRequestMuxFlexIO2Request0Request1, using two TCDs in ping-pong (scatter/gather) mode. An interrupt is raised on each major loop completion, i.e. every 16384 samples. FlexIO2 functional clock: 120 MHz. Bus clock (eDMA / SEMC side): 240 MHz. Problem At 100 MSPS, 16384 samples should take 163.84 µs. Measuring the time between two consecutive DMA interrupts (GPIO toggle + scope), I consistently get 338 µs, i.e. a factor of ~2.06. This corresponds to an effective sustained rate of about 48 MSPS, which suggests the bottleneck is on the FlexIO side rather than the ADC or the SDRAM. Questions Is there a documented maximum shift clock frequency for FlexIO in parallel receive mode on the RT1176? I could not find any such figure in the RM or the datasheet. When the timer clock source is an external pin, what is the required ratio between the FlexIO functional clock and the external shift clock? My FlexIO clock (120 MHz) is only 1.2× the incoming 100 MHz clock — is that sufficient, or does the input synchronization logic require 2× or 4×? Given the almost exact ×2 ratio I observe, could this come from the FlexIO timer decrementing on both edges of the clock (TIMCMP convention), meaning my timer compare value effectively halves the throughput? Any guidance on the maximum realistic sustained throughput of FlexIO + eDMA on this part would be very helpful, since this determines whether I need to move to a different peripheral or an external FIFO. Thanks in advance. Communication & Control(I3C | I2C | SPI | FlexCAN | Ethernet | FlexIO) Re: i.MX RT1176 – FlexIO2 parallel receive: maximum achievable shift clock? Only ~48 MSPS reached Hello, thank you for your reply. I was indeed able to achieve the desired performance, but only by exceeding the maximum recommended clock frequency for the Flexio peripheral; specifically, instead of configuring the clock at 120 MHz, a clock speed greater than 200 MHz is required to achieve 100 MSps acquisition, whereas a 120 MHz configuration results in missed clock edges. The problem is that, even though it works at 200 MHz (despite the Reference Manual specifying a 120 MHz maximum), I have no guarantee of reliable operation under varying temperature conditions or across different production batches. Re: i.MX RT1176 – FlexIO2 parallel receive: maximum achievable shift clock? Only ~48 MSPS reached Hello @azed38,   Please keep in mind that when an external pin is used as the clock source, a small synchronization latency is introduced. According to Section 67.3.3.2 of the RM, this latency can range from 0.5 to 1.5 FlexIO clock cycles: Habib_MS_1-1788818202534.pngHabib_MS_1-1788818202534.pngHabib_MS_1-1788818202534.png Regarding the maximum throughput achievable with FlexIO and DMA, there is not a performance test for the FlexIO  and DMA. However, you may find the AN12686 useful, as it demonstrates a parallel communication implementation using FlexIO and DMA, this may provide guidance relevant to your use case. BR Habib Re: i.MX RT1176 – FlexIO2 parallel receive: maximum achievable shift clock? Only ~48 MSPS reached Hello @azed38, I noticed that you are already receiving support through another channel regarding this topic, so the support will continue there to keep all communication centralized. I would only like to add that operating FlexIO beyond its maximum frequency specifications could cause unexpected behaviors affecting your end application. Based on the information provided in Table 15-4 "Clock Roots" of the RM, I recommend using a maximum frequency of 120 MHz. BR Habib Re: i.MX RT1176 – FlexIO2 parallel receive: maximum achievable shift clock? Only ~48 MSPS reached Hi, The issue is likely due to the pin synchronization delays that are described on section "67.3.3.2 Pin Synchronization" of the Reference Manual. Considering the setup mentioned before, the root cause of the issue is the ratio between the incoming data frequency, and the operating clock frequency on the FlexIO, from the aforementioned pin synchronization delays of this module. For example, because of the pin synchronization delays that exists, the FlexIO emulated peripherals like SPI Master can only operate at a maximum baud rate of one fourth of the FlexIO operating clock frequency. As noted on the RM on section 67.4.3: "Due to synchronization delays, the setup time for the serial input data is 1.5 FlexIO clock cycles, so the maximum baud rate is divided by 4 of the FlexIO clock frequency." In this case, the throughput is expected to be decremented, and as the pin synchronization delays are an inherent behavior of the FlexIO module, there is no workaround. Because of this, combined with the maximum operating frequency of the FlexIO module of 120MHz to ensure proper operation, an expected 100MSPS will not be possible on the RT1170. BR Habib
查看全文
S32K3 FXOSC issues Hi, NXP experts, I have two S32K3 FXOSC questions to ask: 1. What is the deviation requirement of S32K3 for FXOSC crystal? I can't get this data from the Datasheet. 2. From the Datasheet, I can see that there is no feedback resistor for the FXOSC inside the K3 chip. So I would like to check if there is a 1M feedback resistor inside the K3 chip. Chenxu1_0-1777256809741.pngChenxu1_0-1777256809741.png thank you Re: S32K3 FXOSC问题 Thank you for your help. Regarding the second question, do you normally recommend another feedback resistor outside the FXOSC? I see from "S32K344-WB-DESIGN-FILES" that the FXOSC has a 1MΩ feedback resistor, but not in "S32K3xx - Hardware Design Guidelines -- Rev_D". I would also like to ask, regarding the PLL loss of lock threshold, what are the units of ±5, ±9, ±17, ±33, and what is the time period impact if quantized in a 1ms task? For S32K312 chip VCO=960M Chenxu1_0-1777275442814.pngChenxu1_0-1777275442814.png Re: S32K3 FXOSC问题 Hi A1. I think this depend on customer final application. If your application for example, requires a high precision clock then you will need a low PPM. For example, if the customer requires CAN communication. And select AIPS_PLAT_CLK generated by PLL(crystal) as the clock source of CAN. PLL retains its source clock accuracy, here XTAL clock, so there will be no issue as well using the PLL as CAN protocol clock. An PLL jitter will add some error, but it is x-times smaller comparing XTAL accuracy for typical CAN bit timing. A2. The S32K3 DataSheet mentions that the FXOSC has an internal feedback resistor, but does not specify its value: To ensure stable oscillations, FXOSC incorporates the feedback resistance internally. Best Regards, Robin ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "ACCEPT AS SOLUTION" 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: S32K3 FXOSC问题 The feedback resistor R168 in the S32K344-WB-DESIGN-FILES is labeled DNP, so it is not actually soldered. Please wait for me to consult the AE team for details about PLLCAL2[ULKCTL]. Re: S32K3 FXOSC问题 Hi Robbin I'd like to ask, since the K3 crystal oscillator integrates a feedback bias resistor, will there be any impact if a 1M resistor is connected in parallel with the input/output terminals outside the crystal oscillator? Re: S32K3 FXOSC问题 An external 1 MΩ resistor will be connected in parallel with the internal feedback resistor, thus reducing the equivalent feedback resistance. The feedback resistor Rf affects the amplifier loop gain, and a lower Rf will reduce the loop gain. This may reduce the oscillation margin, especially under boundary conditions such as low/high temperature, low voltage, large crystal ESR, and load capacitance deviation, it is necessary to verify the startup time, EXTAL/XTAL amplitude, PLL lock, and clock stability.
查看全文
i.MX RT1176 – FlexIO2パラレル受信:達成可能な最大シフトクロックは?わずか約48 MSPSしか到達しなかった iMXR1176 SDK 25.09.00 Manifest 3.15.0 ゴール i.MX RT1176に搭載されているLTC2164 16ビットADCからデータを取得しています。データパスは次のとおりです。 LTC2164(フルレートCMOS出力)→FlexIO2(パラレルRX)→eDMA→外部SDRAM ハードウェアのセットアップ LTC2164フルレートCMOS出力モードで構成され、外部100MHz発振器(100MSPS、16ビット並列)でクロックされます。 ADCデータ出力D0–D15はGPIO_AD_00...GPIO_AD_15。 ADC CLKOUT+はGPIO_AD_30に接続され、FlexIOタイマークロック(外部ピンクロックソース)として使用されました。 ソフトウェアのセットアップ FlexIO2は並列レシーバとして構成され、データはシフター7にラッチされます。シフター7から>0は、DMA要求が主張される前に32バイトバッファリングされるようにチェーンされています。 kDmaRequestMuxFlexIO2Request0Request1によってトリガーされたeDMAは、ピンポン(スキャッター/ギャザー)モードで2つのTCDを使用します。各メジャーループ完了時、つまり16384サンプルごとに割り込みが発生します。 FlexIO2の機能クロック:120MHz。 バスクロック(eDMA/SEMC側):240MHz。 問題 100 MSPS の場合、16384 サンプルの処理には163.84 µsかかるはずです。連続する 2 つの DMA 割り込み間の時間を測定 (GPIO トグル + オシロスコープ) すると、常に338 µsという結果が得られ、これは約 2.06 倍です。 これは約48 MSPSの実効持続レートに相当し、ボトルネックはADCやSDRAMではなくFlexIO側にあることを示唆している。 質問 RT1176の並列受信モードにおけるFlexIOの最大シフトクロック周波数に関する公式な文書はありますか?RMやデータシートにはそのような数値は見つかりませんでした。 タイマークロックのソースが外部ピンの場合、FlexIOの機能クロックと外部シフトクロックの比率はどのようになりますか?私のFlexIOクロック(120MHz)は、入力される100MHzクロックのわずか1.2倍ですが、それで十分でしょうか?それとも、入力同期ロジックには2倍または4倍が必要ですか? ほぼ正確な×2の比率を考えると、これはFlexIOタイマーがクロックの両端で減少している(TIMMPの慣例)によるもので、タイマー比較値が実質的にスループットを半分に減らしているのではないでしょうか? この部分でのFlexIO + eDMAの最大現実的な持続スループットについてのガイダンスがあれば、非常に助かります。なぜなら、別のペリフェラルに移行するか外部FIFOに切り替えるかを判断するからです。 よろしくお願いいたします。 通信・制御(I3C |I2C |SPI |FlexCAN |イーサネット |FlexIO) Re: i.MX RT1176 – FlexIO2 parallel receive: maximum achievable shift clock? Only ~48 MSPS reached こんにちは、ご返信ありがとうございます。確かに望ましい性能は達成できましたが、Flexioペリフェラルの推奨クロック周波数を最大を超えたことでしかできませんでした。具体的には、120MHzでクロックを設定するのではなく、100MSpsの取得には200MHz以上のクロック速度が必要ですが、120MHz構成ではクロックエッジがミスされます。問題は、200 MHzで動作しているにもかかわらず(リファレンスマニュアルには最大120 MHzと記載されていますが)、温度条件や生産バッチごとに安定して動作する保証がないことです。 Re: i.MX RT1176 – FlexIO2 parallel receive: maximum achievable shift clock? Only ~48 MSPS reached こんにちは、@azed38 さん。 外部ピンをクロックソースとして使用した場合、わずかな同期レイテンシが発生することに注意してください。RMのセクション67.3.3.2によると、このレイテンシは0.5から1.5 FlexIOクロックサイクルの範囲です。 Habib_MS_1-1788818202534.pngHabib_MS_1-1788818202534.pngHabib_MS_1-1788818202534.png FlexIOとDMAで達成可能な最大スループットに関しては、FlexIOとDMAの性能テストは存在しません。しかし AN12686 、FlexIOとDMAを用いた並列通信実装を示しているため、あなたのユースケースに関連する指針となるかもしれません。 BR ハビブ Re: i.MX RT1176 – FlexIO2 parallel receive: maximum achievable shift clock? Only ~48 MSPS reached こんにちは、@azed38 さん。 このトピックに関してはすでに別のチャネルでサポートを受けているのに気づきましたので、すべてのコミュニケーションを集中管理するために引き続きサポートを続けます。FlexIOを最大周波数仕様を超えて運用すると、最終アプリケーションに影響を与える予期せぬ挙動を引き起こす可能性があることを付け加えたいと思います。RMの表15-4「クロックルート」に記載されている情報に基づき、最大周波数を120MHzにすることを推奨します。 BR ハビブ Re: i.MX RT1176 – FlexIO2 parallel receive: maximum achievable shift clock? Only ~48 MSPS reached こんにちは、 この問題は、セクション「67.3.3.2」で説明されているピン同期の遅延が原因である可能性が高い。「ピン同期」というリファレンスマニュアルの内容です。 前述の構成を考慮すると、問題の根本原因は、このモジュールのピン同期遅延に起因する、入力データ周波数とFlexIOの動作クロック周波数の比率にある。 例えば、ピン同期遅延が存在するため、SPI MasterのようなFlexIOエミュレート**ペリフェラル**は、FlexIO動作クロック周波数の最大ボーレートでしか動作できません。RMの67.4.3節に記載されているように:「同期遅延のため、シリアル入力データのセットアップ時間は1.5 FlexIOクロックサイクルとなり、最大ボーレートはFlexIOクロック周波数の4で割られます。」 この場合、スループットは減少することが予想されており、ピン同期遅延はFlexIOモジュール固有の動作であるため、回避策はありません。 このため、FlexIOモジュールの適切な動作を保証するための最大動作周波数が120MHzであることと相まって、RT1170では期待される100MSPSは実現できません。 BR ハビブ
查看全文
S32K3xx Master_ECU_KEY or CUST/OEM authorization key import Hello NXP, Thank you as always for your support. Based on your previous response regarding our FBL-related inquiry, we understood that when the Life-Cycle is in the In-Field state, either the MASTER_ECU_KEY or a CUST/OEM authorization key must have been provisioned in advance in order to obtain SuperUser (SU) authority, and that provisioning the MASTER_ECU_KEY is not possible once the device is already in the In-Field state. Could you please confirm whether our understanding is correct? Currently, neither of these two keys has been provisioned. To prevent similar issues from occurring in the future, we would like to provision either the MASTER_ECU_KEY or a CUST/OEM authorization key in advance, so that we can format the NVM/RAM key catalog and inject the HMAC key after the device enters the In-Field state. We have a few questions as follows: 1. In this project, FBL authentication is not based on SHE. Instead, it uses RSA public-key signature verification. However, CRYPTO_SPT_SHE is configured as STD_ON. In this case, should we provision the MASTER_ECU_KEY, or should we provision a CUST/OEM authorization key? 2. Is there any guide or reference documentation that describes how to import the MASTER_ECU_KEY or a CUST/OEM authorization key? Thank you. Best regards, Re: S32K3xx Master_ECU_KEY or CUST/OEM authorization key import Hi @jeongwoo  The authorization key should be provisioned according to the current lifecycle and the key owner you need to operate with. In CUST_DEL, you can provision the CUST authorization key. Once you advance the device to OEM_PROD, you can provision the OEM authorization key and use it to obtain Super User rights for OEM-owned keys. You cannot provision an OEM-owned key while still in CUST_DEL, because at that point you do not have an OEM authorization key that could authorize the operation. Therefore, the key catalogs for the required owners should already be defined while the device is in CUST_DEL, before advancing the lifecycle. After moving to OEM_PROD, the catalogs cannot be reformatted, because key catalog formatting is restricted to CUST_DEL. This lifecycle transition is also irreversible. So, if your intention is to have both CUST and OEM authorization capabilities, define the required CUST and OEM key groups in the catalogs first, provision the CUST authorization key in CUST_DEL, advance to OEM_PROD, and then provision the OEM authorization key. You can take a look at this thread for details: https://community.nxp.com/t5/S32K/Change-is-not-possible-in-LC-OEM-PROD/m-p/2356576 On HSE level, the key import procedure is described in section “6.2.3  Key Import” in HSE-B Firmware reference manual rev. 2.8 and then see the description of “struct hseImportKeySrv_t” in HSE Service API reference manual of your HSE firmware version. On Autosar Crypto driver level, it is given by Autosar specification. You can read description of Crypto_43_HSE_KeyElementSet() and Crypto_43_HSE_KeySetValid() API in RTD_CRYPTO_43_HSE_UM.pdf. Authorization keys are imported in the same way as other keys, it’s just necessary to set USAGE_AUTHORIZATION and USAGE_VERIFY key flags for that key in your configurator. Regards, Lukas
查看全文
S32DS S32K358 项目咨询 wj_kwak_0-1789777426372.pngwj_kwak_0-1789777426372.png 我有一个关于创建 S32K358 项目的问题。 我很好奇为什么会创建两个项目,M7_0 和 M7_2。 我想知道“继承启动核心工具链”按钮的功能。 我的队友说参考文档中指出 M7_0 是引导加载程序区域,M7_2 是应用程序区域,但我还没有在文档中找到证据来验证这一点。我想确认一下。 Re: S32DS S32K358 Project Inquiry 嗨@wj_kwak 对于 S32K358,S32DS 默认创建两个独立的项目,一个用于 M7_0,一个用于 M7_2。这些项目对应于两个处理核心。它们并不代表引导加载程序区域和应用程序区域。 S32DS 项目创建向导通常不会创建一个包含两个内核应用程序的单个项目。如果需要这样的项目结构,则必须手动创建/配置。然而,在大多数情况下,没有必要这样做,通常的做法是使用两个独立的项目,每个核心一个项目。 在为其他核心创建项目时,可以使用“继承启动核心工具链”选项从启动核心项目继承工具链配置。如果启用此功能,您可以仅为 Cortex-M7_0_0 选择工具链。Cortex-M7_0_2 的工具链选择将显示为灰色,因为将应用 Cortex-M7_0_0 的配置。 您还可以参考这里提供的多核示例和文档: community.nxp.com/t5/S32K/S32K324-Multi-Core-Example-Project-based-on-Whiteboard/m-p/1547771 该软件包演示了两种方法:每个核心的独立项目和两个核心的单个项目编译成单个 ELF 文件。 因此,M7_0 和 M7_2 不应被理解为引导加载程序和应用程序项目。它们只是与各个核心相关的项目。 顺祝商祺! Lukas
查看全文
如何获取BMA8420的完整数据手册?非产品简介   主题:关于氢燃料电池堆电化学阻抗谱测量用BMA8420的咨询   尊敬的技术支持团队: 我目前正在开发用于氢燃料电池的电化学阻抗谱(EIS)测量系统。   为了使用BMA8420 ,我想查看其技术规格,但我一直没能在网上找到数据表。   非常感谢您能就以下问题提供指导: BMA8420 能否用于测量氢燃料电池堆的电化学阻抗谱 (EIS)? 如何获取BMA8420的完整数据手册(非产品简介)? 韩国的联系点? 感谢您的支持,期待您的回复。   此致, 金杨     BMA8420 <-- 链接 image.png #BMA8420
查看全文
外部启动 S32k S32k344 设备最初是否从内部 ROM 执行不可变的第一阶段引导加载程序?如果可以,能否将此 ROM 引导加载程序配置为从外部源(例如外部闪存)加载辅助引导加载程序(或应用程序映像)? 如果支持外部启动,应该如何配置才能让初始引导加载程序知道从哪里获取启动项? Re: External Boot S32k 嗨@CTCoder1 是的,S32K344 包含 SBAF 代码,该代码在 RESET 后执行。然而,这不应被视为可以直接从任意外部存储器加载应用程序的可配置引导加载程序。不支持外部启动。 正常的 S32K3 启动流程仅要求启动信息/应用程序位于内部代码闪存中。例如,可以将用户引导加载程序放置在内部闪存的开头(IVT 地址为 0x00400000),然后执行所需的任何更新/加载机制。 因此,如果目的是将应用程序存储在外部闪存中,通常的解决方案是将用户引导加载程序放在内部闪存中。该引导加载程序初始化所需的外部/外部存储器接口,从外部设备读取映像,然后将其编程到内部闪存中,或根据应用程序的要求对其进行处理。 没有 SBAF(或者我们可以说 BootROM)配置,您只需指定外部闪存地址/设备,S32K344 SBAF 就可以直接从那里启动应用程序。这需要完全由您的软件来管理。 此致, Lukas
查看全文
S32K3xx 主ECU密钥或客户/OEM授权密钥导入 您好,NXP, 一如既往地感谢大家的支持。 根据您之前对我们 FBL 相关询问的回复,我们了解到,当生命周期处于现场状态时,必须预先配置 MASTER_ECU_KEY 或 CUST/OEM 授权密钥才能获得超级用户 (SU) 权限,并且一旦设备已处于现场状态,就无法配置 MASTER_ECU_KEY。 请问我们的理解是否正确? 目前,这两个密钥都尚未配置。为防止将来出现类似问题,我们希望预先配置 MASTER_ECU_KEY 或 CUST/OEM 授权密钥,以便在设备进入现场状态后格式化 NVM/RAM 密钥目录并注入 HMAC 密钥。 我们有几个问题,如下所示: 1.在这个项目中,FBL认证不是基于SHE的。它采用的是RSA公钥签名验证。但是,CRYPTO_SPT_SHE 配置为 STD_ON。 在这种情况下,我们应该配置 MASTER_ECU_KEY,还是应该配置 CUST/OEM 授权密钥? 2. 是否有任何指南或参考文档说明如何导入 MASTER_ECU_KEY 或 CUST/OEM 授权密钥? 谢谢。 顺祝商祺! Re: S32K3xx Master_ECU_KEY or CUST/OEM authorization key import 嗨@jeongwoo 授权密钥应根据当前生命周期和您需要与之操作的密钥所有者进行配置。 在 CUST_DEL 中,您可以配置 CUST 授权密钥。将设备升级到 OEM_PROD 后,即可配置 OEM 授权密钥,并使用该密钥获取 OEM 拥有的密钥的超级用户权限。 在 CUST_DEL 状态下,您无法配置 OEM 拥有的密钥,因为此时您没有可以授权该操作的 OEM 授权密钥。因此,在设备处于 CUST_DEL 状态时,在推进生命周期之前,应该已经定义了所需所有者的关键目录。 迁移到 OEM_PROD 后,目录无法重新格式化,因为关键目录格式仅限于 CUST_DEL。这种生命周期转变也是不可逆的。 因此,如果您打算同时拥有 CUST 和 OEM 授权功能,请先在目录中定义所需的 CUST 和 OEM 密钥组,在 CUST_DEL 中配置 CUST 授权密钥,然后进入 OEM_PROD,最后配置 OEM 授权密钥。 您可以查看这个帖子了解详情: https://community.nxp.com/t5/S32K/Change-is-not-possible-in-LC-OEM-PROD/m-p/2356576 在 HSE 层面,密钥导入程序在 HSE-B 固件参考手册 rev. 中的“6.2.3 密钥导入”部分进行了描述。2.8 然后查看 HSE 固件版本的 HSE 服务 API 参考手册中“struct hseImportKeySrv_t”的描述。 在 Autosar Crypto 驱动程序层面,它由 Autosar 规范规定。您可以在 RTD_CRYPTO_43_HSE_UM.pdf 中阅读 Crypto_43_HSE_KeyElementSet() 和 Crypto_43_HSE_KeySetValid() API 的描述。 授权密钥的导入方式与其他密钥相同,只需在配置器中为该密钥设置 USAGE_AUTHORIZATION 和 USAGE_VERIFY 密钥标志即可。 此致, Lukas
查看全文
S32DS S32K358 プロジェクトに関するお問い合わせ wj_kwak_0-1789777426372.pngwj_kwak_0-1789777426372.png S32K358プロジェクトの作成について質問があります。 M7_0とM7_2という2つのプロジェクトが作成されている理由が気になります。 「ブートコアツールチェーンを継承する」ボタンの機能を知りたいです。 チームメイトによると、参考ドキュメントではM7_0がブートローダー領域、M7_2がアプリケーションエリアと書かれていますが、ドキュメントで確認できていません。この点について確認させてください。 Re: S32DS S32K358 Project Inquiry こんにちは、 @wj_kwak S32K358の場合、S32DSはデフォルトで2つの独立したプロジェクトを作成します。1つはM7_0用、もう1つはM7_2用です。これらのプロジェクトは2つのプロセッシングコアに対応しています。これらはブートローダー領域やアプリケーション領域を表していません。 S32DSのプロジェクト作成ウィザードは通常、両方のコアのアプリケーションを含む単一のプロジェクトを作成することはありません。そのようなプロジェクト構造が必要な場合は、手動で作成/設定する必要があります。しかし、ほとんどの場合、これは必要なく、一般的なアプローチは各コアごとに独立したプロジェクトを2つずつ使うことです。 「ブートコアツールチェーンを継承する」オプションは、ブートコアプロジェクトからツールチェーン構成を継承するために使えます。有効にすれば、ツールチェーンはCortex-M7_0_0専用に選択できます。Cortex-M7_0_2のツールチェーン選択は、Cortex-M7_0_0の設定が適用されるためグレーアウトになります。 また、ここに提供されているマルチコアの例やドキュメントも参照できます: community.nxp.com/t5/S32K/S32K324-Multi-Core-Example-Project-based-on-Whiteboard/m-p/1547771 このパッケージは両方のアプローチを示しています:各コアごとに独立したプロジェクト、そして両方のコアに対して単一のプロジェクトを単一のELFファイルにコンパイルします。 SO、M7_0とM7_2はブートローダーやアプリケーションプロジェクトとして理解すべきではありません。これらは、それぞれのコアに関連付けられたプロジェクトにすぎません。 よろしくお願いいたします。 ルーカス
查看全文
外部ブート S32k S32k344デバイスは、最初に内部ROMから変更不可能な第1段階ブートローダーを実行しますか?もしそうなら、このROMブートローダーは外部フラッシュなどの外部ソースから二次ブートローダー(またはアプリケーションイメージ)をロードするように設定できますか? 外部ブートをサポートしている場合、初期ブートローダーがどこから引き出せばよいか、どのように設定すればよいのでしょうか? Re: External Boot S32k こんにちは、 @CTCoder1さん はい、S32K344にはリセット後に実行されるSBAFコードが含まれています。しかし、これは任意の外部メモリから直接アプリケーションをロードできる設定可能なブートローダーとは見なすべきではありません。外部ブートはサポートされていません。 通常のS32K3ブートフローでは、内部コードのフラッシュのみにブート情報やアプリケーションが反映されることを期待します。例えば、ユーザーのブートローダーを内部フラッシュの開始(IVTは0x00400000)に配置し、必要な更新/読み込みメカニズムを実行することができます。 したがって、アプリケーションを外部フラッシュに保存する意図がある場合、通常の解決策はユーザーブートローダーを内部フラッシュに設定することです。このブートローダーは必要なペリフェラル/外部メモリインターフェースを初期化し、外部デバイスからイメージを読み込み、それを内部フラッシュにプログラムするか、アプリケーションの要件に応じて処理します。 SBAF(あるいはBootROM)構成は存在しません。単に外部フラッシュアドレスやデバイスを指定して、S32K344 SBAFがそこからアプリケーションを直接起動させるようなものです。これは完全にソフトウェアで管理する必要があります。 よろしくお願いいたします。 ルーカス
查看全文
i.MX6ULL以太网接口在接头温度高于95℃时断开连接 您好,NXP, 我们使用 i.mx6ull 08AB 版本设计了我们的产品,并发现了一个如下所示的问题。 1>零件编号: MCIMX6Y2CVM08AB 2>问题: 当接头温度高于 95℃ 时,部分板会出现以太网断开连接的问题。 您有什么建议可以帮助我们解决这个问题吗? 非常感谢。 i.MX6UL Re: i.MX6ULL ethernet disconnect when joint temperature is higher than 95℃ 您的客户中有多少家主板存在这个问题?他们测试的是哪个版本的BSP?
查看全文
E6500 / E5500割り込みパス、RFI対RFCIおよびその他のファミリ命令 こんにちは、 RFIやその他のファミリ命令は、さまざまな割り込みや例外からの返却に使用されます。 E5500およびE6500プロセッサで、SRR0とSRR1が正しい値に戻されている限り(CSRR0、CRSRR1、MCSRR0、MCSRR1などから最初に読み取れる可能性が高い)、それともプロセッサ内部の機構が壊れるのか知りたいです。 よろしくお願いいたします。 アレクシー・トーレス QorIQ T1 デバイス QorIQ T2デバイス Re: E6500 / E5500 Interrupt Path, RFI vs RFCI and other family instructions 迅速なご回答ありがとうございます。それは我々が考えていたことを裏付けるものだ。 Re: E6500 / E5500 Interrupt Path, RFI vs RFCI and other family instructions E5500およびE6500では、SRR0/SRR1レジスタにCSRR0/CSRR1またはMCSRR0/MCSRR1からコピーした値を手動でプリロードした場合でも、「RFI」を他の割り込み復帰命令(「RFCI」、「RFMCI」など)に普遍的に置き換えることは推奨されません。 各リターン命令は、特定の保存/復元レジスタペアからMSRを復元します。「RFI」を使うと必ずSRR1から復元されますが、回復されるMSRビット(マスクや強制されるもの)は命令によって異なる場合があります。レジスタ値だけでなく、ハードウェアレベルでは、`RFCI` または `RFMCI` によって一部のビットの処理方法が異なる場合があります。 「RFCI」と「RFMCI」は「CSSR」/「MCSR」の状態をクリアし、割り込みレベルの内部プロセッサトラッキングを更新します(例:MSRの「CE」/「ME」有効ビット)。手動でコピーした値を「RFI」だけ使用すると、クリティカル/マシンチェック割り込み状態が正しく再有効化またはクリアされず、プロセッサが内部的に不整合な状態に陥る可能性があります。 Power Architecture Embedded Environment(EREF)仕様では、各例外クラスから返すためにどの命令を使うべきかを明示的に定義しています。これから逸脱するとアーキテクチャ的に定義された挙動の範囲外であり、これらのコアに予測不可能な結果をもたらす可能性があります。 推奨される方法は、rfi は標準/非クリティカルな戻り値にのみ使用し、関連する割り込みクラスには rfci、rfdi、rfgi、または rfmci を使用することです。
查看全文
RT685 DPD wake via PMIC_IRQ_N not working HW: RT685 + PCA9420, PMIC_IRQ_N connected to RT685 dedicated pin. Problem: POWER_EnterDeepPowerDown(exclude_from_pd={0,0,0,0}) → MCU loses power (VDDCORE off). Pull PMIC_IRQ_N low → no wake. Manually shorting PMIC_IRQ_N to GND for ~1s also does not wake.  Code before entry  :   BOARD_InitPmic(); BOARD_ConfigPMICModes(); BOARD_SetPmicVoltageBeforeDeepPowerDown(); POWER_EnableInterrupts(kPMC_INT_INTRPAD); EnableDeepSleepIRQ(PMC_PMIC_IRQn); BOARD_EnterDeepPowerDown(exclude_from_pd); ```   PMC->FLAGS after failed wake: 0x60170000, DEEPPDF (bit31) = 0. WAKE_UP_WITH_PMIC_IRQ_N = 1. Questions : Is additional RT685-side config needed to make PMIC_IRQ_N a valid DPD wake source? Does PCA9420 stop driving PMIC_IRQ_N when VDDCORE is cut via DPD Anyone successfully used PMIC_IRQ_N to wake RT685 from DPD? Working config?     i.MX-RT600  SERVER-POWER-CONTROL                       Power Re: RT685 DPD wake via PMIC_IRQ_N not working Hi @wx1 , Regarding PMC->FLAGS after failed wake: 0x60170000, DEEPPDF (bit31) = 0. WAKE_UP_WITH_PMIC_IRQ_N = 1.  The reason to have this result is due to that  DEEPPDF (bit 31 of PMC->FLAGS ) is only set when the MCU successfully completes a full DPD cycle and wakes from it. A value of 0 means the MCU never cleanly entered DPD. The co-existing WAKE_UP_WITH_PMIC_IRQ_N = 1 tells you that the PMC detected a low pulse on PMIC_IRQ_N, but the DPD state was never committed. This pattern almost always means PMIC_IRQ_N was already asserted (logic-low) at the moment DPD entry was attempted, causing an immediate phantom wake before DPD could latch. When PMIC_MODE[1:0] transitions to 0b10 (DPD mode, VDDCORE off), the PCA9420 internally detects that SW1_OUT is dropping. This can trigger a brief INTB pulse due to the PCA9420's voltage supervisor logic firing on the SW1 output. If that pulse reaches the PMC before DPD is fully committed, you get exactly what you are seeing. Is additional RT685-side config needed to make PMIC_IRQ_N a valid DPD wake source? Before arming DPD, drain any pending PCA9420 interrupts so that INTB is deasserted (high) when DPD latches. Does PCA9420 stop driving PMIC_IRQ_N when VDDCORE is cut via DPD PMIC_IRQ_N is on the VDD_AO1V8 always-on domain, which stays powered throughout DPD. The PCA9420 INTB output is open-drain and powered from VIN, so as long as VIN (your system supply) is present the PCA9420 can still drive INTB low.   Hope that makes sense,   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. -------------------------------------------------------------------------------
查看全文
S32K314 get stuck at 0x2040012C WFI during HSE recovery in AB swap Hello NXP Support Team, I am testing HSE recovery in AB swap as following steps. Firstly, I use lauterbach to execute HSE FW erase to erase HW, then test the recovery process. The CPU always stops at at 0x2040012C WFI instruction after step 9 issue a functional reset, I need to power off, then power on to get out of this.  Could you please give some tips on what's going wrong?  leo_cheng_0-1789995644535.png leo_cheng_1-1789995683683.png Re: S32K314 get stuck at 0x2040012C WFI during HSE recovery in AB swap Hi @leo_cheng  If it hangs at 0x2040012C after reset, it means that the device entered JTAG based recovery  mode. You can take a look at “2.6.1.3 Recovery Mode” section in the HSE-B Firmware reference manual. If you want to recover using Lauterbach debugger, I wrote attached script which follows section “3.3.1  MU Installation Steps by Host in AB_SWAP Configuration”. It works for installation of the firmware on brand new device and it works for recovery when the firmware is erased completely or when there’s backup image in passive partition. Regards, Lukas
查看全文
CBTL04083ABS こんにちは、みんな、 現在、 CBTL04083ABS (4チャンネル、2:1 PCIe Gen3マルチプレクサ/デマルチプレクサ)を含むレイアウトおよび信号整合性シミュレーションプロジェクトに取り組んでいます。 残念ながら、公開製品ページやデザインリソースの中から直接IBISモデルを見つけることはできませんでした。私は個人開発者で企業向けの企業アカウントを持っていないので、このデバイスのIBISモデル(または利用可能ならタッチストーン/Sパラメータファイル)をどなたか教えていただけませんか? よろしくお願いいたします。 よろしくお願いします、 ヴォルフガング Re: CBTL04083ABS こんにちは、ヴォルフガングさん。 添付の報復IBISモデルをご覧ください。 BRs、トーマス
查看全文
S32K314 が AB スワップ中の HSE リカバリ中に 0x2040012C WFI で停止する こんにちは、NXPサポートチームの皆さん、 以下の手順で、ABスワップにおけるHSEリカバリのテストを行っています。まず、lauterbachを使用してHSE FW eraseを実行し、ハードウェアを消去してから、リカバリプロセスをテストします。ステップ9で機能リセットを発行した後、CPUは常に0x2040012CのWFI命令で停止します。この状態から抜け出すには、電源をオフにしてからオンにする必要があります。何がうまくいっていないのか、アドバイスをいただけますか? leo_cheng_0-1789995644535.png leo_cheng_1-1789995683683.png Re: S32K314 get stuck at 0x2040012C WFI during HSE recovery in AB swap こんにちは、 @leo_cheng さん。 リセット後に0x2040012Cでハングアップする場合、デバイスがJTAGベースのリカバリモードに入ったことを意味します。「2.6.1.3」をご覧ください。HSE-Bファームウェアリファレンスマニュアルの「リカバリーモード」セクションに記載されています。 Lauterbach デバッガーを使用して復旧したい場合は、セクション「3.3.1」に従って、添付のスクリプトを作成しました。「AB_SWAP構成におけるホストごとのMUインストール手順」これは、新品のデバイスへのファームウェアのインストールに有効であり、ファームウェアが完全に消去された場合や、パッシブパーティションにバックアップイメージが存在する場合の復旧にも有効です。 よろしくお願いいたします。 ルーカス
查看全文
CBTL04083ABS 大家好, 我目前正在进行一个布局和信号完整性仿真项目,其中包括CBTL04083ABS (4 通道,2:1 PCIe Gen3 多路复用器/解复用器)。 遗憾的是,我在公开产品页面或设计资源中都找不到 IBIS 型号。由于我是一名独立开发者,没有企业账户,请问谁能提供该设备的 IBIS 模型(或者如果有的话,提供 touchstone/S 参数文件)? 非常感谢您的帮助! 此致, 沃尔夫冈 Re: CBTL04083ABS 你好,沃尔夫冈, 请查收附件中所需的IBIS模型。 BRs,托马斯
查看全文
CBTL04083ABS Hello everyone, I am currently working on a layout and signal integrity simulation project that includes the CBTL04083ABS (4-channel, 2:1 PCIe Gen3 multiplexer/demultiplexer). Unfortunately, I couldn't find an IBIS model directly on the public product page or under the design resources. Since I am an individual developer and do not have an enterprise corporate account, could anyone please provide me with the IBIS model (or touchstone/S-parameter files if available) for this device? Thank you very much for your help! Best regards, Wolfgang Re: CBTL04083ABS Hello Wolfgang, Please find attached the requited IBIS model. BRs, Tomas
查看全文
RT685 DPDのPMIC_IRQ_Nによるウェイクアップが機能しない HW:RT685 + PCA9420、PMIC_IRQ_N RT685専用ピンに接続されています。 問題: POWER_EnterDeepPowerDown(exclude_from_pd={0,0,0}) →MCUが電源を失います(VDDコアがオフ)。ウェイク→PMIC_IRQ_Nを下げてください。手動でGNDにショートPMIC_IRQ_Nさせて~1秒も起動しません。 入力前にコードを入力してください  :   BOARD_InitPmic(); BOARD_ConfigPMICModes(); BOARD_SetPmicVoltageBeforeDeepPowerDown(); POWER_EnableInterrupts(kPMC_INT_INTRPAD); EnableDeepSleepIRQ(PMC_PMIC_IRQn); BOARD_EnterDeepPowerDown(exclude_from_pd); 「`」   PMC->FLAGS ウェイク失敗後: 0x60170000、DEEPPDF (bit31) = 0。 PMIC_IRQ_Nで起動 = 1. 質問 : PMIC_IRQ_Nを有効なDPDウェイクソースにするには、RT685側で追加の設定が必要ですか? DPD を介して VDDCORE が切断された場合、PCA9420 は PMIC_IRQ_N の駆動を停止しますか? PMIC_IRQ_Nを使用してRT685をDPDからウェイクアップすることに成功した方はいますか?動作する設定はありますか?     i.MX-RT600サーバー電源制御                     パワー Re: RT685 DPD wake via PMIC_IRQ_N not working こんにちは、 @wx1 さん。 PMC->FLAGSについて:0x60170000、DEEPPDF(ビット31)= 0. WAKE_UP_WITH_PMIC_IRQ_N = 1。この結果が出る理由は 、 DEEPPDF ( PMC->FLAGS のビット31)がMCUが完全なDPDサイクルを完了し、そこからウェイクアップした場合にのみ設定されるためです。値が 0 の場合は、MCUがDPDにきれいに入っていなかったことを意味します。共存する WAKE_UP_WITH_PMIC_IRQ_N = 1 は、PMC が PMIC_IRQ_N で低パルスを検出したが、DPD 状態がコミットされなかったことを示しています。このパターンはほとんどの場合、 DPDの入力が試みられた時点ですでにPMIC_IRQ_Nが主張されていた(論理低値)であり、DPDがラッチする前に即座にファントムウェイクが発生しています。 PMIC_MODE[1:0] が 0b10 に遷移すると(DPDモード、VDDCOREオフ)、PCA9420は内部的にSW1_OUTが低下していることを検出します。これにより、PCA9420の電圧スーパーバイザロジックがSW1出力で発動するため、短いINTBパルスがトリガーされることがあります。そのパルスがDPDが完全に作動する前にPMCに到達すると、まさに今見ているような現象が起こります。 PMIC_IRQ_Nを有効なDPDウェイクソースにするには、RT685側で追加の設定が必要ですか? DPDを起動する前に、保留中のPCA9420中断中の割り込みを排水し、DPDがラッチしたときにINTBが解除される(高く)します。 DPD を介して VDDCORE が切断された場合、PCA9420 は PMIC_IRQ_N の駆動を停止しますか? PMIC_IRQ_Nは VDD_AO1V8 常時オンドメイン上にあり、DPD期間中ずっと電源が供給されています。PCA9420のINTB出力はオープンドレインでVINから電力が供給されているため、VINが存在している限りPCA9420はINTBの低電圧を駆動できます。   これで意味が通じるといいのですが。   すてきな一日を、 カン ------------------------------------------------------------------------------- 注記: この投稿があなたの質問への回答になっている場合は、「正解としてマーク」ボタンをクリックしてください。ありがとうございます! - 前回の投稿から7週間Threadをフォローしており、その後の返信は無視しています もし後で関連する質問があれば、新しいThreadを開き、閉じたThreadを参照してください。 -------------------------------------------------------------------------------
查看全文
S32K3 MCU secure unlock error I am using the P&E Cyclone FX programmer to unlock an S32K311 MCU that may be an abnormal part. When executing the script, an error is reported. Sometimes the script executes successfully, but even in those cases, the programmer still shows "Enable Secure" when connecting. Could you please help me investigate the possible cause? The error information is as follows: Authenticating S32K3xx in Password Mode. Connecting to debug hardware ... ok. Requesting Debug Module Power On via SWD ... ok. Reading SDA AP ID Register ... ok. Reading/Writing SDA AP KEYRESP0 ... ok. Reading/Writing SDA AP KEYRESP1 ... ok. Reading/Writing SDA AP KEYRESP2 ... ok. Reading/Writing SDA AP KEYRESP3 ... ok. Writing SDA AP AUTHCTL.HSEAUTHREQ ... ok. Writing SDA AP DBGENCTRL.GDBGEN and DBGENCTRL.CDBGEN ... ok. Reading SDA AP ID Register ... ERROR !!!!!!!!!!!!!!!!!!!!! . ( 0xf0e0d0c ) Re: S32K3 MCU secure unlock error Have you ever get it to run? Are you trying to unsecure previsously secured device or it is somehow unexpected response? Do you have mutliple boards acting like this or it is just this one? Please provide further details. Thanks
查看全文