Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
KW45 大家好, 我们在设计一款使用 KW45 的产品时,发现它支持 LPSPI,但我们想与 QSPI 闪存 W25Q128JWFIQ TR 进行交互。 它支持吗? 如果需要,需要进行哪些硬件和软件配置?所有可能的配置方案是什么? 通信与控制(I3C | I2C | SPI | FlexCAN | 以太网 | FlexIO) Re: kw45 你好, @TejasN2255 感谢您向我们提交案件。 是的,它支持。 您可以使用 KW45与 QSPI 闪存 W25Q128JWFIQ TR 进行交互。 但是由于 KW45 没有FlexSPI 也没有就地执行 (XIP) 路径,所以你只能通过其LPSPI外设与 W25Q128JWFIQ 通信。 使用时,需要注意供电电压。W25Q128JWFIQ 的标称电压为 1.8 V(1.7–1.95 V)。V)。KW45 的 I/O 轨供电给 LPSPI1(EVK 上的 VDD_MEM)必须设置为 1.8 V;不要将其连接到 3.3 V 轨。 您可以参考我们的KW45B41Z-EVK_SCH原理图第 5 页,它与 AT25XE161D-MAHN-T 有类似的连接,但区别在于电源电压。 此致, Christine。
View full article
MIMRT700でSDカードを使用してサンプルを実行するとエラーが発生しますか? SDK for MIMRT700でSDCardサンプルを実行したときにこのエラーが出ました。 nnxxpp_0-1783509006478.png 現在、私はカードをフォーマットしていません。調査の結果、実行前にカードをフォーマットする必要はないことがわかりました。この問題を解決するにはどうすればいいですか? Re: Error when runnning sample with SDcard in MIMRT700? @Habib_MS ご回答ありがとうございます。PCでSDカードをフォーマットする場合、どのフォーマットを選択すればよいですか?SDカードに多くのデータがあるので、フォーマットしたいと思っています。 もう一つ質問があります。現在、私はサンプルtflm_cifar10_cm33_core0を使用しており、このサンプルtflm_cifar10_cm33_core0でSDカードを使用してSDカードからデータをロードしたいと考えています。JP65を1-2に設定したら、tflm_cifar10_cm33_core0実行できますか? Re: Error when runnning sample with SDcard in MIMRT700? こんにちは、 @nnxxpp。 SDK v26.06の例「mimxrt700evk_sdcard_fatfs_cm33_core0」をテストしましたが、SDカードがフォーマットされていても私の側では正しく動作しています。 JP65が1-2に設定されているか確認してもらえますか?EVKのデフォルト設定は2-3です。 また、サンプルのdocフォルダにあるexample_board_readmeファイルで推奨されているSDカードのいずれかを使用してテストしてください。 BR ハビブ Re: Error when runnning sample with SDcard in MIMRT700? こんにちは@nnxxpp さん、 この例では、次の図に示すように、main関数から実行されるf_mkfs()関数を呼び出すことで、SDカード上にFATファイルシステムを作成します。 Habib_MS_2-1783618445626.png FF_USE_MKFS マクロは ffconf.h で有効になっています。これにより、アプリケーションは必要に応じてファイルシステムを作成できます。f_mkfs()に関する追加情報はこの ページでご覧いただけます。したがって、このサンプルはファイルシステム自体を作成できるため、サンプルを実行する前にSDカードを特定の構成で事前にフォーマットする必要はありません。 JP65に関してですが、tflm_cifar10_cm33_core0のサンプルは、JP65を1~2に設定すれば問題なく動作するはずです。RT700-EVKの回路図によると、JP65はマルチプレクサの出力選択のみを制御するものであり、次の図に示すように、この例で使用される機能には影響を与えません。 Habib_MS_0-1783618290501.png BR ハビブ Re: Error when runnning sample with SDcard in MIMRT700? @Habib_MS 詳しい説明をありがとうございました。以前よりもずっと理解が深まった。 また、いくつかのSDカードも確認し、そのうちの1枚(Sandisk 256GB)が動作し、サンプルを実行sdcard_fatfsきました。 はい、おっしゃる通りJP65を1-2に設定したら、eqi tflmサンプルを正常に実行できました。 Re: Error when runnning sample with SDcard in MIMRT700? こんにちは@nnxxpp さん、 両方の例が正常に動作していると聞いて安心しました。 この質問は元の問題とは別のものなので、新しいコミュニティ投稿を作成してもらえますか?遠慮なく私をタグ付けしてください。喜んで引き続きお手伝いさせていただきます。 BR ハビブ Re: Error when runnning sample with SDcard in MIMRT700? @Habib_MS これはsdcard_fatfsのメモリ構成です。このメモリ構成でサンプルを実行できます。 nnxxpp_0-1784010132685.png しかし、下の画像のようにメモリ構成を変更したところ(このNPU tfliteモデルの構成です。SDカードを使用しない場合は問題ありません。 nnxxpp_1-1784010201856.png デバッグ中にエラーが発生しました。原因はメモリ構成にあるようです。 nnxxpp_2-1784010342870.png この問題を解決するにはどうすればいいですか?ありがとう。 Re: Error when runnning sample with SDcard in MIMRT700? はい。ありがとうございます。原因はメモリ構成にあるのではないことが分かりました。それは、SDカードからデータを読み込む際のサイズ設定を誤っていたためです。
View full article
使用SD卡在MIMRT700中运行示例时出错? 我在运行 MIMRT700 SDK 中的 SD 卡示例时遇到了这个错误。 nnxxpp_0-1783509006478.png 目前,我还没有格式化我的存储卡。经调查,运行前无需格式化存储卡。我应该如何解决这个问题? Re: Error when runnning sample with SDcard in MIMRT700? @Habib_MS 感谢您的回复。如果我想在电脑上格式化SD卡,我应该格式化哪种格式的SD卡?我的SD卡里有很多数据,所以我想格式化它。 我还有另一个问题。目前,我正在使用示例tflm_cifar10_cm33_core0 ,我想使用 SD 卡配合示例tflm_cifar10_cm33_core0从 SD 卡加载数据。如果我将JP65 设置为 1-2,是否可以运行tflm_cifar10_cm33_core0? Re: Error when runnning sample with SDcard in MIMRT700? 你好@nnxxpp , 我测试了 SDK v26.06 示例“mimxrt700evk_sdcard_fatfs_cm33_core0”,无论 SD 卡是否格式化,它在我的机器上运行正常。 请确认 JP65 是否设置为 1-2?EVK 的默认配置为 2-3。 另外,请使用示例 doc 文件夹中的 example_board_readme 文件中推荐的 SD 卡之一进行测试。 BR 哈比卜 Re: Error when runnning sample with SDcard in MIMRT700? 你好@nnxxpp , 该示例通过调用 f_mkfs() 函数在 SD 卡上创建一个 FAT 文件系统,该函数从 main 函数执行,如下图所示: Habib_MS_2-1783618445626.png ffconf.h 中启用了 FF_USE_MKFS 宏。这样,应用程序就可以在需要时创建文件系统。您可以在此页面上找到有关 f_mkfs() 的更多信息。因此,在运行示例之前,无需预先使用特定配置格式化 SD 卡,因为示例能够自行创建文件系统。 关于 JP65,当 JP65 设置为 1-2 时,tflm_cifar10_cm33_core0 示例应该可以正常运行。根据RT700-EVK 原理图,JP65 仅控制多路复用器的输出选择,并不影响本示例使用的功能,如下图所示: Habib_MS_0-1783618290501.png BR 哈比卜 Re: Error when runnning sample with SDcard in MIMRT700? @Habib_MS 感谢您的详细解释。我理解得更多了。 我还检查了我的几张 SD 卡,发现其中一张(SanDisk 256GB)可以正常工作,并且我可以运行 sdcard_fatfs 示例。 是的,正如您所说,将 JP65 设置为 1-2 后,我就可以成功运行 eqi tflm sample 了。 Re: Error when runnning sample with SDcard in MIMRT700? 你好@nnxxpp , 很高兴听到这两个例子都运行成功。 由于这个问题与原问题无关,请您为此创建一个新的社区帖子好吗?欢迎随时标记我,我将很乐意继续为您提供帮助。 BR 哈比卜 Re: Error when runnning sample with SDcard in MIMRT700? @Habib_MS 这是 sdcard_fatfs 的内存配置。我可以用这种内存配置运行示例程序。 nnxxpp_0-1784010132685.png 但是当我按照下图所示更改内存配置时(此配置适用于 NPU tflite 型号)。不使用SD卡时没问题) nnxxpp_1-1784010201856.png 调试时出现错误。原因似乎出在内存配置上。 nnxxpp_2-1784010342870.png 如何解决这个问题?谢谢。 Re: Error when runnning sample with SDcard in MIMRT700? 是的,谢谢。我发现原因并非内存配置问题。正是由于这个原因,我错误地配置了从SD卡加载数据的大小。
View full article
Edgefast Open not available on SDK Since SDK version 26.09.00, EdgeFast Bluetooth PAL will be deprecated, I wanna start to test and switch to new EdgeFast Open. As stated in the documentation: https://mcuxpresso.nxp.com/mcuxsdk/latest/html/middleware/edgefast_open/docs/MCUXSDKEFOPENUG/topics/demo.html#run-a-demo-application-using-mcuxpresso-ide It seems possible to test the new library using the MCUXPresso IDE, so I downloaded the last 26.06 SDK for RT685, RT1060, and RT1170 from the MCUXpresso SDK Builder and tried importing an example, but I couldn't find any examples that use the "open" library. It appears that only the PAL version is included in that SDK. I also tested with MCUXPresso for VSC, downloading the repository from GitHub. I see the library in the source and manifest files, but it's not included in any of the board examples. How can I try to test the new EdgeFast library? Thanks in advance. Re: Edgefast Open not available on SDK I started right there. The problem is: - The SDK generated for MCUXPresso contains no trace of the library or the examples. - The library and examples are present on GitHub. I cloned the repo and can see the files, but it's still not possible to import an example that uses this library. Re: Edgefast Open not available on SDK HI, Please take a look at the following directory of the mcux SDK mcuxsdk\middleware\edgefast_open. Regards, Daniel. Re: Edgefast Open not available on SDK You will need to get the SDK from the repo. Not from the SDK builder. Then, you can build the example as follows: C:\mcux_26_06\mcuxsdk\mcuxsdk>west build -b evkbmimxrt1170 middleware/edgefast_open/examples/peripheral_ht --build-dir build_peripheral_ht --pristine -- -Dcore_id=cm7 Then to flash it: C:\mcux_26_06\mcuxsdk\mcuxsdk>west flash --build-dir build_peripheral_ht Output: BLE Peripheral HT demo start... Bluetooth initialized Advertising successfully started Regards, Daniel.
View full article
KW45 チームの皆さん、こんにちは。 私たちはKW45を使って製品を設計していて、LPSPIをサポートしているのを見ましたが、TR W25Q128JWFIQ QSPIフラッシュとやり取りしたいと考えていました。 サポートはできますか? もしそうなら、どんなハードウェアやソフトウェアの設定が必要か、 通信・制御(I3C |I2C |SPI |FlexCAN |イーサネット |FlexIO) Re: kw45 こんにちは、 @TejasN2255 私たちにCASEを作ってくれてありがとう。 はい、サポートしています。 KW45を使ってQSPIフラッシュW25Q128JWFIQ TRと操作できます。 しかし、KW45には FlexSPIがなく、実行インプレイス(XIP)パスもないため、W25Q128JWFIQと通信できるのは LPSPI 周辺機器でしかできませんでした。 使用する際には、電源電圧に注意する必要があります。W25Q128JWFIQの公称電圧は1.8V(1.7~1.95V)です。V).KW45のLPSPI1(EVKのVDD_MEM)に供給されるI/Oレールは1.8Vに設定する必要があります。3.3Vレールに接続しないでください。 KW45B41Z-EVK_SCH回路図の5ページを参照してください。AT25XE161D-MAHN-Tと似た接続がありますが、違いは電源電圧です。 よろしくお願いします、 Christine。
View full article
Error when runnning sample with SDcard in MIMRT700? I got this error when running SDCard sample in SDK for MIMRT700. nnxxpp_0-1783509006478.png Currently, I did not format my card. I investigated that we do not need to format card before running. What should I do to solve this problem? Re: Error when runnning sample with SDcard in MIMRT700? @Habib_MS  Thank you for your response. If I want to format Sdcard on PC, which format of SDcard I need to format? I have many data on my sdcard, so I want to format it. I have the other question. Currently, I am using the sample tflm_cifar10_cm33_core0  and I want to use SDcard with the sample tflm_cifar10_cm33_core0  to load data from sdcard. If I set JP65 to 1-2, whether I can run tflm_cifar10_cm33_core0? Re: Error when runnning sample with SDcard in MIMRT700? Hello @nnxxpp, I tested the SDK v26.06 example "mimxrt700evk_sdcard_fatfs_cm33_core0" and it runs correctly on my side, regardless of whether the SD card is formatted. Could you please verify that JP65 is set to 1-2? The default EVK configuration is 2-3. Also, please test with one of the SD cards recommended in the example_board_readme file located in the example's doc folder. BR Habib Re: Error when runnning sample with SDcard in MIMRT700? Hello @nnxxpp, The example creates a FAT file system on the SD card by calling the f_mkfs() function, which is executed from main, as shown in the following image: Habib_MS_2-1783618445626.png The FF_USE_MKFS macro is enabled in ffconf.h, which allows the application to create the file system when needed. You can find additional information about f_mkfs() on this page. Therefore, the SD card does not need to be pre-formatted with a specific configuration before running the example, since the example is able to create the file system itself. Regarding JP65, the tflm_cifar10_cm33_core0 example should run without issues when JP65 is set to 1-2. According to the RT700-EVK schematic, JP65 only controls the output selection of a multiplexer and does not affect the functionality used by this example, as shown in the following image: Habib_MS_0-1783618290501.png BR Habib Re: Error when runnning sample with SDcard in MIMRT700? @Habib_MS  Thank you for deep explanation. I understood much more. I also check my several SDcards and I found that one of them works (Sandisk 256GB) and I could run sdcard_fatfs sample. Yes, as you mention, after setting JP65 to 1-2, I could run eqi tflm sample successfully. Re: Error when runnning sample with SDcard in MIMRT700? @Habib_MS  This is the memory configuration of sdcard_fatfs. I could run sample with this memory configuration. nnxxpp_0-1784010132685.png But when I changed the memory configuration as below image (this configuration for NPU tflite model. It is ok when not using sdcard) nnxxpp_1-1784010201856.png I got error when debugging. The reason seems from memory configuration. nnxxpp_2-1784010342870.png How to fix this problem? Thank you. Re: Error when runnning sample with SDcard in MIMRT700? Hello @nnxxpp, I am glad to hear both examples are running successfully. As this question is separate from the original issue, could you please create a new community post for it? Feel free to tag me and I will be happy to continue assisting you. BR Habib Re: Error when runnning sample with SDcard in MIMRT700? Yes. Thank you. I found that the reason is not from memory configuration. It is from that I incorrectly config size to load data from sdcard.
View full article
i.MX 8M Plus 网络安全参考手册 你好,恩智浦社区、 我正在搜索 i.MX 8M Plus 网络安全参考手册,以帮助开发来自 Toradex 的 Verdin IMX8MP SoM 的安全启动。我在 NXP.com 上提交了申请,但一直没有回音。 是否有其他途径获得该手册? 谢谢! Re: i.MX 8M Plus Security Reference Manual 你好,豪尔赫、 感谢您的快速回复! 我已经收到 i.MX 8M 迷你应用处理器的安全参考手册。我使用的是 i.MX 8M Plus 处理器,与 Mini 有什么区别吗? 谢谢! Re: i.MX 8M Plus Security Reference Manual 你好 我们无法通过社区提供机密信息,您将在票证中收到 i.MX8MP 的网络安全参考手册,也可以在这里申请。 顺祝商祺! Re: i.MX 8M Plus Security Reference Manual 你好 不一样,可能是混淆了。 请在票据中核对。 问候。 Re: i.MX 8M Plus Security Reference Manual 谢谢! Re: i.MX 8M Plus Security Reference Manual 您提供的用于请求 i.MX8M Plus 安全参考手册的链接显示“页面未找到”。请问能否提供一下当前链接? Re: i.MX 8M Plus Security Reference Manual 你好 我们传输安全文件的方式发生了改变。 现在,您需要在处理器网页“文档”->“安全”中请求访问权限。 有关该产品组合的高度安全信息可供查阅, 请申请访问权限。了解更多关于安全访问权限的信息。 顺祝商祺!
View full article
Regarding the RTC_XTALI signal processing of MIMX9121CVVXCAA Hello, I am considering using the i.MX91 SOC MIMX9121CVVXCAA. Question: The clock for the RTC uses the clock from the oscillator circuit inside the SOC, eliminating the need for an external oscillator. I'm planning to leave the RTC_XTALI and RTC_XTALO pins unconnected. Should I pull down the RTC_XTALI pin on the board? I look forward to your reply. Re: MIMX9121CVVXCAAのRTC_XTALI信号処理について Recommendation If RTC functionality is required, follow the recommendation in UG10147 and use an external 32.768 kHz crystal (with the appropriate load capacitors), or alternatively provide an external clock to RTC_XTALI with a frequency below 50 kHz and an amplitude not exceeding NVCC_BBSM_1P8. If the RTC is not used, simply leave RTC_XTALI and RTC_XTALO unconnected (NC). Do not add a pull-down resistor. In addition, ensure that the insulation resistance from these traces to power and ground remains greater than 100 MΩ to avoid leakage caused by flux residue, moisture, or coupling to adjacent traces. The i.MX 91 does not have an independently operating internal 32.768 kHz oscillator. Therefore, if RTC functionality is not required, RTC_XTALI and RTC_XTALO should be left NC, and a pull-down resistor should not be added. This is because the datasheet specifies that the leakage path from these pins to power or ground should be greater than 100 MΩ. 推奨事項 RTC機能が必要な場合は、UG10147 の推奨に従い、32.768 kHz水晶発振子(負荷容量を含む)を接続するか、RTC_XTALI に周波数50 kHz未満、振幅が NVCC_BBSM_1P8 を超えない外部クロックを入力してください。 RTC機能を使用しない場合は、RTC_XTALI と RTC_XTALO の両方を NC(未接続) のままとしてください。プルダウン抵抗は追加しないでください。 また、フラックス残渣、湿気、または隣接配線によるリーク電流を防ぐため、これらの配線と電源/GND間の絶縁抵抗が 100 MΩ以上 となるようにしてください。 i.MX 91 には、単独で動作する内蔵32.768 kHz発振器はありません。 したがって、RTC機能を使用しない場合は、RTC_XTALI および RTC_XTALO を NC(未接続) のままとし、プルダウン抵抗を追加しないでください。データシートでは、これらのピンから電源またはGNDへのリーク経路は 100 MΩ以上 であることが要求されています。
View full article
LS1046A DDR问题 LS1046A和BCM88270(交换芯片)通过pcie.3 x1 gen2连接(SD2_T/RX2_P/N),LS1046A使用4片K4AAG165WC-BCWE(无ecc), 目前的碰到的现象: 1.在bcm88270不向ls1046a通过pcie发送以太网数据包的情况下,使用stress ng和memtester程序测试内存都没有问题 2.在bcm88270向ls1046a通过pcie发送以太网数据包时,stress ng和memtester会出错 3.LS1046A通过pcie反复读写bcm88270寄存器或者表项(通过dma),没有问题。而且同时测试的stress ng也没问题。 Board Design Communication & Control(I3C | I2C | SPI | FlexCAN | Ethernet | FlexIO) Re: LS1046A DDR问题 由于单独测试stress ng和memtester正常, 证明DDR基本功能正常,  只有BCM88270发包时出错,说明错误是被PCIe流量触发的。 结合你给出的现象,可能原因概率排序: 40%  BCM88270 RX DMA地址越界/描述符错误 25%  PCIe RX方向SI问题(收包时暴露) 15%  PCIe Cache Coherent配置错误 10%  DDR SI问题(高带宽触发) 10%  电源完整性问题     第一种可能:PCIe DMA写坏了DDR(最高概率) 现象最符合:BCM88270发包  > PCIe DMA写入LS1046A内存 >  DMA地址错误或描述符错误 -> 覆盖了Memtester或Stress-ng使用的内存 -> 检测到内存错误 检查方法:查看DMA Buffer地址, 确认RX Descriptor, RX Buffer, SKB, DMA Pool 是否有越界。Linux下查看dma_alloc_coherent()返回地址,检查start,size,end是否有重叠。   memtester避开DMA区域,例如memtester 2M,观察DMA是否位于低端内存,如果避开DMA区域后不再报错,基本锁定DMA覆盖。   第二种可能:PCIe Cache Coherent配置错误 LS1046A是DPAA架构, PCIe DMA涉及CPU Cache, CCI-400, PCIe Controller, DDR, 如果BCM88270使用DMA写入DDR: 但驱动:dma_sync_single_for_cpu(), dma_sync_single_for_device() 处理错误,会造成:CPU看到旧数据, DMA写入新数据, 然后memcmp失败, memory test失败。 检查设备树,查看PCIe节点pcie@340000是否带dma-coherent; 如果配置错误,会导致随机内存错误。     第三种可能:PCIe接收方向SI问题 这里值得特别关注。你提到:PCIe.3 x1 Gen2,SD2_TX/RX2_P/N, 只有BCM88270 -> LS1046A发包时出错。而LS1046A -> BCM88270时DMA访问表项正常。 说明 PCIe RX方向更可疑。 PCIe寄存器访问:流量很小,即使BER较高也不容易暴露。  以太网收包:持续PCIe DMA TLP, 流量大几个数量级。此时:CRC重传, Replay,NAK,明显增加。 虽然PCIe理论有LCRC保护。但如果链路边缘化:可能导致:DMA timeout,描述符损坏,驱动异常,最终表现为:内存测试失败。   查看PCIe错误计数器: lspci -vv, 重点: CESta: Correctable Error; UESta: Uncorrectable Error; 查看:BadTLP, BadDLLP, ReplayNumRollover, ReceiverError是否增长。     第四种可能:DDR SI/PI边缘问题 虽然单独Stress正常,但仍不能完全排除。 原因:BCM88270发包时会增加: 1) PCIe SerDes功耗    增加:1V, 1.8V, AVDD_SERDES噪声。 2) DDR访问量剧增    正常测试: CPU<->DDR    现在变成: CPU,PCIe DMA, DDR Controller 同时工作,带宽显著提高。如果DDR裕量不足:开始出错。    验证方法:降低DDR频率,例如: 1600MT/s → 1333MT/s, 如果问题消失,基本锁定DDR SI/PI问题。    查看DDR ECC统计: 虽然无ECC,但可以uboot下用 md.l 读取DDR控制器状态寄存器,查看DDR_ERR_DETECT是否出现异常。     第五种可能:电源完整性问题 4片K4AAG165WC-BCWE容量较大。当 PCIe高速收包 + CPU Stress + DDR高带宽 同时发生,板上可能出现:VDD_DDR, VDD_SOC, VDD_CORE跌落。 重点测量: 示波器看VDD_DDR,VDD_SOC在故障时的纹波和瞬时跌落是否超标。特别是在BCM88270开始大流量发包瞬间。     第六种可能:PCIe与DDR走线串扰 LS1046A上:PCIe3和DDR4都属于高速接口,如果布局比较紧:PCIe RX, DDR DQ, DDR DQS存在平行长距离走线。 大流量PCIe时可能激发问题。这种现象非常符合:不发包 => 正常, 大发包 => DDR出错.     建议排查顺序: Step1: 抓PCIe错误: lspci -vv,看Receiver Error,Bad TLP,Replay,CRC Error是否持续增长。 Step2: 关闭网络驱动DMA收包。只保留PCIe读写寄存器,验证Stress是否仍正常。若正常,说明问题在RX DMA路径。 Step3: 在RX DMA Buffer前后加保护区,例如:0x5A5A5A5A,持续检查是否被覆盖。确认是否DMA越界。 Step4: 降PCIe速率,强制 Gen2 -> Gen1,如果故障消失,优先检查PCIe SI。 Step5: 降DDR频率,1600MT/s -> 1333MT/s,如果消失,优先检查DDR SI/PI。 Re: LS1046A DDR问题 问题已经解决,是BCM驱动问题,谢谢支持!
View full article
ホストからスイッチへのトレーラーは削除されていませんSJA1110 私はSJA1110上のホストプロセッサ(Cortex-M7)を通じてイーサネットフレームを送信しています。スイッチの特定のポートにルーティングするために、5.8.2の下UM11107に説明されているホスト-トゥスイッチヘッダー/トレーラーを使用しています。 フレームは正しい港に到着しているが、トレーラーは解体されていないか、部分的にしか解体されていない。参考までに、送信前にtxBufferに格納された同じフレームと、受信後に別のデバイスのrxBufferに格納された同じフレームを以下に示します。 01 80 c2 00 00 10 68 58 c5 00 11 02 8b 8c 88 39 88 b7 5a 46 00 01 02 06 68 58 c5 00 11 02 04 01 00 06 01 02 12 01 01 14 0e 01 02 11 00 c5 58 68 08 d8 26 c0 cb fd 18 00 00 00 00 ---- 00 04 00 00 00 ====== 01 80 C2 00 00 10 68 58 C5 00 11 02 88 B7 5A 46 00 01 02 06 68 58 C5 00 11 02 04 01 00 06 01 02 12 01 01 14 0E 01 02 11 00 C5 58 68 08 D8 26 C0 CB FD 18 00 00 00 00 ---- 00 04 00 00 00 ご覧の通り、ヘッダーは完全に削除されていますが、トレーラー(4本の線以降の部分)は削除されていません(イーサネットフレームが有効であるため、すべて0に設定されていることも含めて)です。 Re: host-to-switch trailer not removed on SJA1110 こんにちは、 @flxwly さん。 提供されたデータから判断すると、ホストからスイッチへのヘッダーは認識されているようで、4バイトのヘッダーは送信フレームから削除されています。しかし、受信フレームの末尾には依然としてトレーラーバイトが表示されます。 重要な点の一つは、ホストからスイッチへのヘッダーのTRAILER_POSフィールドです。あなたの例のヘッダーバイトは8b、8c、88、39です。 ホストからスイッチへのヘッダー形式で解釈すると、HEADER_TYPE = 0x8B8C、HOST_SWITCH = 1、TRAILER = 1、TRAILER_POS = 57となります。しかし、ダンプに示されている送信フレームでは、5バイトのトレーラーはMAC DAフィールドから0ベースのオフセットで59バイト目から始まっているようです。SFDに対する正確な位置カウントの慣例によっては期待値が1差になることがありますが、符号化された値57は実際のトレーラー位置と一致していないようです。 したがって、まずTRAILER_POSフィールドの計算方法を確認し、トレーラーの最初のバイトに対応する位置に設定してみてください。 もう一つ指摘しておきたい点があります。それは、提供されているテストフレームが非常に短いということです。5バイトトレーラーが剥がされると、得られるイーサネットフレームはFCSなしの最小イーサネットフレームサイズより短くなり、退出時に再度パディングを追加する必要があります。この曖昧さを避けるために、例えばホストトレーラーの前に16バイトや32バイトのダミーバイトを追加するなど、より長いペイロードでテストを繰り返していただけますか?これにより、トレーラーが本当に部品を抜き取られているかどうかが明らかになるだろう。 また、2番目のデバイスがフレームを受信する出力ポートが、通常のポートとして設定されていることを確認してください。UMによると、フレームが通常のポートから出力される際にはヘッダーとトレーラーは削除されますが、フレームがホストポートまたはカスケードポートから出力される際には制御情報は保持されます。 最後に、5バイトのトレーラー値「00 04 00 00 00」がどのように生成されるのか教えていただけますか?FRAMEID、PRIO、SWITCHID、DESTPORT のビットパッキングを、ユーザーマニュアルに示された形式と照らし合わせて検証することが有用でしょう。 よろしくお願いいたします。 パベル Re: host-to-switch trailer not removed on SJA1110 こんにちは、 @PavelL さん。 お返事ありがとうございます。トレーラーの位置は正しいのですが、ポストでフレームの「終わり」を間違ってマークしていました。実際には2バイト手前です(ご指摘のとおり、57バイト目です)。 したがって、予告編も異なり、今では意味が通じ、UMのシナリオに合致している。 また、トレーラーが64バイト以上過ぎてからしか表示されないフレームでは、トレーラーが正しく削除されていることも確認できます。つまり、これはトレーラーが追加される前の64バイト未満のフレームでのみ問題になります(確かIEEEの仕様ではトレーラーは存在しないはずです)。 よろしくお願いいたします。 ネポムク
View full article
S32 Design Studio for ARM v2.2のライセンスは期限切れです こんにちは、私のARM v2.2用のS32 Design Studio ライセンスが期限切れになりました。延長してもらえますか? 有効期限:2026年6月29日 製品:ARM v2.2用S32 Design Studio ライセンス:27ED-C7E9-C2B4-9D3E Re: license of S32 Design Studio for ARM v2.2 has expired こんにちは、 お客様のS32DSライセンスが延長されました。
View full article
i.MX 8M Plus セキュリティリファレンスマニュアル NXPコミュニティの皆様、こんにちは。 Toradex社のVerdin IMX8MP SoMのセキュアブート開発に役立つi.MX 8M Plusセキュリティリファレンスマニュアルを探しています。NXP.comで問い合わせをしましたが、まだ返信がありません。このマニュアルを入手する別の方法はありますか?ありがとう! Re: i.MX 8M Plus Security Reference Manual こんにちは、ホルヘさん。 迅速なご返信ありがとうございます!i.MX 8Mミニアプリケーションプロセッサのセキュリティリファレンスマニュアルを受け取りました。私はi.MX 8M Plusプロセッサを使用しているのですが、Mini版と何か違いはありますか?それともPlus版のマニュアルはありますか?ありがとう! Re: i.MX 8M Plus Security Reference Manual こんにちは、 コミュニティを通じて機密情報を提供することはできません。i.MX8MPのセキュリティリファレンスマニュアルはチケットで受け取るか、こちらからリクエストできます。 よろしくお願いいたします。 Re: i.MX 8M Plus Security Reference Manual こんにちは、 同じではありません。おそらく誤解だったのでしょう。 チケットをご確認ください。 よろしくお願いいたします。 Re: i.MX 8M Plus Security Reference Manual こんにちは、 安全なファイルの配信方法が変わりました。 次に、プロセッサのウェブページ「ドキュメント -> Secure」でアクセスを要求する必要があります。 この製品ポートフォリオに関する高度に安全な情報が利用可能ですので、 アクセス権を申請してください。 セキュアアクセス権について詳しくはこちらをご覧ください。 よろしくお願いいたします。 Re: i.MX 8M Plus Security Reference Manual ご回答をお待ちしています。 Re: i.MX 8M Plus Security Reference Manual i.MX8M Plusのセキュリティリファレンスマニュアルをリクエストするために提供されたリンクには「ページが見つかりません」と表示されています。最新のリンクを教えていただけますか?
View full article
LS1046A DDR Issues The LS1046A and BCM88270 (switch chip) are connected via PCIe.3 x1 Gen2 (SD2_T/RX2_P/N). The LS1046A uses four K4AAG165WC-BCWE chips (without ECC). The current situation encountered: 1. When the BCM88270 is not sending Ethernet packets to the LS1046A via PCIe, memory tests using stress ng and memtester show no problems. 2. When the BCM88270 sends Ethernet packets to the LS1046A via PCIe, `stress ng` and `memtester` will encounter errors. 3. The LS1046A repeatedly reads and writes to the BCM88270 registers or entries via PCIe (through DMA) without any problems. Furthermore, stress testing at the same time also showed no issues. Board Design Communication & Control(I3C | I2C | SPI | FlexCAN | Ethernet | FlexIO) Re: LS1046A DDR问题 Since individual tests of stress ng and memtester were normal, it proves that the basic functions of DDR are normal. The only error occurred when BCM88270 sent packets, indicating that the error was triggered by PCIe traffic. Based on the phenomena you described, the probabilities of the possible causes are ranked as follows: 40% BCM88270 RX DMA address out of bounds/descriptor error 25% PCIe RX direction SI issue (exposed during packet reception) 15% PCIe Cache Coherent Configuration Error 10% DDR SI issue (triggered by high bandwidth) 10% power integrity issues     First possibility: The PCIe DMA corrupted the DDR memory (highest probability). The phenomenon most closely matches: BCM88270 packet sending PCIe DMA write to LS1046A memory > DMA address error or descriptor error -> Overwriting memory used by Memtester or Stress-ng -> Memory error detected Inspection method: Check the DMA buffer address to confirm whether RX Descriptor, RX Buffer, SKB, and DMA Pool are out of bounds. On Linux, check the return address of dma_alloc_coherent() to check if start, size, and end overlap.   Avoid DMA regions using memtester, for example, memtester 2M. Observe whether the DMA is located in low memory. If no more errors are reported after avoiding the DMA region, the DMA overwriting is basically locked.   The second possibility is a PCIe Cache Coherent configuration error. The LS1046A uses a DPAA architecture. PCIe DMA involves the CPU cache, CCI-400, PCIe controller, and DDR. If the BCM88270 uses DMA to write to DDR: However, errors in the driver's `dma_sync_single_for_cpu()` and `dma_sync_single_for_device()` functions can cause the CPU to see old data, the DMA to write new data, and then `memcmp` and `memory test` to fail. Check the device tree to see if the PCIe node pcie@340000 has dma-coherent; if the configuration is incorrect, it will cause random memory errors.     The third possibility: PCIe receive direction SI problem This deserves special attention. You mentioned that for PCIe.3 x1 Gen2, SD2_TX/RX2_P/N, the error only occurs when sending packets from BCM88270 to LS1046A. However, the DMA access table entries are normal when LS1046A -> BCM88270. This suggests that the PCIe RX direction is more suspicious. PCIe register access: traffic is very small, and it is not easily exposed even if the BER is high. Ethernet packet reception: Continuous PCIe DMA TLP, traffic volume is several orders of magnitude higher. At this time: CRC retransmission, replay, and NAK (Network Address Translation) increase significantly. Although PCIe theoretically has LCRC protection, if the link becomes marginalized, it may lead to: DMA timeout, descriptor corruption, driver anomalies, and ultimately, memory test failures.   To check the PCIe error counters: `lspci -vv`, pay attention to: CESta: Correctable Error; UESta: Uncorrectable Error; check if BadTLP, BadDLLP, ReplayNumRollover, and ReceiverError are increasing.     The fourth possibility: DDR SI/PI edge problem Although the stress level is normal on its own, it cannot be completely ruled out. Reason: When BCM88270 sends packets, it will increase the following: 1) PCIe SerDes power consumption Added: 1V, 1.8V, AVDD_SERDES noise. 2) DDR access volume surged Normal test: CPU <-> DDR Now, the CPU, PCIe DMA, and DDR controller work simultaneously, significantly increasing bandwidth. If DDR capacity is insufficient, errors will begin to occur. Verification method: Reduce the DDR frequency, for example: 1600MT/s → 1333MT/s. If the problem disappears, it is basically a DDR SI/PI issue. To check DDR ECC statistics: Although there is no ECC, you can use md.l in uboot to read the DDR controller status register and check if DDR_ERR_DETECT is abnormal.     Fifth possibility: Power integrity issue The four K4AAG165WC-BCWE chips have a relatively large capacity. When high-speed PCIe packet reception, CPU stress, and high DDR bandwidth occur simultaneously, the following may occur on the board: VDD_DDR, VDD_SOC, and VDD_CORE drops. Key measurements: Use an oscilloscope to check if the ripple and transient voltage drop of VDD_DDR and VDD_SOC exceed the limits during a fault. Pay special attention to the moment when the BCM88270 starts sending large amounts of packets.     Sixth possibility: PCIe and DDR trace crosstalk On the LS1046A: PCIe3 and DDR4 are both high-speed interfaces. If the layout is tight: PCIe RX, DDR DQ, and DDR DQS have parallel long-distance traces. High-volume PCIe traffic may trigger issues. This phenomenon closely matches the pattern: no packets sent => normal operation, high packet volume => DDR error.     Suggested order of investigation: Step 1: Capture PCIe errors: use lspci -vv to check if Receiver Error, Bad TLP, Replay, and CRC Error are continuously increasing. Step 2: Disable network driver DMA packet reception. Only keep the PCIe read/write registers enabled and verify if Stress is still working correctly. If it is, the problem lies in the RX DMA path. Step 3: Add protection zones before and after the RX DMA Buffer, for example: 0x5A5A5A5A, and continuously check if they are overwritten. Confirm whether the DMA has exceeded the limit. Step 4: Reduce the PCIe speed and force Gen2 -> Gen1. If the fault disappears, check the PCIe SI first. Step 5: Reduce DDR frequency, 1600MT/s -> 1333MT/s. If the problem disappears, first check DDR SI/PI. Re: LS1046A DDR问题 The problem has been resolved; it was a BCM driver issue. Thank you for your support!
View full article
关于 MIMX9121CVVXCAA 的 RTC_XTALI 信号处理 您好,我正在考虑使用 i.MX91 SoC MIMX9121CVVXCAA。 问题: RTC 的时钟使用 SoC 内部振荡器电路的时钟,无需外部振荡器。 我计划将 RTC_XTALI 和 RTC_XTALO 引脚断开。我是否应该将板上的 RTC_XTALI 引脚拉低?期待您的回复。 Re: MIMX9121CVVXCAAのRTC_XTALI信号処理について 推荐 如果需要 RTC 功能,请按照UG10147中的建议,使用外部 32.768 kHz 晶体(带适当的负载电容),或者为RTC_XTALI提供频率低于 50 kHz 且幅度不超过NVCC_BBSM_1P8 的外部时钟。 如果 RTC 未使用,只需将RTC_XTALI和RTC_XTALO断开连接 (NC) 即可。不要添加下拉电阻。此外,确保这些走线到电源和地线的绝缘电阻大于100 MΩ ,以避免因焊剂残留、湿气或与相邻走线耦合而引起的泄漏。 i.MX 91 没有独立运行的内部 32.768 kHz 振荡器。因此,如果不需要 RTC 功能,则RTC_XTALI和RTC_XTALO应保持NC 状态,并且不应添加下拉电阻。这是因为数据手册规定,这些引脚到电源或地的漏电路径应大于100 MΩ 。 推奨事项 RTC机能が必要な场合は、 UG10147の推奨に従い、32.768kHz水晶発振子(负担负担を含む)を接続するか、 RTC_XTALIに周波数50 kHz未満、振幅がNVCC_BBSM_1P8を超えない外部クロックを入力してください。 RTC机能を使用しない场合は、 RTC_XTALIとRTC_XTALOの両方をNC (未接続)のままとしてください。プルダウン抵抗は追加しないでください。また、furakkusu残渣、湿気、または邻接配线によるリーク电流を防ぐため、これらの配线と电源/GND间の绝縁抗が100 MΩ以上となるようにしてください。 i.MX 91 には、単独で动作する内蔵32.768 kHz発振器はありません。したがって、RTC机能を使用しない场合は、 RTC_XTALIおよびRTC_XTALOをNC (未接続)のままとし、プルダウン抵抗を追加しないでください。データshitoでは、これらのピンから电源またはGNDへのリーク経路は100 MΩ以上であることが要求されています。
View full article
i.MX 8M Plus Security Reference Manual Hello NXP community, I'm searching for i.MX 8M Plus Security Reference Manual to help with the secure boot development for a Verdin IMX8MP SoM from Toradex.  I opened a case at NXP.com but haven't heard back.  Is there another way to get this manual?  Thanks! Re: i.MX 8M Plus Security Reference Manual Hi Jorge, Thank you for the quick reply!  I have received Security Reference Manual for i.MX 8M Mini Applications Processor.  Since I'm using i.MX 8M Plus processor, is there any difference with the Mini or is there a Plus version of the manual?  Thanks! Re: i.MX 8M Plus Security Reference Manual Hello, We cannot provide confidential information through community, you will receive the security reference manual for i.MX8MP in the ticket or you can request it here. Best regards. Re: i.MX 8M Plus Security Reference Manual Hello, Is not the same, maybe was a confusion. Please check it in the ticket. Bets regards. Re: i.MX 8M Plus Security Reference Manual The link you provided to request the security reference manual for the i.MX8M Plus shows "Page not found". Would you please provide the current link? Re: i.MX 8M Plus Security Reference Manual Thank you! Re: i.MX 8M Plus Security Reference Manual Hello, The way we deliver secure files has changed. Now, you need to request access in processor web page Documentation -> Secure. Highly secure information about this product portfolio is available, request access rights. Learn more about secure access rights. Best regards.
View full article
Local Access Windows (LAWs), memory overlap About LAW understanding : about the B4860 , just e.g B4860QDS; Local Access Windows (LAWs): in the B4860_QDS_Init.tcl file have set the Local Access Window Registers (as below have defined the phy address 0x000000, size 2Gbytes target to DDR) and in the  dpaa_demo.c of CW_SC_3900FP_v10.8.3\SC\StarCore_Support\SmartDSP\demos add the LAW setting the phy address 0x20000000 target  to  QMAN my query or confusing is  the LAW 10 setting (0x0000000~0x7fffffff target to DDR)   memory overlapped with  QMAN software port  LAW setting the phy address 0x20000000 target  to  QMAN. memory overlapped  between LAW , is it ok? and can explain detail why it can work ? there is not descript memory overlapped situation of LAW  in the reference manual of B4860.  ## LAW10 to DDRC2  # LAWBARH  mem [CCSR_ADDR 0x000CA0] = 0x00000000  # LAWBARL  mem [CCSR_ADDR 0x000CA4] = 0x00000000  # LAWAR  mem [CCSR_ADDR 0x000CA8] = 0x8110001E Re: Local Access Windows (LAWs), memory overlap It’s interesting how local administrative systems handle data integration, especially when managing complex files like local access windows and memory overlap. Navigating these technicalities can sometimes feel as complicated as dealing with a newsportnewscourt.org schedule. Having a reliable, centralized resource to clear up the confusion makes a huge difference. Hopefully, more updates will roll out soon to make these processes much smoother for everyone involved. Re: Local Access Windows (LAWs), memory overlap Thanks for sharing the [RTD200P04 MCAL] S32M244 PWM PDB ADC MCAL demo—really helpful for developers working with embedded systems. For those handling compliance or security logging alongside hardware interfaces, reviewing Missouri offense records could offer useful insights for managing real-world data inputs. Always good to bridge technical applications with broader contextual awareness. Re: Local Access Windows (LAWs), memory overlap Please refer to the B4860 QorIQ Qonverge Multicore Baseband Processor Reference Manual, 2.3.1 Precedence of Local Access Windows.
View full article
S32 Design Studio for ARM v2.2 的许可证已过期。 您好,我的 S32 Design Studio for ARM v2.2 许可证已过期。你能帮我延长一下吗? 有效期至:2026年6月29日 产品:S32 Design Studio for ARM v2.2 许可证:27ED-C7E9-C2B4-9D3E Re: license of S32 Design Studio for ARM v2.2 has expired 你好, 您的S32DS许可证已延期。
View full article
ローカルアクセスウィンドウ(LAW)、メモリの重複 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> LAWの理解について:B4860について、例えばB4860QDSなど。 ローカルアクセスウィンドウ(LAW): B4860_QDS_Init.tclファイル内でローカルアクセスウィンドウレジスタを設定しています(以下のように、phyアドレス0x000000、サイズ2GbytesのターゲットをDDRに定義しています) CW_SC_3900FP_v10.8.3\SC\StarCore_Support\SmartDSP\demos の dpaa_demo.c 内 LAW設定をQMANに物理アドレス0x20000000ターゲットとして追加します。 私の疑問や混乱は、LAW 10の設定(0x0000000~0x7fffffff ターゲットをDDRに)メモリがQMANソフトウェアのポートLAWと重なっていて、ターゲット0x20000000のPHYアドレスをQMANに設定したことです。 記憶がLAWで重なっているのですが、大丈夫ですか?そして、なぜそれが機能するのか詳細を説明できますか?B4860の**リファレンス・マニュアル**には、LAWのメモリ重複状況の記述はありません。 ## LAW10からDDRC2へ # ローバー mem [CCSR_ADDR 0x000CA0] = 0x00000000 # LAWBARL mem [CCSR_ADDR 0x000CA4] = 0x00000000 # 戦争 mem [CCSR_ADDR 0x000CA8] = 0x8110001E Re: Local Access Windows (LAWs), memory overlap ローカル管理システムがデータ統合をどのように扱うかは興味深いです。特にローカルアクセスウィンドウやメモリの重複のような複雑なファイルを管理する際には。こうした細かい問題を乗り越えることは、時に、newsportnewscourt.org を扱うのと同じくらい複雑に感じることがありますスケジュール。混乱を解消するための信頼できる一元化された情報源があることは、非常に大きな違いを生む。関係者全員にとってこれらのプロセスがよりスムーズになるよう、近いうちにさらなるアップデートが実施されることを期待します。 Re: Local Access Windows (LAWs), memory overlap [RTD200P04 MCAL] S32M244 PWM PDB ADC MCALのデモを共有していただきありがとうございます。組み込みシステムを開発している開発者にとって非常に役立ちます。コンプライアンスやセキュリティログをハードウェアインターフェースと併用する方にとって、 ミズーリ州のオフェンス記録 を確認することは、実際のデータ入力を管理するための有用な洞察を提供するかもしれません。技術的なアプリケーションとより広い文脈認識をつなぐのはいつも良いことです。 Re: Local Access Windows (LAWs), memory overlap <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> B4860 QorIQ Qonverge マルチコアベースバンドプロセッサリファレンスマニュアル2.3.1「ローカルアクセスウィンドウの優先順位」をご参照ください。
View full article
NXPはMC33XS2410のプロトタイピング用にシンプルなTSSOP28ブレークアウト/アダプタボードを提供していますか? こんにちは、皆さん 現在、12Vの自動車プロジェクトのためのプロトタイピングとテストベンチを設置中です。NXP社の推奨に従い、保護回路にはMC33XS2410(eFuse)を選定しました。 しかし、私たちは組み立て工房で、現時点ではカスタムPCBの**デザイン**や製造ができないため、0.65mmのピッチとサーマルパッドを持つHTSSOP28**パッケージ**の扱いは手配線にとって物理的に難しいです。 フル機能のFRDM-XS2410EVB評価ボードは認識していますが、この特定のテストベンチでの即時のニーズには複雑すぎ、規模も高すぎます。ピンにアクセスするための最小限の方法だけで十分です。 Aries ElectronicsのLCQT-TSSOP28ブレイクアウトボードのような汎用サードパーティアダプターを購入する前に、NXPコミュニティにお聞きしたいと思います。 NXPは、MC33XS2410のHTSSOP28パッケージを標準の2.54mm DIPピンに変換するための、低コストで最小限のブレイクアウトボードやプロトタイピングアダプターを提供していますか? そうでない場合、NXPは、このチップとの互換性が実証されている特定のサードパーティ製アダプタまたはソケットのブランドを公式に推奨していますか(露出した中央パッドの接地および放熱要件を考慮して)? お時間とご協力、本当にありがとうございました! 評価ボード StarCore DSP Re: Does NXP offer a simple TSSOP28 breakout/adapter board for MC33XS2410 prototyping トーマスさん、説明と注意点を教えていただきありがとうございます。私のカードに関しては、それが解決策だと思います。 Re: Does NXP offer a simple TSSOP28 breakout/adapter board for MC33XS2410 prototyping こんにちは、モハメドさん。 現在、MC33XS2410 HTSSOP28パッケージを標準の2.54 mm DIPスタイルのフットプリントに直接変換する専用の低コストブレイクアウトボードやアダプターボードは提供していません。ご指摘の通り、私たちはFRDM-XS2410EVBを提供しており、これは単純なパッケージ適応ではなく、完全な機能評価を目的としています。 重要な考慮点の一つは、MC33XS2410パッケージの露出したサーマルパッドであり、熱性能と電気性能の両方を考慮してGNDにはんだ付けされるべきです。また、露出パッドをグラウンドプレーンに接続し、生産設計では熱放散を改善するために熱ビアを使用することも推奨しています。 また、汎用ブレークアウトボードは、一般的に機能プロトタイプの作成や低消費電力のベンチテストに適している点にご注意ください。しかし、適切に設計されたPCBで得られる熱性能を通常は提供できず、テスト可能な最大連続電流を制限する可能性があります。 もし用途がデバイスの電流制限付近で動作する必要がある場合は、熱性能を慎重に評価するか、公式の評価ボードを使うことをお勧めします。 BRs、トーマス
View full article
S32K312 EVB - SD Card SPI Initialization using LPSPI Hardware PCS0 Hi, I am implementing an SD Card driver over SPI on the S32K312 EVB using RTD 6.0.0 (Non-AUTOSAR Lpspi_ Ip driver). According to the SD Physical Layer Simplified Specification, the SPI initialization sequence is: Keep CS HIGH after power-up. Generate at least 74 clock pulses (I am sending 80 clocks by transmitting 10 bytes of 0xFF). Pull CS LOW. Send CMD0 (0x40 00 00 00 00 95). Keep CS LOW while polling with 0xFF until the card responds with **R1 = 0x01`. My issue is with hardware-controlled PCS0. When using the Lpspi_Ip driver with hardware PCS0, the PCS signal is automatically asserted/deasserted by the LPSPI peripheral during SPI transfers. Because of this, I cannot generate the initial 80 clock pulses while keeping CS HIGH and then CMD0 with CS LOW, as required by the SD specification. I have the following questions: Does the S32K312 LPSPI peripheral support keeping PCS inactive (HIGH) while generating SPI clocks? Is there any Lpspi_Ip API, register configuration, or recommended method to manually control PCS or temporarily disable hardware PCS during the SD card initialization sequence? If not, is the recommended approach to configure the SD card CS pin as a GPIO and manually control it while using LPSPI only for SCK, MOSI, and MISO? Additionally, if NXP has any reference implementation, application note, example project, or SDK/RTD example demonstrating SD card communication over SPI on the S32K3 series, could you please share the reference? Thank you. Re: S32K312 EVB - SD Card SPI Initialization using LPSPI Hardware PCS0 Hi @parvathitp  The PCS (Peripheral Chip Select) signal is designed to be controlled by the LPSPI module. When a hardware PCS is selected, it is automatically asserted and deasserted by the LPSPI peripheral during SPI frame transfers. There is no dedicated API available to manually control a hardware PCS signal while it is assigned to the LPSPI module. Therefore, as you mentioned, the best approach for this case is to configure the CS pin as a GPIO. In this configuration, the CS signal is controlled through the SIUL2/GPIO APIs, and you are responsible for controlling it.  Currently, there is no S32K3-specific application note, example project, or reference document that demonstrates this exact implementation. BR, VaneB
View full article