Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
VRC_CTRL Clarification Hello NXP Support, I would like to ask some questions on S32K3's VRC_CTRL (PTE13). (1) RM mentions VRC_CTRL is direct signal, could you please check the understanding/question in the following table (red font)? ALTx OBE IBE VRC_CTRL Question GPIO Disabled Disabled Enabled VRC_CTRL will take effect, right? GPIO Disabled Enabled Enabled VRC_CTRL will still take effect, right? GPIO Enabled Not Care Enabled Who will take effect? (2) If we configure PTE13 as GPIO + OBE Enabled + Output Level Low, will the VRC_CTRL negative feedback mechanism be broken because VRC_CTRL is treated as error signal and now maybe GPIO and VRC_CTRL are driving the pin at the same time? (3) In NXP MCAL, as long as I configure PTE13 as PG_VRC_CTRL_OUT, OBE will be automatically set by function Port_Ipw_SetOnlyOutputMode(), is it an issue of MCAL? (4) How to test VRC_CTRL feedback mechanism , what waveform is expected during which condition? (5) Why is MSCR141 documented as "Not Supported" in RM? Thanks. BR Re: VRC_CTRL Clarification Hello Pavel, Thanks a lot for your detailed answer. VRC_CTRL should not be configured or forced as a GPIO output while it is used by the last-mile regulator. In particular, setting a GPIO output level to Low is not the correct way to disable or control the regulator. What will happen if VRC_CTRL is enabled and OBE is also enabled at the same time? Maybe a intermediate level will be present on PTE13? Where can I find some diagram to describe the combined driving path from both direct signal and SIUL2 output-multiplexing? The following is my measurement. You can see when VRC_CTRL is enable, GPIO output can have some impact to the PTE13. For validation, V15 and VRC_CTRL should be measured together during startup and under load changes. How to trigger the load change, is it by switching the frequency of the core?   MSCR141 is documented as “Not Supported” because PTE13/VRC_CTRL uses a direct connection from the PMC rather than the normal SIUL2 output-multiplexing path. Therefore, MSCR141 must not be used to control the VRC_CTRL function. I didn't quite understand here, at least GPIO141 can be used when VRC_CTRL is disabled, why does RM just mention MSCR141 is not supported? Actually I can access MSCR141 from debugger, and I can switch the settings there.  Regarding Port_Ipw_SetOnlyOutputMode(), the fact that this function is called does not by itself prove that the PMC regulator is affected. Sorry, I didn't get your point here. Actually this is the main reason I asked this question, following code will be generated when I configure PTE13 PinMode as PG_VRC_CTRL_OUT in MCAL Port module. #define SIUL2_0_PORT141_PG_VRC_CTRL_OUT (PORT_ONLY_OUTPUT_MODE) Port_Ipw_SetOnlyOutputMode() will be called and “OBE” bit will set in this function.​ I think it maybe a MCAL bug, PG_VRC_CTRL_OUT mode enables OBE by mistake. Could you please help to check? Do you think that configuring it to GPIO + PORT_PIN_HIGH_Z + PORT_PIN_LEVEL_NOTCHANGE can be a workaround, in this case, MSCR141 of PTE13 can be guaranteed to be 0 (OBE = 0)? Best regards Kumamon Re: VRC_CTRL Clarification Hello @kumamon , I think the main misunderstanding is that VRC_CTRL is being treated as a regular SIUL2/GPIO output. VRC_CTRL is a direct output of the PMC last-mile regulator. When the external ballast-transistor supply option is used, the PMC monitors the V15 domain and adjusts VRC_CTRL, which is connected to the base of the external NPN transistor. This forms a closed analog feedback loop. Therefore, VRC_CTRL is not controlled through the normal GPIO output data registers. For this reason, the GPIO ALTx, IBE and OBE combinations in the table are not applicable to the VRC_CTRL function: IBE only controls the digital input buffer and has no role in the V15 regulator feedback loop. VRC_CTRL should not be configured or forced as a GPIO output while it is used by the last-mile regulator. In particular, setting a GPIO output level to Low is not the correct way to disable or control the regulator. The last-mile regulator is controlled by the PMC, including the PMC_CONFIG[LMBCTLEN] field and the initialization sequence documented in the device-specific PMC chapter. VRC_CTRL is an analog control signal rather than a digital status output. Consequently, there is no single fixed waveform that applies to all designs. Its voltage depends on the external transistor, V15 load, supply voltage, external capacitance and operating mode. For validation, V15 and VRC_CTRL should be measured together during startup and under load changes. The expected result is that V15 remains within its specified operating range while VRC_CTRL adjusts the external transistor as required. MSCR141 is documented as “Not Supported” because PTE13/VRC_CTRL uses a direct connection from the PMC rather than the normal SIUL2 output-multiplexing path. Therefore, MSCR141 must not be used to control the VRC_CTRL function. Regarding Port_Ipw_SetOnlyOutputMode(), the fact that this function is called does not by itself prove that the PMC regulator is affected. Please also note that the reset behavior is derivative-specific. For example, the S32K3x8 (and S32K356) PMC has a device-specific CONFIG reset value of 0x00000083, so the last-mile regulator configuration is enabled after reset. This must not be generalized from older S32K3 derivatives where LMBCTLEN may need to be enabled explicitly. Best regards, Pavel Re: VRC_CTRL Clarification Hello Pavel, Thanks for the answer. The generic Port driver enables OBE when an output mode is requested. Do you know which setting other than PG_VRC_CTRL_OUT in the following figure introduces the "output mode"? Sorry, but I still feel MCAL Port maps the PG_VRC_CTRL_OUT to output mode by mistake. For validation, V15 and VRC_CTRL should be measured together during startup and under load changes. How to trigger the load change, is it by switching the frequency of the core?   Thanks. BR/Kumamon Re: VRC_CTRL Clarification Hello @kumamon , Thank you for the measurements. They confirm that setting MSCR141[OBE] = 1 enables the digital output driver and allows the GPIO level to influence the VRC_CTRL node. Enabling the GPIO output driver while the PMC last-mile regulator is active is not a supported configuration and can disturb V15 regulation. This does not necessarily indicate an MCAL driver defect. PTE13/VRC_CTRL is a special-purpose pin that requires application-specific handling. The generic Port driver enables OBE when an output mode is requested, but it cannot determine whether the PMC regulator and the external ballast-transistor circuit are being used. Your proposed workaround is appropriate, provided that the resulting configuration leaves MSCR141[OBE] = 0: Use PORT_PIN_HIGH_Z. Use PORT_PIN_LEVEL_NOTCHANGED. Verify MSCR141[OBE] after Port_Init(). Do not subsequently configure PTE13 as a digital output while VRC_CTRL is active. The essential requirement is to keep the digital output buffer disabled. Best regards, Pavel Re: VRC_CTRL Clarification Hello Pavel, Thanks. The configuration shown in your screenshot appears to be correct. But the question is that the generated code will enable OBE bit, which is not expected. changing the CPU workload while keeping the clock configuration unchanged is generally easier to interpret than changing the core frequency. Could you please explain a bit on how to change CPU workload? Thanks. BR/Kumamon. Re: VRC_CTRL Clarification Hello Pavel, Thanks. Please note that MSCR141 is documented as not supported for this special-purpose direct signal. According to the following diagram, PTE13 is not necessarily VRC_CTRL, it can be any of other functions. I feel It is conflicting to the statement "MSCR141 is not supported". Could you please provide the exact MCAL/RTD version and the relevant generated configuration and initialization code that sets OBE? Also provide exact version of used S32K3 MCU. RTD Version: Configuration: Generated: Note: Sorry, I made a mistake in previous discussion. OBE is not set by Port_Ipw_SetOnlyOutputMode(), it shall be set in Siul2_Port_Ip_PinInit(). MCU: S32K322 Thanks. BR/Kumamon Re: VRC_CTRL Clarification Hello @kumamon , The configuration shown in your screenshot appears to be correct. Regarding the load-change measurement, this was only an optional suggestion for evaluating the regulator response. It is not required to verify the VRC_CTRL configuration. If such a test is desired, changing the CPU workload while keeping the clock configuration unchanged is generally easier to interpret than changing the core frequency. Best regards, Pavel Re: VRC_CTRL Clarification Hello @kumamon , I now understand your concern. Your configuration selects: Pin Direction = PORT_PIN_HIGH_Z Pin Level Value = PORT_PIN_LEVEL_NOTCHANGED Pin Mode = PG_VRC_CTRL_OUT Therefore, the digital output buffer is not expected to be enabled. If the generated code nevertheless sets OBE = 1, this behavior should be investigated in the MCAL Port configuration. Please note that MSCR141 is documented as not supported for this special-purpose direct signal. PTE13/VRC_CTRL is controlled by the PMC and should not require a normal SIUL2 output-buffer configuration. Accessing or modifying MSCR141 manually is therefore not a supported application method. Could you please provide the exact MCAL/RTD version and the relevant generated configuration and initialization code that sets OBE? Also provide exact version of used S32K3 MCU. Regarding the CPU workload, this was only an optional suggestion for observing the regulator response and is not required to verify the VRC_CTRL configuration. Best regards, Pavel Re: VRC_CTRL Clarification Hello Pavel, Thanks a lot for detailed explanation. The best way seems to be excluding PTE13 from MCAL port configuration completely. Our use-case is a little special: - In bootloader, most of the pins are configured as input (IBE = 1).   // and we do not want to change bootloader now. - in application, in order to make PTE13 perfectly untouched, I configure it to GPIO + HIGH_Z, so IBE can be cleared then. Question (Please forgive my verbosity): - According to previous discussion, "IBE = 1" will not impact VRC_CTRL function, right? I can keep IBE = 1? - If I configure PTE13 to GPIO + HIGH_Z to achieve perfect untouched state in application, it is also OK, right? Thanks BR/Kumamon Re: VRC_CTRL Clarification Hello @kumamon , I performed a detailed investigation. Here are the results: The Port configuration data and the resulting behavior are consistent between S32K3 RTD 4.0.0 and RTD 7.0.1. S32K3 Reference Manual: The statement that MSCR141 is not supported requires a clearer device-specific explanation. MSCR141 is not supported on S32K388 and S32K389, where PTE13 and the VRC_CTRL pin function are not defined. Configuration when PTE13 is used as VRC_CTRL: If PTE13 is used as the VRC_CTRL output of the PMC last-mile regulator, the pin does not need to be configured in the MCAL Port module. Configuration when PTE13 is used as GPIO or another peripheral function: In this case, the PMC VRC_CTRL function must not be active. This is particularly important for derivatives where the last-mile regulator is enabled after reset. The application must first configure the PMC supply appropriately before assigning PTE13 to a regular SIUL2 function. The two use cases should therefore be treated as mutually exclusive: VRC_CTRL use: Configure the PMC last-mile regulator. Leave PTE13 untouched by the MCAL Port module. GPIO or peripheral use: Disable or do not use the PMC last-mile regulator. Configure PTE13 through the MCAL Port module. Your measurements are consistent with this distinction. If the PMC VRC_CTRL function and the SIUL2 digital output buffer are active at the same time, the digital output path can influence the VRC_CTRL node and disturb the V15 regulation. This simultaneous configuration should therefore be avoided. Best regards, Pavel Re: VRC_CTRL Clarification Hello @kumamon , Thank you for clarifying your use case. Yes, IBE = 1 can remain enabled. Yes, you can configure PTE13 to GPIO + HIGH_Z. Just do not select PG_VRC_CTRL_OUT in the MCAL Port configuration. RTD classifies this mode as PORT_ONLY_OUTPUT_MODE, independently of the selected PortPinDirection and consequently enables the output buffer. Selecting PORT_PIN_HIGH_Z does not override this behavior for PG_VRC_CTRL_OUT. Best regards, Pavel Re: VRC_CTRL Clarification Hello @Pavel, Thank you for your effective, and detailed support. It is clear to me now, I will close this ticket. BR/Kumanon
View full article
优惠券无效 FRDM-MCXN236 还有其他人遇到免费板优惠券代码无法使用的问题吗? NXP 正在宣传赠送一块免费电路板供用户入门,但结账时优惠券代码显示无效,即使该产品显然有库存。这是系统故障吗?还有其他人遇到这个问题吗? 开发板 FRDM培训 Re: Coupon not valid FRDM-MCXN236 很遗憾,我们的市场营销团队通知我们,此优惠券已达到使用上限,不会再延长有效期。 优惠券将在未来几天内失效。由此给您带来的不便,我们深表歉意,并感谢您的理解。
View full article
スマートカードリーダーの便利な活用法は? 私のThinkPad T15にはスマートカードリーダーが搭載されているのに、1年間もそのことに気づかなかった。 何か面白い使い道はあるの?職場ではメールの暗号化にそれらを使用していますが、それは個人的な用途にはあまり適していません。きっと何か面白い使い道があるはずだ。 スマート・カード Re: Good uses for Smartcard Reader? お世話になります。 こちらはカスタマーサポートのファビアンです。 すでにご覧の通り、スマートカードリーダーは幅広い用途に対応しており、認証やアクセス制御はその中でも最も一般的なものです。ただし、リーダー自体はISO/IEC 7816-4規格に準拠した通信のみを提供する点にご注意ください。完全なソリューションを開発しスマートカードを運用するには、Lenovoの適切なミドルウェアやイネーブルメントソフトウェア、そして資格を持つカードプロバイダーのスマートカードが必要です。 追加のガイダンスについては、推奨ベンダーやソリューションプロバイダーについてはパートナー一覧をご参照ください。
View full article
MCUXpresso IDE v24.12 [版本 148] [2025-01-10] 不支持调试配置“变量”。 大家好, 我正在使用 MCUXpresso IDE v24.12.148 和 SEGGER J-Link 调试器。我的项目RSR1138_OSRAM_CONFIGURABLE有两个版本配置: 版本和版本 。 我的目标是创建一个单一的调试配置,使其能够根据当前激活的版本配置自动指向正确的.axf文件。目前,我有两个独立的调试配置,分别指向一个固定的路径( Debug\...axf或版本\...axf ),我希望将它们合并为一个。 我注意到在“调试配置”->“主”选项卡中,“C/C++应用程序”字段旁边有一个“变量...”按钮。在可用变量中,我找到了active_core_build_dir ,其描述为: “给定项目的活动核心版本配置的版本目录” 。 基于此,我对“C/C++ 应用程序”字段进行了如下修改: 文字 ${active_core_build_dir}/RSR1138_OSRAM_CONFIGURABLE.axf 我还将“启动前(如果需要)版本”->“版本配置” 设置 为“使用活动” 。 但是,当我用上市,不用发布此调试配置时,出现以下错误: 文字 'Launching RSR1138_OSRAM_CONFIGURABLE JLink Debug' has encountered a problem. Program file does not exist \RSR1138_OSRAM_CONFIGURABLE.axf not found \RSR1138_OSRAM_CONFIGURABLE.axf not found \RSR1138_OSRAM_CONFIGURABLE.axf not found 变量${active_core_build_dir}在“C/C++ 应用程序”字段中似乎没有正确展开,导致路径格式错误。 我的问题: 是否可以在调试配置的“C/C++ 应用程序”字段中使用${active_core_build_dir}或类似变量来创建动态路径? 如果可以,正确的语法或配置是什么? 如果不行,那么实现一个能够 根据当前版本配置 自动选择正确 .axf 文件的单一调试配置的推荐方法是什么 ? 我附上了两张截图: 其中一张图显示了插入变量后的调试配置以及由此产生的错误。 其中一张图显示了“选择变量”对话框,以及可用变量的列表。 感谢您的支持。 此致, 保罗·贝尔纳斯科尼 错误 Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] doesn't suppoert Debug Confguration "Variabl 嗨@pberna67 , 你看到的是该 IDE 的一个已知限制。该问题以及可能对您有效的解决方法已在此处描述: ${project_loc}在调试配置设置中无法展开 - NXP 社区 BR, 埃德温。 Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] doesn't suppoert Debug Confguration "Variabl 亲爱的埃德温 抱歉,您提供的链接并没有给出明确的解决方案。 我正在使用 MCUXpresso IDE v24.12 [版本 148] [2025-01-10] 。最新版本的MCUXpresso是否存在同样的IDE问题? 此致 Paolo Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] doesn't suppoert Debug Confguration "Variabl 亲爱的埃德温 抱歉,您提供的链接并没有给出明确的解决方案。 此致 Paolo
View full article
RT1160 Spread Spectrum crashing... Looking for help here, I've looked over all other forum posts, and followed everything I could find, but still getting crashes when trying to enable Spread Spectrum on a RT1160 MCU. As you can see from the screenshots, I've moved fsl_clock.o to RAM as well as *flexspi.o to RAM. You can see, using Segger Ozone, exactly where the crash occurs, along with the generated exception and exception register settings. Any idea what's wrong here? Re: RT1160 Spread Spectrum crashing... Hi @application_ninja, Although you've moved fsl_clock.o to RAM, the function SDK_DelayAtLeastUs() is located on fsl_common_arm.o, which is still flash resident. At least, all of the call chain that performs the change for the clock should be located on the internal RAM. This is why on AN12879 (How to Enable Spread Spectrum for RT Family) all of the code was loaded either on ITCM or DTCM. Re: RT1160 Spread Spectrum crashing... Thank you for the response, however moving fsl_common_arm.o still causes the device to crash. This time however it does get past "SDK_DelayAtLeastUs", but the crash is a very hard one and the debugger does not stop to note where the crash occurs. The program is quite large and I cannot run it all from ITCM / DTCM.
View full article
智能卡读卡器有哪些好用途? 我的 Thinkpad T15 笔记本电脑配备了智能卡读卡器,而我竟然一年后才知道。 它有什么很棒的用途吗?在工作中,我们用它们来加密邮件,但这并不是用于私人用途的。我相信它肯定有很多好玩的用途。 Smart Card Re: Good uses for Smartcard Reader? 您好,先生, 我是客服部的 Fabian。 您可能已经看到,智能卡读卡器支持多种应用,其中身份验证和访问控制是最常见的应用之一。但是请注意,该读卡器本身仅提供符合 ISO/IEC 7816-4 标准的通信。要开发完整的解决方案并运行智能卡,您需要联想提供的相应中间件或启用软件,以及来自合格卡提供商的智能卡。 如需更多指导,请参阅我们的合作伙伴目录,了解推荐的供应商和解决方案提供商。
View full article
MCUXpresso IDE v24.12 [ビルド148] [2025-01-10] はDebug Confguration「変数」をサポートしません こんにちは、みんな、 私はMCUXpresso IDE v24.12.148とSEGGER J-Linkデバッガを使用しています。私のプロジェクトRSR1138_OSRAM_CONFIGURABLE には、Debug と Releaseの 2つのビルド構成があります 。 私の目標は、 アクティブなビルド構成に基づいて 適切な .axf ファイルを自動的に指定する 単一のデバッグ構成を 作成することです。現在、それぞれ固定パス (Debug\...axf または Release\...axf) を指す 2 つのデバッグ構成がありますが 、これらを 1 つに統合したいと考えています。 Debug Configurations -> Main タブの「C/C++ Application」フィールドの隣に 「Variables...」 というボタンがあること に気づ きました 。「」ボタンです。利用可能な変数の中には active_core_build_dir があり 、その説明は「 指定されたプロジェクトのアクティブCore Build構成のビルドディレクトリ」 です 。 これを踏まえて、「C/C++アプリケーション」フィールドを次のように修正しました。 文章 ${active_core_build_dir}/RSR1138_OSRAM_CONFIGURABLE.axf また、 「起動前にビルド(必要な場合)」→「ビルド構成」を 「アクティブを使用」 に 設定しました 。 しかし、このデバッグ構成を起動すると、次のエラーが発生します。 文章 'Launching RSR1138_OSRAM_CONFIGURABLE JLink Debug' has encountered a problem. Program file does not exist \RSR1138_OSRAM_CONFIGURABLE.axf not found \RSR1138_OSRAM_CONFIGURABLE.axf not found \RSR1138_OSRAM_CONFIGURABLE.axf not found 「 C/C++ Application」フィールドで 変数${active_core_build_dir} が正しく展開 されておらず、誤ったパスができているようです。 私の質問: ${active_core_build_dir}デバッグ構成の「C/C++ Application」フィールドで や類似の変数を使って動的パスを作成する ことは 可能でしょうか ? はいの場合、それを機能させるための正しい構文または設定は何ですか? そうでない場合、 アクティブなビルド構成に基づいて 適切な .axf ファイルを自動的に選択する単一のデバッグ構成を実現するための推奨される方法は何ですか ? スクリーンショットを2枚添付しました。 1つ目は、変数を挿入したデバッグ構成と、それによって発生したエラーを示すものです。 使用可能な変数の一覧が表示された「変数の選択」ダイアログを表示した画像。 再開まで今しばらくお待ちください。 よろしくお願いします、 パオロ・ベルナスコニ エラー Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] doesn't suppoert Debug Confguration "Variabl こんにちは、@pberna67 さん。 あなたが見ているのはIDEの既知の制限です。問題と、あなたに合うであろう回避策はこちらに説明されています: ${project_loc}はDebug Configurations設定で展開しません - NXPコミュニティ BR、 エドウィン。 Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] doesn't suppoert Debug Confguration "Variabl エドウィン様 申し訳ありませんが、ご指摘のリンク先には明確な解決策は示されていません。 私はMCUXpresso IDE v24.12[ビルド148][2025-01-10]を使っています。最新バージョンのMCUXpressoも同じIDEの問題を抱えていますか? よろしくお願いします。 パオロ Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] doesn't suppoert Debug Confguration "Variabl エドウィン様 申し訳ありませんが、ご指摘のリンク先には明確な解決策は示されていません。 よろしくお願いします。 パオロ
View full article
MCUXpresso IDE v24.12 [Build 148] [2025-01-10] doesn't suppoert Debug Confguration "Variables" Hello everyone, I am using MCUXpresso IDE v24.12.148 with a SEGGER J-Link debugger. My project, RSR1138_OSRAM_CONFIGURABLE, has two build configurations: Debug and Release. My goal is to have a single Debug Configuration that automatically points to the correct .axf file based on the active build configuration. Currently, I have two separate Debug Configurations, each pointing to a fixed path (Debug\...axf or Release\...axf), and I want to merge them into one. I noticed that in the Debug Configurations -> Main tab, next to the "C/C++ Application" field, there is a "Variables..." button. Among the available variables, I found active_core_build_dir, whose description is: "The build directory for the active Core Build configuration for the given project". Based on this, I modified the "C/C++ Application" field as follows: text ${active_core_build_dir}/RSR1138_OSRAM_CONFIGURABLE.axf I also set the "Build (if required) before launching" -> Build Configuration to "Use Active". However, when I launch this Debug Configuration, I get the following error: text 'Launching RSR1138_OSRAM_CONFIGURABLE JLink Debug' has encountered a problem. Program file does not exist \RSR1138_OSRAM_CONFIGURABLE.axf not found \RSR1138_OSRAM_CONFIGURABLE.axf not found \RSR1138_OSRAM_CONFIGURABLE.axf not found It seems that the variable ${active_core_build_dir} is not being expanded correctly in the "C/C++ Application" field, resulting in a malformed path. My questions: Is it possible to use ${active_core_build_dir} or a similar variable in the "C/C++ Application" field of a Debug Configuration to create a dynamic path? If yes, what is the correct syntax or configuration to make it work? If not, what is the recommended way to achieve a single Debug Configuration that automatically selects the correct .axf file based on the active build configuration? I have attached two screenshots: One showing the Debug Configuration with the variable inserted and the resulting error. One showing the "Select Variable" dialog with the list of available variables. Thank you for your support. Best regards, Paolo Bernasconi Error Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] doesn't suppoert Debug Confguration "Variabl Hi @pberna67, What you are seeing is a known limitation for the IDE. The issue, as well as a workaround that would likely work for you, is described here: ${project_loc} doesn't expand in Debug Configurations settings - NXP Community BR, Edwin. Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] doesn't suppoert Debug Confguration "Variabl Dear Edwin Sorry but the link at which you are referring to doesn't not indicate a clear solution.  I'm using MCUXpresso IDE v24.12 [Build 148] [2025-01-10]. Has the latest version of MCUXpresso the same IDE problem ? Regards Paolo Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] doesn't suppoert Debug Confguration "Variabl Dear Edwin Sorry but the link at which you are referring to doesn't not indicate a clear solution.  Regards Paolo
View full article
クーポンは無効です FRDM-MCXN236 無料ボードのクーポンコードで問題が発生している方はいらっしゃいますか? NXPは無料ボードを宣伝していますが、製品の在庫があるのにチェックアウト時にクーポンコードが無効と表示されます。これはシステム上の不具合でしょうか?他にも同じ問題が発生している方はいらっしゃいますか? 公開板 FRDM培训 Re: Coupon not valid FRDM-MCXN236 残念ながら、弊社のマーケティングチームから、このクーポンは既に利用期限に達しており、これ以上の延長はできないとの連絡を受けました。 このクーポンは今後数日以内に削除されます。ご迷惑をおかけして申し訳ございませんが、ご理解いただけますようお願い申し上げます。
View full article
RT1160 扩频器崩溃了…… 我正在寻求帮助,我已经查看了所有其他论坛帖子,并按照我能找到的所有方法操作,但在尝试在 RT1160 MCU 上启用扩频时仍然会崩溃。 从截图中可以看到,我已经移动了 fsl_clock.o到 RAM 以及 *flexspi.o写入内存。 使用 Segger Ozone,您可以准确地看到崩溃发生的位置,以及生成的异常和异常寄存器设置。 知道这里出了什么问题吗? Re: RT1160 Spread Spectrum crashing... 嗨@application_ninja , 虽然你已经移动了 fsl_clock.o向 RAM 传输数据时,函数 SDK_DelayAtLeastUs() 位于 fsl_common_arm.o 文件中。它仍然驻留在闪存中。至少,所有用于更改时钟的调用链都应该位于内部 RAM 中。这就是为什么在 AN12879(如何为 RT 系列启用扩频)中,所有代码都加载在 ITCM 或 DTCM 上的原因。 Re: RT1160 Spread Spectrum crashing... 感谢您的回复,但是需要移动 fsl_common_arm.o仍然会导致设备崩溃。但这一次它确实通过了“SDK_DelayAtLeastUs”,但崩溃非常严重,调试器不会停下来记录崩溃发生的位置。 该程序非常庞大,我无法在 ITCM / DTCM 中全部运行。
View full article
RT1160スペクトラム拡散方式がクラッシュしています... ここで助けを求めています。他のフォーラムの投稿もすべて見て、見つけられるものはすべて追いましたが、RT1160 MCUでSpread Spectrumを有効にしようとするとクラッシュが起き続けます。 スクリーンショットを見ればわかるように、私はfsl_clock.oを移動しましたRAMと*flexspi.oにもRAMへ。 Segger Ozoneを使うと、クラッシュが起きる正確な場所と、生成された例外および例外レジスタの設定を確認できます。 何が問題なのか分かりますか? Re: RT1160 Spread Spectrum crashing... こんにちは、 @application_ninja さん。 fsl_clock.o を移動しましたがRAM への関数 SDK_DelayAtLeastUs() は fsl_common_arm.o にあります。これは依然としてフラッシュメモリに常駐しています。少なくとも、クロックの変更を行うコールチェーン全体は、内部RAM上に配置されるべきである。そのため、AN12879(RTファミリのスペクトラム有効化方法)では、すべてのコードがITCMまたはDTCMのいずれかに読み込まれていました。 Re: RT1160 Spread Spectrum crashing... ご回答ありがとうございます。ただし、fsl_common_arm.o を移動します。それでもデバイスがクラッシュする原因となる。しかし今回は「SDK_DelayAtLeastUs」は通過するものの、非常に深刻なクラッシュが発生し、デバッガーはクラッシュが発生した場所を記録するために停止しません。 プログラムはかなり大きく、ITCMやDTCMからはすべてを動かすことはできません。
View full article
Good uses for Smartcard Reader? My Thinkpad T15 has a smartcard reader and I didn’t even know for a year. Is there some cool use for it? At work we use those to encrypt mails but that’s not really something for private use. I’m sure there must be cool things to do with it. Smart Cards Re: Good uses for Smartcard Reader? Hello Sir, This is Fabian from Customer Support. As you may have already seen, smart card readers support a wide range of applications, with authentication and access control being among the most common. However, please note that the reader itself only provides communication compliant with the ISO/IEC 7816-4 standard. To develop a complete solution and operate smart cards, you will need appropriate middleware or enablement software from Lenovo, as well as smart cards from a qualified card provider. For additional guidance, please refer to our Partner Directory for recommended vendors and solution providers.
View full article
Coupon not valid FRDM-MCXN236 Is anyone else having trouble with the free board coupon code? NXP is advertising a free board to get started, but the coupon code is showing as invalid during checkout, even though the product is clearly in stock. Is this a system glitch? Is anyone else experiencing this issue? 开发板 FRDM 培训 Re: Coupon not valid FRDM-MCXN236 Unfortunately, our marketing team has informed us that this coupon has already reached its usage limit and will not be extended further. The coupon will be removed within the next couple of days. We apologize for any inconvenience this may cause and thank you for your understanding.
View full article
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
View full article
MCUXpresso IDE v24.12 [Build 148] [2025-01-10] debug attach without .AXF image download Dear Support I need to use the MCUXpresso debugger (JLINK) without download the .AXF image (I need to reprogram some flash sector on runtime), so I deselected the "Load image" option (see attached image). It works but is not possible to restart the program to the main  even if the related checkbox in the Debug Configuration -> Startup is selected. Is it possible to restart the program assuming that no change is done in the flash memory even if .AXF is not loaded ? Regard Paolo Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] debug attach without .AXF image download Hi @pberna67, Note entirely sure if this would be the proper workaround for your situation, but "using the debugger without downloading the .axf image" sounds like doing an 'attach' instead of a 'debug'. On the quick start panel, select the JLink icon dropdown, and then click on the attach option: Keep in mind that this changes the configuration used, so every subsequent time you click on the JLink icon from the quickstart panel, an attach will automatically be done again. BR, Edwin. Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] debug attach without .AXF image download It works and and woks also the restart button! Thanks
View full article
选择用于 PXI 控制器的 MPU 我想创建一个开源的 PXI 机箱控制器(如果有人不知道的话,它基本上是一个 ARM 单板计算机,通过 PCIe 连接到背板,外围 PXI 模块也做同样的事情,但使用的是 PCIe EP 而不是 RC)。 所以,我需要一个可以运行linux发行版的MPU,例如:Ubuntu 系统在图形模式下运行,性能良好,因为上面会运行一些专用软件,例如:LabVIEW 和自定义外围模块控制实用程序,每秒可处理 Gb 的原始数据。它还应该至少有 2 个独立的 PCIe RC,这是 PXI 规范所要求的,而且速度越快越好:如果速度足够快,例如,就可以实现以下功能:将原始数据连续地馈送到射频 AWG 的 DAC,不受 AWG 内存大小的限制。如果能连接大量 LPDDR4 内存就太好了,不只是普通的 32 位总线,而是 64 位以上的总线。 TI 的新款 Am69a 看起来很棒,但似乎价格不菲,而且它非常新,所以没有完整的勘误表、软件示例、驱动程序等等——对于我这个硬件开发人员来说,编程只是业余爱好,感觉挑战太大了。 另一种选择是瑞芯微RK3588,它价格更便宜,也更老一些,但是它的PCIe速度太慢,只有2x2 Gen 3。我当然可以接受,但是……也许您有更好的想法,或者最近做过类似的事情?很想听听他们的想法。 🙂 USB Re: Choosing an MPU for PXI controller 您好, 感谢您对恩智浦半导体产品的关注, 对于 PCIe 要求,工业处理器中的最新 PCIe 代数为 Gen 3。LS2048/88A 具有 4 个 PCIe 控制器(Gen3),支持 1x8、4x4、4x2、4x1 通道配置,而 LX2160A 最多有 24 条 PCIe Gen3 通道,支持高达 x8 的端口。Layerscape 还拥有卓越的以太网连接性能,能够处理超过几 Gbps 的数据。DDR 也能够满足 2 个分别为 64 位和 72 位的控制器,但是它们运行在 DDR4 上。 https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/layerscape-processors:QORIQ-ARM 另一个缺点是它们不能原生运行图形界面,工业图形处理器是 i.MX 处理器,它们运行在 32 位 DDR 上,最高支持 10 Gbps 以太网,最高支持 2 个 PCIe Gen 3,但它们可以运行图形。 此致
View full article
MCUXpresso IDE v24.12 [版本 148] [2025-01-10] 无需下载 .AXF 镜像即可进行调试附加 尊敬的支持人员: 我需要使用 MCUXpresso 调试器 (JLINK),但不能下载 .AXF 映像(我需要在运行时重新编程一些闪存扇区),所以我取消选择了“加载映像”选项(见附件图片)。程序可以运行,但无法重新启动到主程序。 即使已选中“调试配置 -> 启动”中的相关复选框。 即使未加载 .AXF 文件,是否可以在假设闪存未发生任何更改的情况下重新启动程序? 问候 Paolo Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] debug attach without .AXF image download 嗨@pberna67 , 我不太确定这是否是适合您情况的正确解决方法,但是“在不下载 .axf 文件的情况下使用调试器”。“图片”听起来像是执行“附加”操作而不是“调试”操作。 在快速启动面板中,选择 JLink 图标下拉菜单,然后单击“附加”选项: 请记住,这将更改所使用的配置,因此每次您从快速入门面板单击 JLink 图标时,都会自动再次执行连接。 BR, 埃德温。 Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] debug attach without .AXF image download 它能用,而且重启按钮也能用! 谢谢!
View full article
MCUXpresso IDE v24.12 [ビルド148] [2025-01-10] デバッグを付けずに添付します。AXFイメージダウンロード 親愛なるサポートへ MCUXpressoデバッガ(JLINK)を使わなければ、.AXFイメージをダウンロードせずに使う必要があります。(実行時にフラッシュセクターを再プログラムする必要があるため)、「イメージをロード」オプションを選択しないようにしました(添付画像参照)。動作はするが、プログラムをメイン画面に再起動することはできない。 デバッグ構成 > 起動の関連チェックボックスが選択されている場合でも同様です。 .AXFファイルがロードされていなくても、フラッシュメモリに変更が加えられていないことを前提として、プログラムを再起動することは可能ですか? 敬具 パオロ Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] debug attach without .AXF image download こんにちは、@pberna67 さん。 これがあなたの状況に適切な回避策かどうかは確信が持てませんが、「.axf ファイルをダウンロードせずにデバッガーを使用する」という方法があります。「image」は「デバッグ」ではなく「アタッチ」をしているように聞こえます。 クイックスタートパネルで、JLinkアイコンのドロップダウンを選択し、次に「接続」オプションをクリックします。 この設定は変更されるため、クイックスタートパネルからJLinkアイコンをクリックするたびに、自動的に再度アタッチが行われます。 BR、 エドウィン。 Re: MCUXpresso IDE v24.12 [Build 148] [2025-01-10] debug attach without .AXF image download ちゃんと動作しますし、再起動ボタンも動作します! よろしくお願いします。
View full article
VRC_CTRLに関する説明 こんにちは、NXPサポートの皆さん、 S32K3のVRC_CTRL(PTE13)についていくつか質問させてください。 (1) RMがVRC_CTRL直接信号だと言及していますが、以下の表(赤字)の理解や質問を確認してください。 ALTx OBE IBE VRC_CTRL 質問 汎用I/O (GPIO) ディセーブルされる ディセーブルされる イネーブル VRC_CTRLは有効になりますよね? 汎用I/O (GPIO) ディセーブルされる イネーブル イネーブル VRC_CTRLは引き続き有効ですよね? 汎用I/O (GPIO) イネーブル 気にしない イネーブル 誰に効力が及ぶのか? (2)PTE13をGPIO + OBE有効 + 出力レベル低 に設定すると 、VRC_CTRLがエラー信号として扱われるため、VRC_CTRLの負帰還メカニズムが壊れ、GPIOとVRC_CTRLが同時にピンを駆動するようになるのでしょうか? (3)NXP MCALでは、PTE13をPG_VRC_CTRL_OUTとして設定すれば、関数Port_Ipw_SetOnlyOutputMode()によってOBEが自動的に設定されますが、これはMCALの問題でしょうか? (4)VRC_CTRLフィードバック機構のテスト方法、どの条件下でどのような波形が期待されるか? (5)MSCR141がRMで「サポートされていません」と記載されているのはなぜですか? ありがとうございます。 BR Re: VRC_CTRL Clarification こんにちは、パベルさん。 詳細なご回答をありがとうございました。 ラストマイルレギュレータで使用されている間は、VRC_CTRLをGPIO出力として設定したり、強制的に使用したりしないでください。特に、GPIO出力レベルをLowに設定することは、レギュレータを無効化または制御する正しい方法ではありません。 VRC_CTRLが有効になっている場合とOBEが同時に有効になっている場合、どうなりますか?PTE13には中級レベルが設けられるかもしれない。 ダイレクト信号とSIUL2出力多重の両方の合計駆動経路を示す図はどこで見つかりますか? 以下は私の測定値です。VRC_CTRLが有効になると、GPIO出力がPTE13に影響を与えることがあります。 検証のためには、起動時および負荷変動時に、V15とVRC_CTRLを同時に測定する必要があります。 負荷変更をトリガーするにはどうすればいいですか?コアの周波数を切り替えることでできますか?   MSCR141は「サポート対象外」と記載されています。これは、PTE13/VRC_CTRLが通常のSIUL2出力多重化パスではなく、PMCからの直接接続を使用するためです。したがって、MSCR141はVRC_CTRL機能の制御に使用してはなりません。 ここでよく理解できなかったのですが、少なくとも無効GPIO141無効VRC_CTRL使えるのに、なぜRMはMSCR141サポートしていないとだけ書いているのでしょうか? 実はデバッガーからMSCR141にアクセスできて、そこで設定を切り替えられます。 Port_Ipw_SetOnlyOutputMode() に関して言えば、この関数が呼び出されたという事実だけでは、PMC レギュレータが影響を受けていることを証明するものではありません。 すみません、あなたの言いたいことがよく分かりませんでした。 実際、これが私がこの質問をした主な理由です。MCALポートモジュールでPTE13 PinModeをPG_VRC_CTRL_OUTに設定すると、次のコードが生成されます。 #define SIUL2_0_PORT141_PG_VRC_CTRL_OUT (PORT_ONLY_OUTPUT_MODE) Port_Ipw_SetOnlyOutputMode() will be called and “OBE” bit will set in this function.​ MCALのバグかもしれません。PG_VRC_CTRL_OUTモードが誤ってOBEを有効にしている可能性があります。 確認を手伝ってもらえますか? GPIO + PORT_PIN_HIGH_Z + PORT_PIN_LEVEL_NOTCHANGE に設定することは回避策だと思いますか?この場合、PTE13のMSCR141は確実に0(OBE = 0)になることが保証されます。 よろしくお願いいたします。 くまモン Re: VRC_CTRL Clarification こんにちは、 @kumamon さん。 主な誤解は、VRC_CTRLが通常のSIUL2/GPIO出力として扱われていることにあると思います。 VRC_CTRLは、PMCラストマイルレギュレータの直接出力です。外部バラストトランジスタ電源オプションを使用すると、PMCはV15ドメインを監視し、外部NPNトランジスタのベースにコネクテッドされたVRC_CTRLを調整します。これにより閉鎖されたアナログフィードバックループが形成されます。したがって、VRC_CTRLは通常のGPIO出力データレジスタを介して制御されるものではありません。 このため、表中のGPIO ALTx、IBE、OBEの組み合わせはVRC_CTRL関数には適用されません。 IBEはデジタル入力バッファのみを制御し、V15レギュレータのフィードバックループには関与しません。 ラストマイルレギュレータで使用されている間は、VRC_CTRLをGPIO出力として設定したり、強制的に使用したりしないでください。特に、GPIO出力レベルをLowに設定することは、レギュレータを無効化または制御する正しい方法ではありません。 ラストマイルレギュレータは、PMC_CONFIG[LMBCTLEN]フィールドや、デバイス固有のPMCの章に記載されている初期化シーケンスなど、PMCによって制御されます。 VRC_CTRLはデジタルステータス出力ではなくアナログ制御信号です。したがって、すべてのデザインに適用される単一の固定波形は存在しません。その電圧は外部トランジスタ、V15負荷、電源電圧、外部静電容量、動作モードに依存します。検証のためには、起動時および負荷変動時に、V15とVRC_CTRLを同時に測定する必要があります。期待される結果は、VRC_CTRLが必要に応じて外部トランジスタを調整している間、V15が規定の動作範囲内に留まることです。 MSCR141は「サポート対象外」と記載されています。これは、PTE13/VRC_CTRLが通常のSIUL2出力多重化パスではなく、PMCからの直接接続を使用するためです。したがって、MSCR141はVRC_CTRL機能の制御に使用してはなりません。 Port_Ipw_SetOnlyOutputMode() に関して言えば、この関数が呼び出されたという事実だけでは、PMC レギュレータが影響を受けていることを証明するものではありません。 また、リセット動作は導関数に固有のものであることにご注意ください。例えば、S32K3x8(およびS32K356)PMCはデバイス固有のCONFIGリセット値が0x00000083なので、リセット後にラストマイルレギュレーター構成が有効になります。これは、LMBCTLENを明示的に有効にする必要がある場合がある古いS32K3派生版から一般化して適用すべきではありません。 よろしくお願いいたします。 パベル Re: VRC_CTRL Clarification こんにちは、 @kumamon さん。 寸法を教えていただきありがとうございます。彼らは設定MSCR141[OBE] = 1)がデジタル出力ドライバーを有効にし、GPIOレベルがVRC_CTRLノードに影響を与えることを確認しています。PMCラストマイルレギュレータがアクティブな状態でGPIO出力ドライバーを有効にするのはサポートされていない構成であり、V15の規制を乱す可能性があります。 これは必ずしもMCALドライバの欠陥を示すものではありません。PTE13/VRC_CTRLは、用途ごとに取り扱う必要がある特殊なピンです。汎用ポートドライバは出力モードが要求されるとOBEを有効にしますが、PMCレギュレーターと外部バラストトランジスタ回路が使用されているかどうかを判別できません。 提案された回避策は、結果としてMSCR141[OBE] = 0となる構成であれば適切です。 PORT_PIN_HIGH_Zを使用してください。 PORT_PIN_LEVEL_NOTCHANGED を使用してください。 Port_Init() の後に MSCR141[OBE] を確認してください。 VRC_CTRLがアクティブな間は、PTE13をデジタル出力として設定しないでください。 必須条件は、デジタル出力バッファを無効にしておくことです。 よろしくお願いいたします。 パベル Re: VRC_CTRL Clarification こんにちは、パベルさん。 ご回答ありがとうございます。 汎用ポートドライバは出力モードが要求されるとOBEを有効にします。 次の図において、 PG_VRC_CTRL_OUT以外の設定で「出力モード」を導入するものはどれかご存知ですか?申し訳ありませんが、MCAL PortがPG_VRC_CTRL_OUTを誤って出力モードにマッピングしているように感じます。 検証のためには、起動時および負荷変動時に、V15とVRC_CTRLを同時に測定する必要があります。 負荷変更をトリガーするにはどうすればいいですか?コアの周波数を切り替えることでできますか?   ありがとうございます。 BR/くまモン Re: VRC_CTRL Clarification こんにちは、 @kumamon さん。 あなたの懸念は理解できました。設定で選択する内容: ピン方向 = ポートピンHIGH_Z ピンレベル値 = PORT_PIN_LEVEL_NOTCHANGED ピンモード = PG_VRC_CTRL_OUT したがって、デジタル出力バッファは有効にされないことが想定されます。生成されたコードがそれでもOBE = 1に設定してしまう場合は、MCALポートの設定でこの動作を調査する必要があります。 MSCR141は、この特殊用途の直接信号には対応していないことが文書で明記されていることにご注意ください。PTE13/VRC_CTRLはPMCによって制御されるため、通常のSIUL2出力バッファ構成は必要ありません。したがって、手動でMSCR141にアクセスしたり変更したりすることは、サポートされた適用方法ではありません。 正確なMCAL/RTDバージョンと、OBEを設定する生成された設定および初期化コードも教えていただけますか?また、中古のS32K3 MCUの正確なバージョンも教えてください。 CPUの負荷に関しては、これはレギュレータの応答を観察するためのオプションの提案に過ぎず、VRC_CTRL構成を検証するために必須ではありません。 よろしくお願いいたします。 パベル Re: VRC_CTRL Clarification こんにちは、パベルさん。 ありがとうございます。 スクリーンショットに示されている設定は正しいようです。 しかし問題は、生成されたコードがOBEビットを有効にしてしまうことであり、これは想定外のことだ。 クロック構成を変更せずにCPUのワークロードを変更する方が、コア周波数を変更するよりも一般的に解釈しやすい。 CPUワークロードを変更する方法について少し説明してもらえますか? ありがとうございます。 BR/くまモン。 Re: VRC_CTRL Clarification こんにちは、パベルさん。 ありがとうございます。 MSCR141は、この特殊用途の直接信号には対応していないことが文書で明記されていることにご注意ください。 以下の図によると、PTE13は必ずしもVRC_CTRLではなく、他のどの関数でもなり得ます。「MSCR141はサポートされていません」という記述と矛盾しているように感じます。 正確なMCAL/RTDバージョンと、OBEを設定する生成された設定および初期化コードも教えていただけますか?また、中古のS32K3 MCUの正確なバージョンも教えてください。 RTDバージョン: 構成: 生成: 注:申し訳ありません、前回の議論で間違いがありました。OBEはPort_Ipw_SetOnlyOutputMode()では設定されず、Siul2_Port_Ip_PinInit()で設定する必要があります。 MCU:S32K322 ありがとうございます。 BR/くまモン Re: VRC_CTRL Clarification こんにちは、 @kumamon さん。 スクリーンショットに示されている設定は正しいようです。 負荷変動測定に関しては、これはレギュレータの応答を評価するためのオプションの提案にすぎませんでした。VRC_CTRLの設定を検証する必要はありません。そのようなテストが必要な場合、クロック構成を変更せずにCPUのワークロードを変更する方が、コア周波数を変更するよりも一般的に解釈しやすい。 よろしくお願いいたします。 パベル Re: VRC_CTRL Clarification こんにちは、パベルさん。 詳しい説明をありがとうございました。 最も良い方法は、MCALポートの設定からPTE13を完全に除外することのようです。 私たちのユースケースは少し特別です: ブートローダーでは、ほとんどのピンが入力(IBE = 1)として設定されています。// そして、現時点ではブートローダーを変更したくありません。 - アプリケーション上、PTE13を完全に手つかずにするためにGPIO + HIGH_Zに設定し、その時にIBEをクリアできるようにしています。 質問(長々と書いてしまってすみません) : - 前回の議論によると、「IBE = 1」はVRC_CTRL関数に影響を与えない、ということですよね?IBE=1のままにしてもいいですか? - PTE13をGPIO + HIGH_Zに設定してアプリケーションで完璧な未修正状態を達成しても問題ないですよね? よろしくお願いします。 BR/くまモン Re: VRC_CTRL Clarification こんにちは、 @kumamon さん。 私は詳細な調査を行った。結果は以下のとおりです。 S32K3 RTD 4.0.0とRTD 7.0.1の間で、ポート構成データとそれに伴う動作は一貫しています。 S32K3 リファレンスマニュアル: MSCR141サポートされていないという声明には、より明確なデバイスごとの説明が必要です。MSCR141は、PTE13およびVRC_CTRLピン機能が定義されていないS32K388およびS32K389ではサポートされていません。 PTE13をVRC_CTRLとして使用する場合の構成: PTE13をPMCラストマイルレギュレータのVRC_CTRL出力として使用する場合、MCALポートモジュールでピンを構成する必要はありません。 PTE13をGPIOや他のペリフェラル機能として使用する場合の構成: この場合、PMCのVRC_CTRL機能はアクティブであってはなりません。これは、リセット後に最終段階の規制当局が有効になるデリバティブ商品にとって特に重要です。アプリケーションは通常のSIUL2関数にPTE13を割り当てる前に、まずPMC電源を適切に設定する必要があります。 したがって、この2つのユースケースは相互に排他的として扱うべきです。 VRC_CTRL の使用法: PMCラストマイルレギュレータを設定します。 MCALポートモジュールはPTE13には手を加えないでください。 GPIOまたはペリフェラルの使用: PMCラストマイルレギュレーターを無効にするか、使用しないでください。 MCALポートモジュールを介してPTE13を設定します。 あなたの測定結果はこの区別と一致しています。PMC VRC_CTRL機能とSIUL2デジタル出力バッファが同時に作動している場合、デジタル出力経路がVRC_CTRLノードに影響を与え、V15の制御を乱す可能性があります。したがって、このような同時構成は避けるべきである。 よろしくお願いいたします。 パベル Re: VRC_CTRL Clarification こんにちは、@Pavel さん。 効果的で詳細なサポートに感謝します。 これで明確になりましたので、このチケットはクローズします。 BR/クマノン Re: VRC_CTRL Clarification こんにちは、 @kumamon さん。 利用ケースを明確にしてくれてありがとうございます。 はい、IBE = 1は有効のままにできます。 はい、PTE13をGPIO + HIGH_Zに設定できます。 MCALポートの設定でPG_VRC_CTRL_OUTを選択しないようにしてください。RTDは、選択されたPortPinDirectionに関係なく、このモードをPORT_ONLY_OUTPUT_MODEとして分類し、結果として出力バッファを有効にします。PORT_PIN_HIGH_Zを選択しても、PG_VRC_CTRL_OUTのこの動作は上書きされません。 よろしくお願いいたします。 パベル
View full article
VRC_CTRL 说明 您好,NXP技术支持, 我想问一些关于 S32K3 的 VRC_CTRL (PTE13) 的问题。 (1)RM提到VRC_CTRL是直接信号,请您核对下表(红色字体)中的理解/问题? ALTx OBE IBE VRC_CTRL 问题 通用IO 禁用 禁用 已启用 VRC_CTRL 会生效,对吗? 通用IO 禁用 已启用 已启用 VRC_CTRL 仍然会生效,对吗? 通用IO 已启用 不在乎 已启用 谁将负责执行? (2)如果我们配置 PTE13 为 GPIO + OBE 使能 +输出电平低,VRC_CTRL 负反馈机制是否会被破坏,因为 VRC_CTRL 被视为错误信号,而现在 GPIO 和 VRC_CTRL 可能同时驱动该引脚? (3)在 NXP MCAL 中,只要我将 PTE13 配置为 PG_VRC_CTRL_OUT,OBE 就会通过函数Port_Ipw_SetOnlyOutputMode()自动设置,这是 MCAL 的问题吗? (4)如何测试 VRC_CTRL 反馈机制,在什么情况下预期会产生什么样的波形? (5)为什么 RM 中将 MSCR141 记录为“不支持”? 谢谢。 BR Re: VRC_CTRL Clarification 你好,帕维尔, 非常感谢您的详细解答。 当 VRC_CTRL 被最后一公里稳压器使用时,不应将其配置或强制为 GPIO 输出。具体来说,将 GPIO 输出电平设置为低电平并不是禁用或控制稳压器的正确方法。 如果同时启用 VRC_CTRL 和 OBE 会发生什么情况?PTE13或许会设立中级水平? 哪里可以找到描述直接信号和 SIUL2 输出复用组合驱动路径的图表? 以下是我的测量结果。可以看到,当 VRC_CTRL 启用时,GPIO 输出会对 PTE13 产生一些影响。 为了进行验证,应在启动和负载变化期间同时测量 V15 和 VRC_CTRL。 如何触发负载变化?是通过切换磁芯频率吗?   MSCR141 被记录为“不支持”,因为 PTE13/VRC_CTRL 使用来自 PMC 的直接连接,而不是正常的 SIUL2 输出复用路径。因此,MSCR141 不能用于控制 VRC_CTRL 功能。 这里我不太明白,至少在 VRC_CTRL 被禁用时可以使用 GPIO141,为什么 RM 只提到不支持 MSCR141? 实际上,我可以从调试器访问 MSCR141,并且可以在那里更改设置。 关于 Port_Ipw_SetOnlyOutputMode(),调用此函数本身并不能证明 PMC 调节器受到影响。 抱歉,我没明白你的意思。 实际上,这就是我提出这个问题的主要原因,当我在 MCAL 端口模块中将 PTE13 PinMode 配置为 PG_VRC_CTRL_OUT 时,将生成以下代码。 #define SIUL2_0_PORT141_PG_VRC_CTRL_OUT (PORT_ONLY_OUTPUT_MODE) Port_Ipw_SetOnlyOutputMode() will be called and “OBE” bit will set in this function.​ 我认为这可能是 MCAL 的一个 bug,PG_VRC_CTRL_OUT 模式错误地启用了 OBE。 请问您能帮忙查一下吗? 您认为将其配置为 GPIO + PORT_PIN_HIGH_Z + PORT_PIN_LEVEL_NOTCHANGE是否可以作为一种变通方法,在这种情况下,可以保证 PTE13 的 MSCR141 为 0 (OBE = 0)? 顺祝商祺! 熊本 Re: VRC_CTRL Clarification 你好@kumamon , 我认为主要的误解在于将 VRC_CTRL 视为常规的 SIUL2/GPIO 输出。 VRC_CTRL 是 PMC 末端调节器的直接输出。当使用外部镇流晶体管供电选项时,PMC 会监测 V15 功能域并调整 VRC_CTRL,VRC_CTRL 连接到外部 NPN 晶体管的基极。这就形成了一个闭合的模拟反馈回路。因此,VRC_CTRL 不是通过正常的 GPIO 输出数据寄存器来控制的。 因此,表中所示的 GPIO ALTx、IBE 和 OBE 组合不适用于 VRC_CTRL 功能: IBE 仅控制数字输入缓冲器,在 V15 稳压器反馈回路中不起作用。 当 VRC_CTRL 被最后一公里稳压器使用时,不应将其配置或强制为 GPIO 输出。具体来说,将 GPIO 输出电平设置为低电平并不是禁用或控制稳压器的正确方法。 最后一公里调节器由 PMC 控制,包括 PMC_CONFIG[LMBCTLEN] 字段和设备特定 PMC 章节中记录的初始化序列。 VRC_CTRL 是一个模拟控制信号,而不是数字状态输出。因此,没有一种固定的波形适用于所有设计。其电压取决于外部晶体管、V15 负载、电源电压、外部电容和工作模式。为了进行验证,应在启动和负载变化期间同时测量 V15 和 VRC_CTRL。预期结果是 V15 保持在规定的工作范围内,而 VRC_CTRL 根据需要调整外部晶体管。 MSCR141 被记录为“不支持”,因为 PTE13/VRC_CTRL 使用来自 PMC 的直接连接,而不是正常的 SIUL2 输出复用路径。因此,MSCR141 不能用于控制 VRC_CTRL 功能。 关于 Port_Ipw_SetOnlyOutputMode(),调用此函数本身并不能证明 PMC 调节器受到影响。 另请注意,RESET行为是特定于衍生产品的。例如,S32K3x8(和 S32K356)PMC 具有设备特定的 CONFIG 复位值为 0x00000083,因此复位后即可启用最后一公里稳压器配置。这不能从较旧的 S32K3 衍生版本中推广,因为在这些版本中可能需要显式启用 LMBCTLEN。 顺祝商祺! 帕维尔 Re: VRC_CTRL Clarification 你好@kumamon , 谢谢你提供的尺寸信息。他们确认,将 MSCR141[OBE] 设置为 1 可启用数字输出驱动程序,并允许 GPIO 电平影响 VRC_CTRL 节点。在 PMC 最后一公里稳压器处于活动状态时启用 GPIO 输出驱动程序是不受支持的配置,并且可能会干扰 V15 稳压。 这并不一定表明MCAL驱动程序存在缺陷。PTE13/VRC_CTRL 是一个特殊用途的引脚,需要根据特定应用进行处理。通用端口驱动程序在请求输出模式时启用 OBE,但它无法确定是否正在使用 PMC 稳压器和外部镇流晶体管电路。 只要最终配置后的 MSCR141[OBE] = 0,您提出的变通方案就是合适的: 使用 PORT_PIN_HIGH_Z。 使用 PORT_PIN_LEVEL_NOTCHANGED。 在 Port_Init() 之后验证 MSCR141[OBE]。 当 VRC_CTRL 处于活动状态时,请勿将 PTE13 配置为数字输出。 最基本的要求是禁用数字输出缓冲器。 顺祝商祺! 帕维尔 Re: VRC_CTRL Clarification 你好,帕维尔, 谢谢你的回答。 通用端口驱动程序在请求输出模式时启用 OBE。 你知道下图除了PG_VRC_CTRL_OUT之外,还有哪个设置可以引入“输出模式”吗?抱歉,但我仍然觉得 MCAL 端口错误地将PG_VRC_CTRL_OUT 映射到了输出模式。 为了进行验证,应在启动和负载变化期间同时测量 V15 和 VRC_CTRL。 如何触发负载变化?是通过切换磁芯频率吗?   谢谢。 BR/熊本熊 Re: VRC_CTRL Clarification 你好,帕维尔, 谢谢。 从截图中看到的配置似乎是正确的。 但问题是,生成的代码会启用 OBE 位,这是意料之外的。 在保持时钟配置不变的情况下改变 CPU 工作负载,通常比改变核心频率更容易解释。 请问如何更改 CPU 工作负载? 谢谢。 BR/熊本熊。 Re: VRC_CTRL Clarification 你好@kumamon , 我现在明白你的担忧了。您的配置选择了: 引脚方向 = PORT_PIN_HIGH_Z 引脚电平值 = PORT_PIN_LEVEL_NOTCHANGED 引脚模式 = PG_VRC_CTRL_OUT 因此,预计不会启用数字输出缓冲器。如果生成的代码仍然将 OBE 设置为 1,则应在 MCAL 端口配置中调查此行为。 请注意,文档显示 MSCR141 不支持此特殊用途的直接信号。PTE13/VRC_CTRL 由 PMC 控制,不应需要正常的 SIUL2 输出缓冲区配置。因此,手动访问或修改 MSCR141 不是一种受支持的应用方法。 请提供MCAL/RTD的确切版本以及设置OBE的相关配置和初始化代码。另外,请提供所用S32K3 MCU的确切版本。 关于 CPU 工作负载,这只是观察调节器响应的一个可选的建议,并非验证 VRC_CTRL 配置的必要条件。 顺祝商祺! 帕维尔 Re: VRC_CTRL Clarification 你好,帕维尔, 谢谢。 请注意,文档显示 MSCR141 不支持此特殊用途的直接信号。 根据下图,PTE13 不一定是 VRC_CTRL,它可以是任何其他功能。我觉得这与“不支持 MSCR141”的说法相矛盾。 请提供MCAL/RTD的确切版本以及设置OBE的相关配置和初始化代码。另外,请提供所用S32K3 MCU的确切版本。 RTD 版本: 配置: 已生成: 注:抱歉,我之前的讨论中犯了个错误。OBE 不是由 Port_Ipw_SetOnlyOutputMode() 设置的,而应该在 Siul2_Port_Ip_PinInit() 中设置。 MCU:S32K322 谢谢。 BR/熊本熊 Re: VRC_CTRL Clarification 你好@kumamon , 从截图中看到的配置似乎是正确的。 关于负载变化测量,这只是评估调节器响应的一个可选的建议。无需验证 VRC_CTRL 配置。如果需要进行此类测试,在保持时钟配置不变的情况下改变 CPU 工作负载通常比改变核心频率更容易解释。 顺祝商祺! 帕维尔 Re: VRC_CTRL Clarification 你好@kumamon , 我进行了详细调查。以下是结果: S32K3 RTD 4.0.0 和 RTD 7.0.1 之间的端口配置数据和结果行为是一致的。 S32K3 参考手册:关于不支持 MSCR141 的声明需要更清晰的针对特定设备的解释。MSCR141 在 S32K388 和 S32K389 上不受支持,因为 PTE13 和 VRC_CTRL 引脚功能未定义。 当 PTE13 用作 VRC_CTRL 时进行配置:如果 PTE13 用作 PMC 末端稳压器的 VRC_CTRL 输出,则无需在 MCAL 端口模块中配置该引脚。 当 PTE13 用作 GPIO 或其他外设功能时,配置:在这种情况下,PMC VRC_CTRL 功能必须处于非活动状态。对于RESET后启用最后一公里调节器的衍生品来说,这一点尤其重要。应用程序必须先正确配置 PMC 电源,然后才能将 PTE13 分配给常规 SIUL2 功能。 因此,这两种使用场景应视为互斥的: VRC_CTRL 的用法: 配置 PMC 最后一公里调节器。 MCAL 端口模块不要触碰 PTE13。 GPIO 或外设用途: 禁用或不使用 PMC 最后一公里调节器。 通过 MCAL 端口模块配置 PTE13。 你的测量结果与这种区别相符。如果 PMC VRC_CTRL 功能和 SIUL2 数字输出缓冲器同时处于活动状态,则数字输出路径会影响 VRC_CTRL 节点并干扰 V15 调节。因此,应避免这种同时配置的情况。 顺祝商祺! 帕维尔 Re: VRC_CTRL Clarification 你好,帕维尔, 非常感谢您的详细解释。 最好的办法似乎是将 PTE13 从 MCAL 端口配置中完全排除。 我们的使用场景有点特殊: - 在引导加载程序中,大多数引脚都配置为输入(IBE = 1)。//我们现在不想更改引导加载程序。 - 在应用中,为了使 PTE13 完全不受影响,我将其配置为 GPIO + HIGH_Z,这样就可以清除 IBE。 问题(请原谅我的啰嗦) : - 根据之前的讨论,“IBE = 1”不会影响 VRC_CTRL 功能,对吗?我可以保持 IBE = 1 吗? - 如果我将 PTE13 配置为 GPIO + HIGH_Z 以实现应用程序中完美的未触及状态,这样也可以,对吗? 谢谢! BR/熊本熊 Re: VRC_CTRL Clarification 你好@kumamon , 感谢您详细说明您的使用场景。 是的,IBE = 1 可以保持启用状态。 是的,您可以将PTE13 配置为 GPIO + HIGH_Z。 请勿在 MCAL 端口配置中选择 PG_VRC_CTRL_OUT。RTD 将此模式归类为 PORT_ONLY_OUTPUT_MODE,与所选的 PortPinDirection 无关,因此启用输出缓冲区。选择 PORT_PIN_HIGH_Z 并不会覆盖 PG_VRC_CTRL_OUT 的此行为。 顺祝商祺! 帕维尔 Re: VRC_CTRL Clarification 你好@Pavel , 感谢您高效而细致的支持。 现在我明白了,我会关闭这个工单。 BR/库马农
View full article