Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
VCU controller hangs for 110 seconds and then recovers when using s32k312 MCU Dear NXP Technical Support, We have recently been using the S32K312 MCU, and we encountered a strange issue when using DFlash to emulate EEPROM for data read/write: the controller occasionally hangs for 110 seconds and then recovers. We currently suspect that during flash erase or write, for some unknown reason, Fls_GetJobResult is unable to update to the correct status for a long time (we use the following method to wait for the erase/write status): c do { Fls_MainFunction(); Fls_JobResult = Fls_GetJobResult(); } while (Fls_JobResult == MEMIF_JOB_PENDING); Because this occurs in a vehicle and is very sporadic, we cannot capture the exception through debugging. We would like to ask whether you have any good suggestions. Or has anyone else encountered a similar issue where a flash erase/write call hangs? We look forward to your reply. Re: VCU controller hangs for 110 seconds and then recovers when using s32k312 MCU Hi@zhaoning I have found an issue that may be similar to the one you are currently experiencing. https://community.nxp.com/t5/S32K/long-Fee-cluster-swap-times/m-p/1951280#M40791 Based on the information provided, we cannot yet pinpoint the exact cause of the problem; however, you could start your investigation by looking into "Cluster Swap."
View full article
PN7642EV/C100 vs PN7642EV/C102 First question, I am planning to use PN7642EV/C102 in a new design. I would like to add PN7642EV/C100 as an alternate part since it is in stock at main stream distributors and to reduce potential long term supply chain issues. It looks to me like the only difference between these PNs is the FW version they are shipped with. If this is the case then populating PN7642EV/C100 and updating to the latest FW is equivalent to doing the same with PN7642EV/C102. Is this an accurate assumption? Second question, for this application we will be reading basic NFC tags, Google wallet and Apple wallet. I understand there are many certifications and permissions needed to read Google and Apple wallets but as far as the HW is concerned are the C100 and C102 variants capable of doing this? Re: PN7642EV/C100 vs PN7642EV/C102 Thank you for the quick response. Wrt the ECP capability, I can see from the datasheet that the PN7642 is ECP capable but my question is whether or not, from a hardware perspective, this is sufficient for apple wallet compatibility. Re: PN7642EV/C100 vs PN7642EV/C102 Hello @adamdoyle15 Hope you are doing well. PN7642 should be ECP capable. Also, as you mention, the main difference between those variants is that C102 comes out of the box with FW v3.00.  Regards, Eduardo. Re: PN7642EV/C100 vs PN7642EV/C102 Hi, ECP support is mainly done in software; there should be no distinction between HW variants. Regards, Eduardo.
View full article
PNEV7642A Rev B board hello, i am thinking of buying PNEV7642A Revision B evaluation board. but do not find any link or page for this product, please can you provide me with a link for buying this board  also when searching the NFC library for this board i did found a NFC Reader Library for PN7462 not for PN7642. does this library support both targets ?? thanks.    Development Board Re: PNEV7642A Rev B board The board is : OM27642: Development Kit for PN7642 Secure Compact NFC Controller with Programmable Memory and Crypto Accelerationemory and crypto Acceleration | NXP Semiconductors You could download the PN7642 SDK from here: Best-in-Class NFC Frontend with Integrated MCU | NXP Semiconductors Re: PNEV7642A Rev B board @jimmychan  thanks for reply, can you tell me what debugger i can use with this development kit (OM27642EVK )?? can i use MCU-Link Debug Probe or PEmicro’s Multilink Universal as programmer/debugger?? please note that MCU-Link does not mention pn7642 as a supported IC here in this link  MCU Link thanks.
View full article
BMA7426TBユーザーマニュアルおよび こんにちは、 BMA7426TB AFEを使用して燃料電池の電圧を監視したい。しかし、長いデータシートがなく、長いデータシートやユーザーマニュアル、そして助けが必要です。 1.バランス機能が不要なら、CBxのピンはどのようにコネクテッドすればよいのでしょうか?フローティングしているのか、それともセルにコネクテッドしなければならないのか? 2. もしCBxをセルにコネクテッドする必要がある場合、このピンは短時間-3Vに耐えられるのか?(<1秒) 3. 電源ピンVBATおよびVBATSWを24V DC/DCのような絶縁されたDC/DCにコネクテッドできるか。 ありがとうございます。 Re: BMA7426TB user manual and こんにちは、 BMA7426xBの完全なデータシートおよびリファレンスマニュアルは以下で入手可能です: https://www.nxp.com/products/BMA742X これらは機密文書であり、秘密保持契約(NDA)の締結が必要となることにご注意ください。 https://www.nxp.com/support/support/secure-access-rights:SEC-ACCESS これらの文書には、あなたの質問に対する回答が記載されています。 BRs、トーマス
View full article
i.MX7D UART5 in DTE mode using I2C4 Hi. This is the original i.MX7D board. The 2-wire UART5 circuit uses the I2C4 port. This UART5 is in DTE mode. I am configuring the CCM, IOMUXC ports, IOMUXC DAISY settings, and 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 After sending one character, UART5_UTS remains at 0x20 (having changed from 0x60). I do not know why UART5_UTS does not return to 0x60. Best Regards. Re: i.MX7D UART5 in DTE mode using I2C4 Spoiler (Highlight to read)     Hi. AldoG. There was an error in a portion of the information I sent. UART5_CLK_ROOT(0x30380b18)=0x10000000 The correct version is as follows. UART5_CLK_ROOT(0x3038b180)=0x10000000 Best regards. Re: i.MX7D UART5 in DTE mode using I2C4 Hi. AldoG. Upon startup, for some reason IPG_CLK_ROOT (0x30389080) was set to 0x1, so I changed it to 0x0. UART5_CLK_ROOT(0x30380b18)=0x10000000 UART5_CCM_CCGR=CCM_CCGR152(0x30384980)=0x3 It has been set up this way. I tried changing the pins used from I2C4 to SAI1, but the result was unsuccessful. I set the register to be checked to TXDC within USR2. Best regards. Re: i.MX7D UART5 in DTE mode using I2C4 Hello, For the i.MX7D UART status register, UTS[6] is the TX FIFO empty indication and UTS[5] is the RX FIFO empty indication. Therefore, 0x60 indicates that both FIFOs are empty, while 0x20 indicates that the RX FIFO is empty but the TX FIFO is not yet empty. Seeing 0x20 immediately after writing a character can therefore be expected. UTS[6] only reflects the FIFO state. If you need to determine when the character has completely finished transmitting, check USR2[TXDC], which indicates that the transmit FIFO and shift register are empty. For this two-wire configuration, please also verify the following: Hardware CTS/RTS flow control is disabled. If CTS/RTS is enabled without the corresponding signals being connected, transmission may be prevented. Both the UART5 functional clock and the IPG clock are enabled, and the UBIR/UBMR values are calculated using the actual UART5 clock frequency. The DTE pin mapping is checked against the i.MX7D Reference Manual. DTE mode changes the apparent RX/TX pin direction, so the signal names can be confusing. The I2C4 peripheral is not also enabled or driving the same pads. The UART5 TX pin is probed with an oscilloscope or logic analyzer. If a valid waveform is present, the 0x20 reading is likely only a status-sampling issue. If no waveform is present, check the clock, flow-control, and pin-mux configuration first. Please refer to the i.MX 7Dual Reference Manual (IMX7DRM), especially the UART and IOMUX sections. The NXP discussions iMX7 UART pin setup and i.MX7 IPG_CLK_ROOT and UART's clock may also be useful. Best regards/Saludos, Aldo. Re: i.MX7D UART5 in DTE mode using I2C4 Hello, TXDC indicates that the TX FIFO and shift register are empty. Please check whether USR2[TXDC] becomes 1 after the character is sent. If it remains 0, please also capture the UTS, USR1, and USR2 values before and after transmission, together with the UART5 TX pin waveform. For the two-wire configuration, please also verify that hardware CTS/RTS flow control is disabled. If CTS/RTS is enabled without the corresponding signals being connected, the transmitter may remain blocked. Also confirm that no I2C4 or SAI1 peripheral remains enabled and driving the selected pads. Best regards/Saludos, Aldo. Re: i.MX7D UART5 in DTE mode using I2C4 Hi AldoG, To avoid confusion caused by DTE mode, I modified the board wiring to set it to DCE mode. After initialization in U-Boot, I used an oscilloscope to monitor the pin voltage levels while toggling the IOMUXC pull-up/pull-down settings. The input pins responded correctly to these configuration changes. Next, I set the DTE bit in the UART5_UFCR register and repeated the test; the input pins again responded correctly to the configuration changes. The output pins switch according to the DCE/DTE configuration, and in both cases, the voltage level is '1'. Therefore, the PAD configuration is correct. Since the IRTS bit in the UART5_UCR2 register is set to '1', the RTS signal should be ignored. Could you please provide specific, detailed support on what I should investigate next to resolve this issue? Best regards. Re: i.MX7D UART5 in DTE mode using I2C4 Hi AldoG. The issue has been resolved. I have reverted from the 2-wire DCE mode to the 3-wire DTE mode. The pins used are I2C3_SCL, I2C4_SCL, and I2C4_SDA. The clock is configured via the CCM in `/arch/arm/mach-imx/mx7/clock.c` within the `init_clk_uart()` function. The pin configuration is as follows: 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); Next, I will proceed with serial initialization and baud rate configuration, using `serial_mx.c` as a reference. However, the UCR2 register will be configured as follows: writel(UCR2_WS | UCR2_TXEN | UCR2_RXEN | UCR2_SRST, &base->cr2); This worked.
View full article
imx8mmevk ov5640 mediactl こんにちは、 mediactlを以下のように使用しようとしています。 Linux imx8mmevk 6.6.52-lts-next-g90192c5d29cb#1 SMP PREEMPT 2025年7月8日火曜日 12:00:06 UTC aarch64 GNU/Linux mipe cam ov5640 を使用。 カメラはGstreamerとPipewireで使えますが、Mediactlは使えません。 dmsegログはこちらです。 DMESG |グレップov5640_mipi [ 0.059215] プラットフォーム32e30000.mipi_csi:/soc@0/bus@30800000/i2c@30a40000/ov5640_mipi@3cの固定依存サイクル [ 2.409821 ov5640_mipi 2-003c: センサーリセットピンなし [ 2.415630] ov5640_mipi 2-003c: ダミーレギュレーター使用中の供給DOVDDが見つかりません [ 2.422901] ov5640_mipi 2-003c: ダミーレギュレーター使用でDVDを供給できません [ 2.429995] ov5640_mipi 2-003c: ダミーレギュレーター使用で供給AVDDが見つからない [ 2.446514] ov5640_mipi 2-003c: レジグエラーを読み込み:reg=300a [ 2.451845] ov5640_mipi 2-003c: カメラは見つかりません そしてmediactlの出力: media-ctl -p /dev/media0 (-2) を列挙できませんでした デバイスでメディアクトルを使うのを手伝ってもらえますか? どうもありがとう Re: imx8mmevk ov5640 mediactl こんにちは、 これらのエラーにもかかわらず、カメラがGStreamerとPipeWireで動作するとおっしゃったのは興味深いですね。 ov5640_mipi 2-003c: Read reg error: reg=300a ov5640_mipi 2-003c: Camera is not found 通常、センサードライバーがプローブに失敗した場合、対応するV4L2サブデバイスは正常に登録されず、期待されるカメラパイプラインが完全に利用可能でないはずです。 あなたのログを踏まえると、まず最初に調べるべきは、OV5640センサードライバーが実際にプローブに成功しているか、そして両方のケースで同じカメラデバイスを使っているかどうかです。 それが問題でなければ、メディアコントローラのインターフェースが有効でサポートされているか確認しましたか?「/dev/media0 を列挙できません」というエラーは、/dev/media0が見つからないことを示しています。メディアコントローラデバイスの利用可能性はカーネルの設定とドライバの実装に依存します。 より具体的なサポートが必要な場合は、以下を共有してください。 - 動画のキャプチャに成功したGStreamerパイプライン。 - 関連するOV5640デバイスツリー構成。 - NXP BSPカメラドライバーを使用している場合でも、修正・カスタム実装を使用している場合もあります。 よろしくお願いいたします。 カロリーナ・トレホス RidgeRunの組み込みソフトウェアエンジニア Re: imx8mmevk ov5640 mediactl こんにちは 、 私はnxp bspドライバでこのパイプラインを使っています: 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 |グレップov5640_mipi [ 0.059279] プラットフォーム 32e30000.mipi_csi:/soc@0/bus@30800000/i2c@30a40000/ov5640_mipi@3cの固定依存サイクル [ 2.405481 ov5640_mipi 2-003c: センサーリセットピンなし [ 2.411300] ov5640_mipi 2-003c: 供給DOVDDが見つからず、ダミーレギュレーターを使用 [ 2.418588] ov5640_mipi 2-003c: ダミーレギュレーター使用で供給DVD(未確認) [ 2.425685] ov5640_mipi 2-003c: ダミーレギュレーター使用中、供給AVDDが見つからない [ 3.057823] mxc_mipi-CSI 32e30000.mipi_csi:登録センサーサブデバイス:ov5640_mipi 2-003c [ 3.067382 ov5640_mipi 2-003c: カメラ発見 エラーメッセージが消えました! dtsi : ov5640_mipi: ov5640_mipi@3c { 互換性 = "ovti,ov5640_mipi"; reg =<0x3c> �; ステータス = "正常"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_csi_pwn>, <&pinctrl_csi_rst>; クロック = <&clk IMX8MM_CLK_CLKO1>; クロック名 = "csi_mclk"; 割り当てられたクロック = <&clk IMX8MM_CLK_CLKO1>; 割り当てられたクロックの親要素 = <&clk IMX8MM_CLK_24M>; <24000000><0> <24000000> 割り当てられたクロックレート<0> =; csi_id =; pwn-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; mclk =; mclk_source =; ポート { ov5640_mipi1_ep: エンドポイント { リモートエンドポイント = <&mipi1_sensor_ep>; }; }; }; }; media-ctl -p /dev/media0 (-2) を列挙できませんでした 手伝ってくれてありがとう Re: imx8mmevk ov5640 mediactl こんにちは、@Thierry49_49 お元気でお過ごしのことと思います。 ログによると、センサはアドレス0x3cのI2Cバス2上にあります。ストリーミングが停止したら、以下を確認してください。 i2cdetect -y 2 i2ctransfer -y 2 w2@0x3c 0x30 0x0a r1 i2ctransfer -y 2 w2@0x3c 0x30 0x0b r1 期待されるチップIDがログに記録されるはずです。 また、アクティブなドライバの確認も以下の通りです: 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' 出力がmxc_mipi-csiとmx6s_captureのみを表示する場合、media-ctlはこのキャプチャパスで使用できません。 よろしくお願いいたします。 サラス。 Re: imx8mmevk ov5640 mediactl こんにちは ~@Manuel_Salas ありがとう、私は元気です。あなたは? 以下はコマンドの出力結果です。 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 エラー:メッセージ送信に失敗:そのようなデバイスやアドレスはありません root@imx8mmevk:~# i2ctransfer -y 2 w2@0x3c 0x30 0x0b r1 エラー:メッセージ送信に失敗:そのようなデバイスやアドレスはありません root@imx8mmevk:~# root@imx8mmevk:~# root@imx8mmevk:~# v4l2-ctl --list-devices i.MX6S_CSI(プラットフォーム:32e20000.csi1_bridge): /dev/video0 vsi_v4l2dec(プラットフォーム:vsi_v4l2dec): /dev/video2 vsi_v4l2enc(プラットフォーム: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:初期化中 [ 1.827181] mxc_mipi-csi 32e30000.mipi_csi:mipi-phy供給が見つかりませんでした。ダミーレギュレータを使用します。 [ 1.835931] mxc_mipi-csi 32e30000.mipi_csi:MIPI CSI v4L2デバイス登録済み [ 1.842911] CSI:登録センサーサブデバイス:mxc_mipi-csi.0 [ 1.848595] mxc_mipi-csi 32e30000.mipi_csi:レーン数: 2、hs_settle: 13、clk_settle: 2、wclk: 1、周波数: 333000000 手伝ってくれてありがとう ティエリー
View full article
Anyone on here use Smart Cards in their environment? I ask because I rarely see threads about it but I would imagine there has to be people out there who enforce Smart Card auth in their organization. Smart Cards on Mobile Re: Anyone on here use Smart Cards in their environment? Hello @ferio23 Hope you are doing well. Smart Cards are widely used in applications implementing authentication, access control, among others. To develop a complete solution and operate smart cards, you will need appropriate middleware or enablement software. For additional guidance, please refer to our Partner Directory for recommended vendors and solution providers. Regards, Eduardo.
View full article
imx8mmevk ov5640 mediactl 您好, 我尝试在以下位置使用 mediactl: Linux imx8mmevk 6.6.52-lts-next-g90192c5d29cb#1 SMP PREEMPT 7 月 8 日星期二 12:00:06 UTC 2025 aarch64 GNU/Linux 使用 mipe cam ov5640。 我可以用GStreamer和Pipewire控制摄像头,但是不能用Mediactl。 以下是 dmseg 日志: dmesg | grep ov5640_mipi [ 0.059215] 平台 32e30000.mipi_csi:修复了与 /soc@0/bus@30800000/i2c@30a40000/ov5640_mipi@3c 的依赖循环 [ 2.409821] ov5640_mipi 2-003c:无可用传感器复位引脚 [ 2.415630] ov5640_mipi 2-003c:未找到 DOVDD 电源,使用虚拟稳压器 [ 2.422901] ov5640_mipi 2-003c:未找到供电 DVDD,使用虚拟稳压器 [ 2.429995] ov5640_mipi 2-003c:未找到电源 AVDD,使用虚拟稳压器 [ 2.446514] ov5640_mipi 2-003c:读取寄存器错误:reg=300a [ 2.451845] ov5640_mipi 2-003c:未找到摄像头 以及 mediactl 的输出: media-ctl -p 枚举 /dev/media0 失败 (-2) 你能帮我在设备上使用 mediactl 吗? 非常感谢 Re: imx8mmevk ov5640 mediactl 您好, 有趣的是,你提到尽管存在这些错误,摄像头仍然可以与 GStreamer 和 PipeWire 配合使用。 ov5640_mipi 2-003c: Read reg error: reg=300a ov5640_mipi 2-003c: Camera is not found 通常情况下,如果传感器驱动程序探测失败,则相应的 V4L2 子设备将无法成功注册,预期的相机管道将无法完全可用。 根据你的日志,我首先要调查的是OV5640传感器驱动程序是否真的成功进行了探测,以及你是否在两种情况下都使用了同一台摄像头设备。 如果不是这个问题,您是否已确认媒体控制器接口已启用并受支持?错误“无法枚举 /dev/media0 (-2)”表示找不到 /dev/media0。媒体控制器设备的可用性取决于内核配置和驱动程序实现。 如需更具体的帮助,请分享: - 成功捕获视频的 GStreamer 管道。 - 相关的 OV5640 设备树配置。 - 无论您是使用 NXP 电路板支持包。 相机驱动程序还是修改/自定义实现。 顺祝商祺! 卡罗琳娜·特雷霍斯 RidgeRun公司的嵌入式软件工程师 Re: imx8mmevk ov5640 mediactl 你好 , 我使用这条管道配合 NXP 电路板支持包。 驱动程序: root@imx8mmevk:~# gst-launch-1.0-v v4l2src 设备=/dev/video0 !video/x-raw,format=YUY2,width=1280,height=720,framerate=30/1 !vpuenc_h264!h264解析!rtph264pay pt=96 config-interval=1 !udpsink 主机=10.49.24.30 端口=5000 同步=false root@imx8mmevk:~# dmesg | grep ov5640_mipi [ 0.059279] 平台 32e30000.mipi_csi:修复了与 /soc@0/bus@30800000/i2c@30a40000/ov5640_mipi@3c 的依赖循环 [ 2.405481] ov5640_mipi 2-003c:无可用传感器 RESET 引脚 [ 2.411300] ov5640_mipi 2-003c:未找到 DOVDD 电源,使用虚拟稳压器 [ 2.418588] ov5640_mipi 2-003c:未找到供电 DVDD,使用虚拟稳压器 [ 2.425685] ov5640_mipi 2-003c:未找到电源 AVDD,使用虚拟稳压器 [3.057823]mxc_mipi-csi 32e30000.mipi_csi:已注册传感器子设备:ov5640_mipi 2-003c [ 3.067382] ov5640_mipi 2-003c: 已找到摄像头 错误信息消失了!!!! dtsi: ov5640_mipi:ov5640_mipi@3c { 兼容=“ovti,ov5640_mipi”; reg =<0x3c> �; 状态 = "正常"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_csi_pwn>, <&pinctrl_csi_rst>; clocks = <&clk IMX8MM_CLK_CLKO1>; clock-names = "csi_mclk"; 分配时钟 = <&clk IMX8MM_CLK_CLKO1>; 已分配时钟父级 = <&clk IMX8MM_CLK_24M>; 分配的时钟速率<24000000> =; csi_id =;<0> pwn-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; mclk<24000000> =; mclk_source =;<0> 港口 { ov5640_mipi1_ep:端点 { 远程端点 = <&mipi1_sensor_ep>; }; }; }; }; media-ctl -p 枚举 /dev/media0 失败 (-2) 谢谢你的帮助 Re: imx8mmevk ov5640 mediactl 你好@Thierry49_49 希望你一切都好。 根据日志显示,传感器位于 I2C 总线 2 的地址 0x3c 上。流媒体播放停止后,请检查: i2cdetect -y 2 i2ctransfer -y 2 w2@0x3c 0x30 0x0a r1 i2ctransfer -y 2 w2@0x3c 0x30 0x0b r1 它应该记录预期的芯片ID。 另外,请通过以下方式确认您的有效驾照: 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' 如果输出仅显示 mxc_mipi-csi 和 mx6s_capture,则 media-ctl 不能与此捕获路径一起使用。 顺祝商祺! 萨拉斯。 Re: imx8mmevk ov5640 mediactl 你好 ~@Manuel_Salas 谢谢,我没事,你呢? 以下是命令输出: i2cdetect -y 2 0 1 2 3 4 5 6 7 8 9 abcdef 00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: 20 -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70:-- -- -- -- -- -- -- -- root@imx8mmevk:~# i2ctransfer -y 2 w2@0x3c 0x30 0x0a r1 错误:发送消息失败:没有这样的设备或地址 root@imx8mmevk:~# i2ctransfer -y 2 w2@0x3c 0x30 0x0b r1 错误:发送消息失败:没有这样的设备或地址 root@imx8mmevk:~# root@imx8mmevk:~# root@imx8mmevk:~# v4l2-ctl --list-devices i.MX6S_CSI(平台:32e20000.csi1_bridge): /dev/video0 vsi_v4l2dec(平台:vsi_v4l2dec): /dev/video2 vsi_v4l2enc(平台:vsi_v4l2enc): /dev/video1 root@imx8mmevk:~# readlink -f /sys/class/video4linux/video0/设备/driver /sys/总线/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:初始化 [1.827181]mxc_mipi-csi 32e30000.mipi_csi:未找到 mipi-phy 供电,使用虚拟稳压器 [1.835931]mxc_mipi-csi 32e30000.mipi_csi:mipi csi v4l2 设备已注册 [ 1.842911] CSI:已注册传感器子设备:mxc_mipi-csi.0 [1.848595]mxc_mipi-csi 32e30000.mipi_csi:车道数:2,高速结算:13,时钟结算:2,工作时钟:1,频率:333000000 谢谢你的帮助 蒂埃里
View full article
PNEV7642A Rev B 板 你好, 我正在考虑购买PNEV7642A B版评估板。但我找不到这款产品的任何链接或页面,请问您能否提供购买这款滑板的链接? 另外,在为该板查找 NFC 库时,我发现了一个适用于 PN7462 的 NFC 读取器库,而不是适用于 PN7642 的。这个库是否同时支持这两个目标平台? 谢谢。 开发板 Re: PNEV7642A Rev B board 板是: OM27642:PN7642 安全紧凑型 NFC 控制器开发套件,带可编程存储器和加密加速功能 | 恩智浦半导体 您可以从这里下载PN7642 SDK: 集成MCU的顶级NFC前端 | 恩智浦半导体 Re: PNEV7642A Rev B board @jimmychan 谢谢回复。 请问我可以使用哪种调试器来调试这个开发套件(OM27642EVK)? 我可以使用MCU-Link调试探针或PEmicro的Multilink Universal作为编程器/调试器吗? 请注意,MCU-Link 在此链接中并未将 pn7642 列为支持的 IC。 MCU链接 谢谢。
View full article
PN7642EV/C100とPN7642EV/C102の比較 最初の質問です。新しいデザインでPN7642EV/C102を使う予定です。PN7642EV/C100は主流の代理店に在庫があるので代替部品として追加したいと考えており、長期的なサプライチェーンの問題を軽減したいと考えています。これらのPNの違いは出荷時のFWバージョンだけのように見えます。もしそうなら、PN7642EV/C100を入力して最新のFWに更新することは、PN7642EV/C102で同じことをするのと同じことになります。この推測は正しいでしょうか? 2つ目の質問ですが、このアプリケーションでは基本的なNFCタグ、Google Wallet、Apple Walletを読みます。GoogleウォレットやAppleウォレットを読み取るには多くの認証や許可が必要なことは理解していますが、ハードウェアの観点から見て、C100およびC102のバリアントはこれに対応できるのでしょうか? Re: PN7642EV/C100 vs PN7642EV/C102 こんにちは、 @adamdoyle15 あなたの調子が良いといいのですが。 PN7642はECPに対応しているはずです。また、ご指摘のとおり、これらのバリアントの主な違いは、C102は出荷時にファームウェアv3.00が搭載されている点です。 よろしくお願いいたします。 エドゥアルド。 Re: PN7642EV/C100 vs PN7642EV/C102 こんにちは、 ECPサポートは主にソフトウェアで行われており、ハードウェアのバリアント間で区別はないはずです。 よろしくお願いいたします。 エドゥアルド。 Re: PN7642EV/C100 vs PN7642EV/C102 迅速なご対応ありがとうございます。 ECP機能については、データシートを見る限りPN7642はECP対応であることがわかりますが、ハードウェアの観点からこれでApple Walletとの互換性が十分かどうかが疑問です。
View full article
BMA7426TB 用户手册和 您好, 我想使用 BMA7426TB AFE 来监测燃料电池电压。但我没有详细的数据手册,我需要详细的数据手册或用户手册以及一些帮助。 1.如果不需要平衡功能,CBx引脚应该如何连接?是浮空还是必须连接到电池? 2. 如果CBx必须连接到电池,这些引脚能否短时间(<1秒)承受-3V电压? 3. 电源引脚 VBAT 和 VBATSW 能否连接到隔离式 DC/DC,例如 24V dc/dc。 谢谢。 Re: BMA7426TB user manual and 您好, BMA7426xB 的完整数据手册和参考手册可在以下网址获取: https://www.nxp.com/products/BMA742X 请注意,这些是需要签署保密协议的机密文件: https://www.nxp.com/support/support/secure-access-rights:SEC-ACCESS 这些文件中将包含您问题的答案。 BRs,托马斯
View full article
BMA7426TB user manual and Hi, I want to use BMA7426TB AFE to monitor fuel cell voltage. But I have no long data sheet, and I need long data sheet or user manual  and some help. 1. If the balancing function is not required, how should the CBx pins be connected? Be floating or must be connected to cell? 2. if the CBx must be connected  to cell, could this pins withstand -3V for short time?(<1s) 3. Could power supply pins VBAT and VBATSW be connected to a isolated DC/DC, such as 24V dc/dc. thanks. Re: BMA7426TB user manual and Hi, The full datasheet and reference manual for the BMA7426xB are available at: https://www.nxp.com/products/BMA742X Please note that these are secure documents requiring an NDA: https://www.nxp.com/support/support/secure-access-rights:SEC-ACCESS In these documents you will find answers to your questions. BRs, Tomas
View full article
使用S32K312 MCU时,整车控制器VCU会卡顿110秒后恢复。 尊敬的恩智浦技术支持: 我们最近在使用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
i.MX7D UART5 在 DTE 模式下使用 I2C4 你好。 这是原装的i.MX7D板。 双线 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 发送一个字符后,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 状态。如果您需要确定字符何时完全完成传输,请检查 USR2[TXDC],它表示发送 FIFO 和移位寄存器为空。 对于这种两线配置,请同时验证以下内容: 硬件 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 时钟也可能有用。 此致敬礼/Saludos, 阿尔多。 Re: i.MX7D UART5 in DTE mode using I2C4 你好, TXDC 表示 TX FIFO 和移位寄存器为空。请检查字符发送后 USR2[TXDC] 是否变为 1。如果仍然为 0,请同时捕获传输前后的 UTS、USR1 和 USR2 值以及 UART5 TX 引脚波形。 对于两线配置,请同时确认硬件 CTS/RTS 流控制已禁用。如果启用了 CTS/RTS 但未连接相应的信号,则发射器可能会保持阻塞状态。同时确认没有 I2C4 或 SAI1 外设处于启用状态并驱动所选焊盘。 此致敬礼/Saludos, 阿尔多。 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。 问题已解决。 我已经将 DCE 模式从两线制改为 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
这里有人在工作中使用智能卡吗? 我这么问是因为我很少看到相关的讨论帖,但我认为肯定有人会在他们的组织中强制使用智能卡认证。 移动设备上的智能卡 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