Multi Source Translation Content

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Multi Source Translation Content

ディスカッション

ソート順:
RW612 FLEXCOMM3/I2S3 Supporting driver We are using RW612 FLEXCOMM3/I2S3 with the following fixed hardware wiring: - GPIO24 = I2S DATA input from PCM6120 SDOUT - GPIO25 = I2S SCK output to PCM6120 BCLK - GPIO26 = I2S WS output to PCM6120 FSYNC The codec is PCM6120 in slave mode. RW612 is intended to be the I2S master generating BCLK/WS and receiving audio data. What we have verified: - GPIO25/GPIO26 can be driven correctly in plain GPIO mode - FLEXCOMM3 clock source is AUDIO PLL at 12.288 MHz - I2C communication with PCM6120 is working - PCM6120 register configuration is accepted Observed behavior: 1. FLEXCOMM3 configured as I2S RX with kI2S_MasterSlaveNormalMaster does not generate any SCK/WS edges on GPIO25/GPIO26. 2. FLEXCOMM3 configured as I2S TX with kI2S_MasterSlaveNormalMaster also does not work: FIFOSTAT.TXNOTFULL=1, but TXLVL remains 0 after writes to FIFOWR, and no SCK/WS edges appear on the pins. 3. PCM6120 reports missing clocks (ASI_STS=0xFF, DEV_STS1=0x80). Questions: 1. Is RW612 FLEXCOMM I2S RX in Normal Master mode expected to drive SCK/WS onto external pins? 2. Is a single FLEXCOMM instance supported for the use case “master clock generation + receive data from external codec”, or is a dual-FLEXCOMM architecture (TX master + RX slave with I2S bridge) required? 3. For FLEXCOMM3 I2S TX master, are there additional prerequisites for FIFO writes to be accepted beyond I2S_TxInit(), FIFOWR writes, and MAINENABLE? 4. Is there any known limitation specific to FLEXCOMM3 on GPIO24/25/26 (AON domain) for I2S clock output? Pls help about the topic Re: RW612 FLEXCOMM3/I2S3 Supporting driver Hi @duyhung, hope you are doing well. Would you please clarify if you are using FreeRTOS or Zephyr to perform the tests? Are you using the FRDM-RW612 board? Please also provide which version (either SDK or Zephyr) you are using, and if you're taking an example as base for your development. Additionally, the Reference Manual of RW612 (UM11865) includes a basic configuration guide for I2S peripheral in section 28.2, would you please confirm if you have followed this general steps? Re: RW612 FLEXCOMM3/I2S3 Supporting driver Hi @RomanVR , Thank you for your response. Please find the clarifications below. 1. RTOS We are using bare-metal and FreeRTOS for both test. No Zephyr is involved in these tests. All initialization and I2S configuration are done directly with the NXP SDK drivers. 2. Board We are not using the FRDM-RW612. We are using a custom Dev Board based on RW612ETA2I. The MCU is the same, but the board layout differs. The audio codec (PCM6120) is wired to FLEXCOMM3 / I2S3 on the following fixed pins: Signal GPIO Direction I2S DATA (SDOUT from PCM6120) GPIO24 Input I2S SCK (BCLK to PCM6120) GPIO25 Output I2S WS (FSYNC to PCM6120) GPIO26 Output I2C SDA (PCM6120 config) GPIO56 (FC14) Bidirectional I2C SCL (PCM6120 config) GPIO57 (FC14) Bidirectional AUX_EN (PCM6120 power) GPIO54 Output 3. SDK Version We are using SDK_2.x_RD-RW612-BGA, version 25.03.00. 4. Base Example We used rdrw612bga_i2s_dma_record_playback as the reference example. That example uses FLEXCOMM1 (TX master) + FLEXCOMM0 (RX slave) + I2S bridge, which we confirmed is working. However, our hardware constraint forces us to use a single FLEXCOMM (FC3 only) for the entire I2S link to PCM6120. PCM6120 must work in Slave mode because we dont have External clock to source for BCLK . We attempted to configure FC3 as kI2S_MasterSlaveNormalMaster to have it generate SCK/WS while receiving data. 5. UM11865 Section 28.2 – I2S Configuration Steps We have reviewed UM11865 Section 28.2 and can confirm all 6 configuration steps are followed: Step 1: Flexcomm enabled with CLOCK_EnableClock + RESET + CLOCK_AttachClk Step 2: FIFO configured (FIFOCFG=0x35, ENABLETX=1, SIZE=8) Step 3: I2S pins set via IO_MUX_SetPinMux(IO_MUX_FC3_I2S), AON MCI_IOMUX enabled Step 4: Rate configured (CFG1 MSTSLVCFG=0b11=NormalMaster, DIV=3 → BCLK=3.072MHz) Step 6: DMA enabled in FIFOCFG Despite following all steps, we observe: - No SCK/WS edges on GPIO25/GPIO26 - TX FIFO not accepting data: TXNOTFULL=1 but TXLVL stays 0 after FIFOWR writes Section 28.2 Step 4 states "For controller operation, the clock determines the I2S rate" but does not specify whether PERSEL=I2S_RECEIVE with NormalMaster is expected to drive SCK/WS onto the pads. Can you clarify: 1. Is PERSEL=I2S_RECEIVE (0b101) capable of driving SCK/WS as outputs when MSTSLVCFG=NormalMaster? 2. Why does TXLVL remain 0 after writes to FIFOWR with PERSEL=I2S_TRANSMIT? Is MAINENABLE required before FIFOWR writes are accepted? 6. Observed Issue – Our Specific Question After all configuration above, GPIO25 and GPIO26 produce zero edges. PCM6120 reports missing clocks (ASI_STS = 0xFF, DEV_STS1 = 0x80). We further ran a diagnostic: we configured FC3 as I2S TX master (instead of RX master) and found that writes to FIFOWR do not increment TXLVL — FIFOSTAT stays at 0x30 (TXNOTFULL=1, TXLVL=0) regardless of how many words we write. Relevant register state after TX master probe:   CFG1 = 0x17003C (MSTSLVCFG=3 = NormalMaster, DATALEN=24, MAINENABLE=0) DIV = 3 (divider=4, BCLK = 12.288MHz / 4 = 3.072MHz) FIFOCFG = 0x35 (ENABLETX=1, TXI2SE0=1) FIFOSTAT = 0x30 (TXNOTFULL=1, TXLVL=0 after writes) After MAINENABLE=1: STAT = 0x5 (BUSY=1, LR=1 — clock logic running internally) SCK/WS edges on GPIO25/GPIO26: 0 Our specific question to NXP: When FLEXCOMM3 I2S is configured as kI2S_MasterSlaveNormalMaster (either TX or RX), is it expected behavior on RW612 that SCK/WS are not driven onto GPIO25/GPIO26 (AON domain), even though STAT shows the peripheral is internally running? Alternatively: Is a single-FLEXCOMM topology (one FC as both clock master and RX data receiver) supported by the RW612 I2S hardware, or does RW612 always require two separate FlexComm instances (one TX master + one RX slave via I2S bridge) for this use case? Thank you. Re: RW612 FLEXCOMM3/I2S3 Supporting driver Hi @duyhung, thanks for providing additional details of your setup. Based on the reference manual (RM00278), when the I2S instance is configured in normal master mode, the SCK and WS signals are configured to be generated but not to transmit or receive data, as it is detailed in section 31.1.2 of the RM00278 in CFG1[MSTSLVCFG] register. In the I2S driver, this configuration is applied within the "I2S_TxInit();" function, which also configures the Flexcomm instance being used and the FIFO as a transmitter instance. Given the previous information, the double Flexcomm topology with shared signals (as it is done in the example you have already tested) is suggested, as it is demonstrated in a similar example shown in Figure 9 in section 3.6.2.1.1 of UM11865. RomanVR_0-1785886440838.png Additionally, if you are taking as base the I2S with DMA playback example, would you please share the modifications you have done to the example?
記事全体を表示
FRDM-MX95 PRO 软件套装? 我想知道MX95 PRO会有哪些操作系统软件版本可用?是否会提供Android AAOS的演示镜像?我们能否联系到相关人员,了解具体有哪些服务或产品可供选择? Re: FRDM-MX95 PRO software packages? 目前,仅提供适用于 imx95 frdm pro 的 Linux 6.18.20_2.0.0 演示镜像。 适用于 i.MX 应用处理器的嵌入式 Linux | 恩智浦半导体 您可以从上面的链接下载演示镜像。对于安卓系统,我检查了开发板文件,最新的安卓 16.0.0_2.0.0 基于内核 6.18.20_2.0.0,因此应该支持 FRDM Pro,但这个版本的安卓系统尚未在该开发板上验证过,目前只验证过 19x19 EVK 和 15x15 FRDM。 joanxie_0-1785570929815.png Re: FRDM-MX95 PRO software packages? 请问frdm-mx95是否会支持Android Automotive?还是必须升级到frdm-mx95专业版? Re: FRDM-MX95 PRO software packages? 请参考以下链接。 https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/android-automotive-os-for-i-mx-applications-processors:ANDROID-AUTO 自动安卓演示图片仅适用于 imx95 19x19 evk Re: FRDM-MX95 PRO software packages? 我再确认一下安卓自动团队的情况,负责人正在休假,下周才会回来上班,有任何更新我会通知你。 Re: FRDM-MX95 PRO software packages? 是否有针对安卓或AAOS系统的计划?FRDM MX95 Pro 没有 AAOS 版本似乎很奇怪,尤其是考虑到评估板 19x19 已经停产并停止测试。19x19处理器的Pro版为什么不能用作评估板? Re: FRDM-MX95 PRO software packages? 我可以通过什么方式联系他们询问问题? 或者他们能否给我们一些关于如何编译新的frdm pro板的说明?也许他们可以提供板包文件,以便我们更容易地进行编译? Re: FRDM-MX95 PRO software packages? 很遗憾,我从安卓汽车团队那里得知,他们没有任何支持IMX95 FRDM主板的计划。 Re: FRDM-MX95 PRO software packages? 谢谢。目前看来,Android车载系统确实缺乏支持。frdm 具有很大的潜力,但如果没有 nxp 的额外支持,我们就只能靠自己了。据我了解,Evk 已停止获得 Toradex 的支持并停产。由于 frdm pro 与 frdm pro 采用相同的硬件,因此应该可以获得一些支持。我们需要电路板支持包。,它可以让构建镜像变得更加容易。 Re: FRDM-MX95 PRO software packages? 由于他们目前还没有支持这方面的计划,我认为他们无法提供任何构建代码包,软件包。
記事全体を表示
i.MX8MP散热器解决方案 我们正在考虑为基于 i.MX 8M Plus 的信息娱乐应用采用以下被动散热解决方案: 铝制散热片:20 × 20 × 1.5 毫米(最大可达 30 × 30 × 2 毫米) TIM:汉高贝格奎斯特间隙填充剂 TGF 2000 铝板将用作 i.MX 8M Plus 顶部的散热片。 对于典型的车载信息娱乐系统工作负载而言,这种解决方案是否足够?如果没有,您能否推荐合适的散热器尺寸或任何其他散热要求? Re: i.MX8MP Heat Spreader Solution 嗨@Wobaffet , 感谢您联系恩智浦技术支持! 为此,我建议查阅i.MX8MP 硬件设计指南,特别是第 7.8 章“散热器注意事项”,其中提供了有关 i.MX8MP 热管理和散热器实施的详细信息和设计建议。 本章涵盖了确保设备具有良好的热性能和可靠运行所需的关键要求和注意事项。 此致, 查维拉
記事全体を表示
S32K3 DMA 逻辑链路通道 你好, 我应该如何使用DMA逻辑链路通道功能(主循环或次循环)?我使用通道 0 连接到通道 1。为什么通道 0 完成了传输并导致中断,而通道 1 没有传输任何数据? 附件是我的测试项目 BR 杰森 回复: S32K3 DMA logic link channel Jason22_0-1785726345456.png 需要检查此配置。
記事全体を表示
FS6500的故障标志清除行为 大家好, 我有一个关于 FS6500 故障标志清除行为的问题。   根据数据手册,MODE 寄存器(地址 0x15)内的 LPOOF(位 0)和 DFS(位 1)标志只能通过上电复位或寄存器读取操作清除。 然而,根据我的硬件测试:   向 MODE 寄存器写入数据还会意外地清除 LPOOF 和 DFS 故障位。   数据手册中没有说明写入操作可以清除这些状态标志。 您能否帮忙解释一下造成这种现象的根本原因?   这是硅芯片的预期行为还是未记录的副作用?   谢谢 & 此致敬礼   DEVKIT-MPC5744P FS6500 Re: Fault flag clearing behavior of FS6500 你好, 请检查您的书写说明是否正确。 在大多数软件驱动程序中,寄存器写入操作都是以读-修改-写 (RMW) 序列实现的。 如果数据手册规定读取 MODE 会清除 LPOOF/DFS,那么这些标志可能在读取阶段就已经被清除了。随后的写入操作只会造成写入操作导致清除的假象。 顺祝商祺! Peter
記事全体を表示
S32K3 SPIクロック異常低 私はSPIテストを行うためにS32K344 EVBを使用しています。私はPTB14からPTB17までのピンを持つLPSPI1ユニットをマスターとして使用し、RTD 4.0.0を使用しています。P19.SPIはモード3:CPOL=1、CPHA=1です。 Spi_SyncTransmit を呼び出した後、以下のようにオシロスコープで測定したところ、フレームが実際に送信される前にクロックピンが低くなりました。その原因は何でしょうか?どうすれば直せますか? zyt_0-1785493991563.png Re: S32K3 spi clk abnormal low こんにちは、 @zyt この動作は通常、EPSPIモジュールのリセットを実行するERR050456の最初の回避策によって引き起こされます。この状況はすでに他のThreadで議論されており、例えば [MCU S32K312]でCSラインが低くなる前に追加のSPIクロックパルスが現れる。 そのThreadで説明されているように、低パルスを解消できると予想される代替の回避策を適用できます。この回避策を有効にするには、プロジェクトに次のマクロを定義してください。 ERR_IPV_LPSPIV2_E050456_2ND_SOLUTION BR、VaneB
記事全体を表示
i.MX8MQ: Does the Boot ROM support booting from FlexSPI/QSPI NOR flash? Hello, Hardware: - i.MX8MQ (REV A0), custom board based on EVK design - QSPI NOR: Micron MT25QL256A (32MB, 3.3V, Quad connected) - BSP: Yocto Scarthgap, NXP BSP, U-Boot 2024.04 (u-boot-imx) Goal: Boot the bootloader (SPL + ATF + U-Boot) from FlexSPI NOR flash. Kernel and rootfs remain on eMMC. What works: - U-Boot (loaded to RAM via uuu SDP/SDPV) runs fine - "sf probe" detects the flash correctly: mt25ql256a, 32 MiB - U-Boot can read and write the flash reliably (verified with read-back tests after "sf protect unlock") - Image is built with IMXBOOT_TARGETS = "flash_evk_flexspi" Flash layout (verified by reading back from the chip): 0x000000: FCFB header - "qspihdr check" reports "Found boot config header in Q(F)SPI" tag = 42464346, version = 56010000 0x001000: IVT - d1 00 20 41, entry = 0x007E1000, boot_data = 0x007E0FE0, self = 0x007E0FC0 0x060000: U-Boot proper FIT (d00dfeed), matches CONFIG_SYS_SPI_U_BOOT_OFFS=0x60000 Problem: With boot switches set to QSPI/FlexSPI boot and the USB cable physically disconnected, the board does not boot. Nothing is printed on the serial console (SPL banner never appears), and the ROM falls back to serial download mode: uuu -lsusb 2:1 MX8MQ SDP: 0x1FC9 0x012B NXP FLASH BT_FUSE_SEL is not blown; boot configuration is done via GPIO boot pins. What I have already tried: - Both header formats: scripts/qspi_header (c0ffee01 tag) and scripts/fspi_header (FCFB tag). Fixed soc.mak so that flash_evk_flexspi uses fspi_header with offset 0. - Varying FCFB parameters: sflashA1Size, serialClkFreq (50MHz -> 20MHz), dataSetupTime/dataHoldTime, sflashPadType - "uuu -b qspi" (the official built-in script) - "qspihdr update safe" and "qspihdr init safe" - Erasing the flash completely vs. writing the full image: boot behaviour is essentially identical (SDP appears after ~1.6s vs ~1.8s), which suggests the ROM may not be reading the flash at all. Questions: 1. Does the i.MX8MQ Boot ROM support booting from serial NOR flash over FlexSPI at all? The Reference Manual section I have lists NAND flash and SD/MMC as boot devices, but I could not find FlexSPI/QSPI NOR listed. i.MX8MM/8MN documentation seems to describe it, but I am unsure about 8MQ. 2. If it is supported, what is the exact expected flash layout? Should the IVT be at offset 0x400 or 0x1000 when an FCFB is present at 0x0? 3. What is the correct BOOT_MODE / BOOT_CFG combination to select FlexSPI NOR boot on i.MX8MQ? 4. Are there any known errata for REV A0 silicon regarding FlexSPI boot? Thank you.
記事全体を表示
发送协议 大家好 我正在尝试弄清楚如何在 S32K311 PCB 板上实现 SENT 协议,以检测致动器的位置,因为它有一个位置传感器。由于 NXP 没有与 SENT 协议相关的块集。如果有人愿意分享,那将对我们非常有帮助。 Re: SENT Protocol 您好@ Ganesh808 如果您正在使用 S32 DS + RTD,我们的 S32 DS 示例代码提供了一个使用 flexio 实现 SENT 协议的演示。 Senlent_0-1785740424865.png 如果你使用的是 MBDT,以下是我见过的一个类似答案: https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SENT-Protocol-Support-in-S32K3-MBDT/td-p/1775025 如果您在使用 MBDT 开发项目时遇到任何问题,请下次在 MBDT 论坛中提问。这是一个专门用于回答MBDT问题的论坛。
記事全体を表示
#S32K388 S32K388 LPI2Cはデバッグモードに入ると停止します lpi2cを使用している際に、プログラムがデバッグモードで停止してしまうという状況に遭遇しました。しかし、PE接続を切断してプログラムを再起動したところ、正常に動作しました。プログラムが実行中にデバッグモードで停止した。 する ヤージュ /* マスターがデータを送信する */ Lpi2c_Ip_MasterSend(Instance); ElapsedTicks += OsIf_GetElapsed(&CurrentTicks, I2C_TIMEOUT_TYPE); }while ((Lpi2c_Ip_MasterGetTransferStatus(Instance, NULL_PTR) == LPI2C_IP_BUSY_STATUS) && (ElapsedTicks < TimeoutTicks)); この問題を解決する方法はありますか? Re: #S32K388 S32K388 LPI2C will stop when debug mode is entered こんにちは@zhangyu5454 I2Cデバッグ有効化オプションが選択されているか確認してもらえますか? MCR[DBGEN] = 1のとき、LPI2CモジュールはMCUのデバッグ中も動作を続けます。 MCR[DBGEN] = 0の場合、アプリケーションをプログラムし、デバッガを接続せずに通常通りボードを動作させた後、LPI2Cは期待通りに動作します。 BR、VaneB Re: #S32K388 S32K388 LPI2C will stop when debug mode is entered ご返信ありがとうございます。私は.mexを使ってi2cの設定をしていますが、どうやってMCR[DBGEN] =1をコントロールするように設定すればいいですか? Re: #S32K388 S32K388 LPI2C will stop when debug mode is entered こんにちは@zhangyu5454 参考までに、以下の画像を掲載しました。 VaneB_0-1786396779346.png Re: #S32K388 S32K388 LPI2C will stop when debug mode is entered こんにちは@zhangyu5454 このオプションは最新のRTDリリースに追加され、ペリフェラルツールから直接設定できるようになりました。 以前のRTDバージョンを使用しているため、アプリケーションコード内でMCR[DBGEN]を設定するのが推奨されます。 Re: #S32K388 S32K388 LPI2C will stop when debug mode is entered zhangyu5454_0-1786418199524.png ページの表示が異なっていることに気づきました。このオプションが見つかりませんでした。私のバージョンはRTD5.0です。
記事全体を表示
RW612 FLEXCOMM3/I2S3 サポートドライバー 当社では、以下の固定ハードウェア配線でRW612 FLEXCOMM3/I2S3を使用しています。 - GPIO24 = PCM6120 SDOUTからのI2Sデータ入力 - GPIO25 = PCM6120 BCLKへのI2S SCK出力 - GPIO26 = PCM6120 FSYNCへのI2S WS出力 コーデックはスレーブモードのPCM6120です。 RW612は、BCLK/WSを生成し、オーディオデータを受信するI2Sマスターとして設計されています。 確認した内容: - GPIO25/GPIO26はプレーンGPIOモードで正しく駆動可能です - クロックFLEXCOMM3 12.288 MHzのオーディオ PLLです - PCM6120とのI2C通信が正常に動作している - PCM6120レジスタ構成が受け入れられます 観察された行動: 1. kI2S_MasterSlaveNormalMasterでI2S RXとして構成されたFLEXCOMM3は、GPIO25/GPIO26でSCK/WSエッジを生成しません。 2. kI2S_MasterSlaveNormalMaster で I2S TX として構成された FLEXCOMM3 も動作しません。FIFOSTAT.TXNOTFULL=1 ですが、FIFOWR への書き込み後も TXLVL は 0 のままで、ピンに SCK/WS エッジが表示されません。 3. PCM6120はクロックの欠落を報告します(ASI_STS=0xFF、DEV_STS1=0x80)。 質問: 1.RW612 FLEXCOMM I2S RXがノーマルマスターモードでSCK/WSを外部ピンに駆動することが期待されますか? 2. 「マスタークロック生成+外部コーデックからデータ受信」というユースケースで単一のFLEXCOMMインスタンスがサポートされているのか、それともデュアルFLEXCOMMアーキテクチャ(TXマスター+RxスレーブとI2Sブリッジ)が必要か? 3.FLEXCOMM3 I2S TXマスターの場合、I2S_TxInit()、FIFOWR書き込み、およびMAINENABLE以外に、FIFO書き込みを受け入れるための追加の前提条件はありますか? 4. FLEXCOMM3のGPIO24/25/26(AONドメイン)におけるI2Sクロック出力に関して、既知の制限事項はありますか? この話題について助けてください Re: RW612 FLEXCOMM3/I2S3 Supporting driver こんにちは、 @duyhung さん。お元気でお過ごしでしょうか。 テストを行うためにFreeRTOSを使っているのか、それともZephyrを使っているのか、教えていただけますか?FRDM-RW612ボードを使用していますか? また、どのバージョン(SDKかZephyr)を使っているか、また開発の基準として例を取っているかも教えてください。 さらに、RW612(UM11865)のリファレンス・マニュアルには28.2節にI2Sペリフェラルの基本構成ガイドが含まれていますが、この一般的な手順を踏んだか確認していただけますか? Re: RW612 FLEXCOMM3/I2S3 Supporting driver こんにちは、 @RomanVR さん。 ご回答ありがとうございます。下記の説明をご覧ください。 1. RTOS 私たちは使用しています ベアメタルとFreeRTOSの両方でテストを実施しました。これらのテストにはZephyrは関与していません。すべての初期化およびI2S設定はNXP SDKsドライバで直接行います。 2. ボード 私たちは ない FRDM-RW612を使用します。私たちは カスタム開発ボード RW612ETA2Iをベースにしています。MCUは同じですが、ボードのレイアウトが異なります。 オーディオコーデック(PCM6120)は以下の固定ピンで FLEXCOMM3 / I2S3 に接続されています: 信号GPIO方向 I2Sデータ(PCM6120からのSD出力) GPIO24 入力 I2S SCK(BCLKからPCM6120へ) GPIO25 出力 I2S WS(FSYNCからPCM6120) GPIO26 出力 I2C SDA (PCM6120設定) GPIO56 (FC14) 双方向 I2C SCL(PCM6120設定) GPIO57 (FC14) 双方向 AUX_EN(PCM6120電源) GPIO54 出力 3. SDKバージョン 私たちは SDK_2.x_RD-RW612-BGA、バージョン25.03.00 を使用しています。 4. 基本例 私たちは rdrw612bga_i2s_dma_record_playback 参考例として。この例では FLEXCOMM1(TXマスター)+ FLEXCOMM0(RXスレーブ)+ I2Sブリッジ。動作確認済みです。 しかし、ハードウェアの制約により、 シングルFLEXCOMM(FC3のみ) PCM6120へのI2Sリンク全体について。PCM6120はスレーブモードで動作する必要があります。なぜなら、BCLKのソースとなる外部クロックがないからです。FC3を次のように構成しようと試みました kI2S_MasterSlaveNormalMaster データを受信しながらSCK/WSを生成するようにする。 5. UM11865 セクション 28.2 – I2S 設定手順 セクション28.2 UM11865確認し、6つの構成すべてを確認しています 手順は以下の通りです: ステップ1:Flexcommを有効にし、CLOCK_EnableClock+RESET + CLOCK_AttachClk ステップ2:FIFOXの設定(FIFOCFG=0x35、ENABLETX=1、SIZE=8) ステップ3:IO_MUX_SetPinMux(IO_MUX_FC3_I2S)でI2Sピンを設定し、AON MCI_IOMUX有効化 ステップ4:レート設定(CFG1 MSTSLVCFG=0b11=NormalMaster、DIV=3 → BCLK=3.072MHz) ステップ6:FIFOCFGでDMAを有効にする すべての手順に従ったにもかかわらず、以下のことが観察されました。 - GPIO25/GPIO26にSCK/WSエッジがない - TX FIFOがデータを受け付けない: TXNOTFULL=1だが、FIFOWR書き込み後もTXLVLは0のまま セクション28.2のステップ4には「コントローラの動作に関しては、クロックが I2S レート」ですが、PERSEL=I2S_RECEIVE が NormalMasterはパッドにSCK/WSを駆動する予定です。 もう少し詳しく教えていただけますか: 1.PERSEL=I2S_RECEIVE (0b101) は SCK/WS を出力として駆動できますか? MSTSLVCFG=NormalMaster の場合? 2. PERSEL=I2S_TRANSMITを指定してFIFOWRに書き込みを行った後、TXLVLが0のままになるのはなぜですか? FIFOWR書き込みを受け入れる前にMAINENABLEが必要ですか? 6.観察された問題点 – 具体的な質問 上記の設定がすべて完了したら、 GPIO25とGPIO26はゼロエッジを生成します。PCM6120 はクロックが欠落していることを報告します (ASI_STS = 0xFF、 DEV_STS1 = 0x80)。 さらに診断を実行しました。FC3を次のように構成しました。 I2S TXマスター (RXマスターの代わりに)そして、 FIFOWRへの書き込みはTXLVLをインクリメントしない — FIFOSTATは 0x30 (TXNOTFULL=1、TXLVL=0)私たちが書く単語の数に関係なく。 TXマスタプローブ後の関連レジスタの状態:   CFG1 = 0x17003C (MSTSLVCFG=3 = ノーマルマスター、DATALEN=24、MAINENABLE=0) DIV = 3 (分周器=4、BCLK = 12.288MHz / 4 = 3.072MHz) FIFOCFG = 0x35 (ENABLETX=1、TXI2SE0=1) FIFOSTAT = 0x30 (書き込み後、TXNOTFULL=1、TXLVL=0) MAINENABLE=1 の後: STAT = 0x5 (BUSY=1、LR=1 — クロックロジックが内部で動作中) GPIO25/GPIO26のSCK/WSエッジ: 0 NXPへの具体的な質問: FLEXCOMM3 I2Sが kI2S_MasterSlaveNormalMaster (TXまたはRX)として設定されている場合、RW612上でSCK/WSがGPIO25/GPIO26(AONドメイン)に駆動され ない ことが期待される動作でしょうか?STATではペリフェラルが内部で動作していると示されていてもです。 あるいは、単一のFLEXCOMMトポロジー(1つのFCがクロックマスターとRXデータ受信機の両方として)はRW612 I2Sハードウェアで サポートされている のでしょうか?それともRW612は常に2つの別々のFlexCommインスタンス(1つのTXマスター+1つのI2Sブリッジ経由のRXスレーブ)を必要とするのでしょうか? よろしくお願いします。 Re: RW612 FLEXCOMM3/I2S3 Supporting driver こんにちは、 @duyhung さん。セットアップの詳細情報を提供していただきありがとうございます。 参考マニュアル(RM00278)に基づき、I2Sインスタンスが通常のマスターモードで設定されている場合、SCKおよびWS信号は生成されるものの、データの送受信はしないように設定されており、これはCFG1[MSTSLVCFG]レジスタの31.1.RM00278 2節に詳述されています。I2Sドライバーでは、この構成は「I2S_TxInit(;「関数」は、使用中のFlexcommインスタンスと送信機インスタンスとしてのFIFOも設定します。 上記の情報に基づくと、共有信号を使用したダブルFlexcommトポロジー(既にテストした例で行われているように)が推奨されます。これは、 UM11865のセクション3.6.2.1.1の図9に示されている同様の例で実証されています。 RomanVR_0-1785886440838.png また、I2SとDMA再生のサンプルコードをベースにしている場合、そのサンプルコードに加えた変更点について教えていただけますでしょうか?
記事全体を表示
Is .exe the usual package format? Hi, I'm the developer of CAN/UART bootloaders for some microcontroller families. I want to figure out whether it makes sense to extend the range of supported microcontrollers and to add support for some NXP devices. So far, I never worked with NXP microcontrollers. I was a little bit surprised that when I search for the term "bootloader" here in the forums and on the NXP website, I find a lot of windows executables to be downloaded. When I add the term "bootloader" to the search bar on the main web site, the second hit is even a direct link to a crypto currency web side. When I want to have a look at the "Unified bootloader Demo", do I really have to have a Windows PC and have to download and execute an .exe file? best regards Torsten
記事全体を表示
KW45B41Z-EVK: BLE clock source and internal clock path for the BLE radio to get 2.4GHz Hello NXP Team, I am working with the KW45B41Z-EVK  and would like to understand the clock architecture used by the BLE subsystem. I have gone through the KW45B41 Reference Manual, KW45B41Z-EVK User Manual, and the SDK clock initialization code, but I could not find a detailed description of the BLE clock source and its internal clock path. Could you please clarify the following: What is the primary clock source used by the BLE (for example, SOSC, FRO, PLL, or another clock source)? What is the complete clock path from the oscillator to the BLE radio to get 2.4GHz? Specifically, which clock modules, multiplexers, dividers, or PLLs are involved before the clock reaches the BLE subsystem? Does the BLE subsystem use different clock sources during advertising, scanning, connected mode, or sleep mode? Is there a clock tree diagram or application note that illustrates the BLE clock architecture for the KW45B41 device? Which sections of the Reference Manual or any other NXP documentation describe this in detail? If possible, a block diagram of the BLE clock path or references to the relevant documentation would be greatly appreciated. Thank you for your support. Best regards, Re: KW45B41Z-EVK: BLE clock source and internal clock path for the BLE radio to get 2.4GHz Hello, Hope you are doing well! The primary clock source for the BLE subsystem is the OSC-RF (RF Oscillator), in conjunction with an external crystal or resonator, generates a reference clock for the KW45 Radio. It supports either 26 MHz or 32 MHz and operates in a completely separate power domain from the main CPU clock domain, serving exclusively as the reference clock for the Radio subsystem. The KW45 Reference Manual includes two figures that might be particularly helpful to visualize the BLE clock architecture: Figure 68. Device clock sources and trees Figure 222. Radio Clocking As described in section 55.4.4 of the RM, the radio uses three clock sources: the Radio XO (OSC-RF), the FRO-192M, and the SOC 32.768 kHz from the CCM32K module. During active operating mode (including advertising, scanning, and connected), all three clock domains are simultaneously active. The OSC-RF and its XCVR PLL are running to support radio TX and RX (this is managed internally by the NBU firmware), the FRO-192M is clocking the NBU CM3 core for Link Layer execution, and the 32K_CLK is running in the background to track connection and advertising intervals. For low-power mode behavior, Table 209 describes how each clock module behaves across the different power states. It might also be helpful to use the Clocks Tab from MCUXpresso Config Tools. There, you can visualize the clock sources routed for each domain, see the interactive clock tree, and change clock sources as needed. It also generates the clock initialization source code, which can be a helpful reference for understanding how each clock domain is configured at startup. Best regards, Sofia.
記事全体を表示
SENT Protocol Hi community I am trying to figure out how to implement SENT protocol on S32K311 PCB board for position detection of Actuator as it has position sensor. As NXP doesn't have Block set related to SENT protocol. It will be a great help if someone is willing to share. Re: SENT Protocol Hi@Ganesh808 If you are using S32 DS + RTD, our S32 DS example code provides a demo of implementing the SENT protocol using flexio. Senlent_0-1785740424865.png If you are using MBDT, here's a similar answer I've seen: https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SENT-Protocol-Support-in-S32K3-MBDT/td-p/1775025 If you are developing a project using MBDT and encounter any problems, please ask in the MBDT forum next time. This is a dedicated forum for answering MBDT questions.
記事全体を表示
#S32K388 S32K388 LPI2C will stop when debug mode is entered When using lpi2c, I encountered a situation where the program got stuck in debug mode. However, when I disconnected the PE connection and restarted the program, it worked properly. The program got stuck in debug mode during runtime. do { /* Master send data */ Lpi2c_Ip_MasterSend(Instance); ElapsedTicks += OsIf_GetElapsed(&CurrentTicks, I2C_TIMEOUT_TYPE); }while ((Lpi2c_Ip_MasterGetTransferStatus(Instance, NULL_PTR) == LPI2C_IP_BUSY_STATUS) && (ElapsedTicks < TimeoutTicks)); Is there any way to solve this problem? Re: #S32K388 S32K388 LPI2C will stop when debug mode is entered Hi @zhangyu5454  Could you please check if the I2C Debug Enable option is selected? When MCR[DBGEN] = 1, the LPI2C module continues to work while the MCU is being debugged. When MCR[DBGEN] = 0, after programming the application and running the board normally (without a debugger attached), the LPI2C should work as expected. BR, VaneB Re: #S32K388 S32K388 LPI2C will stop when debug mode is entered Hi @zhangyu5454  I have included the image below for reference: VaneB_0-1786396779346.png Re: #S32K388 S32K388 LPI2C will stop when debug mode is entered Thanks for your reply.I use .mex to configure i2c, how can I set it to control MCR[DBGEN] =1 Re: #S32K388 S32K388 LPI2C will stop when debug mode is entered Hi @zhangyu5454  This option has been added to the latest RTD release and can now be configured directly through the Peripherals Tool.  As you are using an earlier RTD version, configuring MCR[DBGEN] in the application code would be the recommended approach. Re: #S32K388 S32K388 LPI2C will stop when debug mode is entered zhangyu5454_0-1786418199524.png I noticed that our pages display differently, I couldn't find this option, note that my version is RTD5.0
記事全体を表示
.exe 是常用的代码包,软件包格式吗? 您好, 我是某些微控制器系列的 CAN/UART 引导加载程序的开发者。我想弄清楚扩展支持的微控制器范围并增加对一些 NXP 设备的支持是否有意义。到目前为止,我还没有接触过恩智浦(NXP)的微控制器。 令我有点惊讶的是,当我在论坛和 NXP 网站上搜索“引导加载程序”一词时,我发现有很多 Windows 可执行文件可供下载。当我在主网站的搜索栏中输入“bootloader”一词时,第二个搜索结果竟然是指向加密货币网站的直接链接。 如果我想查看“统一引导加载程序演示”,真的必须拥有一台 Windows 电脑,并且下载并运行一个 .exe 文件吗?文件? 顺祝商祺! 托斯滕
記事全体を表示
Fault flag clearing behavior of FS6500 Hi team, I have a question regarding the fault flag clearing behavior of FS6500.   According to the datasheet, the LPOOF (bit0) and DFS (bit1) flags inside the MODE register (address 0x15) shall be cleared only by Power-on reset or register read operation. However, from my hardware test:   Writing to the MODE register also clears LPOOF and DFS fault bits unexpectedly.   There is no description in the datasheet mentioning that write access can clear these status flags. Could you help explain the root cause for this phenomenon?   Is this intended silicon behavior or undocumented side effect?   Thanks & Best regards   DEVKIT-MPC5744P FS6500  Re: Fault flag clearing behavior of FS6500 Hello, Check you write instruction. In most software drivers, a register write is implemented as a read-modify-write (RMW) sequence. If the datasheet specifies that reading MODE clears LPOOF/DFS, then the flags may already be cleared during the read phase. The subsequent write merely creates the impression that the write operation caused the clearing. Best regards, Peter
記事全体を表示
KW45B41Z-EVK:BLE 时钟源和内部时钟路径,用于 BLE 无线电模块获取 2.4GHz 频段。 您好,NXP团队, 我正在使用 KW45B41Z-EVK,想了解BLE 子系统使用的时钟架构。 我已查阅了KW45B41 参考手册、 KW45B41Z-EVK 用户手册和 SDK 时钟初始化代码,但仍然找不到有关 BLE 时钟源及其内部时钟路径的详细说明。 请您澄清以下问题: BLE 使用的主要时钟源是什么(例如,SOSC、FRO、PLL 或其他时钟源)? 要获得 2.4GHz 的频率,从振荡器到 BLE 无线电的完整时钟路径是什么?具体来说,在时钟信号到达 BLE 子系统之前,涉及哪些时钟模块、多路复用器、分频器或锁相环? BLE 子系统在广播模式、扫描模式、连接模式或睡眠模式下是否使用不同的时钟源? 是否有时钟树图或应用笔记说明 KW45B41 设备的 BLE 时钟架构? 参考手册或其他恩智浦文档的哪些章节对此进行了详细描述? 如果可以,请提供 BLE 时钟路径的框图或相关文档的参考,引用,我们将不胜感激。 感谢您的支持。 顺祝商祺! Re: KW45B41Z-EVK: BLE clock source and internal clock path for the BLE radio to get 2.4GHz 你好, 希望你一切都好! BLE 子系统的主要时钟源是 OSC-RF(射频振荡器),它与外部晶体或谐振器结合使用,为 KW45 无线电生成参考时钟。它支持 26 MHz 或 32 MHz,并且在与主 CPU 时钟域完全独立的功率域中运行,专门用作无线电子系统的参考时钟。 KW45 参考手册中包含两张图,可能对理解 BLE 时钟架构特别有帮助: 图 68。设备时钟源和树 图 222。无线电时钟 如 RM 第 55.4.4 节所述,该无线电使用三个时钟源:无线电 XO (OSC-RF)、FRO-192M 和来自 CCM32K 模块的 SOC 32.768 kHz。在活动运行模式(包括广播、扫描和连接)期间,所有三个时钟域同时处于活动状态。OSC-RF 及其 XCVR PLL 正在运行以支持无线电 TX 和 RX(这由 NBU 固件在内部管理),FRO-192M 正在为 NBU CM3 内核提供时钟以执行链路层,而 32K_CLK 正在后台运行以跟踪连接和广播间隔。 对于低功耗模式行为,表 209 描述了每个时钟模块在不同功率状态下的行为。 使用MCUXpresso 配置工具中的“时钟”选项卡也可能有所帮助。在那里,您可以可视化每个功能域的时钟源路由,查看交互式时钟树,并根据需要更改时钟源。它还会生成时钟初始化源代码,这对于了解启动时如何配置每个时钟域来说是一个有用的参考。 此致, 索菲亚。
記事全体を表示
FRDM-MX95 PRO software packages? I was wondering what OS software packages will be available for the MX95 PRO?  Will Android AAOS be available for it as a demo image?  Is there anyone we can communicate with about what will specifically be available? Re: FRDM-MX95 PRO software packages? currently, only linux 6.18.20_2.0.0 demo images for imx95 frdm pro Embedded Linux for i.MX Applications Processors | NXP Semiconductors you can download demo images from the link above, for android, I checked the board file, the latest android 16.0.0_2.0.0 is based on kernel 6.18.20_2.0.0, so should support frdm pro, but this version android hasn't verified on this board yet, only 19x19 evk and 15x15 frdm joanxie_0-1785570929815.png Re: FRDM-MX95 PRO software packages? Any news if we will get android automotive on the frdm-mx95 or would we have to upgrade to frdm-mx95 pro version? Re: FRDM-MX95 PRO software packages? let me confirm auto android team again, the owner is on vacation, and come back office in next week, any update I will let you know it Re: FRDM-MX95 PRO software packages? refer to the link as below https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/android-automotive-os-for-i-mx-applications-processors:ANDROID-AUTO auto android demo images are only for imx95 19x19 evk Re: FRDM-MX95 PRO software packages? Are there any plans for android or AAOS?  Seems weird that the FRDM MX95 Pro wouldn't have an AAOS version especially since the Evaluation board 19x19 has been discontinued and benched.  Is there a reason the pro being a 19x19 processor wouldn't work as the evaluation board. Re: FRDM-MX95 PRO software packages? Thanks. There seems to be a genuine lack of Android automotive support. The frdm has a lot of potential but without additional support from nxp we are left on our own. From my understanding the evk has been dropped from support from toradex and discontinued. With the frdm pro having the same hardware there should be some support. We need the BSP which would make building the images a lot easier. Re: FRDM-MX95 PRO software packages? Is there any way i can contact them to ask a question? Or could they give us some instructions on how to compile the new frdm pro board, maybe they can provide the board package file to make it easier for us to compile? Re: FRDM-MX95 PRO software packages? unfortunately, got information from auto android team that they haven't any plan to support any imx95 frdm board Re: FRDM-MX95 PRO software packages? since they don't have plan to support this yet, I don't think they can offer any packages to build
記事全体を表示
KW45B41Z-EVK: BLEクロックソースおよびBLE無線用の2.4GHz内部クロックパス NXPチームの皆様、こんにちは。 私はKW45B41Z-EVKを使用しており、 BLEサブシステムで使用されているクロックアーキテクチャについて理解したいと考えています。 KW45B41のリファレンス・マニュアル、KW45B41Z-EVKユーザーマニュアル、SDKsのクロック初期化コードを調べましたが、BLEクロックソースとその内部クロック経路の詳細な説明は見つかりませんでした。 以下の点を明確にしていただけますか? BLEで使用される主要なクロックソースは何ですか(例えば、SOSC、FRO、PLL、または別のクロックソースなど)? 発振器からBLE無線機まで、2.4GHzを実現するための完全なクロックパスはどのようなものですか?具体的には、クロックがBLEサブシステムに到達する前に、どのクロックモジュール、マルチプレクサ、分周器、またはPLLが関与しているのでしょうか? BLEサブシステムは広告、スキャン、コネクテッドモード、またはスリープモードで異なるクロックソースを使っていますか? KW45B41デバイスのBLEクロックアーキテクチャを示すクロックツリー図やアプリケーションノートはありますか? リファレンス・マニュアルや他のNXPドキュメントのどのセクションでこの点が詳しく説明されていますか? 可能であれば、BLEクロックパスのブロック図や関連ドキュメントの参照をぜひ提供していただけると助かります。 再開まで今しばらくお待ちください。 よろしくお願いいたします。 Re: KW45B41Z-EVK: BLE clock source and internal clock path for the BLE radio to get 2.4GHz こんにちは、 あなたの調子が良いといいのですが! BLEサブシステムの主要なクロック源はOSC-RF(RF オシレーター)であり、外部クリスタルや共振器と連携してKW45無線機の基準クロックを生成します。26 MHzまたは32 MHzのいずれかに対応し、CPUのメインクロックドメインとは完全に別の電力領域で動作し、無線サブシステムのリファレンスクロックとして専ら機能します。 KW45リファレンスマニュアルには、BLEクロックアーキテクチャを視覚化するのに特に役立つ2つの図が含まれています。 図68。デバイスのクロックソースとツリー 図222。ラジオ時計 RMの55.4.4節に記載されているように、無線機は3つのクロックソースを使用しています:Radio XO(OSC-RF)、FRO-192M、そしてCCM32KモジュールからのSOC 32.768 kHzです。アクティブ動作モード(広告、スキャン、コネクテッドを含む)では、3つのクロックドメインすべてが同時にアクティブです。OSC-RFとそのXCVR PLLは無線TXおよびRXをサポートするために動作しており(これはNBUファームウェアによって内部的に管理)、FRO-192Mはリンク層実行のためにNBU CM3コアをクロックし、32K_CLKはバックグラウンドで接続および広告間隔を追跡しています。 低電力モードの動作については、表209に各クロックモジュールが異なる電力状態においてどのように動作するかを示します。 MCUXpresso Config Toolsの Clocks タブを使用すると役立つ場合もあります。そこでは、各ドメインごとにルーティングされたクロックソースを可視化し、インタラクティブなクロックツリーを確認し、必要に応じてクロックソースを変更できます。また、クロックの初期化ソースコードを生成し、各クロックドメインが起動時にどのように設定されているかを理解するのに役立つ参考資料となります。 よろしくお願いします、 ソフィア。
記事全体を表示
SENTプロトコル こんにちは、コミュニティの皆さん。 位置センサが付いているアクチュエータの位置検出のためにS32K311基板上でSENTプロトコルを実装する方法を模索しています。NXPはSENTプロトコルに関連するブロックセットを持っていません。どなたか情報を共有していただけると大変助かります。 Re: SENT Protocol こんにちは、@ Ganesh808 S32 DS + RTD を使用している場合は、弊社の S32 DS サンプルコードに flexio を使用して SENT プロトコルを実装するデモが含まれています。 Senlent_0-1785740424865.png MBDTを使用している場合、以下のような同様の回答を見たことがあります。 https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SENT-Protocol-Support-in-S32K3-MBDT/td-p/1775025 MBDTを使用してプロジェクトを開発していて問題が発生した場合は、次回からはMBDTフォーラムで質問してください。ここはMBDTに関する質問に答えるための専用フォーラムです。
記事全体を表示