Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
Example FRMD-A-S32K344 FlexCAN TX_RX FreeRTOS S32DS36 RTD600 * ================================================================================================= * Detailed Description: * * This example demonstrates Classical CAN and CAN FD reception and transmission using * interrupt-driven Message Buffers and FreeRTOS. * * FlexCAN0 is configured in Normal mode. MB0 receives standard-ID frames and MB1 receives * extended-ID frames. The FlexCAN callback copies every received frame into a FreeRTOS queue * and immediately rearms the corresponding RX Message Buffer. * * A dedicated FreeRTOS task waits for frames in the queue and echoes them through CAN TX MB2. * The transmitted frame preserves the received identifier type, identifier, payload length, * payload, CAN FD EDL state, and BRS state. The user LED is toggled after a transmit request * is accepted by the driver. * * Note: * FreeRTOS API functions such as xQueueSendFromISR() are used from the FlexCAN callback. * Therefore, the FlexCAN interrupt priority must comply with the FreeRTOS interrupt-priority * requirements defined by configMAX_SYSCALL_INTERRUPT_PRIORITY. * * ================================================================================================= * Test HW: FRDM-A-S32K344 (SCH-94921 / SPF-94921 Rev. C) * MCU: S32K344 * Compiler: S32DS 3.6.x * RTD release: S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_20250610 * Debugger: On-Board Debugger * Target: Internal_FLASH * Communication: Classical CAN / CAN FD, STD and EXT ID, optional BRS * =================================================================================================
記事全体を表示
Example S32K344 LPSPI LCD-PAR-S035 FRDM S32DS 3.6.6 RTD 7.0.1 * Detailed Description: * * This project provides a minimal bring-up and reference example for the LCD-PAR-S035 * display and GT911 capacitive touchscreen on the S32K344. It includes standalone LCD * and touchscreen diagnostic modes, together with an LVGL demonstration mode. * * The display is controlled through the LPSPI interface using the ST7796S * display controller driver. The touchscreen is controlled through the LPI2C * interface and uses GPIO signals for interrupt and reset control. * * The original LCD, DBI and touchscreen drivers were obtained from an NXP * App Code Hub MCUXpresso SDK example and adapted to the S32K3 RTD * environment. The project also integrates LVGL 9.4 as the graphical user * interface library. * * The application mode is selected at compile time using the APP_MODE macro * defined in this file. It allows the user to select a standalone display * test, a standalone touchscreen test or the complete LVGL demonstration. * Only one application mode shall be selected for each build. * * A graphical application can be designed using NXP GUI Guider 2.0.1. * GUI Guider is configured for LVGL 9.4.0. The contents of the GUI Guider * "generated" and "custom" output directories can be copied directly into * the corresponding gui_guider directories in this project. After replacing * the generated output, the project shall be rebuilt to include the updated * screens, widgets, events and custom callbacks. * * Installed packages for S32 Design Studio 3.6.6: * * SW32K3_S32M27x_RTD_R23-11_7.0.1_D2603_DesignStudio_updatesite.zip * * Software Sources: * * NXP App Code Hub demo: * https://github.com/nxp-appcodehub/dm-https-lcd-led-demo * * LVGL release/v9.4: * https://github.com/lvgl/lvgl/tree/release/v9.4 * * NXP GUI Guider 2.0.1: * https://www.nxp.com/webapp/Download?colCode=GUI-GUIDER-INSTALLER-2.0.1-WIN&appType=license * * Hardware: * * FRDM-A-S32K344: * Remove jumper JP11 when using an external debugger. * * LCD-PAR-S035: * Set SW1 to 111. * * Board Connections: * * +------------------+----------------------+-----------------+-------------------+------------------------------+ * | FRDM-A-S32K344 | MCU Signal | LCD-PAR-S035 | LCD-PAR-S035 | Function | * | Connector | | Signal | Connector | | * +------------------+----------------------+-----------------+-------------------+------------------------------+ * | J2-20 | PTC27 / GPIO | TP_INT | J5-12 | Touch interrupt, active low | * | J2-19 | PTC7 / LPI2C1_SCL | TP_SCL | J5-8 | Touchscreen I2C clock | * | J2-17 | PTC6 / LPI2C1_SDA | TP_SDA | J5-6 | Touchscreen I2C data | * | J2-13 | GND | GND | J5-4 | Signal ground | * | J2-11 | PTB14 / LPSPI1_SCK | LCD_WR | J5-5 | LCD SPI clock | * | J2-9 | PTB15 / LPSPI1_SIN | LCD_RD | Not connected | SPI data from LCD | * | J2-7 | PTB16 / LPSPI1_SOUT | LCD_MOSI | J5-9 | SPI data to LCD | * | J2-5 | PTB17 / GPIO | LCD_CS | J5-11 | LCD chip select, active low | * | J2-3 | PTC10 / GPIO | LCD_D_C | J5-7 | Command low, data high | * | J2-1 | PTC11 / GPIO | LCD_RST | J5-10 | LCD reset, active low | * | JA3-3 | VDD_HV_A | VCC | J5-1 or J5-2 | 3.3 V supply | * | JA3-13 or JA3-15 | GND | GND | J5-3 | Power ground | * +------------------+----------------------+-----------------+-------------------+------------------------------+ * * Project Files: * * Format: * File or directory - Description - Source - License * * | lvgl_app.c/.h * | LVGL application layer * | Created for this project * | NXP proprietary license * | * | lv_conf.h * | Project-specific LVGL configuration * | Derived from the LVGL v9.4.0 configuration template * | MIT License * | * | lv_port.c/.h * | LVGL initialization and S32K3 port layer * | Created for this project * | NXP proprietary license * | * | main.c * | Application entry point and compile-time mode selection * | Created for this project * | NXP proprietary license * | * +---gui_guider * | +---custom * | | User callbacks and custom GUI logic * | | GUI Guider 2.0.1 output * | | NXP proprietary license * | | * | \---generated * | Generated screens, widgets and events * | GUI Guider 2.0.1 output * | NXP proprietary license * | * +---lcdc * | fsl_st7796s.c/.h * | ST7796S LCD controller driver * | NXP App Code Hub demo * | BSD-3-Clause License * | * +---lcd_par_s035 * | lcd_par_s035.c/.h * | LCD-PAR-S035 board and display integration * | Created for this project * | NXP proprietary license * | * | lcd_par_s035_config.h * | LCD-PAR-S035 project configuration * | Created for this project * | NXP proprietary license * | * +---lvgl * | \---src * | LVGL 9.4 graphics library * | LVGL release/v9.4 * | MIT License * | * +---platform * | display_compat.h * | MCUXpresso SDK and S32K3 RTD compatibility definitions * | Created for this project * | NXP proprietary license * | * | fsl_dbi.c/.h * | Generic display bus interface implementation * | NXP App Code Hub demo * | BSD-3-Clause License * | * | lcd_dbi_s32k3.c/.h * | S32K3 DBI transport implementation using LPSPI * | Created for this project * | NXP proprietary license * | * | lcd_platform.c/.h * | S32K344 board and platform abstraction * | Created for this project * | NXP proprietary license * | * \---touchpanel * fsl_gt911.c/.h * GT911 touchscreen controller driver * NXP App Code Hub demo * BSD-3-Clause License * * gt911_s32k3.c/.h * S32K3 adaptation using LPI2C and GPIO * Created for this project * NXP proprietary license * * ---------------------------------------------------------------------------- * Test Hardware: FRDM-A-S32K344, schematic revision B * MCU: S32K344 * Display: LCD-PAR-S035 with ST7796S controller * Touchscreen: GT911 capacitive touchscreen controller * Debugger: Lauterbach TRACE32 * Build Target: internal_FLASH
記事全体を表示
cst creates invalid RSA-PSS signatures with old OpenSSL When using cst with OpenSSL < 3.1 the salt used in the PSS signatures is too long. Processors like the i.MX91 expect the salt to have the same length as the digest, but before OpenSSL 3.1 the default was to make the salt as big as possible. But even with newer OpenSSL versions using the default is not good as it will accept shorter salts during signature verification. The fix is to call EVP_PKEY_CTX_set_rsa_pss_saltlen with second parameter set to RSA_PSS_SALTLEN_DIGEST. Note that OpenSSL 3.0 is EOL since last month. Security
記事全体を表示
私を驚かせたストリーミングサービス これまでいくつかのストリーミングサービスを試してきましたが、一貫性のあるものを見つけるのは思ったより難しいことがあります。 最近、 NexusIPTV を しばらくテストして み たところ、全体的な体験に非常に驚きました。ストリーミング品質は良好で、チャネルの読み込みも速く、テストしたデバイス間でサービスも良好に動作しました。 アメリカ、イギリス、カナダ にお住まいの方にとっては 、比較検討するサービスのリストに加えておく価値があるかもしれません。 私の体験談については、こちらに詳しく書きました。 👉 私の全体験
記事全体を表示
ARA2-M2-16G-GT In the ARA2-M2-16G-GT Board User Manual Pin 40 is I2C_SDA and Pin 42 is I2C_SCL. in the FRDM-IMX8MPLUS schematic Pin 40 is I2C_SCL and Pin 42 is I2C_SDA. what the correct pinout? thanks  Board Design
記事全体を表示
GUI Guider画面(i.MX RT)で短いループ状の製品動画を表示する i.MX RTボード上で動作するGUI Guiderプロジェクトのアイドル画面で、約10秒ほどの短いループ状の製品デモクリップをお見せしたいと思います。これらのクリップは、Nereo( https://www.nereo.io/ )などのAIビデオツールを使用して作成された短いマーケティングビデオです。したがって、ソースは通常のH.264 MP4です。 質問: GUI Guiderでは、MP4を画像シーケンスに変換してアニメーション画像ウィジェットを使用する方法が推奨されていますか?それとも、より適切な方法(例えばMJPEG/AVIプレーヤーなど)はありますか? RT1170 / RT1060 i.MX タッチの応答性に影響を与えずに現実的なフレームレートと解像度はどれくらいでしょうか? この用途でフレームを外部フラッシュに保存するのとSDカードで保存する方法について、何かアドバイスはありますか? 参考になる例やアプリの説明書などがあれば教えていただけると助かります。
記事全体を表示
ADC转换时间问题 您好,NXP技术支持, 我正在使用 S32 设计工作室和 RTD 驱动程序对 S32K312 MCU 进行开发,并且我正在尝试了解单通道正常转换的 SAR ADC 的实际转换时序。 我的配置如下: MCU:S32K312 核心频率:120 MHz ADC功能时钟:120 MHz ADC模式:正常转换 通道数:1 预采样:已禁用 采样时间:33 个 ADC 时钟周期 我计算中使用的转换时间:48 个 ADC 时钟周期 硬件平均值:此测试中已禁用 已启用链结束通知/中断 相关代码如下: int main(void) { Clock_Ip_Init(&Clock_Ip_aClockConfig[0]); IntCtrl_Ip_Init(&IntCtrlConfig_0); IntCtrl_Ip_EnableIrq(ADC0_IRQn); Siul2_Port_Ip_Init( NUM_OF_CONFIGURED_PINS_PortContainer_0_BOARD_InitPeripherals, g_pin_mux_InitConfigArr_PortContainer_0_BOARD_InitPeripherals ); volatile Adc_Sar_Ip_StatusType status = ADC_SAR_IP_STATUS_ERROR; status = Adc_Sar_Ip_Init(0, &AdcHwUnit_0); 状态 = Adc_Sar_Ip_DoCalibration(0); Adc_Sar_Ip_EnableNotifications( 0, ADC_SAR_IP_NOTIF_FLAG_NORMAL_ENDCHAIN ); Siul2_Dio_Ip_TogglePins(PTA_L_HALF, 1U < 1U); Adc_Sar_Ip_StartConversion( 0, ADC_SAR_IP_CONV_CHAIN_NORMAL ); while(1) { __asm__ ("nop"); } } void Adc_EndOfNormalChain_Callback(void) { Siul2_Dio_Ip_TogglePins(PTA_L_HALF, 1U < 1U); } 我使用逻辑分析仪测量两次 GPIO 转换之间的时间。 仅根据 ADC 时序,我计算得出大约为 700ns。 然而,测得的 GPIO 脉冲宽度约为 4us。 我想了解以下内容: 当禁用预采样和硬件平均时,单次法线转换的正确公式是什么? Adc_Sar_Ip_DoCalibration()执行的 ADC 校准是否会影响后续每次 ADC 转换的时序,还是仅在初始化期间计算/存储校准值? 增益校正、偏移校正、内部电容充电、建立时间或任何内部ADC处理是否会给每次转换增加额外的周期? S32K312 SAR ADC 在正常转换模式下,单通道的精确转换时间公式是什么? 测量的时间间隔是否为: Adc_Sar_Ip_StartConversion() 和Adc_EndOfNormalChain_Callback() 是否包括显著的RTD软件开销、中断延迟、ISR处理或回调开销? 是否有推荐的方法可以只测量ADC硬件转换时间,而不包括RTD和中断开销? 如果可以,能否提供此配置下预期的ADC时序(以时钟周期为单位)? 我的主要目标是确定大约 4 µs 的测量结果主要是由 ADC 硬件时序引起的,还是由 RTD/中断/软件开销引起的。 任何关于ADC转换的帮助都将不胜感激! 谢谢。 Re: ADC Conversion time issue 您好, ADC转换时间方程直接在S32K3参考手册第60.3.18节中给出。“转换时间”。对于您的配置(单通道,预采样禁用,硬件平均禁用),可以使用该公式和配置的 ADC 时钟计算转换时间。 补充几点: 1. Adc_Sar_Ip_DoCalibration() 不会影响后续转换的时机。校准在初始化期间执行,然后校准值被ADC硬件使用。 2. 测得的 ~4 µs 不仅仅是 ADC 转换时间。您的测量范围: Adc_Sar_Ip_StartConversion() ADC采样和转换 ADC中断生成 NVIC中断延迟 RTD ISR 处理 回调调度 GPIO 切换操作 因此,测得的脉冲宽度包括ADC硬件时间和软件开销。预计转换时间将明显长于仅使用 RM 公式计算出的转换时间。 3. 为了更准确地测量ADC硬件转换时间,我们可以推荐以下方法: Adc_Sar_Ip_StartConversion() 返回后立即切换第一个 GPIO。这样就从测量的脉冲中消除了大部分启动 API 执行时间。 在 ADC 中断处理程序中,在调用配置的通知回调之前,尽早切换 GPIO。这样就将中断入口与回调分发开销分开了。 为了最大限度地降低 GPIO 软件开销,暂时使用直接写入 SIUL2 GPIO 寄存器,而不是使用 Siul2_Dio_Ip_TogglePins()。 或者,轮询 ADC 链结束状态标志,并在硬件标志设置后立即切换 GPIO。这不包括 NVIC 和回调开销,但轮询循环和 GPIO 写入延迟仍然存在。 因此,根据所提供的信息,~4 µs 的测量结果很可能是由整个软件/中断路径主导,而不是 ADC 转换本身。 BR,彼得
記事全体を表示
My Experience Finding a Reliable IPTV Service in 2026 After trying and comparing different IPTV services, I found that Nexusiptv.live has been one of the better options for my needs, especially when looking at streaming stability, video quality, and content availability for viewers in the USA, UK, and Canada. Of course, performance can depend on your internet connection and location, but my overall experience has been positive so far. I wrote a more detailed article about what I looked for when choosing a reliable IPTV service in 2026: 👉 Read my full experience on Medium
記事全体を表示
ARA2-M2-16G-GT 在 ARA2-M2-16G-GT 板用户手册中,引脚 40 为 I2C_SDA,引脚 42 为 I2C_SCL。 在 FRDM-IMX8MPLUS 原理图中,引脚 40 为 I2C_SCL,引脚 42 为 I2C_SDA。 正确的引脚排列是什么? 谢谢  电路板设计
記事全体を表示
2026年に信頼できるIPTVサービスを見つける私の経験 さまざまなIPTVサービスを試して比較した結果、特にアメリカ、イギリス、カナダの視聴者のストリーミングの安定性、映像品質、コンテンツの利用可能性を考えると、Nexusiptv.live が私のニーズに合った選択肢の一つだと感じました。 もちろん、パフォーマンスはインターネット接続や場所によって変わりますが、全体的にはこれまでのところ良い経験です。 2026年に信頼できるIPTVサービスを選ぶ際に私が重視した点について、より詳細な記事を書きました。 👉 Mediumで私の体験談全文をお読みください。
記事全体を表示
我在2026年寻找可靠IPTV服务的经验 在尝试和比较了不同的 IPTV 服务之后,我发现Nexusiptv.live是比较符合我需求的选择之一,尤其是在流媒体稳定性、视频质量以及为美国、英国和加拿大的观众提供内容方面。 当然,性能可能取决于您的网络连接和所在位置,但到目前为止,我的整体体验是积极的。 我写了一篇更详细的文章,介绍了我在2026年选择可靠的IPTV服务时所考虑的因素: 👉 在 Medium 上阅读我的完整经历。
記事全体を表示
ADC変換時間の問題 こんにちは、NXPサポートの皆さん、 私はS32 Design StudioとRTDドライバーを使ってS32K312 MCUを扱っており、シングルチャネルの通常変換におけるSAR ADCの実際の変換タイミングを理解しようとしています。 私の設定は以下の通りです。 MCU:S32K312 コアクロック:120MHz ADC機能クロック:120MHz ADCモード:通常変換 チャネル数:1 プリサンプリング:無効 サンプリング時間:33 ADCクロックサイクル 計算に使用した変換時間:48 ADCクロックサイクル ハードウェア平均化:このテストでは無効になっています チェーン終了通知/割り込みが有効 該当するコードは以下のとおりです。 int main(void) { Clock_Ip_Init(&Clock_Ip_aClockConfig[0]); IntCtrl_Ip_Init(&IntCtrlConfig_0); IntCtrl_Ip_EnableIrq(ADC0_IRQn); Siul2_Port_Ip_Init( NUM_OF_CONFIGURED_PINS_PortContainer_0_BOARD_InitPeripherals, g_pin_mux_InitConfigArr_PortContainer_0_BOARD_InitPeripherals ); volatile Adc_Sar_Ip_StatusType status = ADC_SAR_IP_STATUS_ERROR; status = Adc_Sar_Ip_Init(0, &AdcHwUnit_0); ステータス = Adc_Sar_Ip_DoCalibration(0); Adc_Sar_Ip_EnableNotifications( 0, ADC_SAR_IP_NOTIF_FLAG_NORMAL_ENDCHAIN ); Siul2_Dio_Ip_TogglePins(PTA_L_HALF, 1U < 1U); Adc_Sar_Ip_StartConversion( 0, ADC_SAR_IP_CONV_CHAIN_NORMAL ); while(1) { __asm__ ("nop"); } } void Adc_EndOfNormalChain_Callback(void) { Siul2_Dio_Ip_TogglePins(PTA_L_HALF, 1U < 1U); } ロジックアナライザを使用して、2つのGPIO遷移間の時間を測定します。 ADCのタイミングのみに基づいて計算したところ、約700ナノ秒という値が得られました。 しかし、測定されたGPIOパルス幅は約4μsである。 以下の点について理解を深めたいです。 プリサンプリングとハードウェア平均化が無効になっている場合、単一の正規変換を行うための正しい式は何ですか? Adc_Sar_Ip_DoCalibration()によって実行される ADC キャリブレーションは、後続のすべての ADC 変換のタイミングに影響しますか、それとも初期化時にのみキャリブレーション値を計算/保存しますか? ゲイン補正、オフセット補正、内部コンデンサの充電、セトルタイム、または内部ADCプロセッシングは変換ごとに追加のサイクルを加えるのでしょうか? 通常の変換モードでの1チャネルのS32K312 SAR ADCの正確な変換時間公式は何ですか? 測定された時間間隔は: Adc_Sar_Ip_StartConversion() およびAdc_EndOfNormalChain_Callback() RTDソフトウェアのオーバーヘッド、割り込みレイテンシ、ISR処理、またはコールバックオーバーヘッドを含むべきか? RTDや割り込みのオーバーヘッドを除き、ADCハードウェア変換時間のみを測定する推奨される方法はありますか? 可能であれば、この構成で期待されるADCタイミング(クロックサイクル単位)を教えてもらえますか? 私の主な目的は、約4μsの測定値が主にADCのハードウェアタイミングによるものか、RTD/割り込み/ソフトウェアのオーバーヘッドによるものかを明らかにすることです。 このADC変換に関するご協力は大歓迎です! ありがとう。 Re: ADC Conversion time issue こんにちは、 ADC変換時間の方程式はS32K3リファレンスマニュアル60.3.18節に直接記載されています「変換時間」あなたの設定(シングルチャネル、プリサンプリング無効、ハードウェア平均無効)では、その式と設定されたADCクロックを使って変換時間を計算できます。 補足事項: 1. Adc_Sar_Ip_DoCalibration() は、後続の変換のタイミングに影響を与えません。キャリブレーションは初期化時に実行され、そのキャリブレーション値はADCハードウェアによって使用されます。 2. 測定された約4µsは、ADC変換時間だけではありません。測定範囲: Adc_Sar_Ip_StartConversion() ADCサンプリングと変換 ADC割り込み生成 NVIC割り込みレイテンシ RTD ISRプロセッシング コールバックディスパッチ GPIOトグル操作 したがって、測定されたパルス幅にはADCのハードウェア時間とソフトウェアのオーバーヘッドの両方が含まれます。これは、RM式のみから計算される変換時間よりも明らかに長くなると予想される。 3. ADCハードウェア変換時間をより正確に測定するために、以下に推奨します Adc_Sar_Ip_StartConversion() が戻った直後に、最初の GPIO をトグルします。これにより、測定されたパルスから、起動APIの実行時間の大部分が除去されます。 ADC割り込みハンドラでは、設定された通知コールバックを呼び出す前に、できるだけ早い段階でGPIOを切り替えてください。これにより、割り込み処理の開始とコールバックディスパッチのオーバーヘッドが分離されます。 GPIOソフトウェアの負荷を最小限に抑えるために、Siul2_Dio_Ip_TogglePins()の代わりに一時的に直接SIUL2 GPIOレジスタ書き込みを使用してください。 あるいは、ADCのチェーン終了ステータスフラグをポーリングし、ハードウェアフラグがセットされたらすぐにGPIOを切り替える。これによりNVICやコールバックのオーバーヘッドは除外されますが、ポーリングループやGPIO書き込みレイテンシは残ります。 したがって、提供された情報に基づくと、~4μsの測定値はADC変換自体よりもソフトウェア/割り込み経路全体に支配されている可能性が高いです。 BR、ペトル
記事全体を表示
cst は古い OpenSSL を使用して無効な RSA-PSS 署名を作成する OpenSSL 3.1未満でcstを使用する場合、PSS署名で使用されるソルトが長すぎます。i.MX91のようなプロセッサはソルトの長さがダイジェストと同じであることを期待していますが、OpenSSL 3.1以前はデフォルトでソルトをできるだけ大きくするのが一般的でした。 しかし、新しいバージョンのOpenSSLであっても、デフォルト設定を使用するのは良くありません。なぜなら、署名検証時に短いソルトを受け入れてしまうからです。 解決策は、EVP_PKEY_CTX_set_rsa_pss_saltlen 関数を呼び出し、2 番目のパラメータを RSA_PSS_SALTLEN_DIGEST に設定することです。 なお、OpenSSL 3.0は先月からサポート終了となっています。 Security
記事全体を表示
ARA2-M2-16G-GT ARA2-M2-16G-GTボードのユーザーマニュアルでは、ピン40はI2C_SDA、ピン42はI2C_SCLされています。 FRDM-IMX8MPLUSの回路図では、ピン40はI2C_SCL、ピン42はI2C_SDAです。 正しいピン配置は何ですか? よろしくお願いします。 ボード設計
記事全体を表示
ADC Conversion time issue Hello NXP Support, I am working with an S32K312 MCU using S32 Design Studio and RTD drivers, and I am trying to understand the actual conversion timing of the SAR ADC for a single-channel normal conversion. My setup is: MCU: S32K312 Core clock: 120 MHz ADC functional clock: 120 MHz ADC mode: Normal conversion Number of channels: 1 Pre-sampling: Disabled Sampling time: 33 ADC clock cycles Conversion time used in my calculation: 48 ADC clock cycles Hardware averaging: Disabled for this test End-of-chain notification/interrupt enabled The relevant code is: int main(void) { Clock_Ip_Init(&Clock_Ip_aClockConfig[0]); IntCtrl_Ip_Init(&IntCtrlConfig_0); IntCtrl_Ip_EnableIrq(ADC0_IRQn); Siul2_Port_Ip_Init( NUM_OF_CONFIGURED_PINS_PortContainer_0_BOARD_InitPeripherals, g_pin_mux_InitConfigArr_PortContainer_0_BOARD_InitPeripherals ); volatile Adc_Sar_Ip_StatusType status = ADC_SAR_IP_STATUS_ERROR; status = Adc_Sar_Ip_Init(0, &AdcHwUnit_0); status = Adc_Sar_Ip_DoCalibration(0); Adc_Sar_Ip_EnableNotifications( 0, ADC_SAR_IP_NOTIF_FLAG_NORMAL_ENDCHAIN ); Siul2_Dio_Ip_TogglePins(PTA_L_HALF, 1U << 1U); Adc_Sar_Ip_StartConversion( 0, ADC_SAR_IP_CONV_CHAIN_NORMAL ); while (1) { __asm__("nop"); } } void Adc_EndOfNormalChain_Callback(void) { Siul2_Dio_Ip_TogglePins(PTA_L_HALF, 1U << 1U); } I measure the time between the two GPIO transitions using a logic analyzer. Based on the ADC timing alone, I calculated it, which gives approximately 700ns. However, the measured GPIO pulse width is approximately 4us. I would like to understand the following: What is the correct formula for a single normal conversion when pre-sampling and hardware averaging are disabled? Does the ADC calibration performed by Adc_Sar_Ip_DoCalibration() affect the timing of every subsequent ADC conversion, or does it only calculate/store calibration values during initialization? Do gain correction, offset correction, internal capacitor charging, settling time, or any internal ADC processing add additional cycles to every conversion? What is the exact conversion-time formula for the S32K312 SAR ADC for one channel in normal conversion mode? Does the measured time between: Adc_Sar_Ip_StartConversion() and Adc_EndOfNormalChain_Callback() include significant RTD software overhead, interrupt latency, ISR processing, or callback overhead? Is there a recommended method to measure only the ADC hardware conversion time, excluding RTD and interrupt overhead? If possible, could you provide the expected ADC timing in clock cycles for this configuration? My main objective is to determine whether the approximately 4 µs measurement is caused mainly by ADC hardware timing or by RTD/interrupt/software overhead. Any help related to this ADC conversion is appreciated!! Thank you.  Re: ADC Conversion time issue Hi, The ADC conversion-time equation is provided directly in S32K3 Reference Manual, section 60.3.18 "Conversion time". For your configuration (single channel, pre-sampling disabled, hardware averaging disabled), the conversion time can be calculated using that formula and the configured ADC clock. A few additional notes: 1. Adc_Sar_Ip_DoCalibration() does not affect the timing of subsequent conversions. Calibration is executed during initialization and the calibration values are then used by the ADC hardware. 2. The measured ~4 µs is not ADC conversion time only. Your measurement spans: Adc_Sar_Ip_StartConversion() ADC sampling and conversion ADC interrupt generation NVIC interrupt latency RTD ISR processing Callback dispatch GPIO toggle operations Therefore, the measured pulse width includes both ADC hardware time and software overhead. It is expected to be noticeably larger than the conversion time calculated from the RM formula alone. 3. To measure the ADC hardware conversion time more accurately, we can recommend below Toggle the first GPIO immediately after Adc_Sar_Ip_StartConversion() returns. This removes most of the start-API execution time from the measured pulse. In the ADC interrupt handler, toggle GPIO as early as possible, before calling the configured notification callback. This separates interrupt entry from callback-dispatch overhead. For the lowest GPIO software overhead, temporarily use a direct SIUL2 GPIO register write instead of Siul2_Dio_Ip_TogglePins(). Alternatively, poll the ADC end-of-chain status flag and toggle the GPIO immediately when the hardware flag becomes set. This excludes NVIC and callback overhead, although polling-loop and GPIO-write latency remain. So, based on the information provided, the ~4 µs measurement is most likely dominated by the complete software/interrupt path rather than the ADC conversion itself. BR, Petr
記事全体を表示
适用于 Mcuxpresso 的 MIMXRT1010 SDK 您好, 我一直使用 mcuxpresso ide(版本 25.6)和 SDK_2.x_FRDM-K64F,利用连接到 FRDM-K64F 评估套件上的 nrf24l01 芯片,在 2.4 GHz 频段上构建网络。我想在网络中添加几套MIMXRT1010评估套件。我正在尝试安装 SDK_2_11_0_EVK-MIMXRT1010-AGM01.zip,以便使用同一个 IDE 在 RT1010s 上构建系统。它似乎已经下载并安装,但却被默默忽略了。系统提示该软件已存在,但在“已安装的SDK”面板中只有FRDM-K64F。我已经仔细地重新编译了SDK,确保包含了mcuxpresso IDE,并且我是在Linux系统上进行开发。 我是否可能受到了某种未知病毒的攻击? 非常感谢您的帮助。 干杯 奈杰尔
記事全体を表示
cst 使用旧版 OpenSSL 生成无效的 RSA-PSS 签名。 当使用 cst 和 OpenSSL < 3.1 时,PSS 签名中使用的 salt 过长。像 i.MX91 这样的处理器期望 salt 的长度与 digest 的长度相同,但在 OpenSSL 3.1 之前,默认做法是让 salt 尽可能长。 但即使是较新的 OpenSSL 版本,使用默认设置也不好,因为它在签名验证期间会接受较短的盐值。 解决方法是调用 EVP_PKEY_CTX_set_rsa_pss_saltlen,并将第二个参数设置为 RSA_PSS_SALTLEN_DIGEST。 请注意,OpenSSL 3.0 已于上个月停止维护。 安全
記事全体を表示
一个让我感到惊喜的流媒体服务 这些年来我尝试过好几种流媒体服务,但要找到一个始终保持稳定的服务比想象中要难得多。 最近我试用了NexusIPTV ,整体体验让我非常满意。流媒体播放质量很好,频道加载速度很快,而且在我测试过的所有设备上都能流畅运行。 对于 美国、英国和加拿大 的人们来说 ,或许值得将这项服务添加到比较列表中。 我在这里详细描述了我的经历: 👉 我的完整经历
記事全体を表示
A Streaming Service That Surprised Me I’ve tried several streaming services over the years, and finding one that remains consistent can be harder than expected. Recently, I spent some time testing NexusIPTV and was positively surprised by the overall experience. The streaming quality was good, channels loaded quickly, and the service worked well across the devices I tested. For people in the USA, UK, and Canada, it may be worth adding to the list of services to compare. I wrote more about my experience here: 👉 My full experience
記事全体を表示
MIMXRT1010 SDK for Mcuxpresso こんにちは、 私はmcuxpresso ide(V25.6)と、SDK_2.x_FRDM-K64Fを使って、FRDM-K64F評価キットにnrf24l01を接続して2.4 GHzのネットワークを構築しています。MIMXRT1010評価キットを2つネットワークに追加したい。RT1010sで同じIDEを使ってシステムを構築するためにSDK_2_11_0_EVK-MIMXRT1010-AGM01.zipをインストールしようとしています。ダウンロードとインストールは完了したように見えるが、その後は何も通知されずに放置される。すでに存在しているというメッセージはありますが、「インストール済みSDKs」パネルにあるのはFRDM-K64Fだけです。私はdmaxpresso IDEを含めているか慎重にSDKを再構築し、Linux上で開発しています。 未知のバグに攻撃されている可能性はありますか? どんなご協力でもありがたいです。 乾杯 ナイジェル
記事全体を表示