Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
i.MX RT1186で正確なABZエッジカウント(パルスごと)を手動で生成するにはどうすればよいですか? FPGAの代わりにRT1186 i.MX 使っています。FLEXIO1でTamagawaエンコーダーを読み取ったところ、 エッジ数が位置デルタと正確に一致 するABZ信号を出力する必要があります 。 連続PWMでは正確なエッジ数を制御できないので、すでにeFlexPWM(SWCOUT/FORCE_OUT)を試しました。しかし、連続して高速な更新を実行すると、出力が期待どおりにならないことがあります(例えば、10個のエッジを期待していたのに、3個しか観測されませんでした)。 では、この要件に特化した専用のペリフェラル(ハードウェアパルスジェネレーターなど)はありますか?それともGPIOビットバンギングを使う必要がありますか? また、FLEXIO1はTフォーマットに使用されているため、それをステートモード出力に共有することは競合になりますか? よろしくお願いします。 Re: How to generate exact manual ABZ edge counts (pulse-by-pulse) on i.MX RT1186? @rejust様、 ご質問ありがとうございます。 正確なパルス数を計測するためには、既に生成されたABパルスのエッジをカウントするためのフィードバック機構が必要である。 必要なエッジ数に達すると、パルス出力を停止できます。詳細は下記の図をご参照ください。 例えば1msの短い周期タスクを用いて、生成すべきエッジ数と実際に生成されたエッジ数に基づいて、eFlexPWMの開始・停止操作と出力期間を動的に制御できます。   例えば、エンコーダの位置が1ミリ秒以内に100カウント変化した場合、100枚のA/Bエッジを生成する必要があります。1つの完全なA/B直交サイクルには4つのエッジが含まれるため、これは1ミリ秒以内に25のA/Bサイクルに相当します。したがって、必要なeFlexPWM周波数は次のとおりです。 25 / 1 ms = 25 kHz 境界条件も考慮する必要がある。例えば、エッジが99個しかない場合( 実際の値は、eQDCを使用してAB直交信号を復号することによって得られます。 )が実際にこの 1 ms の間隔中に生成される場合、残りのエッジは破棄されるのではなく、次の 1 ms の間隔に引き継がれる必要があります。これにより位置誤差が時間とともに蓄積されるのを防ぎます。 したがって、周期的なタスクは必要なエッジ数と既に生成されたエッジ数を継続的に比較し、eFlexPWMの操作をそれに応じて調整できます。 残りのエッジの数が許容位置誤差以下の場合、eFlexPWMの出力を停止できます。 よろしくお願いいたします。 シェリー   Re: How to generate exact manual ABZ edge counts (pulse-by-pulse) on i.MX RT1186? @ShellyZhang様 詳細な説明と図解をありがとうございました。 ただし、まず自分の適用シナリオを強調したいです。MIMXRT1186XVJ8Cを使って元のMCU+FPGAセットアップを置き換えたいのです。エンコーダー信号を読み込み、同時に外部機器にABZ信号を出力する必要があります(監視やテスト用の位置フィードバック信号としてのみ使用されます)。 私の要件は、出力エッジ数が位置の差に厳密に一致し、直接ハードウェアの状態機械(例:FPGAパルスジェネレーター)のように振る舞うことです。 eFlexPWMやRT1186の他の専用ペリフェラルは、このまさにエッジバイエッジの出力を実現できますか? ありがとう。
View full article
如何在 i.MX RT1186 上生成精确的手动 ABZ 边沿计数(逐脉冲)? 我正在使用i.MX RT1186 来代替 FPGA。我通过 FLEXIO1 读取 Tamagawa 编码器,需要输出一个 ABZ 信号,其中边沿数与位置增量完全匹配。 由于连续 PWM 无法控制精确的边沿计数,我已经尝试过 eFlexPWM(SWCOUT/FORCE_OUT)。但是,当我触发快速连续更新时,输出与我的预期不符(例如,我预期有 10 条边,但只观察到 3 条)。 那么,是否有其他专用外设(例如硬件脉冲发生器)可以满足这种特定需求,还是我必须使用 GPIO 位操作? 另外,由于 FLEXIO1 用于 T 格式,将其用于状态模式输出是否会造成冲突? 谢谢! Re: How to generate exact manual ABZ edge counts (pulse-by-pulse) on i.MX RT1186? 亲爱的@rejust , 谢谢你的提问。 为了获得精确的脉冲计数,需要一种反馈机制来计数已经产生的 AB 脉冲边沿。 一旦达到所需的边沿数,即可停止脉冲输出。请参考下图进行说明。 您可以使用短周期任务(例如 1 毫秒的任务)来根据需要生成的边沿数和实际生成的边沿数动态控制 eFlexPWM 的启动/停止操作和输出周期。   例如,如果编码器位置在 1 毫秒内变化了 100 个计数,则需要生成 100 个 A/B 边沿。由于一个完整的 A/B 正交周期包含四个边,这对应于 1 毫秒内 25 个 A/B 周期。因此,所需的eFlexPWM频率为: 25 / 1 毫秒 = 25 千赫兹 还应考虑一些边界条件。例如,如果只有 99 条边( 实际值是通过使用eQDC解码AB正交信号得到的。 如果在 1 毫秒的时间间隔内实际生成了边沿,则剩余的边沿应该延续到下一个 1 毫秒的时间间隔,而不是被丢弃。这样可以防止位置误差随时间累积。 因此,周期性任务可以不断将所需的边数与已生成的边数进行比较,并相应地调整 eFlexPWM 操作。 当剩余边沿数小于或等于允许的位置误差时,eFlexPWM 输出即可停止。 顺祝商祺! 雪莉   Re: How to generate exact manual ABZ edge counts (pulse-by-pulse) on i.MX RT1186? 亲爱的@ShellyZhang 感谢您提供的详细解释和图表。 不过,我首先需要强调我的应用场景:我想使用 MIMXRT1186XVJ8C 来替换原有的 MCU + FPGA 设置。我需要读取编码器信号,并同时向外部设备输出 ABZ 信号(仅用作位置反馈信号,用于监控/测试目的)。 我的要求是输出边沿计数与位置增量严格匹配,表现得像一个直接的硬件状态机(例如,FPGA脉冲发生器)。 RT1186 上的 eFlexPWM 或任何其他专用的外设能否实现这种精确的逐边输出? 谢谢。
View full article
i.MX 91 - LPDDR4 Memory Compatibility Guide The purpose of this document is to provide extended guidance for the selection of compatible LPDDR4 memory devices that are supported by the i.MX 91 series of processors. In all cases, it is strongly recommended to follow the DRAM layout guidelines outlined in the NXP Hardware Developer's Guides for the specific SoCs. Memory devices with binary densities (e.g., 1 GB, 2 GB, 4 GB) are preferred because they simplify memory management by aligning with system addressing schemes and reducing software complexity. LPDDR4 - Maximum Supported Densities SoC Max Data bus width Maximum density Assumed memory organization Notes i.MX 91 (i.MX 91xx) 16-bit 16 Gb / (2 GB) single rank, single channel device with 17-row addresses (R0 - R16) 1, 2, 3 LPDDR4 - List of Validated Memories The validation process is an ongoing effort - regular updates of the table are expected. SoC Density Memory Vendor Validated Memory Part# Notes i.MX 91 16 Gb / (2 GB) Micron MT53E1G16D1FW-046 AAT:A MT53E1G16D1ZW-046 AAT:C 5  2 Gb / (256 MB)  Winbond  W66BP6NBHAHJ 4 8 Gb / (1 GB) Nanya NT6AN512M16AV-J1I   4 Gb / (512 MB) Nanya NT6AN256M16AV-J1I 4 8 Gb / (1 GB) ISSI IS43LQ16512B-046BLI 4 12 Gb / (1.5 GB) Micron MT53E768M16D1ZW-046 4 16 Gb / (2 GB) Intelligent Memory IMAG16L4KBBG 4 2 Gb / (256 MB) Nanya NT6AN128M16AV-J1 4 4 Gb / (512 MB) UniIC SCB11N4G160BF-04ZI 4 4 Gb / (512 MB) ISSI IS43LQ16256B-053BLI 4 4 Gb / (512 MB) Winbond W66CP6RBHAHJ 4 4 Gb / (512 MB) Winbond W66CP6RBQAHJ 4 Note: This device supports operation with LPDDR4 memories only. LPDDR4x operation is not supported. Dual‑mode memories that support both LPDDR4 and LPDDR4x are allowed as long as the device can operate in LPDDR4 mode, including using LPDDR4 I/O voltage levels and initialization sequences. NOTE: LPDDR4 devices from certain memory vendors may not support operation at low speeds and in addition, DQ ODT may not be active, which can impact signal integrity at these speeds. If low-speed operation is planned in the use case, please consult with the memory vendor about the configuration aspects and possible customization of the memory device so correct functionality is ensured. Note 1: The numbers are based purely on the IP documentation for the DDR Controller and the DDR PHY, on the settings of the implementation parameters chosen for their integration into the SoC, SoC reference manual and on the JEDEC standards JESD209-4B (LPDDR4). Therefore, they are not backed by validation, unless said otherwise and there is no guarantee that an SoC with the specific density and/or desired internal organization is offered by the memory vendors. Should the customers choose to use the maximum density and assume it in the intended use case, they do it at their own risk. Note 2: Byte-mode LPDDR4 devices (x16 channel internally split between two dies, x8 each) of any density are not supported therefore, the numbers are applicable only to devices with x16 internal organization (referred to as "standard" in the JEDEC specification). Note 3: The SoC also supports dual rank single channel devices therefore, 16Gb/2GB density can be also achieved by using a dual rank single channel device with 16-row addresses (R0 - R15). Note 4: The memory part number did not undergo full JEDEC verification however, it passed all functional testing items. Note 5: The memory part number is not recommended for new designs and superseded by a new part number
View full article
LPI2C故障滤波器宽度差异 你好, 我使用的是 MCXN947,搭载的是最新发布的 SDK(版本 26.09)。 在 MCUxpresso 中配置 LPI2C 外设时,我注意到 lpi2c_master_config_t 和 lpi2c_slave_config_t 的数据类型宽度不同,用于存储它们的毛刺滤波器长度。 这意味着,我在从设备配置中使用的相同长度,在同一个外设的主设备配置中会被截断。 fsl_lpi2c.h typedef struct _lpi2c_master_config { ... uint8_t sdaGlitchFilterWidth_ns; /*!< Width in nanoseconds of glitch filter on SDA pin. Set to 0 to disable. */ uint8_t sclGlitchFilterWidth_ns; /*!< Width in nanoseconds of glitch filter on SCL pin. Set to 0 to disable. */ ... } lpi2c_master_config_t; ... typedef struct _lpi2c_slave_config { ... uint32_t sdaGlitchFilterWidth_ns; /*!< Width in nanoseconds of the digital filter on the SDA signal. Set to 0 to disable. */ uint32_t sclGlitchFilterWidth_ns; /*!< Width in nanoseconds of the digital filter on the SCL signal. Set to 0 to disable. */ ... } lpi2c_slave_config_t; 根据参考手册,MCFGR2.FILDSDA 和 MCFGR2.FILTSDL 这两个寄存器会读取这些值,它们似乎是固定的 4 位。 我的参考手册是 MCXNX4XRM Rev.6、2025-03-05,所以可能有点过时了。我一直找不到它的新版本。如果有新版本发布,请告诉我。 fsl_lpi2c.cc void LPI2C_MasterInit(...) { ... cycles = LPI2C_GetCyclesForWidth(sourceClock_Hz, masterConfig->sdaGlitchFilterWidth_ns, 0U, (LPI2C_MCFGR2_FILTSDA_MASK >> LPI2C_MCFGR2_FILTSDA_SHIFT), 0U); ... cycles = LPI2C_GetCyclesForWidth(sourceClock_Hz, masterConfig->sclGlitchFilterWidth_ns, 0U, (LPI2C_MCFGR2_FILTSCL_MASK >> LPI2C_MCFGR2_FILTSCL_SHIFT), 0U); ... } 我想知道,为什么主设备和从设备配置之间存在这种差异? 感谢您抽出时间。 杰西 通信与控制(I3C | I2C | SPI | FlexCAN | 以太网 | FlexIO) Re: LPI2C glitch filter width discrepancy 更正,从代码更新 SCFGR2.FILTSDA 和 SCFGR2.FILTSCL。 虽然在代码中,MCFGR2 和 SCFGR2 的掩码和偏移量看起来是相同的。 #define LPI2C_MCFGR2_FILTSCL_MASK (0xF0000U) #define LPI2C_MCFGR2_FILTSCL_SHIFT (16U) /*! FILTSCL - 故障滤波器 SCL */ #define LPI2C_MCFGR2_FILTSCL(x) (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR2_FILTSCL_SHIFT)) & LPI2C_MCFGR2_FILTSCL_MASK) #define LPI2C_SCFGR2_FILTSCL_MASK (0xF0000U) #define LPI2C_SCFGR2_FILTSCL_SHIFT (16U) /*! FILTSCL - 故障滤波器 SCL */ #define LPI2C_SCFGR2_FILTSCL(x) (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR2_FILTSCL_SHIFT)) & LPI2C_SCFGR2_FILTSCL_MASK) 回复: LPI2C glitch filter width discrepancy 嗨@jcallon 感谢您的举报。在审查了 LPI2C 寄存器定义和驱动程序实现之后,这似乎是 SDK 驱动程序的问题。 对于控制器和目标配置,FILTSDA 和 FILTSCL 字段均为 4 位宽,LPI2C_GetCyclesForWidth() 已经接受 uint32_t 纳秒值,并将生成的周期计数限制在支持的寄存器范围内。因此,在 lpi2c_master_config_t 中使用 uint8_t 作为毛刺滤波器宽度会不必要地将输入限制为 255 ns,而 lpi2c_slave_config_t 使用的是 uint32_t。 我会将此不一致之处报告给SDK团队,以便他们确认和更正。感谢您提醒我们注意此事。 BR 哈里
View full article
Cloning Mifare Classic 1K Data and Serial Number Hello, hope this is the correct forum to ask this... I'm planning to offer a payments product based on mifare 1k classic cards and I would like to know if there is a way to clone all the info (including the serial number) of the card from one to another. Even without knowing the sector's KEY A/KEY B can the data be copied using special tools? Can the card's serial number (4 byte) can be cloned/copied? Because check the card's serial against a database would be useless if this can be acomplished. Regards Re: Cloning Mifare Classic 1K Data and Serial Number Hello, the UID can actually be cloned using special cards ("magic") that allow to overwrite the first sector. https://www.youtube.com/watch?v=RMoX_fyFZ60 Marco Re: Cloning Mifare Classic 1K Data and Serial Number Yes @Daniel_Gutierrez! I was talking about the card's 4-Byte UID like 07:6E:3D:3C (command FF CA OO OO 00). If it cannot be copied to another card, I can build something so I can validate the card was issued from the right application before trying to access the data for the purposes of the client. I have to work with this card type 'cause I think the client already has ordered a big lot of them. Nevertheless I'm forwarding your response so they can took in account there's other options to work with. Thank you very much for your response. Best regards! Carlos Almaguer Re: Cloning Mifare Classic 1K Data and Serial Number Hello @calmaguer, Good Day! Thank you very much for your interest in our products. I would like to ask, are you referring to the card's UID? If this is the case, please consider that this is a Unique Identifier which has been programmed and write protected in the production test, so it cannot be changed. You may refer to section 10 of the MIFARE Classic EV1 1K - Data Sheet and the following application note AN10927 for further details on the handling of UID's. Please note that this product is not recommended for new designs. Instead, consider having a look at our recommended secure MIFARE DESFire Light  and  MIFARE DESFire EV3 . My best regards, Daniel.
View full article
双核调试 RT1186 您好,我正在尝试使用 SEGGER J-Link 调试 RT1186 的 M7 内核。但是,启动 M33 核心后,我在正确连接方面遇到了很多问题。你能帮我配置一下json.launch吗?我已将目前拥有的资料附上。 {       "type" : "mcuxpresso-debug" ,       "name" : "使用 JLink 的 Dbg (M7)" ,       "请求" : "用上市,不用发布" ,       "cwd" : " ${workspaceFolder} " ,       “可执行” :{         “精灵” : ”       },       "probeSerialNumber" : "59101260" ,       "isAttach" : true ,       "skipBuildBeforeDebug" : false ,       "gdbInitCommands" : [         “设置远程超时时间为 600” ,         “设置调试文件目录” ,         “不停歇地启动” ],       "gdbServerConfigs" : {         "linkserver" : {},         "segger" : {           “设备” : “MIMXRT1186XXX8_M7” ,           "接口" : "SWD" ,           “gdbServerPath” : “c: \\程序文件\\ SEGGER \\ JLink_V930 \\ JLinkGDBServerCL.exe” ,           "gdbServerArgs" : [             “-选择” ,             "usb=59101260" ,             “-设备” ,             "MIMXRT1186XXX8_M7" ,             “-如果” ,             "swd" ,             “-速度” ,             “4000” ,             “-港口” ,             “2393” ,             “-swoport” ,             “2394” ,             “-脚本文件” ,             "c: \\ NXP \\ mcuxsdk \\ mcuxsdk \\ examples \\ _boards \\ frdmimxrt1186 \\ jlinkscript \\ frdmimxrt1186_cm7.jlinkscript" ,             “-单次运行” ],           "scriptfile" : "c: \\ NXP \\ mcuxsdk \\ mcuxsdk \\ examples \\ _板 \\ frdmimxrt1186 \\ jlinkscript \\ frdmimxrt1186_cm7.jlinkscript" ,           “速度” : “4000 ”           "gdbServerLaunchTimeout" : 5000 ,           "gdbServerExtraArgs" : [],           "gdbPort" : 2393 ,           "swoPort" : 2394 ,           "resetAfterLoad" : true },         "pemicro" : {}       },       "showDevDebugOutput" : "raw" ,       "probeType" : "SEGGER" ,       "toolchainPath" : "C: \\ Users \\ mastrmat \\. mcuxpressotools \\ arm-gnu-toolchain-14.2.rel1-mingw-w64-x86_64-arm-none-eabi" ,       "svdPath" : "c: \\ NXP \\ MIMXRT1186_cm7.xml" ,       "preLaunchCommands" : [],       "postLaunchCommands" : [],       "executableLoadTypePriority" : "auto" ,       "功能域": "multicore_manager_secondary_core",       "stopAtSymbol" : "main" ,       "extraLoadFiles" : [         "c: \\ repo \\ sidel_tmp \\ flexspi_nor_debug \\ multicore_manager_secondary_core \\ multicore_manager_secondary_core_cm7.elf" ],       "extraSymbolFiles" : []    } 启动 ROM | 启动配置 | 闪存 Re: Dual Core Debugging RT1186 嗨@Mastrmat , 非常感谢您对我们产品的关注以及对我们社区的使用。 关于您的问题,我认为对于 M7 附加会话,主要变化是将 CM7 ELF 放在 executable.elf 中,而不是放在 extraLoadFiles 中。executable.elf 提供会话的程序和调试信息,而 extraLoadFiles 则用于加载其他文件,但不加载其调试符号。 请尝试以下简化配置,并告知我结果。 由于恩智浦的政策,我无法分享源代码。我附上了一个关键数据供您参考。 请先启动 M33 调试会话,并允许它启动 M7 内核。然后按照此配置将其连接到 M7。对于这种设置,辅助核心调试会话应该使用附加模式。我已经删除了重复的服务器参数和其他可选设置,以便进行初始测试。 如果问题仍然存在,请发送 J-Link GDB 服务器日志中报告的第一个错误。 希望对你有帮助 顺祝商祺! 刘梅
View full article
Dual Core Debugging RT1186 Hi, I'm trying to debug the M7 core of an RT1186 using a SEGGER J-Link. However, I'm having a lot of trouble attaching correctly after starting the M33 core. Could you help me with the json.launch configuration? I've attached what I currently have. {       "type": "mcuxpresso-debug",       "name": "Dbg (M7) with JLink",       "request": "launch",       "cwd": "${workspaceFolder}",       "executable": {         "elf": ""       },       "probeSerialNumber": "59101260",       "isAttach": true,       "skipBuildBeforeDebug": false,       "gdbInitCommands": [         "set remotetimeout 600",         "set debug-file-directory",         "set non-stop off"       ],       "gdbServerConfigs": {         "linkserver": {},         "segger": {           "device": "MIMXRT1186XXX8_M7",           "interface": "SWD",           "gdbServerPath": "c:\\Program Files\\SEGGER\\JLink_V930\\JLinkGDBServerCL.exe",           "gdbServerArgs": [             "-select",             "usb=59101260",             "-device",             "MIMXRT1186XXX8_M7",             "-if",             "swd",             "-speed",             "4000",             "-port",             "2393",             "-swoport",             "2394",             "-scriptfile",             "c:\\NXP\\mcuxsdk\\mcuxsdk\\examples\\_boards\\frdmimxrt1186\\jlinkscript\\frdmimxrt1186_cm7.jlinkscript",             "-single run"           ],           "scriptfile": "c:\\NXP\\mcuxsdk\\mcuxsdk\\examples\\_boards\\frdmimxrt1186\\jlinkscript\\frdmimxrt1186_cm7.jlinkscript",           "speed": "4000",           "gdbServerLaunchTimeout": 5000,           "gdbServerExtraArgs": [],           "gdbPort": 2393,           "swoPort": 2394,           "resetAfterLoad": true         },         "pemicro": {}       },       "showDevDebugOutput": "raw",       "probeType": "SEGGER",       "toolchainPath": "C:\\Users\\mastrmat\\.mcuxpressotools\\arm-gnu-toolchain-14.2.rel1-mingw-w64-x86_64-arm-none-eabi",       "svdPath": "c:\\NXP\\MIMXRT1186_cm7.xml",       "preLaunchCommands": [],       "postLaunchCommands": [],       "executableLoadTypePriority": "auto",       "domain": "multicore_manager_secondary_core",       "stopAtSymbol": "main",       "extraLoadFiles": [         "c:\\repo\\sidel_tmp\\flexspi_nor_debug\\multicore_manager_secondary_core\\multicore_manager_secondary_core_cm7.elf"       ],       "extraSymbolFiles": []     } Boot ROM|Booting | Flash Re: Dual Core Debugging RT1186 Hi @Mastrmat , Thank you so much for your interest in our products and for using our community. Regarding your question, I think that for the M7 attach session, the main change is to place the CM7 ELF in executable.elf instead of extraLoadFiles. executable.elf provides the program and debug information for the session, whereas extraLoadFiles is intended for additional files to be loaded and does not load their debug symbols. Please try the simplified configuration below and let me know the result. Due to NXP policy, I cannot share the source code. Instead, I have attached a key figure for reference. Please start the M33 debug session first and allow it to start the M7 core. Then attach to the M7 using this configuration. For this setup, the secondary-core debug session should use attach mode. I have removed the duplicate server arguments and other optional settings for the initial test. If the issue persists, please send the first error reported in the J-Link GDB Server log. Wish it helps you Best Regards May Liu
View full article
模拟集成电路设计进展 嘿, 想听听大家对如何调整学习方式的意见。我对模拟集成电路设计非常感兴趣(只是有点担心看到这么多数字领域的人占据主导地位——是的,我知道“现实世界总是模拟的”,无论如何,这不是重点)。 我选修了一门基于 Razavi 的《模拟 CMOS 集成电路设计》的课程,其中涵盖了前面一些更基础的章节,例如: CS、CG、CD阶段 差分放大器 反馈、稳定性 杆子等等 一些运算放大器 I2C Re: Analog IC Design Progression 您好, NXP 社区支持频道旨在解答与 NXP 产品及其应用相关的问题。您的问题涉及一般的模拟集成电路设计教育,这超出了恩智浦技术支持的范围。 对于学习进阶建议,Reddit 上的 r/chipdesign 和 r/ECE 社区非常适合这类讨论,而 Razavi 在 YouTube 上的系列讲座则是完成你提到的入门章节后的绝佳下一步。 欢迎访问 nxp.com/training,浏览 NXP 的培训资源,获取更多学习资料。 如果您有关于恩智浦特定产品的问题,我们很乐意为您提供帮助。 BRs,托马斯
View full article
デュアルコアデバッグRT1186 こんにちは、SEGGER J-Linkを使用してRT1186のM7コアのデバッグを試みています。しかし、M33コアを起動した後、正しく接続するのに非常に苦労しています。json.launchの設定について手伝ってもらえますか?現在手元にある資料を添付しました。 {       "type" : "mcuxpresso-debug" 、       "名前" : "JLink を使用した Dbg (M7)" 、       「リクエスト」 : 「起動」 、       "cwd" : " ${workspaceFolder} " 、       "実行可能" : {         「エルフ」 : 「」       }、       "probeSerialNumber" : "59101260" 、       「isAttach」 : true 、       "skipBuildBeforeDebug" : false 、       "gdbInitCommands" : [         「set remotetimeout 600」 、         「デバッグファイルディレクトリを設定」 、         「ノンストップでオフにする」       ],       "gdbServerConfigs" : {         「リンクサーバー」 : {}、         「セガー」 : {           「デバイス」 : 「MIMXRT1186XXX8_M7」 、           「インターフェース」: 「SWD」           "gdbServerPath" : "c: \\ Program Files \\ SEGGER \\ JLink_V930 \\ JLinkGDBServerCL.exe" ,           "gdbServerArgs" : [             「-選択」 、             "usb=59101260" 、             "-デバイス" 、             「MIMXRT1186XXX8_M7」 、             "-もし" 、             「swd」 、             "-スピード" 、             「4000」 、             「-ポート」 、             「2393」 、             「-swoport」 、             「2394」 、             "-scriptfile" 、             "c: \\ NXP \\ mcuxsdk \\ mcuxsdk \\ examples \\ _boards \\ frdmimxrt1186 \\ jlinkscript \\ frdmimxrt1186_cm7.jlinkscript" 、             「-シングルラン」           ],           "scriptfile" : "c: \\ NXP \\ mcuxsdk \\ mcuxsdk \\ examples \\ _boards \\ frdmimxrt1186 \\ jlinkscript \\ frdmimxrt1186_cm7.jlinkscript" 、           「速度」 : 「4000」 、           "gdbServerLaunchTimeout" : 5000 、           "gdbServerExtraArgs" : [],           "gdbPort" : 2393 、           「swoPort」 : 2394 、           「resetAfterLoad」 : true         }、         「pemicro」 : {}       }、       "showDevDebugOutput" : "raw" 、       "probeType" : "SEGGER" 、       "toolchainPath": "C:\\Users\\mastrmat\\.mcuxpressotools\\arm-gnu-toolchain-14.2.rel1-mingw-w64-x86_64-arm-none-eabi",       "svdPath" : "c: \\ NXP \\ MIMXRT1186_cm7.xml" 、       "preLaunchCommands" : [],       "postLaunchCommands" : [],       「executableLoadTypePriority」: 「auto」       "domain" : "multicore_manager_secondary_core" 、       "stopAtSymbol" : "main" 、       "extraLoadFiles" : [         "c: \\ repo \\ sidel_tmp \\ flexspi_nor_debug \\ multicore_manager_secondary_core \\ multicore_manager_secondary_core_cm7.elf"       ],       "extraSymbolFiles" : []    } ブートROM|ブート|フラッシュ Re: Dual Core Debugging RT1186 こんにちは、 @Mastrmat さん、 私たちの製品にご関心を寄せ、コミュニティをご利用いただき、本当にありがとうございます。 ご質問に関してですが、M7アタッチセッションの場合、主な変更点はCM7 ELFをextraLoadFilesではなくexecutable.elfに配置することだと思います。executable.elfはセッションのプログラム情報とデバッグ情報を提供するのに対し、extraLoadFilesは追加ファイルをロードするためのものであり、デバッグシンボルはロードしません。 下記の簡略化された設定を試して、結果をお知らせください。 NXPの方針により、ソースコードを共有することはできません。代わりに、参考として重要な図を添付しました。 まずM33デバッグセッションを開始し、M7コアが起動するまで待ってください。次に、この構成を使用してM7に取り付けます。この設定では、セカンダリーコアのデバッグセッションはアタッチモードを使用する必要があります。初回テストのため、重複していたサーバー引数やその他のオプション設定を削除しました。 問題が解決しない場合は、J-Link GDBサーバーのログに最初に記録されたエラーをお送りください。 お役に立てれば幸いです。 よろしくお願いいたします。 メイ・リウ
View full article
Mifare Classic 1Kデータとシリアル番号のクローン作成 こんにちは。この質問をするのに適切なフォーラムかどうか分かりませんが… 私はmifare 1kクラシックカードをベースにしたペイメント製品を提供する予定で、カードの情報(シリアル番号を含む)をすべて別のカードから別のカードに複製する方法があるのか知りたいです。 セクターのキーA/キーBがわからなくても、特別なツールを使ってデータをコピーできますか? カードのシリアル番号(4バイト)はクローンやコピーができますか?なぜなら、カードのシリアル番号をデータベースで照合しても、これが可能なら意味がないからです。 よろしくお願いします。 Re: Cloning Mifare Classic 1K Data and Serial Number こんにちは、 UIDは、最初のセクターを上書きできる特別なカード(「マジック」)で実際にクローン化できます。 https://www.youtube.com/watch?v=RMoX_fyFZ60 Marco Re: Cloning Mifare Classic 1K Data and Serial Number はい、 @Daniel_Gutierrez さん!私が言っていたのは、07:6E:3D:3C (コマンド FF CA OO OO 00) のようなカードの 4 バイトの UID のことです。 もし他のカードにコピーできない場合は、クライアントのためにデータにアクセスする前に、正しいアプリケーションからカードが発行されたかを検証できる仕組みを作ることができます。 顧客が既に大量に注文しているようなので、このタイプのカードで作業しなければならない。それでも、他に対応できる選択肢があることを考慮してもらうために、あなたの返信を転送します。 ご回答いただき、誠にありがとうございました。 よろしくお願いいたします! カルロス・アルマグエル Re: Cloning Mifare Classic 1K Data and Serial Number こんにちは、 @calmaguer さん、良い一日を! 私たちの製品にご関心をお寄せいただき、誠にありがとうございます。 お伺いしたいのですが、カードのUIDのことでしょうか?もしこれがCASEであれば、これは本番テストでプログラムされ書き込み保護されている一意識別子であり、SO変更できないと考えてください。 UIDの取り扱いの詳細については、 MIFARE Classic EV1 1K - データシート のセクション10および以下のアプリケーションノート AN10927 を参照してください。 この製品は新しいデザインには推奨されていません。代わりに、当社の推奨する安全な MIFARE DESFire Lightおよび MIFARE DESFire EV3 をご覧ください。 よろしくお願いいたします。 ダニエル。
View full article
LPI2C glitch filter width discrepancy Hello, I am using an MCXN947 on the latest released SDK (version 26.09). When I was configuring the LPI2C peripheral in MCUxpresso, I noticed lpi2c_master_config_t and lpi2c_slave_config_t had different data type widths to store their glitch filter length. This meant the same length I was using on my slave configuration was being truncated for my master configuration of the same peripheral. fsl_lpi2c.h typedef struct _lpi2c_master_config { ... uint8_t sdaGlitchFilterWidth_ns; /*!< Width in nanoseconds of glitch filter on SDA pin. Set to 0 to disable. */ uint8_t sclGlitchFilterWidth_ns; /*!< Width in nanoseconds of glitch filter on SCL pin. Set to 0 to disable. */ ... } lpi2c_master_config_t; ... typedef struct _lpi2c_slave_config { ... uint32_t sdaGlitchFilterWidth_ns; /*!< Width in nanoseconds of the digital filter on the SDA signal. Set to 0 to disable. */ uint32_t sclGlitchFilterWidth_ns; /*!< Width in nanoseconds of the digital filter on the SCL signal. Set to 0 to disable. */ ... } lpi2c_slave_config_t; MCFGR2.FILDSDA and MCFGR2.FILTSDL, the registers that pull from these values, appear to be fixed 4 bits in the reference manual. My reference manual is MCXNX4XRM Rev. 6, 2025-03-05, so it may be a bit outdated. I was having trouble finding any new releases of it. If there is a new release, I'd be very happy to be pointed to it. fsl_lpi2c.cc void LPI2C_MasterInit(...) { ... cycles = LPI2C_GetCyclesForWidth(sourceClock_Hz, masterConfig->sdaGlitchFilterWidth_ns, 0U, (LPI2C_MCFGR2_FILTSDA_MASK >> LPI2C_MCFGR2_FILTSDA_SHIFT), 0U); ... cycles = LPI2C_GetCyclesForWidth(sourceClock_Hz, masterConfig->sclGlitchFilterWidth_ns, 0U, (LPI2C_MCFGR2_FILTSCL_MASK >> LPI2C_MCFGR2_FILTSCL_SHIFT), 0U); ... } I was wondering, why is there this discrepancy between the master and slave configuration? Thank you for your time, JC Communication & Control(I3C | I2C | SPI | FlexCAN | Ethernet | FlexIO) Re: LPI2C glitch filter width discrepancy Correction, the slave code updates SCFGR2.FILTSDA and SCFGR2.FILTSCL. Although, in the code, the masks and offsets for MCFGR2 and SCFGR2 appear to be the same. #define LPI2C_MCFGR2_FILTSCL_MASK (0xF0000U) #define LPI2C_MCFGR2_FILTSCL_SHIFT (16U) /*! FILTSCL - Glitch Filter SCL */ #define LPI2C_MCFGR2_FILTSCL(x) (((uint32_t)(((uint32_t)(x)) << LPI2C_MCFGR2_FILTSCL_SHIFT)) & LPI2C_MCFGR2_FILTSCL_MASK) #define LPI2C_SCFGR2_FILTSCL_MASK (0xF0000U) #define LPI2C_SCFGR2_FILTSCL_SHIFT (16U) /*! FILTSCL - Glitch Filter SCL */ #define LPI2C_SCFGR2_FILTSCL(x) (((uint32_t)(((uint32_t)(x)) << LPI2C_SCFGR2_FILTSCL_SHIFT)) & LPI2C_SCFGR2_FILTSCL_MASK) 回复: LPI2C glitch filter width discrepancy Hi @jcallon  Thank you for reporting this. After reviewing the LPI2C register definitions and driver implementation, this appears to be an SDK driver issue. The FILTSDA and FILTSCL fields are 4 bits wide for both controller and target configurations, and LPI2C_GetCyclesForWidth() already accepts a uint32_t nanosecond value and limits the resulting cycle count to the supported register range. Therefore, using uint8_t for the glitch filter width in lpi2c_master_config_t unnecessarily limits the input to 255 ns, whereas lpi2c_slave_config_t uses uint32_t. I will report this inconsistency to the SDK team for confirmation and correction. Thank you for bringing it to our attention. BR Harry
View full article
アナログICデザインの進展 おい、 自分の学習方法をどのように調整すれば良いか、意見を聞きたいです。私はアナログIC設計に非常に興味があります(ただ、デジタルの人たちが引き継ぐのを見るのが少し心配です。はい、「現実の世界は常にアナログだ」と言っているのはわかっていますが、それは本質ではありません)。 私はRazaviの「Design of アナログ CMOS ICs」を基にしたモジュールを1つ受講し、そこでは以前のより基本的な章、例えば CS、CG、CDステージ 差動増幅器 フィードバック、安定性 ポーランド人など オペアンプを少し I2C Re: Analog IC Design Progression こんにちは、 NXPコミュニティサポートチャネルは、NXP製品およびそのアプリケーションに関する質問に対応するためのものです。あなたの質問は一般的なアナログIC設計教育に関するもので、NXPの技術サポートの範囲外です。 学習の進捗についてのアドバイスとしては、Redditのr/chipdesignやr/ECEコミュニティがこの種の議論に適しており、Razavi自身のYouTube講義シリーズは、あなたが挙げた入門章を終えた後の素晴らしい次のステップです。 追加の学習資料については、nxp.com/training のNXPのトレーニングリソースをぜひご覧ください。 特定のNXP製品に関するご質問があれば、喜んでお手伝いいたします。 BRs、トーマス
View full article
MC33PF8200A0ES MC33PF8200A0ESのアップグレード版がMC33PF8200A0TSであることがわかりました。この2つの違いは何ですか? 私が購入したMC33PF8200A0TSにファイルが書き込まれていない場合、どのツールを使って書き込めば良いですか? KITPF8200FRDMPGMを使った書き込み以外に、他にどのような書き込み方法がありますか? KITPF5200FRDMEVMはMC33PF8200A0TSを書き込むことができますか? ご確認いただけますでしょうか?ありがとうございます。 Re: MC33PF8200A0ES 1:MC33PF8200A0ESは、新規設計には推奨されなくなりました。MC33PF8200A0ESのアップグレード版はMC33PF8200A0TSです。両パッケージは厚みが異なりますが、基板へのパッケージングには影響ありません。 2:プログラミングには以下のボードを選択できます。 PF8200/PF8100プログラミングボード | NXPセミコンダクターズ または、以下を選択することもできます。 SBCおよびPMIC向けOTPプログラミングボード|NXPセミコンダクターズ+ PF8200-OTP-DB製品情報|NXPセミコンダクターズ この組み合わせの燃焼 3:KITPF5200FRDMEVMを書き込みに使用することは推奨されません。
View full article
克隆 Mifare Classic 1K 数据和序列号 您好,希望我问这个问题的论坛没错…… 我计划推出一款基于 Mifare 1k Classic 卡的支付产品,我想知道是否有一种方法可以将一张卡的所有信息(包括序列号)克隆到另一张卡上。 即使不知道行业的密钥 A/密钥 B,是否可以使用特殊工具复制数据? 卡的序列号(4字节)可以被克隆/复制吗?因为如果能够做到这一点,那么将卡的序列号与数据库进行比对就毫无意义了。 此致 Re: Cloning Mifare Classic 1K Data and Serial Number 你好, 实际上可以使用特殊的卡片(“魔法”)来克隆 UID,这些卡片可以覆盖第一个扇区。 https://www.youtube.com/watch?v=RMoX_fyFZ60 马可 Re: Cloning Mifare Classic 1K Data and Serial Number 是的@Daniel_Gutierrez !我指的是卡的 4 字节 UID,例如 07:6E:3D:3C(命令 FF CA OO OO 00)。 如果无法复制到另一张卡上,我可以构建一个机制,以便在尝试访问数据以满足客户需求之前,验证该卡是否由正确的应用程序发行。 我必须使用这种卡片类型,因为我认为客户已经订购了一大批。不过,我还是会把你的回复转发给他们,以便他们考虑还有其他方案可供选择。 非常感谢您的回复。 顺祝商祺! 卡洛斯·阿尔马格尔 Re: Cloning Mifare Classic 1K Data and Serial Number 你好@calmaguer ,祝你今天愉快! 非常感谢您对我们产品的关注。 请问,您指的是卡的UID吗?如果情况属实,请注意,这是一个在生产测试中已编程并进行写保护的唯一标识符,因此无法更改。 有关 UID 处理的更多详细信息,请参阅MIFARE Classic EV1 1K 数据表第 10 节和以下应用笔记AN10927 。 请注意,不建议将此产品用于新设计。相反,您可以考虑查看我们推荐的安全型MIFARE DESFire Light和MIFARE DESFire EV3 。 我最诚挚的问候, 丹尼尔。
View full article
ユーザー空間からのセキュアブートライフサイクル読み取り IMX8DXPのユーザー空間からライフサイクルレジスタを読み取る方法。使えるドライバはありますか? i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: Secure-boot life cycle reading from userspace こんにちは@Ajaybajpai980  現在、BSPにはそのようなドライバはいません。 よろしくお願いします、 志明
View full article
MC33PF8200A0ES 我看MC33PF8200A0ES的升级版是MC33PF8200A0TS,这两者的区别是什么啊? 如果买的MC33PF8200A0TS是没烧录的,用什么工具烧录啊? 除了用KITPF8200FRDMPGM烧录,还能有什么方式烧录啊? KITPF5200FRDMEVM能烧录MC33PF8200A0TS吗? 帮忙给看看,谢谢。 Re: MC33PF8200A0ES 1:MC33PF8200A0ES 不推荐新设计中了已经,MC33PF8200A0ES的升级版是MC33PF8200A0TS,他俩封装厚度不一样,但是不影响PCB 封装。 2:可以选择下面的板子烧录 PF8200/PF8100 Programming Board | NXP Semiconductors 也可以选择: SBC and PMIC Product OTP Programming Board | NXP Semiconductors + PF8200-OTP-DB Product Information | NXP Semiconductors 这种组合烧录 3:不推荐用KITPF5200FRDMEVM烧录
View full article
Secure-boot life cycle reading from userspace How to read lifecycle register from user space in imx8dxp. Is there any driver that i can use.  i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: Secure-boot life cycle reading from userspace Hi @Ajaybajpai980  Currently, there is no such driver in the BSP. Best Regards, Zhiming
View full article
MC33PF8200A0ES I see that the upgraded version of MC33PF8200A0ES is MC33PF8200A0TS. What are the differences between the two? If the MC33PF8200A0TS I bought doesn't have any files burned in it, what tool should I use to burn it? Besides using the KITPF8200FRDMPGM for burning, what other methods are there for burning? Can the KITPF5200FRDMEVM burn an MC33PF8200A0TS? Could you please take a look? Thank you. Re: MC33PF8200A0ES 1: The MC33PF8200A0ES is no longer recommended for new designs. The upgraded version of the MC33PF8200A0ES is the MC33PF8200A0TS. The two packages have different thicknesses, but this does not affect the PCB packaging. 2: You can choose the following board for programming. PF8200/PF8100 Programming Board | NXP Semiconductors Alternatively, you can choose: SBC and PMIC Product OTP Programming Board | NXP Semiconductors + PF8200-OTP-DB Product Information | NXP Semiconductors This combination burning 3: It is not recommended to use KITPF5200FRDMEVM for burning.
View full article
从用户空间读取安全启动生命周期 如何在 imx8dxp 中从用户空间读取生命周期寄存器。有什么驱动程序可以使用吗? i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: Secure-boot life cycle reading from userspace 你好@Ajaybajpai980 目前,电路板支持包。中没有这样的驱动程序。 此致, 志明
View full article
Analog IC Design Progression Hey, Just want opinions on how to adjust my learning. I'm very interested in Analog IC design (just a little worried seeing all these digital people takeover - Yes I know "the real world is always analog", anyways that's not the point). I've taken one module based on Razavi's Design of Analog CMOS ICs in which we covered the earlier more basic chapters such as CS, CG, CD stages Differential Amplifiers Feedback, Stability Poles, etc A bit of op-amps I2C Re: Analog IC Design Progression Hi, The NXP Community support channel is intended for questions related to NXP products and their applications. Your question is about general Analog IC design education, which falls outside the scope of NXP technical support. For learning progression advice, the r/chipdesign and r/ECE communities on Reddit are well-suited for this type of discussion and Razavi's own lecture series on YouTube is an excellent next step after completing the introductory chapters you mentioned. Feel free to explore NXP's training resources at nxp.com/training for additional learning materials. If you have a question related to a specific NXP product, we are happy to help. BRs, Tomas
View full article