Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
supply voltage with tolerance for ncj29d5 hello, I would like to know the supply voltage, including its tolerances, for NCJ29D5L as well as the link to the datasheet (I could not find it on the NXP website). Thanks a lot  Re: supply voltage with tolerance for ncj29d5 Hello, Hope you are doing well. Sorry for the inconvenience this might cause you but as the information of this product it's under NDA (Non-Disclosure Agreement) the information it's not public, this is not a secure channel to share any information of this device, and I do not have the data as well for the same reason. For this reason, I recommend you contacting one of our distributors available in the Distributor Network|NXP. Or if you have a direct contact who helped you with information about this product or getting the IC in a first place, please communicate directly with him/her. I apologize for the inconveniences this might cause you. Best Regards, Ricardo
View full article
ncj29d5の許容範囲付き供給電圧 こんにちは、 NCJ29D5Lの電源電圧とその許容範囲、そしてデータシートのリンク(NXPのウェブサイトでは見つかりませんでした)を知りたいです。 どうもありがとう Re: supply voltage with tolerance for ncj29d5 こんにちは、 あなたの調子が良いといいのですが。ご不便をおかけして申し訳ありませんが、この製品の情報はNDA(秘密保持契約)に基づいており、公開されていません。この情報を共有する安全なチャネルではなく、同じ理由で私もデータを持っていません。 このため、代理店ネットワークに掲載されている当社の代理店のいずれかにご連絡いただくことをお勧めします。NXP。また、この製品やIC取得の際に直接のお問い合わせがいれば、直接連絡を取ってください。 ご迷惑をおかけして申し訳ございません。 よろしくお願いいたします。 リカルド
View full article
Looking for DDR2 Register Parameter Architecture (RPA) Calculator for PQ2 Pro (MPC830x) The MPC830x pages here at NXP have a number of design documents, but I've been led to believe there is some sort of calculator (spreadsheet?) which helps with computing DDR2 register settings, possibly named: MPC830x_DDR2_RPA.xls or some variation of that.  Even if it's for some other PowerQuicc 2 (i.e. not exactly MPC830x) that used DDR2, it might be useful. Any chance it's stored away in an archive or with an eval board collateral? Thank you! Re: Looking for DDR2 Register Parameter Architecture (RPA) Calculator for PQ2 Pro (MPC830x) Hi @mrand , As the MPC830x family has been EOL for over three years, the requested file or download link is no longer available. Please refer to AN3369 for DDR register-programming guidance. Thank you.   Best Regards, June
View full article
S32M27x FCCU Utility This document describes how to use Lauterbach FCCU (fault collection and control unit) periphery extension for S32M27x devices. It is expected that user has deep knowledge on FCCU mechanisms in order to effectively use this extension. This scripting tool consist of 136 scripts for Lauterbach debugger. It helps user to quickly debug micro without need of reference manual. Here is and example of windows that user can use (detailed description can be found in user guide):
View full article
[S32K396] eFlexPWM configuration issues MCU: S32K396 Driver: S32K3 RTD 7.0.1 Config tool: EB tresos Studio 30.0.0 Use case: 3-phase motor control (FOC), SM0..SM2 as complementary A/B pairs,20 kHz center-aligned PWM, fault handling on FAULT0  Question1: Pwm (FlexPWM): Fault settings are only available for the A output of a complementary channel pair — no way to configure the fault mapping of PWMB When a FlexPWM submodule is configured with Channel Pair = COMPLEMENTARY in the EB tresos Pwm plugin, only one channel entry (PWMA) is created and PWMB is automatically generated as the inverted output. However, in the fault settings (FlexPwmFaultChannelSettings: fault channel selection, fault level, fault output state, etc.) only the PWMA channel can be configured - there is no configuration entry for PWMB. The fault setup writes only the DIS0A field of SMx_DISMAP0. DIS0B and DIS0X keep their reset value 0xF and cannot be changed. Is there a supported way in EB tresos to configure the DIS0B/DIS0X mapping, or should this be considered a limitation/defect of the Pwm plugin? Question2: Pwm (FlexPWM): Center-aligned mode - no GUI option to generate an ADC trigger from a VAL0/VAL1 match (mid-point / reload trigger) (SM[x].TCTRL) We use center-aligned complementary PWM (SM0..SM2, 20 kHz) for 3-phase current sampling. In this configuration the center of the low-side conduction window coincides with the counter reload point, i.e. the VAL1 match. Sampling exactly at that instant gives the average phase current and maximum margin to the switching edges, which is the standard trigger point for low-side shunt FOC. In the EB tresos Pwm plugin, the per-channel Output Trigger configuration only offers "rising edge" / "falling edge" selections, which correspond to the VAL2/VAL3 match events. There is no option to enable the trigger sources tied to VAL0/VAL1 matches (TCTRL[OUT_TRIG_EN] bits for OUT_TRIG0/OUT_TRIG1 based on VAL0/VAL1), and no option tied to the reload event. Is there a supported way in this RTD release to generate an ADC trigger from the VAL0/VAL1 match (or from the reload event) in center-aligned mode? Questions3:Pwm (FlexPWM): Fault notification function configured in EB is generated as NULL_PTR in the PostBuild configuration In the EB tresos Pwm plugin, under FlexPwmFaultChannelSettings, a fault notification function name can be entered. The expectation is that the generated PostBuild configuration fills the callback member so that FlexPwm_Ip_Init() registers it into FlexPwm_Ip_aFaultIrqCallback[], and the fault ISR (FlexPwm_Ip_ProcessFaultIrq) calls it when FFLAG is set. But FlexPwm_Ip_VS_0_PBcfg.c generates the fault channel configuration with NULL_PTR. Is this a known limitation of the Pwm plugin, or a defect? Re: [S32K396] eFlexPWM configuration issues Hi, Q1 – Fault mapping for complementary PWMA/PWMB For a complementary channel pair, only PWMA is configured and PWMB is generated according to the configured A/B relationship.  The Pwm configuration provides individual fault enable settings through FlexPwmChannelFaultSettings. However, when complementary mode is selected, PWMB is no longer available as a separate configurable channel, so there is no corresponding GUI option to customize its DIS0B fault mapping. With the default DISMAP reset configuration, the fault inputs remain enabled for the output. Therefore, from the application point of view, the required fault protection is preserved with the default configuration. I will nevertheless check with the RTD team whether the inability to separately configure DIS0B/DIS0X in complementary mode is intentional and whether there is a supported method for applications requiring a different fault mapping. Q2 – ADC trigger in center-aligned PWM mode The Pwm configuration allows the trigger source to be selected from PWMX, PWMA or PWMB, together with rising edge, falling edge or both edge selection. For center-aligned PWM, VAL1 determines the PWM period and therefore cannot be freely adjusted to move the ADC sampling point. There are several possibilities depending on the required sampling point: If sampling exactly at the PWM reload point is required, the FlexPWM reload pulse is directly available as a TRGMUX trigger source and can be routed through TRGMUX to BCTU/ADC. If local synchronization using PWMX and its VAL0/VAL1 resources is not required for the submodule, PWMX can be configured and used for ADC triggering through the standard Pwm trigger configuration. If the sampling point needs to be independently adjusted relative to the PWM center, a free VALx comparator can be configured through the FlexPWM IP APIs and used as an output trigger. Therefore, the preferred solution depends on whether the ADC sampling point needs to be fixed at the PWM reload point or independently adjustable relative to it. Q3 – Fault notification generated as NULL_PTR According to the Pwm User Manual, FlexPwmFaultNotification specifies the user callback function for fault detection, and a configured value different from NULL or NULL_PTR should be used as the callback function name.   I also tested this with RTD 7.0.1 using the S32 Design Studio configuration tool. In this case, the configured fault notification is correctly propagated into FlexPwm_Ip_VS_0_PBcfg.c, including the callback prototype and the corresponding entry in the FaultNotification[] array.   However, I have not yet verified the same configuration using EB tresos Studio 30.0.0. Therefore, I will check with the RTD team whether there is any known difference or limitation in the EB tresos generation path that could result in NULL_PTR being generated instead. BR, Petr 回复: [S32K396] eFlexPWM configuration issues I have also further questions as bellow: Q1.I would like to follow up on this statement: "With the default DISMAP reset configuration, the fault inputs remain enabled for the output. Therefore, from the application point of view, the required fault protection is preserved with the default configuration." This holds only if all four fault inputs are actually routed on the board. In our ECU only FAULT0 is connected (it carries the FS_FLAG of the gate driver, ST L9908). FAULT1..FAULT3 are not routed at all, so those pads are left floating / not configured as Port pins, and the IMCR does not route them - the fault inputs read a constant level. Since DISMAP0 resets to 0xFFFF (every fault input mapped to every output), the consequence is: --With FLVL = LOW for the unrouted channels, the constant low level is interpreted as a permanent fault and the outputs stay disabled forever. - With FLVL = HIGH for the unrouted channels, those fault channels are permanently inactive, but they are still mapped onto the A/B/X outputs. Therefore, we have to manually update the DISMAP0 register after 'Pwm_Init()', so that only FAULT0 is mapped to DIS0A / DIS0B / DIS0X. Whether the DIS0A/DIS0B/DIS0X fields can be exposed in the GUI for complementary mode (so that A and B can be mapped independently)?  Q2.  option1(FlexPWM reload pulse as a TRGMUX trigger source): We confirmed that TRGMUX_IP_INPUT_PWM0_MST_RELOAD is available. option2(PWMX for ADC triggering): This is actually the path we tried first, before opening this thread: we wanted a PWMX falling edge aligned to VAL1. But when Channel Pair = COMPLEMENTARY is selected, the EB tresos Pwm plugin does not allow creating a PWMX channel container for that submodule at all, so the trigger source PWMX cannot be selected. Could you confirm whether this restriction in the plugin is intentional, and whether PWMX-based triggering is supposed to be usable in complementary mode? If it is a plugin limitation, it would be worth reporting to the EB plugin team as well. Thanks again for the detailed answer. Re: [S32K396] eFlexPWM configuration issues Thank you for your response, and wait for your confirmation from RTD team. 回复: [S32K396] eFlexPWM configuration issues Hi, Thank you for the clarification and additional testing. Q1 – DISMAP configuration You are correct. My previous statement about the default DISMAP configuration being sufficient was too general. For your application, where only FAULT0 from the L9908 is used, configuring the DIS0A/DIS0B/DIS0X mappings so that only FAULT0 affects the corresponding outputs is the appropriate configuration. I will clarify with the RTD team whether the lack of independent DIS0B/DIS0X configuration in complementary mode is an intentional limitation of the Pwm plugin and whether these settings are planned to be exposed by the configuration tool. Your manual update of DISMAP0 after Pwm_Init() provides a practical workaround in the meantime, provided the register configuration is consistent with the intended fault handling. Q2 – ADC trigger in center-aligned PWM mode Regarding PWMX, the restriction within the same submodule appears reasonable because PWMX uses VAL0/VAL1, which are also involved in the local synchronization/reload configuration. For your use case, I see two practical options: - If sampling exactly at the PWM reload point is required, use the reload trigger directly through TRGMUX. -If an adjustable sampling point is required, use an unused VAL comparator, for example VAL4/VAL5, and configure the trigger through the FlexPWM IP API. Another synchronized FlexPWM submodule could also be used to generate the trigger through its PWMX/VAL0/VAL1 resources, but using an available VAL4/VAL5 comparator appears simpler if no additional submodule functionality is required. I will confirm these options with the RTD team. BR, Petr
View full article
FRDM-IMXRT1186イーサネットLEDの動作不良 こんにちは、 私はFRDM-IMXRT1186ボード(PCB Rev A、SCH Rev A3)とJ56A ETH0イーサネットインターフェースを使用しています。イーサネット自体は1Gbpsで正常に動作しますが、2つのRJ45 LEDは点灯したままです。 PHYはアドレス5のYT8531SH-CAです。PHY LEDレジスタを手動で強制的に設定してみましたが、それでもLEDは点灯しませんでした。 公式のMCUXpresso SDK lwIP HTTPサーバーの例でも同じ動作を再現しました:サーバーとイーサネットは動作しますが、RJ45のLEDは点灯したままです。 これはこの基板リビジョンにおける既知の問題でしょうか?それとも、J56A LEDに関して必要なPHY構成やハードウェアの回避策はありますか? i.MX RT Re: FRDM-IMXRT1186 Ethernet LEDs not working ハイ 詳細な情報を提供していただきありがとうございます。あなたが説明した挙動からすると、イーサネットリンクとデータ通信は正常に動作しており、J56AインターフェースのLED表示は点灯していません。 詳細なご意見をありがとうございます。報告された行動については承知いたしました。 よろしくお願いします、 パブロ
View full article
[S32K344] Random Resets of Type "MCU_F_EXR_RESET" I am developing using a custom PCBA with an S32K344 microcontroller, and I occasionally have seen the board randomly reset and after the board resets, the `Power_Ip_GetResetReason()` function returns `MCU_F_EXR_RESET` (value = 15), which appears to be an external reset (i.e., the RESET pin was pulled low). However, when this has occurred, I have had nothing connected to the RESET pin, and the RESET pin is pulled high with a 10 kOhm resistor. Upon reading documentation, I found this section in the user manual for the S32K344 White Board: Is there a comprehensive list of these "some MCU internal failures" which can pull the RESET line low? Also, does this mean the MCU itself can pull the RESET pin low internally upon some other internal failure? If so would I still receive the `MCU_F_EXR_RESET` reset reason? Re: [S32K344] Random Resets of Type "MCU_F_EXR_RESET" @jleveque, I'm curious if you ever discovered the root cause of your unexpected resets? Re: [S32K344] Random Resets of Type "MCU_F_EXR_RESET" I do not know your API so it hard to judge what is : MCU_F_EXR_RESET "MCU_F_EXR_RESET" is a member of the "Power_Ip_ResetType" enum type in the Power_Ip_Specific.h file (part of the RTD, version 3.0.0). This is the type returned by the Power_Ip_GetResetReason() function defined in the Power_Ip.c file. Internal resets will also be propagated to reset_b pin as it is bidirectional. But there wont be set F_EXR flag in RGM [FES], but some other internal source flag. This is the info I was looking for. As long as it is guaranteed that the F_EXR flag will only ever be set if the RESET pin was pulled low externally (and not from an internal reset) then I can narrow down my search as to what is causing this issue. Thanks again, Peter! Re: [S32K344] Random Resets of Type "MCU_F_EXR_RESET" Hello, I do not know your API so it hard to judge what is : MCU_F_EXR_RESET But if you have external reset flag set in the RGM FES register then it mean the reset wa triggered from outside of uC. Internal resets will also be propagated to reset_b pin as it is bidirectional. But there wont be set F_EXR flag in RGM [FES], but some other internal source flag. Best regards, Peter Re: [S32K344] Random Resets of Type "MCU_F_EXR_RESET" This can be cause also by debugger, which is also pulling external reset. So the question is how do you read this function. Thank you for your reply, Peter! As I stated above, this reset is occurring with nothing connected to the RESET pin (the debugger is not physically connected), so this is being triggered by something else. As to how I read this function, I call the function first thing after boot and store the return value. Per your suggestion, I will add additional direct reads of the RGM [FES/DES] registers in hopes that I can get more insight, but ultimately I really want to know what are the "MCU internal failures" which can cause this "MCU_F_EXR_RESET" reset reason. Re: [S32K344] Random Resets of Type "MCU_F_EXR_RESET" Hello, `Power_Ip_GetResetReason()` function returns `MCU_F_EXR_RESET` This can be caused also by debugger, which is also pulling external reset.So the question is how do you read this function. But nevertheless you can read reset reason from RGM [FES/DES] registers: Clear FES/DES first.After your reset, read the registers to see the reset root cause. Usually you in SW clear the FES/DES after power on reset and test if the FES/DES value is 0. If not you run diagnostics to see the reset reason. Best regards, Peter Re: [S32K344] Random Resets of Type "MCU_F_EXR_RESET" Unfortunately, no. I left the company I was working for before this was resolved. It was last left in the hands of the electrical engineer who designed the board to review the PCB design with the suspicion that the cause may be EMI. I will note that on a subsequent project I worked on featuring an S32K358 MCU, I experienced spurious wake-ups from Standby mode, and I was able to reliably reproduce it by standing up out of my office chair. Looking into this phenomenon, I discovered that an office chair with a gas shock and metal legs can act as an EMP antenna, radiating a strong electromagnetic field! I found that there was actually a whitepaper written about it back in 1993: https://www.emcesd.com/pdf/eos93.pdf. I could measure this with an oscilloscope probe connected to nothing. Standing up from my chair would trigger the scope with a very brief spike of ~25V. So my original reset issue may have also been caused by EMI, as we had last suspected. I would suggest looking into EMI as a potential cause of your resets. Good Luck!
View full article
RT1186 TSN DEMOビルドの問題 i.MX RT1186のFRDMボードを2枚持っていて、プロジェクトをfrdmimxrt1186_tsn_app_cm33インポートしますが、いくつかのビルド設定があり、どれを選べばいいのか全く分かりません。 私の目標は、fgptpを有効にした状態で基本的なTSN通信をテストすることです。イーサネットケーブルで2台のボードを接続した後、2台のデバイスがマスターとスレーブの役割を交渉したことを示すシリアルポートのログが見られるはずです。 ユーザーガイドの説明は複雑です。どなたか、これを達成するための一般的な手順を教えていただけませんか? Re: RT1186 TSN DEMO build problem @ChandlerY様、 fgptpのテストを行うには、「リリース」を選択してください。 詳細な設定手順については、以下を参照してください。 https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/Step-by-Step-Guide-to-Running-the-GenAVB-TSN-Stack-FreeRTOS/ta-p/2390969 を参照してください。第2章4節: よろしくお願いいたします。 シェリー
View full article
i.MX93 AHAB: Security implications of keeping SDP enabled in OEM_CLOSED Hello NXP Support, We have received several questions from a customer using the i.MX93 (VAR-SOM-MX93) regarding the security implications of leaving Serial Download Protocol (SDP) enabled in production devices with AHAB enabled and the lifecycle set to OEM_CLOSED. The customer would like to retain USB recovery functionality for troubleshooting and device recovery, while ensuring that this does not introduce security vulnerabilities. They have reviewed the i.MX93 Reference Manual and Security Reference Manual but would appreciate clarification on the following points: SDP access restrictions in OEM_CLOSED What memory, register, and eFuse read/write operations are permitted through SDP when the device is in OEM_CLOSED? Can an unauthenticated host access sensitive memory or perform write operations „outside“ the authenticated recovery process? BOOT_CFG10 eFuse settings The i.MX93 Reference Manual (Section 9.9.3, Table 57) documents the SDP_WO and SDP_READ_DISABLE settings. Could you clarify their meaning and behavior; how they affect SDP in OEM_CLOSED, and their intended use cases? The customer was also unable to locate these settings in the RM itself, in the fusemap spreadsheet nor in the Security Reference Manual. Security implications of OEM_CLOSED vs. OEM_LOCKED From NXP's perspective, what additional security risks should be considered when leaving SDP enabled in OEM_CLOSED compared to disabling USB recovery through OEM_LOCKED? Are there any recommended configurations or mitigations for production devices that require authenticated USB recovery? We would appreciate your guidance or references to further documentation covering these aspects. Thank you. Best regards, Alex Security Re: i.MX93 AHAB: Security implications of keeping SDP enabled in OEM_CLOSED Hi, Thank you for your interest in NXP Semiconductor products, 1. SDP is used to download images, production devices could have SDP enabled, new images could be overwritten only if they are signed. Aside from that, if devices have a signed image flashed, U-boot command line tools like md, mw, fuse read, write could be executed or code actions could be performed. 2. I am confirming their descriptions internally. 3. OEM_CLOSED and OEM_LOCKED are similar, except no debug/DFT/Boundary Scan/USB recovery and No Field Return in OEM_LOCKED. Regards
View full article
A53 reset and lockstep boot with S32G3 Dear NXP Support Team, When booting from Cortex-M7 on the S32G399A-EVB3, does Cortex-A53 automatically remain in reset? After M7 configures Cortex-A53 Lockstep mode, what is the correct procedure to release the A53 reset and allow it to start execution? Could you please clarify the expected reset behavior and provide the recommended reset-release sequence? Best regards, Toan Re: A53 reset and lockstep boot with S32G3 Hi, Toan Thank you for contacting us. I will help you check it and reply to you at the following case. Clarification on Reset Sequence and A53 Lockstep Boot Flow with S32G3 BSP 48.0.0 - NXP Community BR Joey
View full article
i.MX93 AHAB:在 OEM_CLOSED 模式下保持 SDP 启用的网络安全隐患 您好,NXP技术支持, 我们收到了一些使用 i.MX93 (VAR-SOM-MX93) 的客户提出的问题,询问在启用 AHAB 且生命周期设置为 OEM_CLOSED 的生产设备中启用串行下载协议 (SDP) 的网络安全隐患。 客户希望保留 USB 恢复功能以进行故障排除和设备恢复,同时确保这不会引入网络安全漏洞。 他们已查阅了 i.MX93 参考手册和网络安全参考手册,但希望就以下几点获得澄清: OEM_CLOSED 中的 SDP 访问限制 当设备处于 OEM_CLOSED 状态时,通过 SDP 允许执行哪些内存、寄存器和 eFuse 读/写操作?未经身份验证的主机能否在经过身份验证的恢复过程“之外”访问敏感内存或执行写入操作? BOOT_CFG10 eFuse 设置 i.MX93 参考手册(第 9.9.3 节,表 57) 记录了 SDP_WO 和 SDP_READ_DISABLE 设置。 能否解释一下它们的含义和行为;它们如何影响 OEM_CLOSED 中的 SDP,以及它们的预期用途?客户也无法在 RM 本身、fusemap 电子表格或网络安全参考手册中找到这些设置。 OEM_CLOSED 与 OEM_LOCKED 的网络安全隐患 从 NXP 的角度来看,与通过 OEM_LOCKED 禁用 USB 恢复相比,在 OEM_CLOSED 中启用 SDP 会带来哪些额外的网络安全风险? 对于需要经过身份验证的 USB 恢复的生产设备,是否有任何推荐的配置或缓解措施? 我们非常感谢您能提供这方面的指导或相关文件资料。 谢谢。 此致, 亚历克斯 安全 Re: i.MX93 AHAB: Security implications of keeping SDP enabled in OEM_CLOSED 您好, 感谢您对恩智浦半导体产品的关注, 1. SDP 用于下载图像,生产设备可以启用 SDP,只有经过签名的新图像才能被覆盖。除此之外,如果设备已刷入签名镜像,则可以执行 U-boot 命令行工具(如 md、mw、熔丝 read、write)或执行代码操作。 2. 我正在内部确认他们的描述。 3. OEM_CLOSED 和 OEM_LOCKED 类似,只是 OEM_LOCKED 没有调试/DFT/边界扫描/USB 恢复功能,也没有字段返回功能。 此致
View full article
S32K312 SIUL interrupt When an effective interrupt is generated,can not into void SIUL_2_Handler(void),but can into void Default_Handler(void),why? Re: S32K312 SIUL interrupt Hello @joshua9264 , The map file and memory view confirm that the vector table is correct. SIUL_2_Handler is located at 0x00400765 and the corresponding vector entry at 0x0040021C contains the same address. Therefore, the weak handler and vector-table linkage are not the cause. The reported CFSR.INVSTATE HardFault indicates an invalid processor execution state. Since the vector entry includes the required Thumb bit, the fault may occur inside the interrupt handler or during the exception return. The displayed Default_Handler may actually be the weak handler used for the HardFault exception. Please set an instruction breakpoint at 0x00400764, which is the actual first instruction of SIUL_2_Handler and step through the handler in the Disassembly view. This will confirm whether the processor enters the handler and identify the instruction after which the fault occurs. If the fault occurs during the return from the handler, please also provide the following values immediately after the HardFault: SCB->CFSR SCB->HFSR SCB->SHCSR SCB->ICSR MSP value The stacked PC and xPSR values The stacked xPSR must have the Thumb state bit, bit 24, set. A stacked PC of 0x00000000 or a cleared Thumb bit would explain the INVSTATE fault. Best regards, Pavel Re: S32K312 SIUL interrupt thank you PavelL I checked these addresses and data are correct,But it still cannot enter SIUL_2_Handler。 I will generate a project using S32DS to test The processor has escalated a configurable-priority exception to HardFault. I don't know what caused it   Re: S32K312 SIUL interrupt Hello @joshua9264 , Thank you for providing the project files. I checked the startup file, vector table, main.c, linker configuration and IAR project settings. The handler name appears to be correct: The vector table uses SIUL_2_Handler. main.c provides a strong implementation of SIUL_2_Handler. The startup file defines the default implementation as a weak alias to Default_Handler. SystemInit() sets SCB->VTOR to the __VECTOR_TABLE symbol. Therefore, the implementation in main.c should override the weak default handler. At this point, please check the final linker output to confirm which address was actually assigned to the vector table entry. The IAR project has map file generation enabled. Please check the Debug\List directory for a .map file. In the map file, search for: SIUL_2_Handler Default_Handler __VECTOR_TABLE Please verify that SIUL_2_Handler has its own address and is not resolved to the same address as Default_Handler. The map file should also indicate that the implementation comes from main.o, while the weak definition comes from the startup object. For the flash configuration, the vector table should start at 0x00400100. Since SIUL_2_IRQn is IRQ 55, its vector table entry should be located at: 0x00400100 + 4 × (16 + 55) = 0x0040021C Please also check the following values in the debugger after SystemInit() has executed: The value of SCB->VTOR. It should be 0x00400100 for the flash configuration. The 32-bit value stored at address 0x0040021C. The address of SIUL_2_Handler. The address of Default_Handler. The value stored at 0x0040021C should correspond to the address of the application implementation of SIUL_2_Handler, with bit 0 set because the Cortex-M7 executes Thumb instructions. If the vector entry points to Default_Handler, please perform a Clean and Rebuild in IAR and make sure that the newly generated .out file is downloaded to the MCU.  Best regrads, Pavel Re: S32K312 SIUL interrupt and this is  my project file Re: S32K312 SIUL interrupt Hi:PavelL This is startup file and vector table,I haven't found SIUL_2_IRQHandler, I am using an IAR project generated by S32DS。 Re: S32K312 SIUL interrupt Hello @joshua9264 , Since the CPU enters Default_Handler(), the SIUL2 interrupt is most likely generated correctly, but the interrupt vector is still linked to the default weak handler. Please check the startup file or vector table and use the exact ISR name assigned to SIUL_2_IRQn. The expected name may be SIUL_2_IRQHandler() rather than SIUL_2_Handler(). The linker map file can be used to verify which function is actually assigned to the interrupt vector. Best regards, Pavel
View full article
S32K312 SIUL割り込み 効果的な割り込みが生成された場合、Void SIUL_2_Handler(void)には入れないが、void Default_Handler(void)には入れるのか?なぜ? Re: S32K312 SIUL interrupt こんにちは、 @joshua9264 さん、 マップファイルとメモリビューにより、ベクターテーブルが正しいことが確認されました。SIUL_2_Handlerは0x00400765に位置し、対応するベクターエントリ0x0040021Cには同じアドレスが含まれています。したがって、弱いハンドラとベクターテーブルのリンクが原因ではありません。 報告されたCFSR.INVSTATEハードフォールトは、プロセッサの実行状態が無効であることを示します。ベクタエントリには必須のサムビットが含まれているため、割り込みハンドラ内または例外戻り時に障害が発生する可能性があります。表示されている Default_Handler は、実際には HardFault 例外に使用される弱いハンドラーである可能性があります。 SIUL_2_Handler の最初の命令である 0x00400764 に命令ブレークポイントを設定し、逆アセンブリビューでハンドラをステップ実行してください。これにより、プロセッサがハンドラーに入ったかどうか、そして故障が発生する命令を識別します。 ハンドラからの戻り時にエラーが発生した場合は、ハードフォルトの直後に以下の値も指定してください。 SCB->CFSR SCB->HFSR SCB->SHCSR SCB->ICSR MSP値 積み重ねられたPC値とxPSR値 スタックされたxPSRは、サム状態ビット(ビット24)がセットされている必要があります。スタックされたPCが0x00000000であるか、サムビットがクリアされている場合、INVSTATEエラーが説明できます。 よろしくお願いいたします。 パベル Re: S32K312 SIUL interrupt パベルさん、ありがとう これらのアドレスとデータは正しいものを確認しましたが、それでも入力できませんSIUL_2_Handler。 S32DSを使用してプロジェクトを生成してテストします プロセッサはHardFaultに対して設定可能な優先度の例外をエスカレーションしました。 何が原因かはわかりません   Re: S32K312 SIUL interrupt こんにちは、 @joshua9264 さん、 プロジェクトファイルをご提供いただきありがとうございます。 起動ファイル、ベクターテーブル、main.c を確認しました。リンカーの設定とIARプロジェクトの設定。ハンドラー名は正しいようです。 ベクトルテーブルはSIUL_2_Handlerを使用します。 main.c は、SIUL_2_Handler の強力な実装を提供します。 起動ファイルでは、デフォルトの実装を Default_Handler の弱いエイリアスとして定義しています。 SystemInit() は SCB->VTOR を __VECTOR_TABLE シンボルに設定します。 したがって、main.c の実装弱いデフォルトハンドラをオーバーライドする必要があります。この時点で、最終的なリンカーの出力を確認し、ベクターテーブルのエントリに実際に割り当てられたアドレスを確認してください。 IARプロジェクトでは、地図ファイルの生成機能が有効になっています。Debug\List ディレクトリに .map ファイルがあるかどうか確認してください。ファイル。地図ファイル内で以下を検索してください: SIUL_2_ハンドラー デフォルトハンドラー __VECTOR_TABLE SIUL_2_Handlerが独自のアドレスを持ち、Default_Handlerと同じアドレスに解決されていないことを確認してください。マップファイルには、実装がmain.oから来ており、弱い定義がスタートアップオブジェクトから来ていることも明記する必要があります。 フラッシュ構成の場合、ベクターテーブルは0x00400100から開始する必要があります。SIUL_2_IRQnはIRQ 55であるため、そのベクタテーブルエントリは次の場所に配置されます。 0x00400100 + 4 × (16 + 55) = 0x0040021C SystemInit() の実行後、デバッガーで以下の値も確認してください。 SCB->VTOR の値。フラッシュ構成の場合は0x00400100である必要があります。 アドレス0x0040021Cに格納されている32ビット値。 SIUL_2_Handler のアドレス。 Default_Handler のアドレス。 0x0040021Cに保存される値は、SIUL_2_Handlerのアプリケーション実装のアドレスに対応し、ビット0はCortex-M7がサム命令を実行するために設定されます。 ベクターエントリが Default_Handler を指している場合は、IAR でクリーンと再構築を実行し、新しく生成された .out ファイルが正しく生成されていることを確認してください。ファイルはMCUにダウンロードされます。 よろしくお願いいたします。 パベル Re: S32K312 SIUL interrupt そしてこれが私のプロジェクトファイルです Re: S32K312 SIUL interrupt こんにちは:パベル これは起動ファイルとベクターテーブルです。SIUL_2_IRQHandler は見つかりませんでした。 私はS32DSで生成されたIARプロジェクトを使用しています。 Re: S32K312 SIUL interrupt こんにちは、 @joshua9264 さん、 CPUがDefault_Handler()に入るため、SIUL2割り込みは正しく生成される可能性が高いですが、割り込みベクタは依然としてデフォルトの弱いハンドラにリンクされています。 スタートアップファイルまたはベクターテーブルを確認し、SIUL_2_IRQnに割り当てられた正確なISR名を使用してください。期待される名前は SIUL_2_Handler ()ではなく SIUL_2_IRQHandler()かもしれません。リンカーマップファイルを使って割り込みベクターに実際に割り当てられた関数を検証できます。 よろしくお願いいたします。 パベル
View full article
S32K312 SIUL 中断 当产生有效中断时,不能进入void SIUL_2_Handler(void),但可以进入void Default_Handler(void),为什么? Re: S32K312 SIUL interrupt 你好@joshua9264 , 映射文件和内存视图证实矢量表是正确的。SIUL_2_Handler 位于 0x00400765,对应的向量条目位于 0x0040021C,包含相同的地址。因此,弱处理程序和向量表链接不是原因。 报告的 CFSR.INVSTATE HardFault 表示处理器执行状态无效。由于向量条目包含所需的 Thumb 位,因此故障可能发生在中断处理程序内部或异常返回期间。显示的 Default_Handler 实际上可能是用于 HardFault 异常的弱处理程序。 请在 0x00400764 处设置指令断点,这是 SIUL_2_Handler 的实际第一条指令,并在反汇编视图中逐步执行该处理程序。这将确认处理器是否进入处理程序,并确定发生故障的指令。 如果故障发生在处理程序返回期间,请在 HardFault 之后立即提供以下值: SCB->CFSR SCB->HFSR SCB->SHCSR SCB>ICSR MSP值 堆叠 PC 和 xPSR 值 堆叠的 xPSR 必须设置 Thumb 状态位(第 24 位)。PC 堆叠值为 0x00000000 或 Thumb 位被清除,可以解释 INVSTATE 故障。 顺祝商祺! 帕维尔 Re: S32K312 SIUL interrupt 谢谢你,帕维尔 我检查过这些地址和数据,确认无误,但仍然无法进入SIUL_2_Handler。 我将使用 S32DS 生成一个项目来进行测试。 处理器已将可配置优先级异常升级为 HardFault。 我不知道是什么原因造成的。   Re: S32K312 SIUL interrupt 你好@joshua9264 , 感谢您提供项目文件。 我检查了启动文件、向量表和 main.c 文件。链接器配置和 IAR 项目设置。处理程序名称似乎正确: 向量表使用 SIUL_2_Handler。 main.c 提供了 SIUL_2_Handler 的强大实现。 启动文件将默认实现定义为 Default_Handler 的弱别名。 SystemInit() 将 SCB->VTOR 设置为 __VECTOR_TABLE 符号。 因此,main.c 中的实现。应该覆盖默认的弱处理程序。此时,请检查最终的链接器输出,以确认哪个地址实际分配给了向量表条目。 IAR项目已启用地图文件生成功能。请检查 Debug\List 目录中是否存在 .map 文件。文件。在地图文件中,搜索: SIUL_2_Handler 默认处理程序 __VECTOR_TABLE 请确认 SIUL_2_Handler 有自己的地址,并且没有解析到与 Default_Handler 相同的地址。映射文件还应表明实现来自 main.o,而弱定义来自启动对象。 对于闪存配置,向量表应从 0x00400100 开始。由于 SIUL_2_IRQn 的 IRQ 为 55,因此其向量表条目应位于: 0x00400100 + 4 × (16 + 55) = 0x0040021C 请在执行完 SystemInit() 函数后,在调试器中检查以下值: SCB->VTOR 的价值。闪存配置应为 0x00400100。 存储在地址 0x0040021C 处的 32 位值。 SIUL_2_Handler 的地址。 Default_Handler 的地址。 存储在 0x0040021C 处的值应该对应于 SIUL_2_Handler 应用程序实现的地址,位 0 已设置,因为 Cortex-M7 执行 Thumb 指令。 如果向量入口指向 Default_Handler,请在 IAR 中执行清理和重建操作,并确保新生成的 .out 文件正确无误。文件已下载到MCU。 此致敬礼, 帕维尔 Re: S32K312 SIUL interrupt 这是我的项目文件 Re: S32K312 SIUL interrupt 你好: PavelL 这是启动文件和向量表,我没有找到 SIUL_2_IRQHandler, 我正在使用S32DS生成的IAR项目。 Re: S32K312 SIUL interrupt 你好@joshua9264 , 由于 CPU 进入Default_Handler() ,SIUL2 中断很可能已正确生成,但中断向量仍然链接到默认的弱处理程序。 请检查启动文件或向量表,并使用分配给SIUL_2_IRQn的确切 ISR 名称。预期名称可能是SIUL_2_IRQHandler()而不是SIUL_2_Handler() 。可以使用链接器映射文件来验证哪个函数实际分配给了中断向量。 顺祝商祺! 帕维尔
View full article
i.MX93 AHAB:OEM_CLOSEDでSDPを有効にし続けることのセキュリティ上の影響 こんにちは、NXPサポートの皆さん、 i.MX93(VAR-SOM-MX93)を使用しているお客様から、AHABを有効にしてライフサイクルをOEM_CLOSEDに設定したまま、本番機でシリアルダウンロードプロトコル(SDP)を有効化したままにしておくことのセキュリティ上の影響について、いくつかの質問をいただいています。 お客様はトラブルシューティングやデバイス復旧のためにUSB復旧機能を保持しつつ、セキュリティの脆弱性を生まないことを望んでいます。 彼らはi.MX93リファレンスマニュアルおよびセキュリティリファレンスマニュアルをレビューしましたが、以下の点についての説明を歓迎します。 OEM_CLOSEDにおけるSDPのアクセス制限 デバイスがOEM_CLOSED中の場合、SDPを通じてどのようなメモリ、レジスタ、eFuseの読み書き操作が許可されていますか?認証されていないホストが、認証済みの復旧プロセスの「外側」で敏感なメモリにアクセスしたり書き込み操作を行ったりすることはできますか? BOOT_CFG10 eFuse設定 i.MX93 リファレンスマニュアル(セクション9.9.3、表57)は、SDP_WOおよびSDP_READ_DISABLEの設定について説明しています。 その意味や挙動について、OEM_CLOSEDにおけるSDPにどのように影響し、意図された用途について説明していただけますか?お客様はRM本体、ヒューズマップスプレッドシート、セキュリティリファレンス・マニュアルでもこれらの設定を見つけることができませんでした。 OEM_CLOSEDとOEM_LOCKEDのセキュリティ上の影響 NXPの視点から、OEM_CLOSEDでSDPを有効にしたままにする際、OEM_LOCKEDを通じたUSBリカバリーを無効にする場合と比べて、どのような追加のセキュリティリスクを考慮すべきでしょうか? 認証済みUSBリカバリーが必要な本番機向けの推奨設定や対策はありますか? これらの側面に関するさらなるドキュメントのご参考やご指名をいただけるとありがたいです。 ありがとう。 よろしくお願いします、 アレックス Security Re: i.MX93 AHAB: Security implications of keeping SDP enabled in OEM_CLOSED こんにちは、 NXP Semiconductors製品にご関心いただきありがとうございます。 1. SDPはイメージのダウンロードに使われ、本番機器はSDPを有効にし、新しい画像は署名されていなければ上書きできません。それ以外にも、デバイスに署名済みイメージがフラッシュされている場合、md、mw、fuseの読み書きなどのUブートコマンドラインツールを実行したり、コードアクションを実行したりすることができます。 2. 私は彼らの説明内容を社内で確認しています。 3. OEM_CLOSED と OEM_LOCKED は似ていますが、OEM_LOCKED ではデバッグ/DFT/境界スキャン/USB リカバリおよびフィールド リターンは行われません。 よろしくお願いします。
View full article
ペイメント用のカード みなさん、こんにちは! 私は自分の街で路上駐車用のNFCとRFIDカードを使った決済システムを開発したいと考えています。利用者はNFC対応の駐車場係員のスマートフォンに自分のカードをかざすだけで手続きが完了する。そして、残高が差し引かれます。モバイルアプリもKotlinで開発する予定です(内蔵機能でNFCスキャンできるように)。このプロジェクトで使うのに最適なカードはどれかおすすめできますか?理由を教えてください! よろしくお願い申し上げます。 Re: Card for Payment NXPはMIFARE DESFire EV3を、クローズドループeペイメント、公共交通機関、アクセス、ロイヤルティ、その他のマルチアプリケーションサービスを含む安全なスマートシティアプリケーション向けに配置しています。 MIFARE DESFire EV3 |セキュア非接触IC |NXP Semiconductors   DESFire EV3はAES-128、相互認証、暗号化RF通信、CMAC、アプリケーションごとの鍵、トランザクションMACおよびその他のセキュリティメカニズムをサポートしています。また、ハードウェアおよびソフトウェアに関して共通基準EAL5+認証も取得しています。 Re: Card for Payment こんにちは、ご回答ありがとうございます! Desfire EV3や他の(クラシック、EV2など)を使う場合の異なるアーキテクトシステムやフローについて教えてもらえますか?例えば、実装面などでしょうか?ありがとう
View full article
使用 S32G3 进行 A53 RESET 和锁步启动 尊敬的恩智浦技术支持团队: 当从 S32G399A-EVB3 上的 Cortex-M7 启动时,Cortex-A53 是否会自动保持 RESET 状态? M7 配置 Cortex-A53 锁步模式后,释放 A53 RESET 并允许其开始执行的正确步骤是什么? 请您阐明预期的 RESET 行为,并提供推荐的 RESET 释放顺序? 此致, 托安 Re: A53 reset and lockstep boot with S32G3 你好,Toan 感谢您与我们联系。 我会帮您核实,并在下次回复您。 关于 S32G3 电路板支持包。48.0.0 的 RESET 顺序和 A53 锁步启动流程的说明 - NXP 社区 BR 乔伊
View full article
RT1186 TSN DEMO build problem I have two i.MX RT1186 FRDM boards, then import frdmimxrt1186_tsn_app_cm33 project, there are several build configrations, I have no idea which one should I choose. My goal is to test the basic TSN communication with fgptp enabled. After connecting two boards via an Ethernet cable, I expect to see serial port logs showing that the two devices have negotiated their master and slave roles. The description in the user guide is complicated. Could anyone please outline the general steps to achieve this? Re: RT1186 TSN DEMO build problem Dear @ChandlerY , Please select ‘release’ for fgptp testing. For detailed configuration instructions, please refer to  Please refer to https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/Step-by-Step-Guide-to-Running-the-GenAVB-TSN-Stack-FreeRTOS/ta-p/2390969, chapter 2.4: Best Regards, Shelly
View full article
RT1186 TSN DEMO 版本问题 我有两块 i.MX RT1186 FRDM 板,然后导入 frdmimxrt1186_tsn_app_cm33 项目,有好几种版本配置,我不知道该选哪一种。 我的目标是测试启用 fgptp 后的基本 TSN 通信。通过以太网线连接两块板后,我希望看到串口日志显示这两个设备已经协商好主从角色。 用户指南中的描述很复杂。请问谁能概述一下实现这一目标的一般步骤? Re: RT1186 TSN DEMO build problem 亲爱的@ChandlerY , 请选择“版本”进行 fgptp 测试。 有关详细配置说明,请参阅 请参考https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/Step-by-Step-Guide-to-Running-the-GenAVB-TSN-Stack-FreeRTOS/ta-p/2390969第2.4章: 顺祝商祺! 雪莉
View full article
A53リセットとS32G3によるロックステップブート 親愛なるNXPサポートチームへ、 S32G399A-EVB3でCortex-M7から起動すると、Cortex-A53は自動的にリセットされたままになりますか? M7がCortex-A53ロックステップモードを設定した後、A53リセットを解除して実行を開始する正しい手順は何でしょうか? 想定されるリセット動作を明確にし、推奨されるリセットから解放までの順序を教えていただけますか? よろしくお願いします、 トアン Re: A53 reset and lockstep boot with S32G3 こんにちは、トアン お問い合わせいただきありがとうございます。 確認をお手伝いし、次のCASEで返信します。 S32G3 BSP 48.0.0におけるリセットシーケンスおよびA53ロックステップブートフローに関する説明 - NXPコミュニティ BR ジョーイ
View full article