Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
FRDM-A-S32K344: LPI2C Master Example Project Using Onboard I2C Devices Hello Community, I am working with the FRDM-A-S32K344 (S32K344MINI-EVB) board using: S32DS 3.5.8 RTD 4.0.0 (R21-11) I successfully imported and built the I2c_Ip_Example_S32K344_Q172 project and reviewed the existing configuration. After reviewing the board user manual, I noticed that the default LPI2C bus is connected to several onboard I²C devices, including the FXLS8964 accelerometer, P3T1750 temperature sensor. I would like to evaluate LPI2C in Master mode and communicate with one of the onboard slave devices (preferably the FXLS8964 or P3T1750). Could you please provide: Recommended configuration for LPI2C Master mode. Any available example project for FRDM-A-S32K344. Guidance on reading data from the onboard sensors using the I2c_Ip driver. Any example project, application note, or reference implementation would be greatly appreciated. Thank you for your support. Best Regards, Veer Re: FRDM-A-S32K344: LPI2C Master Example Project Using Onboard I2C Devices Hi@Veereshh I suggest installing S32 DS V3.6.x and RTD 7.0.1. If you still wish to use RTD 4.0.0, you can refer to the example projects for S32 DS V3.6.x or simply use the latest version of RTD to develop your application. Re: FRDM-A-S32K344: LPI2C Master Example Project Using Onboard I2C Devices Hi @Senlent , Thank you for the clarification. Since I am currently using S32 DS v3.5 and already have the I2c_Ip_Example_S32K344_Q172 project imported from the RTD examples (I2C Slave mode working successfully), I am considering the following approach: Download the Application Code Hub example "Motion and Temperature Sensing using LPI2C and GPIO on FRDM-A-S32K344 with MCAL Drivers" manually. Reuse the application source files (such as accelerometer_sensor, motion_detector, temperature_sensor files, and the application code). Integrate them into my existing RTD example project and adapt the configuration as required. Does this sound like a reasonable approach for S32DS v3.5.8? Or would you recommend a different migration path considering the RTD version differences between the Application Code Hub example and my current environment? Thank you for your guidance. Best Regards, Veer Re: FRDM-A-S32K344: LPI2C Master Example Project Using Onboard I2C Devices Hi@Veereshh The version of S32 DS you are using is too old; you should install the latest version, as older versions do not include the "Code Hub" option. Re: FRDM-A-S32K344: LPI2C Master Example Project Using Onboard I2C Devices Hi @Senlent , Thank you for your suggestion. I reviewed the Application Code Hub example "Motion and Temperature Sensing using LPI2C and GPIO on FRDM-A-S32K344 with MCAL Drivers" and started following the implementation steps. However, I noticed that my S32 Design Studio v3.5.8 does not show the "Import Project from Application Code Hub" option in the Dashboard after opening the workspace, while it is available in the screenshot you shared.  Could this be because my S32DS version is older? If so, is there an alternative way to import or download the Application Code Hub example projects when using S32DS v3.5.8? If yes, could you please provide the steps to import the project manually in S32DS v3.5.8? Thank you for your support. Best Regards, Veer Re: FRDM-A-S32K344: LPI2C Master Example Project Using Onboard I2C Devices Hi@Veereshh You can find a lot of demo from "Import Project from Application Code Hub" However, it should be noted that the RTD version used in these demos is the latest one.
記事全体を表示
FRDM-A-S32K344:オンボードI2Cデバイスを使用したLPI2Cマスターのサンプルプロジェクト コミュニティの皆様、こんにちは。 私はFRDM-A-S32K344(S32K344MINI-EVB)ボードを使用して作業しています。 S32DS 3.5.8 RTD 4.0.0 (R21-11) I2c_Ip_Example_S32K344_Q172プロジェクトのインポートとビルドに成功し、既存の設定を確認しました。 基板のユーザーマニュアルを確認したところ、デフォルトのLPI2Cバスは FXLS8964加速度センサや P3T1750温度センサを含む複数のオンボードI²Cデバイスに接続されていることに気が付きました。 LPI2Cをマスターモードで評価し、オンボードのスレーブデバイス(できればFXLS8964またはP3T1750)のいずれかと通信したいと考えています。 以下の情報を提供していただけますか: LPI2Cマスターモードの推奨構成。 FRDM-A-S32K344用の利用可能なサンプルプロジェクトはありますか? I2c_Ipドライバを使ってオンボードセンサからデータを読み取るためのガイダンス。 プロジェクトの例、アプリケーションノート、または参考実装があれば大変ありがたいです。 ご支援ありがとうございます。 よろしくお願いします、 ヴィール Re: FRDM-A-S32K344: LPI2C Master Example Project Using Onboard I2C Devices こんにちは、@ Veereshh S32 DS V3.6.xとRTD 7.0.1をインストールすることをお勧めします。 それでもRTD 4.0.0を使用したい場合は、S32 DS V3.6.xの例プロジェクトを参照するか、単に参照してください RTDの最新バージョンを使ってアプリケーションを開発しましょう。 Re: FRDM-A-S32K344: LPI2C Master Example Project Using Onboard I2C Devices こんにちは、 @Senlent さん。 ご説明いただきありがとうございます。 現在S32 DS v3.5を使用しており、RTDサンプルからI2c_Ip_Example_S32K344_Q172プロジェクトを既にインポート済み(I2Cスレーブモードは正常に動作)なので、以下の方法を検討しています。 Application Code Hubの例 「FRDM-A-S32K344 with MCALドライバを用いたLPI2CおよびGPIOを使った動作と温度センシング」 を手動でダウンロードしてください。 アプリケーションのソースファイル(accelerometer_sensor、motion_detector、temperature_sensorファイル、アプリケーションコードなど)を再利用します。 それらを既存のRTDサンプルプロジェクトに統合し、必要に応じて構成を調整してください。 これはS32DS v3.5.8にとって妥当なアプローチと言えるでしょうか? それとも、アプリケーション Code Hubの例と現在の環境のRTDバージョンの違いを考慮して、別の移行経路をおすすめしますか? ご指導ありがとうございました。 よろしくお願いします、 ヴィール Re: FRDM-A-S32K344: LPI2C Master Example Project Using Onboard I2C Devices こんにちは、@ Veereshh お使いのS32 DSのバージョンは古すぎます。最新バージョンをインストールしてください。古いバージョンには「コードハブ」オプションが含まれていません。 Re: FRDM-A-S32K344: LPI2C Master Example Project Using Onboard I2C Devices こんにちは、 @Senlent さん。 ご提案ありがとうございます。 Application Code Hub の例 「FRDM-A-S32K344 with MCALドライバを用いたLPI2CとGPIOを使ったモーションおよび温度センシング」 を確認し、実装ステップを踏み始めました。 しかし、私の S32 Design Studio v3.5.8 では、ワークスペースを開いたダッシュボードに 「Application Code Hubからプロジェクトをインポートする」 オプションが表示されず、あなたが共有したスクリーンショットでは表示されていることに気づきました。 これは私のS32DS版が古いからかもしれません。 もしそうなら、S32DS v3.5.8を使ってアプリケーションコードハブのサンプルプロジェクトをインポートまたはダウンロードする代替方法はありますか? もしそうなら、S32DS v3.5.8でプロジェクトを手動でインポートする手順を教えていただけますか? 再開まで今しばらくお待ちください。 よろしくお願いします、 ヴィール Re: FRDM-A-S32K344: LPI2C Master Example Project Using Onboard I2C Devices こんにちは、@ Veereshh 「Import Project from Application Code Hub」から多くのデモが見つかります。 ただし、これらのデモで使用されているRTDバージョンは最新版であることに留意すべきである。
記事全体を表示
[RTD600 IP] Pad keeping - Run vs Standby domain pins Pad Keeping As explained in the S32K3xx Low Power Management Application Note (AN), the S32K3 family is capable of retaining the output value of some selected pads when device is power-gated in Standby mode. All pins will retain their last set states in run mode during standby mode, and all pins will be placed to its default states after reset event by default. Which means that during the time between wakeup and Port reinitialization, the pins are uncontrollable and driven by default reset values. When pad keeping is enabled, HW ensures that the pin can retain its states from wakeup until the user unlocks it. The S32K3 family provides two pin groups: Run domain & Standby domain, however, the differences between them are not explicitly mentioned in the low power management application. Run domain pins are active only while the MCU is running, while Standby domain pins can also remain functional during Standby Referring to Chapter 41.12 Pad Keeping from S32K3XXRM (Rev. 12), all of the active pins in Standby are: Pin Function in Standby GPIO_4 CMP0_OUT GPIO_5 RESET_b GPIO_9 CMP2_OUT GPIO_11 CMP0_RRT GPIO_12 CLKOUT_STANDBY; CMP1_OUT GPIO_69 CMP2_RRT GPIO_110 CMP0_RRT GPIO_131 CMP0_OUT GPIO_138 CLKOUT_STANDBY GPIO_143 CMP1_RRT GPIO_158 CMP1_OUT GPIO_159 CMP1_RRT GPIO_174 CMP0_OUT GPIO_175 CMP0_RRT GPIO_196 CMP2_OUT GPIO_197 CMP2_RRT (As specified in the RM, see the IOMUX attached to it for details on different derivatives.) Configuration for Pad Keeping for both groups require the same global configuration, but standby domain pins require an additional step.  You could consider DCM.DCMRWF1[STANDBY_IO_CONFIG] field as a global enable for all pad keeping purposes during Standby mode. Additionally, for Standby domain pins, the corresponding MSCRn[PKE] field in SIUL2 must be set. Note: MSCRn[PKE] only needs to be set for Standby domain pins, and does not have effect on Run domain pins. Run domain pins Before entering standby: Configure SIUL2 output for desired pad (HIGH/LOW). Write 0 to DCM.DCMRWF1[STANDBY_IO_CONFIG] (enable global pad keeping). Complete Standby Entry Sequence described in RM. Standby domain pins Before entering standby: Configure SIUL2 output for desired pad (HIGH/LOW). Write 1 to SIUL2.MSCRn[PKE] (enable individual pad keeping). Write 0 to DCM.DCMRWF1[STANDBY_IO_CONFIG] (enable global pad keeping). Complete Standby Entry Sequence described in RM. For both Run and Standby domain pins After standby exit (wake-up event): Write 1 to DCM.DCMRWF1[STANDBY_IO_CONFIG] field on Standby mode exit to disable pad keeping. Note: After enabling Pad Keeping, user must write 1 to DCM.DCMRWF1[STANDBY_IO_CONFIG] to disable it before calling Port_Init() / Siul2_Port_Ip_Init(), otherwise pin initialization may fail. Example routine - Pad keeping  /* ------------------------------------------------------------------------- * Test HW : FRDM-A-S32K344 * MCU : S32K344_172HDQFP * IDE : S32DS 3.6.10 * RTD : S32K3_RTD_7_0_1_D2602_ASR_REL_4_9_REV_0000_20260206 * Debugger : P&E Micro * Target : Internal_FLASH * -------------------------------------------------------------------------*/ The attached example configures PTD13 (GPIO109) & PTD14 (GPIO110). PTD13 is a run domain pin, while PTD14 is a standby domain pin.  The macro PKE_CONFIG can be enabled to configure both SIUL2.MSCRn[PKE] & DCM.DCMRWF1[STANDBY_IO_CONFIG] directly through registers. Otherwise, configuration can be done through Siul2_Ip_Port and Power_Ip drivers: Enable SIUL2.MSCRn[PKE]: Enable DCM.DCMRWF1[STANDBY_IO_CONFIG]: After configuring Pad Keeping, the routine waits for USR_SW0 to be pressed, then sets both PTD13 & PTD14 HIGH and enters Standby. MCU can be waken up with USR_SW1. Green LED reflects MCU status (RUN = HIGH, STANDBY = LOW). Note: A small delay is added at to visualize time between standby exit (wake-up) and port initialization. Measurements Using the attached routine, the following measurements were done: 1. Pad Keeping enabled for both PTD13 & PTD14. 2. Pad Keeping enabled for PTD13 and disabled for PTD14. 3. Pad Keeping disabled for both PTD13 & PTD14.   This example is provided as is with no guarantees and no support.
記事全体を表示
S32k342: Bctudmabuffer がデータで更新されていません。 こんにちは、 ADC0に10チャネル対応にPIT、BCTU、DMA(Ch6)を設定しました。 レジスタ値LISTCHRとFIFO1DR、MSR(10進数)を確認しました MSR:32768、 TRGCFG[23] :268477184 MCR: 67305600 FIFO1DR: 781516942 LISTCHR[0] : 2162725 LISTCHR[1] : 65576 LISTCHR[2] : 6 LISTCHR[3] : 327687 LISTCHR[4] : 2147909636 FIFCR: 16777216 FIFOERR: 151060480 FIF0SR: 0 FIFOCNTR: 15 Autosar MCALのDMAチャプニング6を設定し、例コードを使った https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-PIT-BTCU-parallel-ADC-FIFO-DMA-DS3-... 質問は、bctudma バッファで DMA ウォーターマーク通知とデータを取得できないことです。 何が不足しているのか、ご教示ください。 ありがとう Re: S32k342: Bctudmabuffer is not updating with data. 私はAUTOSAR MCALを使っています。 転送設定も設定する必要がありますか? また、転送 API を呼び出す必要があります。Mcl_SetDmaChannelTransferList と Mcl_SetDmaCHannelCommand を MCL_DMA_CH_START_REQUEST とともに呼び出します。 Re: S32k342: Bctudmabuffer is not updating with data. 現在、私はパスを使用しており、これに関する共有設定を持っています。 PIT_CH0 → TRGMUX → BCTU_Trg23 → ADC0/Adc1 → DMA 私にさせてください。 最後に使う道を紹介します: PIT_CH0 - TRGMUX - BCTU_Trg23 ADC0(5チャネル) - FIFO1 - eDMA PIT_CH1 - TRGMUX - BCTU_Trg47 - ADC1(5チャネル) - FIFO2 - eDMA この設定についても教えてください。 Re: S32k342: Bctudmabuffer is not updating with data. 私はRTD 3.0.0を使用しています。 Re: S32k342: Bctudmabuffer is not updating with data. Bctu 設定: ADC: DMA: また、BCT、PIT、EDMAなどの周辺時計も対応可能ですDMAMUX_0 Re: S32k342: Bctudmabuffer is not updating with data. こんにちは、 詳細を教えていただきありがとうございます。 レジスタの値だけでは、何が不足しているかを判断するのは難しい。ADC変換がBCTU FIFOに達しているように見えるため、問題はBCTU→DMA要求パス、DMAチャネル構成、またはDMAMUXの設定に関連している可能性があります。 以下のいずれかを教えていただけますか: 問題を再現する簡略化されたテストプロジェクト、または S32構成ツールの設定画面のスクリーンショット: ADC BCTU DMA/eDMA DMAMUX PIT また、ご利用のRTDバージョンをお知らせください。 構成や簡略化されたプロジェクトを使えば、作業中の例と比較して、欠落や誤った設定をより効率的に特定できます。 BR、ペトル Re: S32k342: Bctudmabuffer is not updating with data. こんにちは、 転送設定やそれに対応するコードは必要ありません。転送設定はドライバで行います。 Rmコンポーネントを通してDMAMUXの設定と初期化も行いましたか?こんなものを用意しておくべきです… 希望するチャネルを選択しています。次に、コード内で Rm init を呼び出します。 #include "CDD_Rm.h" /* HLD RMドライバ経由でDMAMUXを初期化してください */ Rm_Init(&Rm_Config); BR、ペトル Re: S32k342: Bctudmabuffer is not updating with data. はい、やっています。 また、Rm_Initも実行しています。 Re: S32k342: Bctudmabuffer is not updating with data. 以前に共有したすべての設定です。 Adc: Adc 0 と 1 の両方で、呼び出し API Adc_EnableCtuControlMode を使用して制御モードを使用します。 Adc_CtuEnableHwTrigger も呼び出す必要がありますか?私はまだ呼び出していません。 Re: S32k342: Bctudmabuffer is not updating with data. こんにちは、 詳細を教えていただきありがとうございます。 これまでの情報からは根本原因を特定するのは難しいです。レジスタダンプだけでは、問題がBCTU、DMA、DMAMUX、またはソフトウェア構成にあるかどうかを特定するには不十分です。 確認すべき追加事項がいくつかあります。 DMA割り込みは有効になっており、正しく設定されていますか? ADC BCTUの制御モードとトリガーモードのどちらを使用していますか? DMAウォーターマーク通知は、BCTU制御モードを使用している場合にのみ利用可能ですのでご注意ください。トリガーモードを使用している場合、DMAウォーターマーク通知は表示されません。 問題を分析するために、以下の内容を教えていただけますか: 問題を再現する簡略化されたスタンドアロンプロジェクト、または 関連するS32設定ツールの設定(ADC、BCTU、DMA/DMAMUX、PIT)のスクリーンショットと関連コード一式を添付してください。 理想的には、完全に簡略化されたプロジェクトがあれば、構成を確認し、動作中の参照例と比較することがより効率的に行えるでしょう。 BR、ペトル Re: S32k342: Bctudmabuffer is not updating with data. こんにちは、 提供されたスクリーンショットからは、明らかな問題は見当たりません。 プロジェクトと使用したコードを共有していただいたので、意図したトリガーシナリオをテストするために、いくつか作成してみましょう。 BR、ペトル Re: S32k342: Bctudmabuffer is not updating with data. 設定を確認してください。 Re: S32k342: Bctudmabuffer is not updating with data. はい、お願いします。コードを共有するのは難しいので、s32k342 用のテストプロジェクトを作成してください。 ありがとうございます。 Re: S32k342: Bctudmabuffer is not updating with data. こんにちは、 最後に、ご指定の構成に合わせてADC HLDのデモを行いました。 トリガーパス: PIT0_CH0 -> TRGMUX -> BCTU Trigger 23 -> ADC0(5チャネル) -> BCTU FIFO1 -> eDMA(ch0) PIT1_CH1 -> TRGMUX -> BCTU Trigger 47 -> ADC1(5チャネル) -> BCTU FIFO2 -> eDMA(第16チャンネル) ここに掲載されています:https://community.nxp.com/t5/S32K-Knowledge-Base/Example-FRDM-A-S32K344-PIT-ADC-BTCU-ControlMode-FIFO-DMA-HLD/ta-p/2420432 お役に立てば幸いです。 BR、ペトル Re: S32k342: Bctudmabuffer is not updating with data. 感謝、 確認して、改めてご連絡いたします。 Re: S32k342: Bctudmabuffer is not updating with data. サンプルコードを確認しましたが、動作しません。 Re: S32k342: Bctudmabuffer is not updating with data. こんにちは、 データが更新されたのを確認しました BR、ペトル Re: S32k342: Bctudmabuffer is not updating with data. 返事いただけますか? Re: S32k342: Bctudmabuffer is not updating with data. こんにちは、 BCTUリストに記載されているチャネルはBCTU制御モードでのみ使用され、ADCユニットのグループで定義されたチャネルは通常または注入変換に使用されます。AdcHwUnitのグループとチャネルは、この例で使われていなくても単純に省略することはできません。 ポート内でADCチャネルを定義する必要はありません。ADCパスは常に有効なので、ポート設定は不要です。一般的に、ADCチャネルはポート設定を必要としません。 バッファのずれに関してですが、当初はラウターバッハでテストしたところ、バッファは予想通り正しく表示されました。 S32DS内部では、コードの実行が停止するとデータの順序が乱れる。デバッグモード中にPITが継続的に実行されるように設定されていたことが原因だと分かりました。デバッグ中にPITをフリーズできるように設定を変更してください。 バッファの定義も間違っていました。正しくはuint16_tとして宣言する必要がありました。 すると、S32DSでもバッファが正しく表示されるようになります。 BR、ペトル     Re: S32k342: Bctudmabuffer is not updating with data. あなたと同じチャネルを設定しましたが、BCTUDMAバッファが更新されているのが確認できます。 それでも、Adc0/1チャネルのアライメントはどうやってしたのか、なぜADC0のVREFL/HデータがADC1のVREFL/Hチャネルと一致しないのかは理解できません。P0も同じですか?また、ポートで設定する必要のない内部チャネルもありますが、P7やP0のように外部チャネルがあるのに、なぜポート内で設定されなかったのでしょうか?チャネル(10)を設定したいのですが、BCTUでどうやってアライメントすればいいですか?また、設定にはないp7とp0としてポート設定も必要ですか? なぜADC0/1の全チャネルをADC構成アレイに含めていないのですか?なぜADC0/1ごとにチャネルが1つだけなのですか?
記事全体を表示
機械図面の依頼:RK055HDMIPI4MA0ディスプレイ基板の外形、取り付け穴、FPCコネクタ 私はMIMXRT1170-EVKB Rev C3をリファレンス・デザインとして、カスタム i.MX RT1176ボードを設計しています。RK055HDMIPI4MA0 5.5インチMIPI DSIディスプレイキットを使用し、キットのPCBにある4つの取り付け穴を通して、私のボードに直接取り付けます。したがって、私の基板の外形と取り付け穴は、そのプリント基板と一致させる必要があります。 このPCBの機械図は見つかりませんでした。RK055HDMIPI4MA0製品ページ、MIMXRT1170-EVKBユーザーガイドとデザインファイル、そしてガラスモジュールのみを扱うRocktech RK055MHD091A0-CTGパネルデータシートを確認しました。 RK055HDMIPI4MA0 PCBの機械図面(DXFまたはPDF形式)、またはSTEPモデルを送っていただけますか?以下を示すものです。 1.プリント基板の外形寸法と厚さ。 2. 取り付け穴の位置がPCBのエッジに対してどのように位置するか、完成した穴の直径、穴がメッキされているか、推奨されるネジやスタンドオフ。 3. PCB背面のFPCコネクタ:部品番号、位置、ピン1の位置、接点側、ケーブル開口部の向き。 4. 付属FPCケーブル:部品番号、長さ、接点タイプ、同側または反対側。 5.プリント基板の裏面にある最も背の高い部品、およびその周辺の立ち入り禁止区域。 もし旧型のRK055HDMIPI4M基板が機械的に異なる構造になっているのであれば、その図面も提供していただけるとありがたいです。 参考までに、これまでに私がまとめた内容は以下の通りです: - MIMXRT1170-EVKBレイアウトでは、LCD取り付け穴SS1からSS4は147.253×72.905mmの3.53mmのメッキ穴パターンを形成し、長さ16.1mmのM3スタンドオフが装着されています。 - ディスプレイPCBのサイズを約155 x 83.5 mmで測定しました。 - EVKBでは、ディスプレイコネクターがJ48の片側に約8mmあり、オフセットに対応するためには50mmケーブルが最短です。基板上の2つのコネクタを一直線に並べたいです。 ご協力ありがとうございます。 ニック Re: Mechanical drawing request: RK055HDMIPI4MA0 display PCB outline, mounting holes and FPC connecto こんにちは、 @nicnewdigate さん、 NXP製品にご関心をお寄せいただき、ありがとうございます。残念ながら、 このPCBの機械図面は公開されていないため、共有できません。ご迷惑をおかけして申し訳ございませんが、ご理解いただけますようお願い申し上げます。
記事全体を表示
s32k312 自检 您好,NXP团队, 我正在使用 S32K312 SAR ADC,我想更详细地了解 ADC 自检功能,特别是算法 S、算法 C 和 RTD 自检 API。 我已经查阅了 S32K3 参考手册和相关文档,但我仍然想了解在这些自检算法执行期间,ADC 硬件内部实际发生了什么。 1. 算法 S – 供给自测 根据文档,我的理解是算法 S 包含三个步骤,并检查内部 ADC 相关电压,例如带隙/参考/电源电压。 请您更详细地解释一下算法 S 的每个步骤内部发生了什么? 例如: 在 S0、S1 和 S2 期间,SAR ADC 连接的是什么内部信号? 每个步骤中测量的是哪个供应量/参考量? ADC 执行这些测试时是否使用与正常 ADC 转换相同的 SAR 转换路径? 算法 S 过程中是否也用到了采样电容/CDAC? 具体来说,与自检模拟看门狗阈值进行比较的是什么? 预期值/阈值是否源自工厂校准信息? 我想了解完整的信号路径: 内部测试电压 → 采样网络 → SAR/CDAC → 比较器 → 转换结果 → 自检看门狗比较 2. 算法 C – 电容式自测试 我对理解算法 C 特别感兴趣。 文档中提到算法 C 包含多个步骤(C0–C11),并执行电容式自检。 请问您能否解释一下在这些步骤中,ADC硬件实际执行了哪些操作? 我目前的理解是,SAR ADC 包含一个电容式 DAC/CDAC,算法 C 在内部使用不同的电容组合来检测采样/转换电容网络中的错误。 这种理解是否正确? 更具体地说: C0、C1、C2……C11 之间发生了哪些变化? 是单个电容还是二进制加权电容组进行切换/测试? 算法 C 中是否使用了外部模拟输入,还是测试完全在内部进行? 电容器组上施加的电压/电荷是多少? 算法 C 的每个步骤返回的 ADC 结果在物理上代表什么? 文档中提到与先前校准值相比存在“偏移/误差”。这个校准后的参考值存储在哪里? 如何确定预期结果? 为什么理想的算法 C 的结果预期接近于零? 算法 C 可以检测哪些类型的硬件故障?例如: 电容不匹配, 电容开路/短路 交换机故障 泄漏, 比较器误差 电荷重新分配错误。 如果可以,能否提供一个简化的内部模块级解释,说明采样电容/CDAC、比较器和SAR逻辑如何参与算法C? 3. 普通转换与算法C的区别 对于正常的ADC转换,我大致理解其工作原理如下: 输入采样 → 采样/CDAC 网络中存储的电荷 → SAR 逐次逼近 → 转换结果 在算法 C 中,正常的外部输入采样阶段是否被内部生成的电容测试条件所取代? 换句话说,算法 C 主要测试模拟 SAR 转换路径本身,而不是测量外部 ADC 通道吗? 4. RTD 自检 API 我正在使用 S32K3 RTD ADC 驱动程序,并且想了解调用 RTD 自检 API 时究竟发生了什么,例如: Adc_Sar_Ip_SelfTest() 请问您能否解释一下该函数执行的内部软件序列? 请问这些操作中哪些是由 RTD API 实际执行的,哪些需要由应用程序配置? 我特别想知道: API 启动自检后,算法 S 和算法 C 是否作为硬件序列自动运行。 究竟是 RTD API 本身评估结果,还是 ADC 硬件模拟看门狗执行实际的 PASS/FAIL 比较。 RTD 函数返回的什么值/状态表明自检失败? 5. 自检模拟看门狗阈值 您能否也解释一下自检模拟看门狗阈值是如何确定的? 上限/下限阈值是: NXP推荐的固定值 设备特定的出厂校准值, 由 Tresos/RTD 配置生成, 或者这些值需要应用程序开发人员手动配置? 具体来说,对于算法 C,如何确定每个 C0–C11 步骤的允许正/负误差限值? 6. 自检计时 最后,我想了解一下完整自测的时间安排。 如果算法 S 包含 3 个步骤,算法 C 包含 12 个步骤: S0 → S1 → S2 → C0 → C1 → ... → C11 每个步骤内部是否都执行完整的ADC操作,类似于: 预采样+采样+SAR转换+评估/监督比较? 如果是这样,是否有任何文档或公式可以用来计算以下程序的预期执行时间: 算法 S, 算法C, 完整的S+C自测题是什么? 我的主要目标是了解 S32K312 SAR ADC 自检的硬件操作,而不仅仅是如何调用 RTD 函数。 如果可以,请提供任何针对 S32K3 的应用笔记、详细的 ADC 自检文档或 RTD 源文件/文档,以解释这些序列。 谢谢! Re: Selftest in s32k312 你好, 我已经查阅了 S32K3 参考手册和相关文档,但我仍然想了解在这些自检算法执行期间,ADC 硬件内部实际发生了什么。 为此,我编写了一篇ST应用笔记,其中对此进行了详细解释。测试与 S32K 相同,继承了 MPC56xx 设备的模块。 您的大部分问题都可以在书中找到答案,但是这本书没有公开版本。如果您在NXP.com上提交工单,我可以通过工单分享给您。 我不会在公共社区详细解释自测的工作原理。 基本答案如下: 在 S0、S1 和 S2 期间,SAR ADC 连接的是什么内部信号? ADC内部带隙电压(S0 - step0)–(Vbandgap / Vref) ADC供电电压(S1 - step1)–(VDDA / Vbandgap) ADC参考电压(S2 - step2)–(Vref' / Vref) C0、C1、C2……C11 之间发生了哪些变化? 电容式自检算法 C 包括一系列 11 次(或若干次)测试转换(步骤),通过设置 构成采样电容器/电容式数模转换器的电容元件。该算法是 旨在突出显示采样电容矩阵中的故障。每一步都考虑两个要素 采样电容矩阵。每个步骤都包括一系列预采样、采样和 评估阶段已执行。 顺祝商祺! Peter
記事全体を表示
如何访问和测试 S32E288 上的 32 MB 嵌入式 NVM 您好,NXP团队, 我正在使用 S32E288 设备,该设备运行在 S32E288-975EVB 上。 在RTU0 Cortex-R52上应用。 S32E2产品简介如下: - 0/16/32/64 MB 嵌入式非易失性存储器 - 512 KB 数据闪存,带 ECC 纠错功能 - QuadSPI NOR 闪存接口 我们的团队想用棋盘格图案测试NVM区域,但找不到关于s32e27RM的任何信息,请问在哪里可以找到这些信息?我们使用的是s32E288板,如何访问嵌入式NVM? 我需要的是针对32MB嵌入式NVM的具体说明,而不是…… 512 KB C55 数据闪存,而不是 EVB 上安装的外部 或非 闪存。 请问您能否澄清以下问题? 1. 32MB嵌入式NVM是集成在内部的串行闪存芯片吗? S32E288 封装/SiP? 2. 哪个控制器和控制器实例提供软件访问 到这个嵌入式非易失性存储器? 它是通过 QuadSPI0、QuadSPI1、HSE 固件还是其他方式访问的 专用的接口? 3. 32 MB 嵌入式 NVM 的 RTU0 CPU 可见地址范围是什么? 是否存在内存映射读取孔径,还是必须执行所有读取操作? 使用 QuadSPI IP 命令吗? 4. 0x00000000 到 0x01FFFFFF 仅仅是闪存设备偏移量吗?还是它们 嵌入式非易失性存储器(NVM)的有效Cortex-R52系统地址是什么? 5. 哪个 QuadSPI 片选或闪存地址分配条目对应 到嵌入式非易失性存储器?它如何与外部NOR区分开来 S32E288-975EVB 的闪光灯功能是什么? 6. 应该使用哪个RTD驱动程序和示例来读取、擦除、编程? 并验证RTU0中的嵌入式NVM? 请提供确切的驱动程序/元器件名称以及合适的示例。 7. RTU0 是否有权限直接擦除/编程嵌入式 NVM? 或者这些操作必须通过 HSE/系统管理器固件来请求? 8. 功能安全手册指出 SiP 串行闪存不支持 XIP。 这是否意味着内存映射读取也无法使用,还是仅此而已 不支持指令执行? 9. 对于非破坏性读写测试,推荐的方法是什么? 这个嵌入式非易失性存储器(NVM)有一个未使用的扇区? 是否存在用于启动映像、IVT、HSE 或 OTA 的受保护/保留区域 哪些元数据不能删除? 我的目标是做到: 读取、写入和验证 NVM 区域 请分享S32E2参考手册的相关章节,即地址映射部分。 RTD 示例及所需的访问/保护配置。 设备:S32E288 板:S32E288-975EVB 核心:RTU0 Cortex-R52 / RTU1 参考手册:S32E2 RM Rev. 5 RTD:S32ZE AUTOSAR R21-11 RTD Re: How to access and test the 32 MB embedded NVM on S32E288 你好, @NeelimaRagipindi 感谢您的帖子。 我刚刚注意到您通过我们的支持门户网站提出了类似的问题,我将在那里一并回复您。 BR 陈银
記事全体を表示
FRDM-MCXW72: AN14889 感度試験 こんにちは、 AN14889の手順に従って感度テストを実行しています FRDM-MCXW72だが成功しなかった 以下のシーケンスを使ってチャネル0(2402 MHz)でテストを実行します。 確認してもらえますか? コネクティビティテストインターフェースショートカット ------------------------------------------ -Tx手術は[t]を押してください -処方操作は[r]を押してください -[z]を押してモード(GENFSK、BLE)とレートを上げる -[x]を押してモード(GENFSK、BLE)とレートを下げる - [c] キーを押すと、固定ホワイトニングとチャネルごとのホワイトニング(BLEのみ)を切り替えます -[q]を押してチャネルアップ -[w]を押してチャネルダウン -パワーアップは[a]を押してください -パワーダウンは[s]を押してください -[n]を押してペイロードを増やしてください -[m]を押してペイロードを減らしてください -[d]を押してXTALトリム値を上げます -[f]を押してXTALトリム値を下げてください これらのキーはアプリケーション全体で変更に使えます 試験パラメータ ________________________________ | | | Select the Test to perform | |________________________________| -[1] 連続テスト -[2] パケットエラー率テスト -[3] 射程テストを押して -[4] RTC XTALを調整 -[5] PLL分子のオフセットを調整 -[!]MCUをリセット モードRX、レートBLE 1Mbps、Whiten Chan、チャネル42、Power 8、ペイロード6、XtalTrim 10> -------------------------------------------------------------- [t] Tx [z] モード/レート+ [c] 固定/Ch whit。[q] Ch+ [a] Pw+ [r] Rx [x] モード/レート- [w] Ch- [s] Pw- [n] Pyld+ [d] XtalTrim+ [m] Pyld- [f] XtalTrim- -------------------------------------------------------------- ____________________ __ | | | PER Rx Test Menu | |__ ____________________| -スペースキーを押してパケットの受信を開始/停止します パケットの受信を停止するには、いずれかのボタンを押してください。 -[p]を押して前のメニューへ モードRX、レートBLE 1Mbps、Whiten Chan、チャネル42、Power 8、ペイロード6、XtalTrim 10> PERテストRx実行中 PERテスト処方中止 PER中の平均Rssi: 0 dBm 送信されたパケットのうち、0個を受信しました。 Per Rxテストメニューに戻るには[ENTER]を押してください BLEテスターを使用して標準のBLEテストパケットを送信しましたが、ボードはパケットを受信しません。 アプリケーションノートには感度テストの設定は明記されていません。 一方で、hci_bbアプリケーションと標準的なHCIコマンドを使うと、テスターがHCI_LE_RECEIVER_TESTを送信したり、テストを実行しHCI_LE_ENHANCED_RECEIVER_TESTなくしたときだけ、基板がPHYでランダムに止まってしまいます。 トランスミッタのテストコマンドは完璧に動作します。 何かアドバイスをいただけますか? 私はSDK_26_06_00_FRDM-MCXW72を使用しています。 ありがとう、 マルコ 開発ボード Re: FRDM-MCXW72: AN14889 Sensitivity test こんにちは、お元気でお過ごしでしょうか。 接続テストアプリケーションの一部の機能、例えばパケットエラー率やレンジテストは2台のデバイス使用を必要とします。プラットフォームのうち1つはRXモードに設定されなければなりません(以下の通りです) TXでは「r」を押して、TXでは「t」を押してもう一方のキーを押します。 板から板までの状況でPERテストを試してみていただけますか?一方の基板を送信機として、もう一方の基板を受信機として使用します。これはまず、制御された環境下での接続テストの適用を検証し、処方の設定が正しいかどうかを特定するためです。 PERテストを実行するためのステップやパケット設定についてはこちらで詳しくご覧いただけます:PERテストを実行する手順 |接続テストCLI — MCUXpresso SDKドキュメント AN14889で説明するRFテストフローは、感度テストのカスタムパケットやフレームフォーマットを指定しておらず、代わりに標準Bluetooth Low Energy仕様に依存しています。 感度やPER測定を含むBLE RF PHYテストは、 Bluetooth Core Specification Vol. 6 Part F で定義されているDirect Test Mode(DTM)を用いて実施することも可能です。この節では、LEテストパケットおよびRF検証に使用される標準化テスト手順を定義します。 基盤となるパケット構造(前文、アクセスアドレス、PDU、CRC)は Bluetoothコア仕様書第6巻パートBで定義されています。DTMで使用されるLEテストパケットも同じ構造に従い、テスト用のペイロードパターンとパラメータが制御されています。 感度やPERなどの測定の具体的なテスト条件や限界も Bluetooth RF-PHYテストスイートで定義されています。 よろしくお願いします、 ソフィア。
記事全体を表示
Build errors, Missing .axf file, and RedlinkServerException during debug launch Hello NXP Support Team, I am encountering multiple issues while trying to build and debug my project in MCUXpresso IDE. Environment Details: MCUXpresso IDE Version:  v11.8.0 Host OS: Windows Target Board / MCU: MKM34z256vll7 Debug Probe:CMSIS-DAP  Symptoms Observed: Build Errors / Missing .axf/.elf File: When attempting to build the Release configuration, build errors occur. Because of these errors, the .axf/.elf output file is not generated, resulting in the "Program file does not exist" debug launch error. RedlinkServerException: When attempting to debug or connect, I receive a RedlinkServerException: Cannot write to server not open, indicating a communication failure with LinkServer. Probe Discovery Issue: The IDE occasionally fails to properly discover or communicate with the debug probe. Troubleshooting Steps Already Tried: Verified that build errors must be resolved, but need guidance on resolving the specific compilation/linker errors preventing the .axf file generation. Restarted MCUXpresso IDE and power-cycled the debug probe / development board. Re: Build errors, Missing .axf file, and RedlinkServerException during debug launch Hello @Maheswari123 , Thanks for your post.  1. Release build failure / missing .axf or .elf file The .axf/.elf executable can only be generated after the project has been compiled and linked successfully. Therefore, please first identify the actual compiler/linker error that is preventing the Release build from completing. Please Clean the project and rebuild the Release configuration, then provide the complete build output from the Console, especially the first error together with the messages around it. With the actual compiler/linker error, we can determine whether the issue is related to source/include paths, linker configuration, undefined references, or something else. You can also try opening an SDK demo to see if you can successfully build it. This can help determine whether the issue lies with the tool or with your custom code. 2. CMSIS-DAP / LinkServer communication issue For RedlinkServerException and intermittent probe discovery, please check whether Windows recognizes the CMSIS-DAP probe and whether firewall or security software is blocking communication with Redlink Server. After ending any debug sessions, you can try Clean Up Debug and then search for the probe again. In addition, please let us know the exact CMSIS-DAP probe being used (for example, MCU-Link, OpenSDA CMSIS-DAP, or another probe). If the issue persists, please also provide the complete LinkServer console/log output related to the error. Looking forward to your reply. BR Celeste
記事全体を表示
版本错误,缺少 .axf 文件文件,以及调试启动期间的 RedlinkServerException 您好,NXP支持团队, 我在 MCUXpresso IDE 中构建和调试项目时遇到了多个问题。 环境详情: MCUXpresso IDE 版本:v11.8.0 主机操作系统:Windows 目标板/MCU:MKM34z256vll7 调试探针:CMSIS-DAP 观察到的症状: 构建错误/缺少 .axf/.elf 文件:尝试构建 版本 配置时,出现构建错误。由于这些错误,无法生成 .axf/.elf 输出文件,导致出现“程序文件不存在”调试用上市,不用发布错误。 RedlinkServerException:尝试调试或连接时,我收到 RedlinkServerException:无法写入未打开的服务器,表明与 LinkServer 的通信失败。 探针发现问题: IDE 有时无法正确发现调试探针或与其通信。 已尝试过的故障排除步骤: 已确认构建错误必须解决,但需要指导以解决阻止生成 .axf 文件的具体编译/链接器错误。文件生成。 重启了 MCUXpresso IDE 并对调试探针/开发板进行了断电重启。 Re: Build errors, Missing .axf file, and RedlinkServerException during debug launch 你好@Maheswari123 , 感谢你的帖子。 1. 版本版本失败/缺少 .axf 文件或 .elf文件 只有在项目编译和链接成功之后,才能生成 .axf/.elf 可执行文件。 因此,请首先确定导致发布版本构建无法完成的实际编译器/链接器错误。请清理项目并重新构建版本配置,然后提供控制台的完整构建输出,特别是第一个错误及其周围的消息。通过实际的编译器/链接器错误,我们可以确定问题是与源/包含路径、链接器配置、未定义的引用还是其他原因有关。 您也可以尝试打开一个 SDK 演示程序,看看是否可以成功构建。这有助于确定问题是出在工具本身还是出在您自己的自定义代码上。 2. CMSIS-DAP/LinkServer 通信问题 对于 RedlinkServerException 和间歇性探测发现,请检查 Windows 是否识别 CMSIS-DAP 探测,以及防火墙或网络安全软件是否阻止了与 Redlink 服务器的通信。结束所有调试会话后,您可以尝试清理调试,然后再次搜索探针。 此外,请与我们联系所使用的确切 CMSIS-DAP 探针(例如,MCU-Link、OpenSDA CMSIS-DAP 或其他探针)。如果问题仍然存在,请同时提供与该错误相关的完整 LinkServer 控制台/日志输出。 期待你的答复。 BR 塞莱斯特
記事全体を表示
S32E288で32MB組み込みNVMにアクセスしてテストする方法 NXPチームの皆様、こんにちは。 私はS32E288-975EVBでS32E288デバイスを使い、 RTU0 Cortex-R52でのアプリケーション。 S32E2の製品概要は以下の通りです: - 0/16/32/64 MB 組み込みNVM - ECC対応512KBデータフラッシュ - QuadSPI NORフラッシュインターフェース 私たちのチームはチェッカーボードパターンでNVM領域をテストしたいと考えましたが、s32e27RMのRMに関する情報はどこで入手できるのか、組み込みNVMにはどうやってアクセスすればよいのか、私たちはs32E288ボードを使っています... 32 MB 組み込み NVM について具体的に説明が必要です。 512KBのC55データフラッシュであり、EVBに搭載されている外部NORフラッシュではありません。 以下の点を明確にしていただけますか? 1. 32MBの組み込みNVMは、 S32E288パッケージ/SiP? 2. どのコントローラとコントローラインスタンスがソフトウェアアクセスを提供するか この埋め込みNVMに? QuadSPI0、QuadSPI1、HSEファームウェア、または他の方法でアクセスしますか? 専用インターフェース? 3. 32MBの組み込みNVMのRTU0のCPUから見えるアドレス範囲は何ですか? メモリマップド読み取りアパーチャはありますか、それともすべての読み取りは実行する必要がありますか QuadSPI IPコマンドを使用していますか? 4. フラッシュデバイスのオフセットのみを0x01FFFFFF 0x00000000のか、それとも 組み込みNVM用の有効なCortex-R52システムアドレスはありますか? 5. どの QuadSPI チップセレクトまたはフラッシュアドレス割り当てエントリが対応しますか 組み込みNVMへ?外部のNORとどう区別できるのか S32E288-975EVBのフラッシュ? 6. どのRTDドライバと例を読み込み、消去し、プログラムすべきか、 そしてRTU0から埋め込みNVMを検証するのも良いでしょう? 正確なドライバ名やコンポーネント名と適切な例を教えてください。 7. RTU0は埋め込みNVMを直接消去・プログラムする権限を持っているか? それともこれらの操作はHSE/System マネージャのファームウェアを通じてリクエストする必要がありますか? 8. セーフティマニュアルには、SiPシリアルフラッシュはXIPをサポートしていないと記載されています。 これはメモリマップされた読み込みも利用できない、それとも利用可能なものだけを意味するのでしょうか 命令実行がサポートされていないのですか? 9. 非破壊的な読み書きテストの推奨方法とは何か この埋め込みNVMの未使用セクターの一つ? ブートイメージ、IVT、HSE、OTA用の保護・予約エリアはありますか? 消してはいけないメタデータ? 私の目標は、以下のことを実行することです。 NVM領域の読み取り、書き込み、検証 関連するS32E2リファレンスマニュアルのセクション、住所マッピングを共有してください。 RTDの例と、必要なアクセス/保護設定。 装置:S32E288 ボード:S32E288-975EVB コア:RTU0 Cortex-R52 / RTU1 参考マニュアル:S32E2 RM Rev. 5 RTD:S32ZE AUTOSAR R21-11 RTD Re: How to access and test the 32 MB embedded NVM on S32E288 こんにちは、 @NeelimaRagipindi 投稿ありがとうございます。 先ほど、お客様が弊社のサポートポータルを通じて同様の問題を報告されていることに気づきましたので、そちらからもまとめてご回答させていただきます。 BR チェイン
記事全体を表示
美国航空旅行合作伙伴 - We Gooo 欢迎来到We gooo ,您值得信赖的美国航空旅行代理,我们为您对接各大航空公司,提供便捷流畅的预订体验。创建我的后,您可以轻松管理行程、随时掌握航班信息、获取个性化推荐,同时还能全面了解相关条款和条件。
記事全体を表示
アメリカの航空旅行パートナー - We Gooo We gooo へようこそ 。アメリカで信頼される航空旅行代理店です。航空会社とつなぎ、シームレスな予約体験を提供します。プロフィールを作成することで、旅行を簡単に管理し、フライト情報を最新に把握し、パーソナライズされたおすすめを受け取る上で、重要な利用規約も理解できます。
記事全体を表示
generated Config file name issue for RTD 7.0.0 Hello Team, I have given functional group name SEHS2, this name is appearing in generated file names and I am using RTD 7.0.0 with DS 3.6.4. Previously for 6.0.0 this was not the case. Re: generated Config file name issue for RTD 7.0.0 Solved.Thanks.  BR Re: generated Config file name issue for RTD 7.0.0 Hello @sbidkar, This can be changed in the global settings: BR, Daniel Re: generated Config file name issue for RTD 7.0.0 Hello Daniel, Still the same issue. BR Re: generated Config file name issue for RTD 7.0.0 This should be it:
記事全体を表示
ビルドエラー、.axfファイルが見つかりませんファイル、およびデバッグ起動中の RedlinkServerException こんにちは、NXPサポートチームの皆さん、 MCUXpresso IDEでプロジェクトの構築とデバッグを試みているときに、複数の問題に直面しています。 環境の詳細: MCUXpresso IDE バージョン:v11.8.0 ホストOS: Windows ターゲットボード/MCU:MKM34z256vll7 デバッグプローブ: CMSIS-DAP 観察された症状: ビルドエラー / .axf/.elf ファイルが見つかりません:リリース構成をビルドしようとすると、ビルドエラーが発生します。これらのエラーのため、.axf/.elf 出力ファイルが生成されず、 「プログラム ファイルが存在しません」というデバッグ起動エラーが発生します。 RedlinkServerException: デバッグや接続を試みると、RedlinkServerException: Write not opened(開いていないサーバーに書き込みできません)というメッセージを受け取り、LinkServerとの通信失敗を示しています。 プローブ発見の問題: IDEがデバッグプローブと正しく検出または通信できないことがあります。 既に試したトラブルシューティング手順: ビルドエラーを解決する必要があることは確認済みですが、.axf ファイルの生成を妨げる特定のコンパイル/リンカーエラーの解決方法についてガイダンスが必要です。ファイル生成。 MCUXpresso IDEを再起動し、デバッグプローブ/開発ボードの電源を入れ直しました。 Re: Build errors, Missing .axf file, and RedlinkServerException during debug launch こんにちは、 @Maheswari123 さん。 投稿ありがとうございます。 1. リリースビルドの失敗 / .axf ファイルが見つからないまたは.elfファイル .axf/.elf実行ファイルは、プロジェクトが成功裏にコンパイル・リンクされた後にしか生成できません。 したがって、まずリリースビルドの完了を妨げている実際のコンパイラ/リンカーエラーを特定してください。プロジェクトをクリーンアップしてリリース構成を再構築し、コンソールからの完全なビルド出力、特に最初のエラーとその周辺のメッセージを提供してください。実際のコンパイラ/リンカーエラーを使えば、問題がソース/インクトゥルパス、リンカーの設定、未定義の参照、あるいは他の何かに関連しているのかを判断できます。 SDKデモを開いて、うまくビルドできるか試してみてください。これにより、問題がツール自体にあるのか、カスタムコードにあるのかを判断するのに役立ちます。 2. CMSIS-DAP / LinkServer 通信の問題 RedlinkServerExceptionおよび断続的なプローブ検出については、WindowsがCMSIS-DAPプローブを認識しているか、またファイアウォールやセキュリティソフトウェアがRedlinkサーバーとの通信をブロックしていないかを確認してください。デバッグセッションを終了した後、クリーンアップデバッグを試してから再度プローブを検索することができます。 さらに、使用されている正確なCMSIS-DAPプローブ(例:MCU-Link、OpenSDA CMSIS-DAP、または他のプローブ)も教えてください。問題が解決しない場合は、エラーに関連するLinkServerのコンソール/ログ出力全体も提供してください。 ご返信をお待ちしております。 BR セレステ
記事全体を表示
Air Travel Partner in the USA - We Gooo Welcome to We gooo, your trusted air travel agent in the USA, connecting you with airlines and offering a seamless booking experience. By creating a profile with us, you can easily manage your trips, stay up to date with flight information, and receive personalized recommendations, all while understanding the key terms and conditions involved.
記事全体を表示
S32k342: Bctudmabuffer is not updating with data. Hello, I have configured PIT,BCTU , DMA(Ch6) for ADC0 having 10 channel. had checked register value LISTCHR and FIFO1DR, MSR:(Decimal) MSR : 32768, TRGCFG[23] :268477184 MCR: 67305600 FIFO1DR: 781516942 LISTCHR[0] : 2162725 LISTCHR[1] : 65576 LISTCHR[2] : 6 LISTCHR[3] : 327687 LISTCHR[4] : 2147909636 FIFCR: 16777216 FIFOERR: 151060480 FIF0SR: 0 FIFOCNTR: 15 Have configured the DMA ch 6 for autosar MCAL with help of example code using https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-PIT-BTCU-parallel-ADC-FIFO-DMA-DS3-... query is here i am not getting DMA watermark notification and data on bctudma buffer. what is missing , please guide. Thansk Re: S32k342: Bctudmabuffer is not updating with data. i am using AUTOSAR MCAL . Is transfer config also require to configure. and require to call  transfer API .? Mcl_SetDmaChannelTransferList and Mcl_SetDmaCHannelCommand with MCL_DMA_CH_START_REQUEST. Re: S32k342: Bctudmabuffer is not updating with data. Currently i am using path and have shared config for this : PIT_CH0 → TRGMUX → BCTU_Trg23 → ADC0/Adc1 → DMA please let me. Final path which i will use : PIT_CH0 - TRGMUX - BCTU_Trg23  ADC0 (5 channel) -  FIFO1 -  eDMA PIT_CH1  - TRGMUX - BCTU_Trg47 -  ADC1   (5 channel)   - FIFO2 - eDMA Please also let me know config for this. Re: S32k342: Bctudmabuffer is not updating with data. I am using RTD 3.0.0 Re: S32k342: Bctudmabuffer is not updating with data. Bctu Config:  Adc: DMA:  Also Peripheral clock enabled for BCT, PIT, EDMA,DMAMUX_0 Re: S32k342: Bctudmabuffer is not updating with data. Hi, Thank you for the details. From the register values alone it is difficult to determine what is missing. Since the ADC conversions appear to be reaching the BCTU FIFO, the issue may be related to the BCTU→DMA request path, DMA channel configuration, or the DMAMUX setup. Could you please provide either: a simplified test project reproducing the issue, or screenshots of your S32 Configuration Tools settings for: ADC BCTU DMA/eDMA DMAMUX PIT Additionally, please let us know RTD version you are using. With the configuration or a simplified project, we can compare it against the working example and identify any missing or incorrect settings much more efficiently. BR, Petr Re: S32k342: Bctudmabuffer is not updating with data. Hi, no transfer config and code coresponding to it is needed. Transfer config is done in driver. Have you config and init the DMAMUX as well through Rm component? You should have something like this... with desired channel selected. Then call Rm init in code  #include "CDD_Rm.h" /* Initialize DMAMUX via HLD RM driver */ Rm_Init(&Rm_Config); BR, Petr Re: S32k342: Bctudmabuffer is not updating with data. Yes am doing . and also doing Rm_Init Re: S32k342: Bctudmabuffer is not updating with data. All the config i have shared you  previously . Adc:  using control mode with the calling API Adc_EnableCtuControlMode fro both Adc 0 and 1. is it also require to call Adc_CtuEnableHwTrigger this one i have not called yet.? Re: S32k342: Bctudmabuffer is not updating with data. Hi, Thank you for the details. Based on the information provided so far, it is difficult to determine the root cause. The register dump alone is not sufficient to identify whether the issue is in the BCTU, DMA, DMAMUX, or software configuration. A few additional things to verify: Is the DMA interrupt enabled and correctly configured? Are you using ADC BCTU Control Mode or Trigger Mode? Please note that DMA watermark notifications are available only when using BCTU Control Mode. If you are using Trigger Mode, receiving a DMA watermark notification is not expected. To help us analyze the issue, could you please share either: a simplified standalone project reproducing the problem, or complete screenshots of the relevant S32 Configuration Tools settings (ADC, BCTU, DMA/DMAMUX, PIT) together with related code? Ideally, a complete simplified project would allow us to review the configuration and compare it against the working reference example more efficiently. BR, Petr Re: S32k342: Bctudmabuffer is not updating with data. Hi,  from given screenshots I do not see obvious issue. As you did share project, code used, let me create some to test your indended trigegr scenario. BR, Petr Re: S32k342: Bctudmabuffer is not updating with data. Please check config. Re: S32k342: Bctudmabuffer is not updating with data. Yes please , as it is difficult to share the code , please create a test project for s32k342 . Thanks. Re: S32k342: Bctudmabuffer is not updating with data. Hi, finally I did a ADC HLD demo for your intended configuration Trigger paths: PIT0_CH0 -> TRGMUX -> BCTU Trigger 23 -> ADC0 (5 channels) -> BCTU FIFO1 -> eDMA (ch0) PIT1_CH1 -> TRGMUX -> BCTU Trigger 47 -> ADC1 (5 channels) -> BCTU FIFO2 -> eDMA (ch16) It is posted here: https://community.nxp.com/t5/S32K-Knowledge-Base/Example-FRDM-A-S32K344-PIT-ADC-BTCU-ControlMode-FIFO-DMA-HLD/ta-p/2420432 Hope it helps. BR, Petr Re: S32k342: Bctudmabuffer is not updating with data. Thank, I will check and confirm. Re: S32k342: Bctudmabuffer is not updating with data. I checked example code but it is not working . Re: S32k342: Bctudmabuffer is not updating with data. Can you please reply.? Re: S32k342: Bctudmabuffer is not updating with data. Hi, I see data updated BR, Petr Re: S32k342: Bctudmabuffer is not updating with data. I have configured same channel as you did , and i can see BCTUDMA buffer is updating. But still did not get how did you aligned the Adc0/1channel  and why the ADC0 VREFL/H data is not matching with ADC1 VREFL/H channel. , same for P0? and also some channel is internal which is not require to configure on port but channel like p7 and p0 which is external then why it was not configured in port.?. And i fi want to configure my channel (10) how do i aligned it on BCTU and also do i require to configure on PORT also as p7 and p0 not done in your config.?  why all the channel of Adc0/1 you have not included in ADC configuration array.? Why only one channel for each ADC0/1? Re: S32k342: Bctudmabuffer is not updating with data. Hi, The channels listed in the BCTU list are used only in BCTU control mode, while the channels defined in the ADC unit’s group are used for normal or injected conversions. The group and channels in AdcHwUnit cannot simply be omitted, even if they are not used in this example. No ADC channel needs to be defined in Port. The ADC path is always enabled, so no Port configuration is required. In general, ADC channels do not require PORT configuration. Regarding the buffer misalignment, I originally tested this in Lauterbach, where the buffers were displayed correctly, as expected. Within S32DS, the data becomes misordered when code execution is stopped. I found that this was caused by the PITs being configured to continue running during debug mode. Change the setting to enable freezing the PITs during debugging. The buffers were also incorrectly defined; they should have been declared as uint16_t. Then buffers becomes displayed in S32DS properly as well. BR, Petr    
記事全体を表示
How to access and test the 32 MB embedded NVM on S32E288 Hello NXP Team, I am using the S32E288 device on the S32E288-975EVB and running an application on RTU0 Cortex-R52. The S32E2 product brief shows: - 0/16/32/64 MB embedded NVM - 512 KB data flash with ECC - QuadSPI NOR flash interface Our team wanted to test the NVM region with checker board pattern, Not albe to see any information on RM of s32e27RM where can we get the info, How can we access the Embedded NVM as we are using s32E288 board... I need clarification specifically for the 32 MB embedded NVM, not the 512 KB C55 data flash and not the external NOR flash fitted on the EVB. Could you please clarify the following? 1. Is the 32 MB embedded NVM a serial-flash die integrated inside the    S32E288 package/SiP? 2. Which controller and controller instance provides software access    to this embedded NVM?    Is it accessed through QuadSPI0, QuadSPI1, HSE firmware, or another    dedicated interface? 3. What is the RTU0 CPU-visible address range of the 32 MB embedded NVM?    Is there a memory-mapped read aperture, or must all reads be performed    using QuadSPI IP commands? 4. Are 0x00000000 to 0x01FFFFFF only flash-device offsets, or are they    valid Cortex-R52 system addresses for the embedded NVM? 5. Which QuadSPI chip-select or flash-address-assignment entry corresponds    to the embedded NVM? How can it be distinguished from the external NOR    flash on the S32E288-975EVB? 6. Which RTD driver and example should be used to read, erase, program,    and verify the embedded NVM from RTU0?    Please provide the exact driver/component name and a suitable example. 7. Does RTU0 have permission to erase/program the embedded NVM directly,    or must these operations be requested through HSE/System Manager firmware? 8. The safety manual states that the SiP serial flash does not support XIP.    Does this mean that memory-mapped reads are also unavailable, or only    instruction execution is unsupported? 9. What is the recommended method for a non-destructive read/write test on    one unused sector of this embedded NVM?    Are there protected/reserved areas for boot images, IVT, HSE, or OTA    metadata that must not be erased? My objective is to perform: read, write and verify the NVM region  Please share the relevant S32E2 Reference Manual section, address mapping, RTD example, and required access/protection configuration. Device: S32E288 Board: S32E288-975EVB Core: RTU0 Cortex-R52 / RTU1  Reference Manual: S32E2 RM Rev. 5 RTD: S32ZE AUTOSAR R21-11 RTD Re: How to access and test the 32 MB embedded NVM on S32E288 Hello, @NeelimaRagipindi  Thanks for your post. I had just noticed that you had a similar issue raised via our supporting portal, let me reply there together. BR Chenyin
記事全体を表示
机械图纸需求:RK055HDMIPI4MA0 显示屏 PCB 外形图、安装孔和 FPC 连接器 我正在设计一款定制的 i.MX RT1176 板,以 MIMXRT1170-EVKB Rev C3 为参考设计。它将使用 RK055HDMIPI4MA0 5.5 英寸 MIPI DSI 显示套件,通过套件 PCB 上的四个安装孔直接安装到我的板上。因此,我的板外形和安装孔需要与该PCB相匹配。 我找不到这块PCB板的机械图纸。我查看了 RK055HDMIPI4MA0 产品页面、MIMXRT1170-EVKB 用户指南和设计文件,以及 Rocktech RK055MHD091A0-CTG 面板数据手册,但该手册仅涵盖玻璃模块。 请提供 RK055HDMIPI4MA0 PCB 的机械图纸,格式为 DXF 或 PDF,或者提供 STEP 模型,图纸需包含以下内容: 1.PCB外形尺寸和厚度。 2. 安装孔相对于 PCB 边缘的位置、成品孔径、孔是否镀层以及推荐的螺钉或支架。 3. PCB 背面的 FPC 连接器:零件编号、位置、引脚 1 位置、触点侧以及电缆开口朝向。 4. 提供的 FPC 电缆:零件号、长度、触点类型、同侧或异侧。 5.PCB背面最高的元器件,以及任何禁入区域。 如果旧款 RK055HDMIPI4M PCB 在机械结构上有所不同,也请提供其图纸。 作为参考,以下是我目前为止的计算结果: - 在 MIMXRT1170-EVKB 布局中,LCD 安装孔 SS1 至 SS4 形成 147.253 x 72.905 毫米的图案,孔径为 3.53 毫米,并配有 16.1 毫米长的 M3 支架。 - 我测量了显示屏PCB的尺寸,大约为155 x 83.5毫米。 - 在 EVKB 上,显示器的连接器位于 J48 一侧约 8 毫米处,50 毫米长的电缆是能够应对这种偏移的最短电缆。我想把板上的两个连接器对齐。 感谢您的帮助。 NIC Re: Mechanical drawing request: RK055HDMIPI4MA0 display PCB outline, mounting holes and FPC connecto 嗨@nicnewdigate , 感谢您对恩智浦产品的关注。遗憾的是,该PCB的机械图纸并未公开,因此我们无法分享。由此给您带来的不便,我深表歉意,并感谢您的理解。
記事全体を表示
Mechanical drawing request: RK055HDMIPI4MA0 display PCB outline, mounting holes and FPC connector I am designing a custom i.MX RT1176 board, using the MIMXRT1170-EVKB Rev C3 as the reference design. It will use the RK055HDMIPI4MA0 5.5-inch MIPI DSI display kit, mounted directly on my board through the four mounting holes in the kit's PCB. My board outline and mounting holes therefore need to match that PCB. I could not find a mechanical drawing of this PCB. I have checked the RK055HDMIPI4MA0 product page, the MIMXRT1170-EVKB user guide and design files, and the Rocktech RK055MHD091A0-CTG panel datasheet, which only covers the glass module. Could you please send a mechanical drawing of the RK055HDMIPI4MA0 PCB, as DXF or PDF, or a STEP model, showing: 1. The PCB outline dimensions and thickness. 2. The mounting hole positions relative to the PCB edges, the finished hole diameter, whether the holes are plated, and the recommended screws or standoffs. 3. The FPC connector on the back of the PCB: part number, position, pin 1 location, contact side, and which way the cable opening faces. 4. The supplied FPC cable: part number, length, and contact type, same-side or opposite-side. 5. The tallest component on the back of the PCB, and any keep-out areas there. If the older RK055HDMIPI4M PCB differs mechanically, I would be grateful for its drawing too. For reference, here is what I have worked out so far: - In the MIMXRT1170-EVKB layout, the LCD mounting holes SS1 to SS4 form a 147.253 x 72.905 mm pattern of 3.53 mm plated holes, fitted with M3 standoffs 16.1 mm long. - I measured the display PCB at about 155 x 83.5 mm. - On the EVKB, the display's connector sits about 8 mm to one side of J48, and a 50 mm cable is the shortest that copes with the offset. I would like to line the two connectors up on my board. Thank you for your help. Nic Re: Mechanical drawing request: RK055HDMIPI4MA0 display PCB outline, mounting holes and FPC connecto Hi @nicnewdigate, Thank you for your interest on NXP products. Unfortunately, mechanical drawing of this PCB is not publicly available, so we’re unable to share it. I apologize for the inconvenience this may cause and appreciate your understanding.
記事全体を表示