Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
Codewarrior TAP ccs が削除されました 皆さん、こんにちは。 私はCodeWarrior TAPを使用して、MPC5200を搭載した既存システムのデバッグを行う予定です。 まず、TAPをイーサネット経由で接続したいのですが、USBドライバを使うと(Windows 10で)コンピューターがフリーズしてしまうことがあり、うまくいきませんでした。 以下の質問についてご協力いただけますでしょうか? 1. 私の理解では、TAPをイーサネット経由で接続する場合は、ドライバは必要ありません。USBは電源供給のみに使用されます。 2. Puttyを使用してTAPのTelnetインターフェースにアクセスすることは可能です。しかし、私が次のように入力すると: core> ccs (削除済み) core> ccs バージョン /mnt/flash/ccs/bin/coreprompt/ccs: exec: 67行目: /mnt/flash/ccs/bin/coreprompt/ccs --help: 見つかりません ファームウェアを再フラッシュしてみましたが、うまくいきませんでした。 これは正常な状態でしょうか? ありがとうございました。よろしくお願いいたします。 ミハイ Re: Codewarrior TAP ccs removed こんにちは、ピーターさん。 私はインストーラーとしてCodeWarrior for mobileGT Linux アプリケーション Edition (Windows Hosted) v9.2を使用しています。 https://freescaleesd.flexnetoperations.com/337170/431/8309431/CodeWarrior %20for% 20mobileGT %20Linux% 20Application %20Edition% 20(Windows %20Hosted)% 20v9.2.exe?ftpRequestID=4318315161&server=freescaleesd.flexnetoperations.com&dtm=DTM20260526084709ODY2ODY2MTQy&authparam=1779810429_a51c3442deb4752ada1ecf68b71c8f02&ext=.exe Windows 10 64ビット版にインストールしています。 別のバージョンを試して、その特定のバージョンのccsコンソールを使用してTAPをフラッシュすることもできます。おそらく.gp別のバージョンではファイルが異なります。 必要であれば、Windows XPでも試すことができます。 ありがとうございました。 ミハイ Re: Codewarrior TAP ccs removed こんにちは、 私の記憶が正しければ、MPC5200をサポートするClassic CodeWarriorにはWindows XP以前のバージョンが必要だったはずです。 CodeWarriorの正確なバージョンは何ですか? よろしくお願いいたします。 ピーター Re: Codewarrior TAP ccs removed 迅速なご回答ありがとうございます、 @petervlna 1.私はUSBを電源供給のためだけに壁のコンセントアダプターから使用し、コンピューターのUSBポートからは使用しませんでした。ユーザーガイドに記載されているとおり、必要な500mAを供給できるはずです。 しかし、Windows XPシステムでも、コンピューターからのUSB接続を試してみることはできます。私の理解では、そのドライバはWindows 10をサポートしていない可能性がある。 イーサネット接続、USB接続、あるいはそれらの組み合わせなど、どの接続方法でも構いません。私が望むのは、それが正常に動作し、ccsコンソールでfindcc etapsまたはutapsによって検出されるようにすることだけです。 2. TAP内部のファームウェアパッケージ/CCSを復元する方法を教えていただけますか? 対象機種によってファームウェアのビルドが複数ある場合、私はMPC5200に対応したビルドに興味があります。これらのビルドがどこかで入手できることを願っています。 必要であれば、ユニットを分解して内部のハードウェアやインターフェースを確認することも可能です。 よろしくお願いいたします。 ミハイ Re: Codewarrior TAP ccs removed こんにちは、 1. 私の理解では、TAPをイーサネット経由で接続する場合は、ドライバは必要ありません。USBは電源供給のみに使用されます。 TAP自体はUSB給電式ですが、公式ガイドには、イーサネット通信のみを使用する場合は、PCへのUSB接続に頼るのではなく、TAPに付属の外部電源から給電できると記載されています。 これは正常な状態でしょうか? いいえ、これは正常な動作ではありません。TAP内部のCCSインストールに問題があることを示しています。 mnt/flash/ccs/bin/coreprompt/ccs --help: 見つかりません 次のいずれかが発生していることを意味します。 CCSバイナリが見つからないか、破損しています スクリプト(ccsランチャー)は存在するが、実際に呼び出される実行ファイルは存在しない。 ファームウェアのフラッシュ不良や不完全なイメージの後によく見られる現象 ファームウェアパッケージが間違っています CodeWarrior TAPファームウェアには、異なるビルド(対象ファミリ/CCSバージョン)が存在する。 誤った画像を使用した場合 → CCS部品が含まれていない、または一致しない可能性があります 内部パス/環境が破損しています スクリプト (ccs) はパラメータ (--help) を付けて自身を呼び出そうとして失敗します。 これは次のような場合によく起こります。 シンボリックリンクが切断されました ファイルシステムの一部が破損しています よろしくお願いいたします。 ピーター Re: Codewarrior TAP ccs removed 皆さんこんにちは、この件について続報です。 私は、このフォーラムの以下のリンク先にある ccs.zip ファイルを使用しました: https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/cw-mcu/11745/1/ccs.zip 「trytohelp」というユーザーが推奨していて、私の場合も効果がありました。私はこれまでCodeWarrior IDEを使ったことがありません。 petervlnaさんのアドバイスに従って、readme.txtの手順に従ってドライバをインストールした後、Windows XPでUSB接続を試してみたところ、添付ファイルのような結果が得られました。 Windows 10でイーサネット接続も試しましたが、ドライバはインストールされていませんでした。CCSコンソールの出力は、別の添付ファイルに示されています。 どうやらそうではなく、プローブの目標電力検出の問題のようだ。 手伝ってくれてありがとう。 ミハイ Re: Codewarrior TAP ccs removed 自分自身への返信: 「update cwtap 192.168.1.2」を使用してTAPを再フラッシュしました。- 力:"。ターミナル上のccsバージョンに関する問題はもう発生していません。 TAPはターゲットシステムに接続されました。OpenOCDを搭載したFT2232Hで検出したところ、JTAGスキャンチェーン上には2つのデバイスしか存在しないことがわかった。 openocd.exe -f interface/ftdi/FT2232HL_24feb.cfg xPack Open On-Chip Debugger 0.12.0+dev-02228-ge5888bda3-dirty(2025-10-04-22:44) GNU GPL v2 ライセンスに基づきます。バグ報告については、 http://openocd.org/doc/doxygen/bugs.htmlを参照してください。 情報:クロック速度 100 kHz 情報:JTAGタップ:altera.tap タップ/デバイスが見つかりました:0x020b20dd(製造元:0x06e(Altera)、部品:0x20b2、バージョン:0x0) 情報: JTAG タップ: mpc5200.cpu タップ/デバイスが見つかりました: 0x1001101d (製造元: 0x00e (Freescale (Motorola))、部品: 0x0011、バージョン: 0x1) 警告: gdb サービスには 1 つ以上のターゲットが定義されている必要があります しかし、CodeWarrior TAP を使用した ccs コンソールでは、次のようになります。 TDO ----- | * デバイス 0 IDCODE: 020B20DD デバイス: 不明なデバイス * デバイス 1 IDCODE: 1001101D デバイス: FSL MPC5200B rev 2.x * デバイス2 IDコード: FFFFFFFF デバイス: 不明なデバイス * デバイス3 IDコード: FFFFFFFF デバイス: 不明なデバイス * デバイス4 IDコード: FFFFFFFF デバイス: 不明なデバイス * デバイス 5 IDコード: FFFFFFFF デバイス: 不明なデバイス * デバイス 6 IDコード: FFFFFFFF デバイス: 不明なデバイス * デバイス 7 IDコード: FFFFFFFF デバイス: 不明なデバイス | TDI ----- IDCODEがFFFFFFFFのデバイス2~7はどうなっているのですか?接続に問題があると思われるかどうか教えていただけますか? ありがとうございます ミハイ
View full article
FreeRTOS integration with AUTOSAR FlexCAN driver — RTD 3.0.0 / S32DS We have developed a FlexCAN (CAN driver) using NXP RTD 3.0.0 on S32DS as a bare-metal AUTOSAR MCAL implementation. We now need to integrate FreeRTOS as the RTOS for this project. Our specific questions are: 1. Is it officially supported to run AUTOSAR MCAL drivers (RTD 3.0.0) under FreeRTOS instead of AUTOSAR OS? 2. If it is supported how to port FREERTOS any example SDK? 3. Are there any known limitations or additional configuration steps required in S32DS when using FreeRTOS with the Can driver (FlexCAN)? 4. What is the recommended interrupt priority setup for FlexCAN ISRs when using FreeRTOS (with respect to configMAX_SYSCALL_INTERRUPT_PRIORITY)? Environment: - MCU: [FRDM s32k344 ] - RTD version: 3.0.0 - IDE: S32DS - RTOS: FreeRTOS - Driver: FlexCAN / Can driver (AUTOSAR MCAL) Re: FreeRTOS integration with AUTOSAR FlexCAN driver — RTD 3.0.0 / S32DS HI , Julián_AragónM Thanks for your early reply and fast response. Yes, it was a very helpful Re: FreeRTOS integration with AUTOSAR FlexCAN driver — RTD 3.0.0 / S32DS Hi , 1. Is it officially supported to run AUTOSAR MCAL drivers (RTD 3.0.0) under FreeRTOS instead of AUTOSAR OS? Yes. NXP provides a FreeRTOS release for S32K3 based on RTD 3.0.0 for FreeRTOS kernel v10.5.1: However, all of the routines are based on the low-level layer (LLD or IP), not the high-level layer (HLD or MCAL). Mainly because FreeRTOS is not ISO26262 certified. 2. If it is supported how to port FREERTOS any example SDK? This is up to the customer. FreeRTOS implementation will depend on your project's complexity. As I've mentioned, we provide some example routines in the FreeRTOS package which you can use as reference:   There is also a lot of useful information in the FreeRTOS' user manual. It notes linker script, interrupt vector table, timers, interrupts along with RTD integration.  (FreeRTOS User Manual is available from version 6.0.0 and up.) 3. Are there any known limitations or additional configuration steps required in S32DS when using FreeRTOS with the Can driver (FlexCAN)? Other than usual RTOS configurations (heap size, handlers, OS rate with timers, priorities, etc.), there are no specific FlexCAN + FreeRTOS limitations. 4. What is the recommended interrupt priority setup for FlexCAN ISRs when using FreeRTOS (with respect to configMAX_SYSCALL_INTERRUPT_PRIORITY)? You can refer to this other community post: Solved: How to configure interrupt priorities when using freertos for s32k142 - NXP Community. It mentions S32K1, but the principles are the same. S32K3 also has 4 priority bits. In case you are not too far in application development, I would suggest updating your current RTD version, as there have been several releases containing bug fixes, known issues and optimizations. Added to this, there is also a compatible FreeRTOS package with latest RTD release (7.0.1). Hope this helps!  Best regards, Julián
View full article
mc33774 醒来 你好。 目前,我使用 S32K310、MC33665A 和 MC33774 芯片进行电压采集。目前,我的 MC33665A 运行正常,MC33774 的电源和电路也正常。但是,当我通过 MC33665A 发送唤醒帧来唤醒 MC33774 时,总线链中的两个 AFE 都无法唤醒(这是通过测量 VDDC 电压是否可以达到 5V 来确定的)。我目前的唤醒方法是先发送一帧唤醒帧,然后延迟至少 10 毫秒再发送另一帧唤醒帧。无法正常醒来的可能原因是什么? 另一个问题是发送唤醒命令后,MC33774 没有唤醒。然而,当我发送单个电压采集指令时,第一个 MC33774 被唤醒,并在 DADD=0 状态下响应正确的电压值。这合理吗? wakeup frame唤醒帧 AFE_1 responds with data in the DADD=0 stateAFE_1在 DADD=0 状态下响应数据 MC33774 initialization processMC33774 初始化过程 Re: MC33774 WAKE UP HI. 我尝试了这种方式,但是这种枚举方式下我的AFE1被枚举为了DADD=2,相当于我发送的枚举AFE1为DADD=1的报文被忽略或者被当成了唤醒帧。唤醒帧和枚举帧的时间间隔设置了10ms,应该满足手册中的2.4ms。请问是不是我的唤醒帧发送格式错误? Re: MC33774 WAKE UP Hi  可以尝试: 唤醒第一个 33774 → 给第一个 33774 写入 DADD → 唤醒第二个 33774 → 给第二个 33774 写入 DADD→唤醒第 n 个33774 →给第 n 个 33774 写入 DADD。流程图如下所示:
View full article
MC33774 WAKE UP HI. Currently, I am using the S32K310, MC33665A, and MC33774 chips to perform voltage acquisition. At present, my MC33665A is operating normally, and the power supply and circuit of MC33774 are also normal. However, when I send a wakeup frame through MC33665A to wake up MC33774, neither of the two AFEs in the bus chain cannot be awakened (this is determined by measuring whether the VDDC voltage can reach 5V). My current wakeup method is to send one frame of the wakeup frame and then delay for at least 10ms before sending another frame of the wakeup frame. What could be the possible reasons for the inability to wake up normally? Another issue is that after sending the wakeup command, MC33774 did not wake up. However, when I sent a single voltage acquisition instruction, the first MC33774 was awakened, and it responded with the correct voltage value in the DADD=0 state. Is this reasonable? wakeup framewakeup frame AFE_1 responds with data in the DADD=0 stateAFE_1 responds with data in the DADD=0 state MC33774 initialization processMC33774 initialization process Re: MC33774 WAKE UP HI. I tried this method, but with this enumeration method my AFE1 is enumerated as DADD=2, which means that the messages I send with enumerated AFE1 as DADD=1 are ignored or treated as wakeup frames. The time interval between wakeup frame and enumeration frame is set to 10ms, which should meet the 2.4ms in the manual, is it possible that my wakeup frame is sent in the wrong format? Re: MC33774 WAKE UP Hi. You can try: Wake up the first 33774 → write DADD to the first 33774 → wake up the second 33774 → write DADD to the second 33774 → wake up the nth 33774 → write DADD to the nth 33774. the flowchart is shown below:
View full article
Sch of RDA8420TEIS0 Hi there, I am Hong in Australia.  I am going to design a BMS with EIS, and going to use BMA7418, 6402, 8420 etc.  but in terms of generating AC excitation signal, I could not figure out.  can you tell me how this board RDA8420TEIS0 generates AC excitation signals.  can  you post the schematic ?  how those parts Q1, Q2, D2, D3, the inductor and the  cap work ?  I can't figure out, can you please help ? cheers H-Bridge Driver Re: Sch of RDA8420TEIS0 HI  You can try to download this board from below link for reference. https://www.nxp.com/design/design-center/development-boards-and-designs/EVBMA8420T
View full article
Jellytideは本当に頑張っているのか?2026年のレビュー Jellytideは、ハリウッド映画のような恐怖を煽る戦術ではなく、現実的な停電時のサバイバル戦略に焦点を当てているため、2026年に最も話題になる防災システムの一つになりつつある。戦闘経験を持つダニエルズ氏が作成したこのプログラムは、実用的なガイド、段階的なビデオ、そして軍隊式の計画立案を組み合わせ、ファミリが長期停電、サイバー脅威、緊急事態に備えるための支援を提供する。ジェリータイド、準備完了 その際立った点は、初心者にも優しいアプローチであることだ。このシステムは、高価な地下壕や複雑なサバイバル装備を推奨するのではなく、水の貯蔵、予備電源、食料の確保、EMP対策、家庭での備えといった、手頃で実用的な対策に焦点を当てている。多くのユーザーは、このガイドがすべてを一般家庭でも実際に実行できる簡単な週末プロジェクトに分解している点を高く評価している。 2026年には、電力網の不安定性、異常気象、サプライチェーンの混乱に対する懸念が高まるにつれ、防災対策はニッチな趣味からメインストリームの話題へと変化した。Jellytideは、極端な「終末論的準備者」になることなく、安心感を求める家族向けに、体系的なサバイバルロードマップを提供することで、このトレンドに直接的に着目している。 買う価値はありますか?実践的な防災計画を求めている人にとって、その答えは「イエス」であるようだ。その価値は、システムの構成、シンプルさ、そして現実世界に焦点を当てている点にある。しかし、このガイドは、ユーザーが実際にその戦略を実行した場合にのみ効果を発揮する。これは、家庭の回復力と緊急事態への備えを段階的に向上させる意欲のある人に最適です。 詳細はこちらをご覧くださいhttps://tinyurl.com/2epyz5wu
View full article
关于S32K344功耗评估问题 请问这个是默认开两个核心的功耗估算?还有每个外设选中之后,内部还有个额外所需电流,这个是啥意思,这个还需要自己去评估吗?目前选中的外设,是目前需要使用的,但是内部的额外所需电流都没有设置,此时这个162.13mA/535.03mW,这个评估的功耗,可参考性大吗? 回复: 关于S32K344功耗评估问题 Hi@北大街老司机潜在王者 依然在数据手册中,该table中列出来了测试的外设开启状况 回复: 关于S32K344功耗评估问题 感谢回复:您好,是这样的关于2.在该table中,你可以找到时钟为160MHz,双核和单核,部分外设未关闭的功耗。这是说部分外设未关闭,能确定是哪些外设没关闭,还是所有外设都打开的情况下的电流,我这意思S32K344在RUN mode下,打开EMAC、LPI2C、QuadSPI、TempSense、eDMA、eMIOS,这些外设,还有这个电流的参考意义有多大?按PET上的功耗,感觉有点偏低吧? Re: 关于S32K344功耗评估问题 Hi@北大街老司机潜在王者 该功耗评估工具没有进行维护,一些功耗数据和最新的数据手册存在差异。 建议你参考最新的数据手册. 我是用的是:Rev. 13 — 12 November 2025,最新的为Rev.14. 1.在该table中,你可以找到时钟为160MHz,双核和单核,外设关闭的功耗。 2.在该table中,你可以找到时钟为160MHz,双核和单核,部分外设未关闭的功耗。
View full article
多采样帧缓冲器到多采样 EGL 表面混合时出现 GL_INVALID_OPERATION 错误 你好, 我正在我的 I.MX8QM 评估板中使用 Opengl ES 对多样本 EGL Surface 进行多样本帧缓冲处理,但我遇到了错误,因为 " GL_INVALID_OPERATION "。以下是我的操作步骤。 FrameBufferObject 创建 附加了多采样呈现缓冲区 作为 glRenderbufferStorageMultisample(GL_RENDERBUFFER,4,GL_RGBA8,width,height);并绘制到 FBO 中。 当使用 在使用glBlitFramebuffer 从 FBO 渲染到默认帧缓冲区时,会出现GL_INVALID_OPERATION错误。 创建的 EGL 窗口表面具有 属性: egl_samples = 4 egl_red_size = 8 egl_green_size = 8 egl_blue_size = 8 egl_alpha_size = 8 当创建 EGL 表面时使用 EGL_SAMPLES = 0 时,glBlitFramebuffer 会正确绘制默认帧缓冲区。 注意: 在glBlitFramebuffer 中,源矩形和目标矩形的大小完全相同。 Re: GL_INVALID_OPERATION error, when doing multisample framebuffer to multisample EGL Surface blitti 您好, OpenGL ES 禁止使用这种情况,您不能从多采样缓冲区解析(blit)到多采样缓冲区。 如文件所述: https://registry.khronos.org/OpenGL-Refpages/es3.0/html/glBlitFramebuffer.xhtml 如果绘制缓冲区的 GL_SAMPLE_BUFFERS 值大于零,则会生成 GL_INVALID_OPERATION。 致以最崇高的敬意/问候, Aldo。
View full article
FRDM-MCXN947はJ7 PMODを介してLCD-PAR-S035に接続できますか? FRDM-MCXN947はJ7 PMODを介してLCD-PAR-S035に接続できますか?関連するZephyrのサンプルはありますか?#LVGL MCX N Re: Can FRDM-MCXN947 connect to LCD-PAR-S035 via J7 PMOD どういたしまして。何か新しい問題があれば、遠慮なく新しい投稿を作成してください。 Re: Can FRDM-MCXN947 connect to LCD-PAR-S035 via J7 PMOD ご返信ありがとうございます。FRDM-MCXN947をJ8コネクタ経由でLCD-PAR-S035に接続すると、正常に動作します。 Re: Can FRDM-MCXN947 connect to LCD-PAR-S035 via J7 PMOD こんにちは、 @chaohang021 さん。 投稿ありがとうございます。 いいえ、FRDM-MCXN947では、LCD-PAR-S035はJ7 Pmodの接続パスではありません。ボードのユーザーマニュアルには、LCDディスプレイのサポートは28ピンFlexIOヘッダーJ8で行われると記載されており、このヘッダーはLCD-PAR-S035ディスプレイをサポートすることを目的としていると明記されています。J7ヘッダーは、このボードのLCD_PAR_S035接続としてではなく、ペリフェラルモジュールを接続するための一般的なPmodヘッダーとして別途文書化されています。 はい、 NXP Zephyrディスプレイのポータビリティデモと、FRDM-MCXN947 + LCD-PAR-S035向けのZephyr LVGLデモフローは関連しています。FRDM-MCXN947の場合、Zephyr/LVGLのサンプルでは、samples/modules/lvgl/demosを使用し、Board: FRDM MCXN947 (CPU0)、SHIELD="lcd_par_s035_8080"を指定します。 お役に立てば幸いです。 BR セレステ
View full article
CAN driver recovery Hello, I am working on the FlexCAN driver (interrupt mode) in the FRDM-A-S32K344 platform. I want to verify whether the CAN driver supports automatic recovery from CAN bus faults without a system or ignition reset. If this recovery feature exists in SDK version 3.0.0, where is it implemented or reflected in the driver, and where should I check it? Re: CAN driver recovery Hi @ganavi1, As @shep mentioned, the FlexCAN driver from the RTD package can enable the "AutoBus Recovery" feature. This is set by default, and no additional settings are required. Once the bit is enabled, FLEXCAN will automatically try to recover from the bus-off state to the normal state (assuming the external conditions that caused the bus-off are removed). Best regards, Julián Re: CAN driver recovery The S32K FlexCAN register has support for automatic bus-off recovery. I don't have the SDK manual, but you can search thru the relevant section to see if it interacts with the bit described in the reference manual. Here is the text from the reference manual: CTRL1 Register BOFFREC Bus Off Recovery Determines how FlexCAN recovers from Bus Off state. If 0, automatic recovering from Bus Off state occurs according to the CAN Specification 2.0B. If 1, automatic recovering from Bus Off is disabled. The module remains in Bus Off state until you write 1 to this field. If this field becomes 0 before 128 sequences of 11 recessive bits are detected on the CAN bus, Bus Off recovery happens as if this field had never become 1. If this field becomes 0 after 128 sequences of 11 recessive bits occurred, FlexCAN resynchronizes to the bus. It waits for 11 recessive bits before joining the bus. After this field becomes 0, it can become 1 again during Bus Off, but it will only be effective the next time the module enters Bus Off. If this field becomes 0 when the module is in Bus Off, writing 1 to this field is not effective for the current Bus Off recovery. See Bus Off in the CAN protocol standard ISO 11898-1:2015 for details. NOTE 0b - Enabled 1b - Disabled The default value of the bit is 0, so by default it will perform bus-off recovery automatically. Re: CAN driver recovery Here is some error correction feature as below, hope it helps. Detection and correction of errors in memory read accesses: —Each byte of FlexCAN memory is associated to five parity bits. —The error correction mechanism ensures that errors in one bit of this 13-bit word can be corrected (correctable errors). —Errors in two bits can be detected but not corrected (noncorrectable errors). Re: CAN driver recovery Thanks for your reply
View full article
请求为 NCx3321 集成提供技术支持和文件 亲爱的团队, 我目前正在开发一款基于 ncx3321 设备的应用程序,该应用程序与德州仪器 MSPM0G3519 控制器接口以提供身份验证相关功能。我想请您就整合过程提供指导和技术支持。 具体而言,我在找: -ncx3321 数据表和技术文档 SPI 通信协议详细信息-注册映射和初始化序列 RF 字段启用程序 -参考软件/示例或应用说明卡检测和身份验证的 推荐开发流程如果您能指导我了解开始使用 NCx3321 设备进行开发所需的推荐流程和资源,将非常有帮助。 还请告诉我,访问完整文档时是否需要遵循任何保密协议要求、SDK 包或其他支持渠道。期待您的支持和指导。 Re: Request for Technical Support and Documentation for NCx3321 Integration 你好@Ja10 是的,您需要与恩智浦签署一份 NDA,然后就可以申请技术文件。请通过以下方式签订保密协议 恩智浦开发人员技术支持和资源|恩智浦半导体 并选择
View full article
i.MX8ULPでのSPI NANDブート こんにちは、 i.MX8ULPのSPI NANDからブートしようとしています。 evkにはSPI NORが搭載されており、そこから起動することはできましたが、当社のボード上のNANDで試したところ、うまくいきませんでした。BT*_CFG*ピンを設定したところ、ブートROMがNANDを読み取ろうとしていることは確認できましたが、M33コアもA35コアも起動しないようなので、ブートイメージが正しくないのではないかと考えています。 imx-mkimage flash_singleboot_m33_flexspiターゲットを使用してイメージを構築していますが、このターゲットはヘッダーブロックとしてfspi_headerファイルを使用します。しかし、このファイル内のコメントを見ると、これはシリアルNOR用でありNAND用ではないようですので、このflexspi構成ブロックヘッダーについて調べています。 ターゲットに適したヘッダーファイルを作成するにはどうすればよいでしょうか? kobs-ngを見つけたのですが、8ulp向けには設計されていないようです(GPMI NANDコントローラーがなく、軽くパッチを適用しても動作しません)。 8ulpのドキュメントにも、FCFBブロックに関するドキュメントは見当たりませんでした。i.MX 8M Mini Applications Processorのリファレンスマニュアル(およびu-boot mkimageにそれに関するオプションを追加するu-bootパッチ)でそれに関するドキュメントを見つけましたが、たとえそれが本当に同じフォーマットだとしても、i.MX8ULPでそれを使用する方法(特にどのLUTテーブルを使用するか)を教えていただけると助かります。 ありがとうございました。 ドミニク・マルティネ Re: SPI NAND boot on i.MX8ULP メッセージを見逃してしまい申し訳ありません。そちらの8ULPとSPI-NANDの回路図の一部を共有していただけますか?また、エラーログ全体も共有していただけますか? Re: SPI NAND boot on i.MX8ULP ご回答ありがとうございます。 ボードはSDカードから正常に起動するため、SoC/メモリに明らかな問題はありません(BT*_CFG*からの切り替え)。 BT CFGの正確なピンと使用されているピンについては後ほど投稿しますが、SPI転送を見ると起動時にNANDが読み取られていることがはっきりと確認できるので、この部分は恐らく正しいと思われます。まずはfspi_headerを確認したいと思います。 昨日さらに調べてみたところ、SPSDKのnxpimageにこのためのコマンドがあることが分かりましたが、8ulpのnorフラッシュしかサポートしていないようです。そのため、依然として様々なパラメータを手動で試すしかなく、デバイス上で実行できるkobsのようなドキュメントやツールがあればありがたいです。 ありがとう Re: SPI NAND boot on i.MX8ULP 遅れてごめんなさい。 参考までに、ボードの構成は以下のとおりです。 - ブートヒューズをクリアしました(受領時の初期状態)。 - QSPI NANDは以下のように接続されます。 PTD12(FLEXSPI2_A_SS0_b) /CS PTD13(FLEXSPI2_A_SCLK) CLK PTD14(FLEXSPI2_A_DATA3) /HOLD(IO3) PTD15(FLEXSPI2_A_DATA2) /WP(IO2) PTD16(FLEXSPI2_A_DATA1) DO(IO1) PTD17(FLEXSPI2_A_DATA0) DI(IO0) - ブートピンは以下のとおり BOOT_MODE0が開いている(0)、BOOT_MODE1がプルアップされている(1)=ピンからブートする BT0_CFG0がプルダウンされました(低電力ブートなし) BT0_CFG1 がダウンロードされました (デュアルブート M33/A35 "eMMC から"...) BT0_CFG2は無視されました BT0_CFG3がプルダウンされ、CFG4がプルアップされました(m33ブートインターフェース。デュアルブートでは無視すべきでしょうか?)。 BT0_CFG5は無視されました BT0_CFG6/7は両方ともプルダウンされています(24MHz外部OSC)。 BT0_CFG[8-11]は無視されました BT0_CFG12/13 はフローティング、CFG14 はプルダウンされています (「flexspi デバイスタイプ」が m33 とは独立したブート設定なのか、両方に影響するのかは不明です。念のため、011 (4B READ(0x13) でフラッシュ、これは当社の NAND がサポートしているもの) に設定してみましたが、目に見える違いはありませんでした)。 BT0_CFG15は無視されました BT1_CFG[0-3]は無視されました BT1_CFG4 がダウンロードされました (eMMC 高速ブートが無効になっています) BT1_CFG5 プルダウン (速度は通常) BT1_CFG6/7 がプルダウンされました (バス幅 4) BT1_CFG8は無視されました BT1_CFG9が起動しました(SDカードブート、SPIブートモードでは無視してください) BT1_CFG10/11/12はそれぞれ下落/上昇/下落しました(USDHC2も同様に無視してください)。 BT1_CFG13/14はそれぞれプルアップ/プルダウンされます(SPI NAND)。 BT1_CFG15 がプルダウンされました (SD ブートへのリカバリ) 他に確認すべき点があれば教えてください。そうでなければ、フラッシュブート設定ブロックに関するドキュメントに引き続き興味があります。 よろしくお願い申し上げます。 Re: SPI NAND boot on i.MX8ULP SPI NANDとブートモードに関するハードウェア設計はどうでしょうか?ボードには、eMMCやSDカードなど、他のフラッシュメモリが搭載されていますか?はいの場合、システムが起動できるかどうか試してみていただけますか? Re: SPI NAND boot on i.MX8ULP こんにちは、 @Rita_Wang お返事ありがとうございます。私はミゾ族で、martinetdの同僚です。 現在、私たちが具体的に知りたいのは、SPI NAND用のブートイメージファイルを作成する方法です。 リファレンス・マニュアルには、FlexSPI2にコネクテッドされたSPI NANDからのブートがサポートされていると記載されています。しかしながら、イメージファイルヘッダーに必要な正確なフォーマットが不明なため、現時点ではブートイメージを作成することができません。 NXPは既に内部的にSPI NANDからi.MX8ULPの起動に成功していると想定します。画像ファイルのヘッダー形式を共有していただくか、このヘッダーを生成するために使用したソフトウェア/ツールをご提供いただければ大変ありがたいです。 ご支援ありがとうございます。 Re: SPI NAND boot on i.MX8ULP こんにちは、 @Rita_Wang さん。 何か進展はありましたか?この件で行き詰まっており、どんなご支援でも大変ありがたく思います。 よろしくお願いします! Re: SPI NAND boot on i.MX8ULP 私はGolden Shiny Oscilloscope ™にアクセスし、その構成で起動すると、チップがNANDの最初の部分を正常に読み取ることを確認しました(ブロック0に対して0x13の読み取りを発行し、NANDがビジー状態でなくなるまでステータスレジスタをポーリングし、その後少なくとも2KBのデータを読み取ります。特に、読み取られたデータは、1KBのゼロとFCFBヘッダーが続くimx-bootイメージの開始部分と一致することを確認しました)。 この時点ではそれ以上何も起こりません。スコープの扱いに慣れていないため、後でさらにデータが読み込まれたかどうかは判断できませんが、読み取りが停止したようです。そのため、私が書いた fspi_header が正しいかどうかを確認したいです (シリアル NOR の 0x01 の代わりにシリアル NAND の 0x02 を入力し、SFlashA1Size、ページ サイズ、セクタ サイズ、ブロック サイズも入力しましたが、それ以外は imx-mkimage リポジトリにあったものをそのまま残しました)。 NAND用の有効なFSPIヘッダーの書き方について、何かヒントをいただけるとありがたいです。 ありがとう Re: SPI NAND boot on i.MX8ULP こんにちは、 @Rita_Wang さん。 この件に関する最新情報はありますか? i.MX 8ULPでSPI NANDからのブートがサポートされていない場合、できるだけ早く代替方法の調査を開始する必要があります。このSoCでSPI NANDブートが実際に可能かどうか、少なくとも確認していただけますか? uboot-imxのソースコードにあるarch/arm/mach-imx/cmd_nandbcb.cを確認したところ、imx8mn、imx8qx/qmなどがサポートされていることがわかりました。このことから、SPI NANDブートは可能であると推測される。 また、i.MX 8ULPと全く同じSPI NANDブート仕様を持つi.MXシリーズのプロセッサが他に存在する場合、それらを参考にさせていただきたいので、どの製品か教えていただけますでしょうか? ご支援いただき、改めて感謝申し上げます。 Re: SPI NAND boot on i.MX8ULP 私も試してみます。完了したらまたご連絡します。 Re: SPI NAND boot on i.MX8ULP こんにちは、 @Rita_Wang さん。 最新情報のご提供ありがとうございます。 私は既に、SPI NANDフラッシュを搭載したi.MX8ULPカスタムボードを自作しました。したがって、ブートイメージの作成方法とプログラム方法を教えていただければ、すぐにテストと検証を行うことができます。 事前に手順と情報だけを共有していただくことは可能でしょうか? よろしくお願いします、 ミゾ族 Re: SPI NAND boot on i.MX8ULP こんにちは、 @Rita_Wang さん。 SPI NANDブートがi.MX91と同じ仕様でサポートされているという情報を受け取りました。こちら側でも導入を試みます。 よろしくお願いします、 ミゾ族 Re: SPI NAND boot on i.MX8ULP i.MX8ULP ROMはSPI NANDブートをサポートしていますが、EVKはSPI NORのみをサポートしています。SPI NANDを使用したい場合は、 i.MX91のコードを参照してください。詳細はメールでご説明しました。
View full article
S32K324 Problems with freertos and tcpip_stack configuration Hi, I want to create a project with S32k324 based on RTD3.0 +FreeRTOS 10.5.1+Tcpip_stack1.0.3, and there is a problem that if the TCPIP use Freertos did lead to errors after making files. But when TCPIP didn't use Freertos, there weren't any problems. But it runs normally with FreeRTOS in the same way on the S32K344 . Q: 1. Based on the above phenomenon, could it be that some configurations were overlooked in the project?And how to solve this problem? 2. Since the S32k324 has dual cores, and there're two core projects generated when I create the project, so I want to know that if I want to use FreeRTOS in each core project, should I intall the freeRTOS separately? And is there any examples of how to use S32k324 dual cores ? Re: S32K324 Problems with freertos and tcpip_stack configuration Hello @jianghao , Based on the behavior you described, this does not look like a simple missing checkbox in the configuration tool. The more likely reason is that the S32K324 project cannot use the same FreeRTOS/lwIP settings as S32K344 without adaptation. You may check example FreeRTOS_SMP_Example_S32K358_2xCores in RTD 6.0.0 , to get reference how FreeRTOS has been integrated on dual core. For your second question, FreeRTOS does not natively support multicore processors by default. If you want to run FreeRTOS on both cores, this would mean two separate FreeRTOS instances, one per core. . This is not an out-of-box supported example on S32K324. Please check links below - you may find them useful: Solved: LWIP on S32K324 - NXP Community S32K324 : running freeRTOS on Multi core - NXP Community Solved: Re: S32K324 Multi-Core Example Project based on Whiteboard - NXP Community S32K344/S32K324 TCPIP_STACK Intergration - NXP Community problem hardFault generated by sw32k3_FreeRTOS - NXP Community Best regards, Pavel
View full article
PAN9026 Bluetoothモジュールを搭載したi.MX8MMにおけるHFP/HSP SCOオーディオ起動時の問題 こんにちは、NXP チームの皆様、 現在、i.MX8MMプラットフォーム上でBluetooth HFP/HSPオーディオの立ち上げに取り組んでおり、SCOオーディオルーティングとHFPサポートに関するご助言をいただければ幸いです。 プラットフォームの詳細: SoC: i.MX8MM BSPバージョン:Linux BSP 5.4.147(Yocto Boot2Qt 5.15.12) カーネルバージョン: 5.4.147-2.3.0 Bluetoothモジュール:PAN9026 Bluetoothインターフェース:SDIO/UART オーディオコーデック: TLV320AIC オーディオフレームワーク: PulseAudio 13 + oFono + BlueZ Bluetoothスタック: BlueZは正常に動作しています PulseAudio Bluetoothモジュールが搭載されました oFonoは正常に動作しています 現在の状況: A2DPオーディオは正常に動作しています。 Bluetoothヘッドセットのペアリングと接続は正常に動作しています。 HFP/HSPプロファイルが検出されました。 PulseAudioは以下を生成します。 module-bluez5-デバイス module-bluez5-discover pactl list cards の出力: a2dp_sink 利用可能: はい ヘッドセットヘッドユニット利用可能: いいえ 試行時: pactl set-card-profile bluez_card.xx headset_head_unit 私たちは以下を受け取ります: Failure: Input/Output error カーネル検証: CONFIG_BT_BREDR=y CONFIG_SND_SOC_BT_SCO=y Bluetooth SCOソケットレイヤーの初期化に成功しました hciconfigはSCO MTUを正しく表示します また、NXP HFPの例と同様の、ベンダー固有のSCO初期化コマンドもテストしました。 hcitool -i hci0 cmd 0x3F 0x001D 0x01 hcitool -i hci0 cmd 0x3F 0x0007 0x00 hcitool -i hci0 cmd 0x3F 0x0028 0x03 0x00 0x03 hcitool -i hci0 cmd 0x3f 0x0029 0x04 0x00 私たちの主な目標: i.MX8MM LinuxプラットフォームでBluetoothヘッドセットのマイクを使用する。 HFP/HSP双方向オーディオを有効にする。 最終的には、ボードを介したスマートフォンの通話ルーティングを評価する。 ガイダンス、DTSの参考例、SCOルーティングに関するドキュメント、または既知のBSPの制限事項などがあれば、大変ありがたいです。 よろしくお願いします、 ヴィニース i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: HFP/HSP SCO Audio Bring-up Issue on i.MX8MM with PAN9026 Bluetooth Module こんにちは、 @vinee さん。 NXPサポートにご連絡いただきありがとうございます! 残念ながら、お客様が使用されているモジュールは、弊社のBSPにおいて正式に検証されていません。しかし、ご説明いただいた内容から判断すると、お客様側で若干の設定調整を行うだけで済む可能性が高いと思われます。 設定の参考にするために、 i.MX8MM-EVKボードのデバイスツリーを使用することをお勧めします。 これらの調整後も問題が解決しない場合は、モジュールベンダーが適切な設定とサポートを提供し、ハードウェアとの正常な動作を保証する必要があることにご注意ください。 よろしくお願いします、 チャビラ
View full article
IBIS 模型请求 - 用于信号完整性分析的 MC33664ATL1EG / MC33FS8530A0ES / MC33XS2410EL 你好,恩智浦社区、 我正在进行信号完整性分析,我需要以下 恩智浦元器件的IBIS仿真模型: 1.MC33664ATL1EG (TPL 收发器) 2.MC33FS8530A0ES (系统基础芯片) 3.MC33XS2410EL(高压侧智能开关) 能否请您提供这些 IBIS 文件 ,或确认这些文件是否在保密协议下提供? 提前谢谢您。 DSC Re: IBIS Model Request — MC33664ATL1EG / MC33FS8530A0ES / MC33XS2410EL for Signal Integrity Analysis 感谢您与我们联系。 IBIS 模型仅适用于FS8530。可在产品页面的设计资源 - 设计文件下下载。 直接链接: https://www.nxp.com/downloads/en/ibis-model/FS85-IBIS.zip 遗憾的是,MC33664& XS2410没有 IBIS 或任何其他仿真模型。  
View full article
Writing Data to PSRAM from DSP on RT685 I am using the RT685 platform, connecting a PSRAM through FlexSPI. The PSRAM (ISSI IS66WVR8M8FALL) is connected to PortA2, and there is a QSPI Flash connected to PortA1. PSRAM was configured to access by AHB, FlexSPI was configured on MCU side after startup, then after a few minutes, wrote data from DSP side. When writing data from DSP side, there were some 0x00 data in the PSRAM, and the data looks regular. To debug this issue, I wrote 192 bytes 0x32 at once and then 0x33 ... There is no problem of writing and reading data from MCU side. This issue only occurred when writing data from DSP side. The configuration of FlexSPI, const flexspi_config_t FLEXSPI_config = { .rxSampleClock = kFLEXSPI_ReadSampleClkLoopbackInternally, .enableSckFreeRunning = false, .enableDoze = true, .enableHalfSpeedAccess = false, .enableSckBDiffOpt = false, .enableSameConfigForAll = false, .seqTimeoutCycle = 65535, .ipGrantTimeoutCycle = 255, .txWatermark = 8U, .rxWatermark = 8U, .ahbConfig = { .ahbGrantTimeoutCycle = 255, .ahbBusTimeoutCycle = 65535, .resumeWaitCycle = 32, .buffer = { { .priority = 0, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true }, { .priority = 1, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true }, { .priority = 2, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true }, { .priority = 3, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true }, { .priority = 4, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true }, { .priority = 5, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true }, { .priority = 6, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true }, { .priority = 7, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true } }, .enableClearAHBBufferOpt = true, .enableReadAddressOpt = false, .enableAHBPrefetch = false, .enableAHBBufferable = true, .enableAHBCachable = false } }; Configuration of PSRAM, flexspi_device_config_t FLEXSPI_config_Device_SPIRAM = { .flexspiRootClk = SPIRAM_ROOT_CLOCK_HZ, .isSck2Enabled = false, .flashSize = SPIRAM_SIZE_KBYTES, .CSIntervalUnit = kFLEXSPI_CsIntervalUnit1SckCycle, .CSInterval = 2, .CSHoldTime = 3, .CSSetupTime = 3, .dataValidTime = 0, .columnspace = 0U, .enableWordAddress = false, .AWRSeqIndex = SPIRAM_LUT_SEQ_IDX_WRITE, .AWRSeqNumber = 1U, .ARDSeqIndex = SPIRAM_LUT_SEQ_IDX_READ, .ARDSeqNumber = 1U, .AHBWriteWaitUnit = kFLEXSPI_AhbWriteWaitUnit2AhbCycle, .AHBWriteWaitInterval = 1, .enableWriteMask = false, }; Does anyone have idea about this problem? i.MXRT 600 Re: Writing Data to PSRAM from DSP on RT685 Hi @VincentW  I think the issue is most likely caused by incorrect FlexSPI AHB configuration for multi-master access. Currently, all AHB buffers are assigned to master 0. .buffer = { { .priority = 0, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true }, { .priority = 1, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true }, { .priority = 2, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true }, { .priority = 3, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true }, { .priority = 4, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true }, { .priority = 5, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true }, { .priority = 6, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true }, { .priority = 7, .masterIndex = 0U, .bufferSize = 256U, .enablePrefetch = true } }, You can try to assign one buffer to the dsp. Enabling AHB write buffering (enableAHBBufferable = true) may delay or merge writes, which is not suitable for PSRAM and can lead to missing data. You can try to  enableAHBBufferable = false; BR Harry Re: Writing Data to PSRAM from DSP on RT685 Thanks Harry. Is there any meaning of .mastIndex ? or is there any range of it? I just want to know how to choose the Master ID. Re: Writing Data to PSRAM from DSP on RT685 Hi Harry, I tried to disable the buffer of AHB TX, it didn't help to solve this issue. enableAHBBufferable = false; Do you know if there is anything about the cache, which may cause this? Thanks a lot in advance. Re: Writing Data to PSRAM from DSP on RT685 Hi @VincentW  Based on the relevant documents of RT600/RT685,. buffer [] corresponds to AHB RX Buffer, which is the read path buffer, The range of. priority is from 0 to 7, with 7 being the highest and 0 being the lowest; . mastIndex is the AHB Master ID used to allocate a certain AHB RX buffer to a master for read access. The documentation states that FlexSPI will select RX buffer based on master ID; A master does not support allocating multiple RX buffers. The unit of. bufferSize in the SDK structure is bytes, but the unit of the underlying register BUFSZ is 64 bits You can refer to the RT600 user manual for details. BR Harry Re: Writing Data to PSRAM from DSP on RT685 Hi @VincentW  I will discuss with our internal team and get back to you as soon as possible. BR Harry Re: Writing Data to PSRAM from DSP on RT685 Hi @VincentW  Yes, you are right. xthal_set_region_attribute((void *)0x08000000,0x800000,XCHAL_CA_BYPASS,0); BR Harry Re: Writing Data to PSRAM from DSP on RT685 Hi @VincentW  After we tested. If the read and write operations of FlexSPI PSRAM are handled by different masters, namely CM33 and DSP, there are two points that need attention: 1. For DSP, the access to FlexSPI bypasses Cache64, whereas for CM33, Cache64 on the access path to FlexSPI. See the first diagram for details. So I suggest to disable cache64 when CM33 read - DSP write and CM33 write - DSP read. 2. For HiFi4 dsp, there are instruction cache and data cache in it. And for the PSRAM access, the access is cacheable. So if DSP write the PSRAM, then the CM33 reading may be inconsistent. So I suggest to set non-cache access for FlexSPI PSRAM when CM33 read - DSP write and CM33 write - DSP read. The data we tested is consistent. BR Harry Re: Writing Data to PSRAM from DSP on RT685 Thanks Harry. Actually, I included 2 issues related the accessing of SPI RAM. Both were using the SPI RAM (8MB) connected to FlexSPI port A2, there is another SPI Flash (8MB) connected to port A1. SPI RAM address was mapped to 0x08800000. # 1 Data written to SPI RAM from DSP core. // copy data into SPI RAM from DSP core uint8_t * dst = (uint8_t *)0x08800000; uint8_t src[192] = { 0x30 }; memcpy(dst, src, sizeof(src)); # 2 Data written from SPI RAM into SD card on MCU core We were using this file system, https://doc.segger.com/UM02001_emFile.html#FS_Write https://doc.segger.com/UM02001_emFile.html#FS_FOpen uint8_t * src=(uint8_t*)0x08800000; FS_FILE * pFile = FS_FOpen("\test.dat", "wb+"); if (pFile) { FS_Write(pFile, src, 0x8000); FS_FClose(pFile); } in the low level code of emFile, it will use the src point for the ADMA, similar to  USDHC_SetADMA1Descriptor(, , (const uint32_t *)0x08800000, 0x8000, ); I suppose you could test on EVK with , f_write() Re: Writing Data to PSRAM from DSP on RT685 Hi @VincentW  Can you share your code? I want to reproduce this issue on my end. BR Harry Re: Writing Data to PSRAM from DSP on RT685 Hi @VincentW  "I am afraid I could not share the code due to some commercial code included, sorry about that." We need to write code to reproduce the issue you mentioned earlier. "From my understanding of the UM11147, the mapped address of SPI RAM could not be accessed by the ADMA of uSDHC, am I right?" Yes you are right. BR Harry Re: Writing Data to PSRAM from DSP on RT685 Thanks Harry. I am curious about how to configure that `.buffer`, e.g., what's the range of `.priority`? how to configure the `.masterIndex`?  what size should the `.bufferSize` be? as my understand, total bufferSize should be 2048. I didn't find any material indicating how to configure, if there is a document or some comment in `fsl_flexspi.h`, I suppose that will be very helpful. In my case, I plan to let DSP writing data into PSRAM, then let MCU reading out. As my understand, that `.buffer` is for AHB RX, so in my case, should I assign any buffer for DSP? Re: Writing Data to PSRAM from DSP on RT685 Thanks Harry. I have another question, could I use the PSRAM mapped address for the uSDHS's ADMA in MCU core? E.g., if I mapped the PSRAM address to 0x08800000, could I use the pointer uint8_t * dataAddr = (uint8_t*)0x08800000; for the ADMA? Re: Writing Data to PSRAM from DSP on RT685 Thanks Harry, that's really helpful. Could I disable the cache in DSP core like this? int main(void) { void *spiRamStart; *(uint32_t *)(&spiRamStart) = 0x08800000; xthal_set_region_attribute(spiRamStart, 0x00800000, XCHAL_CA_BYPASS, 0); // ... }
View full article
在 LX2160ARDB 板中安装和使用 PMD 驱动程序 请建议使用 yocto receipe 安装的方法,我已经使用 bitbake dpdk 命令安装了 dpdk,但默认情况下它只使用 crypto_dpaa2_sec PMD。用户指南提供了使用 yocto 的明确步骤。 当我使用以下命令进行验证时: dpdk-test-crypto-perf-c 0x3--log-level=3-----devtype crypto_dpaa2_sec,则显示的是有意义的结果,而使用其他命令,例如 devtype crypto_armv8/crypto_openssl/crypto_null,则显示 " USER1:无法初始化请求的加密设备类型 ",请参阅附件。 Re: Installing and using PMD drivers in LX2160ARDB boards 请在 DPDK 的配方中添加以下几行   EXTRA_OEMESON:append =" \ -Denable_drivers=crypto/dpaa2_sec,crypto/armv8,crypto/openssl,crypto/null\ ”   bitbake -e dpdk | grep enable_drivers bitbake -c clean dpdk bitbake dpdk   dpdk-test-crypto-perf --list
View full article
能否对 PMSM 进行 V/f 控制? 我正在用 V/f 法建立一个 PMSM 控制模拟器模型。该模型适用于感应电动机,但 PMSM 的速度输出会出现振荡,我认为是磁场没有同步。我错过了什么吗? Re: can we do V/f control of a PMSM? 你好 PMSM 的 V/f = 可能 ,但在许多条件下本质上并不稳定 您看到的振荡是预期行为 对于任何严肃的 PMSM 项目而言: 使用 FOC(矢量控制) ,或至少使用无传感器 FOC V/f 是: 可用于研究/演示 不可用于生产 PMSM 控制装置 V/f 控制下的 PMSM 问题概述 无自同步: PMSM 具有固定的转子磁场,因此必须与定子磁场保持同步。V/f 控制无法确保这一点。 无打滑机制(与感应电机不同): 没有与速度和扭矩相匹配的自然 "调节"→可能出现不稳定。 不受控制的转矩角 (δ): 转矩取决于转子和定子磁场之间的夹角,但 V/f 无法对其进行控制 → 转矩变得不稳定。 结果: 速度振荡 可能失去同步性(失步) 动态性能差 顺祝商祺! Peter
View full article
-Regarding the debugging issues of the S32K344 + TJA1103 Ethernet module Recently, I have been learning about the Ethernet aspect of the S32K344 development board. The compiler version I am using is s32ds3.4, the SDK version is PlatformSDK_S32K3_2022_03_S32K344_M7, and the FreeRTOS version is SW32K3_FreeRTOS_10_4_6_UOS_2_0_1_HF01_DS_updatesite_D2308. The Ethernet used is TJA1103 + RMII. The problem I am currently encountering is that the IP address in the program is 192.168.0.200. I set the IP address of my computer to 192.168.0.1. When I burn the program into the S32K344 development board, the program will get stuck at this point.But in the most recent test, the program was able to run normally.   When I pinged 192.168.0.200, the following error message appeared: C:\Users\17554>ping 192.168.0.20 Pinging 192.168.0.200 with 32-byte data: Reply from 192.168.0.5: Request timed out. Request timed out. Request timed out. Below is the hardware wiring diagram. Finally, this is the connection diagram of my development board and the computer. Hope to receive your reply. 回复: -Regarding the debugging issues of the S32K344 + TJA1103 Ethernet module Sorry, it was my mistake. I only realized later that I used TJA1101 instead of TJA1103. 回复: -Regarding the debugging issues of the S32K344 + TJA1103 Ethernet module Due to the excessive amount of input content, I still need to add some details. Firstly, regarding the selection of the PHY in device.c, in my understanding, I used JTA1103. Therefore, I changed PHY_ID1 and PHY_ID2 to the following two. Then, it comes to the selection of the clocks. I set all three clocks of the emac to 50 MHz, and the clock source was set to emac_mii_rmii_tx. The only additions I made are these two points. I hope someone can help me answer my questions. Best regards. ssslz 回复: -Regarding the debugging issues of the S32K344 + TJA1103 Ethernet module Below is my program.
View full article
请求提供信息:S32K312 MCU 安全调试 您好,NXP团队, 我们的团队目前正在开发一个使用 S32K312 MCU 的控制器。在生产阶段,我们正在实施安全调试和配置锁定功能。 我们观察到,当网络安全处于激活状态时,执行 S32_SDAP_WRITE.cmm 脚本(由恩智浦提供)或输入安全调试密码可允许临时调试器访问。 我们要求提供有关设备从 " 网络安全启用 " 状态转换到 " 临时安全调试访问 " 状态时内存地址和寄存器值的具体变化的详细信息。 具体来说,我们想知道哪些寄存器或内存映射位置反映了这种转变。例如 网络安全激活状态:例如,地址 0x40000000 = 1 / HSM 安全调试寄存器 = 1 临时调试启用状态:例如,地址 0x40000000 = 0 / HSM 安全调试寄存器 = 0 您能否提供相关寄存器(例如HSE(硬件安全引擎)或注册状态中的寄存器)的列表,以表明安全调试会话当前是否经过身份验证和处于活动状态? 顺祝商祺! Re: Request for information: S32K312 MCU Secure Debug 你好@jeongwoo S32K3xx 参考手册(修订版)第 82.5.7 节12) 详细描述了调试身份验证序列。 此外,还有一份专用的应用笔记解释了解锁设备应遵循的程序。该文档可从 S32K3 产品网页的文档 → 安全文档 → S32K3xx 安全调试启用指南中下载。 BR、VaneB
View full article