Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
MC33774 Daisy Chain Dual Loop Connection HI. I'm currently using an AFE sampling system with MC33665A and MC33774 to form a double-chain loopback structure. The MC33665A's PORT0 and PORT1 are configured as MADD0 and MADD1 respectively, and all commands are currently sent via MADD0. When I only connect the daisy chain between PORT0 and DC1, my communication is normal. However, when I also connect the daisy chain between PORT1 and DC2, I find that the 33774 cannot reply with a response frame. Why is this? I have confirmed that the PORT configuration of the 33665 is correct and that SYS_TPL_CFG.RESPCFG in the 33774 is set to 00 SAME mode. I am currently using an AFE sampling system consisting of the MC33665A + MC33774 in a dual-ring loop configuration. I have configured PORT0 and PORT1 of the MC33665A as MADD0 and MADD1, respectively, and all commands are currently sent through MADD0. When I connect only the daisy chain between PORT0 and DC1, communication works correctly. However, after I also connect the daisy chain between PORT1 and DC2, the MC33774 no longer responds when I send requests to it. Why does this happen? I have read back and verified that the MC33665 PORT configuration is correct, and I have configured SYS_TPL_CFG.RESPCFG = 00 (SAME mode) in the MC33774. Re: MC33774 Daisy Chain Dual Loop Connection HI. 1. I want to know if it is necessary to reverse the allocation of DADD from the position where MADD=1? 2. My current SYS_PORT0_CFG configuration is TIMEOUT=0, CADD=1, MADD=0, PROTOCOL=1, ALLCHAINS=1, TERM=1, RX=1, EN=1 SYS_PORT1_CFG is configured with TIMEOUT=0, CADD=1, MADD=1, PROTOCOL=1, ALLCHAINS=1, TERM=1, RX=1, EN=1 Re: MC33774 Daisy Chain Dual Loop Connection Hello, According to the AN13910 TPL Loopback Recommendation, when two MC33665A TPL ports are connected as a loopback ring, there are several configuration requirements that may cause the behavior you are seeing. For a loopback configuration: We recommend assigning device addresses (DADD) in ascending order from one side of the ring and in reverse order from the loopback side (I do not see this in your image). If two ports are connected as loopback, one of the ports should have SYS_PORTx_CFG[RX] = 0 to avoid duplicate data entering the MC33665 buffer. In addition, one of the ports should have SYS_PORTx_CFG[ALLCHAINS] = 0. If both loopback ports accept ALLCHAINS commands, document states that this can cause signal conflicts and communication errors. Could you please share the values of SYS_PORT0_CFG and SYS_PORT1_CFG (especially EN, RX, ALLCHAINS, MADD, and CADD)? That would help determine whether the loopback ports are configured according to the AN13910 recommendations. Re: MC33774 Daisy Chain Dual Loop Connection Hello, According to AN13910 TPL Loopback Recommendation, the DADD assignment should be reversed from the MADD=1 side in a loopback topology. In addition, your current configuration has RX=1 and ALLCHAINS=1 on both ports. For a loopback connection, we recommend disabling RX and ALLCHAINS on one of the ports to avoid duplicate routing and communication conflicts.  Could you please try configuring one port with RX=0 and ALLCHAINS=0 (for example, PORT1) and verify whether the MC33774 starts returning response frames? Re: MC33774 Daisy Chain Dual Loop Connection This seems like a sub optimal solution. We would like to have a loop between the two ports on a 6402 with multiple 7418 CMUs and an 8420 BJB in the loop.  It would be nice to read the CMUs through port 0 and the BJB (and in extreme cases the higher CMUs) through port 1 with MADD=1.. if we need to reprogram the RX enables on both ports each time we want to read from the other end of the loop this seems rather inefficient.  Why can’t the MADD bit in the read request handle disabling the far side RX automatically?
View full article
RW612:并发双PHY(1M+编码)扫描期间严重的LE编码PHY资源不足 NXP社区的各位好, 我们正在基于RW612开发一款符合 ASTM F3411 标准的远程 ID 接收器,该接收器采用 #SDK 26.09 和控制器固件 18.99.8.p141 。我们发现,当双 PHY 扫描处于活动状态时,LE 编码 PHY 会出现严重的控制器端资源不足问题。 当同时将 1M 和编码扫描委托给控制器(60 毫秒间隔,1M 占比 15%,编码占比 85%)时,编码 PHY 接收率下降到7% ,在系统满负荷且同时进行 Wi-Fi TX/RX 时下降到5% 。 隔离测试表明,该问题完全是由控制器扫描参数中两个 PHY 的组合引起的: Solo Coded 扫描(85% 占空比,窗口化): 98%接收率(47/48 个数据包) 。 双 PHY 扫描(1M 15% + 编码 85%): 7%接收率(29/391 个数据包) 。 主机顺序时间切片(2000 毫秒编码/300 毫秒 1M):在隔离状态下将编码接收恢复到98%,在完全并发(每秒 2 个数据包的原始 Wi-Fi 注入、Wi-Fi 监测和本地 BT4/BT5 广播)下保持54% ,而基线为 5%。 主机缓冲区和队列完全正常,无丢包或损坏。数据丢失仅限于 CPU2 无线电固件调度器在处理多 PHY 扫描参数时出现的问题。 这是 CPU2 控制器固件 (rw61x_sb_ble_a2.bin) 中已知的调度错误吗? 对于在 RW612 上同时监控 1M 和 Coded PHY,主机管理的顺序单 PHY 时间片轮转是否是官方推荐的解决方法? 产品:WiFi RW6XX 协议:蓝牙 Re: RW612: Severe LE Coded PHY Starvation During Concurrent Dual-PHY (1M + Coded) Scanning 你好@ecg3 能否分享一下您的双PHY扫描配置和测试步骤?请将HCI日志和OTA日志分享给我们查看。 顺祝商祺! 肖恩 Re: RW612: Severe LE Coded PHY Starvation During Concurrent Dual-PHY (1M + Coded) Scanning 你好@shaun_wu , 感谢您的跟进。我使用 RW612(MCUXpresso SDK 26.09 , EdgeFast Open 主机,固件版本 18.99.8.p141 , Wi -Fi 空闲)对 1 米外广播 LE 编码扩展广播(ASTM F3411 远程 ID,500 毫秒间隔,通过 8 位有效载荷计数器跟踪)的广播器进行了扩展被动扫描测试,同时还使用了 nRF52840 OTA 嗅探器。我将双 PHY 扫描( Scanning_PHYs 0x05 ,间隔 60 毫秒, 1M 窗口 8.75 毫秒,编码窗口50.6毫秒)与仅编码的参考扫描( Scanning_PHYs 0x04 ,编码窗口相同,均为50.6 毫秒)进行了比较。 仅对编码数据包进行扫描时,成功接收到了 94% 的空中数据包(112 个数据包中的 105 个),但启用双 PHY 后,编码数据包的接收率急剧下降至 13%(94 个数据包中仅报告了 12 个)。RW612控制器继续正常报告传统的 1M 数据包,并且其传输的少量编码数据包也完全完整(数据状态为 0),表明丢失的数据包只是被控制器丢弃或跳过了。 我已附上两次运行的完整日志(原始 UART 日志、从 HCI_Reset 开始的完整 HCI btsnoop 日志(无丢包)以及同步的 OTA pcapng 捕获日志)。由于 RW612 和 PC 时钟存在轻微偏移(约 0.4–0.9秒),请使用有效载荷计数器而非时间戳来关联 HCI 和嗅探器跟踪(例如,在双 PHY 捕获中, btsnoop 帧 531 与计数器为 157 的嗅探器帧 2998 匹配;通过 BD 地址 58:ce:2a:6b:d5:8b 进行过滤,即可在两者中分离出该数据流)。 顺祝商祺!
View full article
RW612: Severe LE Coded PHY Starvation During Concurrent Dual-PHY (1M + Coded) Scanning Hi NXP Community, We are developing an ASTM F3411 Remote ID receiver on the RW612  under #SDK 26.09 with controller firmware 18.99.8.p141. We have identified a severe controller-side starvation issue affecting LE Coded PHY whenever dual-PHY scanning is active. When delegating simultaneous 1M and Coded scanning to the controller (60 ms interval with 15% 1M and 85% Coded duty), Coded PHY reception collapses to 7%, and drops to 5% under full system load with concurrent Wi-Fi TX/RX. Isolation tests demonstrate that the issue is strictly caused by combining both PHYs in the controller's scan parameters: Solo Coded scan (85% duty, windowed): 98% reception rate (47/48 packets). Dual-PHY scan (1M 15% + Coded 85%): 7% reception rate (29/391 packets). Host sequential time-slicing (2000 ms Coded / 300 ms 1M): Recovers Coded reception to 98% in isolation, and sustains 54% under full concurrency (raw Wi-Fi injection at 2 packs/s, Wi-Fi monitor, and local BT4/BT5 advertising) compared to the 5% baseline. Host buffers and queues remain completely healthy with zero drops and zero corruptions. The loss is isolated to the CPU2 radio firmware scheduler when handling multi-PHY scan parameters. Is this a known scheduling bug in the CPU2 controller firmware (rw61x_sb_ble_a2.bin)? Is host-managed sequential single-PHY time-slicing the officially recommended workaround for monitoring both 1M and Coded PHY on the RW612? Product: WiFi RW6XX Protocol: Bluetooth Re: RW612: Severe LE Coded PHY Starvation During Concurrent Dual-PHY (1M + Coded) Scanning Hello @ecg3  Could you share your configuration and test steps of Dual-PHY scan? And share hci logs and OTA logs for us review. Best Regards Shaun Re: RW612: Severe LE Coded PHY Starvation During Concurrent Dual-PHY (1M + Coded) Scanning Hello @shaun_wu , Thank you for following up. I tested the RW612 (MCUXpresso SDK 26.09, EdgeFast Open host, FW 18.99.8.p141, idle Wi-Fi) running extended passive scanning against an advertiser 1 meter away broadcasting LE Coded extended advertising (ASTM F3411 Remote ID, 500 ms interval, tracked via an 8-bit payload counter) alongside an nRF52840 OTA sniffer. I compared a dual-PHY scan (Scanning_PHYs 0x05, 60 ms interval, 8.75 ms 1M window, 50.6 ms Coded window) against a Coded-only reference scan (Scanning_PHYs 0x04, identical 50.6 ms Coded window). While the Coded-only scan successfully received 94% of on-air packets (105 of 112), enabling dual-PHY caused Coded reception to drop sharply to 13% (only 12 of 94 packets reported). The RW612 controller continued reporting legacy 1M packets normally, and the few Coded packets it delivered were fully intact (Data Status 0), indicating the missing packets are simply dropped or skipped by the controller. I have attached the complete logs for both runs (raw UART, complete HCI btsnoop from HCI_Reset with no lost packets, and synchronized OTA pcapng captures). Because the RW612 and PC clocks have a minor offset (~0.4–0.9 s), please correlate the HCI and sniffer traces using the payload counter rather than timestamps (for example, in the dual-PHY capture, btsnoop frame 531 matches sniffer frame 2998 with counter 157; filtering by BD address 58:ce:2a:6b:d5:8b isolates the stream in both). Best regards
View full article
Is it possible to implement the S32K1 LIN Stack without MCAL? Is this possible? We're using the S32K116 controller, which only comes with 128KB of flash memory. Memory space is already running low with the peripheral drivers added for basic system functionality. Now the question: Is it possible to add the LIN Stack without using MCAL Periphery drivers? This way I could switch to using IP drivers to reduce memory usage. First experiments showed that I cannot choose the Lpuart_Lin IP driver in the linstack_config middleware. Is there a setting I'm missing that enables me to choose it? Re: Is it possible to implement the S32K1 LIN Stack without MCAL? Hi@daniel_meier you can take a look at this post. https://community.nxp.com/t5/S32-SDK/LIN-Middleware-stack-configuration-issue/td-p/1739186https://community.nxp.com/t5/S32K/How-to-config-Lin-module-as-slave-node-base-MCAL-driver-in-S32K/td-p/1077781 In the RTD driver, the LIN stack depends on the configuration of the MCAL layer. If your project does not strictly require the use of RTD drivers, you might to try the S32K1 SDK. https://www.nxp.com/pages/s32-software-development-kit-for-s32k1:S32SDK-ARMK1
View full article
IMXRT1186 M7コアではSDK_DelayAtLeastUsの精度が30%低下する。 こんにちは、皆さん。 私はFRDM-IMXRT1186ボードでプレイしており、MCUにはデュアルコアのM33とM7があります。#iMXRT1186 SDK_DelayAtLeastUs関数はそれほど正確ではないことがわかりました。遅延時間は0.5秒(50万マイクロ秒)と予想していたが、実際の遅延時間は約0.6秒だった。 CoreDebug-> DEMCR |= CoreDebug_DEMCR_TRCENA_Msk; DWT-> CYCCNT = 0; DWT-> CTRL |= DWT_CTRL_CYCCNTENA_Msk; uint32_t t0 = DWT-> CYCCNT ; SDK_DelayAtLeastUs (500000U, SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY); LED_TOGGLE(); サイクル数 = DWT-> CYCCNT - t0; SDK_DelayAtLeastUsでは、count = count / 3U * 2U を count = count / 2U にしてより正確な結果を得ることができます。 しかし、この変更が理にかなっているかどうかは確信が持てません。 #elif (__CORTEX_M == 7) /* 遅延を正確にするために、さまざまな環境で除算値が異なる場合があります。 * すべてのループカウントには3つの命令が含まれています。これはCortex-M7が時折実行されるためです。 * 1周期に2つの命令、テストを通してここで1.5を割ります。他のMコアは * 4を割る。ちなみに、1.5や4を割るとカウントの精度が落ちる可能性があるが、そうなる * 問題ありません。なぜなら、while loop 外の他の命令で時間を埋めるのに十分だからです。 */ count = count / 3U * 2U; よろしくお願いします。 Re: SDK_DelayAtLeastUs is inaccurate by 30% in IMXRT1186 M7 core @ewlee様、 count = count / 2U に変更することで、現在のテスト環境では結果が改善される可能性がありますが、一般的な修正方法として使用することはお勧めしません。 SDK_DelayAtLeastUs() は、ループベースの「最小」遅延時間を提供するように設計されており、その精度は実行環境によって影響を受ける可能性があります。 正確な500ミリ秒間隔が必要な場合は、汎用タイマー(GPT)などのハードウェアタイマーを使用して、より精密なタイミング制御を行うことをお勧めします。 よろしくお願いいたします。 シェリー
View full article
MC33774 Daisy Chain Dual Loop Connection HI. 我当前使用MC33665A+MC33774的AFE采样系统组成双链回环的结构,配置MC33665A的PORT0和PORT1分别为MADD0和MADD1,当前发送所有指令均由MADD0发送。当我只连接PORT0到DC1之间的菊花链时,我的通讯都是正常的,但是当我把PORT1和DC2之间的菊花链也连接后,我再去请求33774发现33774无法回复响应帧,这是为什么?我回读确认过33665的PORT端口配置没有错误,并且将33774中的SYS_TPL_CFG.RESPCFG设置为00 SAME模式。 I am currently using an AFE sampling system consisting of the MC33665A + MC33774 in a dual-ring loop configuration. I have configured PORT0 and PORT1 of the MC33665A as MADD0 and MADD1, respectively, and all commands are currently sent through MADD0. When I connect only the daisy chain between PORT0 and DC1, communication works correctly. However, after I also connect the daisy chain between PORT1 and DC2, the MC33774 no longer responds when I send requests to it. Why does this happen? I have read back and verified that the MC33665 PORT configuration is correct, and I have configured SYS_TPL_CFG.RESPCFG = 00 (SAME mode) in the MC33774. Re: MC33774 Daisy Chain Dual Loop Connection HI. 1.我想知道从MADD=1的位置反向分配DADD是必须的吗? 2.我当前的SYS_PORT0_CFG配置为TIMEOUT=0,CADD=1,MADD=0,PROTOCOL=1,ALLCHAINS=1,TERM=1,RX=1,EN=1 SYS_PORT1_CFG配置为TIMEOUT=0,CADD=1,MADD=1,PROTOCOL=1,ALLCHAINS=1,TERM=1,RX=1,EN=1 Re: MC33774 Daisy Chain Dual Loop Connection 你好, 根据 AN13910 TPL 环回建议,当两个 MC33665A TPL 端口连接成环回环时,存在一些配置要求,可能会导致您看到的行为。 对于环回配置: 我们建议从环的一侧按升序分配设备地址 (DADD),从环回侧按相反的顺序分配设备地址 (DADD)(我在你的图片中没有看到这一点)。 如果两个端口连接为环回,则其中一个端口应设置 SYS_PORTx_CFG[RX] = 0,以避免重复数据进入 MC33665 缓冲区。 此外,其中一个端口的 SYS_PORTx_CFG[ALLCHAINS] 应为 0。文档指出,如果两个环回端口都接受 ALLCHAINS 命令,则可能导致信号冲突和通信错误。 请问能否提供 SYS_PORT0_CFG 和 SYS_PORT1_CFG 的值(特别是 EN、RX、ALLCHAINS、MADD 和 CADD)?这将有助于确定环回端口是否按照 AN13910 建议进行配置。 Re: MC33774 Daisy Chain Dual Loop Connection 你好, 根据 AN13910 TPL 环回建议,在环回拓扑中,DADD 分配应与 MADD=1 侧相反。 此外,您当前的配置在两个端口上都设置了 RX=1 和 ALLCHAINS=1。对于环回连接,我们建议禁用其中一个端口上的 RX 和 ALLCHAINS,以避免重复路由和通信冲突。 请尝试将一个端口的 RX=0 和 ALLCHAINS=0 配置为(例如,PORT1),并验证 MC33774 是否开始返回响应帧? Re: MC33774 Daisy Chain Dual Loop Connection 这似乎不是最佳解决方案。我们希望在6402交换机的两个端口之间建立一个环路,环路中包含多个7418 CMU和一个8420 BJB。如果能通过端口 0 读取 CMU,通过端口 1 读取 BJB(在极端情况下,还可以读取更高阶的 CMU),并且 MADD=1,那就太好了。但如果每次想从循环的另一端读取数据时,都需要重新设置两个端口的接收使能,这似乎效率很低。为什么读取请求中的 MADD 位不能自动禁用远端 RX?
View full article
RW612: 同時デュアルPHY(1M + コード化)スキャン中にLEコード化PHYが深刻な飢餓状態に陥る こんにちは、NXPコミュニティの皆さん、 私たちは RW612上で、#SDKs 26.09のもとでコントローラファームウェア18.99.8.p141のASTM F3411リモートIDレシーバを開発しています。デュアルPHYスキャンが有効な場合、LEコードPHYに深刻なコントローラ側の飢餓問題が発生していることを特定しました。 同時に1Mと符号スキャンをコントローラに委任(60ms間隔で15%1M、85%符号化作業)すると、符号化PHY受信率は7%に崩壊し、Wi-Fi TX/RXが同時接続しているフルシステム負荷時には5%に低下します。 アイソレーションテストの結果、この問題はコントローラのスキャンパラメータに両方のPHYを組み合わせたことで厳密に引き起こされることが示されました。 ソロコード化スキャン(85%デューティ、ウィンドウ処理):受信率98% (47/48パケット) 。 デュアルPHYスキャン(1M 15% + コード化85%):受信率7% (29/391パケット) 。 ホストの逐次タイムスライシング(符号化2000ms/1Mあたり300ms): 単独で符号受信を 98% まで回復し、完全な並行性(2パック/秒の生Wi-Fi注入、Wi-Fiモニター、ローカルBT4/BT5広告)では 54% を維持し、基準値の5%から増加します。 ホストのバッファとキューは完全に正常な状態を維持しており、データ損失や破損は一切発生していません。この問題は、マルチPHYスキャンパラメータを処理する際のCPU2無線ファームウェアスケジューラに限定されています。 これはCPU2コントローラのファームウェア(rw61x_sb_ble_a2.bin)の既知のスケジューリングバグでしょうか? ホスト管理型のシーケンシャルシングルPHYタイムスライシングは、RW612上で1M PHYとCoded PHYの両方を監視するための公式に推奨されている回避策ですか? 製品: WiFi RW6XX プロトコル:Bluetooth Re: RW612: Severe LE Coded PHY Starvation During Concurrent Dual-PHY (1M + Coded) Scanning こんにちは@ecg3 Dual-PHYスキャンの設定やテストステップを教えていただけますか?また、レビューのためにhciログとOTAログを共有してください。 よろしくお願いいたします。 ショーン Re: RW612: Severe LE Coded PHY Starvation During Concurrent Dual-PHY (1M + Coded) Scanning こんにちは、 @shaun_wu さん。 ご連絡ありがとうございます。私はRW612(MCUXpresso SDKs 26.09、EdgeFastオープンホスト、FW 18。99.8。p141、アイドルWi-Fi)を、1メートル離れた広告主に対してLEコードの拡張広告(ASTM F3411リモートID、500ms間隔、8ビットペイロードカウンターで追跡)とnRF52840のOTAスニッファーを同時にテストしました。 私はデュアルPHYスキャン(Scanning_PHYs 0x05、60ms間隔、8。75ms、1Mのウィンドウ、50ms。6msの符号付きウィンドウ)と、符号のみの参照スキャン(Scanning_PHYs 0x04、同一の50ms。6ms符号化ウィンドウ)を比較しました。 符号化のみのスキャンはオンエアパケットの94%(112パケット中105パケット)を正常に受信しましたが、デュアルPHYを有効にすると符号受信は急激に13%に低下しました(報告されたパケットは94パケット中12パケットのみ)。RW612コントローラは通常通りレガシー1Mパケットを報告し続け、配布された数少ない符号化パケットは完全に無傷(データステータス0)で、欠損パケットはコントローラによって単純にドロップまたはスキップされたことを示しています。 両方の実行の完全なログ(生のUART、パケット損失のないHCI_Resetからの完全なHCI btsnoop 、および同期されたOTA pcapngキャプチャ)を添付しました。RW612とPCのクロックにはわずかなオフセット(約0.4~0.9秒)があるため、タイムスタンプではなくペイロードカウンタを使用してHCIとスニファのトレースを相関させてください(たとえば、デュアルPHYキャプチャでは、 btsnoopフレーム531がカウンタ157のスニファフレーム2998と一致します。BDアドレス58:ce:2a:6b:d5:8bでフィルタリングすると、両方のストリームが分離されます)。 よろしくお願いいたします。
View full article
Code Warrior ver 8 Palm 开发工具,作者 metrowerks 有人觉得我那套老旧的 Metrowerks 出品的 Code Warrior 8 开发工具还有用吗?Windows 和 Mac 系统均配有相应的用户手册。此外,我还收藏了一些其他第三版 Palm 开发书籍以及一台 Palm 设备。他们需要找到一个好归宿。 Re: Code Warrior ver 8 Palm dev tools by metrowerks 感谢您对 CodeWarrior 的关注,虽然可能可以找到或分享旧版本的 CodeWarrior,但 CodeWarrior 8 是一个不再受支持的旧版产品。先前版本的页面和内容仅供历史参考,因此对 v11.1 之前的任何 CodeWarrior 版本的支持都非常有限。由此造成的不便,我们深表歉意。 目前维护的版本是 CodeWarrior v11.1,它支持各种 8 位设备,并且可以在 Windows 10/11 上运行。 我们建议您使用 v11.1 版本,您可以从这里下载: CodeWarrior for MCUs (Eclipse IDE) v11.1 顺祝商祺! Re: Code Warrior ver 8 Palm dev tools by metrowerks   亲爱的路易斯, 感谢您的回复。 我是 Raffaele Mazzarelli,AQS 公司技术维修部门经理。AQS 是一家意大利公司,专门从事工业电子产品维修,特别是光伏逆变器维修。 我们目前正在调查影响 Santerno ES821 控制板的技术问题,该控制板包含两个数字信号处理器: 摩托罗拉/飞思卡尔 DSP56F807PY80E 德州仪器 TMS320VC33PGE 主要问题在于板的寿命运行计时器,它无法正确保存运行时间信息。 我们已经投入了大量时间和资源来诊断这个问题,包括硬件调查、内存分析以及涉及两个处理器的测试。 遗憾的是,我们尚未确定生命周期定时器是由摩托罗拉 DSP56F807、德州仪器 TMS320VC33 管理,还是通过这两个处理器之间的交互管理。 我们尤其希望获得以下方面的技术支持: DSP56F807 的内部非易失性存储器组织结构。 能够访问和分析其固件和存储的运行参数。 CodeWarrior Development Studio for DSC 8.3 及兼容的调试工具的可用性。 任何有助于确定摩托罗拉处理器是否负责存储或管理生命周期计时器的技术信息。 我还要强调,如果恩智浦半导体或合格的技术合作伙伴能够提供这项服务,我们愿意将 ES821 控制板实物寄送进行技术检验。 如果需要,我们还可以讨论提供一个功能齐全的板,以便与故障电路板进行比较。 我们很乐意安排将货物运送至经授权的技术机构,但需事先就检验程序和相关费用达成一致。 我们的目标是找出这一反复出现问题的根本原因,并为仍在服役的工业设备开发可靠的维修方案。 请问NXP是否有专家、技术部门或授权合作伙伴可以帮助我们? 我们非常感谢您的支持。 此致, 拉斐尔·马扎雷利 技术维修部经理 AQS – 意大利
View full article
使用 MCULink 探针无法从目标板保存闪存映像。 W10,链路服务器 26.9.130MCULink 固件 3.174: 我想使用 SWD 从 LPC804 板保存闪存映像。我有一个 MCULink 探针,我安装了包含 LinkFlash 工具的 Linkserver 软件包。这样我就可以将MCULink固件更新到最新版本。 使用 LinkFlash GUI 时,由于出现“连接失败 (Ee42)”错误,我无法从目标板保存闪存映像。未放置探针跳线(SWD)。我选择了“LPC804:”作为设备,但我注意到在其他示例中,通常会指定更完整的部件号和 IDE。我是否需要创建配置文件或安装像 Expresso 这样的 IDE 来解决这个问题,还是更有可能是线缆和目标连接问题? Ns: LinkServer RedlinkMulti 驱动程序 v26.9(2026 年 9 月 18 日 19:34:33 - crt_emu_cm_redlink.exe 版本 1382) PC:(0)读取远程配置 Wc(03)。不支持缓存。 Nc:在 C:\Users\T\AppData\Local\Temp\tmps4ueywdg\crt_directory.xml 中找到通用目录 XML 文件 PC:(5)远程配置完成 Nc:已重新连接到现有 LinkServer 进程。 Nc:连接到探测器 1 核心 0(使用外部启动的服务器)报告: 'Ee(42)。无法连接到核心服务器。 Nc:正在重试…… Nc:已重新连接到现有 LinkServer 进程。 Nc:服务器正常,但无法连接到探测 1 核心 0(尝试 3 次后)- Ee(42)。无法连接到核心服务器。 Ed:02: 连接失败: Ee(42)。无法连接到核心服务器。 Et:31:未连接到芯片的调试端口 PC:(100)目标操作失败 Re: Unable to save flash image from target board with MCULink probe 我还尝试过使用命令行界面(CL)而不是图形用户界面(GUI),但结果并没有什么不同。和你的输出结果对比后,我似乎卡在了这里: Nc:连接到探测器 1 核心 0(使用外部启动的服务器)报告: 'Ee(42)。无法连接到核心服务器。 这似乎是在抱怨探测器,而不是目标。 Re: Unable to save flash image from target board with MCULink probe 我认为你可能遇到了连接问题(物理电缆问题?)。 我在Ubuntu系统上使用过,但同样适用于Win10: /usr/local/LinkServer_26.9.130/LinkServer flash --probe 4FIQSNVD2MICA LPC804: dump 0x00000000 0x00001000 /tmp/memory.bin INFO: Exact match for LPC804: found INFO: Selected device LPC804:LPCXpresso804 INFO: Selected probe #1 4FIQSNVD2MICA (MCU-LINK Pro (r1CF) CMSIS-DAP V3.174) INFO: MCU-Link firmware update `check`: Probe ([4FIQSNVD2MICA] [MCU-LINK Pro (r1CF) CMSIS-DAP V3.174]) is already running the same firmware version as the included firmware version [3.174] Firmware update `check`: not required - forced update can be performed using: `./LinkServer probe #1 update forced` Ns: LinkServer RedlinkMulti Driver v26.9 (Sep 18 2026 19:46:03 - crt_emu_cm_redlink build 1382) Pc: ( 0) Reading remote configuration Wc(03). No cache support. Nc: Found generic directory XML file in /tmp/tmpuhtfp3bl/crt_directory.xml Pc: ( 5) Remote configuration complete Nc: Reconnected to existing LinkServer process. Nc: Probe Firmware: MCU-LINK Pro (r1CF) CMSIS-DAP V3.174 (NXP Semiconductors) Nc: Serial Number: 4FIQSNVD2MICA Nc: VID:PID: 1FC9:0143 Nc: USB Path: 0005:0013:00 Nc: Using memory from core 0 after searching for a good core Pc: ( 30) Emulator Connected Pc: ( 40) Debug Halt Pc: ( 50) CPU ID Nc: debug interface type = CoreSight DP (DAP DP ID 0BC11477) over SWD TAP 0 Nc: processor type = Cortex-M0+ (CPU ID 00000C60) on DAP AP 0 Nc: number of h/w breakpoints = 4 Nc: number of flash patches = 0 Nc: number of h/w watchpoints = 2 Nc: Probe(0): Connected&Reset. DpID: 0BC11477. CpuID: 00000C60. Info: Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled. Ns: Content of CoreSight Debug ROM(s): Nc: RBASE E00FF000: CID B105100D PID 04000BB4C0 ROM (type 0x1) Nc: ROM 1 E000E000: CID B105E00D PID 04000BB008 Gen SCS (type 0x0) Nc: ROM 1 E0001000: CID B105E00D PID 04000BB00A Gen DWT (type 0x0) Nc: ROM 1 E0002000: CID B105E00D PID 04000BB00B Gen FPB (type 0x0) Nc: NXP: LPC804 Nc: DAP stride is 1024 bytes (256 words) Nc: Inspected v.2 On-chip Flash Memory LPC80x_32.cfx Nc: Image 'LPC80x (32K) Sep 18 2026 18:35:07' Pc: ( 65) Chip Setup Complete Pc: ( 70) License Check Complete Nt: Dumping 'memory.bin' Binary section 0 at 0x00000000 len 0x1000 Nc: Opening flash driver LPC80x_32.cfx Nc: VECTRESET requested, but not supported on ARMv6-M CPUs. Using SOFTRESET instead. Nc: Using SOFT reset to run the flash driver Nc: Flash device supported (32KB = 32*1K at 0x0) Ps: ( 0) at 00000000: 0 bytes - 0/4096 Ps: (100) at 00000000: 4096 bytes - 4096/4096 Nc: Closing flash driver LPC80x_32.cfx Nt: Dumped 0x1000 bytes in 17ms (about 240kB/s) 使用图形用户界面: 希望这能帮到你。 埃里希 Re: Unable to save flash image from target board with MCULink probe 我自制的 TC2030 电缆没有连接 GNDdetect。我已经修复了这个问题,现在可以通过命令行或图形界面读写闪存。 Re: Unable to save flash image from target board with MCULink probe 是的,我看到MCULink套件只有一根10厘米长的Cortex连接线,如果再加一根TC2030连接线,长度就会增加一倍以上。 顺便一提,LPC804 UM 提到引脚 0.12 具有从故障状态恢复的能力。是否有关于如何以及何时使用此功能的更详细说明? Re: Unable to save flash image from target board with MCULink probe 更新:刚开始一个小时运行正常,但现在非常不稳定。有时我可以导出闪存内容,但无法擦除。有时我可以导出和擦除数据,但无法进行编程。尝试进行转储、擦除、编程和验证操作,结果只成功了一次,之后就再也没有成功过。我尝试了两种不同的 tc2030 电缆、各种线速,以及 CLI 和 GUI。即使 FlashLink 显示成功,我通常在转储闪存时发现有些字节没有被擦除或写入。我认为可能需要一根很短的电缆。 Re: Unable to save flash image from target board with MCULink probe 你的电缆有多长?不应超过约10厘米。 另外,你使用的是什么板?您自己/定制的?那样的话,你的板上可能存在连接器/线路问题。 希望这能帮到您, 埃里希 Re: Unable to save flash image from target board with MCULink probe 换用更短的 8 厘米电缆并没有什么区别。当我擦除所有 0x7F80 字节并报告成功时,我转储所有 0x7F80 字节,期望得到全部 0xFF。然而,转储结果几乎全部是0x00,因此要么是Flashlink报告的状态有误,要么是存在硬件问题,例如SWD信号部分短路,导致无法正确转储闪存数据。
View full article
Unable to save flash image from target board with MCULink probe W10, Linkserver 26.9.130, MCULink FW 3.174: I want to save a flash image from a LPC804 board using SWD. I have the MCULink probe, I installed the Linkserver package which includes the LinkFlash tool. With this I was able to update the MCULink FW to the latest. Using the LinkFlash GUI I am not able to save the flash image from my target board due to a "Failed on Connect (Ee42)". No probe jumpers are placed (SWD). I have selected "LPC804:" as a device, but I noticed in other examples a more complete part# and an IDE is usually named. Do I need to create a configuration file or install an IDE such as Expresso to get past this, or is it more likely to be cabling and target connection issue? Ns: LinkServer RedlinkMulti Driver v26.9 (Sep 18 2026 19:34:33 - crt_emu_cm_redlink.exe build 1382) Pc: ( 0) Reading remote configuration Wc(03). No cache support. Nc: Found generic directory XML file in C:\Users\T\AppData\Local\Temp\tmps4ueywdg\crt_directory.xml Pc: ( 5) Remote configuration complete Nc: Reconnected to existing LinkServer process. Nc: Connecting to probe 1 core 0 (using server started externally) reports: 'Ee(42). Could not connect to core.' Nc: Retrying... Nc: Reconnected to existing LinkServer process. Nc: Server OK but no connection to probe 1 core 0 (after 3 attempts) - Ee(42). Could not connect to core. Ed:02: Failed on connect: Ee(42). Could not connect to core. Et:31: No connection to chip's debug port Pc: (100) Target Operation Failed Re: Unable to save flash image from target board with MCULink probe I also tried the CL instead of the GUI but it made no difference. Comparing with your output I seem to get stuck on: Nc: Connecting to probe 1 core 0 (using server started externally) reports: 'Ee(42). Could not connect to core.' This seems to be complaining about the probe, not the target. Re: Unable to save flash image from target board with MCULink probe I think you might have a connection (physical cable?) issue. Using it on Ubuntu, but same would apply to Win10: /usr/local/LinkServer_26.9.130/LinkServer flash --probe 4FIQSNVD2MICA LPC804: dump 0x00000000 0x00001000 /tmp/memory.bin INFO: Exact match for LPC804: found INFO: Selected device LPC804:LPCXpresso804 INFO: Selected probe #1 4FIQSNVD2MICA (MCU-LINK Pro (r1CF) CMSIS-DAP V3.174) INFO: MCU-Link firmware update `check`: Probe ([4FIQSNVD2MICA] [MCU-LINK Pro (r1CF) CMSIS-DAP V3.174]) is already running the same firmware version as the included firmware version [3.174] Firmware update `check`: not required - forced update can be performed using: `./LinkServer probe #1 update forced` Ns: LinkServer RedlinkMulti Driver v26.9 (Sep 18 2026 19:46:03 - crt_emu_cm_redlink build 1382) Pc: ( 0) Reading remote configuration Wc(03). No cache support. Nc: Found generic directory XML file in /tmp/tmpuhtfp3bl/crt_directory.xml Pc: ( 5) Remote configuration complete Nc: Reconnected to existing LinkServer process. Nc: Probe Firmware: MCU-LINK Pro (r1CF) CMSIS-DAP V3.174 (NXP Semiconductors) Nc: Serial Number: 4FIQSNVD2MICA Nc: VID:PID: 1FC9:0143 Nc: USB Path: 0005:0013:00 Nc: Using memory from core 0 after searching for a good core Pc: ( 30) Emulator Connected Pc: ( 40) Debug Halt Pc: ( 50) CPU ID Nc: debug interface type = CoreSight DP (DAP DP ID 0BC11477) over SWD TAP 0 Nc: processor type = Cortex-M0+ (CPU ID 00000C60) on DAP AP 0 Nc: number of h/w breakpoints = 4 Nc: number of flash patches = 0 Nc: number of h/w watchpoints = 2 Nc: Probe(0): Connected&Reset. DpID: 0BC11477. CpuID: 00000C60. Info: Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled. Ns: Content of CoreSight Debug ROM(s): Nc: RBASE E00FF000: CID B105100D PID 04000BB4C0 ROM (type 0x1) Nc: ROM 1 E000E000: CID B105E00D PID 04000BB008 Gen SCS (type 0x0) Nc: ROM 1 E0001000: CID B105E00D PID 04000BB00A Gen DWT (type 0x0) Nc: ROM 1 E0002000: CID B105E00D PID 04000BB00B Gen FPB (type 0x0) Nc: NXP: LPC804 Nc: DAP stride is 1024 bytes (256 words) Nc: Inspected v.2 On-chip Flash Memory LPC80x_32.cfx Nc: Image 'LPC80x (32K) Sep 18 2026 18:35:07' Pc: ( 65) Chip Setup Complete Pc: ( 70) License Check Complete Nt: Dumping 'memory.bin' Binary section 0 at 0x00000000 len 0x1000 Nc: Opening flash driver LPC80x_32.cfx Nc: VECTRESET requested, but not supported on ARMv6-M CPUs. Using SOFTRESET instead. Nc: Using SOFT reset to run the flash driver Nc: Flash device supported (32KB = 32*1K at 0x0) Ps: ( 0) at 00000000: 0 bytes - 0/4096 Ps: (100) at 00000000: 4096 bytes - 4096/4096 Nc: Closing flash driver LPC80x_32.cfx Nt: Dumped 0x1000 bytes in 17ms (about 240kB/s) With the GUI: I hope this help, Erich Re: Unable to save flash image from target board with MCULink probe My diy tc2030 cable did not have the GNDdetect connected. I fixed that and I am now able to read and write flash using either the command line or GUI.  Re: Unable to save flash image from target board with MCULink probe Yes, I see the MCULink kit only had a 10cm cortex cable and adding a tc2030 cable onto that would more than double that length.  BTW, the LPC804 UM mentions that pin0.12 has some ability to recover from a problem state. Is there any further description of how and when to use this feature? Re: Unable to save flash image from target board with MCULink probe Update: It worked fine for an hour but now it is very unreliable. Sometimes I can dump the flash contents but not erase. Sometimes I can dump and erase but not program. Trying to dump, erase, program and verify only worked that one time and never again. I have tried two different tc2030 cables, various wire speeds, and both the CLI and GUI. Even when FlashLink says it succeeded, I usually find when I dump flash that some bytes were not erased or written. I think  a very short cable may be needed.  Re: Unable to save flash image from target board with MCULink probe How long is your cable? It should not exceed ~10 cm. Additionally, what board are you using? Your own/custom one? In that case you might have a connector/trace problem on your board. I hope this helps, Erich Re: Unable to save flash image from target board with MCULink probe A shorter 8cm cable made no difference. When I erase all 0x7F80 bytes and it reports success, I dump all 0x7F80 bytes expecting all 0xFF. Instead the dump is almost all 0x00, so either Flashlink is wrong about the status it reports or there is a HW issue like a partially shorted SWD signal preventing a proper dump of the flash.  
View full article
MCALなしでS32K1 LINスタックを実装することは可能でしょうか? これは可能ですか? S32K116コントローラを使っていますが、フラッシュメモリは128KBしか搭載されていません。 基本的なシステム機能のために周辺機器ドライバが追加されたため、メモリ容量はすでに不足しています。 さて質問です:MCAL周辺ドライバを使わずにLINスタックを追加することは可能でしょうか? こうすればIPドライバを使ってメモリ使用を減らせることができました。 最初の実験では、linstack_configミドルウェアでLpuart_Lin IPドライバを選べないことがわかりました。それを選択できる設定を見落としているのでしょうか? Re: Is it possible to implement the S32K1 LIN Stack without MCAL? こんにちは、@ daniel_meier この投稿をご覧いただけます。 https://community.nxp.com/t5/S32-SDK/LIN-Middleware-stack-configuration-issue/td-p/1739186https://community.nxp.com/t5/S32K/How-to-config-Lin-module-as-slave-node-base-MCAL-driver-in-S32K/td-p/1077781 RTDドライバでは、LINスタックはMCAL層の構成に依存します。 もしプロジェクトでRTDドライバの使用が厳密に必要でなければ、S32K1 SDKsを試してみるのも良いでしょう。 https://www.nxp.com/pages/s32-software-development-kit-for-s32k1:S32SDK-ARMK1
View full article
iMX8Mp_FALCON_MODE_RDC_FAILED 你好 环境详情: 板: i.MX8M Plus EVK(i.MX8MP EVK) 内核版本: 6.12.49 Yocto 环境:基于 Yocto 的 NXP 电路板支持包。 启动模式:猎鹰模式 我在 i.MX8MP 中启用了 Falcon 模式,但出现错误: 找不到节点!错误代码:-11!=> 我发现这个问题是由于 RDC 节点结构不完整引起的。 我们需要RDC节点吗?否则我们可以采用这个方案。 以下是我的启动日志: U-Boot SPL 2025.04-g4ddbad60eff3-dirty(2025年11月19日 07:56:58 +0000) DDRINFO:启动动态随机存取存储器\(DRAM\)初始化 DDRINFO:动态随机存取存储器\(DRAM\) 速率 4000MTS DDRINFO:DDRPHY 校准完成 DDRINFO:ddrmix 配置完成 SEC0:RNG 实例化 正常启动 尝试从 MMC2 启动 找不到节点!错误代码:-11! 找不到节点!错误代码:-11! 注意:请勿将 JR0 释放给 NS,因为它可能被 HAB 使用。 注意:BL31:v2.12.0(版本):lf-6.12.49-2.2.0-dirty 通知:BL31:版本时间:2025年10月17日 10:13:07 p104p104p104 NXP i.MX 版本 发行版。 6.12-walnascar imx8mpevk ttymxc1   imx8mpevk 登录:root root@imx8mpevk:~# i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: iMX8Mp_FALCON_MODE_RDC_FAILED 嗨@Sanjiv_Mns “imx8m,mcu_rdc”用于生成 RDC 配置,以分配 M7 独有的资源。如果不需要此功能,可以删除对board_handle_rdc_config的引用。如果需要,可以将mcu_rdc添加到 dts 中。 此致, 志明
View full article
S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_2025 不支持 HB200x AUTOSAR R21-11 版本 0.8.0 您好,NXP, 我尝试将 HB200x AUTOSAR 规范 SDK 集成到 S32 Design Studio 中,但收到以下错误消息: 问题:在工具链/IDE 项目中找不到 Mc33hb。该项目无法编译! 级别:错误 类型:验证 工具:工具链/IDE 项目 来源:外围设备 目标:工具链/IDE 项目:M7_0 资源:platform.driver.mc33hb 甚至包括 CDD_Mb33Hb.c 文件在 S32 Design Studio 应用程序 (v3.6.4) 中安装 SDK 时,尚未添加 CDD_Mb33Hb.h 等文件。 Re: HB200x AUTOSAR R21-11 Version 0.8.0 not supported by S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_ 你好, 您似乎使用了错误的RTD版本。根据 HB200x AUTOSAR R21-11 0.8.0 发行说明,该软件可以基于 SW32K3_RTD_4.4_R21-11_3.0.0_D2303_DS_updatesite.zip 使用(该软件需要安装在 S32 Design Studio IDE v3.5 中)。 PetrS_0-1789471295419.png BR,彼得 Re: HB200x AUTOSAR R21-11 Version 0.8.0 not supported by S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_ 是否有其他版本的 HB200x SDK 支持 RTD 6.0.0 或更高版本?因为我们希望在我们的用例中使用最新的 AUTOSAR 库。 Re: HB200x AUTOSAR R21-11 Version 0.8.0 not supported by S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_ 我们更倾向于使用 RTD 6.0.0 或更高版本。如果能找到一种方法将现有驱动程序升级到与 RTD 6.0.0 兼容,我将不胜感激。恳请指导。
View full article
[提案]ピン名はポートペリフェラルのポートピンリストに表示されるべきです ペリフェラルにピンを追加すると、長いPortPinとUnTouchedPortPinのリストができてしまいます。 リストは0から番号が上がっていて、名前の表示は見当たりません。特定のピンの設定を変更する必要がある場合は、リスト全体をクリックして探す必要があります。 もちろん、外部ツールでIDをピン名や関数にマッピングするリストを作成することもできますが、その情報をツール内で即座に表示できる方がはるかに望ましいです。 私の提案は以下の通りです。 PortsペリフェラルのPortPinとUntouchedPortPinのリスト内では、IDの横にピンの名前が表示されます。この名前はPortPinの設定から取るか、Pinラベルから取ることも可能で、プロセスをさらに自動化したい場合もあります。 この改善は、PortContainer、DioPort、DioChannelsなど、現在IDのみを表示する他のリストにも応用できます。 Eclipse IDEの使用と設定 全般 Re: [suggestion] Pin names should be shown in Port peripheral PortPin list こんにちは、 @daniel_meier さん。 PortPinとUnTouchedPortPinのリストだけでは特定のピンを特定するのは容易ではないというご指摘は理解できます。ご提案ありがとうございます。FUTUREのリリースで改善がCANかどうかを評価できるよう、ソフトウェアチームにフィードバックを共有します。 特定のピン構成の変更に関しては、最新のRTDリリースではペリフェラル ToolではなくPin Toolで行うべきです。実際、ほとんどのピン関連の設定はもはやペリフェラルツールから編集できず、ピンツール内で直接設定する必要があります。 BR、VaneB Re: [suggestion] Pin names should be shown in Port peripheral PortPin list @VaneB返信ありがとうございます。 SO私はほとんど何も変更できず(「レジスタのロック」と「モード変更可能」だけ)の理由がわかります。 つまり、上記のオプションが必要でない限り、PortContainer セクションで何も設定する必要はないということですか? 問題は、常に少なくとも1つのポートピンがデフォルトでPCR0になり、それを削除できないことです。 私はS32K1 RTD AUTOSAR R21-11バージョン3.0.0を使用していますS32K116用QLP06。 Re: [suggestion] Pin names should be shown in Port peripheral PortPin list こんにちは、 @daniel_meier さん。 技術的には、そうです。ただし、設定済みのすべてのピンをPortContainerに追加し、各ピンに対応するPortPin PCR構成を設定する必要があることにご注意ください。 ロックレジスタオプションについてですが、ピンツールでピンを「ロック」を選択すると、ペリフェラルツール内のポートドライバ内の対応するピンにもエラーが表示されます。これにより、特に多くの設定済みピンを扱う際に影響を受けるピンの特定が容易になります。 あなたが言及した削除できないピンについては、状況を完全には理解できていないかもしれません。ピンツールを有効にして新しいアプリケーションを作成すると、デフォルトでPTA0が加わります。しかし、追加のピンが設定されると、アプリケーションで必要でない場合、PTA0は削除可能です。したがって、アプリケーションに合わせて機能を変更したり設定したりするために保持しない限り、削除に問題はないはずです。 Re: [suggestion] Pin names should be shown in Port peripheral PortPin list ああ、なるほど、あなたの言いたいことが分かりました。 はい、デフォルトのPINを削除すれば、他のPINを追加する際に問題なく動作します。 あなたの回答から、ポートペリフェラルにピンを追加する必要はないと理解しましたが、 別のトピックで 同僚が、FUTUREのRTDのバージョンではピンツールが自動的にポートペリフェラルにピンを追加すると言っていたのを思い出しました。
View full article
KW47-EVK:关于编译器开关(BOARD_LOCALIZATION_REVISION_SUPPORT) 我们目前正在使用KW47-EVK ,对于这个编译器切换,我们有一些问题。 关于BOARD_LOCALIZATION_REVISION_SUPPORT的用途,根据 SDK 中的注释,我们了解到它是专门为KW47-LOC板引入的。请问我的理解是否正确? 使用KW47-EVK时,是否应该禁用BOARD_LOCALIZATION_REVISION_SUPPORT ? 当BOARD_LOCALIZATION_REVISION_SUPPORT被禁用时,以下引脚在 PLATFORM_InitLcl() 中配置为 Alt6( RF_GPO ) 。这种配置的目的是什么? PTA18 PTA19 PTA20 此配置是否仅用于调试目的?或者,为了设备的正常运行,是否必须将这些引脚配置为RF_GPO ?   下面的代码显示了这些引脚的配置位置。 顺祝商祺! 胜也 Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) 你好, 希望你一切都好。   BOARD_LOCALIZATION_REVISION_SUPPORT 宏选择定位板 RF-GPO 路由,当使用定位板 (KW47-LOC) 时使用,并且仅当应用程序使用定位或外部天线开关功能时才需要。在这种情况下,如果您使用的是 KW47-EVK,则应禁用宏,并且 EVK 默认 RF 路径的正常运行不需要 RF-GPO 重新配置。   当启用 BOARD_LOCALIZATION_REVISION_SUPPORT 宏时,PLATFORM_InitLcl() 会选择 PTD(PTD1、PTD2 和 PTD3)引脚上的 RF_GPO[7:4] 组。 禁用时,它会选择 RF_GPO[3:0],并将 PTA18、PTA19 和 PTA20 配置为 Alt6,分别对应于 RF_GPO_0、RF_GPO_1 和 RF_GPO_2。 如需参考,引用,请参阅KW47 参考手册第 52.3.2.5 节“无线电定位天线选择”。   此致, 索菲亚。 Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) 你好,索菲亚 请问您能否提供以下方面的信息?   3. 当BOARD_LOCALIZATION_REVISION_SUPPORT被禁用时,以下引脚在 PLATFORM_InitLcl() 中配置为 Alt6( RF_GPO ) 。这种配置的目的是什么? PTA18 PTA19 PTA20 此配置是否仅用于调试目的?或者,为了设备的正常运行,是否必须将这些引脚配置为RF_GPO ?   顺祝商祺! 胜也   Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) 你好@Katsuya , 由于未修改的 KW47-EVK 使用单个默认天线,因此正常的射频操作不需要天线选择 RF_GPO 路由。除非应用程序的目标是 KW47-LOC 路由或天线分集板,否则应禁用 BOARD_LOCALIZATION_REVISION_SUPPORT。RF_GPO 配置用于定位或外部天线开关控制,而不仅仅是用于调试。 如果应用程序调用 PLATFORM_InitLcl(),SDK 会自动将 PTA18、PTA19 和 PTA20 配置为 Alt6(RF_GPO),因此无需手动配置。如果未调用 PLATFORM_InitLcl(),则引脚将保持其正常的 pin_mux.c 状态。配置,并且 EVK 默认 RF 操作不需要 RF_GPO 配置。 此致, 索菲亚。 Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) 你好,索菲亚, 正常运行时,我的理解是否正确:无需将 PTA18、PTA19 和 PTA20 配置为 Alt6,而此配置仅用于调试目的? 顺祝商祺! 胜也
View full article
KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) We are currently using the KW47-EVK, and we have a few questions regarding this compiler switch. Concerning the purpose of BOARD_LOCALIZATION_REVISION_SUPPORT, based on the comments in the SDK, we understand that it was introduced specifically for the KW47-LOC board. Could you please confirm whether this understanding is correct? When using the KW47-EVK, is it correct that BOARD_LOCALIZATION_REVISION_SUPPORT should be disabled? When BOARD_LOCALIZATION_REVISION_SUPPORT is disabled, the following pins are configured as Alt6(RF_GPO) in PLATFORM_InitLcl(). What is the purpose of this configuration? PTA18 PTA19 PTA20 Is this configuration intended only for debugging purposes? Or is it required that these pins remain configured as RF_GPO for proper operation of the device?   The code below shows the location where these pins are configured. Best regards, Katsuya Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) Hello, Hope you are doing well.   The BOARD_LOCALIZATION_REVISION_SUPPORT macro selects the localization-board RF-GPO routing and is used when the Localization board (KW47-LOC) is in use and needed only when the application uses the localization or external antenna-switch functionality. In this case, if you are using the KW47-EVK, the macro should be disabled, and the RF-GPO reconfiguration is not required for normal operation of the EVK default RF path.   When the BOARD_LOCALIZATION_REVISION_SUPPORT macro is enabled, PLATFORM_InitLcl() selects the RF_GPO[7:4] group on PTD (PTD1, PTD2, and PTD3) pins. When disabled, it selects RF_GPO[3:0], and configures PTA18, PTA19, and PTA20 as Alt6, corresponding to RF_GPO_0, RF_GPO_1, and RF_GPO_2. For furth reference you can see section 52.3.2.5 Radio Localization Antenna Select of the KW47 Reference Manual.   Best regards, Sofia. Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) Hello Sofia Could you please provide information regarding the following?   3. When BOARD_LOCALIZATION_REVISION_SUPPORT is disabled, the following pins are configured as Alt6(RF_GPO) in PLATFORM_InitLcl(). What is the purpose of this configuration? PTA18 PTA19 PTA20 Is this configuration intended only for debugging purposes? Or is it required that these pins remain configured as RF_GPO for proper operation of the device?   Best regards, Katsuya   Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) Hello @Katsuya , Since the unmodified KW47-EVK uses a single default antenna, antenna-selection RF_GPO routing is not required for normal RF operation. BOARD_LOCALIZATION_REVISION_SUPPORT should be disabled unless the application targets the KW47-LOC routing or an antenna diversity board. The RF_GPO configuration is used for localization or external antenna-switch control, not only for debugging. If the application calls PLATFORM_InitLcl(), the SDK automatically configures PTA18, PTA19, and PTA20 as Alt6(RF_GPO), so no manual configuration is required. If PLATFORM_InitLcl() is not called, the pins retain their normal pin_mux.c configuration, and RF_GPO configuration is not required for the EVK default RF operation. Best regards, Sofia. Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) Hello Sofia, When operating normally, is my understanding correct that there is no need to configure PTA18, PTA19, and PTA20 as Alt6, and that this configuration is intended only for debugging purposes? Best regards, Katsuya
View full article
MC33774 デイジーチェーン デュアルループ接続 こんにちは。 現在、MC33665AとMC33774を使用してダブルチェーンループバック構造を形成するAFEサンプリングシステムを使用しています。MC33665AのPORT0とPORT1はそれぞれMADD0とMADD1として構成されており、すべてのコマンドは現在MADD0経由で送信されています。PORT0とDC1の間だけをデイジーチェーン接続すると、通信は正常です。しかし、PORT1とDC2の間にもデイジーチェーン接続すると、33774が応答フレームで応答できないことがわかりました。これはなぜでしょうか?33665のPORT構成が正しいこと、および33774のSYS_TPL_CFG.RESPCFGが00 SAMEモードに設定されていることは確認済みです。 現在、私はMC33665AとMC33774を組み合わせたデュアルリングループ構成のAFEサンプリングシステムを使用しています。MC33665AのPORT0とPORT1をそれぞれMADD0とMADD1として設定し、現在すべてのコマンドはMADD0経由で送信されています。 PORT0とDC1の間だけをデイジーチェーン接続した場合、通信は正常に動作します。しかし、PORT1とDC2の間にデイジーチェーン接続も行った後、MC33774にリクエストを送信しても応答しなくなりました。 なぜこのようなことが起こるのでしょうか? MC33665 PORT の設定を読み返して確認したところ、正しいことが分かりました。また、MC33774 で SYS_TPL_CFG.RESPCFG = 00 (SAME モード) を設定しました。 Re: MC33774 Daisy Chain Dual Loop Connection こんにちは。 1. MADD=1の位置からDADDの割り当てを反転させる必要があるかどうかを知りたいです。 2. 現在のSYS_PORT0_CFG構成は、TIMEOUT=0、CADD=1、MADD=0、PROTOCOL=1、ALLCHAINS=1、TERM=1、RX=1、EN=1です。 SYS_PORT1_CFG は、TIMEOUT=0、CADD=1、MADD=1、PROTOCOL=1、ALLCHAINS=1、TERM=1、RX=1、EN=1 で構成されています。 Re: MC33774 Daisy Chain Dual Loop Connection こんにちは、 AN13910 TPLループバック推奨によると、2つのMC33665A TPLポートがループバックリングとしてコネクテッドである場合、あなたが見ている挙動を引き起こすいくつかの設定要件があります。 ループバック構成の場合: デバイスアドレス(DADD)は、リングの一方の側からは昇順で、ループバック側からは逆順で割り当てることをお勧めします(あなたの画像にはそれが確認できません)。 2つのポートがループバックとしてコネクテッドされている場合、重複データがMC33665バッファに入るのを防ぐために、どちらか一方のポートはSYS_PORTx_CFG[RX] = 0であるべきです。 さらに、いずれかのポートのSYS_PORTx_CFG[ALLCHAINS]が0である必要があります。両方のループバックポートがALLCHAINSコマンドを受け入れている場合、文書にはこれが信号の競合や通信エラーを引き起こす可能性があると記載されています。 SYS_PORT0_CFGとSYS_PORT1_CFG(特にEN、RX、ALLCHAINS、MADD、CADD)の価値観を共有していただけますか?それは、ループバックポートがAN13910の推奨事項に従って構成されているかどうかを判断するのに役立ちます。 Re: MC33774 Daisy Chain Dual Loop Connection こんにちは、 AN13910 TPLループバック推奨事項によると、ループバックトポロジでは、DADDの割り当てはMADD=1側から逆にする必要があります。 さらに、現在の設定では、両方のポートでRX=1およびALLCHAINS=1となっています。ループバック接続の場合、重複ルーティングや通信の競合を避けるため、いずれかのポートでRXとALLCHAINSを無効にすることをお勧めします。 RX=0、ALLCHAINS=0のポート(例えばPORT1)を設定して、MC33774が応答フレームを返し始めるか確認していただけますか? Re: MC33774 Daisy Chain Dual Loop Connection これは最適とは言えない解決策のように思えます。6402の2つのポート間に、複数の7418 CMUと8420 BJBをループ接続した構成を希望します。CMUをポート0経由で読み込み、BJB(極端な場合は高いCMU)をMADD=1でポート1経由で読み取るのが理想的です。ループの反対側から読み込みたいたびに両方のポートでRX有効化を再プログラムする必要がある場合、これはかなり非効率的に思えます。なぜ読み取りリクエストのMADDビットが遠側RXを自動的に無効化できないのでしょうか?
View full article
在 IMXRT1186 M7 内核中,SDK_DelayAtLeastUs 的精度存在 30% 的误差。 大家好, 我正在使用 FRDM-IMXRT1186 板,其 MCU 具有双核 M33 和 M7。#iMXRT1186 我发现 SDK_DelayAtLeastUs 函数的精度不太高。我预计延迟时间为0.5秒(50万微秒),但实际时间约为0.6秒。 CoreDebug-> DEMCR |= CoreDebug_DEMCR_TRCENA_Msk; DWT-> CYCCNT = 0; DWT-> CTRL |= DWT_CTRL_CYCCNTENA_Msk; uint32_t t0 = DWT-> CYCCNT ; SDK_DelayAtLeastUs (500000U, SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY); LED_TOGGLE(); 循环 = DWT-> CYCCNT - t0; 在 SDK_DelayAtLeastUs 中,count = count / 3U * 2U 可以改为 count = count / 2U 以获得更准确的结果。 但我不太确定这样的修改是否合理。 #elif (__CORTEX_M == 7) /* 为确保延迟精确,在各种环境下除法值可能不同。 * 由于 Cortex-M7 有时会执行指令,因此每次循环计数都包含三条指令。 * 一周期内两条指令,通过测试此处设置除以 1.5。其他 M 核心使用 * 除以 4。顺便说一下,除以 1.5 或 4 可能会导致计数精度降低,但实际上并非如此。 * 没关系,因为 while 循环之外的其他指令足以填满时间。 */ 计数 = 计数 / 3U * 2U; 谢谢! Re: SDK_DelayAtLeastUs is inaccurate by 30% in IMXRT1186 M7 core 亲爱的@ewlee , 将 count = count / 2U 改为 count 可能会改善您当前测试环境中的结果,但我们不建议将其作为通用解决方案。 SDK_DelayAtLeastUs() 函数旨在提供基于循环的“至少”延迟,其精度可能会受到运行时环境的影响。 如果需要精确的 500 毫秒间隔,我们建议使用硬件定时器,例如通用定时器 (GPT),以获得更精确的计时。 顺祝商祺! 雪莉
View full article
There is a bug when using the percentage size for the image buttons. When I was drawing the UI in the GUI Guider 2.0.1 version, I found that there was a bug when using percentage sizes for the image buttons. When I set the size of the image button as a percentage, the size of the automatically generated image source will also be that percentage figure, which can cause abnormal image display. 回复: There is a bug when using the percentage size for the image buttons. Hi @Misarac  Thanks for your information. I will report it to our GUIGUIDER team. BR Harry
View full article
使用百分比大小设置图像按钮时存在一个错误。 在使用 GUI Guider 2.0.1 版本绘制用户界面时,我发现使用百分比大小的图像按钮存在一个错误。当我将图像按钮的大小设置为百分比时,自动生成的图像源的大小也将是该百分比,这可能会导致图像显示异常。 回复: There is a bug when using the percentage size for the image buttons. 嗨@Misarac 谢谢你提供的信息。 我会将此事报告给我们的GUIGUIDER团队。 BR 哈里
View full article