Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
这里有人在工作中使用智能卡吗? 我这么问是因为我很少看到相关的讨论帖,但我认为肯定有人会在他们的组织中强制使用智能卡认证。 移动设备上的智能卡 Re: Anyone on here use Smart Cards in their environment? 你好@ferio23 希望你一切都好。 智能卡广泛应用于身份验证、访问控制等领域。要开发完整的解决方案并运行智能卡,您需要合适的中间件或启用软件。如需更多指导,请参阅我们的合作伙伴目录,了解推荐的供应商和解决方案提供商。 问候, 爱德华多。
View full article
VCUコントローラは110秒間フリーズし、その後s32k312 MCUを使用すると復旧します NXPテクニカルサポートの皆様、 最近S32K312 MCUを使っているのですが、DFlashを使ってEEPROMをエミュレートしてデータ読み書きを行った際に奇妙な問題が発生しました。コントローラが時々110秒間フリーズし、その後復旧することがあります。現在、フラッシュ消去や書き込み中に何らかの理由で Fls_GetJobResult が長い間正しい状態に更新できないのではないかと疑っています(消去・書き込みのタイミングを待つために以下の方法を使っています): c do { Fls_MainFunction(); Fls_JobResult = Fls_GetJobResult(); } while (Fls_JobResult == MEMIF_JOB_PENDING); これは車載で非常に断続的に発生するため、デバッグでは例外をキャプチャできません。何か良いご提案があればお聞かせください。あるいは、フラッシュメモリの消去/書き込み処理がハングアップするという同様の問題に遭遇した方は他にいますか? ご返信をお待ちしております。 Re: VCU controller hangs for 110 seconds and then recovers when using s32k312 MCU こんにちは@昭寧 あなたが現在経験している問題と類似している可能性のある問題を発見しました。 https://community.nxp.com/t5/S32K/long-Fee-cluster-swap-times/m-p/1951280#M40791 提供された情報に基づき、問題の正確な原因はまだ特定できません。しかし、「クラスター・スワップ」について調査を始めることは可能です。
View full article
PNEV7642A Rev B ボード こんにちは、 リビジョンB評価ボードPNEV7642A購入を検討しています。しかし、この製品のリンクやページは見つからないので、このボードを購入するためのリンクを教えていただけませんか また、このボードのNFCライブラリを検索したところ、PN7462用のNFCリーダライブラリが見つかりましたが、PN7642用ではありませんでした。このライブラリは両方のターゲットをサポートしていますか? ありがとう。 開発ボード Re: PNEV7642A Rev B board ボードは: OM27642:PN7642 セキュアコンパクトNFCコントローラ(プログラム可能メモリ付き)および暗号加速エモリーおよび暗号加速の開発キット |NXP Semiconductors PN7642 SDKはこちらからダウンロードできます: 統合MCUを備えたクラス最高のNFCフロントエンド |NXP Semiconductors Re: PNEV7642A Rev B board @jimmychan ご返信ありがとうございます。 この開発キット(OM27642EVK)で使えるデバッガを教えてもらえますか? MCU-Link Debug ProbeやPEmicroのMultilink Universalをプログラマー/デバッガーとして使えますか? MCU-Linkはこのリンクでpn7642をサポートされているICとして記載していませんのでご注意ください MCUリンク ありがとうございます。
View full article
imx8mmevk ov5640 mediactl Hi, i try to use mediactl on : Linux imx8mmevk 6.6.52-lts-next-g90192c5d29cb #1 SMP PREEMPT Tue Jul 8 12:00:06 UTC 2025 aarch64 GNU/Linux with a mipe cam ov5640. i can use the camera with gstreamer and pipewire but i cant use mediactl. here the dmseg log: dmesg | grep ov5640_mipi [ 0.059215] platform 32e30000.mipi_csi: Fixed dependency cycle(s) with /soc@0/bus@30800000/i2c@30a40000/ov5640_mipi@3c [ 2.409821] ov5640_mipi 2-003c: No sensor reset pin available [ 2.415630] ov5640_mipi 2-003c: supply DOVDD not found, using dummy regulator [ 2.422901] ov5640_mipi 2-003c: supply DVDD not found, using dummy regulator [ 2.429995] ov5640_mipi 2-003c: supply AVDD not found, using dummy regulator [ 2.446514] ov5640_mipi 2-003c: Read reg error: reg=300a [ 2.451845] ov5640_mipi 2-003c: Camera is not found and the mediactl output : media-ctl -p Failed to enumerate /dev/media0 (-2) Can you help me to use mediactl on device Thx a lot Re: imx8mmevk ov5640 mediactl Hi, It's interesting that you mentioned the camera works with GStreamer and PipeWire despite these errors. ov5640_mipi 2-003c: Read reg error: reg=300a ov5640_mipi 2-003c: Camera is not found Normally, if the sensor driver fails to probe, the corresponding V4L2 subdevice is not registered successfully, and the expected camera pipeline should not be fully available. Based on your logs, the first thing I would investigate is whether the OV5640 sensor driver is actually probing successfully, and that you are using the same camera device for both cases.  If that's not the issue, have you verified that the Media Controller interface is enabled and supported? The error Failed to enumerate /dev/media0 (-2) indicates that /dev/media0 cannot be found. Media Controller device availability depends on the kernel configuration and driver implementation.  For more specific help, please share: - The GStreamer pipeline that successfully captures video. - The relevant OV5640 device tree configuration. - Whether you are using the NXP BSP camera driver or a modified/custom implementation. Best regards, Carolina Trejos Embedded SW Engineer at RidgeRun Re: imx8mmevk ov5640 mediactl Hi ,  I use this pipeline with the nxp bsp driver:  root@imx8mmevk:~# gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw,format=YUY2,width=1280,height=720,framerate=30/1 ! vpuenc_h264 ! h264parse ! rtph264pay pt=96 config-interval=1 ! udpsink host=10.49.24.30 port=5000 sync=false root@imx8mmevk:~# dmesg | grep ov5640_mipi [ 0.059279] platform 32e30000.mipi_csi: Fixed dependency cycle(s) with /soc@0/bus@30800000/i2c@30a40000/ov5640_mipi@3c [ 2.405481] ov5640_mipi 2-003c: No sensor reset pin available [ 2.411300] ov5640_mipi 2-003c: supply DOVDD not found, using dummy regulator [ 2.418588] ov5640_mipi 2-003c: supply DVDD not found, using dummy regulator [ 2.425685] ov5640_mipi 2-003c: supply AVDD not found, using dummy regulator [ 3.057823] mxc_mipi-csi 32e30000.mipi_csi: Registered sensor subdevice: ov5640_mipi 2-003c [ 3.067382] ov5640_mipi 2-003c: Camera is found Ok the error msg are disappear !!!! dtsi : ov5640_mipi: ov5640_mipi@3c { compatible = "ovti,ov5640_mipi"; reg = <0x3c>; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_csi_pwn>, <&pinctrl_csi_rst>; clocks = <&clk IMX8MM_CLK_CLKO1>; clock-names = "csi_mclk"; assigned-clocks = <&clk IMX8MM_CLK_CLKO1>; assigned-clock-parents = <&clk IMX8MM_CLK_24M>; assigned-clock-rates = <24000000>; csi_id = <0>; pwn-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; mclk = <24000000>; mclk_source = <0>; port { ov5640_mipi1_ep: endpoint { remote-endpoint = <&mipi1_sensor_ep>; }; }; }; }; media-ctl -p Failed to enumerate /dev/media0 (-2) Thx for help Re: imx8mmevk ov5640 mediactl Hello @Thierry49_49  Hope you are doing very well. The sensor is on I2C bus 2 at address 0x3c, according to the log. With streaming stopped, check: i2cdetect -y 2 i2ctransfer -y 2 w2@0x3c 0x30 0x0a r1 i2ctransfer -y 2 w2@0x3c 0x30 0x0b r1 It should log the expected chip ID. Also, confirm your active driver with: v4l2-ctl --list-devices readlink -f /sys/class/video4linux/video0/device/driver dmesg | grep -Ei 'mxc_md|mx8-img-md|imx7-csi|mxc_mipi|mx6s' If the output only shows mxc_mipi-csi and mx6s_capture, then media-ctl cannot be used with this capture path. Best regards, Salas. Re: imx8mmevk ov5640 mediactl Hello ~@Manuel_Salas Thx i am ok and you? Here the commands output : i2cdetect -y 2 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: 20 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- root@imx8mmevk:~# i2ctransfer -y 2 w2@0x3c 0x30 0x0a r1 Error: Sending messages failed: No such device or address root@imx8mmevk:~# i2ctransfer -y 2 w2@0x3c 0x30 0x0b r1 Error: Sending messages failed: No such device or address root@imx8mmevk:~# root@imx8mmevk:~# root@imx8mmevk:~# v4l2-ctl --list-devices i.MX6S_CSI (platform:32e20000.csi1_bridge): /dev/video0 vsi_v4l2dec (platform:vsi_v4l2dec): /dev/video2 vsi_v4l2enc (platform:vsi_v4l2enc): /dev/video1 root@imx8mmevk:~# readlink -f /sys/class/video4linux/video0/device/driver /sys/bus/platform/drivers/mx6s-csi root@imx8mmevk:~# dmesg | grep -Ei 'mxc_md|mx8-img-md|imx7-csi|mxc_mipi|mx6s' [ 1.820962] mx6s-csi 32e20000.csi1_bridge: initialising [ 1.827181] mxc_mipi-csi 32e30000.mipi_csi: supply mipi-phy not found, using dummy regulator [ 1.835931] mxc_mipi-csi 32e30000.mipi_csi: mipi csi v4l2 device registered [ 1.842911] CSI: Registered sensor subdevice: mxc_mipi-csi.0 [ 1.848595] mxc_mipi-csi 32e30000.mipi_csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 333000000 Thx for help Thierry
View full article
i.MX7D UART5をI2C4を使用してDTEモードで使用 こんにちは。 これはオリジナルのi.MX7Dボードです。 2線式UART5回路はI2C4ポートを使用します。 このUART5はDTEモードです。 CCM、IOMUXCポート、IOMUXC DAISY設定、およびUART5を設定しています。 CCM_TARGET_ROOTn=0x10000000 CCM_CCGRn=0x3 IOMUXC_SW_MUX_CTL_PAD_I2C4_SCL=1 IOMUXC_SW_MUX_CTL_PAD_I2C4_SDA=1 IOMUXC_UART5_RX_DATA_SELECT_INPUT=1 UART5_UCR1=1 UART5_UCR2=0x7027 UART5_UCR3=0x784 UART5_UCR4=0x8000 UART5_UFCR=0x240 UART5_UBIR=0xF UART5_UBMR=0x271 1文字送信後、UART5_UTSは0x20のままです(0x60から変更されています)。 UART5_UTSが0x60に戻らない理由がわかりません。 よろしくお願いいたします。 Re: i.MX7D UART5 in DTE mode using I2C4 ネタバレ (ハイライトして読む)     こんにちは。AldoGです。 私が送信した情報の一部に誤りがありました。 UART5_CLK_ROOT(0x30380b18)=0x10000000 正しいバージョンは以下のとおりです。 UART5_CLK_ROOT(0x3038b180)=0x10000000 よろしくお願いいたします。 Re: i.MX7D UART5 in DTE mode using I2C4 こんにちは。AldoGです。 起動時になぜかIPG_CLK_ROOT(0x30389080)が0x1に設定されていたので、0x0に変更しました。 UART5_CLK_ROOT(0x30380b18)=0x10000000 UART5_CCM_CCGR=CCM_CCGR152(0x30384980)=0x3 このように設定されています。 使用するピンをI2C4からSAI1に変更してみましたが、うまくいきませんでした。 USR2内のTXDCにチェック対象のレジスタを設定しました。 よろしくお願いいたします。 Re: i.MX7D UART5 in DTE mode using I2C4 こんにちは、 i.MX7D UARTステータスレジスタの場合、UTS[6]はTX FIFOが空であることを示す値であり、UTS[5]はRX FIFOが空であることを示す値です。したがって、0x60は両方のFIFOが空であることを示し、0x20はRX FIFOは空だがTX FIFOはまだ空ではないことを示します。したがって、キャラクターを書いた直後にすぐに見0x20を見ることは予想できます。 UTS[6]はFIFO状態のみを反映しています。文字の送信が完全に完了したかどうかを判断する必要がある場合は、送信FIFOとシフトレジスタが空であることを示すUSR2[TXDC]を確認してください。 この2線式構成の場合、以下の点も確認してください。 ハードウェアCTS/RTSフロー制御は無効になっています。対応する信号がコネクテッドでない状態でCTS/RTSを有効にすると、送信が妨げられることがあります。 UART5の機能クロックとIPGクロックの両方が有効になっており、UBIR/UBMR値は実際のUART5クロック周波数を使用して計算されます。 DTEピンのマッピングはi.MX7Dリファレンスマニュアルと照合されています。DTEモードでは見かけのRX/TXピンの方向が変わるため、信号名が混乱しやすいことがあります。 I2C4ペリフェラルも有効化されておらず、同じパッドを駆動していません。 UART5のTXピンは、オシロスコープまたはロジックアナライザでプローブされます。有効な波形が存在する場合、0x20という読み取り値はステータスサンプリングの問題である可能性が高いです。波形が表示されない場合は、まずクロック、フロー制御、およびピン多重化の設定を確認してください。 i.MX 7Dualリファレンスマニュアル(IMX7DRM)、特にUARTとIOMUXのセクションを参照してください。NXPのiMX7 UARTピン設定およびi.MX7 IPG_CLK_ROOTとUARTのクロックに関する説明も参考になるかもしれません。 よろしくお願いいたします。 アルド。 Re: i.MX7D UART5 in DTE mode using I2C4 こんにちは、 TXDCは、TX FIFOとシフトレジスタが空であることを示します。文字送信後にUSR2[TXDC]が1になるかどうか確認してください。値が0のままの場合は、送信前後のUTS、USR1、USR2の値と、UART5のTXピン波形も併せて取得してください。 2線式構成の場合は、ハードウェアCTS/RTSフロー制御が無効になっていることも確認してください。対応する信号が接続されていない状態でCTS/RTSを有効にしている場合、トランスミッタはブロックされたままになることがあります。また、選択したパッドを駆動しているI2C4やSAI1ペリフェラルが有効でないかも確認してください。 よろしくお願いいたします。 アルド。 Re: i.MX7D UART5 in DTE mode using I2C4 こんにちは、AldoGさん。 DTEモードによる混乱を避けるため、基板の配線を変更してDCEモードに設定しました。 U-Bootでの初期化後、IOMUXCのプルアップ/プルダウン設定を切り替えながら、オシロスコープを使用してピン電圧レベルを監視しました。 入力ピンはこれらの設定変更に正しく反応しました。 次に、UART5_UFCRレジスタのDTEビットを設定してテストを繰り返したところ、入力ピンは再び設定変更に正しく反応しました。 出力ピンはDCE/DTE構成に応じてスイッチし、いずれの場合も電圧レベルは「1」となります。 したがって、PADの設定は正しい。 UART5_UCR2レジスタのIRTSビットが「1」に設定されているため、RTS信号は無視する必要があります。 この問題を解決するために次に何を調査すべきか、具体的かつ詳細なサポートをいただけませんか? よろしくお願いいたします。 Re: i.MX7D UART5 in DTE mode using I2C4 こんにちは、AldoGさん。 問題は解決しました。 2線式DCEモードから3線式DTEモードに切り替えました。 使用されるピンは、I2C3_SCL、I2C4_SCL、およびI2C4_SDAです。 クロックはCCMを通じて「/arch/arm/mach-imx/mx7/clock.c'で設定されます。`init_clk_uart()` 関数内。 ピン配置は以下のとおりです。 static iomux_v3_cfg_t const uart5_pads[] = { MX7D_PAD_I2C3_SCL__UART5_DTE_RTS | MUX_PAD_CTRL(UART_PAD_CTRL) MX7D_PAD_I2C4_SCL__UART5_DTE_TX | MUX_PAD_CTRL(UART_PAD_CTRL) MX7D_PAD_I2C4_SDA__UART5_DTE_RX | MUX_PAD_CTRL(UART_PAD_CTRL) }; imx_iomux_v3_setup_multiple_pads(uart5_pads, ARRAY_SIZE(uart5_pads)); writel(readl(0x30330158) | 0x10, 0x30330158); writel(readl(0x30330160) | 0x10, 0x30330160); writel(readl(0x30330164) | 0x10, 0x30330164); writel(0, 0x30330710); writel(0, 0x30330714); 次に、`serial_mx.c` を使用してシリアル初期化とボーレート設定を行います。参考として。 ただし、UCR2レジスタは次のように構成されます。writel(UCR2_WS | UCR2_TXEN | UCR2_RXEN | UCR2_SRST, &base->cr2); これはうまくいった。
View full article
SR150的上升时间和下降时间要求 各位同事好, 我们的设计中使用了基于 SR150 的 Murata UWB 模块 LBUA0VG2BP-741 和 STM32N657 MCU。我们从MCU端设置了最高的驱动强度(“非常高速”)。我们低于时钟信号和数据信号的上升时间和下降时间。 时钟(20% 至 80%) 根据要求,上升时间为 2.15ns,下降时间为 2ns。 我们得到的结果如下。 1. 上升时间:3.584纳秒 2. 下降时间:4.937ns 数据(20% 至 80%) 根据要求,上升时间为 0.6ns,下降时间为 0.55ns。 我们得到的结果如下。 1. 上升时间:3.509纳秒 2. 下落时间:4.38纳秒  是否有办法配置UWB模块的时钟和数据引脚,以实现所需的上升时间和下降时间? 请问这种上升时间和下降时间是否会影响通信? 我附上了波形图供您参考。 非常感谢您的快速回复。 谢谢! Re: Rise time and Fall time requirement for SR150 SR150 GPIO 的上拉/下拉状态是在制造阶段配置的。 SR150 的默认设置写入 OTP 内存。可以覆盖状态 通过固件。仅当 SR150 加载固件后才可用。您可能需要联系专用的现场应用工程师 (FAE) 获取详细信息。 Re: Rise time and Fall time requirement for SR150 各位同事好, 不。在我们的设计中,MCU 是 SPI 主设备并生成 SPI 时钟,而 SR150 则作为 SPI 从设备运行。我们想了解SR150作为从设备运行时,是否存在因时序问题而错误采样SPI数据的可能性。 另外,SR150引脚是否可以配置为内部上拉?   谢谢。 Re: Rise time and Fall time requirement for SR150 SR150 支持 SPI 总线主/从接口,最高传输速率可达 16.66 Mbits/s。 您说的时钟速度控制是指用 SR150 控制 SPI 总线时钟吗? Re: Rise time and Fall time requirement for SR150 各位同事好, 我们想了解SR150作为从设备运行时,是否存在因时序问题而错误采样SPI数据的可能性。 谢谢! Re: Rise time and Fall time requirement for SR150 你好, 希望你一切都好。很抱歉给您带来不便,但由于这些产品的信息受保密协议(NDA)约束,因此这些信息不对外公开。 很抱歉给您带来不便,但由于您的问题涉及我们Trimension UWB 合作伙伴的某个模块/套件,您需要直接与他们联系才能获得该模块/套件的支持。 所有支持都应直接来自 UWB 合作伙伴,在本例中即来自 Murata。 文档和软件由相应的UWB模块合作伙伴分发。 选择模块,您将被引导至我们合作伙伴的页面,您可以在其中访问数据手册、应用笔记和所需的使能软件。 再次为给您带来的不便表示歉意。 顺祝商祺! 里卡多
View full article
SR150の立ち上がり時間と立ち下がり時間の要件 こんにちは、チームの皆さん、 私たちはSR150ベースの村田UWBモジュールLBUA0VG2BP-741とSTM32N657 MCUを設計に使用しています。MCU側からは最高ドライブ強度(「Very High Speed」)を設定しています。クロック信号とデータ信号の立ち上がり時間と立ち下がり時間よりも短い時間で動作しています。 時計の場合(20%~80%) 要求仕様:立ち上がり時間:2.15ns、立ち下がり時間:2ns 以下のように取得しています 1. 立ち上がり時間:3.584ns 2. 落下時間:4.937ナノ秒 データの場合(20%~80%) 要求仕様:立ち上がり時間:0.6ns、立ち下がり時間:0.55ns 以下のように取得しています 1. 立ち上がり時間:3.509ns 2. 落下時間:4.38ナノ秒 UWBモジュールのクロックピンとデータピンを設定して、必要な立ち上がり時間と立ち下がり時間を実現する方法はありますか? この上昇と下降のタイミングがコミュニケーションに影響を与えるかどうか、ご案内いただけますか? 参考のために波形を添付しました。 迅速なご対応に大変感謝いたします。 よろしくお願いします。 Re: Rise time and Fall time requirement for SR150 SR150 GPIOのプルアップ/プルダウン状態は製造段階で設定されます。 SR150の場合、デフォルト設定はOTPメモリに書き込まれます。オーバーライド状態が可能 ファームウェアによって。これは、SR150にファームウェアがロードされている場合にのみ利用可能です。詳細については、専任のFAEにお問い合わせする必要があるかもしれません Re: Rise time and Fall time requirement for SR150 こんにちは、チームの皆さん、 いいえ。私たちの設計では、MCUがSPIマスターとしてSPIクロックを生成し、SR150はSPIスレーブとして動作します。SR150がスレーブデバイスとして動作している際に、タイミングの問題でSPIデータのサンプリングが正しく行われない可能性はあるのかどうかを知りたいです。 また、SR150のピンを内部プルアップなどの設定で構成することは可能でしょうか?   よろしくお願いします。 Re: Rise time and Fall time requirement for SR150 SR150は最大16.66 Mbits/sのSPI-バス・マスタ/スレーブインターフェースをサポートしています クロック速度制御とは、SR150を使ってSPIバスのクロックを制御するという意味でしょうか? Re: Rise time and Fall time requirement for SR150 こんにちは、 あなたの調子が良いといいのですが。ご不便をおかけして申し訳ありませんが、これらの製品の情報はNDA(秘密保持契約)に基づいており、公開されていません。 ご不便をおかけして申し訳ありませんが、ご質問はトリ メンションのUWBパートナーからのモジュール/キットに関するものなので、サポートを受けるには直接その会社に相談する必要があります。 すべてのサポートはUWBパートナー、今回は村田氏から直接提供すべきです。 ドキュメントとソフトウェアは、対応するUWBモジュール・パートナーから配布されています。 モジュールを選択すると、パートナーのページに移動し、データシート、アプリケーション・ノート、必要なソフトウェアにアクセスできます。 ご迷惑をおかけして、重ねてお詫び申し上げます。 よろしくお願いいたします。 リカルド Re: Rise time and Fall time requirement for SR150 こんにちは、チームの皆さん、 SR150がスレーブデバイスとして動作している際に、タイミングの問題でSPIデータのサンプリングが正しく行われない可能性はあるのかどうかを知りたいです。 よろしくお願いします。
View full article
Rise time and Fall time requirement for SR150 Hello Team, We are using SR150 based Murata UWB module LBUA0VG2BP-741 with STM32N657 MCU in our design. We have set highest drive strength ("Very High Speed") from MCU side. We are below rise time and fall time with clock and data signals. For Clock (20% to 80%) As per requirement rise time : 2.15ns and fall time : 2ns We are getting as per below  1. Rise time : 3.584ns  2. fall time : 4.937ns For Data  (20% to 80%) As per requirement rise time : 0.6ns and fall time : 0.55ns We are getting as per below  1. Rise time : 3.509ns  2. fall time : 4.38ns  Is there any way to configure UWB module clock and data pins to achieve the required rise time and fall time?  Could you please guide us if this rise time and fall time will impact communication or not? I have attached waveform for reference. Your quick response is highly appreciated. Thanks Re: Rise time and Fall time requirement for SR150 The SR150 GPIOs pullup/pulldown state are configured during the manufacturing phase of SR150, the defaults setting are written in OTP memory. An override state is possible by the firmware. Which only available when firmware is loaded in SR150. You may need to contact with dedicated FAE for detailed information Re: Rise time and Fall time requirement for SR150 Hello Team, No. In our design, the MCU is the SPI master and generates the SPI clock, while the SR150 operates as the SPI slave. We would like to understand whether there is any possibility of the SR150 incorrectly sampling SPI data due to timing, while operating as a slave device.  Also, is there any possibility to configure SR150 pins such as internal pull up?   Thanks.  Re: Rise time and Fall time requirement for SR150 The SR150 supports SPI-bus Master/Slave interface, up to 16.66 Mbits/s For clock speed control, do you mean control the SPI bus clock with SR150? Re: Rise time and Fall time requirement for SR150 Hello Team, We would like to understand whether there is any possibility of the SR150 incorrectly sampling SPI data due to timing, while operating as a slave device.  Thanks Re: Rise time and Fall time requirement for SR150 Hello, Hope you are doing well. Sorry for the inconvenience this might cause you but as the information of these products it's under NDA (Non-Disclosure Agreement) the information it's not public. I apologize for the inconveniences, but as your question is about a Module/Kit from one of our Trimension UWB Partners, you would need to go directly with them to receive support for their Module/Kit. All the support should come directly from the UWB Partner, in this case from Murata. The documentation and software is distributed by the corresponding UWB Module partner. By selecting a module, you will be guided to our partner’s page where you can access datasheets, application notes, and the required enablement software.   I apologize again for the inconveniences. Best Regards, Ricardo
View full article
このフォーラムでスマートカードを使っている方はいらっしゃいますか? この件についてのThreadはあまり見かけませんが、組織内でスマートカード認証を強制している人はいるはずだと思います。 モバイルのスマートカード Re: Anyone on here use Smart Cards in their environment? こんにちは、@ferio23さん あなたの調子が良いといいのですが。 スマートカードは認証やアクセス制御などのアプリケーションで広く使われています。完全なソリューションを開発しスマートカードを運用するには、適切なミドルウェアやイネーブルメントソフトウェアが必要です。追加のガイダンスについては、 推奨ベンダーやソリューションプロバイダーについては パートナー一覧 をご参照ください。 よろしくお願いいたします。 エドゥアルド。
View full article
Zephyr GUI Development with GUI Guider In recent years, Zephyr has gained strong momentum in embedded development. With broad hardware support, an active open-source ecosystem, and flexible extensibility, it is increasingly being used in consumer electronics, IoT devices, and industrial control systems. At the same time, as embedded products place higher demands on graphical user interfaces, developers are looking for more efficient ways to design GUIs and deploy them quickly on Zephyr-based platforms. This article uses GUI Guider 2.0.1, the i.MX RT1064-EVK development board, and the RK043FN66HS-CTG display as an example. It walks through the complete workflow, from UI design and Zephyr application export to project build, flashing, and runtime verification, so you can get your designed interface running on the board with confidence. Let’s start with the development environment and complete this hands-on GUI Guider and Zephyr workflow step by step. 1. Set Up and Verify the Zephyr Development Environment Before getting started, follow the Zephyr development environment setup section in the official GUI Guider User Guide. Then use an official sample to confirm that the target board can be built, flashed, and run successfully. 2. Generate and Export the Zephyr Application 1. Create a Project and Generate Code After creating an i.MX RT1064-EVK-based project in GUI Guider and completing the UI design, click Generate Code to generate the application code. 2. Export the Zephyr Application Click OS > Zephyr to export the application to the target directory in your Zephyr workspace, for example: /gui_guider_demo 3. Check the Exported Files After the export is complete, the application directory should contain the following files and folders: gui_guider_demo/ ├── CMakeLists.txt ├── prj.conf └── src/     ├── main.c     ├── custom/     └── generated/ CMakeLists.txt: defines the Zephyr application build entry point and specifies the source files to compile. prj.conf: configures options such as LVGL, memory, and thread stack settings. src/main.c: the application entry file, responsible for initializing the UI and starting the application logic. src/custom/: stores custom business logic to avoid being overwritten when code is regenerated. src/generated/: stores UI code automatically generated by GUI Guider. Direct modification is not recommended. 3. Build and Flash the Zephyr Application Open a terminal, go to the root directory of the exported Zephyr application, and run the following commands: west build -p always -b mimxrt1064_evk --shield rk043fn66hs_ctg . west flash Note: The . in the command indicates the current application directory. This applies to Windows, Linux, and macOS. 4. Verify the Runtime Result Runtime verification: After flashing is complete, check that the screen displays the designed UI correctly and that touch interactions respond as expected. If these checks pass, the deployment workflow from GUI Guider to Zephyr is working properly. Common issues: No display output or abnormal UI behavior: check the serial log, display shield configuration, and display resolution settings in the GUI Guider project. Out-of-memory errors during build or runtime: increase CONFIG_LV_Z_MEM_POOL_SIZE in prj.conf as needed. Main thread stack overflow or unexpected reboot: increase CONFIG_MAIN_STACK_SIZE. After updating the configuration, rebuild and flash the application again. The exact values should be determined based on the error logs, UI complexity, and available hardware resources. 5. Establish a Repeatable UI Iteration Workflow After the first build and deployment are complete, you can iterate on future UI changes using the following workflow: Regenerate code → Export Zephyr application → Build → Flash → Verify   To prevent custom logic from being overwritten when code is regenerated, keep business logic in the custom code area. It is also recommended to put both the GUI Guider project and the exported Zephyr application under version control. Summary GUI Guider provides a complete path from UI design to Zephyr application export. Once the initial environment setup is complete, future UI updates only require repeating the generate, export, build, and verify workflow. This can significantly reduce the effort required for UI iteration and board-level deployment.
View full article
From Figma to GUI Guider: Accelerating Embedded GUI Development Bridging design and engineering to move embedded GUI projects from concept to implementation faster 1. Why a Smoother Path from Design to Embedded GUI Matters In embedded GUI projects, the interface design is often completed in Figma, while the engineering implementation still needs to be rebuilt in GUI Guider by creating widget hierarchies, configuring resources, and validating the final result. For projects with many screens or frequent design iterations, this process can be repetitive and may introduce gaps between the design intent and the implemented interface. Figma to GUI Guider offers a structured workflow that helps convert Figma designs into GUI Guider project assets. It maps Figma layers and components to LVGL widgets, generates GUI Guider project JSON, and exports a project package that can be imported into GUI Guider. The converted result provides a practical engineering starting point, while developers can continue editing, simulating, and validating the project in GUI Guider. Positioning This plugin is designed to shorten the initial conversion path from design handoff to engineering implementation. Figma designs should be treated as implementation references, rather than a complete guarantee of embedded runtime behavior. Actual projects still need to be adapted and validated against the resource constraints and rendering capabilities of the target platform. 2. How the Plugin Connects Design and Engineering Capability Description Read the Figma design tree Displays the Figma Design Tree in the plugin panel, helping developers review the node hierarchy of the design. Configure LVGL type mapping Sets the appropriate LVGL widget type for each design node and controls whether the node is included in conversion. Generate GUI Guider project JSON After conversion, previews the generated GUI Guider project JSON in the output area. Export the project package Exports a zip package via Download, including the converted project files and related image resources. Import into GUI Guider After extracting the exported package, import the .guiguider file in GUI Guider through Import Project and continue development. 3. Quick Start: Running the Plugin in Figma The Figma to GUI Guider plugin is available on Figma Community and can be launched directly from the Figma desktop app or browser version, without manually downloading a plugin package. The current release supports Windows. Open the Figma desktop app or browser version and sign in to your Figma account. Go to the Figma to GUI Guider plugin page, or search for the plugin name in Figma Community. On the plugin page, click Open in… to run it directly, or save it to your account for future use. Open the target design file and launch the plugin from the Plugins menu. You can also right-click on the canvas and run it from the Plugins menu. 4. Understanding the Plugin Interface After the plugin is launched, it appears as a panel inside the Figma workspace. For first-time users, we recommend becoming familiar with the key areas of the interface before configuring mappings and running the conversion. Figma Design Tree: Shows the layer and component hierarchy of the current design file. Each node can be configured with an LVGL type and conversion status. Design Node: Displays the node name and Figma type, and uses the LVGL Type Selector to define the widget type after conversion. Refresh / Convert: Refresh reloads the current Figma file structure, while Convert generates the output based on the current mapping configuration. About: Provides plugin information, version details, support contacts, and reference links. GUI Guider Project JSON: Shows the generated project JSON after conversion, making it easy to quickly review the structure. Clear / Copy / Download: Clears the output, copies the JSON, or exports the project zip package and image resources. 5. Recommended Workflow: Review Mapping Before Generating the Project When the plugin is opened for the first time, it generates an initial mapping based on the Figma nodes. Instead of converting immediately, reviewing and adjusting the node mappings first usually produces a project structure that better matches engineering expectations. 1 Review the automatic mapping Browse the design tree and confirm that text, buttons, images, and other nodes are assigned appropriate LVGL widget types. 2 Adjust widget types If the automatic mapping does not meet expectations, update the node type through the Type Selector. Mapping settings are saved in the Figma project. 3 Control the conversion scope Use Disable in Conversion for nodes that should not be included in the output. Disabled nodes will not appear in the generated JSON, while their child hierarchy is preserved. 4 Run Convert After configuration is complete, click Convert to generate the GUI Guider project JSON and review the result in the output area. 6. Generate the Project and Import It into GUI Guider After conversion is complete, first review the structure in the GUI Guider Project JSON area. If the node type, hierarchy, or disabled status does not match expectations, return to the design tree, adjust the mapping, and run Convert again. Once the result is confirmed, click Download to export the zip package. The exported package includes the converted project files and related image resources. Extract the zip file, open GUI Guider, select Import Project on the home page, and choose the .guiguider file from the extracted folder to complete the import. If the design uses custom fonts, copy the font files to the resources/font folder in the project directory. After import, developers can continue editing the interface in GUI Guider and validate the project using the JS simulator, the C simulator, or the target platform. 7. Use Cases and Best Practices This plugin is especially useful for teams that already have Figma designs and want to quickly create a GUI Guider project starting point. It can support projects with clear page structures, frequent design iterations, or a need to reduce repetitive communication between design handoff and embedded GUI development. Keep the design structure close to the widget hierarchy: The closer the Figma layer structure is to the parent-child relationship of LVGL widgets, the easier the converted result is to understand and maintain. Treat the converted result as an engineering starting point: The plugin helps reduce initial setup work, but resources, fonts, rendering capabilities, and runtime behavior still need to be validated on the embedded platform. Keep the import environment clean if import fails: If the project cannot be imported successfully into GUI Guider, remove the previously imported design project and retry from a clean state. 8. Summary: Bringing Design into the Engineering Workflow Faster The Figma to GUI Guider plugin provides a more direct connection between Figma designs and GUI Guider projects. Through design tree parsing, LVGL type mapping, node-level conversion control, JSON preview, and project package export, developers can bring existing design assets into the GUI Guider workflow faster, then continue with engineering edits, simulation, and target-platform validation. For teams that already use Figma for interface design, this plugin helps reduce repetitive interface-building work and enables smoother collaboration between design handoff and embedded GUI development. Search for Figma to GUI Guider in Figma Community to try the plugin, then use GUI Guider to continue editing, simulation, and target-platform validation. We welcome your questions, suggestions, and practical feedback as we continue improving the workflow from design to embedded GUI implementation.
View full article
Using the I8 Image Format within GUI Guider Reducing image resource usage in embedded GUI applications When developing embedded GUIs, many projects encounter a familiar challenge: image resources begin consuming a significant amount of Flash before the interface becomes complex. Icons, buttons, status indicators, logos, and other assets may seem small individually, but their cumulative footprint can reduce the space available for future features. I8 (Indexed 8-bit) is an effective option for reducing image storage while preserving acceptable visual quality. This guide explains the fundamentals of I8, its suitable use cases, and practical recommendations for using it in GUI Guider projects. 1. Why Use the I8 Image Format? In MCU-based projects, image resources often occupy a large portion of Flash. For assets with a limited number of colors, such as icons, status images, logos, and industrial HMI elements, I8 can reduce storage usage while preserving the essential visual appearance. I8 stores an image using a pixel-index and color-palette mechanism. Each pixel stores a one-byte index, which maps to an actual color in the palette. This makes I8 especially suitable for UI assets with concentrated color sets, clear boundaries, and highly graphical content. Storage Comparison of Common Image Formats Image Format Typical Storage per Pixel Suitable Use Cases RGB888 3 bytes Images with rich colors and high color-fidelity requirements RGB565 2 bytes Common MCU displays balancing visual quality and resource usage ARGB8888 4 bytes Images requiring an alpha channel and high-quality rendering I8 1 byte + palette Icons, logos, and HMI elements with a limited color set 2. What Is an I8 Image? I8 stands for Indexed 8-bit. Instead of storing complete color information in every pixel, an I8 image stores an 8-bit index that points to a color in a palette. Because an 8-bit value represents up to 256 indices, an I8 image supports a maximum of 256 colors. This format is well suited to UI assets with limited colors, sharp boundaries, and graphic-style content. Key Advantages Smaller image files and lower Flash consumption. Lightweight resource loading for memory-constrained MCUs. Well suited to icons, industrial HMI elements, status images, and logos. More flexible UI resource management when combined with the LVGL 9.4 image display mechanism. Limitations Supports no more than 256 colors. Not suitable for photographs, video frames, product renderings, or other color-rich assets. Images with excessive colors may show banding, color distortion, or unnatural transitions after conversion. 3. Recommended Workflow in GUI Guider Step 1: Prepare the Image Resources Prefer PNG assets with a limited number of colors. Before importing an image, check whether it contains excessive gradients or photographic content. Step 2: Import Images into GUI Guider Add the image resources through Resource Manager and select an appropriate color format based on the display requirements of the project. Step 3: Select the I8 Color Format Convert suitable resources to I8 and preview the visual result in GUI Guider. Step 4: Validate in the Simulator Use GUI Guider Simulator to check color rendering, transparent regions, edge transitions, and the overall appearance of the page. Step 5: Generate Code and Validate on the Target After confirming that the result meets the requirements, generate the code and verify the application on the target development board. 4. Resource Usage Comparison: I8 vs. RGB565 The following theoretical estimates illustrate the resource usage of different formats. Actual size depends on image content, palette size, compression, and project configuration. Test Resource Image Format Theoretical Data Size 128 × 128 icon RGB565 Approximately 32 KB 128 × 128 icon ARGB8888 Approximately 64 KB 128 × 128 icon I8 Approximately 16 KB + palette From a resource-budget perspective, I8 reduces image storage when the color count can be controlled. The cumulative savings become more significant in HMI projects that contain many icons and status images. 5. Important Considerations When Using I8 1. Prefer Images with Fewer Than 256 Colors The core limitation of I8 is the palette size, so images with fewer colors are the best candidates. 2. Always Check the Visual Result After Conversion Even when an image contains relatively few colors, verify the result both in GUI Guider Simulator and on the target hardware. 3. Pay Attention to Transparency and Edge Transitions For images with transparent or anti-aliased edges, check for jagged borders, artifacts, or unnatural colors after conversion. 4. Do Not Convert Every Image Blindly I8 is an optimization technique, not the default choice for every asset. Complex backgrounds and photographic resources should continue to use a more appropriate color format. 6. Project Practice Recommendations In the GUI Guider Air Conditioner and Agriculture Control templates, selected images use I8 to save storage space and enable deployment on the FRDM-MCXN236 development board. Set suitable icons and status images to the I8 format. Compare the visual quality and resource size before and after conversion. After code generation, confirm that generated resources use the expected image format. Validate visual quality, refresh performance, and memory usage on the target platform. Example 1: Air Conditioner The Air Conditioner application template contains many animations and small icons. The comparison below shows ARGB8888 and I8 results. While maintaining image quality, I8 saves approximately 950 KB, allowing the application to run on the FRDM-MCXN236 development board. Figure 1. Air Conditioner comparison: I8 (left) and ARGB8888 (right). Example 2: Agriculture Control In the Agriculture Control application template, using I8 saves approximately 16.5 KB of storage. Figure 2. Agriculture Control comparison: I8 (left) and ARGB8888 (right). Conclusion For small and medium-sized HMI projects on platforms such as MCX and i.MX RT, I8 is a practical method for optimizing image resources. It is particularly useful when a project contains many icons, status indicators, menu graphics, and decorative elements. Applied selectively and validated carefully, I8 can release more Flash space while maintaining an appropriate visual experience.
View full article
[建议] 端口外设引脚列表中应显示引脚名称 向端口外设添加引脚时,最终会得到一个很长的 PortPin 和 UnTouchedPortPin 列表。 列表从 0 开始编号,没有名称标识,因此如果您需要更改某个特定引脚的设置,则必须点击浏览整个列表才能找到它。 当然,现在您可以使用一些外部工具创建一个列表,将 ID 映射到引脚名称/功能,但如果能在实际工具中立即看到这些信息,那就更好了。 我的建议: 在“端口”外围设备 PortPin 和 UntouchedPortPin 列表中,除了 ID 之外,还会显示引脚的名称。名称可以从 PortPin 设置中获取,也可以从 Pin 标签中获取,如果您想进一步自动化整个过程的话。 这种改进也可以应用于目前只显示 ID 的其他列表,例如 PortContainer、DioPort、DioChannels 等。 Eclipse IDE 使用和设置 概述 Re: [suggestion] Pin names should be shown in Port peripheral PortPin list 嗨@daniel_meier 我明白你的意思,仅根据 PortPin 和 UnTouchedPortPin 列表很难确定具体的引脚。谢谢你的建议。我会将您的反馈意见转达给我们的软件团队,以便他们评估是否可以在未来的版本中进行改进。 关于修改特定引脚配置,在最新的 RTD 版本中,应该通过引脚工具而不是外设工具来完成。事实上,大多数与引脚相关的配置已无法通过外设工具进行编辑,必须直接在引脚工具中进行配置。 BR,VaneB Re: [suggestion] Pin names should be shown in Port peripheral PortPin list @VaneB谢谢你的回复。 所以这就解释了为什么我几乎无法在那里更改任何内容(只有“锁定寄存器”和“模式可更改”)。 那是不是意味着,除非我需要上述选项,否则我不需要对 PortContainer 部分进行任何设置? 问题是,始终至少有一个 PortPin 默认设置为 PCR 0,并且无法将其移除。 我使用的是 S32K1 RTD AUTOSAR R21-11 版本 3.0.0。QLP06 适用于 S32K116。 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 啊,我现在明白你的意思了。 是的,移除默认密码后,添加其他密码就可以正常工作了。 从您的回复中我了解到,无需向端口外设添加任何引脚,但后来我想起来一位同事在另一个主题中提到,在 RTD 的未来版本中,“引脚”工具将自动向端口外设添加引脚。
View full article
Code Warrior ver 8 Palm dev tools by metrowerks Does anyone have a good use for my old Code Warrior ver 8 dev tools by metrowerks? Both the Windows and Mac hosted with matching manual. Also have some other 3rd Palm development books in storage along with a Palm device. They need find a good home. Re: Code Warrior ver 8 Palm dev tools by metrowerks Thank you for the interest in CodeWarrior, while it may be possible to find or share older versions of CodeWarrior, CodeWarrior 8 is a legacy product that is no longer supported. The pages and content for previous versions have been kept available for historical reference only, so support for any CodeWarrior version prior to v11.1 is very limited. We apologize for any inconvenience this may cause. The currently maintained version is CodeWarrior v11.1, which supports a wide range of 8-bit devices and runs on Windows 10/11. We recommend using v11.1 going forward, You can download it here: CodeWarrior for MCUs (Eclipse IDE) v11.1 Best Regards Re: Code Warrior ver 8 Palm dev tools by metrowerks   Dear Luis, Thank you for your response. I am Raffaele Mazzarelli, Technical Repair Division Manager at AQS, an Italian company specializing in industrial electronics repair, particularly photovoltaic inverters. We are currently investigating a technical problem affecting the Santerno ES821 control board, which contains two digital signal processors: Motorola/Freescale DSP56F807PY80E Texas Instruments TMS320VC33PGE The main issue concerns the board’s lifetime operating timer, which does not retain its operating-time information correctly. We have already invested considerable time and resources in diagnosing this problem, including hardware investigations, memory analysis and tests involving both processors. Unfortunately, we have not yet determined whether the lifetime timer is managed by the Motorola DSP56F807, the Texas Instruments TMS320VC33, or through interaction between the two processors. We are particularly interested in obtaining technical support regarding: The internal non-volatile memory organization of the DSP56F807. The possibility of accessing and analyzing its firmware and stored operating parameters. The availability of CodeWarrior Development Studio for DSC 8.3 and compatible debugging tools. Any technical information that could help determine whether the Motorola processor is responsible for storing or managing the lifetime timer. I would also like to emphasize that we are willing to physically send an ES821 control board for technical examination, if NXP or a qualified technical partner can provide this service. If useful, we could also discuss providing a fully operational board for comparison with the faulty one. We would be happy to arrange shipment to an authorized technical facility, subject to prior agreement regarding the examination procedure and any associated costs. Our objective is to identify the root cause of this recurring problem and develop a reliable repair solution for industrial equipment that is still in service. Could you please advise whether NXP has a specialist, technical department or authorized partner who might be able to assist us? We would greatly appreciate your support. Best regards, Raffaele Mazzarelli Technical Repair Division Manager AQS – Italy
View full article
HB200x AUTOSAR R21-11 バージョン 0.8.0 S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_2025 がサポートしていません こんにちは、NXPさん。 HB200x AUTOSAR仕様SDKをS32 Design Studioに統合しようとしましたが、以下のエラーメッセージが表示されます。 問題点:Mc33hbはツールチェーン/IDEプロジェクトに存在しません。プロジェクトはコンパイルできません! レベル: エラー タイプ:検証 ツール:ツールチェーン/IDEプロジェクト 起源:ペリフェラル ターゲット:ツールチェーン/IDEプロジェクト:M7_0 リソース:platform.driver.mc33hb CDD_Mb33Hb.c ファイルでさえCDD_Mb33Hb.hなどは、SDKがS32 Design Studioアプリケーション(v3.6.4)にインストールされた際には追加されていませんでした。 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_ 最新のAUTOSARライブラリを使いたい場合、RTD 6.0.0以上をサポートするHB200x SDKの他バージョンはありますか? 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
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) こんにちは、ソフィアさん。 通常動作時において、PTA18、PTA19、およびPTA20をAlt6として設定する必要はなく、この設定はデバッグ目的のみに使用される、という理解でよろしいでしょうか? よろしくお願いいたします。 勝也 Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) こんにちは@Ketsuya さん 未改造のKW47-EVKは単一のデフォルトアンテナを使用しているため、通常のRF運用にはアンテナ選択RF_GPOルーティングは不要です。BOARD_LOCALIZATION_REVISION_SUPPORTは、アプリケーションがKW47-LOCルーティングやアンテナダイバーシティボードを対象としていない限り無効にすべきです。RF_GPO構成はデバッグだけでなく、ローカライゼーションや外部アンテナスイッチ制御にも使われます。 アプリケーションがPLATFORM_InitLcl()を呼び出すと、SDKは自動的にPTA18、PTA19、PTA20をAlt6(RF_GPO)として設定するため、手動設定は不要です。PLATFORM_InitLcl() が呼び出されない場合、ピンは通常の pin_mux.c の状態を維持します。設定は必要ありません。RF_GPO設定はEVKのデフォルトのRF動作には必須ではありません。 よろしくお願いします、 ソフィア。
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 SDK。 https://www.nxp.com/pages/s32-software-development-kit-for-s32k1:S32SDK-ARMK1
View full article
SDK_DelayAtLeastUs is inaccurate by 30% in IMXRT1186 M7 core Hi All, I am playing with FRDM-IMXRT1186 board where MCU has dual core M33 and M7. #iMXRT1186 I found that SDK_DelayAtLeastUs function is not that accurate. I expect the delay to be 0.5 sec(500,000 us) but the actual time is about 0.6 sec.  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(); cycles = DWT->CYCCNT - t0; In SDK_DelayAtLeastUs, count = count / 3U * 2U can be count = count / 2U to get more accurate result. But I am not sure if this modification makes sense. #elif (__CORTEX_M == 7) /* Divide value may be different in various environment to ensure delay is precise. * Every loop count includes three instructions, due to Cortex-M7 sometimes executes * two instructions in one period, through test here set divide 1.5. Other M cores use * divide 4. By the way, divide 1.5 or 4 could let the count lose precision, but it does * not matter because other instructions outside while loop is enough to fill the time. */ count = count / 3U * 2U; Thank you. Re: SDK_DelayAtLeastUs is inaccurate by 30% in IMXRT1186 M7 core Dear @ewlee , The change to count = count / 2U may improve the result in your current test environment, but we would not recommend using it as a general fix. SDK_DelayAtLeastUs() is intended to provide a loop-based “at least” delay, and its accuracy may be affected by the runtime environment.  If an accurate 500 ms interval is required, we recommend using a hardware timer, such as a General Purpose Timer (GPT), for more precise timing. Best Regards, Shelly
View full article
MCULinkプローブを使用してターゲットボードからフラッシュイメージを保存できません W10、リンクサーバー 26.9.130、MCULink FW 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に接続中、報告: 『イー(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 GUIの代わりにCLも試してみましたが、違いはありませんでした。あなたの出力と比較すると、私は以下の点でつまづいているようです。 NC:外部からサーバー起動したプローブ1コア0に接続中、報告: 『イー(42)』コアに接続できませんでした。」 これは標的ではなく、プローブに関する苦情のようです。 Re: Unable to save flash image from target board with MCULink probe 接続(物理的なケーブル接続?)に問題があるのかもしれません。 Ubuntuで使用していますが、Windows 10でも同様です。 /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) GUIを使用する場合: これがお役に立てば幸いです。 エーリッヒ Re: Unable to save flash image from target board with MCULink probe 私の自作tc2030ケーブルにはGNDdetectがコネクテッドになっていませんでした。問題を解決したので、コマンドラインまたはGUIのどちらを使ってもフラッシュメモリの読み書きができるようになりました。 Re: Unable to save flash image from target board with MCULink probe 追記:1時間ほどは問題なく動作しましたが、今は非常に不安定です。フラッシュの内容は削除できますが、消せないこともあります。時々ダンプして消去することはできますが、プログラムはできません。ダンプ、消去、プログラム、検証を試みたが、うまくいったのは一度だけで、その後は二度と成功しなかった。私は2種類の異なるtc2030ケーブル、様々な配線速度、そしてCLIとGUIの両方を試してみました。FlashLinkが成功したと表示しても、フラッシュメモリをダンプしてみると、一部のバイトが消去または書き込みされていないことがよくわかります。非常に短いケーブルが必要になるかもしれません。 Re: Unable to save flash image from target board with MCULink probe はい、MCULinkキットには10cmのCortexケーブルしかなく、そこにtc2030ケーブルを追加するとその長さの2倍以上になります。 ちなみに、LPC804のユーザーマニュアルには、ピン0.12には問題状態から回復する機能があると記載されています。この機能の使い方や使用時期について、さらに詳しい説明はありますか? Re: Unable to save flash image from target board with MCULink probe ケーブルの長さはどれくらいですか?約10cmを超えないようにしてください。 また、どのボードを使用していますか?あなた自身の/カスタムのもの?その場合、基板のコネクタやトレースに問題がある可能性があります。 お役に立てば幸いです。 エーリッヒ Re: Unable to save flash image from target board with MCULink probe 8cmの短いケーブルを使っても違いはなかった。0x7F80バイトをすべて消去して成功が報告された場合、0x7F80バイトをすべてダンプして、すべて0xFFになることを期待します。代わりにダンプはほとんどが0x00なので、Flashlinkのステータスが間違っているか、SWD信号が部分的にショートしているなどのハードウェアの問題でフラッシュの適切なダンプができない可能性があります。
View full article
Code Warrior バージョン 8 Palm 開発ツール (Metrowerks製) 私が持っている古いCode Warriorバージョン8(metrowerks製)の開発ツールを有効活用できる方はいらっしゃいますか?Windows版とMac版の両方に、対応するマニュアルが付属しています。Palmデバイス本体と、他にも数冊のPalm開発関連の書籍を保管しています。良いホームを見つける必要があります。 Re: Code Warrior ver 8 Palm dev tools by metrowerks 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   ルイス様、 ご回答ありがとうございます。 私はラファエレ・マッツァレッリ、イタリアのインダストリアル電子機器修理、特に太陽光インバーターを専門とする企業AQSの技術修理部門マネージャーです。 現在、2つのデジタル・シグナル・プロセッサを含むサンテルノES821制御基板に影響する技術的問題を調査しています。 モトローラ/フリースケールDSP56F807PY80E テキサス・インスツルメンツTMS320VC33PGE 主な問題は、ボードのライフタイムオペレーティングタイマーに関するもので、このタイマーは運転時間情報を正しく保持していません。 この問題の診断にはすでにかなりの時間とリソースを投じており、ハードウェア調査、メモリ解析、両プロセッサを対象としたテストも行っています。 残念ながら、ライフタイムタイマーがMotorola DSP56F807、Texas Instruments TMS320VC33、あるいは両プロセッサ間の連携によるものかはまだ判明していません。 特に以下の技術サポートをご希望です: DSP56F807の内部非揮発性記憶組織。 ファームウェアや動作パラメータへのアクセスと解析の可能性。 DSC 8.3 用の CodeWarrior Development Studio および互換性のあるデバッグツールが利用可能であること。 Motorolaプロセッサがライフタイムタイマーの保存や管理を担当しているかどうかを判断するのに役立つ技術情報があれば教えてください。 また、NXPや有資格の技術パートナーがこのサービスを提供できるなら、ES821制御基板を物理的に技術検査のために送付することも承知していることを強調したいと思います。 もし役立つなら、故障した基板と比較するために完全に稼働する基板の提供についても検討できます。 検査手順および関連費用に関する事前合意を条件として、認定された技術施設への発送を手配いたします。 私たちの目標は、この繰り返し発生する問題の根本原因を特定し、現在も稼働中のインダストリアル機器に対して信頼できる修理ソリューションを開発することです。 NXPには専門の技術部門、または認可されたパートナーがいるかどうか教えていただけますか? 皆さまのサポートを大変ありがたいです。 よろしくお願いします、 ラファエレ・マッツァレッリ 技術修理部門マネージャー AQS – イタリア
View full article