Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
S32K314 failed to write to 0x00588210 Hello, When I tried to write data to address 0x00588210, the write operation failed. At this point, the MCRS register returned a value of 0x00008100. Writing to the area before this address worked without any problems, and erasing the sector containing 0x00588210 also worked without any issues. I want to know how to determine where the problem lies. 回复: S32K314在写入0x00588210处失败 After restoring all PFLASH to 0xFF using another programmer, the sectors that previously failed to be written can be erased and rewritten. However, other random sectors cannot be erased. Is there a problem with my erasure process? -check the DomainID -write erase_addr to the PFCPGM_PEADR_L register (the addr is 0x00580000 to the 0x00588210) -wtire 0xFFFFFFFF to the PROGRAM_DATA -set the MSR[ERS] to 0b1 -set theMSR[EHV] to 0b1 -read the MCRS[DONE] until it was set 1(0x00580000 addr 's MCRS value is 0x0000C100 after erase done) - Check the MCRS error bit -clear MCRS[EHV] -clear MCRS[ERS] 回复: S32K314在写入0x00588210处失败 Before the failure, I successfully wrote data once. The reason for the second write failure was due to an erase failure. My description was not accurate enough; the second write failed because the sector located at 0x00588210 was not correctly identified. I wrote from 0x00400000 to the end of the PFLASH, skipping reserved bytes, writing 128 bytes each time. Each time, I directly wrote Program Data through SWD debugging, without buffering. How can I call the C40 API and check the RTD version? The entire write process was simulated by myself; I did not use flash memory algorithms and there were no logs. 回复: S32K314在写入0x00588210处失败 As we understand the issue, the flash write operation fails at address 0x00588210. This address is within the program flash range of the S32K314. Since the address is located 16 bytes into a 32-byte flash page, the operation may cross a page boundary depending on the write length. Please provide the write length, source buffer address, exact C40 API return value, and RTD version. Please also confirm that the corresponding flash sector was erased before writing. If an external debugger/programmer is involved, please provide the programming log and selected flash algorithm. 回复: S32K314在写入0x00588210处失败 I can confirm that it is not a physical flash memory failure. 1. The chip is S32K314HVS1P55ACTAZ2234B 2. I am testing my own SWD debugging process to see if there are any problems. 3. Due to certain reasons, I cannot provide the specific timing sequence; I can only provide my general process. a. Remove sector protection b. Erase the corresponding sector of PFLASH -check the DomainID -write erase_addr to the PFCPGM_PEADR_L register (the addr is 0x00580000 to the 0x00588210) -wtire 0xFFFFFFFF to the PROGRAM_DATA -set the MSR[ERS] to 0b1 -set theMSR[EHV] to 0b1 -read the MCRS[DONE] until it was set 1(0x00580000 addr 's MCRS value is 0x0000C100 after erase done) - Check the MCRS error bit -clear MCRS[EHV] -clear MCRS[ERS] Is there anything wrong with my erasure procedure? 4. After erasing, the value at 0x00588210 is 0xF1, which I previously tested and wrote. 5. The content has been verified using other debuggers. 6. It can be confirmed that the sectors preceding this address can be erased normally. 7. All operations were performed by me directly manipulating the registers through SWD. 8. The device has been programmed and flashed with AB SWAP firmware. 回复: S32K314在写入0x00588210处失败 As we understand the issue, programming fails at address 0x00588210. Erasing the sector containing this address completes, but the sector does not appear to contain only 0xFF afterward. You therefore suspect a physical flash failure and would like to determine the actual cause. Please confirm whether this understanding is correct. The provided information is not sufficient to determine whether this is a physical flash issue. Please provide: The complete S32K314 part number and mask set. The software package and flash driver version being used. The exact erase and program sequence, including the commands and affected address range. The complete MCRS values before and after each operation, after previously clearing the relevant status flags. The exact addresses and values that are not 0xFF after erase. How the erased content is verified, for example by CPU read, debugger, blank check, or driver verification. Whether the flash routine executes from RAM and whether interrupts and other accesses to the target flash block are disabled during the operation. The debugger/programmer used and the complete programming log. Whether the issue is consistently reproduced on the same address and whether it occurs on more than one device. Whether the device was previously programmed, protected, or configured with HSE firmware. Possible causes include an incorrect flash operation sequence, uncleared status flags, access to the target flash block during the operation, an ECC-related read or verification issue, or an actual physical flash failure. As an initial comparison, please erase and program the affected area using a supported debugger flash algorithm. If the same location fails consistently after a successful erase on the same device, please provide the resulting log and memory dump. 回复: S32K314在写入0x00588210处失败 I noticed that the data in this sector was not 0xFF after erasing, but the MCRS returned 0x0000C100 at the end of the erasure process. Could this be a physical bad sector?
View full article
panthor 驱动程序的 Mali 固件 大家好, 我正在尝试使用 Panthor 驱动程序以单驱动模式驱动 IMX95 GPU。为此,我们需要适用于 GPU 的 arm 固件。我看到 mali-imx 配方中提供了固件,但我不知道是否必须使用 mali-imx 配方中提供的 mali_cffw.bin,还是也可以使用 arm 在上游 linux-firmwares 中提供的固件: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/arm/mali 您的版本中是否有任何厂商特定的更改? Re: Mali firmware for panthor driver 嗨@APir NXP 已使用 Yocto 中的linux-firmware-mali-csffw软件包中的固件对 Panthor 驱动程序进行了内部测试。NXP 没有对 Panthor 使用的固件进行任何厂商特定的修改。 此致, 志明
View full article
请求审查 i.MX95-15x15-FRDM 上的双 LAN9646 以太网交换机集成。 您好,NXP团队, 我创建了一个设备树补丁( 2Xlan9646_imx95_15x15.patch ),将两个 LAN9646 以太网交换机 IC 与我的自定义 i.MX95 15×15 板上的 ETH1 和 ETH2 集成在一起。 请您仔细审核一下补丁,并确认以太网交换机集成是否正确? 请重点关注: LAN9646 配置、SPI 接口、片选、RESET GPIO 和中断设置。 两个交换机与 ENETC 端口 ETH1 和 ETH2 之间的连接。 任何缺失或不正确的属性都可能导致两个以太网接口无法正常工作。 请特别注意两台 LAN9646 交换机是否可以同时运行,以及它们的端口和 PHY 配置是否正确。 该补丁还包含 HDMI、音频、LVDS 和其他设备树更改。请忽略这些更改,仅查看双 LAN9646 以太网集成。 请提出必要的修改建议,并尽可能提供参考设备树示例或文档。 感谢您的支持。 Re: Request for Review of Dual LAN9646 Ethernet Switch Integration on i.MX95-15x15-FRDM. 您好, 感谢您对恩智浦半导体产品的关注, 我们没有用 i.MX 95 测试过 LAN9646 以太网交换机,所以我查看了相关信息,但无法确认它是否有效。 1.拥有可用的 DTS 是一个好习惯,所以我不会注释掉 Reset 和 IRQ 行,并且我会设置一个默认的 GPIO,最好是将值覆盖或保存在其他文件中,而不是留下一个不完整的节点。 2. DTS 中的映射被交换,原理图中 pinctrl_enetc1 映射到 LPSPI3,可以看到 ENET1/ETH0 与 LPSPI3 一起连接到 PHY1,ENET2/ETH1 连接到 PHY2 和 LPSPI6。这与DTS不同。 3. 由于两台交换机共享 LAN 命名属性,我会在 LAN 名称前添加一个前缀。 以上是我的评测,如果您想进一步测试您的 DTS,请尝试 dtbs_check 。 此致
View full article
RT1189 get wrong data when transfer from LPSPI_CPU to LPSPI_DMA Background MCU: MIMXRT1189 core: M33 only RTOS: Zephyr v4.3 I use MIMXRT1189 as SPI master and ADS1235 as SPI slave to collect ADC data. The related DTS content is here: &lpspi4 { status = "okay"; cs-gpios = <&gpio5 17 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; dmas = <&edma4 18 15>, <&edma4 19 14>; dma-names = "rx", "tx"; pinctrl-0 = <&pinmux_lpspi4>; pinctrl-names = "default"; }; pinmux_lpspi4: pinmux_lpspi4 { group0 { pinmux = <&iomuxc_gpio_sd_b2_07_gpio5_io17>; drive-strength = "high"; bias-pull-up; slew-rate = "fast"; }; group1 { pinmux = <&iomuxc_gpio_sd_b2_08_lpspi4_sck>, <&iomuxc_gpio_sd_b2_10_lpspi4_sout>, <&iomuxc_gpio_sd_b2_11_lpspi4_sin>; drive-strength = "high"; slew-rate = "fast"; }; }; Previously, I disabled CONFIG_SPI_NXP_LPSPI_DMA and it worked well. Issue description Now I need to use DMA for LPSPI and make the buffer aligned to non-cacheable DTCM by doing something like static uint8_t spi_tx[9] __aligned(32) __dtcm_noinit_section; static uint8_t spi_rx[9] __aligned(32) __dtcm_noinit_section; As stated in ADS1235 datasheet, the first byte of RX should be 0xFF and the second byte should echo the first byte of TX. I need to write multiple registers. If I write the registers one by one (call spi_transceive_dt for each write), I get data mismatched from the second register: [00:00:05.536,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x42 rx0=0xFF rx1=0xC2 [00:00:05.536,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x43 rx0=0x0F rx1=0xF3 [00:00:05.537,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x44 rx0=0xFF rx1=0xE4 [00:00:05.537,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x45 rx0=0x1F rx1=0xF5 [00:00:05.537,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x46 rx0=0xFF rx1=0xC6 [00:00:05.538,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x47 rx0=0x0F rx1=0xF7 [00:00:05.538,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x48 rx0=0xFF rx1=0xC8 [00:00:05.538,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x49 rx0=0xFF rx1=0xE9 [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4A rx0=0xFF rx1=0xEA [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4B rx0=0x1F rx1=0xFB [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4C rx0=0xFF rx1=0xFC [00:00:05.540,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4D rx0=0xFF rx1=0xFD [00:00:05.540,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4E rx0=0x1F rx1=0xFE [00:00:05.540,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4F rx0=0x3F rx1=0xEF [00:00:05.540,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x50 rx0=0xFF rx1=0xF0 [00:00:05.541,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x51 rx0=0x1F rx1=0xF1 If I do spi_transceive_dt once for all registers, I get data mismatched in a different behavior: [00:00:05.538,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x47 rx0=0x0A rx1=0x3B [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x49 rx0=0x00 rx1=0xDB [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4B rx0=0x00 rx1=0xF1 [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4D rx0=0x40 rx1=0x48 [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4F rx0=0x00 rx1=0xA5 [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x51 rx0=0x07 rx1=0x31 Could anyone help me with this issue?   i.MXRT Re: RT1189 get wrong data when transfer from LPSPI_CPU to LPSPI_DMA Hello Kan, These 2 captures show the first successful write and then followed by the second failed write. The 2nd MOSI is expected to 0x42 0x4B and MISO is expected to 0xFF 0x42. And from the second write it seems that both TX and RX are corrupted. The full successful (with LPSPI CPU) and failed (with LPSPI DMA) captures are attached to this reply. The SPI rate is 800KHz and the mode is CPOL = 0 and CPHA = 1. Re: RT1189 get wrong data when transfer from LPSPI_CPU to LPSPI_DMA Hi @renrad , Thanks for the reaching out! Is it possible to provide a four-channel capture of CS, SCK, MOSI, and MISO for one successful write followed by the first failing write , with the SPI clock rate and mode. That will show whether the unexpected bytes are on the wire or appear only in spi_rx Thanks for your patience! Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: RT1189 get wrong data when transfer from LPSPI_CPU to LPSPI_DMA Hi @renrad , Thank you for the captures. In the second write, the bytes on MOSI appear to differ from the intended 0x42 0x4B . MISO appears to echo the command byte seen on the wire. This suggests we should first determine why the transmitted bytes differ, before treating the ADC response as a separate issue. Could you please provide the code for the first two spi_transceive_dt() calls, including how the TX buffer is filled, the spi_buf pointers and lengths, and the return value of each call? Please also log the TX and RX buffer addresses and contents immediately before and after each call, and confirm where those buffers are placed in the linker map. Finally, please confirm whether the second capture corresponds to the logged tx0=0x42, rx1=0xC2 mismatch. The apparent echo in the capture differs from that log value, so matching the capture to the exact transaction will help us distinguish a wire-level issue from an RX-buffer issue.   Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: RT1189 get wrong data when transfer from LPSPI_CPU to LPSPI_DMA Hello Kan, The related code is here static uint8_t s_ads1235_spi_tx[32] __aligned(32) __dtcm_noinit_section; static uint8_t s_ads1235_spi_rx[32] __aligned(32) __dtcm_noinit_section; static void ads1235_spi_tranceive(uint8_t *data_tx, uint8_t *data_rx, uint8_t byte_length) { struct spi_buf tx_bufs = { .buf = s_ads1235_spi_tx, .len = byte_length }; struct spi_buf rx_bufs = { .buf = s_ads1235_spi_rx, .len = byte_length }; struct spi_buf_set tx = { .buffers = &tx_bufs, .count = 1 }; struct spi_buf_set rx = { .buffers = &rx_bufs, .count = 1 }; int ret; memcpy(s_ads1235_spi_tx, data_tx, byte_length); memset(s_ads1235_spi_rx, 0, byte_length); ret = spi_transceive_dt(&s_spi, &tx, &rx); if (ret < 0) { memset(data_rx, 0, byte_length); LOG_ERR("ADS1235 SPI transfer failed: %d", ret); } else { memcpy(data_rx, s_ads1235_spi_rx, byte_length); } } static bool ads1235_write_single_register(uint8_t addr, uint8_t data) { // Check that the register address is in range assert(addr < NUM_REGISTERS); uint8_t data_tx[4]; uint8_t data_rx[4] = {0}; uint8_t byte_length = (CRC_BYTE_ENABLED ? 4 : 2); // Build TX array and send it data_tx[0] = OPCODE_WREG + (addr & 0x1F); data_tx[1] = data; // Currently CRC is not enabled if (CRC_BYTE_ENABLED) { data_tx[2] = ads1235_calc_crc8_by_table(data_tx, 2); // Compute CRC-2 data_tx[3] = s_adc_dont_care; } ads1235_spi_tranceive(data_tx, data_rx, byte_length); // Handle SPI errors // if (ads1235_validate_spi(data_tx, data_rx, OPCODE_WREG)) { // LOG_ERR("ADS1235 write reg 0x%02X err", addr); // return false; //} // update the global register map variable s_ads1235_register_map[addr] = data; return true; } static bool ads1235_write_multiple_registers(uint8_t addr, uint8_t count, const uint8_t data[]) { for (uint8_t i = 0; i < count; i++) { if (!ads1235_write_single_register(addr + i, data[i])) { return false; } } return true; } The first byte of TX means opcode + address. The write opcode is 0x40. Thus, 0x41 means write address 0x01. After adding logging before/after spi_tranceive_dt, part of the log is shown below: [00:00:05.436,000] main: Initializing ADC Before transfering TX: 0X41 0X 2 Before transfering RX: 0X 0 0X 0 After transfering TX: 0X41 0X 2 After transfering RX: 0XFF 0X41 Before transfering TX: 0X42 0X4B Before transfering RX: 0X 0 0X 0 After transfering TX: 0X42 0X4B After transfering RX: 0X 7 0XFE [00:00:05.538,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x42 rx0=0x07 rx1=0xFE Before transfering TX: 0X43 0X 1 Before transfering RX: 0X 0 0X 0 After transfering TX: 0X43 0X 1 After transfering RX: 0X F 0XFB [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x43 rx0=0x0F rx1=0xFB Before transfering TX: 0X44 0XF0 Before transfering RX: 0X 0 0X 0 After transfering TX: 0X44 0XF0 After transfering RX: 0X F 0XF4 [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x44 rx0=0x0F rx1=0xF4 --- 2 messages dropped --- Before transfering TX: 0X45 0X60 Before transfering RX: 0X 0 0X 0 After transfering TX: 0X45 0X60 After transfering RX: 0X1F 0XF5 I can be sure that the second capture corresponds to the logged tx0=0x42, rx1=0xC2 mismatch. The problem I think is that the internal buffer for the driver is dirtied.  Are the information I provided is enough and valuable?
View full article
i.MX95-15x15におけるWM8962オーディオコーデック統合とSAI4のレビュー要請 NXPチームの皆様、こんにちは。 カスタムのi.MX95 15×15ボード上でWM8962オーディオコーデックとSAI4を統合するためのデバイスツリーパッチ(wm8662_audio_codec_imx95_15x15.patch)を作成しました。 パッチを確認して、オーディオ統合が正しいか確認してもらえますか? 以下の点にご注目ください。 WM8962のI²C構成、アドレス、クロック、および電源。 SAI4の設定、pinctrl、クロックレート、およびマスタークロックの設定。   注意: パッチにはHDMI、LVDS、その他の構成も含まれています。これらの変更は無視し、WM8962オーディオコーデックとSAI4統合のみを確認してください。 必要な修正点をご提案ください。また、可能であれば、デバイスツリーの参考例もご提供ください。 添付ファイルをご確認ください。 再開まで今しばらくお待ちください。 Re: Request to Review of WM8962 Audio Codec Integration with SAI4 on i.MX95-15x15 こんにちは、 @deepak_k さん。 外部MCLKを使用する場合は、dtsファイルにダミークロック情報を追加してください。 m8962_ext_mclk: wm8962-ext-mclk { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <12288000>; clock-accuracy = <20>; clock-output-names = "wm8962_ext_mclk"; }; wm8962: audio-codec@1a { compatible = "wlf,wm8962"; reg = <0x1a>; clocks = <&wm8962_ext_mclk>; clock-names = "mclk"; ..... /delete-property/ fsl,sai-mclk-direction-output; }; よろしくお願いします、 志明 Request to Review of WM8962 Audio Codec Integration with SAI4 on i.MX95-15x15-FRDM @Zhiming_Liu様 外部MCLKとダミークロックの設定に関するご提案、ありがとうございました。 あなたの推奨に基づいてデバイスツリーパッチ(wm8662_audio_codec_imx95_15x15.patch)を更新しました。添付のパッチを改めて確認し、以下の点を明確にしていただけますか? 不足しているプロパティ:残りのWM8962コーデックデバイスツリーのプロパティはすべて正しいですか?それとも、追加のプロパティが必要ですか? MCLKの設定:外部MCLK { 24.000MHZ-D2Y-T}を使用しており、提案どおりダミーの固定クロックノードを追加しました。12.288 MHzの周波数を含め、クロック設定は正しいでしょうか? SAI4の設定:私のSAI4の設定は正しいでしょうか?特に、割り当てられたクロック、クロックの親、クロックレート、およびfsl、sai-mclk-direction-outputプロパティについて教えてください。 &sai4 { #sound-dai-cells = <0> pinctrl-names = "default", "sleep"; pinctrl-0 = <&pinctrl_sai4>; pinctrl-1 = <&pinctrl_sai4_sleep>; assignment-clocks = <&scmi_clk IMX95_CLK_AUDIOPLL1_VCO>, <&scmi_clk IMX95_CLK_AUDIOPLL2_VCO>, <&scmi_clk IMX95_CLK_AUDIOPLL1>, <&scmi_clk IMX95_CLK_AUDIOPLL2>, < &scmi_clk IMX95_CLK_SAI4 >; assignment-clock-parents = <0>, <0>, <0>, <0>, <&scmi_clk IMX95_CLK_AUDIOPLL1>; assignment-clock-rates = <3932160000>, <3612672000>, <393216000>, <361267200>, <12288000> fsl、sai-mclk方向出力; ステータス = "正常"; 4.必要な変更: SAI4 または WM8962 ノード内のプロパティを削除または変更する必要がありますか。 引き続きご支援いただきありがとうございます。
View full article
EB tresos Studio 28.2 & S32 Design Studio for S32 Platform 3.5 Unable to activate 1、 https://nxp.flexnetoperations.com/control/frse/download?element=13118607 Using the latest activation code fails to activate properly. #S32K3 #EB 2、 https://nxp.flexnetoperations.com/control/frse/dload_serialNum?item_key=13592207&plne=712807&certNum=317665591 S32 Design Studio for S32 Platform 3.5 also fails to activate Activation | Installation | Licensing | Installer Download SDKs Re: EB tresos Studio 28.2 & S32 Design Studio for S32 Platform 3.5 Unable to activate Sorry, I have already resolved this issue. It turned out that I mistakenly set "FlexNet License Service" to the disabled state. After changing it to the automatic mode, everything returned to normal.  Re: EB tresos Studio 28.2 & S32 Design Studio for S32 Platform 3.5 Unable to activate @jiri_kral  @petervlna   @Robin_Shen  @danielmartynek   Could you all please help me out? This is really important to me. Thank you so much, everyone!
View full article
FRDM-IMXRT1186 以太网指示灯不亮 您好, 我正在使用 FRDM-IMXRT1186 板(PCB Rev A,SCH Rev A3),带有 J56A ETH0 以太网接口。以太网本身可以正常工作,速度为 1 Gbps,但两个 RJ45 指示灯仍然熄灭。 PHY 芯片为 YT8531SH-CA,地址为 5。我还尝试手动强制设置 PHY LED 寄存器,但 LED 仍然不亮。 我使用官方 MCUXpresso SDK lwIP HTTP 服务器示例重现了同样的情况:服务器和以太网工作正常,但 RJ45 LED 指示灯仍然熄灭。 这是该电路板版本已知的问题吗?或者 J56A LED 是否需要任何 PHY 配置或硬件变通方法? i.MXRT Re: FRDM-IMXRT1186 Ethernet LEDs not working HI 感谢您提供如此详细的信息。根据您描述的情况,以太网链路和数据通信运行正常,但 J56A 接口上的 LED 指示灯未亮起。 感谢您提供的详细反馈。我们已注意到所报告的行为。 此致, 巴勃罗
View full article
恩智浦裁员? 显然,昨天很多人被裁员,而且本周和下周还会有更多人被裁员。有人知道这件事吗? Re: NXP layoffs? 你好, 感谢您通过 NXP 社区与我们联系。有关 NXP 的员工、组织变革或雇佣事宜的问题超出了技术产品支持的范围,无法通过此渠道解决。 有关 NXP 的准确官方信息,我们建议您参考 NXP 的官方企业通讯、投资者关系公告或新闻稿,这些内容可在 nxp.com 上找到。NXP员工可以通过其内部人力资源渠道提出与人力资源相关的咨询。 BRs,托马斯
View full article
Request for Review of Dual LAN9646 Ethernet Switch Integration on i.MX95-15x15-FRDM. Hello NXP Team, I have created a device-tree patch (2Xlan9646_imx95_15x15.patch) to integrate two LAN9646 Ethernet switch ICs with ETH1 and ETH2 on my custom i.MX95 15×15 board. Could you please carefully review the patch and verify whether the Ethernet switch integration is correct? Please focus on: LAN9646 configuration, SPI interfaces, chip-selects, reset GPIOs, and interrupt settings. Connections between the two switches and ENETC ports ETH1 and ETH2. Any missing or incorrect properties that could prevent both Ethernet interfaces from working correctly. Please pay particular attention to whether both LAN9646 switches can operate simultaneously and whether their port and PHY configurations are correct. The patch also contains HDMI, audio, LVDS, and other device-tree changes. Please ignore those changes and review only the dual LAN9646 Ethernet integration. Please suggest the necessary corrections and provide a reference device-tree example or documentation if available. Thank you for your support. Re: Request for Review of Dual LAN9646 Ethernet Switch Integration on i.MX95-15x15-FRDM. Hi, Thank you for your interest in NXP Semiconductor products, We don't have LAN9646 Ethernet Switch tested with i.MX 95, so I reviewed the information but can't confirm that it works. 1. It is a good practice to have workable DTS, so I would not comment the Reset and IRQ lines and I would put a default GPIO, is preferred that values are overwritten or kept in other files than leaving an incomplete node. 2. Mapping is swapped in DTS, pinctrl_enetc1 is mapped to LPSPI3 in schematic is seen that ENET1/ETH0 is connected to PHY1 along with LPSPI3, ENET2/ETH1 to PHY2 and LPSPI6. This differs from DTS. 3. I would add a prefix to LAN naming since both switches share their LAN naming properties. That is the review from my side, if you want to further test your DTS, try  dtbs_check . Regards
View full article
FRDM-IMXRT1186 Ethernet LEDs not working Hi, I am using the FRDM-IMXRT1186 board (PCB Rev A, SCH Rev A3) with the J56A ETH0 Ethernet interface. Ethernet itself works correctly at 1 Gbps but the two RJ45 LEDs remain off. The PHY is the YT8531SH-CA at address 5. I also tried forcing the PHY LED registers manually, but the LEDs still do not light. I reproduced the same behavior with an official MCUXpresso SDK lwIP HTTP server example: the server and Ethernet work, but the RJ45 LEDs remain off. Is this a known issue with this board revision, or is there any required PHY configuration or hardware workaround for the J56A LEDs? i.MXRT Re: FRDM-IMXRT1186 Ethernet LEDs not working Hi Thank you for the detailed information. Based on the behavior you described, the Ethernet link and data communication are operating correctly, while the LED indication on the J56A interface is not active. Thank you for the detailed feedback. We have noted the reported behavior. Best Regards, Pablo
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
EB tresos Studio 28.2 & S32 Design Studio for S32 プラットフォーム 3.5 アクティベートできません 1、 https://nxp.flexnetoperations.com/control/frse/download?element=13118607 最新の認証コードを使用しても、正しく認証されません。#S32K3 #EB 2、 https://nxp.flexnetoperations.com/control/frse/dload_serialNum?item_key=13592207&plne=712807&certNum=317665591 S32 プラットフォーム 3.5用のS32 Design Studioもアクティベートに失敗します アクティベーション | インストール | ライセンス | インストーラーのダウンロード SDK Re: EB tresos Studio 28.2 & S32 Design Studio for S32 Platform 3.5 Unable to activate 申し訳ありませんが、この問題は既に解決済みです。誤って「FlexNetライセンスサービス」を無効に設定してしまっていたことが判明しました。自動モードに変更したら、すべて正常に戻った。 Re: EB tresos Studio 28.2 & S32 Design Studio for S32 Platform 3.5 Unable to activate @jiri_kral  @petervlna   @Robin_Shen  @danielmartynek   皆さん、助けていただけませんか?これは私にとって本当に重要なことです。皆さん、本当にありがとうございます!
View full article
RT1189はLPSPI_CPUからLPSPI_DMAへのデータ転送時に誤ったデータを受け取る バックグランド MCU:MIMXRT1189 コア:M33のみ RTOS:Zephyr v4.3 ADCデータを収集するために、SPIマスターとしてMIMXRT1189、SPIスレーブとしてADS1235を使用しています。関連するDTSコンテンツはこちらです。 &lpspi4 { status = "okay"; cs-gpios = <&gpio5 17 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; dmas = <&edma4 18 15>, <&edma4 19 14>; dma-names = "rx", "tx"; pinctrl-0 = <&pinmux_lpspi4>; pinctrl-names = "default"; }; pinmux_lpspi4: pinmux_lpspi4 { group0 { pinmux = <&iomuxc_gpio_sd_b2_07_gpio5_io17>; drive-strength = "high"; bias-pull-up; slew-rate = "fast"; }; group1 { pinmux = <&iomuxc_gpio_sd_b2_08_lpspi4_sck>, <&iomuxc_gpio_sd_b2_10_lpspi4_sout>, <&iomuxc_gpio_sd_b2_11_lpspi4_sin>; drive-strength = "high"; slew-rate = "fast"; }; }; 以前はCONFIG_SPI_NXP_LPSPI_DMAを無効にしていましたが、問題なく動作していました。 問題の説明 今度は、LPSPIにDMAを使用し、次のような方法でバッファをキャッシュ不可能なDTCMにアラインする必要があります。 static uint8_t spi_tx[9] __aligned(32) __dtcm_noinit_section; static uint8_t spi_rx[9] __aligned(32) __dtcm_noinit_section; ADS1235のデータシートに記載されているように、RXの最初のバイトは0xFFで、2番目のバイトはTXの最初のバイトをエコーする必要があります。複数のレジスタに書き込む必要があります。レジスタを1つずつ書き込むと(書き込みごとにspi_transceive_dtを呼び出す)、2番目のレジスタからデータが一致しなくなります。 [00:00:05.536,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x42 rx0=0xFF rx1=0xC2 [00:00:05.536,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x43 rx0=0x0F rx1=0xF3 [00:00:05.537,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x44 rx0=0xFF rx1=0xE4 [00:00:05.537,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x45 rx0=0x1F rx1=0xF5 [00:00:05.537,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x46 rx0=0xFF rx1=0xC6 [00:00:05.538,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x47 rx0=0x0F rx1=0xF7 [00:00:05.538,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x48 rx0=0xFF rx1=0xC8 [00:00:05.538,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x49 rx0=0xFF rx1=0xE9 [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4A rx0=0xFF rx1=0xEA [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4B rx0=0x1F rx1=0xFB [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4C rx0=0xFF rx1=0xFC [00:00:05.540,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4D rx0=0xFF rx1=0xFD [00:00:05.540,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4E rx0=0x1F rx1=0xFE [00:00:05.540,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4F rx0=0x3F rx1=0xEF [00:00:05.540,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x50 rx0=0xFF rx1=0xF0 [00:00:05.541,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x51 rx0=0x1F rx1=0xF1 すべてのレジスタに対して一度だけspi_transceive_dtを実行すると、異なる動作でデータ不一致が発生します。 [00:00:05.538,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x47 rx0=0x0A rx1=0x3B [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x49 rx0=0x00 rx1=0xDB [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4B rx0=0x00 rx1=0xF1 [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4D rx0=0x40 rx1=0x48 [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x4F rx0=0x00 rx1=0xA5 [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x51 rx0=0x07 rx1=0x31 どなたかこの問題について助けていただけませんか?   i.MX RT Re: RT1189 get wrong data when transfer from LPSPI_CPU to LPSPI_DMA こんにちは、カンさん これら2つのキャプチャは、最初の書き込み成功と、それに続く2回目の書き込み失敗を示しています。2番目のMOSIは0x42 0x4B、MISOは0xFF 0x42になると予想されます。そして2回目の書き込みから、TXとRXの両方が破損しているようです。LPSPI CPUを使用した成功時とLPSPI DMAを使用した失敗時のキャプチャデータ一式をこの返信に添付しています。 SPIレートは800KHz、モードはCPOL=0、CPHA=1です。 Re: RT1189 get wrong data when transfer from LPSPI_CPU to LPSPI_DMA こんにちは、 @renrad さん。 ご連絡いただきありがとうございます! CS、SCK、MOSI、MISOの4チャンネルキャプチャを、1回の書き込み成功後、最初の失敗した書き込みをSPIクロックレートとモードで提供することは可能でしょうか。これにより、予期しないバイトが線上にあるのか、それとも にしか現れないのかがわかります spi_rx お待ちいただきありがとうございます! すてきな一日を、 カン ------------------------------------------------------------------------------- 注記: この投稿があなたの質問への回答になっている場合は、「正解としてマーク」ボタンをクリックしてください。ありがとうございます! - 前回の投稿から7週間Threadをフォローしており、その後の返信は無視しています もし後で関連する質問があれば、新しいThreadを開き、閉じたThreadを参照してください。 ------------------------------------------------------------------------------- Re: RT1189 get wrong data when transfer from LPSPI_CPU to LPSPI_DMA こんにちは、 @renrad さん。 撮影していただきありがとうございます。2回目の書き込みでは、MOSIのバイトが意図した 0x42 0x4B と異なっているようです。MISOは、回線上で確認されたコマンドバイトをそのまま反映しているようだ。これは、ADCの応答を別の問題として扱う前に、まず送信されたバイト数が異なる理由を特定する必要があることを示唆している。 最初の2回の spi_transceive_dt() 通話のコード、TXバッファの埋め方、 spi_buf ポインタと長さ、各通話の返り値などを教えていただけますか?各呼び出しの直前と直後に、TXバッファとRXバッファのアドレスと内容をログに記録し、それらのバッファがリンカマップのどこに配置されているかを確認してください。 最後に、2番目のキャプチャが、ログに記録された tx0=0x42, rx1=0xC2 不一致に対応しているかどうかを確認してください。キャプチャ内の見かけのエコーはそのログ値と異なるため、キャプチャを正確なトランザクションに合わせることで、ワイヤーレベルの問題とRXバッファの問題を区別できます。   すてきな一日を、 カン ------------------------------------------------------------------------------- 注記: この投稿があなたの質問への回答になっている場合は、「正解としてマーク」ボタンをクリックしてください。ありがとうございます! - 前回の投稿から7週間Threadをフォローしており、その後の返信は無視しています もし後で関連する質問があれば、新しいThreadを開き、閉じたThreadを参照してください。 ------------------------------------------------------------------------------- Re: RT1189 get wrong data when transfer from LPSPI_CPU to LPSPI_DMA こんにちは、カンさん 関連コードはこちら static uint8_t s_ads1235_spi_tx[32] __aligned(32) __dtcm_noinit_section; static uint8_t s_ads1235_spi_rx[32] __aligned(32) __dtcm_noinit_section; static void ads1235_spi_tranceive(uint8_t *data_tx, uint8_t *data_rx, uint8_t byte_length) { struct spi_buf tx_bufs = { .buf = s_ads1235_spi_tx, .len = byte_length }; struct spi_buf rx_bufs = { .buf = s_ads1235_spi_rx, .len = byte_length }; struct spi_buf_set tx = { .buffers = &tx_bufs, .count = 1 }; struct spi_buf_set rx = { .buffers = &rx_bufs, .count = 1 }; int ret; memcpy(s_ads1235_spi_tx, data_tx, byte_length); memset(s_ads1235_spi_rx, 0, byte_length); ret = spi_transceive_dt(&s_spi, &tx, &rx); if (ret < 0) { memset(data_rx, 0, byte_length); LOG_ERR("ADS1235 SPI transfer failed: %d", ret); } else { memcpy(data_rx, s_ads1235_spi_rx, byte_length); } } static bool ads1235_write_single_register(uint8_t addr, uint8_t data) { // Check that the register address is in range assert(addr < NUM_REGISTERS); uint8_t data_tx[4]; uint8_t data_rx[4] = {0}; uint8_t byte_length = (CRC_BYTE_ENABLED ? 4 : 2); // Build TX array and send it data_tx[0] = OPCODE_WREG + (addr & 0x1F); data_tx[1] = data; // Currently CRC is not enabled if (CRC_BYTE_ENABLED) { data_tx[2] = ads1235_calc_crc8_by_table(data_tx, 2); // Compute CRC-2 data_tx[3] = s_adc_dont_care; } ads1235_spi_tranceive(data_tx, data_rx, byte_length); // Handle SPI errors // if (ads1235_validate_spi(data_tx, data_rx, OPCODE_WREG)) { // LOG_ERR("ADS1235 write reg 0x%02X err", addr); // return false; //} // update the global register map variable s_ads1235_register_map[addr] = data; return true; } static bool ads1235_write_multiple_registers(uint8_t addr, uint8_t count, const uint8_t data[]) { for (uint8_t i = 0; i < count; i++) { if (!ads1235_write_single_register(addr + i, data[i])) { return false; } } return true; } TXの最初のバイトは、オペコードとアドレスを表します。書き込みオペコードは0x40です。したがって、0x41はアドレス0x01に書き込むことを意味します。spi_tranceive_dtの前後にログ記録を追加した後、ログの一部を以下に示します。 [00:00:05.436,000] main: Initializing ADC Before transfering TX: 0X41 0X 2 Before transfering RX: 0X 0 0X 0 After transfering TX: 0X41 0X 2 After transfering RX: 0XFF 0X41 Before transfering TX: 0X42 0X4B Before transfering RX: 0X 0 0X 0 After transfering TX: 0X42 0X4B After transfering RX: 0X 7 0XFE [00:00:05.538,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x42 rx0=0x07 rx1=0xFE Before transfering TX: 0X43 0X 1 Before transfering RX: 0X 0 0X 0 After transfering TX: 0X43 0X 1 After transfering RX: 0X F 0XFB [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x43 rx0=0x0F rx1=0xFB Before transfering TX: 0X44 0XF0 Before transfering RX: 0X 0 0X 0 After transfering TX: 0X44 0XF0 After transfering RX: 0X F 0XF4 [00:00:05.539,000] ads1235: ADS1235 SPI validate mismatch: opcode=0x40 tx0=0x44 rx0=0x0F rx1=0xF4 --- 2 messages dropped --- Before transfering TX: 0X45 0X60 Before transfering RX: 0X 0 0X 0 After transfering TX: 0X45 0X60 After transfering RX: 0X1F 0XF5 2回目のキャプチャは、記録されたtx0=0x42、rx1=0xC2ミスマッチに対応していることは確かです。問題はドライバの内部バッファが汚れていることだと思います。 私が提供した情報は十分かつ価値のあるものでしょうか?
View full article
Request to Review of WM8962 Audio Codec Integration with SAI4 on i.MX95-15x15 Hello NXP Team, I have created a device-tree patch (wm8662_audio_codec_imx95_15x15.patch) to integrate the WM8962 audio codec with SAI4 on my custom i.MX95 15×15 board. Could you please review the patch and verify whether the audio integration is correct? Please focus on: WM8962 I²C configuration, address, clocks, and power supplies. SAI4 configuration, pinctrl, clock rates, and master-clock settings.   Note: The patch also contains HDMI, LVDS, and other configurations. Please ignore these changes and review only the WM8962 audio codec and SAI4 integration. Please suggest the necessary corrections and provide a reference device-tree example if available. please find the attachment. Thank you for your support. Request to Review of WM8962 Audio Codec Integration with SAI4 on i.MX95-15x15-FRDM Dear @Zhiming_Liu , Thank you for your suggestion regarding the external MCLK and dummy clock configuration. I have updated my device-tree patch (wm8662_audio_codec_imx95_15x15.patch) based on your recommendation. Could you please again  review the attached patch and clarify the following points? Missing properties: Are all the remaining WM8962 codec device-tree properties correct, or are any additional properties required? MCLK configuration: I am using an external MCLK { 24.000MHZ-D2Y-T} and have added the dummy fixed-clock node as suggested. Is the clock configuration correct, including the frequency of 12.288 MHz? SAI4 configuration: Is my SAI4 configuration correct, particularly the assigned clocks, clock parents, clock rates, and fsl,sai-mclk-direction-output property? &sai4 { #sound-dai-cells = <0>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&pinctrl_sai4>; pinctrl-1 = <&pinctrl_sai4_sleep>; assigned-clocks = <&scmi_clk IMX95_CLK_AUDIOPLL1_VCO>, <&scmi_clk IMX95_CLK_AUDIOPLL2_VCO>, <&scmi_clk IMX95_CLK_AUDIOPLL1>, <&scmi_clk IMX95_CLK_AUDIOPLL2>, <&scmi_clk IMX95_CLK_SAI4>; assigned-clock-parents = <0>, <0>, <0>, <0>, <&scmi_clk IMX95_CLK_AUDIOPLL1>; assigned-clock-rates = <3932160000>, <3612672000>, <393216000>, <361267200>, <12288000>; fsl,sai-mclk-direction-output; status = "okay"; 4. Required changes: Should I remove or modify any properties in the SAI4 or WM8962 nodes. Thank you for your continued support. Re: Request to Review of WM8962 Audio Codec Integration with SAI4 on i.MX95-15x15 Hi @deepak_k  If you are using external MCLK, please add dummy clock information in dts. m8962_ext_mclk: wm8962-ext-mclk { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <12288000>; clock-accuracy = <20>; clock-output-names = "wm8962_ext_mclk"; }; wm8962: audio-codec@1a { compatible = "wlf,wm8962"; reg = <0x1a>; clocks = <&wm8962_ext_mclk>; clock-names = "mclk"; ..... /delete-property/ fsl,sai-mclk-direction-output; }; Best Regards, Zhiming
View full article
R47 EVK 的示意图 哪里可以找到 R47 EVK S32R47-EVB-SLD的原理图 Re: Schematic diagram of R47 EVK 你好, 我在网页上没有找到。 由于不允许通过社区分享,请联系格拉斯哥雷达团队,他们会为您提供。 顺祝商祺! Peter
View full article
RT1176 MT25QL256ABA8E12 フラッシュをプログラムできません 新しい3.3V NORフラッシュ、MT25QL256ABA8E12をプログラムしようとしたときに、「20107 (0x4e8b) FlexSPINOR: SFDP Not Found」というエラーが発生しました。 以前のバージョンでは、USB経由でNORフラッシュメモリへの書き込みに成功していました。 EV設計の大きな違いはNORフラッシュデバイスです。同じフラッシュシリーズのMT25QL256ABA8E12-0AATに移行しましたが、これは3.3Vの自動車グレード部品です。 旧フラッシュメモリ:MT25QU256ABA8E12-1SIT 新しいフラッシュメモリ:MT25QL256ABA8E12-0AAT この変更により、NVCC_SD2には安定した3.3Vが供給され、新しい3.3V NORフラッシュに合わせて3.3Vレールも更新されます。 ご確認いただき、フラッシュ作業に関して他に設定が必要な箇所があればお知らせください。 Re: RT1176 Not able to program MT25QL256ABA8E12 flash こんにちは、ギャビンさん。 ありがとうございます。 SECログに完全なFCB設定を含む書き込みファイルを添付しましたのでご確認ください。ご覧になって、ご意見をお聞かせください。 共有したいデータポイントの1つは、NOR信号をプローブしたときに、RESET#ネットが1.1~1.3Vにプルダウンされていることに気づいたことです。これは予想外のことで、今のところこの現象に対する良い説明が見つかっていません。 クリス Re: RT1176 Not able to program MT25QL256ABA8E12 flash ありがとう。3.3Vレールのアップデートをすべて含んでいるデザインが確認されました。 Re: RT1176 Not able to program MT25QL256ABA8E12 flash SFDPに加えて、供給電圧の変化により回路図設計が異なる可能性があり、1.8Vが3.3Vに変換される必要があります。関連するNOR VCC回路図とPCBレイアウトも1.8Vから3.3Vに変更してください。 Re: RT1176 Not able to program MT25QL256ABA8E12 flash こんにちは、 @chryao さん。 ご連絡いただきありがとうございます! 「完全なFCB」テストは、FCB内のパラメータを使ってFlexSPIコントローラのみを初期化します。フラッシュに対して消去、プログラム、読み取りは行われていないため、フラッシュが実際に反応しているかどうかは確認できません。対照的に、簡略化されたオプション(0xC0000005)はフラッシュからSFDPテーブルを読み込む必要があり、両ログで唯一の本格的なフラッシュアクセスでした。20107年に失敗した。 XMCDなしでSECで完全なFCB構成を使った完全な書き込みを実行し、ログ全体を共有していただけませんか?さらに、通常のブートモードでフラッシュメモリにアクセス(読み書き)する際に、ハードウェア関連の問題の可能性を除外するために、まずテストを行うことが推奨されます。 よろしくお願いします、 ギャビン Re: RT1176 Not able to program MT25QL256ABA8E12 flash ログを添付します。 点滅するエラーログ CompleteFCBテスト接続合格ログ。 Re: RT1176 Not able to program MT25QL256ABA8E12 flash @Gavin_Jia NXPがRT1176 3.3V NORフラッシュ(BGA-24パッケージ)のベンダーリストを承認しているかどうか教えてください。 Re: RT1176 Not able to program MT25QL256ABA8E12 flash こんにちは、 @chryao さん。 追加のログファイルをありがとうございます。 ログを見ると、完全なFCBを持つ configure-memory はFlexSPIコントローラーのみを初期化するため、フラッシュとはデータをやり取りしません。最初の本格的なフラッシュアクセスは flash-erase-region であり、 20106 Command Failure で失敗します。 これは、以前の簡易オプションで発生した「SFDP が見つかりません」というエラー(20107)と一致します。2つの異なる設定方法が最初のリアルフラッシュアクセスで失敗し、フラッシュが全く反応していないことを示しています。これはFCBやLUTの設定ではなく、ハードウェアの問題を示唆しています。   3.3Vフラッシュの場合、RESET#の1.1〜1.3Vは有効な論理ハイではないため、フラッシュはリセットされたままか、未定義の状態に放置されている可能性が高いです。同じ理由で、SRAMからflexspi_nor_polling_transfer例を実行してもフラッシュにアクセスできないと予想されます。 まずは回路図と基板から始めることをお勧めします。まず、RESET#がクリーンで有効な3.3Vレベルを検出していることを確認してから、再度フラッシュメモリの有効化とプログラミングを試してください。 承認されたベンダーリストについて:NXPは外部NORフラッシュ用の公式AVLを維持しておらず、RTのEVKは3.3V BGA-24 NORを使っていません。一般的に、JEDEC SFDP標準をサポートするシリアルNORフラッシュはFlexSPIで動作するはずです。 よろしくお願いします、 ギャビン Re: RT1176 Not able to program MT25QL256ABA8E12 flash これら2つのNORデータシートによると、MT25QL256ABA 3.3VはMT25QU256ABA 1.8Vと同じコマンドリストを共有しており、以下の96Hコマンドが期待されます。ご確認ください。 一方、MT25QU256ABA MT25QL256ABAと比べて最大クロック周波数が高い場合は、ソフトウェアの設定を確認し、周波数を下げて確認してください
View full article
LS1028Aカスタムボードは、CPLDを取り外した後、起動しません。RCWはプルアップ/プルダウン抵抗によって構成されています。 NXPサポートの皆さん、こんにちは。 LS1028Aをベースにした独自の基板の設計を開始しました。この設計ではCPLDを廃止し、RCWはプルアップ/プルダウン抵抗器で構成されています。LS1028AのPORリセットは、200msのリセット遅延を持つリセットICによって制御されます。 測定によると、基板の電源レール、クロック、リセット信号はすべて揃っていますが、プロセッサは起動しません。理由は不明です。 原因の分析を手伝ってもらえますか? ありがとうございます。 Re: LS1028A custom board does not boot after removing CPLD — RCW configured by pull-up/pull-down res 最も可能性の高い原因は以下のとおりです。 CPLDの取り外しにより、cfg_rcw_src抵抗ストラップの設定が誤っています。 RESET_REQ_B意図せずリセット経路に繋がっていること。RESET_REQ_BがPORESET_Bと関連付けられていないことを確認してください。 リセットICが原因でPORESET_Bのタイミングに問題が発生しています。データシートによると、PORESET_Bの立ち上がり/立ち下がり時間はSYSCLKの1周期を超えてはならない。 選択したブートソース内のRCWイメージが無効またはアクセスできません。 HRESET_Bの解放を阻止する外部回路。 一時的にハードコードされたRCWブートモードを選択し、CodeWarriorがCWTAP経由でデバイスに正常に接続できるか確認することをお勧めします。これにより、問題がRCWブートパスに関連するものなのか、リセットハードウェアの実装に関連するものなのかを特定するのに役立ちます。 ありがとうございます。 Re: LS1028A custom board does not boot after removing CPLD — RCW configured by pull-up/pull-down res LS1028AからCPLDを取り外しました。電源投入シーケンスは、リファレンスボードの回路図に従います。RCWは、プルアップ/プルダウン抵抗器によって構成され、ハードウェアエンコードされたブートを選択します。その他のすべての構成も、プルアップ/プルダウン抵抗によって設定されます。我々の測定では、PORESET_Bの立ち上がり時間は1クロックサイクルを超えず、リセット時間は200msでした。HRESET_Bはハイレベルからローレベルに変化します。しかし、LS1028Aは正常に起動せず、SDHC1_CLKにクロック信号が出力されません。 Re: LS1028A custom board does not boot after removing CPLD — RCW configured by pull-up/pull-down res ハードウェアエンコードモードを設定したとき、HRESET_Bが最後に高くなれなかったことを確認させてください。 もしSOなら、ハードウェアの問題の可能性もあります。 LS1028Aリファレンスマニュアル 4.8.6 Power-On Reset Sequence Timing に従って、PORESET_B、HRESET_B、RESET_REQ、ASLEEPの波形をテストしてください 。SYSCLKとPORの設定ピンを同時にテストし、タイミング要件と比較してハードウェアの問題がいつ発生するかを確認するのが良いです。 よろしくお願いします。
View full article
F2400 LIMP0 错误 我们发现,在 30 电源频繁开关机循环期间,LIMP0 引脚被拉低。我们尚未找到根本原因。请帮忙分析一下。 通过软件调试,我们发现当报告故障时,以下寄存器被置位: FS_CRC 位 12 INIT_CRC_NOK_I FS_SAFETY_OUTPUTS bit3 LIMP0_DRV M_WU1_FLG 位9 FS_EVT M_GEN_FLAG 位6 WD_G 此外,当 LIMP0 引脚被拉低后,收发器仍处于正常模式,CAN 消息的发送/接收正常。在软件中,我们将看门狗周期配置为无限,但当发生故障时,寄存器仍然显示 256 毫秒。 Re: F2400 LIMP0 ERROR 1:fault error counter default值是1,你读的对不对? FS_I_FSSM_CFG[3:0]的值 2:我把所有影响带LIMP的因素都贴在下面了: 用最笨的方法一个个排除吧只能 Re: F2400 LIMP0 ERROR 1:确认LIMP的上拉还在吗?正常吗?正常 2:读一下Fault error counter是多大在LIMP拉低的状态下 这个值通过SPI回读有点奇怪,是0, FS_I_FSSM_CFG这个寄存器是0x8000 Re: F2400 LIMP0 ERROR 1:确认LIMP的上拉还在吗?正常吗? 2:读一下Fault error counter是多大在LIMP拉低的状态下 Re: F2400 LIMP0 ERROR 是的 Re: F2400 LIMP0 ERROR Hi PINKMAN 您说的是FS2400?
View full article
Zephyr RTOS 入口处的新配置找不到 i.MXRT1185 您好,NXP, 我无法从 Zephyr RTOS 入口找到 i.MXRT1185 型号。 能否帮忙检查并版本我们可以配置运行 Zephyr 的 i.MXRT1185? 非常感谢。 MCUXpresso 配置工具 v26.09 Re: New config from Zephyr RTOS entrance can't find i.MXRT1185 嗨@jimmyli , 感谢您的耐心等待。 经与相关团队核实,我可以确认 i.MX RT1185 目前不受支持。我们已将此议题提交相关团队进一步讨论。 感谢您让我们注意到这个问题,也感谢您提供的宝贵意见。 顺祝商祺! 刘梅
View full article
LS1028A custom board does not boot after removing CPLD — RCW configured by pull-up/pull-down resisto Hi NXP Support, We have started designing our own board based on the LS1028A. In this design, we removed the CPLD, and the RCW is configured using pull-up/pull-down resistors. The LS1028A POR reset is controlled by a reset IC with a 200 ms reset delay. From our measurements, all board power rails, clocks, and reset signals are present, but the processor does not boot. We do not know the reason. Could you please help analyze the possible cause? Thanks. Re: LS1028A custom board does not boot after removing CPLD — RCW configured by pull-up/pull-down res The most probable causes are: Incorrect cfg_rcw_src resistor strap settings due to the removal of the CPLD. RESET_REQ_B being unintentionally connected into the reset path. Please verify that RESET_REQ_B is not tied to PORESET_B. PORESET_B timing issues caused by the reset IC. Per the datasheet, the PORESET_B rise/fall time should not exceed one SYSCLK period. An invalid or inaccessible RCW image in the selected boot source. External circuitry preventing HRESET_B from being released. We recommend temporarily selecting a hard-coded RCW boot mode and verifying whether CodeWarrior can successfully connect to the device through CWTAP. This would help isolate whether the issue is related to the RCW boot path or to the reset hardware implementation. Thanks. Re: LS1028A custom board does not boot after removing CPLD — RCW configured by pull-up/pull-down res We removed the CPLD on the LS1028A. The power-up sequence follows the reference board circuit. The RCW is configured by pull-up/pull-down resistors, selecting hardware-encoded boot. All other configurations are also set by pull-up/pull-down resistors. In our measurements, the rise of PORESET_B does not exceed one clock cycle, and the reset duration is 200 ms. HRESET_B goes high and then low. However, the LS1028A does not boot normally, and no clock is output on SDHC1_CLK. Re: LS1028A custom board does not boot after removing CPLD — RCW configured by pull-up/pull-down res Let me confirm when you set hardware-encoded mode the HRESET_B could not get high at the end. If so, it is possible that this is a hardware issue. Please test the waveforms of PORESET_B, HRESET_B, RESET_REQ and ASLEEP following the LS1028A Reference Manual, 4.8.6 Power-On Reset Sequence Timing. It's better to test the SYSCLK and POR configs pins at the same time, and compare them against the timing requirements to confirm when the hardware issue occurs. Thanks
View full article