Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
LS1046A Custom Design HRESET_B not released Hello, I am working to bringup a custom design making use of the LS1046A processor. (Board design used the RDB as a reference).  I have verified that all power rail voltages are correct and have have measured the power sequencing timing which all appear to be withing the tolerances found in the datasheet. The issue I am experiencing is that I am not able to bring the processor out of reset. When measuring, I found that the processor is not releasing the HRESET_B signal. The reference manual indicates that the processor will hold this line low while it is performing initialization and will release it after loading the RCW and locking PLL's, etc. Thinking perhaps I had an error in my RCW, I used the built-in RCW values instead. (I strapped the processor with both the 0x9E and 0x9F RCW values with the same result). At this point, I'm at a bit of a loss. My clocks are provided on time, my slew rates are all within spec, and I am holding the strapping values for the correct amount of time before releasing them. The reference manual also indicates that the PBL will toggle the RESET_REQ signal if it has encountered an error, but I am not seeing this happen. So my conclusion currently is that the PBL is not even being executed which, to me, is a sign that the processor is still in a reset state. Is there something here that I am missing? Anywhere I should look next? My timings are within spec, but do not match the RDB exactly (I probed the relevant signals on the board). How sensitive is the power sequencing on the LS1046? Thanks in advance. Re: LS1046A Custom Design HRESET_B not released Hi bryce  Can you explain what sequence did you chnage to get it right? Currently I am also facing similar issue with cutsom ls1046a board Re: LS1046A Custom Design HRESET_B not released Thank you for your above answers. To tie off the thread, I have solved the issue with the power sequencing in my CPLD code. Because the original code I had was causing this issue, I re-wrote it and I no longer see the issue.  Re: LS1046A Custom Design HRESET_B not released Please create a Technical Case so I will be able to check the processor connection schematics. Re: LS1046A Custom Design HRESET_B not released We have strapped the hardware to use the hard-coded RCW, not the RCW from flash. Re: LS1046A Custom Design HRESET_B not released Please use a digital scope to check whether RCW is read from an external flash. Re: LS1046A Custom Design HRESET_B not released Hello, Thanks for your response.  I have verified that all of the above are in a good state. One question I did have about your last point, however: Is this required in order for the power-on reset sequence to complete? As I stated earlier, we are not able to observe the RESET_REQ signal, so I believe we are unable to execute the PBL. Are SerDes reference clocks required in order execute the PBL, or are they required later on while PBL is already setting up the system? Thanks Re: LS1046A Custom Design HRESET_B not released As first checking stage please inspect: 1) POR levels of all signals explicitly mentioned in the notes to the QorIQ LS1046A, LS1026A Data Sheet, Table 1. Pinout list by bus. 2) HRESET_B is not asserted externally 3) SerDes reference clocks conform to the Data Sheet requirements. If the issue will not be resolved, it is more convenient to perform next bring-up stage as Technical Case: https://community.nxp.com/thread/381898 
View full article
此优惠券不适用于 FRDM-MCXN236 NXP 网站宣传了这款免费板。但是即使商品有库存,结账时优惠券代码仍然无法使用。 评估板 Re: Coupon not valid for FRDM-MCXN236 你好PLACEHOLDER7 在这种情况下,请您发送电子邮件至[email protected]联系我们的购物车团队。 该团队负责处理线上订单。 谢谢您的理解 贝基
View full article
LS1046A 定制设计 HRESET_B 未发布 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好, 我正在努力开发一个使用 LS1046A 处理器的定制设计。(电路板设计参考了RDB。)我已经确认所有电源轨电压均正确,并且测量了电源时序时序,所有参数似乎都在数据手册规定的容差范围内。我遇到的问题是无法将处理器从重置状态中恢复。测量时,我发现处理器没有释放 HRESET_B 信号。参考手册指出,处理器在执行初始化时会将此线路保持低电平,并在加载 RCW 和锁定 PLL 等操作后将其释放。考虑到我的 RCW 设置可能有误,我改用了内置的 RCW 值。(我分别用 0x9E 和 0x9F RCW 值给处理器加装了 RCW 参数,结果相同)。 此时此刻,我有点不知所措。我的时钟按时交付,我的转换速率均在规格范围内,并且在释放之前,我会将捆扎值保持正确的时间。参考手册还指出,如果 PBL 遇到错误,它会切换 RESET_REQ 信号,但我没有看到这种情况发生。因此,我目前的结论是 PBL 根本没有执行,在我看来,这表明处理器仍处于 RESET 状态。 我是不是漏掉了什么?接下来我应该从哪里入手?我的时序符合规格,但与 RDB 不完全匹配(我探测了板上的相关信号)。LS1046的电源时序控制有多敏感? 先行致谢。 Re: LS1046A Custom Design HRESET_B not released 嗨,布莱斯 你能解释一下你修改了哪些步骤才做对了吗?目前我也遇到了类似的问题,使用的是定制的LS1046A主板。 Re: LS1046A Custom Design HRESET_B not released <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 感谢您之前的解答。 最后,我已经解决了 CPLD 代码中的电源时序问题。由于我之前的代码导致了这个问题,所以我重写了代码,现在问题已经解决了。 Re: LS1046A Custom Design HRESET_B not released <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 请创建一份技术案例,以便我能够查看处理器连接原理图。 Re: LS1046A Custom Design HRESET_B not released <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我们已经将硬件绑定到使用硬编码的 RCW,而不是来自闪存的 RCW。 Re: LS1046A Custom Design HRESET_B not released <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 请使用数字示波器检查是否能从外部闪存读取 RCW。 Re: LS1046A Custom Design HRESET_B not released <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好, 谢谢你的回复。我已经确认以上所有物品都处于良好状态。关于您最后一点,我还有一个问题:这是上电复位序列完成的必要条件吗?正如我之前所说,我们无法观察到 RESET_REQ 信号,所以我认为我们无法执行 PBL。SerDes 参考时钟是执行 PBL 所必需的,还是在 PBL 设置系统时才需要的? 谢谢! Re: LS1046A Custom Design HRESET_B not released <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 第一阶段检查请检查: 1) QorIQ LS1046A、LS1026A 数据表表 1 中明确提及的所有信号的 POR 水平。按总线列出引脚图。 2) HRESET_B 未被外部钳位 3) SerDes 参考时钟符合数据手册的要求。 如果问题无法解决,则更方便地将下一阶段的启动工作作为技术案例来执行: https://community.nxp.com/thread/381898
View full article
Coupon not valid for FRDM-MCXN236 NXP Website advertised this free board to get started . But the coupon code is still not working during checkout even though the product is in stock.  Evaluation Board Re: Coupon not valid for FRDM-MCXN236 Hello PLACEHOLDER7 In this case, please kindly send an email to our shopping cart team by [email protected]. The team is in charge of online orders. Thanks for understanding Becky
View full article
プロモーションクーポン こんにちは、 私のプロモーションクーポン「ADCWFBXT」がFRDM-MCXN236に有効でないのはなぜですか? プラモド・ジョグレカール [email protected] 開発ボード FRDMトレーニング Re: PROMO Coupon 私もFRDM-MCXN236のプロモーションクーポンを使うことができませんでした。 Re: PROMO Coupon クーポンコードADCWFBXTは2025年12月30日まで有効でしたのでご注意ください。当社のウェブサイトに記載されているとおり、 FRDMはイノベーションを推進します。費用は当社が負担します!   良い一日をお過ごしください。 Re: PROMO Coupon FRDM-MCXN236ボード用の他のクーポンはありますか?
View full article
PROMO Coupon Hi, Why is my promo coupon 'ADCWFBXT' not valid for the FRDM-MCXN236. Pramod Joglekar [email protected] Development Board FRDM-Training Re: PROMO Coupon Please note that the coupon ADCWFBXT was valid until December 30th, 2025. As stated at our website: FRDM to Innovate - On us!    Wishing you a nice day. Re: PROMO Coupon Even I am not able to use the promo coupon for FRDM-MCXN236. Re: PROMO Coupon Is their any other coupon available for FRDM-MCXN236 boards ?
View full article
S32K358 MBDT/Simulink – 将 SoC 存储在非易失性存储器中 您好,NXP团队, 我正在使用 RD-BESSK358BMU 板(S32K358 MCU)以及 MATLAB/Simulink 和 NXP MBDT。 我的板上运行着一个 EKF SOC 估算器。我需要定期将计算出的 SOC 保存到非易失性存储器中,以便在完全断电/开机后,可以读取最后存储的 SOC 并将其用作 EKF 的初始 SOC。 在 Simulink/MBDT 中,对于 S32K358,推荐的实现方式是什么? 我可以在 S32 配置工具中看到 Fee、MemAcc 和 Mem_43_InFls。这些模块是否适用于此目的? 您能否分享一些关于S32K358 Simulink/MBDT非易失性读/写的示例? 我找到了一些使用 EEPROM/FEE 的较早的 S32K 示例,但我特别想找到适用于 Simulink/MBDT 的 S32K358 的推荐解决方案。 谢谢。
View full article
S32K358 MBDT/Simulink – Store SOC in Non-Volatile Memory Hello NXP Team, I am using the RD-BESSK358BMU board (S32K358 MCU) with MATLAB/Simulink and NXP MBDT. I have an EKF SOC estimator running on the board. I need to periodically save the calculated SOC in non-volatile memory, so after a complete power OFF/ON, the last stored SOC can be read and used as the initial SOC of the EKF. What is the recommended way to implement this in Simulink/MBDT for S32K358? I can see Fee, MemAcc, and Mem_43_InFls in the S32 Configuration Tool. Should these modules be used for this purpose? Is there any S32K358 Simulink/MBDT example for non-volatile Read/Write that you can share? I found older S32K examples using EEPROM/FEE, but I am specifically looking for the recommended solution for S32K358 with Simulink/MBDT. Thank you.
View full article
S32K358 MBDT/Simulink – SOCを不揮発性メモリに保存する こんにちは、NXPチームの皆さん。 RD-BESSK358BMUボード(S32K358 MCU)をMATLAB/SimulinkとNXP MBDTで使っています。 ボード上でEKF SOC推定器を動作させています。計算されたSOCを定期的に不揮発性メモリに保存する必要があるため、完全な電源オフ/オン後、最後に保存されたSOCを読み取り、EKFの初期SOCとして使用できるようにします。 Simulink/MBDTでS32K358を実装する際の推奨される方法は何ですか? S32設定ツールでFee、MemAcc、Mem_43_InFlsが見えます。これらのモジュールをこの目的に使用すべきでしょうか? S32K358、不揮発性の読み書き(Read/Write)に関するSimulink/MBDTの例があれば教えてもらえますか? EEPROM/FEEを使用した古いS32Kのサンプルは見つかりましたが、Simulink/MBDTを使用したS32K358向けの推奨ソリューションを具体的に探しています。 ありがとう。
View full article
ZeroWattic Power Saver Reviews 2026 - Is Everything Really As Promised? ZeroWattic Power Saver Review 2026: Does This Device Really Help Reduce Electricity Waste? Rising electricity costs have made energy efficiency a priority for households and businesses. Many people are looking for simple ways to manage power consumption without replacing every appliance or making expensive electrical upgrades. This is where devices such as the ZeroWattic Power Saver have attracted attention. Presented as a compact power-saving solution, ZeroWattic is designed around the idea of improving the way electricity is used inside a home. The product packaging shown describes it as a device intended to address “dirty, chaotic current” and improve the flow of electricity through household wiring. But what exactly is ZeroWattic Power Saver, how is it supposed to work, and what should consumers know before purchasing one? In this detailed guide, we look at the product concept, potential benefits, installation considerations, limitations, and important questions buyers should ask before making a decision. Important: Product claims about electricity savings should be independently verified before relying on them for financial savings. Actual results can vary depending on the electrical system, appliances, usage patterns, tariffs, and other factors. Discover ZeroWattic Power Saver and Explore a Smarter Approach to Household Energy Management What Is ZeroWattic Power Saver? ZeroWattic Power Saver is marketed as a household electricity-management device. From the packaging, the product focuses on the quality and characteristics of electrical current flowing through a home's wiring. The basic concept is that certain electrical loads—particularly appliances containing motors, transformers, compressors, or switching electronics—can create electrical characteristics that are not always converted into useful work. Power-management products often attempt to address these characteristics through electrical components designed for power conditioning or power-factor correction. The ZeroWattic packaging specifically promotes the idea of reducing undesirable electrical effects and improving the flow of electricity through household wiring. For consumers, the key point is that power quality and actual electricity consumption are not necessarily the same thing. A device may affect certain electrical characteristics without automatically producing a large reduction in the kilowatt-hours recorded on a residential electricity meter. Therefore, buyers should look at the product's technical specifications and independently measurable results rather than relying only on broad marketing language. 🔌 Ready to Take Control of Your Electricity Usage? Learn More About ZeroWattic Today
View full article
ZeroWattic 节能器评测 2026 - 真的像宣传的那样好吗? ZeroWattic 节能器 2026 年评测:这款设备真的有助于减少电力浪费吗? 不断上涨的电费使得提高能源效率成为家庭和企业的首要任务。许多人都在寻找简单的方法来管理电力消耗,而无需更换所有电器或进行昂贵的电气升级。正因如此,像ZeroWattic 节能器这样的设备才引起了人们的关注。 ZeroWattic 是一款紧凑型节能解决方案,其设计理念是改善家庭用电方式。产品包装上显示,该产品是一种旨在解决“脏乱电流”并改善家用线路电流的设备。 但 ZeroWattic Power Saver 究竟是什么?它的工作原理是什么?消费者在购买前应该了解哪些信息? 在本详细指南中,我们将探讨产品概念、潜在优势、安装注意事项、局限性以及买家在做出决定前应该提出的重要问题。 重要提示:有关节电的产品声明在用于节省开支之前,应进行独立核实。实际结果可能因电力系统、电器、使用模式、电价和其他因素而异。了解 ZeroWattic 节能器,探索更智能的家庭能源管理方式 什么是 ZeroWattic 节能器? ZeroWattic Power Saver 是一款家用电力管理设备。从包装上看,该产品侧重于流经家庭线路的电流量的质量和特性。 基本概念是,某些电气负载(特别是含有电机、变压器、压缩机或开关电子元件的电器)会产生一些电气特性,而这些特性并不总是能转化为有用的功。电源管理单元产品通常试图通过专为电源调节或功率因数校正而设计的电气元件来解决这些特性。 ZeroWattic 包装专门宣传减少不良电气效应和改善家用线路电流流动的理念。 对于消费者而言,关键在于电能质量和实际用电量并不一定是一回事。设备可能会影响某些电气特性,但不会立即导致居民用电表记录的千瓦时数大幅减少。 因此,买家应该查看产品的技术规格和独立可衡量的结果,而不是仅仅依赖于宽泛的营销语言。 🔌 准备好掌控您的用电量了吗?立即了解更多关于 ZeroWattic 的信息
View full article
ZeroWattic Power Saver 2026 レビュー - 本当に約束通りなのか? ZeroWattic Power Saver 2026 レビュー:このデバイスは本当に電力の無駄を削減するのに役立つのか? 電気料金の高騰により、家庭や企業にとってエネルギー効率の向上は最優先事項となっている。多くの人々は、家電製品をすべて買い替えたり、高額な電気設備の改修を行ったりすることなく、電力消費を管理する簡単な方法を探している。こうした状況において、ZeroWattic Power Saverのような機器が注目を集めている。 コンパクトで省電力のソリューションとして提示されたZeroWatticは、**ホーム**内の電気利用方法を改善するという**アイデア**を中心に設計されています。展示されている製品パッケージでは、「汚れた混沌とした電流」を解決し、家庭用配線の電気の流れを改善することを目的とした装置と説明されています。 しかし、ZeroWattic Power Saverとは一体何なのか、どのように機能するのか、そして消費者は購入前に何を知っておくべきなのか? この詳細なガイドでは、製品のコンセプト、潜在的な利点、設置上の考慮点、制限、そして購入者が判断する前に尋ねるべき重要な質問について見ていきます。 重要: 電力節約に関する製品主張は、ファイナンシャル節約に頼る前に独立して検証すべきです。実際の結果は、電気系統、家電、使用パターン、料金表、その他の要因によって異なります。ZeroWattic Power Saverを発見し、より賢い家庭のエネルギーマネジメントアプローチを探りましょう ZeroWatticパワーセーバーとは何ですか? ZeroWattic Power Saverは家庭用電気マネジメントデバイスとして販売されています。パッケージからは、ホームの配線を流れる電流の品質と特性に焦点を当てています。 基本的な概念は、特定の電気負荷、特にモーター、トランス、コンプレッサー、またはスイッチング電子機器を含む機器が、必ずしも有用な仕事に変換されない電気的特性を生み出す可能性があるということです。パワーマネージメント製品は、電力調整や力率補正のために設計された電気部品を通じてこれらの特性を解決しようと試みることが多いです。 ZeroWatticパッケージは、望ましくない電気的影響を減らし、家庭用配線内の電力の流れを改善するという考えを特に推進しています。 消費者にとって重要なのは 、電力品質と実際の電力消費量が必ずしも同じものではないということです。装置は特定の電気特性に影響を与えることができますが、住宅用電力メーターに記録されるキロワット時の大幅な減少を自動的に生じさせることはありません。 したがって、購入者は広範なマーケティング言語に頼るのではなく、製品の技術的仕様や独立して測定可能な結果を重視すべきです。 🔌 電気使用量を管理する準備はできていますか?ZeroWatticについてもっと詳しく知りたい方はこちら
View full article
RT1021 LPSPI DMA in Quad mode Hello. Does anybody knows how to use DMA in LPSPI in Quad mode. I can understand how i can do that. Is it possible to use quad mode with DMA? I ask this because i need to set LPSPI_TCR[TXMSK] for reception, but when i do that module starts transmitting and resets LPSPI_TCR[TXMSK] automaticaly before starting DMA. i.MXRT 101x i.MXRT 102x i.MXRT 105x i.MXRT 106x Re: RT1021 LPSPI DMA in Quad mode Hello Could you please share your code for LPSPI read in quad mode with DMA. Itried to follow your advices (writting in TCR instead of TDR, ...) but I am still not able to read data in Quad mode with DMA. I only managed to do it with interrupt. Thanks in advance, best regards, Jérémy Re: RT1021 LPSPI DMA in Quad mode Now i can answer the question. It is possible to use LPSPI in Quad mode with DMA. It is necessary to rewrite LPSPI_MasterTransferEDMA to configure DMA to write to TCR instead of TDR. Dont forget to change transfer size to 4 Bytes, because the Command Register should only be written using 32-bit writes. CFGR1 also should be changed accordingly. Nevertheless quad mode doesnot helped me to increase transfer baubrate. Maximum throughput stays on the limit of 30megabit per second. If am using Quad mode and 30MHz Spi clock there are sugnificant delays in transmissions :(. So Quad mode helps to reduce clock of SPI and doesnot help to increase baudrate.  Re: RT1021 LPSPI DMA in Quad mode Thanks for your reply. After confirming, 4-bit half-duplex transfers are useful for interfacing to QuadSPI memory devices, and at least one bit (Transmit Data Mask (TCR[TXMSK] or Receive Data Mask TCR[RXMSK]) must also be set. However, when set TCR[RXMSK]), receive data is not stored in receive FIFO, and according to Table 47-10. LPSPI Interrupts and DMA Requests, the mechanism is unable to trigger the DMA request. Sorry for the previous reply bring inconvenience to you. Have a great day, TIC ------------------------------------------------------------------------------- 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: RT1021 LPSPI DMA in Quad mode Hello,  jeremyzhou. There is big difference in single-data SPI and quad-data SPI receive. In case of single-data SPI receive i need to write to TDR register to start transmission, while in quad-data SPI receive i need to set TCR[TXMSK](any write to TDR will start transmission, not receiving ). So my question - how to !receive! data using DMA  in quad-data mode. Re: RT1021 LPSPI DMA in Quad mode Hi, Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you. 1)Is it possible to use quad mode with DMA? -- Yes, and in my opinion, essentially, it's no difference between single-data SPI and quad-data SPI transfer via the DMA way. Have a great day, TIC ------------------------------------------------------------------------------- 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. -------------------------------------------------------------------------------
View full article
Bug with Hashcrypt on LPC55S06 Hello,  I encounter an infinite loop in my attempt to use Hashcrypt HW acceleration.  The Hashcrypt driver version is 2.2.17. The microcontroller get stuck at the line 679 in hashcrypt_sha_one_block() :  while (0U == (base->STATUS & HASHCRYPT_STATUS_WAITING_MASK))     { //stuck here     } Surprisingly, it appears to be stuck after 90 executions (our microcontroller manages to perform 89 times hashcrypt_sha_one_block without being stuck). The main call is done by embedTLS ssl_tls.c file (see err.png). Here is my current implementation of mbedtls_sha256_finish() (that I needed to implement by defining the SHA256_ALT when building mbedTLS v3.6.7 int mbedtls_sha256_finish(mbedtls_sha256_context *ctx,unsigned char *output) { status_t status; status = HASHCRYPT_SHA_Finish( HASHCRYPT, (hashcrypt_hash_ctx_t *)ctx->hash, output, NULL); return status; } Our code is bare metal, we don't have different processes.  Thank you very much for your help. Regards, Harold
View full article
FRDM-RW612(Zephyr) — CTIMER0 MAT0/GPIO0 PWMが切り替えられず、MAT1/MAT2は問題なく動作します ボード/SDK: FRDM-RW612、NXP-Zephyr v4.3.0 搭載のRGB LED(GPIO0=青、GPIO1=赤、GPIO12=緑)をpwm-ledとしてCTIMER0、それぞれチャネル0/1/2として、IO_MUX_CT0_MAT0_OUT_IO0、IO_MUX_CT0_MAT1_OUT_IO1、IO_MUX_CT0_MAT2_OUT_IO12を共用pinctrl-0グループで構成しました。3チャネルすべてでテストアプリをサイクルサイクルで実行しました。 赤色および緑色のLEDは正しくPWM制御されています(Saleaeロジックアナライザで確認済み - GPIO1およびGPIO12の波形は正常です)。青色LED(GPIO0/MAT0)は完全に消灯したままで、ロジックアナライザは平坦な線を示し、デューティサイクル(0~100%)のいずれにおいてもトグルは発生しません。GPIO0のデジタルGPIO(非PWM)トグルは問題なく動作します。 CTIMER0 MAT0チャネルのみがPWM出力に失敗します。同じタイマーインスタンス上のMAT1/MAT2は動作します。 必要なもの: GPIO0/CT0_MAT0がZephyrのFRDM-RW612上で既知の動作PWM組み合わせであるかどうかの確認。 RW612のチャネル0 CTIMER0に関するエラタムや制限に関するガイダンスがあります。 動作する.overlay例として、CTIMER を介して GPIO0 を PWM する例を挙げ、それと比較します。 frdm_rw612.オーバーレイ 「`」 #include < zephyr/dt-bindings/pwm/pwm.h> / { pwm_outputs { compatible = "pwm-leds"; pwm_gpio0: pwm_gpio0 { pwms = <&ctimer0_pwm 0 PWM_KHZ(1) PWM_POLARITY_NORMAL>; }; pwm_gpio1: pwm_gpio1 { pwms = <&ctimer0_pwm 1 PWM_KHZ(1) PWM_POLARITY_NORMAL>; }; pwm_gpio12: pwm_gpio12 { pwms = <&ctimer0_pwm 2 PWM_KHZ(1) PWM_POLARITY_NORMAL>; }; }; エイリアス { pwm-gpio0 = &pwm_gpio0; pwm-gpio1 = &pwm_gpio1; pwm-gpio12 = &pwm_gpio12; }; }; ctimer0_pwm: &ctimer0 { compatible = "nxp,ctimer-pwm"; ステータス = "okay" clk-source = <5>; クロック = <&clkctl1 MCUX_CTIMER0_CLK>; #pwm-cells = <3>; モード = <0>; プリスケール = <0>; pinctrl-0 = <&pinmux_ctimer0_pwm>; pinctrl-names = "default"; }; &pinctrl { pinmux_ctimer0_pwm: pinmux_ctimer0_pwm { グループ0 { pinmux = < IO_MUX_CT0_MAT0_OUT_IO0 IO_MUX_CT0_MAT1_OUT_IO1 IO_MUX_CT0_MAT2_OUT_IO12 >; スルーレート = "通常"; }; }; }; 「`」 評価ボード Re: FRDM-RW612 (Zephyr) — CTIMER0 MAT0/GPIO0 PWM not toggling, MAT1/MAT2 work fine こんにちは、 あなたの調子が良いといいのですが。どのアプリケーションを基準にしているのか、確認を手伝ってもらえますか? また、PWM信号をどのように測定しているのか、もう少し詳しく教えてもらえますか?各PWMに対応するFRDMの特定ピン。 よろしくお願いいたします。 リカルド Re: FRDM-RW612 (Zephyr) — CTIMER0 MAT0/GPIO0 PWM not toggling, MAT1/MAT2 work fine @Ricardo_Zamora さん、 NXP-Zephyr v4.3.0を使ってzephyr/samples/basic/rgb_ledを基にカスタムプロジェクトを作成しました。 v4.3.0でプロジェクトをビルドすると、ctimer0_pwm 0 は動作しません。しかし、v4.4.1.1以降でビルドすると、ctimer0_pwm 0は期待どおりに動作します。 テスト中にSaleae社のロジックアナライザを使用してPWM信号をキャプチャし、2つのバージョンの違いを確認しました。 これはv4.3.0のバグでしょうか?
View full article
LPC55S06のHashcryptにバグがあります こんにちは、 Hashcryptのハードウェアアクセラレーションを使用しようとした際に、無限ループに陥ってしまいました。 Hashcryptのドライバーバージョンは2.2.17です。**マイクロコントローラ**はhashcrypt_sha_one_block()の679行で止まります: while (0U == (base->STATUS & HASHCRYPT_STATUS_WAITING_MASK))     { //ここで行き詰まる     } 驚くべきことに、90回の実行後でも動かなくなったようです(私たちのマイクロコントローラは89回も動作していますhashcrypt_sha_one_block閉じ込められずに)。 メインの呼び出しはembedTLS ssl_tls.cによって行われます。ファイル(err.pngを参照)。 こちらが、mbedTLS v3.6.7を構築する際にSHA256_ALTを定義して実装する必要があったmbedtls_sha256_finish()()の現在の実装です int mbedtls_sha256_finish ( mbedtls_sha256_context * ctx , unsigned char * output ) { status_tステータス; ステータス= HASHCRYPT_SHA_Finish ( ハッシュクリプト、 ( hashcrypt_hash_ctx_t * ) ctx -> hash 、 出力、 NULL ) ; ステータスを返します。 } 私たちのコードはベアメタルで動作しており、異なるプロセスは使用していません。 ご協力いただき、誠にありがとうございました。 よろしくお願いいたします。 ハロルド
View full article
RT1021 LPSPI DMA 四路模式 你好。有人知道如何在四路模式下使用LPSPI的DMA吗?我能明白我该怎么做。DMA 是否支持四通道模式?我这样问是因为我需要设置 LPSPI_TCR[TXMSK] 来进行接收,但是当我这样做时,模块开始发送数据,并在开始 DMA 之前自动重置 LPSPI_TCR[TXMSK]。 i.MX RT101x i.MX RT102x i.MX RT105x i.MX RT106x Re: RT1021 LPSPI DMA in Quad mode Hello 能否分享一下您使用DMA在四路模式下读取LPSPI数据的代码?我尝试按照您的建议(用 TCR 而不是 TDR 写入,……)进行操作,但我仍然无法使用 DMA 在 Quad 模式下读取数据。我只能通过中断来实现。 先谢谢了,此致敬礼,杰里米 Re: RT1021 LPSPI DMA in Quad mode 现在我可以回答这个问题了。LPSPI 可以在四路模式下与 DMA 配合使用。需要重写 LPSPI_MasterTransferEDMA,以配置 DMA 写入 TCR 而不是 TDR。别忘了将传输大小改为 4 字节,因为命令寄存器只能使用 32 位写入。CFGR1 也应相应更改。 然而,四通道模式并没有帮助我提高传输速率。最大吞吐量保持在每秒 30 兆比特的限制。如果我使用四路模式和 30MHz SPI 时钟,传输会有明显的延迟 :(。因此,四路模式有助于降低SPI的时钟频率,但并不能提高波特率。 Re: RT1021 LPSPI DMA in Quad mode 谢谢你的回复。 确认后,4 位半双工传输适用于与 QuadSPI 存储设备连接,并且至少需要一位(发送数据)。 掩码(TCR[TXMSK] 或接收数据掩码 TCR[RXMSK])必须 也需要设置。 但是,当设置 TCR[RXMSK] 时,接收数据不会存储在接收 FIFO 中,如表 47-10 所示。LPSPI 中断和 DMA 请求,该机制无法触发 DMA 请求。 很抱歉之前的回复给您带来了不便。 祝你有美好的一天, 信息通信技术 ------------------------------------------------------------------------------- 笔记: - 如果此回复解答了您的问题,请点击“标记为正确答案”按钮。谢谢你! - 我们会持续关注帖子,从最后一条回复发出后持续7周,之后的回复将被忽略。 如果您之后有相关问题,请另开新帖并引用已关闭的帖子。 ------------------------------------------------------------------------------- Re: RT1021 LPSPI DMA in Quad mode 你好, jeremyzhou。 单数据SPI接收和四数据SPI接收有很大的区别。单数据SPI接收需要写入TDR寄存器来启动传输,而四数据SPI接收需要设置TCR[TXMSK](任何写入TDR的操作都会启动传输,而不是接收)。所以我的问题是:如何在四数据模式下使用DMA接收数据? Re: RT1021 LPSPI DMA in Quad mode 你好, 感谢您对恩智浦半导体产品的关注,并感谢您给我们提供服务的机会。 1)DMA 是否可以使用四通道模式? ——是的,而且在我看来,本质上,通过 DMA 方式进行的单数据 SPI 和四数据 SPI 传输之间没有区别。 祝你有美好的一天, 信息通信技术 ------------------------------------------------------------------------------- 笔记: - 如果此回复解答了您的问题,请点击“标记为正确答案”按钮。谢谢你! - 我们会持续关注帖子,从最后一条回复发出后持续7周,之后的回复将被忽略。 如果您之后有相关问题,请另开新帖并引用已关闭的帖子。 -------------------------------------------------------------------------------
View full article
RT1021 LPSPI DMA(クワッドモード) こんにちは。LPSPIのクワッドモードでDMAを使用する方法を知っている人はいますか?自分がそうできる理由は理解できます。DMAとクワッドモードを併用することは可能ですか?私がこの質問をするのは、受信のためにLPSPI_TCR[TXMSK]を設定する必要があるのですが、設定するとモジュールが送信を開始し、DMAを開始する前にLPSPI_TCR[TXMSK]を自動的にリセットしてしまうからです。 i.MXRT 101x i.MXRT 102x i.MXRT 105x i.MXRT 106x Re: RT1021 LPSPI DMA in Quad mode Hello DMAとクアッドモードでLPSPIを読み取るためのコードを教えていただけますか?あなたのアドバイス(TDRではなくTCRで書き込むなど)に従ってみましたが、DMAを使用したQuadモードでのデータ読み取りがまだできません。割り込みを使うことでようやく実現できた。 よろしくお願いいたします。ジェレミー Re: RT1021 LPSPI DMA in Quad mode これで質問に答えられます。LPSPIはDMAと併用してクワッドモードで使用することが可能です。DMAがTDRではなくTCRに書き込むように設定するには、LPSPI_MasterTransferEDMAを書き換える必要があります。コマンドレジスタへの書き込みは32ビット書き込みのみで行う必要があるため、転送サイズを4バイトに変更することを忘れないでください。CFGR1も同様に変更する必要があります。 しかし、クアッドモードは転送速度の向上には役立ちませんでした。最大スループットは毎秒30メガビットに制限されます。クワッドモードと30MHz SPIクロックを使用すると、送信にかなりの遅延が発生します:(。つまり、クアッドモードはSPIのクロックを下げるのに役立ち、ボードレートを上げるにはあまり役立ちません。 Re: RT1021 LPSPI DMA in Quad mode ご返信ありがとうございます。 確認後、4ビット半二重転送はQuadSPIメモリデバイスとのインターフェースに有用であり、少なくとも1ビット(送信データ) マスク(TCR[TXMSK]または受信データマスクTCR[RXMSK])は 設定もされる。 ただし、TCR[RXMSK]が設定されている場合、受信データは受信FIFOに格納されず、表47-10に従います。LPSPI割り込みおよびDMA要求の場合、メカニズムはDMA要求をトリガーできません。 前回の返信でご迷惑をおかけして申し訳ありませんでした。 良い一日をお過ごしください。 TIC ------------------------------------------------------------------------------- 注記: この投稿があなたの質問への回答になっている場合は、「正解としてマーク」ボタンをクリックしてください。ありがとう! - 前回の投稿から7週間Threadをフォローしており、その後の返信は無視しています もし後で関連する質問があれば、新しいThreadを開き、閉じたThreadを参照してください。 ------------------------------------------------------------------------------- Re: RT1021 LPSPI DMA in Quad mode こんにちは、 ジェレミー・ジョウ。 シングルデータSPIとクアッドデータ受信には大きな違いがあります。シングルデータSPI受信の場合はTDRレジスタに書き込みをして送信を開始する必要がありますが、クアッドデータSPI受信ではTCR[TXMSK]を設定する必要があります(TDRへの書き込みは送信開始で、受信は開始しません)。そこで質問です - DMAをクアッドデータモードで使うデータをどのように!受信するのか!データ。 Re: RT1021 LPSPI DMA in Quad mode こんにちは、 NXP Semiconductors製品へのご関心と、皆様にお仕えできる機会をいただき、ありがとうございます。 1)DMAでクワッドモードを使用することは可能ですか? はい、そして私の意見では、基本的に、シングルデータSPIとDMA方式によるクワッドデータSPI転送に違いはありません。 良い一日をお過ごしください。 TIC ------------------------------------------------------------------------------- 注記: この投稿があなたの質問への回答になっている場合は、「正解としてマーク」ボタンをクリックしてください。ありがとう! - 前回の投稿から7週間Threadをフォローしており、その後の返信は無視しています もし後で関連する質問があれば、新しいThreadを開き、閉じたThreadを参照してください。 -------------------------------------------------------------------------------
View full article
LPC55S06 上的 Hashcrypt 存在漏洞 你好, 我在尝试使用 Hashcrypt 硬件加速时遇到了无限循环。 Hashcrypt 驱动程序版本为2.2.17。微控制器卡在hashcrypt_sha_one_block () 函数的第 679 行: while (0U == (base->STATUS & HASHCRYPT_STATUS_WAITING_MASK))     { //卡在这里     } 令人惊讶的是,它在执行 90 次后似乎就卡住了(我们的微控制器能够执行 89 次hashcrypt_sha_one_block而不会卡住)。 主要调用由 embedTLS ssl_tls.c 完成。文件(参见 err.png)。 这是我目前对 mbedtls_sha256_finish() 的实现(在构建 mbedTLS v3.6.7 时,我需要通过定义 SHA256_ALT 来实现它)。 int mbedtls_sha256_finish ( mbedtls_sha256_context * ctx , unsigned char * output ) { status_t状态; 状态= HASHCRYPT_SHA_Finish ( HASHCRYPT , ( hashcrypt_hash_ctx_t * ) ctx -> hash , 输出, 无效的) ; 返回状态; } 我们的代码是裸机代码,没有不同的流程。 非常感谢您的帮助。 此致, 哈罗德
View full article
FRDM-RW612 (Zephyr) — CTIMER0 MAT0/GPIO0 PWM 不切换,MAT1/MAT2 工作正常 开发板/SDK: FRDM-RW612,NXP-Zephyr v4.3.0 将板载 RGB LED(GPIO0=蓝色,GPIO1=红色,GPIO12=绿色)配置为 CTIMER0 上的 pwm-leds,通道分别为 0/1/2,使用共享 pinctrl-0 组中的 IO_MUX_CT0_MAT0_OUT_IO0、IO_MUX_CT0_MAT1_OUT_IO1、IO_MUX_CT0_MAT2_OUT_IO12。运行测试应用程序,对所有三个通道进行占空比循环测试。 红色和绿色 LED 的 PWM 工作正常(已使用 Saleae 逻辑分析仪确认——GPIO1 和 GPIO12 上的波形干净)。蓝色 LED (GPIO0/MAT0) 完全熄灭——逻辑分析仪显示一条直线,在任何占空比 (0–100%) 下都不会切换。数字GPIO(非PWM)切换GPIO0工作正常, 只有 CTIMER0 MAT0 通道无法输出 PWM;同一定时器实例上的 MAT1/MAT2 可以正常工作。 我们需要: 确认在 Zephyr 下,FRDM-RW612 上的 GPIO0/CT0_MAT0 是否为已知可用的 PWM 组合。 关于 RW612 上 CTIMER0 通道 0 的任何勘误/限制的指导。 任何可用的 .overlay例如,通过 CTIMER 对 GPIO0 进行 PWM 控制,以便我们进行比较。 frdm_rw612.overlay ``` #include / { pwm_outputs { 兼容 = "pwm-leds"; pwm_gpio0:pwm_gpio0 { pwms = <&ctimer0_pwm 0 PWM_KHZ(1) PWM_POLARITY_NORMAL>; }; pwm_gpio1:pwm_gpio1 { pwms = <&ctimer0_pwm 1 PWM_KHZ(1) PWM_POLARITY_NORMAL>; }; pwm_gpio12:pwm_gpio12 { pwms = <&ctimer0_pwm 2 PWM_KHZ(1) PWM_POLARITY_NORMAL>; }; }; 别名 { pwm-gpio0 = &pwm_gpio0; pwm-gpio1 = &pwm_gpio1; pwm-gpio12 = &pwm_gpio12; }; }; ctimer0_pwm: &ctimer0 { 兼容 = "nxp,ctimer-pwm"; 状态 = "好的" clk-source = <5>; clocks = <&clkctl1 MCUX_CTIMER0_CLK>; #pwm-cells = <3>; 模式 = <0>; 预缩放 = <0>; pinctrl-0 = <&pinmux_ctimer0_pwm>; pinctrl-names = "default"; }; &pinctrl { pinmux_ctimer0_pwm:pinmux_ctimer0_pwm { group0 { pinmux = < IO_MUX_CT0_MAT0_OUT_IO0 IO_MUX_CT0_MAT1_OUT_IO1 IO_MUX_CT0_MAT2_OUT_IO12 >; 转换速率 = "正常"; }; }; }; ``` 评估板 Re: FRDM-RW612 (Zephyr) — CTIMER0 MAT0/GPIO0 PWM not toggling, MAT1/MAT2 work fine 你好, 希望你一切都好。请问您能否帮我们确认一下,您是以哪个应用程序为基础的? 另外,您能否详细说明一下您是如何测量PWM信号的?FRDM 中每个 PWM 的特定引脚。 顺祝商祺! 里卡多 Re: FRDM-RW612 (Zephyr) — CTIMER0 MAT0/GPIO0 PWM not toggling, MAT1/MAT2 work fine @Ricardo_Zamora , 我使用 NXP-Zephyr v4.3.0 创建了一个基于 zephyr/samples/basic/rgb_led 的自定义项目。 当我使用 v4.3.0 构建项目时,ctimer0_pwm 0 不起作用。但是,当我使用 v4.4.1.1 或更高版本进行构建时,ctimer0_pwm 0 可以按预期工作。 我在测试过程中使用 Saleae 逻辑分析仪捕获 PWM 信号,并确认了两个版本之间的差异。 这会不会是 v4.3.0 版本的一个 bug?
View full article