Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
弗劳恩霍夫 IIS 将主办 2014 年飞思卡尔®杯欧洲、中东和非洲地区面向有志工程师的决赛 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 位于德国埃尔兰根的弗劳恩霍夫集成电路研究所(与汤姆逊合作)发明了我们目前在智能手机和媒体播放器中广泛使用的 MP3 文件。他们拥有超过 20,000 名研究人员,是德国乃至全球研发界的一支力量。 该学院将于2014年4月29日至30日举办飞思卡尔杯2014年欧洲、中东和非洲地区决赛。 对于参加活动的学生团队来说,这是一个绝佳的机会,可以一睹工程研发的最佳成果,并与塑造未来世界的弗劳恩霍夫研究所的优秀工程师进行交流。 请参阅新闻稿20130715_Freescale_2014 - 弗劳恩霍夫集成电路研究所 IIS 飞思卡尔杯内容
View full article
S32K344 boot跳转APP出现hard fault 如图所示,使用S32K344产品进行boot跳转App入口地址出现hard fault故障,附件txt为boot和appflash分区的链接文件,压缩包内含有boot和app的map文件以及hex文件,请技术支持帮助看一下问题出在哪里 Re: S32K344 boot跳转APP出现hard fault 你好@wzy__1024 看来你正在跳转到RESET向量所在的地址。但不是指向RESET向量指向的地址: 因此,地址 0x443004 并不是入口点,而是指向入口点的指针。 此致, 卢卡斯
View full article
Seeking a compatible pressure sensor Hallo everyone I'm looking for a compatible pressure sensor to replace the original 125pc05d1. 125pc05d1 is the original pressure sensor.It is a differential pressure type. I have attached the original pressure sensor's outline drawing and technical specifications. The sensitivity of a 125pc05d1 is approximately equal to Δmv/Δp ≈ 70mv/5psi ≈ 14,Because the subsequent amplifier circuit is complex, I don't know how to adjust it. It would be ideal if there were a newer model of pressure sensor with the same sensitivity that would be compatible. For more detailed testing, please see the link below. https://www.eevblog.com/forum/repair/replacing-the-pressure-sensor-requires-assistance/ Thank you for your help. Re: Seeking a compatible pressure sensor Hello, Please consider using the MPX10DP, as it is the closest match to the original 125pc05d1 in both form and functionality. If you need a broader pressure range or more output voltage for higher resolution, consider the MPX5010DP, albeit with additional signal conditioning. BRs, Tomas Re: Seeking a compatible pressure sensor Thanks
View full article
EB Tresos: 「DriverConfig」の複数の定義 こんにちは、 EB Tresos で BMS SDK Gen2 を使用しています。初期化中に Bjb_D1xx ドライバと Bcc_774a ドライバに構成構造体を渡したいので、両方のモジュールで「Config Variant: VariantPostBuild」を選択する必要があります。 ただし、各ドライバは DriverConfig 変数を含めて生成されるため、コンパイル エラーが発生します。 [ビルド] /workspaces/template/EBTresosProjectFiles/NextGen_RevA/generate/include/CDD_Bjb_D1xx_Cfg.h:48 からインクルードされたファイルで、 [ビルド] /workspaces/template/S32DSProjectFiles/BMS_GEN2_0.9.1_CD01/Bjb_D1xx_TS_TxDxM9I1R0/include/CDD_Bjb_D1xx.h:46 から、 [ビルド] /workspaces/template/S32DSProjectFiles/BMS_GEN2_0.9.1_CD01/Bms_common_TS_TxDxM9I1R0/src/CDD_Bms_common.c:60 から: [ビルド] /workspaces/template/EBTresosProjectFiles/NextGen_RevA/generate/include/CDD_Bjb_D1xx_PBcfg.h:85:44:エラー: 'DriverConfig' の型が競合しています [ビルド] 85 | extern const Bjb_D1xx_DriverConfigType DriverConfig; [ビルド] | ^~~~~~~~~~~~~ [ビルド] /workspaces/template/EBTresosProjectFiles/NextGen_RevA/generate/include/CDD_Bjb_D1xx_PBcfg.h:85:44:注: マクロ 'BJB_D1XX_INITCONFIG_PB' の定義内 [ビルド] 85 | extern const Bjb_D1xx_DriverConfigType DriverConfig; [ビルド] | ^~~~~~~~~~~~~ [ビルド] /workspaces/template/S32DSProjectFiles/BMS_GEN2_0.9.1_CD01/Bjb_D1xx_TS_TxDxM9I1R0/include/CDD_Bjb_D1xx.h:1013:1:注: マクロ 'BJB_D1XX_CONFIG_EXT' の展開 [ビルド] 1013 | BJB_D1XX_CONFIG_EXT [ビルド] | ^~~~~~~~~~~~~~~~~~~~~ [ビルド] /workspaces/template/EBTresosProjectFiles/NextGen_RevA/generate/include/CDD_Bcc_774a_Cfg.h:49 からインクルードされたファイルで、 [ビルド] /workspaces/template/S32DSProjectFiles/BMS_GEN2_0.9.1_CD01/Bcc_774a_TS_TxDxM9I1R0/include/CDD_Bcc_774a.h:46 から、 [ビルド] /workspaces/template/S32DSProjectFiles/BMS_GEN2_0.9.1_CD01/Bms_common_TS_TxDxM9I1R0/src/CDD_Bms_common.c:54 から: [ビルド] /workspaces/template/EBTresosProjectFiles/NextGen_RevA/generate/include/CDD_Bcc_774a_PBcfg.h:86:44:注: 'DriverConfig' の以前の宣言はここにありました [ビルド] 86 | extern const Bcc_774a_DriverConfigType DriverConfig; [ビルド] | ^~~~~~~~~~~~~ [ビルド] /workspaces/template/EBTresosProjectFiles/NextGen_RevA/generate/include/CDD_Bcc_774a_PBcfg.h:86:44:注: マクロ 'BCC_774A_INITCONFIG_PB' の定義内 [ビルド] 86 | extern const Bcc_774a_DriverConfigType DriverConfig; [ビルド] | ^~~~~~~~~~~~~ [ビルド] /workspaces/template/S32DSProjectFiles/BMS_GEN2_0.9.1_CD01/Bcc_774a_TS_TxDxM9I1R0/include/CDD_Bcc_774a.h:851:1:注: マクロ 'BCC_774A_CONFIG_EXT' の展開 [ビルド] 851 | BCC_774A_CONFIG_EXT [ビルド] | ^~~~~~~~~~~~~~~~~~~~~ コンパイル エラーを発生させずにビルド後のパラメータ化を可能にするために、両方のドライバを構成するにはどうすればよいでしょうか? Re: EB Tresos: Multiple definitions of "DriverConfig" クリスマス休暇期間中は、サポートの応答時間は通常より長くなる場合がありますのでご了承ください。場合によっては、ご要望への対応が新年以降になることもあります。ご理解のほどよろしくお願いいたします。 Re: EB Tresos: Multiple definitions of "DriverConfig" こんにちは@PhilippH 、 個人的にお伝えしたとおり、このCASEは開発チームによって検討中でした。 彼らは次のような回答をしました。 この問題を解決するには、これらの変数の前にモジュール名を付けます(例:生成されたコードには、 Bcc_774a_とBjb_D1xx_が含まれます。この変更はテスト目的でのみ使用され、本番環境では使用されないことに注意してください。 よろしくお願いいたします。 ダニエル
View full article
SAF - ASIL 认证 您好,技术支持、 客户正在使用带有 SW32K3_SAF_1.0.5_D2503 的 S32K31。 他们要求我们提供 SAF ASIL 证书或任何文件,以证明其符合 ASIL"ready/compliance" 。 此致, 马库斯 SAFETY_SW Re: SAF - ASIL Certification 您好,技术支持、 有更新吗? Re: SAF - ASIL Certification 你好 Marcus, 对于每个高级 SAF 软件包,都可以下载功能安全软件评估摘要报告。 适用于 SAF 1.0.5我也可以在 Flexera 上看到: S32K3_SAF_1.0.5_Safety_SW_Assessment_Summary.pdf 亲切的问候, Radoslav Re: SAF - ASIL Certification 你好@marcuslim, 目前,与客户共享文件在技术上和法律上都受到限制,我认为唯一合法的途径是通过销售人员。 总之,我想从 nxp.com 上的 SAF 产品页面截图,和我分享的一样,看看到底缺了什么。 客户如何获得版本? 应该有功能安全评估,其他人都可以看到。 我在这里附上内部报告,让您找到如何合法地与客户共享文件的方法。 但请尽量向客户解释正确的获取方式 nxp.com=>Softwareaccounts= > 汽车软件-S32K3 高级软件= > 汽车软件-S32K3-功能安全软件框架 亲切的问候,拉多斯拉夫 Re: SAF - ASIL Certification 谢谢你,拉多斯拉夫! 客户已找到文件。 我们可以关闭这个主题了。 此致, 马库斯
View full article
i.MX6ULL:BT+WiFi 芯片(高通 QCA9377)的 132MHz sdio 时钟输出问题 恩智浦社区成员,你们好、 我有一块装有 IMX6ULL 和高通 BT+WiFi 组合芯片的定制板。 该项目基于 Yocto kirkstone、linux-imx 5.15.71 内核版本。 mx6ull 和 qca9377 之间的通信方式是 sdio。 关于 mx6ull 和 qca9377 之间的 sdio 通信过程中偶尔出现的通信错误,我有几个问题。 1. 将 dts 设置为使用 132MHz 的 sdio 时钟速度 imx6ul-14x14-evk.dtsi &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>; pinctrl-1 = <&pinctrl_usdhc1_100mhz>; pinctrl-2 = <&pinctrl_usdhc1_200mhz>; bus-width = <4>; vmmc-supply = <&reg_sd1_vmmc>; pm-ignore-notify; keep-power-in-suspend; non-removable; status = "okay"; }; &iomuxc { pinctrl_usdhc1: usdhc1grp { fsl,pins = < MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x10071 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059 MX6UL_PAD_GPIO1_IO00__GPIO1_IO00 0x130b0 >; }; pinctrl_usdhc1_100mhz: usdhc1grp100mhz { fsl,pins = < MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x170b9 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x100b9 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170b9 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170b9 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170b9 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170b9 >; }; pinctrl_usdhc1_200mhz: usdhc1grp200mhz { fsl,pins = < MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x170f9 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x100f9 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170f9 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170f9 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170f9 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170f9 >; }; }; mmc0 信息 # cat /sys/kernel/debug/mmc0/ios clock: 132000000 Hz actual clock: 132000000 Hz vdd: 21 (3.3 ~ 3.4 V) bus mode: 2 (push-pull) chip select: 0 (don't care) power mode: 2 (on) bus width: 2 (4 bits) timing spec: 6 (sd uhs SDR104) signal voltage: 1 (1.80 V) driver type: 0 (driver type B) 3. 有时会打印出如下 sdio 通信错误日志 AR6000: SDIO bus operation failed! MMC stack returned : -84 __HIFReadWrite, addr:0X001000, len:00000256, Read , Sync Debug Assert Caught, File /usr/src/debug/kernel-module-qca9377/3.1-r0/git/CORE/SERVICES/HIF/sdio/linux/native_sdio/src/hif.c, Line: 1459, Test:status == A_OK || status == A_ECANCELED "Change sdio clock speed (132MHz -> 50MHz)" 1. 将 DTS 设置为使用 sdio 时钟速度为 50MHz。 imx6ul-14x14-evk.dtsi &usdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1>; bus-width = <4>; vmmc-supply = <&reg_sd1_vmmc>; pm-ignore-notify; keep-power-in-suspend; non-removable; status = "okay"; }; mmc0 信息 # cat /sys/kernel/debug/mmc0/ios clock: 50000000 Hz actual clock: 44000000 Hz vdd: 21 (3.3 ~ 3.4 V) bus mode: 2 (push-pull) chip select: 0 (don't care) power mode: 2 (on) bus width: 2 (4 bits) timing spec: 2 (sd high-speed) signal voltage: 0 (3.30 V) driver type: 0 (driver type B) 不显示 sdio 通信错误日志。 1.当 sdio 时钟设置为 132MHz 时,mx6ull 和 qca9377 之间的 sdio 通信似乎不稳定。有没有办法通过修改 dts 值来改进它? 2.如果不可能,您建议使用什么值作为 sdio 时钟值? 提前谢谢您。 致以最诚挚的问候 i.MX6 全部 i.MX6UL Linux Yocto Project Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 请参阅数据表,SDR104/SDR50 模式的信号电平为 1.8 V。请检查您的硬件并仔细确认这一点 Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 亲爱的谢琼 感谢您的快速回复。   让我再解释一下。   <HW> - Soc 是 NXP mx6ull 处理器 (MCIMX6Y2DVM09AB) - mmc0 连接到高通 BT/WiFi Combo 芯片(sdio 连接) -> 132MHz,1.8V - mmc1 连接到 8G eMMC -> 132MHz,1.8V   <mmc0> # cat /sys/kernel/debug/mmc0/ios 时钟:132000000 赫兹 实际时钟:132000000 赫兹 Vdd:21(3.3 ~ 3.4 V) 总线模式:2(推拉) 芯片选择: 0(无所谓) 电源模式:2(开启) 总线宽度:2(4 位) 定时规格 6(SD UHS SDR104) 信号电压: 1 (1.80 V) 驱动器类型: 0(驱动程序类型 B)   <mmc1> # cat /sys/kernel/debug/mmc1/ios 时钟:132000000 赫兹 Vdd:21(3.3 ~ 3.4 V) 总线模式:2(推拉) 芯片选择: 0(无所谓) 电源模式:2(开启) 总线宽度:3(8 位) 定时规格 9 (mmc HS200) 信号电压: 1 (1.80 V) 驱动器类型: 0(驱动程序类型 B)   <说明> - 与连接到 mmc1 的 eMMC 的通信以 132MHz 和 1.8V 电压运行,没有任何问题。 - 与连接到 mmc0 的 BT/WiFi 芯片的 sdio 通信也是以 132MHz 和 1.8V 电压驱动的,但会出现间歇性的 sdio 通信错误。   更多问题见下文: 1.对于 eMMC(mmc1),HS200(132MHz/1.8V)似乎是有保证的、但对于 SDIO(mmc0),在 SDR104 模式下似乎只能保证高达 104MHz 的频率。请检查? 2.如果是,mx6ull 芯片是否能保证最高 104MHz 的 sdio 时钟速度? (我想确认一下 MX6ULL 芯片能否保证 SDIO 132MHz 的时钟速度)。 Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 感谢您的快速回复。 关于问题 1,我想我大错特错了。很抱歉。 我检查了你提到的如下内容 ""SD/SDIO UHS-I 模式(SDR 模式下最高 208 MHz,DDR 模式下最高 50 MHz)" 因此,如果我们在 mmc0 中使用 sdr104,最大时钟频率为 208MHz,那么有可能保证 132MHz 的时钟频率吗? Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 1.对于 eMMC(mmc1),HS200(132MHz/1.8V)似乎是有保证的、但对于 SDIO(mmc0),在 SDR104 模式下似乎只能保证高达 104MHz 的频率。请检查? >请参阅数据表,最高可达 UHS-I SDR104 模式 104MB/s,不是 104Mhz max,请参阅 RM:SD/SDIO UHS-I 模式(SDR 模式下最高 208MHz,DDR 模式下最高 50MHz) 2. (我想确认 MX6ULL 芯片是否能保证 SDIO 132MHz 的时钟速度)。 >您可以参阅数据表,对于 SDR104,频率最高可达 200Mhz,我们已经在 mmc0 上测试了 SDR104,频率最高可达 198Mhz,参阅您的日志,似乎您的 mmc1 可以在 HS200 下工作? Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 是的,您可以参考默认设置为 132M 的 dtsi 文件,也可以转储时钟树来检查时钟是否为 132Mhz Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 谢谢 joanxie、 我会再检查一下,看看是否真的是时钟速度问题,然后再问。 谢谢。 Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 我在 SW 中调试了上述内容。 请在确认细节后回答我的问题。 1.芯片勘误表 芯片勘误表i.MX 6ULL "ERR010450 MMC:EMMC 只能在低于或等于 150 MHz 的频率下运行" https://www.nxp.com/docs/en/errata/IMX6ULLCE.pdf        2.SW 调试 1) 误差值定义 incl@@ ud e/ uapi / asm -generic / errno.h: 67: #define EILSEQ 84 /* 非法字节序列 */ 2) EILSEQ 设置位置 -cmd 司机/mmc/主机/sdhci.c: sdhci_cmd_irq() 如果如果 &(sdhci_int_timeout |SDHCI_INT_CRC |sdhci_int_end_bit |sdhci_int_index)){ 如果(intmask &sdhci_int_timeout) 主机->cmd->错误 = -ETIMEDOUT; 不然 主机->cmd->错误 = -EILSEQ;                     -数据 司机/mmc/主机/sdhci.c: sdhci_data_irq() 如果(intmask &sdhci_int_data_timeout) 主机->数据->错误 = -ETIMEDOUT; 否则 如果(intmask &sdhci_int_data_end_bit) 主机->数据->错误 = -EILSEQ; 3) 对数 [418.109795][sdhci_cmd_irq()] intmask = 0xa0001 [418.114178][sdhci_data_irq()] intmask = 0x200002 [ 418.118999] AR6000:S DIO 总线操作失败! 返回的 MMC 堆栈:-8 4 [418.125847]__HIFReadWrite, addr:0X000800, len:00000044, 读 , 同步 [418.144284]调试断言捕获,文件 /usr/src/调试/内核-模块-qca9377/3.1-r0/git/核心/服务/HIF/sdio/linux/native_sdio/src/hif.c, 行: 1459, 测试:状态 ==A_OK ||状态 ==A_ECANCELED 3.SDHCI 寄存器 1) sdhci_cmd_irq() 的掩码值为 0xa0001 位 0 (0x00001)😞 sdhci_int_response -> 命令响应 OK 位 17 (0x20000)😞 SDHCI_INT_INDEX -> 命令索引错误 位 19 (0x80000)😞 SDHCI_INT_CRC -> 命令 CRC 错误 2)的内屏蔽值 的掩码值是() 的掩码值为 0x200002 位 1 (0x00002)😞 sdhci_int_data_end -> 数据确定 位 21 (0x200000)😞 SDHCI_INT_DATA_CRC -> 数据 CRC 错误 4.猜谜 根据 imx6ull 勘误表 ERR010450、 "1.8 V 的 SDR104 只能在低于或等于 150 MHz 的频率下工作。" 如果它的工作频率高达 150MHz看来 cmd/数据 CRC 错误将在 132MHz 时在 132MHz 频率下,由于温度/时间差/电压波动等因素造成的时序余量。 5.问题 目前,我们无法通过硬件调整来调整数值,必须通过软件来响应。 降低 sdio 时钟值似乎可以减少或消除 CRC 错误率。 率。恩智浦有什么看法? 谢谢。 Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 亲爱的 joanxie 根据您提供的信息,我使用下面的寄存器进行了测试。 sdhci-esdhc-imx.c #define ESDHC_MIX_CTRL_SMPCLK_SEL (1<< 23) #define ESDHC_MIX_CTRL_AUTO_TUNE_EN (1<< 24) #define ESDHC_MIX_CTRL_FBCLK_SEL (1<< 25) SMPCLK_SEL 0 AUTO_TUNE_EN 1 FBCLK_SEL 1 1. 测试 1) 设置 AUTO_TUNE_EN 1-> 0 2) 日志 [39.150703] AR6000:取消向总线驱动程序 注册 3) wlan0 注册失败 $ ifconfig wlan0 up ifconfig:SIOCGIFFLAGS:没有这样的设备 2. 测试 2 1) 设置 FBCLK_SEL 1-> 0 2) 日志 [39.160750] AR6000:取消向总线驱动程序注册 3) wlan0 注册也失败 $ ifconfig wlan0 up ifconfig:SIOCGIFFLAGS:没有这样的设备 3. 测试 3 1) 设置 AUTO_TUNE_EN 1-> 0 & & FBCLK_SEL 1-> 0 2) 系统在启动时死机,如下面的日志所示 [18.834619] wlan:加载驱动程序 v4.5.25.65 [ 18.894917] hifDeviceInserted:Dumping clocks (50000000,132000000) 我试着参考恩智浦社区的文章对其进行修改和测试,但结果并不令人满意。 请注意 感谢您的帮助 Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 亲爱的 joanxie, 感谢您的快速回复。 在参考您的指南后,我会告诉您的。 祝你今天和周末愉快 Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 我咨询了无线团队,他们已经通过 usdhc 验证了 imx6ull 的 WIFI,并且可以设置最大时钟频率为 150Mhz,因此对于 imx6ull 端,可以支持这一点,而且我发现一些 WIFI 芯片会影响自动运行,因此我建议您可以禁用这些寄存器来检查,如果这些不是根本原因,我建议您需要检查您的硬件和 PCB 设计,如果您无法确认这一点,您可以提交票据进行 SCHEMATIC 审核。 Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 我咨询了无线团队,他们已经通过 usdhc 验证了 imx6ull 的 WIFI,并且可以设置最大时钟频率为 150Mhz,因此对于 imx6ull 端,可以支持这一点,而且我发现一些 WIFI 芯片会影响自动运行,因此我建议您可以禁用这些寄存器来检查,如果这些不是根本原因,我建议您需要检查您的硬件和 PCB 设计,如果您无法确认这一点,您可以提交票据进行 SCHEMATIC 审核。 Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 这就是我之前谈到的,关于自动调谐影响故障的详细信息 https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/uSDHC-auto-tuning-and-possible-SDIO-failures/ta-p/1352855 Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 很高兴听到这些补丁起作用了,但事实上新的 电路板支持包 已经合并了,据我所知,我没听见 imx6ull 和 wifi 芯片之间存在任何其他问题 Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 亲爱的 joanxie 感谢您的友好指导。 我参照您提供的链接调试了这个问题。 1. 补丁 1 1) 参考您提供的链接使用补丁 https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/uSDHC-auto-tuning-and-possible-SDIO-failures/ta-p/1352855 2. 补丁 2 1) 在 dts 文件上添加"fsl,sdio-async-interrupt-enabled" imx6ul-14x14-evk.dtsi: &usdhc1 { fsl,sdio-async-interrupt-enabled; //add this line 2) 以下部分已启用 sdhci-esdhc-imx.c: usdhc_auto_tuning_mode_sel() /* * If sdio device use async interrupt, it will use DAT[1] to signal * the device's interrupt asynchronous when use 4 data lines. * Then hardware auto tuning circuit MUST NOT check the DAT[1] line, * otherwise auto tuning will be impacted by this async interrupt, * and change the delay cell incorrectly, which then cause data/cmd * errors. * This is the hardware auto tuning circuit limitation. */ if (imx_data->boarddata.sdio_async_interrupt_enabled) auto_tune_buswidth = ESDHC_VEND_SPEC2_AUTO_TUNE_1BIT_EN; 打上上述补丁后,通过调试,问题没有再出现。 (sdio 时钟变化测试(50MHz->100MHz->132MHz)、ping 测试、iperf3 测试等)。 再问一个问题,确认一下你们的补丁指南。 如果我打上这个补丁,问题就会得到解决、 但它是否有可能对 mx6ull 和 wifi 芯片之间的 sdio 通信产生其他影响?   感谢您的支持。 Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 谢谢 joanxie、 我还检查了另一个 yocto 版本(imx-6.6.52、fslc-6.1.72) 我在 yocto scarthgap imx-6.6.52 版本上找到了类似的补丁,如下所示 /* * For USDHC, auto tuning circuit can not handle the async sdio * device interrupt correctly. When sdio device use 4 data lines, * async sdio interrupt will use the shared DAT[1], if enable auto * tuning circuit check these 4 data lines, include the DAT[1], * this circuit will detect this interrupt, take this as a data on * DAT[1], and adjust the delay cell wrongly. * This is the hardware design limitation, to avoid this, for sdio * device, config the auto tuning circuit only check DAT[0] and CMD * line. */ if (imx_data->init_card_type == MMC_TYPE_SDIO) auto_tune_buswidth = ESDHC_VEND_SPEC2_AUTO_TUNE_1BIT_EN; esdhc_clrset_le(host, ESDHC_VEND_SPEC2_AUTO_TUNE_MODE_MASK, auto_tune_buswidth | ESDHC_VEND_SPEC2_AUTO_TUNE_CMD_EN, ESDHC_VEND_SPEC2); 但未在 yocto scarthgap fslc-6.1.72 上打补丁版本。 我将根据您的指导检查其他 yocto 版本。 感谢您的支持。
View full article
IMX8MP と sec-dsim.cサポート こんにちは、 MIPI DSI 経由で imx8MP にコネクテッドされたパネルを起動しようとしています。DSI ブリッジ ドライバのソースを調べていたところ、ドライバが fslc ブランチから「消えた」ことに気付きました。 これは私が確認した最後の発生です: https://github.com/Freescale/linux-fslc/commits/5.15-2.2.x-imx/drivers/gpu/drm/bridge/sec-dsim.c 現在このブランチを使用しています: linux-imx_5.10.72_2.2.0 ドライバは最近のブランチのどこに移動しましたか?Samsung バージョンとの統合に向けた動きが見られます。 ありがとうございます! Re: IMX8MP and sec-dsim.c support こんにちは、 私も同じことを思っていました。これを解決しましたか?なぜ pl_tx_done ではなく ph_tx_done を待つのでしょうか。 Re: IMX8MP and sec-dsim.c support これは問題ないようです。クロック有効化シーケンスにバグがあり、SOコマンドが送信されていないことが判明しました。 Re: IMX8MP and sec-dsim.c support ドライバはまだここに存在します、よかった!気になるSOは変わってないのでこちらで質問させていただきます。https://github.com/nxp-imx/linux-imx/blob/29549c7073bf72cfb2c4614d37de45ec36b60475/drivers/gpu/drm/bridge/sec-dsim.c#L695 「」 if (packet.payload_length) { /* Long Packet case */ reinit_completion(&dsim->pl_tx_done); /* write packet payload */ sec_mipi_dsim_write_pl_to_sfr_fifo(dsim, packet.payload, packet.payload_length); /* write packet header */ sec_mipi_dsim_write_ph_to_sfr_fifo(dsim, packet.header, use_lpm); ret = wait_for_completion_timeout(&dsim->ph_tx_done, MIPI_FIFO_TIMEOUT); if (!ret) { dev_err(dsim->dev, "wait payload tx done time out\n"); return -EBUSY; } } ``` リセット中です dsim->pl_tx_done ただし、次のものを待っています: wait_for_completion_timeout(&dsim->ph_tx_done, これは正しいですか?ハードウェアは長いパケットに対して pl_tx と ph_tx の両方に割り込みを生成しますか? Re: IMX8MP and sec-dsim.c support こんにちは、 新しい git からカーネルが利用可能かどうかを確認する必要があります。 https://github.com/nxp-imx よろしくお願いします。
View full article
恩智浦 mpc5744p MCU 板的三维模型 & Devkit MotorGD 板 大家好, 我正在开发一个新的测试平台,包括恩智浦产品,如mpc5744p MCU和DevKit MotorGD板。 我要为我的测试平台买专业的 3D 照片我需要的是: 1. mpc5744p MCU 板 2 的 3D 文件。 我在恩智浦网站上搜索 了 DevKit MotorGD 看板 然后我在 .zip 里找到了这些但我无法使用 Easyeda 打开它们 。 1. LAY-29379_B.zip 2. LAY-29333_E.zip 请谁能帮我打开它们或者获取两块板的 3D 模型文件。 谢谢,祝您愉快! Re: 3d Model of NXP mpc5744p MCU Board & Devkit MotorGD Board 你好 我在恩智浦网站上进行了搜索,找到了这些 .zip 文件但我无法使用 Easyeda 打开它们 。 1. LAY-29379_B.zip 2. LAY-29333_E.zip 这些是在 Candace: allegro 中设计的布局文件。 我不指望你能从布局设计中提取 3D 模型。 我找到了以下方法: EAGLE + Fusion 360 打开 .brd文件。 使用 Fusion 360 同步功能: 转到 Fusion 360 → 导入 EAGLE 设计。 它将生成一个包含元器件的完整 3D PCB 模型。 导出为 STEP (.step) 或 IGES 格式,用于机械整合。 我不指望你能从布局设计中提取 3D 模型。 通过社区无法共享 500MB 的 STEP 文件。 顺祝商祺! Peter Re: 3d Model of NXP mpc5744p MCU Board & Devkit MotorGD Board 你好,petervlna、 非常感谢你的答复。 我们使用Eagle + Fusion 360 尝试了建议的解决方案,但不幸的是,我们遇到了文件无法打开的错误提示(如下图所示)。使用EasyEDA、Altium 和 KiCad 等其他 PCB 软件时也会出现同样的问题。 此时,我们迫切需要两块板的.STEP 格式的三维模型。如果您能直接提供这些文件,比如通过Google Drive、OneDrive、MEGA 等云存储服务或任何其他方便的平台,我们将不胜感激。 再次感谢您的支持。我们期待您的答复。 致以最崇高的敬意, Ahmed Re: 3d Model of NXP mpc5744p MCU Board & Devkit MotorGD Board 你好 好的,在这种情况下,请向恩智浦网络支持提交一份报告。 您还需要与恩智浦签订有效的 NDA 协议,才能获得此类文件。 可以通过我们的支持门户共享 STEP 模型,因为它允许 2GB 的文件,而且我以前也共享过 STEP 文件。 无法在我们的官方系统之外共享内部文件。 顺祝商祺! Peter Re: 3d Model of NXP mpc5744p MCU Board & Devkit MotorGD Board 您好 petervlna, 非常感谢您的建议,我们已立案,编号为 (Case: 00756530)。 我们希望能尽快拿到文件。 非常感谢。 致以最崇高的敬意, Ahmed
View full article
組み込みシステム開発におけるベストDevOpsプラクティス 皆さん、 組み込みシステム開発における DevOps の実装に関するベストプラクティスについて議論したいと思いました。組み込みシステムには特有の課題があることは誰もが知っていますが、DevOps の原則を組み合わせ、適切なDevOps ソリューションを活用することで、ワークフローを大幅に改善することができます。 私が役に立つと思ったいくつかの方法を以下に示します。 自動ビルドとCI/CD 組み込みシステムでは、自動ビルド パイプラインの設定が非常に重要です。CI/CD を使用すると、テスト、フラッシュ、実際のデバイスへのデプロイメントを自動化できるため、エラーを早期に検出できます。 ファームウェアとハードウェアのバージョン管理 ファームウェアをソフトウェアのように扱う – バージョン管理に Git または同様のツールをハードウェア抽象化レイヤー (HAL) とともに使用すると、ソフトウェアとハードウェアの両方の依存関係を同期して管理するのに役立ちます。 ハードウェア・イン・ザ・ループ(HIL)による継続的インテグレーション HIL テストを CI パイプラインに統合すると、シミュレートされた環境だけでなく、実際のシナリオに対しても検証できるようになります。これにより、実際のハードウェアでのみ発生する問題を検出できるようになります。 組み込みソフトウェアのコンテナ化 ソフトウェア環境のレプリケーションに Docker または同様のツールを使用すると、組み込みプラットフォームで作業する場合でも、開発、テスト、展開の各フェーズ全体で一貫性が確保されます。 あなたのご意見や、効果的だとわかった追加の実践方法をぜひお聞かせください。組み込み開発ワークフローに DevOps をどのように統合していますか? DSC Re: Best DevOps Practices for Embedded Systems Development 私たちはまさにあなたが提案していることを実行しようとしています。具体的な方法についてのアドバイスはありますか?
View full article
VLPS の S32K1xx CMP こんにちは: s32k1xx シリーズの場合、CMP の連続モードは VLPS でサポートされていますか?これを確認したいと思うのは、「使用可能な電力モードでのモジュールの動作」のセクションで、「停止モードまたは VLPS モードでは、ウィンドウ、サンプリング、およびフィルタリングされた動作モードは使用できません」と説明されているからです。 よろしくお願いいたします! Re: S32K1xx CMP in VLPS ご返信ありがとうございます。トリガー モードは VLPS モードで使用できることは知っています。あるいは、次のように質問すべきでしょうか。VLPS では任意の機能モードをCAN使用できますか? Re: S32K1xx CMP in VLPS こんにちは@fan1234さん、 VLPS ではラウンドロビン サンプリング モードが動作します。 以下はベアメタルの例です。 https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-CMP-ラウンドロビン-S32DS2-0/ta-p/1100721 よろしくお願いいたします。 ダニエル Re: S32K1xx CMP in VLPS S32K1xxシリーズ リファレンスマニュアル、Rev. 11、2019年6月 表38-4の注記に説明が見つかりました。利用可能な電力モードでのモジュールの動作 Re: S32K1xx CMP in VLPS こんにちは@fan1234さん、 「使用可能な電力モードでのモジュール動作」セクションのどこに「ウィンドウ、サンプリング、およびフィルタリングされた動作モードは、STOP モードまたは VLPS モードでは利用できません」という記述がありますか? S32K1xx リファレンス マニュアルのどのリビジョンを使用していますか? VLPS の CMP 連続モードに関する制限は見当たりません。 ただし、念のため確認させてください。 よろしくお願いいたします。 ダニエル Re: S32K1xx CMP in VLPS こんにちは@fan1234さん、 VLPS で CMP 継続モードがサポートされていることが確認されました。 よろしくお願いいたします。 ダニエル
View full article
在 MCAL 中从待机模式中 RESET 功能后的唤醒源识别-S32K3 RTD 客户公司*:HERO MOTOCORP-标准化 项目名称*:N/A 客户联系人*(姓名 & 电子邮件):Aryan Kumar [email protected] 软件包信息*:S32K3_S32M27x 实时驱动 ASR R21-11 硬件*(板/芯片组/平台):S32K3XX (S32K344) 软件版本*:版本 6.0.0 大家好,团队, 我有一位客户想知道 MCAL 中待机退出后的唤醒源。我看到过另一篇帖子,其中谈到了流程和应使用哪些应用程序接口。基本上,丹在(这篇文章中)提到过:已解决:关于使用 S32K3 MCAL RTD5.0.0 的 WISR 的问题 - NXP 社区),如果在 Platform_Init() 之前调用 Icu_Init(),则会清除标志,这意味着使用回调检查唤醒源看起来是 RTD 的一个限制。 此外,Icu_GetInputState() 使用的全局变量需要通过 Icu_Init() 进行初始化。这意味着客户只能调用 Wkpu_Ip_GetInputState() 函数来检查 WISR 标志。 因此,如果我理解正确的话,读取唤醒源的方法有三种: 1.退出待机后启用平台,MCU 将跳转到 WKPU_IRQn 并为 WKPU 通道提供服务。如果需要回调,客户可以通过指定 Wkpu 结构来实现变通方法: Wkpu_Ip_u32ChState[0].chInit = TRUE; Wkpu_Ip_u32ChState[0].notificationEnable = TRUE; Wkpu_Ip_u32ChState[0].WkpuChannelNotification = IcuSignalNotification_Wkpu; 效果如预期。 2.在待机退出后 调用Wkpu_Ip_GetInputState(),因为 Icu_Init() 之前不能调用 Icu_GetInputState(),但 Icu 初始化会清除 WISR 标志。不过,在进入函数时,如果所请求通道的 WISR& IREER 位都已启用,则 WISR 不会被清除: 如果我没理解错的话,调用 Icu_Init() 会清除这些数据,对吗? 3.直接读取 WISR/WISR_64 寄存器。 这三种方法使用裸机或 IP 层。我有两个问题: 如何正确实现 Wkpu_Ip_GetInputState()? 在 6.0.0 或 7.0.0 中是否有针对 MCAL 层的修复或实现?如果有,能否分享一下实施情况? 我附上了用于测试的项目,WKPU[42] 已配置。SW 是 S32DS v3.6.4 + RTD 6.0.0。 致以最诚挚的问候, Julián 优先级:中等 S32_CONFIG_TOOL S32_FLASH_TOOL S32DS 资料来源直接客户 Re: Wakeup Source Recognition after function reset from standby mode in MCAL - S32K3 RTD 你好,@DanNguyenDuy、 谢谢你的快速回复,丹!我会通知客户。 致以最诚挚的问候, Julián Re: Wakeup Source Recognition after function reset from standby mode in MCAL - S32K3 RTD 你好@Julián_AragónM、 1。遵循AUTOSAR的要求,Icu模块不提供可以直接在MCAL层检查唤醒源的功能。Icu 将向 EcuM 模块传输唤醒源信息,该模块将检查唤醒源。在 RTD 驱动程序中,EcuM 是一个短截线模块。 请参见" ECU 状态管理器规范 AUTOSAR CP R21-11" : 2.在 Icu 配置中,当用户启用"IcuWkpuStandbyWakeSupport" 时,Icu_Init() 不会清除 WISR 标志。 在您的项目中,要检查 Wkpu_Ip 层中的唤醒源,可以参考以下代码: 在 Icu_Init() 之前调用Platform_Init(NULL_PTR);时,我发现 WISR 标志不知为何被擦除了。因此,我在 Icu_Init() 函数之后调用了这个函数。 顺祝商祺! 丹
View full article
MPC565 中的 UC3FCFIG 你好 我使用的是 CodeWarrior 8.7 我希望我的 MPC565 在硬RESET中从 UC3FCFIG 获得 RCW。但我找不到任何关于如何在 UC3FCFIG 寄存器中设置寄存器值的文档。 谢谢, Rafa Re: UC3FCFIG in MPC565 你好 UC3F EEPROM RESET配置字是在特殊阴影位置的第一个单词(ADDR [23:29] = 0x00)中实现的。RESET配置字及其余的影子信息字位于主管数据地址空间中。RESET配置词的目的是为系统提供RESET配置的替代内部来源。 因此,换句话说,它不是内存映射寄存器,而只是影子闪存空间中的配置字,然后在RESET期间将其复制到相应的寄存器中。 请注意,除位 20 外,UC3FCFIG 中的位与 USIU 硬RESET配置字中的位相同。 来自参考手册: 如何设置 UC3FCFIG? UC3FCFIG 不是运行时寄存器,正常运行时不能随意写入。它通常被编程到闪存配置扇区中。 这意味着在 RESET 之前,您需要使用正确的 UC3FCFIG 值对闪存配置模块(通常在闪存的开头)进行编程。 另请参阅第 20.4.3 章 UC3F EEPROM 阴影行 顺祝商祺! Peter Re: UC3FCFIG in MPC565 谢谢您的回答、 关于 : " 这意味着在 RESET 之前,你需要使用正确的 UC3FCFIG 值对闪存配置模块(通常在闪存的开头)进行编程 " 在 CodeWarrior 中如何实现这一目标?我已将 Flash Programmer 配置为使用MPC566EVB_MPC565_MPC566_shadow_init.cfg。 我是否需要在该文件中添加UC3FCFIG 的值? ,谨致问候 、 拉法 Re: UC3FCFIG in MPC565 你好 在 CodeWarrior 中如何实现这一目标? 我对这里的 codewarrior 不熟悉。但它只是一个集成开发环境,因此只需对闪存进行简单编程就能实现神奇的效果。 我已将 Flash Programmer 配置为使用MPC566EVB_MPC565_MPC566_shadow_init.cfg。 我是否需要在该文件中添加UC3FCFIG的值 闪存编程器使用的 .cfg 文件(如 MPC566EVB_MPC565_MPC566_shadow_init.cfg)定义了影子闪存初始化值,其中包括 UC3FCFIG 等配置寄存器。 具体操作如下 UC3FCFIG 的去向 UC3FCFIG 是阴影闪存配置块的一部分。 .cfg 文件包含这些寄存器的条目,因此当您对影子闪存进行编程时,设备在RESET时会使用这些值。 该怎么做 Open MPC566EVB_MPC565_MPC566_shadow_init.cfg. 查找定义阴影寄存器或配置字的部分。 您应该能看到类似的条目:UC3FCFG: 0xXXXXXXXX UC3FCFIG 通常映射在阴影闪存区域(而非 RAM)。 对于 MPC565/MPC566,请查看参考手册 → “闪存配置” 部分。 通常情况下,阴影块从 0xFFF00000 或类似位置开始。 这就告诉闪存编程器将该值写入该地址的影子闪存。 顺祝商祺! Peter
View full article
i.MX8ULP の A コアと DDR 周波数を下げる方法 i.MX8ULP の A コア周波数と DDR 周波数の両方を下げたいです。 これを実現する方法と、どのレジスタまたは構成を変更する必要があるかを教えてください。 Re: How to Reduce A-Core and DDR Frequency on i.MX8ULP こんにちは、 次のアプリケーションノート (4.3 DVFS の使用) を参照してください。 i.MX 8ULPの消費電力の最適化 よろしくお願いいたします。 Re: How to Reduce A-Core and DDR Frequency on i.MX8ULP こんにちは@JorgeCas DVFS を使用しており、A コアの CPU 周波数を下げたいと考えています。現在、周波数は808MHzあたりを表示しており、これをできるだけ下げたいと思っています。 以下は私が取得したログです: root@imx8ulp-9x9-lpddr4-evk:~# echo 1 > /sys/devices/platform/imx8ulp-lpm/enable [ 467.490570] DDR enter low frequency mode root@imx8ulp-9x9-lpddr4-evk:~# mhz 808 MHz, 1.2392 nanosec clock A コア周波数を下げる方法と、どの設定または構成を変更する必要があるかを教えてください。 ありがとうございます。 Re: How to Reduce A-Core and DDR Frequency on i.MX8ULP こんにちは、 アプリケーションノートによると、imx8ulp-evk-nd.dtb デバイス ツリーを使用する必要がありますが、ログを見ると、9x9 ボードを使用しているため、変更を行うためのデバイス ツリーがありません。 これを参考にしてデバイスツリーを変更し、もう一度試してください。 https://github.com/nxp-imx/linux-imx/blob/lf-6.12.y/arch/arm64/boot/dts/freescale/imx8ulp-evk-nd.dts よろしくお願いいたします。 Re: How to Reduce A-Core and DDR Frequency on i.MX8ULP ありがとう@JorgeCas root@imx8ulp-9x9-lpddr4-evk:~# echo 1 > /sys/devices/platform/imx8ulp-lpm/enable root@imx8ulp-9x9-lpddr4-evk:~# mhz 655 MHz, 1.5267 nanosec clock 参考までに、.dtsを更新しましたファイルを変更し、A コアの周波数を 650 MHz まで下げることができるようになりました。A コアの周波数をさらに下げて、理想的には 200 MHz 程度にしたいと思っています。これを実現する方法を教えてください。 Re: How to Reduce A-Core and DDR Frequency on i.MX8ULP こんにちは、 残念ながら、Cortex - A コアの周波数を 650 MHz 未満に下げる方法についてのドキュメントはありません。 アプリケーション ノートによると、最小動作電圧 VDD_DIG1/2 (最小動作周波数) で動作しており、弊社のエンジニアは前回の投稿で、PLL ではより低い周波数は提供されないとコメントしました。 PLL レジスタを手動で変更してみることもできます。 よろしくお願いいたします。 Re: How to Reduce A-Core and DDR Frequency on i.MX8ULP こんにちは、 @JorgeCas ご説明ありがとうございます。Cortex-A コアの PLL でサポートされる最も低い周波数は 650 MHz であると理解しています。 消費電力をさらに削減するために、PLL 構成を手動で変更することを検討したいと思います。i.MX8ULP 上の Cortex-A クロックを制御する PLL (レジスタまたはクロック パス) と、周波数を 650 MHz 未満に下げる場合に推奨される設定や制約があるかどうかを教えてください。 PLL レジスタを安全に変更するためのガイダンスやドキュメントがあれば、大変助かります。 よろしくお願いします、 ヤシュ Re: How to Reduce A-Core and DDR Frequency on i.MX8ULP こんにちは@JorgeCas 、 i.MX8ULP の PLL 設定を変更して Cortex-A コア周波数を 650 MHz 未満に下げることに関する以前の質問を確認します。レビューする機会があったかどうか確認したかったのです。どのようなご指導でもいただければ幸いです。 ありがとう、 ヤシュ
View full article
PEmicro Connection Assistant Issue on S32K3X4EVB-T172 I'm unable to connect to S32K3X4EVB-T172, despite following the Quick Start Guide: https://www.nxp.com/document/guide/quick-start-guide-for-s32k3x4evb-board:GS-S32K3X4EVB-Q172 Board and LEDs: When attempting debugging, the PEmicro Connection Assistant shows up. Device Drivers: Debug Settings: Already tried changing data cables, changing computers, reinstalling S32DS, reinstalling Drivers, trying P&E Micro Utilities. Windows 11, tried on S32DS 3.6.4 & 3.6.1 S32K3X4EVB-T172 S32DS-S32PLATFORM OPENSDA  Re: PEmicro Connection Assistant Issue on S32K3X4EVB-T172 Is this the first time trying to connect to the EVB? Was there any project uploaded to it before? The board has is brand new and it seems to have some factory-installed programme i.e. the USER_LED_0 color changes by pressing SW5 and SW6 I can see from the picture both LEDs RESET_K3 and RST_OSDA are on. Is RESET_K3 always on when powering the board? Are you able to measure it? Usually when the reset LED is on, the line is being pulled for a really short period of time periodically, keeping the MCU on reset. RESET_K3 and RST_OSDA are OFF initially when I connect the board following the power-up procedure. When attempting to debug, the RST_OSDA (and sometimes RST_K3) LEDs turn ON while simultaneously getting the PEmicro Connection Assistant popup. Also, if I press the SW4 and then retrying debugging, I get this different popup: Also, measure the voltage sources, if these do not provide the expected value this means that the MCU could be damaged. I've already tried with 2 different adapters: 12V-4A and 12V-5A, getting same results. The adapter voltage output is stable.  - If you mean the S32K3 MCU getting damaged: The default application (LED color changing) is still working on the board. - If you mean the NXP K26 getting damaged: I'm still able to upgrade the firmware using the "Multilink Firmware Config Utility" to usbmlacpembeddedens.1098 If you have any external debuggers available (PEmicro, JLink, Latuerbach, etc.), you can try using them instead to see if any connection is possible. I'll get a JLink next week, along with a new EVB. This time it will be a S32K344MINI EVB. If there's anything additionally required to identify the rootcause, let me know. Zaigham Re: PEmicro Connection Assistant Issue on S32K3X4EVB-T172 Hi @zaighamkhawaja, Thank you for sharing your installation details. It seems both S32K3x Dev. package and PEmicro plugins are correctly installed. Is this the first time trying to connect to the EVB? Was there any project uploaded to it before?  I can see from the picture both LEDs RESET_K3 and RST_OSDA are on. Is RESET_K3 always on when powering the board? Are you able to measure it? Usually when the reset LED is on, the line is being pulled for a really short period of time periodically, keeping the MCU on reset. Also, measure the voltage sources, if these do not provide the expected value this means that the MCU could be damaged. If you have any external debuggers available (PEmicro, JLink, Latuerbach, etc.), you can try using them instead to see if any connection is possible. Best regards, Julián Re: PEmicro Connection Assistant Issue on S32K3X4EVB-T172 Sure, here it is: C/C++ Common GDB Support 11.4.0.202309142347 org.eclipse.cdt.gdb.feature.group Eclipse CDT C/C++ Development Platform 11.4.0.202311271618 org.eclipse.cdt.platform.feature.group Eclipse CDT C/C++ Development Tooling Native Utilities 11.4.0.202311271618 org.eclipse.cdt.native.feature.group Eclipse CDT C/C++ Development Tools 11.4.0.202311271618 org.eclipse.cdt.feature.group Eclipse CDT C/C++ DSF GDB Debugger Integration 11.4.0.202309151124 org.eclipse.cdt.gnu.dsf.feature.group Eclipse CDT C/C++ GCC Cross Compiler Support 11.4.0.202309151124 org.eclipse.cdt.build.crossgcc.feature.group Eclipse CDT C/C++ GDB Hardware Debugging 11.4.0.202309151124 org.eclipse.cdt.debug.gdbjtag.feature.group Eclipse CDT C/C++ GNU Toolchain Build Support 11.4.0.202311121705 org.eclipse.cdt.gnu.build.feature.group Eclipse CDT C/C++ GNU Toolchain Debug Support 11.4.0.202309151124 org.eclipse.cdt.gnu.debug.feature.group Eclipse CDT C/C++ Memory View Enhancements 11.4.0.202309151124 org.eclipse.cdt.debug.ui.memory.feature.group Eclipse CDT C/C++ Remote Launch 11.4.0.202309142347 org.eclipse.cdt.launch.remote.feature.group Eclipse CDT Core Server Feature 1.15.200.v20231110-1900 org.eclipse.equinox.server.core.feature.group Eclipse Equinox Project e(fx)clipse - IDE - Basic 3.9.0.202210170554 org.eclipse.fx.ide.basic.feature.feature.group Eclipse.org ECF Apache Httpclient 5 FileTransfer Provider 1.1.702.v20231114-1017 org.eclipse.ecf.filetransfer.httpclient5.feature.feature.group Eclipse.org - ECF ECF Core Feature 1.6.2.v20231021-2127 org.eclipse.ecf.core.feature.feature.group Eclipse.org - ECF ECF Filetransfer Feature 3.14.1900.v20230715-1945 org.eclipse.ecf.filetransfer.feature.feature.group Eclipse.org - ECF ECF Filetransfer SSL Feature 1.1.402.v20231021-2127 org.eclipse.ecf.filetransfer.ssl.feature.feature.group Eclipse.org - ECF Eclipse Help System 2.3.1600.v20231201-0110 org.eclipse.help.feature.group Eclipse.org Eclipse Platform 4.30.0.v20231201-0512 org.eclipse.platform.feature.group Eclipse.org Eclipse RCP 4.30.0.v20231201-0512 org.eclipse.rcp.feature.group Eclipse.org Eclipse XML Editors and Tools 3.31.0.v202308200343 org.eclipse.wst.xml_ui.feature.feature.group Eclipse Web Tools Platform Embedded C/C++ J-Link Debugging 6.4.0.202307251916 org.eclipse.embedcdt.debug.gdbjtag.jlink.feature.group Eclipse Embedded CDT EMF - Eclipse Modeling Framework Core Runtime 2.36.0.v20231002-1156 org.eclipse.emf.ecore.feature.group Eclipse Modeling Project EMF Common 2.30.0.v20230916-0637 org.eclipse.emf.common.feature.group Eclipse Modeling Project EMF Ecore Edit 2.16.0.v20230211-1150 org.eclipse.emf.ecore.edit.feature.group Eclipse Modeling Project Equinox p2, headless functionalities 1.7.0.v20231112-1314 org.eclipse.equinox.p2.core.feature.feature.group Eclipse.org - Equinox Equinox p2, minimal support for RCP applications 1.4.2200.v20231112-1314 org.eclipse.equinox.p2.rcp.feature.feature.group Eclipse.org - Equinox GDB Client for Arm Embedded Processors 15.1 Build 1703 1.0.0.202511261537 com.nxp.s32ds.brc.gdb.tools.feature.feature.group NXP GEF Classic Draw2d 3.18.0.202311222042 org.eclipse.draw2d.feature.group Eclipse GEF GEF Classic GEF (MVC) 3.18.0.202311222042 org.eclipse.gef.feature.group Eclipse GEF GEF Classic Zest 3.18.0.202311222042 org.eclipse.zest.feature.group Eclipse GEF Git integration for Eclipse 6.8.0.202311291450-r org.eclipse.egit.feature.group Eclipse EGit GNU ARM PEMicro Interface Debugging Support 6.0.9.202509241532 com.pemicro.debug.gdbjtag.pne.feature.feature.group P&E Microcomputer Systems Inc. Memory Analyzer 1.15.0.202311170814 org.eclipse.mat.feature.feature.group Eclipse Memory Analyzer Nebula Grid Widget 1.1.0.202303072132 org.eclipse.nebula.widgets.grid.feature.feature.group Eclipse Nebula net.sourceforge.ehep 1.1.0 net.sourceforge.ehep.feature.group Randallco and EHEP Team NXP GCC for Arm Embedded Processors 10.2 Build 1728 1.0.0.202508270740 com.nxp.s32ds.brc.arm.tools.gcc102.feature.feature.group NXP NXP GCC for Arm Embedded Processors 11.4 Build 1763 1.0.0.202508271006 com.nxp.s32ds.brc.arm.tools.gcc114.feature.feature.group NXP PEmicro ARM Device Expansion Plugin 6.0.9.202509241532 com.pemicro.debug.gdbjtag.pne.expansion.feature.feature.group P&E Microcomputer Systems Inc. Remote Services 11.4.0.202309142347 org.eclipse.remote.feature.group Eclipse CDT Remote System Explorer End-User Runtime 4.5.500.202305261020 org.eclipse.rse.feature.group Eclipse TM Project RTD S32K3XX 6.0.0.202506161748 com.nxp.RTD.S32K3XX.feature.feature.group NXP Semiconductors, Inc. RTD S32K3XX 6.0.0.202506161748 com.nxp.RTD.S32K3XX.root.feature.feature.group NXP Semiconductors, Inc. S32 Debugger Core 3.6.5.202511272018 com.nxp.s32ds.brc.debugger.core.feature.feature.group NXP S32 Design Studio CLE S32CT 1.8.9.202511261304 com.nxp.s32ds.cle.uct.feature.feature.group NXP S32 Design Studio for S32 Platform 3.6.5.202511272206 com.nxp.s32ds.platform.ide.feature.feature.group NXP S32 Design Studio for S32 Platform Tools 3.6.5.202511272206 com.nxp.s32ds.platform.ide.tools.feature.feature.group NXP S32DS Product 3.6.4.202509291703 com.nxp.s32ds.platform.ide.product NXP S32G development package 3.6.4.202509291633 com.nxp.s32ds.s32g2.dev.feature.feature.group NXP S32K1xx development package 3.6.5.202511272256 com.nxp.s32ds.s32k1.dev.feature.feature.group NXP S32K3 FreeMASTER Serial Communication Driver 1.4.2.202412201001 com.nxp.s32ds.s32k3.sdk.freemaster.feature.feature.group NXP S32K3xx development package 3.6.4.202509291639 com.nxp.s32ds.s32k3.dev.feature.feature.group NXP S32M2xx development package 3.6.4.202509291626 com.nxp.s32ds.s32m2.dev.feature.feature.group NXP S32N5 development package 3.6.4.202509291626 com.nxp.s32ds.s32n.dev.feature.feature.group NXP S32R41 development package 3.6.4.202509291624 com.nxp.s32ds.s32r41.dev.feature.feature.group NXP S32R45 development package 3.6.4.202509291624 com.nxp.s32ds.s32r45.dev.feature.feature.group NXP S32R47 development package 3.6.4.202509291625 com.nxp.s32ds.s32r47.dev.feature.feature.group NXP S32Z2/E2 development package 3.6.4.202509291631 com.nxp.s32ds.s32esz.dev.feature.feature.group NXP SAF85xx development package 3.6.4.202509291625 com.nxp.s32ds.saf85.dev.feature.feature.group NXP SAF86xx development package 3.6.4.202509291626 com.nxp.s32ds.saf86.dev.feature.feature.group NXP SECRDR S32K1 3.0.0.202508081221 com.nxp.SECRDR.S32K1.feature.feature.group NXP Semiconductors, Inc. Terminal (Console) View 11.4.0.202311142324 org.eclipse.tm.terminal.view.feature.feature.group Eclipse CDT TM Terminal 11.4.0.202309142347 org.eclipse.tm.terminal.feature.feature.group Eclipse CDT TM Terminal Control 11.4.0.202311142253 org.eclipse.tm.terminal.control.feature.feature.group Eclipse CDT TM Terminal Local Connector Extensions 11.4.0.202309142347 org.eclipse.tm.terminal.connector.local.feature.feature.group Eclipse CDT TM Terminal SSH Connector Extensions 11.4.0.202309142347 org.eclipse.tm.terminal.connector.ssh.feature.feature.group Eclipse CDT Xtend Library 2.33.0.v20231121-0955 org.eclipse.xtend.lib.feature.group Eclipse Xtext   Re: PEmicro Connection Assistant Issue on S32K3X4EVB-T172 Thank you for your interest in our products and for contributing to our community. Let's take a step back first, please. Please an screenshot of your "Installation Details", which you can find in "Help" tab of the IDE. Re: PEmicro Connection Assistant Issue on S32K3X4EVB-T172 Hi @zaighamkhawaja, Thank you for the additional info. Please update me if you can connect with the external debugger.   Does this happen with a blank or an example project? As a last chance, have you tried to attach to the MCU instead of trying to debug/erase? This leads me to believe either HSE is installed, or the debug port is locked and needs to be unsecured by password or challenge/response. PEmicro provides Python scripts to authenticate the debugger at the start of each session; however, the password is needed. Last resource can be to swap MCU to confirm if debug interface is faulty, or the MCU is secured/disabled debug pins. Best regards, Julián Re: PEmicro Connection Assistant Issue on S32K3X4EVB-T172 - External JTAG debugger works. - Empty or Sample projects also did not work. - Attach to Running Target did not work. I also purchased another board and that works with the onboard debugger, so nothing related to IDE or config settings.
View full article
kw45 功率低 嗨,nxp: 1。kw45 中的 NBU 内核会在所有电源模式下进入睡眠状态还是处于空闲状态 2。是否有可能在睡眠模式(超低功耗)下进行 NBU。 3.当没有数据要传输时,NBU 内核是否会自动切换到空闲/电源模式 4.空闲模式对 NBU 意味着什么。根据"KW45_WK47_MCXW71_MCXW72_BLE_power_profile_calculator_v1 中的工作表说明。34 " 所有电源模式(睡眠、深度睡眠、掉电等),当 NBU 处于IDLE状态时,最低功耗为 1.1 uA 这意味着什么。 电路板设计 核心与内存 Re: Low power in kw45 你好,路易斯、 低功耗参考设计代码是否在除EVK板之外的任何自定义硬件上进行了测试,因为它不在我们的定制板上运行,仅供参考,我们已经根据EVK匹配了Circuit。连接后很快就会断开,但在 EVK 中,它会一直连接到提供数据。 此外,低功耗启用宏 glowpowerEnble 如果被禁用,将无法再次启用。如果启用,则无法再次禁用。特别是 app_preinclude.h 中的 sdk 宏的一些链接问题、未在其他文件中检查。那么,有没有其他办法 应该有关于如何在自定义板上使用 sdk 的指南,如果有,请给我链接 还有一件事关于1,需要考虑的所有参数是什么。固件和 sdk 2.硬件东西,可以让低功耗代码在定制主板上运行 所有 sdk 中的开发者指南、低功耗连接框架指南均为旧版 MCU,请提供 kw45 Re: Low power in kw45 你好 根据应用笔记 AN13230 K inetis KW45 和 K32W1 低功耗蓝牙功耗分析表 2,在应用层面,NBU 的电源模式表明 NBU 在所有可用的深度睡眠模式下均处于禁用状态。 有关 NBU 电源模式的更多信息,请参阅 AN13230 中的第 3.1.1 章。 你能不能帮我们解释一下你在评论 " 中指的是什么 NBU 在睡眠模式(超低功耗)" 中可能做什么? 在第 2 章中,指示 NBU 可以在睡眠模式、深度睡眠模式、掉电模式、深度掉电模式等任何状态下处于活动状态。 在第 3.1 章中指出,当系统处于空闲状态时,系统会进入低功耗电源模式,所有软件层都同意这一点;每次发生同步或异步事件并需要处理时,系统都会退出低功耗电源模式。 在表 2 中,深度睡眠模式概述了进入这些状态所需的条件。引用的表格用作计算器来估算这些条件的值,将在测试期间使用。 顺祝商祺! 路易斯 Re: Low power in kw45 以上信息我已经知道了,但是有没有什么指南可以帮助我们将低功耗参考设计外设 sdk 代码移植到定制板上的端口,我请你不要给出通用答案 Luis,我的问题是,当我修改这个代码来发送连续的虚拟数据而不是单个温度或电池时,它会在连接 1 或 2 秒后断开连接。在 Evk 板上,它可以连续发送而不会断开连接。自定义板电路遵循您的硬件推荐指南。那么,我们在软件方面需要考虑什么呢? 是的,我们正在使用下面的例子。 低功率参考设计_ble_中央参考系统和低功率参考设计_ble_外围参考系统 Re: Low power in kw45 您能否确认在未对自定义板进行任何修改的情况下使用示例代码时是否会出现断开连接问题? 此外,您能否描述一下代码中实施的修改? 在第 3 章中,运行低功耗参考设计外设应用程序表明 SW2 可以停止广告,你能帮我们检查一下是否没有触发信号 SW2 来停止广告吗? 至于软件方面的考虑,应用配置包含了外设示例中软件应用程序接口的描述。 你可以验证 " GapprestartAdvAfterConnect " 是否设置为 1;在外围设备示例中,这会在连接结束时重启广告模式;以及 " gapprestartScanAfterConnect " 设置为 1,因为连接结束时设备会切换回扫描模式。 顺祝商祺! 路易斯 Re: Low power in kw45 你好 SDK中提供的示例已使用恩智浦开发板进行了验证。KW45硬件设计建议公开版中包含的设计建议对基于开发板的定制板具有所有必要要求,即基于开发板的定制板可以与开发板相同的功能运行,包括SDK示例。 您能否帮助我们确认您使用的是Lowpower_reference_design_ble_central_freertos和Lowpower_reference_design_ble_peripheral_freertos示例,或者具体说明您测试的是哪个示例? 您能否帮助我们确认"glowpowerEnble" 中的宏是否为 gAppLowpowerEnabled_d? 要使用SDK中提供的低功耗示例,我建议查看MCUXpresso SDK文档页面以获取示例,该页面包含低功耗参考设计中心应用程序——MCUXpresso SDK文档和低功耗参考设计外设应用程序——MCUXp resso SDK文档;此外,示例中的自述文件中提供了更多信息。 有关低功耗连接的最新文档,请参阅以下链接:LowP ower — MCU Xpresso SDK 文档 顺祝商祺! 路易斯 Re: Low power in kw45 你好 要将低功耗参考设计外设应用程序与 BT2 中的 coincell 电池连接起来,可以在代码中测试以下修改: 在app_config.c中文件中修改gAdvParams,输入gAdvConnectableUndirected_c作为advertisingType,确保不要输入gAdvNonConnectable_c 作为 else 场景,也可以在app_preinclude.h 中将其定义为 0。 确认 app_preinclude.h 中的 gAppUsePairing_d 和 gAppUseBonding_d 定义为 1 另外,您能否与我们分享一下您在 KW45B41Z-EVK 中的跳线配置? 关于板配置,你能否帮助我们确认是否设置了以下跳线: 跳线 JP42 打开 跳线 JP5 为 1-2 短路配置 跳线 JP14 已连接 跳线 JP10 位于 2-3 [旁路配置] 位置 有关跳线配置和说明的更多信息,请参阅KW45B41Z-EVKUM表 5 和表 8(电源)。 如果这对你有用,请告诉我你的发现、 顺祝商祺! 路易斯
View full article
适用于 RTD 的 S32K566 MRAM 驱动程序示例 0.4.5 为了支持舍弗勒,我需要 RTD 0.4.5 版的 MRAM 驱动程序示例,舍弗勒正在使用 RTD 0.4.5 版。RTD 代码包中提供的示例不是开箱即用的,我们无法构建它们。 其目的是测试向 MRAM 的写入,但舍弗勒公司对这种方法是否有效表示怀疑。 谢谢! 优先权:紧急 RTD Re: Working S32K566 MRAM driver example for RTD 0.4.5 你好,我是@nxp52415、 我在 S32DS 上查看了使用 0.8.0 CD03 软件包版本的示例。正如你所说,我还看到了一个版本错误。要修复此错误,您可以更改以下内容: 1.在"Get Clock Frequency API" 中选择"Enabled" 。 2.添加 Mcl 模块并选择"启用 CACHE 支持" 3.生成代码并版本项目,将出现错误: 修复:将 "NaNU" 更改为 0U 并重新版本项目。 顺祝商祺! 丹 Re: Working S32K566 MRAM driver example for RTD 0.4.5 你好,我是@nxp52415、 MRAM 示例在 0.8.0 CD03 软件包版本上进行了测试和验证。用户可以参考这些示例。 在 0.4.5 版本中,要版本此示例,用户需要设置如下路径。 顺祝商祺! 丹 Re: Working S32K566 MRAM driver example for RTD 0.4.5 嗨,丹、 谢谢,但我指的是 S32Ds 中的示例。您是否有提示如何让它们可以建造? 0.8.0 CD03 MRAM 示例也无法版本。 此致 Re: Working S32K566 MRAM driver example for RTD 0.4.5 非常感谢,这招管用了!
View full article
从 S32K324 (ASIL-B) 到 S32K3xx ASIL-D 系列的迁移路径 你好,恩智浦社区、 我们目前正在使用 RTD MCAL 和 FreeRTOS 在 S32K324(ASIL-B,独立双核)上开发一个基于 AUTOSAR 的项目。我们正在评估未来产品迁移到带锁步内核的S32K3xx ASIL-D系列(例如,S32K344、S32K348)的技术路径。 能否请您帮助澄清以下问题? **代码重用性:** 1.从 ASIL-B 迁移到 ASIL-D 芯片时,AUTOSAR 应用层代码(高于 RTE)的典型可重用率是多少? 2。哪些 MCAL 模块需要重新配置或重新开发锁步内核? 3.从独立双核 (S32K324) 迁移到锁步内核架构时,需要对启动代码和内核同步机制进行哪些更改? **开发工作:** 4.预计锁步监控、故障处理和其他功能安全机制的开发工作量是多少? 5。根据您的经验,ASIL-B到ASIL-D项目的典型迁移时间表是什么? **技术支持:** 6.是否有任何有关 ASIL 级别升级的官方迁移指南或应用笔记? 7. 是否有任何参考项目或案例研究? **设备选择:** 8.考虑到性能和生态系统成熟度,S32K3 系列中推荐的 ASIL-D 设备有哪些? 提前感谢您的支持! 顺祝商祺! Re: Migration Path from S32K324 (ASIL-B) to S32K3xx ASIL-D Series 你好@常玉科 1.在 Classic AUTOSAR 中,RTE 以上的软件元器件 (SWC) 设计为独立于硬件,因此大多数应用程序逻辑只需进行最少的更改即可重复使用。在与符合 ASIL 标准的基本软件 (BSW) 交互时,调整通常涉及定时行为、诊断事件处理和端到端 (E2E) 保护机制,而不是更改算法。 2-3.有关锁步操作的信息分布在设备参考手册中。从解耦双核到锁步配置,内部存储器组织、交叉条 (XBAR) 端口和 FCCU 故障处理都发生了变化。在锁步模式下,第二个内核行动检查器,因此从软件角度来看,使用单个逻辑 CPU,无法访问 Core1 的寄存器。一个很好的起点是查看参考手册并浏览 S32K344 设备的实时驱动程序 (RTD) 示例项目。 4-5.我们无法提供 ASIL-B 向 ASIL-D 迁移的估计开发工作量或时间表,因为这一过程涉及项目的具体因素。 6-7.有关功能安全文档和软件,请参阅恩智浦的SafeAssure功能安全产品。 8。在 “微控制器输入电源的 ASIL 临界值 (ASIL D)” 主题中,您将在 ISO 26262 功能安全栏下找到一份列出了 S32K3 设备可达到的 ASIL 等级的文档。MCU 的选择应基于应用程序的性能、功能安全要求和系统架构。 BR、VaneB
View full article
UJA1169AXF:为什么 CW 有时会等待第三个唤醒帧,而不是第二个? 你好 NXP 团队,我们有两批板使用相同的 UJA1169AXF 和相同的固件,但是在 CAN 唤醒后它们显示不同的 CW-Flag 时机:事件 板-A 序列 板-B 序列板 A 当发送第二个唤醒帧时,V1 升至 5 V,但寄存器 0x63 中的 CW 标志仍为 0。只有在第三个唤醒帧之后,CW 才变为 1。 板 B 有了第二个唤醒帧时,V1 上升到 5 V,CW 已经设置为 1;不需要第三帧。 你能解释一下哪些板载参数让 CW 位在某些板上等待额外的帧吗?它是否与 V1 上升时间、PNP 负载电流或控制内部 “已确认” 信号的另一个模拟阈值有关? 谢谢您的提示! 致以最诚挚的问候,赵光宇 Re: UJA1169AXF: Why does CW sometimes wait for the third wake-up frame instead of the second? 你好,赵先生、 您是否正在使用我们的一个或多个UJA1169Ax-EVB?如果是,请说明使用的是哪一种。 如果您使用自己的设计,请共享包含电压等级和部件值的示意图。 致以最崇高的敬意 约瑟夫 Re: UJA1169AXF: Why does CW sometimes wait for the third wake-up frame instead of the second? 你好,赵先生、 我需要联系应用工程师寻求建议。应用工程师总是需要以下信息。请与大家分享。如果可能,还请提供原理图。 客户:? 最终客户:? 最终应用: ? 国家: 中国中国 年产量:? 致以最崇高的敬意 约瑟夫 Re: UJA1169AXF: Why does CW sometimes wait for the third wake-up frame instead of the second? 你好,约瑟夫 首先,请帮助查看 V1 的波形, ,我需要与硬件工程师确认其余部分 2 帧 V1 : 3 帧 V1: 另外,请问 V1 的斜率会产生什么影响? 致以最崇高的敬意 赵 Re: UJA1169AXF: Why does CW sometimes wait for the third wake-up frame instead of the second? 你好,赵先生、 与典型的 CAN 显性/隐性转换相比,这些斜坡相对较慢。 效果 缓慢的斜率会增加 V1 在阈值区域的停留时间,这可能会导致阈值失调: 不确定的主导检测(设备等待更长的时间才能确认有效的主导状态)。 唤醒帧验证可能失败,尤其是在帧定时很紧的情况下。 如果斜率太低,内部滤波器可能会将边缘归类为噪声或不完整,从而迫使设备等待另一帧。 致以最崇高的敬意 约瑟夫 Re: UJA1169AXF: Why does CW sometimes wait for the third wake-up frame instead of the second? 你好,约瑟夫、 在我的波形图中,2 帧可以设置 SBC 的 CW,V1 的上升时间为 248us, 3 帧可以设置 SBC 的 CW(我认为这是有问题的),V1 的上升时间为 195us, 相反,慢一些是正常的 ,这似乎与您说的相反 另外,在 2 帧的情况下,睡眠时 V1 的电压不是 0V 是否与此有关? 致以最崇高的敬意 赵
View full article
Installing MCUXpresso IDE and SDK (Japanese blog) 0. What is this article about? NXP's software development environment for microcontrollers, MCUXpresso , and its SDK are provided free of charge, and anyone can easily install it and start running sample code right away .😃 This blog post will show you step-by-step how to install the MCUXpresso IDE and SDK. * In this article, we will use FRDM-MCXA153 as the example board. We have released a video explaining the installation procedure. You can watch it from this link .   table of contents 0. What is this article about? 1. What is MCUXpresso IDE? 2. Log in to nxp.com 3. Installing MCUXpresso IDE 4. Installing the SDK 4.1 Starting the MCUXpresso IDE and the Workspace 4.2 SDK Installation Procedure 4.3 Ready! 5. Bonus: To test the operation of the circuit board as is... Reference materials 1. What is MCUXpresso IDE? The various sample codes for general-purpose microcontrollers provided by NXP are designed to run on MCUXpresso , a software development environment provided free of charge by NXP. MCUXpresso comes in two versions: " MCUXpresso IDE (hereinafter referred to as IDE)" and " MCUXpresso VisualStudio Code (hereinafter referred to as VSC)." IDE is an application that combines all functions into one. VSC is provided as a plugin for VisualStudio Code provided by Microsoft. In this blog, we will introduce how to install the IDE and SDK . The IDE runs on Windows, macOS, and Linux, and can be operated with the same user interface on all operating systems. To try out the sample code that runs on MCUXpresso, you must first install the IDE and then install the SDK for the microcontroller/board (target) that you want to run the code on. IDE stands for Integrated Development Environment , and is an integrated development environment application. This application includes an editor for editing source code, a toolchain such as a compiler and linker, and software that organizes code into projects and manages them together with various settings. SDK stands for Software Development Kit and contains the driver code and configuration information required for each microcontroller chip. The SDK must be installed for each microcontroller chip or board (target) you wish to create. Let's take a step-by-step guide on how to install these. This article uses macOS as an example, but the installation can be done on Windows and Linux using almost the same steps. 2. Log in to nxp.com To perform the following steps, you must first log in to nxp.com . If you don't have an nxp.com account yet, please register first and then log in. How to register for a MyNXP account 3. Installing MCUXpresso IDE Download the IDE installer from the MCUXpresso IDE download site . This download requires user registration on nxp.com, so if you haven't done so yet, please do so in advance. Go to the MCUXpresso IDE download site and press the "Download" button . The page will scroll and a link button to the download page will appear. Press this "Download" button . Click the MCUXpresso IDE link . The terms of use will be displayed. If there are no problems, press the "I Agree" button . Select the installer that matches your operating system and click the link . If you are downloading a Linux installer, download the file with the extension ".deb.bin". If you are downloading a Windows installer, download the file with the extension ".exe". The extension for macOS is “.pkg,” but note there are 2 types: Download “macOSX - aarch64” for a Mac equipped with an M1 or later M series (Arm) processor, or “macOSX - 86-64” for a Mac equipped with an Intel CPU. * If the version number is different, please adjust as needed. Once the download is complete, launch the installer and follow the instructions to complete the installation.   4. Installing the SDK   4.1 Starting the MCUXpresso IDE and the Workspace Once the installation of MCUXpresso IDE is complete, start MCUXpresso IDE . In macOS, after startup, it will ask you where you want to set your workspace ( around 2:49 in the guide video ). A workspace is a folder where you perform your work. By default, a new folder will be created inside the "Documents" folder within the user's folder. * The image below shows an example of the default settings. In this example, the user is named "demo," so the path is specified as "/Users/demo/...". You can create a workspace (folder) anywhere within your user folder. In the example below, a folder named "mcux" is created within the user folder, and a workspace named "project0" is created inside it. 4.2 SDK Installation Procedure Once you launch the application (after launching and specifying the workspace), a welcome screen like the one shown below will appear . Click on "Download and Install SDKs" within this screen. After querying the server for a while, the display will look like the one below. In this default display state, the right and bottom parts of the display are hidden, so you will need to enlarge the window size or scroll the display as needed. Expand the window size to secure the display area Enter the model number of the board or microcontroller you are using in the search field at the top right of the display. Here, we will use the FRDM-MCXA153 as an example, so we entered "A153". As a result, the FRDM-MCXA153 board was displayed as a candidate. When you select the FRDM-MCXA153 board , the "Install" button will be highlighted, so click on it. A dialog box will appear during installation. Once the installation is complete, you will be returned to the welcome screen. Close this display by clicking the tab's close button . This will be the default display state of the IDE. The installed SDKs are displayed in the Installed SDKs tab in the bottom center pane. 4.3 Ready! Now you're ready to go! In the "Project Explorer" in the upper left pane, you can create a new project or import and run a project from the SDK, GitHub, or a downloaded project. 5. Bonus: To test the operation of the circuit board as is... The SDK includes sample code . So far we have installed the SDK using the FRDM-MCXA153 as an example, so we will try out the sample code included. First, connect the board to the computer with a USB cable. For the FRDM-MCXA153, use the USB connector labeled "MCU-Link" (see photo). In the upper left pane of the IDE, click "Import SDK example(s)..." in the Project Explorer tab . The installed SDK will be displayed, so click "Next>" . A list of sample code will be displayed . An example of a blinking LED (= blinking L) can be found in " driver_examples " → " gpio " → " gpio_led_output ", so follow the hierarchy as shown below , check the boxes, and press the "Finish" button . The sample code has been imported . Click the blue bug icon (Start debugging project) . A dialog box for selecting the target will appear, so check the displayed board information and press the " OK " button. The code is built and written to the microcontroller's flash memory. The code is then paused and ready to run . Clicking on the icon consisting of a yellow square and a green triangle (Resume) will run the code on the board. This sample code alternately outputs HIGH and LOW to a GPIO (General Purpose Input/Output) pin. This pin is connected to a red LED , so the LED blinks . Reference materials Explainer video: Let's begin! MCUXpresso IDE Related information: Installing MCUXpresso for VSC and SDK (Japanese blog) Change history: 2025-05-07: First Edition 2025-06-26: Added the section "Logging in to nxp.com". 2025-10-28: Link correction 2025-11-10: Link updated 2025-11-14: Added a link to an installation procedure video / Added a section for reference materials. 2025-11-18: Added annotations to the opening image and the circuit board used. Changed the video link image. 2026-03-17: Corrected the diagram in the section "What is MCUXpresso IDE?". 2026-04-05: Added the section "Starting the MCUXpresso IDE and Workspace". 2026-07-24: Added chapter numbers and table of contents. Emphasized video introduction links within "0. What is this article about?".  ========================= We are currently unable to respond to comments in the "Comment" section of this post. We apologize for the inconvenience, but when making inquiries, please refer to `` Technical Questions to NXP - How to Contact Us( Japanese Blog) ''. (If you are already an NXP distributor or have a relationship with NXP, you may ask the person in charge directly.) MCUXpresso IDE can be used free of charge for software development for NXP's MCX series microcontrollers. Also, sample code that can be used with various MCUXpresso IDEs is provided. Here we will explain the installation procedure for the IDE and SDK. After reading this, anyone can easily install the development environment and SDK and even run the sample code! General Purpose Microcontrollers MCUXpresso MCUXpresso IDE MCX Japanese blog
View full article
S32K344-CMU_FC 总线时钟和 CMU_FC_0 行为 我目前正在我的 S32K344EVB-T172 评估板上实现 CMU_FC 模块。 我很难理解"bus_clock" 在计算 REF_CNT 时具体指的是什么,它被定义为" 时钟信号,在此信号上执行寄存器读/写操作" ,但我不知道这到底与哪个时钟有关。 S32K3XXRM 中的示例使用的总线时钟是 16 MHz, ,我是否应该坚持使用这个值,还是有办法知道它指的是什么?它指的是特定的互连桥吗? 我还注意到,虽然 CMU_FC_0、3 和 4 的编程没有问题,但监控 HSE_CLK的 CMU_FC_5 似乎受到写保护,无法修改。 我确定 HSE-B 已被禁用,并通过检查HSE_GPR 和 UTEST 寄存器进行了仔细检查,但根据我的 MUX_0_DC_3 配置,它应为 HSE-B 内核提供 80mhz 时钟(根据 S32K344 的选项 A - 高性能模式进行配置)。 Re: S32K344 - CMU_FC bus clock and CMU_FC_0 behaviour 你好@fede_ls、 Bus_clk为 AIPS_SLOW_CLK 参考手册 (RM) 中显示的 16 MHz 值仅用作示例。 要实际实现,请使用 RTD(实时驱动程序)MCU 驱动程序。驱动程序根据 AIPS_SLOW_CLK 频率动态计算所需值,而不是固定的 16 MHz。 您可以参阅驱动程序源代码,了解如何进行计算。 应用内核无法配置CMU_FC_5。 M0+ 内核是 HSE_B 内核。 如果您需要有关此配置的更多详细信息,请提交支持单。相关的 HSE 固件 (HSE_FW) 文档受保密协议 (NDA) 保护。 谢谢! 此致, 丹尼尔 -------------------------------------------------------------------------------------------------------------------------------------------------- NXP 提供的任何支持、信息和技术(“材料”)均按“现状”提供,不附带任何明示或暗示的保证,且 NXP 在适用法律允许的最大范围内,否认与材料相关的所有直接或间接责任和损害。NXP 对任何与应用或产品设计相关的协助不承担任何责任。材料仅可用于与 NXP 产品相关联。NXP 可以不受限制地使用您对材料提供的任何反馈。 --------------------------------------------------------------------------------------------------------------------------------------------------
View full article