Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
S32k388 イーサキャット設定 こんにちは、エンジニアの皆さん。私は NXP と EtherCAT の初心者です。nxp で ethercat を使用した経験のある方はいらっしゃいますか。KSZ9131 で ethercat を使用するには、プロジェクトまたはピンをどのように構成すればよいでしょうか。 どうもありがとうございます Re: S32k388 ethercat config こんにちは@vinmotion 、 もう一度 EtherCAT を確認しましたが、 S32K388 には EtherCAT スレーブ コントローラ (ESC) が統合されていないにもかかわらず、 TSN/AVB をサポートする 2 つの GMAC インターフェースと、EtherCAT ソフトウェア スタックを実行するのに十分なプロセッシング能力が備わっています。 適切な統合とタイミング要件を確保するには、EtherCAT スタック プロバイダーに問い合わせてS32K388 と EtherCAT の互換性を確認してください。 よろしくお願いいたします。 パベル Re: S32k388 ethercat config ありがとうございます。では、上記のデザインを s32k388 に使用して、EtherCAT マスターとして動作させ、EtherCAT モーターを制御することはできないのでしょうか? Re: S32k388 ethercat config こんにちは@vinmotion 、 EtherCAT では通常、専用の EtherCAT スレーブ コントローラ (ESC) が必要になるため、S32K388 は EtherCAT にとって最適な選択肢ではないようです。これは、オンザフライのフレーム プロセッシングと分散クロックを処理するハードウェア ブロックです。S32K388 には ESC が統合されていないSO、EtherCAT を実装するには、外部コントローラまたは厳しいタイミング制約のあるソフトウェア スタックが必要になります。 EtherCAT は一般的に i.MX ファミリのドメインであり、NXP は ESC を統合したソリューションを提供しています。たとえば、 i.MX RT1180には EtherCAT 2 ポート スレーブ コントローラが組み込まれているため、追加のハードウェアなしで EtherCAT を簡単に実装できます。 i.MX RT1180とEtherCATに関連するアプリケーションノートを確認してください。 https://www.nxp.com/docs/en/application-note/AN14155.pdf よろしくお願いいたします。 パベル
記事全体を表示
digi の ConnectCore8X で使用される i.MX8X の USB 3.x 準拠モード ハイ ConnectCore 8X で使用される i.MX8X で USB 3.x 準拠モードを有効にしたいと考えています。デバイス ツリーで、usb3_phy を次のように設定します。 /* usbotg3 物理 */ &usb3_phy { fs1、物理テストモード = <1>; vcc-supply = <&reg_3v3_usb_sw>; ステータス = "正常"; }; usbotg3 は次のようになります: &usbotg3 { dr_mode = "ホスト"; ステータス = "正常"; };   AN12409 で学んだように: https://www.nxp.com/docs/en/application-note/AN12409.pdf?_gl=1*1dccomd*_gcl_au*MzEyNDI2OTcwLjE3NTgwODczMzY.*_ga*MTg1NjQ1OTAxMC4xNzQwNTYzNTUx*_ga_WM5LE0KMSH*czE3NTgwODczMzYkbzIzJGcxJHQxNzU4MDg3Mzc3JGoxOSRsMCRoMTM0NjUyMzkxMA. 。   第8.3章の手順も実行しました。 echo -1 > /sys/module/usbcore/parameters/autosuspend for i in $(find /sys -name control | grep usb);do echo on > $i;echo "echo on > $i";完了; #USB3.0の場合はコンプライアンスモード/ループバックモードに入ります。 /ユニットテスト/メモリツール 0x5b130490=0x0a000340     私が見つけた以下の手順も実行しました: # 1) xHCI のアンバインド echo -n "xhci-hcd.1.車載"> /sys/bus/プラットフォーム/ドライバ/xhci-hcd/unbind # 2) ポートの無効化(有効化のクリア) devmem2 0x5b130490 w 0x00000200 # 3) PHYテストモードを有効にする devmem2 0x5b100008 w 0x00000002 # 4) コンプライアンスを有効にする devmem2 0x5b130490 w 0x0A000340 # 5) 読み出し devmem2 0x5b130490 w USB3 は常にコンプライアンス モードではありません。読み取り値は常に標準値に戻されます。また、USB3.xにはテストパターンがありませんでしたポート。 コンプライアンスモードに入る方法を教えてください。 よろしくお願いいたします。 マヌエル i.MX 8ファミリ | i.MX 8QuadMax (8QM) | 8QuadPlus Re: usb 3.x compliance mode in i.MX8X used in digi's ConnectCore8X 何度か試してみましたが、うまくいきません。 コンプライアンス モードを設定した後に読み取りを行うと、常に古い値が返されます。 root@ccimx8x-:~# devmem2 0x5b130490 w 0x0A000340 /dev/mem が開きました。 メモリはアドレス 0xffff880f9000 にマップされています。 アドレス0x5B130490(0xffff880f9490)で読み取り: 0x000002A0 アドレス 0x5B130490 (0xffff880f9490) に書き込み: 0x0A000340、読み出し: 0x0A000340 ルート@ccimx8x-:~# ルート@ccimx8x-:~# devmem2 0x5b130490 w /dev/mem が開きました。 メモリはアドレス 0xffffa3135000 にマップされています。 アドレス0x5B130490(0xffffa3135490)で読み取り: 0x0A0002A0 こちら側で何かお手伝いできることはありますか? Re: usb 3.x compliance mode in i.MX8X used in digi's ConnectCore8X こんにちは@ManuelN お元気でお過ごしのことと思います。 実際、これらは i.MX8QXP および 8QM のコンプライアンス モードに入るための正しい手順です。 手順をもう一度確認して、もう一度試してください。 また、i.MX8QXP/8QM USBテストガイドも添付しましたので、ご覧ください。 よろしくお願いいたします。 サラス。
記事全体を表示
MCUXpresso IDE Latest Version V11.12.x I can't find a download link for MCUXpresso IDE V11.12.x or a version higher than V11.10, which supports the integration of "Tools" >"Manufacturing Tools". Can anyone provide the download link, thanks! 回复: MCUXpresso IDE 最新版本 V11.12.x Hi, I check MCUXPresso IDE User Guide, there are no  'Tools' > 'Manufacturing Tools' in the latest IDE version. We apologize for any inconvenience caused. 回复: MCUXpresso IDE 最新版本 V11.12.x It is now MCXW716, and RW612ET will be tested later. 回复: MCUXpresso IDE 最新版本 V11.12.x For better support you ,please tell me which NXP chip do you use. 回复: MCUXpresso IDE 最新版本 V11.12.x Updating NBU for Wireless Examples。 Develop wireless communication through the SDK, including Bluetooth, WIFI, and ZigBee protocols。 回复: MCUXpresso IDE 最新版本 V11.12.x Need to update NBU for Wireless Examples,Thank you! 回复: MCUXpresso IDE 最新版本 V11.12.x The menu bar does not find 'Tools' > 'Manufacturing Tools'. Do I need to install other software or plugins, or should I use an alternative?thank you! 回复: MCUXpresso IDE 最新版本 V11.12.x Hi @MrShen , Thank you so much for your interest in our products and for using our community. Please refer to the following link, currently the latest MCUXPresso IDE version is 25.6. https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-integrated-development-environment-ide:MCUXpresso-IDE Wish it helps you. If you still have question about it, please kindly let me know.  Best Regards MayLiu 回复: MCUXpresso IDE 最新版本 V11.12.x The official website does not have a download link for MCUXpresso IDE V11.12.x or any version higher than V11.10, which supports integration of 'Tools' > 'Manufacturing Tools'. Can anyone provide a download link, thank you!
記事全体を表示
Imx93 evk ONOFF button can be used for standby function. Hello, can the imx93 evk ONOFF button do short press standby and short press wake-up function again? How to achieve it? Re: Imx93 evk ONOFF button can be used for standby function. Oh, sorry I see you have already figured it out. Please ignore my response. Re: Imx93 evk ONOFF button can be used for standby function. @xiang_1001 yes ONOFF button is routed to a gpio line which further goes to the PMIC inputs and can be configured to act as a wake-up source.  as part of default bsp, you can definitely wake the system from suspend by short pressing the ONOFF button. you can try by executing 'echo mem > /sys/power/state' to send it to suspend and then press the onoff button just once to wake it up.  Or If you want to configure the onoff button to 'suspend' the system, you have to do the following: - 1. Edit the conf file - /etc/systemd/logind.conf  set HandlePowerKey variable to 'suspend' 2. Restart systemd-logind systemctl restart systemd-logind after this you will be able to send imx93 to suspend state with short pressing ONOFF button 回复: Imx93 evk ONOFF button can be used for standby function. The function is realized after modifying the file/etc /etc/systemd/logind.conf
記事全体を表示
GD3162 我计划在新的原理图设计中使用 GD3162 栅极驱动器。我在恩智浦网站上找到了一份简短的数据表,是否有完整的数据表? Re: GD3162 本产品的所需文档处于控制版本中,可根据保密协议(保密协议)通过 Secure Files 进行访问。 请在此申请访问: https://www.nxp.com/webapp-signup/docstoreReg 请注意,在提交表格时,您将被要求上传有效的 NDA 副本。如果贵公司还没有 NDA,请先填写表格: https://www.nxp.com/webapp-signup/ndaReqForm 当 NDA 准备就绪时,您可以申请安全文件访问。 请查看以下链接/常见问题以了解流程: https://www.nxp.com/support/support/secure-access-rights:SEC-ACCESS https://www.nxp.com/support/support/secure-access-rights/secure-access-rights-faqs:SEC-ACCESS-FAQS
記事全体を表示
Do the SPDIF transceivers meet AES3 specs? It is easy enough to convert between SPDIF and AES3. But AES3 has additional jitter requirements for RX and TX. I have used SPDIF interfaces on other ICs that specify AES3 compatibility/"professional" standards (vs. "consumer" for SPDIF). I can't find any info on this, at least for the iMX93. Re: Do the SPDIF transceivers meet AES3 specs? Hi @inojosh  i.MX93's SPDIF does not meet AES3.  B.R
記事全体を表示
tea1733 secondary rectifier diode Hello team, I have some doubts ,can you please explain? 1- What is the purpose of (MBR20100) this D9 and D10 diode ? 2- How OPTIMER and ISENSE pin works internally ? Application notes: https://www.nxp.com/docs/en/application-note/AN10868.pdf Isolated Gate Drivers
記事全体を表示
S32Z280-594EVB の新規ユーザー - 購入するのに最適なデバッグ プローブは何ですか? こんにちは、コミュニティの皆様 私は S32Z280-594EVB を使い始めようとしている新規ユーザーです。S32 Design Studio でサンプル プロジェクト (Dio_Example) を正常にビルドしましたが、それをボードにフラッシュしようとして行き詰まっています。 デバッグしようとすると、S32DS で次のエラーが発生します: (デバッガー): USB デバイスを指定してください。 この問題を解決するには、予想していなかった別のハードウェア デバッグ プローブを購入する必要があることがわかりました。少し混乱しているので、助けやアドバイスをいただきたいと思います。 私の質問: 別のデバッグプローブを使用する必要があるというのは正しいでしょうか?以前の経験は STM32 で、ST-Link V2 を使用していました。S32Z EVB を標準の USB ケーブルで PC に直接接続できると思っていましたが、これは正しくないことがわかりました。メインの USB-C ポート経由でボードをフラッシュする方法がないことを確認したいと思います。 このボード用に購入するのに最適なプローブは何ですか?購入する必要があるのですが、コミュニティでは S32Z280 について何を推奨していますか?S32DS には P&E Multilink と SEGGER J-Link がリストされています。S32DS なら初心者でも簡単にセットアップできますか、それとも信頼性が高いですか? Re: New S32Z280-594EVB User - What is the best debug probe to buy? こんにちは、 @hamzahjayyusi ご投稿ありがとうございます。 1. はい、USB ポート経由で QSPI を直接フラッシュすることはできない可能性があります。アプリケーションを最適にデバッグするには、デバッガーの使用が推奨されます。QSPI をフラッシュするだけの場合は、NXP によってプロビジョニングされたフラッシュ ツール (ソフトウェア) を使用して、ボード上の QSPI をフラッシュできます。 2. リリースされたソフトウェア パッケージに記載されているとおり、複数の CMM ファイルが含まれています。Lauterbach は車載業界で広く使用されているため、お客様の要求に適しています。 BR チェイン
記事全体を表示
Firmware version mismatch between BMS & FS23 Our customer is currently facing an issue while coding the FS23 IC with the MCU due to a mismatch between the firmware versions of our existing BMS code and the FS23 IC. Their setup uses the S32K146 MCU with the MC33771C IC, running on S32 Design Studio with SDK versions 3.0.0 and 2.9.0. The problem arises because, to integrate the FS23 SBC IC, they need to use the RTD 1.0.0 driver for S32K1xx + S32K3xx + FS23. It’s not feasible to combine two codebases/libraries that use completely different Hardware Abstraction Layers (HAL). Their primary requirement is for the SBC to send the watchdog signal and successfully transfer CAN data. Additionally, they need the capability to configure a few GPIOs as 5V/12V Wake Up as per our requirements. Do we have any options to solve this issue?   #S32K1, #SBC, #FS23, #RTD, #SDK Re: Firmware version mismatch between BMS & FS23 This is same as your post so no need feedback for this one Request for SDK-based software support for SBC FS23 with S32K146 - NXP Community Re: Firmware version mismatch between BMS & FS23 Hi Yuko Is the end customer OBEN ELECTRIC in India ? Actually for NXP internal TICKET you can directly submit it to below community .   AP Software Support - NXP Community Thanks!  
記事全体を表示
S32k: ライセンスエラー S32K344ボードで開発しています。 いくつかのもの(IDEsとRTD)をインストールしました。 今日SDKアップデートサイトにアクセスしようとしましたが、エラーメッセージが表示されて失敗しました ライセンスエラーを解消するお手伝いをしてもらえますか?
記事全体を表示
Can KVM run on the i.MX93? Hello, Can KVM run on the i.MX93, technically? WRT virtualization, the i.MX93 only really seems to explicitly support Jailhouse... Would there be any potential challenges/risks associated with using an "unsupported" hypervisor such as KVM? My understanding is that there shouldn't be any issue with using KVM due to the i.MX93's A55 cores being of the Armv8-A variety, i.e. they support virtualization. Thank you Re: Can KVM run on the i.MX93? Thank you for the response, Salas. Re: Can KVM run on the i.MX93? Hello @FRDM-User  I hope you are doing very well.   The i.MX93 family includes Arm Cortex-A55 cores, which implement the Armv8-A architecture and support hardware virtualization extensions. From a purely technical perspective, this means hypervisors such as KVM can run on the CPU. However, NXP only validates and officially supports Jailhouse as the virtualization solution for i.MX93.   The possible considerations to keep in mind are: NXP does not provide BSP integration, testing, or patches for KVM on i.MX93.  The i.MX93 does not include an IOMMU (SMMU) Jailhouse offers strong isolation and minimal overhead, while KVM introduces more complexity and may impact real-time performance Best regards, Salas.
記事全体を表示
Error loading .ARP file - Error loading programming algorithm - load aborted. Hello Everyone, I was experimenting with clock initialization on the S32K328 MCU during early boot-up (before entering main). Using S32 Design Studio, I generated the clock configuration code and invoked the Clock_Ip_Init() API directly in the startup sequence. After flashing this ELF, the MCU appears to be stuck — it no longer enters the RUN state, and I’m unable to re-flash the device. I am getting below error when I try to flash some different working elf Connection from "127.0.0.1" via 127.0.0.1. Connection from port "61375" to 6224 Connection from "127.0.0.1" via 127.0.0.1. Connection from port "61379" to 7224 Telnet server running on 127.0.0.1:51794 Command Line Parameters : -device=NXP_S32K3xx_S32K358 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=5000 -port=USB1 -streamingport=10224 -configfile=C:/NXP/workspace/MBCC_B0/.metadata/.plugins/com.pemicro.debug.gdbjtag.pne/config.ini PEmicro Interface detected - Flash Version 11.52 CMD>RE Initializing. INFO: DAP IDCODE = 0x6BA02477 INFO: DAP successfully powered up. DP CTRL/STAT = 0xF0000000 Target has been RESET and is active. CMD>CM C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_6.0.9.202509241532\supportFiles_ARM\NXP\S32K3xx\nxp_s32k358_1x32x2036k_hse_disabled.arp Initializing. INFO: DAP IDCODE = 0x6BA02477 INFO: DAP successfully powered up. DP CTRL/STAT = 0xF0000000 Initialized. ;version 1.02, 07/25/2025, Copyright 2025 P&E Microcomputer Systems, www.pemicro.com [S32K358_hse_disabled] ;device nxp, s32k358, 1x32x2036k,desc=hse_disabled ;begin_cs device=$00400000, length=$007F4000, ram=$20400000 Loading programming algorithm ... Error loading .ARP file : C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_6.0.9.202509241532\supportFiles_ARM\NXP\S32K3xx\nxp_s32k358_1x32x2036k_hse_disabled.arp at address 20400000 Error loading programming algorithm - load aborted. Error occured during Flash programming. INFO: DAP IDCODE = 0x6BA02477 INFO: DAP successfully powered up. DP CTRL/STAT = 0xF0000000 Starting reset script (C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_6.0.9.202509241532\supportFiles_ARM\NXP\S32K3xx\S32K358.mac) ... REM Enable clocks for selected cores in MC_ME module Delaying for 200mS ... Done. REM Initialize RAM and DMA: REM Initialize DMA TCD: REM Copy valid executable code to RAM for each core to be used. REM Enable required cores in MC_ME: Delaying for 20mS ... Done. Delaying for 20mS ... Done. Reset script (C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_6.0.9.202509241532\supportFiles_ARM\NXP\S32K3xx\S32K358.mac) completed. PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session. PE-ERROR: Error downloading to the device. Terminating debug session. Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "61375" from 6224 PE-ERROR: Error : Attempted to send response but connection already closed. Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "61379" from 7224 INFO: DAP IDCODE = 0x6BA02477 Target Disconnected. I suspect that the clock may not have been enabled or configured correctly during initialization. However, there could be other underlying issues as well. Could you please guide me in the right direction to debug this issue and recover the board? Best Regards, Sathish. Re: Error loading .ARP file - Error loading programming algorithm - load aborted. Hello Everyone, This issue is resolved by using  Segger - J-Link debugger. After that, flashing is working with PE Micro as well.  Still root cause for this issue is not identified. Please let me know why this kind of issues are observed randomly. Best Regards, Sathish.
記事全体を表示
WOAではどんな読者でもサポートできます こんにちは、 WOA で動作するリーダー チップはありますか? Re: Any Reader could support on WOA こんにちは@Tedlai99 大変申し訳ございませんが、WoAをサポートするNFCリーダはございません。
記事全体を表示
Request timed out ping the ip address. I am using nxp imxrt1064 microcontroller. I configured ethernet related all configuration like  lwip_init(); netif_add(&netif, &netif_ipaddr, &netif_netmask, &netif_gw,&enet_config, EXAMPLE_NETIF_INIT_FN, ethernet_input); netif_set_default(&netif); netif_set_up(&netif); tcp_server_init();   in this configiration in my main.c file. Imxrt is my master and renesas controller is my slave and in that communication over the RS485. So master send command perticulaer slave and slave reaspond to master that command reasponse. Master recieved reasponse stored and conversion and then send to RS232 and Etherenet by using TCP/IP protocol. That time send the data but in between sometime show the Request timed out message on command prompt when ping the ip address in continuously. At your refernece i have attched that message screenshot and also attached LWP related driver files. Please check and if possible please early reply as you possible. Because i am stuck in development for that issue, so it is priority base issue please support and guide me.  If any required document or file you want for the your refernece please let me know i am always ready for that. Thanks for your support. Best regards,  Rohan.
記事全体を表示
AI usage with NXP Data (e.g. Safety Manuals / Reference Manuals) Hello, I could not find anything on AI usage with NXP Data. We want to use AI Models (With enterprise data protection in our case) to search through Safety and Reference Manuals. Is there a AI Usage policy on this data? Kind regards, M.F.
記事全体を表示
能否将存储在 NVM 中的 AES 密钥用作 PBKDF2 的源代码(IKM),而不将其作为明文公开? 你好 在我的 S32K3 项目中,我需要使用存储在 NVM 中的 AES 密钥作为 HSE PBKDF2 服务的输入密钥材料 (IKM)。 可以在 HKDF 中使用 AES 密钥。 但是,根据 HSE 服务 API 参考手册: PBKDF2 要求 srcKeyHandle 的类型为 HSE_KEY_TYPE_SHARED_SECRET。 HSE_KEY_TYPE_SHARED_SECRET 密钥只支持 RAM 目录,不支持 NVM 目录。 这意味着我在 NVM 中的 AES 密钥不能直接用作 PBKDF2 输入。 为了避免暴露明文密钥,我尝试了以下方法: 导出 AES 密钥作为 enc&auth 容器, 将其导入 RAM 密钥插槽, 尝试将其转换或复制到共享密钥插槽(以便用作 PBKDF2 输入)。 但文档中没有描述任何将 AES 密钥转换或复制到共享-保密密钥类型的服务。 密钥派生 - 复制密钥和导入密钥都需要相同的密钥类型。 我的问题是: 是否有任何受支持的方法,可以使 AES 密钥(存储在 NVM 中)作为 PBKDF2 源使用,而不会以明文形式泄露? Re: Can I use an AES key stored in NVM as the source (IKM) for PBKDF2 without exposing it as plainte 谢谢。 感谢您的支持,我会等待您的更新。 Re: Can I use an AES key stored in NVM as the source (IKM) for PBKDF2 without exposing it as plainte 在我看来,这种操作不需要任何服务,但请允许我与 HSE 专家讨论一下。我会通知你的。
記事全体を表示
SJA1105PQRS Technical Support Request: Implementing Port Isolation and Directed Unicast Product Information:   Product Model: ATU102   Core device: NXP SJA1105PQRS   Topology: PORT0 <--->SoC (Linux 4.14); PORT1-PORT4 <--->external PHY <--->standalone peripheral   Current Configuration and Requirements:   I. Currently implemented features (based on VLAN configuration): 1. Isolated interworking: PORT1-PORT4 ports are isolated, and PORT0 and PORT1-PORT4 can interwork normally. 2. IP/MAC: The four peripherals connected to PORT1-PORT4 have different MAC addresses (IP example: 192.168.2.8 ~ .11).   II. Problems to be solved (core needs):   Goal: Enable unicast traffic from the SoC (PORT0) to be received only by peripherals on the destination port.   The phenomenon of current problems: When the SoC (PORT0)--->unicasts to a peripheral (e.g., Ping 192.168.2.8 with target at peripheral 1/PORT1). Expected Result: Only target peripheral 1 (PORT1) can receive and respond to this unicast. Phenomenon: Target peripheral 1 receives normally, but peripherals on other ports (peripherals 2/3/4) also "listen" to this unicast event. (Note: "Listening" in this context means that peripherals on non-target ports also see the unicast packet, and we want the unicast not to be forwarded to non-target ports.)   III. Questions: What configuration (e.g., VLAN, FDB, filter table, etc.) should be used for SJA1105PQRS to achieve this?   Targeted unicast traffic from PORT0 is forwarded only to its destination port (e.g., via FDB/MAC address learning), thus ensuring that the data streams between PORT1-PORT4 do not interfere with each other and that only the target peripheral receives the unicast packet?   I look forward to your professional guidance, thank you. Attached cfg_applicationBoard.py Code snippet:   1. DYN_LEARN is alread 1; 2. definition valn id + mac_configuration_table +VLAN Lookup Table   ======================== MAC Configuration Table ======================== ...... port_vlan_ids = [0, 1, 2, 3, 4] mac_configuration_table = make_table_by_layout(mac_configuration_table_layout, layoutid_map) c.append(mac_configuration_table)   for i in range(NO_ETH_PORTS): mac_configuration_table.append({ "INGMIRRDEI ": 0, "INGMIRRPCP ": 0, "INGMIRRVID ": 0, "MIRRCETAG ": 0, "MIRRCIE ": 0, "INGRESS ": 1, "EGRESS ": 1, "DYN_LEARN ": 1, "DRPNONA664 ": 0, "EGR_MIRR ": 0, "ING_MIRR ": 0, "VLANID ": port_vlan_ids[i], ...... } ======================== VLAN Lookup Table ======================== vlan_lookup_table = make_table_by_layout(vlan_lookup_table_layout, layoutid_map) c.append(vlan_lookup_table) vlan_lookup_table.append({ "VMEMB_PORT ": 0x1F, "VLAN_BC ": 0x1F, "TAG_PORT ": 0x0, "VLANID ": 0 })   for vid, port_bit in [(1,0x03),(2,0x05),(3,0x09),(4,0x11)]: : vlan_lookup_table.append({ "VMEMB_PORT ": port_bit, "VLAN_BC ": port_bit, "TAG_PORT ": 0x0, "VLANID ": vid }) Re: SJA1105PQRS 技术支持请求:实现端口隔离与定向单播 Hello @qingfengzhuo , Thank you for the detailed description. The behavior you're observing is expected given your current configuration. Since PORT0 is assigned to VLAN 0, and VLAN 0 includes all ports (VMEMB_PORT = 0x1F), any untagged unicast from the SoC will be classified into VLAN 0. If the destination MAC is not yet learned in the FDB, the switch floods the frame to all ports in the VLAN, which explains why other devices can “see” the unicast. To ensure that unicast traffic from PORT0 is only forwarded to the intended destination port, we recommend one of the following approaches: Option A (Recommended – VLAN-tagged traffic from SoC): Remove or restrict VLAN 0 to PORT0 only. Use separate VLANs per device (as you already do with VLANs 1–4). Configure TAG_PORT so that PORT0 egress is tagged. On the SoC (Linux), create VLAN sub-interfaces (e.g., eth0.1, eth0.2, etc.) and send traffic via the appropriate VLAN. This ensures that each unicast is confined to a 2-port VLAN (PORT0 + target port), preventing leakage to other ports. Option B (Untagged SoC traffic): Assign PORT0 to a single VLAN (e.g., VLAN 1). Remove VLAN 0 or limit its scope to PORT0. Add static FDB entries mapping each device MAC address to its corresponding port and VLAN. This avoids flooding but limits flexibility, as all SoC traffic is classified into one VLAN. Best regards, Pavel
記事全体を表示
MPC5777C VDDEH1 引脚(B1 和 P4)建议电压范围 516 BGA 上的 MPC5777C VDDEH1 引脚(B1 和 P4)通常使用什么电压?在 3.3 V 电压下运行它们是否可以接受,还是认为超出了规格?
記事全体を表示
NTAG424:ChangeKeyを使用してKeyNo0の値を変更した後 こんにちは、 AN12196 ドキュメントの例と、NTAG 424 DNA - Secure NFC T4T 準拠 IC ドキュメントを組み合わせると、ChangeKey の実装時に次の問題が発生しました。 1)存在するCASE2: 変更するキー番号 = 現在認証されているセッションのキー番号(ドキュメントAN12196の例では、KeyNo0の値を変更すると、変更されたキー値がAuthenticeEV2Firstに使用されます。AuthenticeEV2First のパート 2 によって返される応答コードは 91AE です。変更されたキー値が初期のデフォルトの 16 バイト 0 に設定されている場合でも、認証は失敗します。その理由は何でしょうか? その他の質問: 1)ミラーリング時にプレースホルダーを設定するにはどうすればいいですか?なぜ 0 なのですか? 他にプレースホルダーはありますか? 2)SDMMACInputOffsetの設定には設定CANる間隔範囲があるようです。異なる値は何らかの影響を与えますか? 皆様のサポートをお待ちしております。 ありがとう! Re: NTAG424:After using ChangeKey to modify the value of KeyNo0 メールで返信しました。ありがとうございます。 Re: NTAG424:After using ChangeKey to modify the value of KeyNo0 こんにちは@Queenie1 ぜひあなたのコードを私たちと共有してください。 また、具体的にどのようなタイプのリーダーを使用していますか?NXPからですか?
記事全体を表示
このコードは超音波センサを i.mx93 (Cortex-m33) に接続するのに正しいですか? /* * 著作権 (c) 2015、Freescale Semiconductor, Inc. * 著作権 2016-2021 NXP * 無断転載を禁じます。 * * SPDXライセンス識別子: BSD-3条項 */ #include "fsl_debug_console.h" #include "board.h" #include "app.h" #include "fsl_tpm.h" #include "fsl_rgpio.h" /**************************************************************************************** * 定義 **********************************************************************************/ /**************************************************************************************** * プロトタイプ **********************************************************************************/ /**************************************************************************************** * 変数 **********************************************************************************/ 揮発性ブールtpmIsrFlag = false ; 揮発性uint32_t立ち上がり時間 = 0 ; 揮発性uint32_t落下時間 = 0 ; 揮発性ブールgotRisingEdge = false ; /**************************************************************************************** * コード **********************************************************************************/ voidセットアップ( void ) { rgpio_pin_config_t out_config ={         kRGPIO_デジタル出力、         0 , };     /* トリガーピン */ RGPIO_PinInit( BOARD_RGPIO 、 TRIG_PIN 、 &out_config); RGPIO_PinWrite( BOARD_RGPIO , TRIG_PIN , 0 ); } void SendTrigPulse( void ) { RGPIO_PinWrite( BOARD_RGPIO 、 TRIG_PIN 、 1 ); SDK_DelayAtLeastUs( 10 , SystemCoreClock); RGPIO_PinWrite( BOARD_RGPIO , TRIG_PIN , 0 ); } void TPM_INPUT_CAPTURE_HANDLER ( void ) {     uint32_tステータス = TPM_GetStatusFlags( DEMO_TPM_BASEADDR );     if (ステータス & TPM_CHANNEL_FLAG )     {         uint32_tキャプチャされた値 = TPM_GetChannelValue( DEMO_TPM_BASEADDR 、 BOARD_TPM_INPUT_CAPTURE_CHANNEL );         // PRINTF("キャプチャされた値: %u\r\n",capturedValue);         if (!gotRisingEdge) { 立ち上がり時間 = キャプチャされた値; gotRisingEdge = true ;             // TPM_SetupInputCapture(DEMO_TPM_BASEADDR、BOARD_TPM_INPUT_CAPTURE_CHANNEL、kTPM_FallingEdge);      }         それ以外 { 落下時間 = キャプチャされた値; tpmIsrFlag = true ; gotRisingEdge = false ;             // TPM_SetupInputCapture(DEMO_TPM_BASEADDR、BOARD_TPM_INPUT_CAPTURE_CHANNEL、kTPM_RisingEdge);      }         /* 割り込みフラグをクリアします。*/ TPM_ClearStatusFlags( DEMO_TPM_BASEADDR 、 TPM_CHANNEL_FLAG );    }     SDK_ISR_EXIT_BARRIER ; } /*! * @briefメイン関数 */ int main( void ) { tpm_config_t tpmInfo; /* ボードピン、クロック、デバッグコンソールの初期化 */ BOARD_InitHardware(); 設定(); /* 端末にメモを印刷する */     PRINTF ( "\r\nTPM入力キャプチャの例\r\n" );     PRINTF ( "\r\n入力信号が受信されると、入力キャプチャ値が出力されます\r\n" ); TPM_GetDefaultConfig(&tpmInfo); /* TPMモジュールを初期化する */ TPM_Init( DEMO_TPM_BASEADDR , &tpmInfo); /* TPMチャネルで入力キャプチャを設定する */ TPM_SetupInputCapture( DEMO_TPM_BASEADDR 、 BOARD_TPM_INPUT_CAPTURE_CHANNEL 、 kTPM_RiseAndFallEdge ); /* タイマーをフリーランニングモードに設定する */ TPM_SetTimerPeriod( DEMO_TPM_BASEADDR , TPM_MAX_COUNTER_VALUE ( DEMO_TPM_BASEADDR )); /* 2番目のエッジが検出されたときにチャネル割り込みを有効にする */ TPM_EnableInterrupts( DEMO_TPM_BASEADDR 、 TPM_CHANNEL_INTERRUPT_ENABLE ); /* NVIC で有効にする */ EnableIRQ( TPM_INTERRUPT_NUMBER ); TPM_StartTimer( DEMO_TPM_BASEADDR , kTPM_SystemClock );       一方( 1 )     { 送信トリガパルス();                 (tpmIsrFlag != true )の場合 {      }           uint32_tティック = 0 ;         下降時間 >= 上昇時間の場合 ticks = 下降時間 - 上昇時間;         それ以外 ティック = ( TPM_MAX_COUNTER_VALUE ( DEMO_TPM_BASEADDR ) - 上昇時間) + 下降時間;             float PulseUs = (ティック * 1000000 ) / TPM_SOURCE_CLOCK ;         PRINTF ( "上昇時間: %u\r\n" ,上昇時間);         PRINTF ( "落下時間: %u\r\n" ,fallingTime);         PRINTF ( "マイクロ秒は : %.2f\r\n" ,PulseUs); SDK_DelayAtLeastUs( 60000 ,SystemCoreClock);    } }   オブジェクトの距離をチェックするこのコードにはいくつか問題がありますか? ここで SDK_DelayAtLeastUs(10,SystemCoreClock); この API は、ピンが測定を開始するためのトリガーとして 10 us を与えていないのでしょうか?   i.MX93EVK クロック|タイマー Re: Is This code correct for interfacing ultra-sonic sensor into i.mx93 (cortex-m33) ? /* * 著作権 (c) 2015、Freescale Semiconductor, Inc. * 著作権 2016-2021 NXP * 無断転載を禁じます。 * * SPDXライセンス識別子: BSD-3条項 */ #include "fsl_debug_console.h" #include "board.h" #include "app.h" #include "fsl_tpm.h" #include "fsl_rgpio.h" /**************************************************************************************** * 定義 **********************************************************************************/ /**************************************************************************************** * プロトタイプ **********************************************************************************/ /**************************************************************************************** * 変数 **********************************************************************************/ 揮発性ブールtpmIsrFlag = false ; 揮発性uint32_t立ち上がり時間 = 0 ; 揮発性uint32_t落下時間 = 0 ; 揮発性ブールgotRisingEdge = false ; /**************************************************************************************** * コード **********************************************************************************/ voidセットアップ( void ) { rgpio_pin_config_t out_config ={         kRGPIO_デジタル出力、         0 , };     /* トリガーピン */ RGPIO_PinInit( BOARD_RGPIO 、 TRIG_PIN 、 &out_config); RGPIO_PinWrite( BOARD_RGPIO , TRIG_PIN , 0 ); } void SendTrigPulse( void ) { RGPIO_PinWrite( BOARD_RGPIO 、 TRIG_PIN 、 1 ); SDK_DelayAtLeastUs( 10 , SystemCoreClock); RGPIO_PinWrite( BOARD_RGPIO , TRIG_PIN , 0 ); } void TPM_INPUT_CAPTURE_HANDLER ( void ) {     uint32_tステータス = TPM_GetStatusFlags( DEMO_TPM_BASEADDR );     if (ステータス & TPM_CHANNEL_FLAG )     {         uint32_tキャプチャされた値 = TPM_GetChannelValue( DEMO_TPM_BASEADDR 、 BOARD_TPM_INPUT_CAPTURE_CHANNEL );         // PRINTF("キャプチャされた値: %u\r\n",capturedValue);         if (!gotRisingEdge) { 立ち上がり時間 = キャプチャされた値; gotRisingEdge = true ;             // TPM_SetupInputCapture(DEMO_TPM_BASEADDR、BOARD_TPM_INPUT_CAPTURE_CHANNEL、kTPM_FallingEdge);      }         それ以外 { 落下時間 = キャプチャされた値; tpmIsrFlag = true ; gotRisingEdge = false ;             // TPM_SetupInputCapture(DEMO_TPM_BASEADDR、BOARD_TPM_INPUT_CAPTURE_CHANNEL、kTPM_RisingEdge);      }         /* 割り込みフラグをクリアします。*/ TPM_ClearStatusFlags( DEMO_TPM_BASEADDR 、 TPM_CHANNEL_FLAG );    }     SDK_ISR_EXIT_BARRIER ; } /*! * @briefメイン関数 */ int main( void ) { tpm_config_t tpmInfo; /* ボードピン、クロック、デバッグコンソールの初期化 */ BOARD_InitHardware(); 設定(); /* 端末にメモを印刷する */     PRINTF ( "\r\nTPM入力キャプチャの例\r\n" );     PRINTF ( "\r\n入力信号が受信されると、入力キャプチャ値が出力されます\r\n" ); TPM_GetDefaultConfig(&tpmInfo); /* TPMモジュールを初期化する */ TPM_Init( DEMO_TPM_BASEADDR , &tpmInfo); /* TPMチャネルで入力キャプチャを設定する */ TPM_SetupInputCapture( DEMO_TPM_BASEADDR 、 BOARD_TPM_INPUT_CAPTURE_CHANNEL 、 kTPM_RiseAndFallEdge ); /* タイマーをフリーランニングモードに設定する */ TPM_SetTimerPeriod( DEMO_TPM_BASEADDR , TPM_MAX_COUNTER_VALUE ( DEMO_TPM_BASEADDR )); /* 2番目のエッジが検出されたときにチャネル割り込みを有効にする */ TPM_EnableInterrupts( DEMO_TPM_BASEADDR 、 TPM_CHANNEL_INTERRUPT_ENABLE ); /* NVIC で有効にする */ EnableIRQ( TPM_INTERRUPT_NUMBER ); TPM_StartTimer( DEMO_TPM_BASEADDR , kTPM_SystemClock );        一方( 1 )     { 送信トリガパルス();                 (tpmIsrFlag != true )の場合 {      }     // PRINTF("\r\nキャプチャ値 C(n)V=%x\r\n", TPM_GetChannelValue(DEMO_TPM_BASEADDR, BOARD_TPM_INPUT_CAPTURE_CHANNEL));         uint32_tティック = 0 ;         下降時間 >= 上昇時間の場合 ticks = 下降時間 - 上昇時間;         それ以外 ティック = ( TPM_MAX_COUNTER_VALUE ( DEMO_TPM_BASEADDR ) - 上昇時間) + 下降時間;             uint32_t tpm_clock = CLOCK_GetIpFreq( LPTPM_CLOCK_ROOT );         float PulseUs = (ticks * 1000000 ) / tpm_clock ;         PRINTF ( "上昇時間: %u\r\n" ,上昇時間);         PRINTF ( "落下時間: %u\r\n" ,fallingTime);         PRINTF ( "マイクロ秒は : %.2f\r\n" ,PulseUs);         float距離 = PulseUs / 58 ;         PRINTF ( "距離: %.2f\r\n" ,距離); SDK_DelayAtLeastUs( 60000 ,SystemCoreClock);    } }   オシロスコープを使用して確認したところ、トリガー 10 us は正しいです。しかし、問題はエコーピンですか? 正しい値を読み取れませんか? Re: Is This code correct for interfacing ultra-sonic sensor into i.mx93 (cortex-m33) ? すでにオシロスコープを使用して信号を検証しており、10 µs のパルスが表示されています。 次に、TRIG ピンを ECHO ピンに直接ループさせてテストし、コード内でパルス幅を測定しました。ただし、予想された 10 µs ではなく、約 66 µs で印刷されます。 TRIG ピンと ECHO ピンがループ内で直接コネクテッドされている場合は、生成された信号と一致するように正確に 10 µs が測定されるはずです。どこで矛盾が生じているのかを特定できません。 これはクロック構成の問題、またはキャプチャ ロジックのタイミングの不正確さが原因でしょうか? この問題の特定と解決にご協力いただければ幸いです。 よろしくお願いします! Re: Is This code correct for interfacing ultra-sonic sensor into i.mx93 (cortex-m33) ? ご返信ありがとうございます! Re: Is This code correct for interfacing ultra-sonic sensor into i.mx93 (cortex-m33) ? こんにちは、 コードのセクションは、TPM 構成と超音波センサの TRIG および ECHO 信号の生成/読み取りに応じて異なります。 関数が 10 us 信号を生成しているかどうかを確認するには、オシロスコープまたはデジタル アナライザーで信号を測定することをお勧めします。タイミングが予想どおりでない場合は、コンパイラがパルスが予想どおりに持続しないようにコードを最適化する可能性があるため、値を調整して遅延を生成することができます。 ボード内のセンサの動作を確認しましたか? 参考として例を示します。 チュートリアル: Freedom Board を使用した超音波測距 | Eclipse 上の MCU よろしくお願いいたします。
記事全体を表示