Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
KW45 channel sounding例程 I use KW45B41Z83, and research channel sounding now, Can you send me the wireless localization SDK and AN13481 - Bluetooth Channel Sounding technique for distance estimation - preliminary Updated Internal Rev2 Apr22 also? Re: KW45 channel sounding例程 Hi, @rsmile  Sorry for the inconvenience to you. Currently on KW45, we do not support CS any more. If you want to use CS feature, please choose our KW47 series. Apologize again for the inconvenience to you. Best regards, Christine. Re: KW45 channel sounding例程 Hi, @rsmile  As communicated through call, based on your feedback that you already decided to use our KW47 instead of KW45. I will close this case for now. Please feel free to create new case to us if you meet any issue when you using KW47. Wish you all the best and Happy New Year! Best regards, Christine.
記事全体を表示
MCXA346VLQ デバイスには FlexIO モジュールが含まれていますか? UM12348: FRDM-MCXA346 ボード ユーザー マニュアルのGPIO グループ インターフェースセクションには、 「MCX A346 MCU には Flexible Input/Output (FlexIO) モジュールがありません」と記載されています。 ただし、 MCX A345、A346、A355、A356、A365、および A366 リファレンス マニュアルには、A346 デバイスのFlexIOに関する説明があります。 MCXA346VLQデバイスが FlexIO モジュールをサポートしているかどうかを明確にしていただけますか? FlexIO がサポートされていない場合、 UM12348のカメラ インターフェイスの章で説明されているカメラ インターフェイスは実際にはどのように実装されますか?カメラは、固定された専用ピンを使用してSmartDMA ファームウェアによって完全に駆動されますか? MCXA Re: Does the MCXA346VLQ device include a FlexIO module? 分かりやすく詳しいご説明をありがとうございます。これにより、MCXA346 に関するいくつかの疑問が解消され、その後の調査に非常に役立つでしょう。 Re: Does the MCXA346VLQ device include a FlexIO module? こんにちは、 MCX A346 MCU には、フレキシブル入力/出力 (FlexIO) モジュールがありません。 MCX A345、A346、A355、A356、A365、A366リファレンスマニュアルの表63に記載されているALTピンマックス割り当ての説明は、表63セクション12の注記で「CAN1、I3C、FlexIO、SLCDはMCXA34x/A35xでは利用できません」と規定されているため、MCXA346には適用されません。 MCX A346 には、J9 のカメラ コネクタを介した通信をサポートする SmartDMA モジュールが含まれています。SmartDMA 固定ピンの説明は、FRDM-MCXA346 ボード ユーザー マニュアル (セクション 2.7、カメラ インターフェース) の図 12 と表 14 に示されています。 他にご質問がございましたら、お知らせください。 敬具、ルイス
記事全体を表示
S32k358 多核 CAN RX 大家好 我使用的是 s32k358 多核处理器,正在尝试在第 2 核建立 CAN 通信 我在使用 CAN RX 时遇到了问题,当我尝试从 pcan 传输数据时,我在 pcan 中遇到了总线被动故障,我在 s32k358 rxfifo 中没有收到任何帧。CAN ID 添加了 rx 过滤器。 但 TX 的工作没有任何问题。 相同的代码在单核心、0 核的 tx 和 rx 中工作 Re: S32k358 multicore CAN RX 你好@PetrS、 感谢您的回复。 将时钟更改为 FXOSC 后,CAN 正常工作。 Re: S32k358 multicore CAN RX 您好, 只是想回答一下,由于在PCAN中看到总线被动故障,这很可能是由于CAN位定时设置不足,主要是FIRC的使用。 不应将 FIRC 用作 CAN 协议时钟,因为它是一个内部 RC 振荡器,与晶体源相比,精度相对较差,频率漂移较大。CAN 通信需要高度稳定和精确的时钟来保持严格的比特定时容差;否则,节点可能会失去同步,从而导致错误增加、总线故障或通信故障。   BR, Petr Re: S32k358 multicore CAN RX 大家好 将时钟从 FIRC 改为 FXOSC 后,CAN 通信正常。 但您能解释一下为什么 CAN 需要 FXOSC 吗?
記事全体を表示
S32K144 OTA memery set When I'm running the S32K144_FOTA_Bootloader demo, it gets stuck. The SetFlexRamFunction function interface returns FTFx_ERR_ACCERR. Is there anything that needs to be configured? Re: S32K144 OTA memery set Hi @liangyanlynn  Did you follow "7.1 Setting up the demo" in AN12323?  This step is important: If you didn't execute Memory_Partition project, this command won't work: Regards, Lukas
記事全体を表示
S32K3 MBDT 1.60 版本中缺少电机控制 PMSM 示例 你好,Nxp 开发人员、 我正试图按照 AN13902 的要求,使用 MBDT 块" " 3 相无传感器 PMSM 电机控制 Kit 与 S32K344。截至 2025 年 1 月,工具箱版本已从创建 AN 时的 1.30 升级到 1.60。因为我正在尝试在最新版本中找到替代方案,但找不到等效的示例。 是否有可下载的 Sw 套件示例? 谢谢 梁 示例模型 Re: missing Motor Control PMSM example in the 1.60 version of the S32K3 MBDT 您好, 我正在使用 带驱动器 GD3000 和 Sunrise 电机的 S32K344MINI-EVB 板。我已经测试了一个你可以用项目 " s32K344: mc_pmsm_1SH_S32CT " 来管理电机速度的程序。我有不同的问题,因为我想证明新的选择。   1。我想使用评估板来实现电机的控制,所以我想控制FOC(2个控制器PI),但我想模拟工厂(电动机PMSM)和电力电子设备(GD3000)。在此示例中,如何对其进行修改以模拟工厂,同时继续执行评估板上的控制?我想我必须更改状态机模块的某些部分,但我不知道要更改什么。 2.能否告诉我从 GD3000(电机驱动器)向电机 PMSM 发送不同信号时使用的引脚?我在您的网站上看到了相关信息,但我不知道是否属实。我给你发了一份包含这些信息的 pdf 文件,尽管它不是同一个板,我认为大头针是一样的 (INFO_Driver_MOtor.pdf)。 谢谢大家、 乔恩-安德-阿曼特 Re: missing Motor Control PMSM example in the 1.60 version of the S32K3 MBDT 你好@leonggz 您可以在以下路径中找到 s32k344 型号,它是您提到的 AN 中的更新版本,如下图所示。 /S32K3_Examples/mc/PMSM   实际上,这些模型旨在部署在我们用于开发和测试的硬件参考设计上,但是您可以修改模型以针对各种场景对算法进行仿真。 为了执行这样的操作,您可以隔离算法(独立于硬件的部分),并使用我们允许外设交互的 MBDT 模块来代替从硬件获取的输入,您可以定义自己的测试输入并将它们连接到算法。同样,用于向硬件输出信号的 MBDT 块也可以用示波器或其他数据可视化通用 Simulink 块来代替。 请随时查看我们在恩智浦MBDT社区的在线研讨会,了解有关仿真模式(例如MIL、SIL和PIL)的更多信息,以及如何使用我们的工具箱实现这些模式。 希望这能帮到您, 伊琳娜 Re: missing Motor Control PMSM example in the 1.60 version of the S32K3 MBDT 1.60 mbdt 下的型号名称包含 _S32k312,是否有将其与 S32K344 的原始应用程序注释相匹配的迁移指南? 后续问题:工具箱中显示的这些模型是"代码生成模型" ,是否有"仿真模型" 版本可供探索? 谢谢! 此致问候 leonggz Re: missing Motor Control PMSM example in the 1.60 version of the S32K3 MBDT 你好@leonggz S32K3 1.6.0 的 MBDT 中仍有该示例、您可以从 Simulink 中打开示例库浏览器,进入电机控制,然后双击电机控制 PMSM 双并联 EBT 或 S32CT。 我们提供的机型同时支持 EB tresos 和 S32 配置工具。请注意,如果要使用 EB tresos 选项,则需要单独安装该工具。就 S32CT 而言,配置工具直接与我们的工具箱一起交付。   希望对您有所帮助, Irina Re: missing Motor Control PMSM example in the 1.60 version of the S32K3 MBDT 你好@JonAnder_Amante 最新的 S32K3 工具箱 MBDT(v1.8.0)尚未正式支持 S32K344-MINIEVB。针对 S32K344 MCU 的电机控制示例是使用MCSPTE1AK344电机控制套件设计和测试的。目前,我们正在考虑增加对该 EVB 的支持。 请注意,您正在测试的示例(s32k344_mc_pmsm_1sh_s32ct)使用单并联方法进行电机相电流估计,这需要更复杂的 SW 设计,因此需要更复杂的 Simulink 建模来实现这种类型的电流重建。 1.要模拟电机设备和电力电子设备,您可以使用 MathWorks 的其他工具箱,如电机控制 Blockset和Simscape Electrical。使用这些工具箱可以帮助您使用MOSFET的专用模块来设计反向器系统,并且您还会发现用于仿真多种类型的电动机的不同模块。但如何设计既能模拟又能生成代码的模型则取决于您。我不明白你为什么要模拟 GD3000。该设备只是一个预驱动器 IC,它从 MCU 获取 PWM 信号,以便能够使用大于 MCU 所能提供的直流电源电压来驱动电机。此外,标有 NXP 的用于访问硬件的 Simulink 块并非为模拟而设计。其目的只是为了生成代码。 参考资料: 电机控制模块组 模拟场景电气 在这里,您可以找到一些来自 MathWorks 的示例,说明如何设计和模拟电机和电力电子设备: https://www.mathworks.com/help/sps/ug/three-phase-pmsm-drive.html https://www.mathworks.com/help/sps/ug/ipmsm-velocity-control.html 2.如果您将 PDF 文件附在本主题中,我看不到任何 PDF 文件。 此致敬礼! 斯特凡 Re: missing Motor Control PMSM example in the 1.60 version of the S32K3 MBDT 你好、 感谢您的回复。 我的目标是使用板 " S32K344 MINI EVB " 来实现 FOC 的控制(例如读取电流),并使用其电力电子设备模拟工厂。您能告诉我必须使用的销钉和木块吗? (我把之前提到的 pdf 文件(Info_Driver_Motor) ),谢谢大家、 Re: missing Motor Control PMSM example in the 1.60 version of the S32K3 MBDT 你好, MI 板 "S32K344 MINI EVB" 必须实现不同的功能例如: 从仿真装置中读取电流、读取位置和速度、读取总线 Vdc、更新 PWM 等。 有不同的示例可以模拟控制器和设备,但我想模拟设备并实现我在板上提到的功能: 有不同的仿真示例,但我必须使用恩智浦的某些模块来仿真,您能告诉我必须使用哪些模块吗?
記事全体を表示
Details of the Secondary Image Boot feature in iMX8M Plus Hi, We are trying to use eMMC of iMX8M Plus to build partitions for firmware updates. I found out in the "IMX8MPRM.pdf" and "L-1004e.A2 i.MX 6 _ i.MX 8 Security Manual-v1-20230417_093438.pdf" documentation that there is Secondary Image Boot feature. I have some questions about this feature. Q1) Assuming the following partitions are built on eMMC, is it possible to change the boot image by changing BOOT_PARTITION_ENABLE?       device                  boot     start          end            sectors             type   A) /dev/mmcblk2p1  *           16384       186775     170392             W95FAT32 (LBA)   B) /dev/mmcblk2p2              196608      17027413 16830806         Linux   C) /dev/mmcblk2p3  *          17027413  17214188 170392            W95FAT32 (LBA)   D) /dev/mmcblk2p4              17224021  34054826 16830806        Linux   After creating partitions with the fdisk command, I copied the files in partitions A) and B) to partitions C) and D).   Partitions A) and C) have kernel images and DTBs.   Partitions B) and D) have rootfs.   A),B) contains the old image and C,)D) contains the new image Q2) Which document should I refer to for the flow of  Secondary Image Boot feature of iMX8M Plus?         I couldn't find it from the IMX8MPRM.pdf documentation. Q3) What kind of triggers exist to determine that the primary partition is unreadable? Re: Details of the Secondary Image BooHi @Dhruvit   I understand about Q4. t feature in iMX8M Plus My finding is that offset based redundancy/fallback works on emmc User area (and SD card perhaps), but does not work on emmc boot0 and boot1 partitions.  Partition based fallback works properly between Boot0 <--> Boot1 (even though not documented anywhere). It fells like offset based redundancy is not aimed for those two areas (boot0/boot1), since ROM already made them cover each other's back. Is that correct @Dhruvit  ? Re: Details of the Secondary Image BooHi @Dhruvit   I understand about Q4. t feature in iMX8M Plus Is there an answer on this question? Would like to know the same thing. Re: Details of the Secondary Image BooHi @Dhruvit   I understand about Q4. t feature in iMX8M Plus @Dhruvit thanks for the info. Just to clarify, the secondary boot image must be located in the same partition as the primary image, correct? Ideally I would like the primary image to be located in mmcblk2boot0 and the secondary image in mmcblk2boot1. However my understanding this is not possible with this SoC and instead both primary and secondary images must be located within one portion (ex: mmcblk2boot0). Do you agree? Thanks! Re: Details of the Secondary Image BooHi @Dhruvit   I understand about Q4. t feature in iMX8M Plus Hi @Y_K, I hope you are doing well. Q6) At this time, is it possible to specify the file system of a partition different from the setting of the primary image as the boot target with the bootloader of the secondary image? [Ans]: Primary and Secondary Boot images are flashed at specific offset and it does not require to specify a partition.         Please make a note that boot area is not formatted and contains no file system.          If the Primary boot image fails then ROM will automatically boot the secondary boot image.                 Please refer to 6.1.6.3 Primary image offset and IVT offset in RM for primary image offset.        and IMG_CNTN_SET1_OFFSET for secondary boot image offset. Q7) Looking at the configuration directly under /dev/, there were /mmcblk2boot0 and /mmcblk2boot1.     Is /dev/mmcblk2boot1 the download destination for the secondary image?     I didn't know whether Boot Area 1 in figure 1 of Working with eMMC is the same as /dev/mmcblk2boot0 or Boot Area 2 is the same as /dev/mmcblk2boot1.     I'm trying to write an Secondary image with the dd command and think the Primary image is stored in /mmcblk2boot0. [Ans]: Yes, Boot Area 1 in figure 1 of Working with eMMC is the same as /dev/mmcblk2boot0  and Boot Area 2 is the same as /dev/mmcblk2boot1. Secondary images should be flashed at the offset specified using IMG_CNTN_SET1_OFFSET and it should be decided based on the boot partition size and start. Thanks & Regards, Dhruvit Vasavada Re: Details of the Secondary Image BooHi @Dhruvit   I understand about Q4. t feature in iMX8M Plus Hi @Dhruvit   I understand about Q4. About Q5, my way of asking was wrong. Please assume the following situation. 1. DIPSW: 0010 eMMC boot mode. 2. Primary and secondary images have been downloaded. 3. Primary image fails to boot. Q6) At this time, is it possible to specify the file system of a partition different from the setting of the primary image as the boot target with the bootloader of the secondary image? Q7) Looking at the configuration directly under /dev/, there were /mmcblk2boot0 and /mmcblk2boot1.     Is /dev/mmcblk2boot1 the download destination for the secondary image?     I didn't know whether Boot Area 1 in figure 1 of Working with eMMC is the same as /dev/mmcblk2boot0 or Boot Area 2 is the same as /dev/mmcblk2boot1.     I'm trying to write an Secondary image with the dd command and think the Primary image is stored in /mmcblk2boot0. Re: Details of the Secondary Image Boot feature in iMX8M Plus Hi @Y_K, I hope you are doing well. Q4) What does it mean when the primary device fails to boot?        Could it be a hardware issue that prevents the emmc or sd card from being read?        What kind of failure cases are possible? [Ans]: I think you mean Primary image.           The secondary boot feature only boots the secondary Image from the same device if the primary image fails to boot. (due to a corrupted image or corrupted sector).            Primary & Secondry boot images are flashed on the same device.                  Q5) For example, if emmc is specified in the boot configuration pin and emmc fails to boot, what settings should be made to the secondary image boot loader?                 Does it mean that booting on sd card (different boot device) is set?                 Does it mean that booting on partition D (different boot partition) added on emmc is set?  [Ans]: If the Primary device(selected by eFuse or configuration GPIO) fails to boot even the secondary boot image then it will go to serial download mode. Please refer to Figure 6-1. Boot flow in i.MX 8M Plus Applications Processor Reference Manual.' The secondry boot image should be located at a fixed offset (not partition) defined by the IMG_CNTN_SET1_OFFSET fuse. Thanks & Regards, Dhruvit Vasavada Re: Details of the Secondary Image Boot feature in iMX8M Plus Hi @Dhruvit  Thank you for your reply. Q1) I read Working with eMMC. This was very helpful. I was wrong about the memory composition of eMMC.   Q2) , Q3) Thank you for teaching. I will refer to it. Sorry, I would like to ask an additional question because I can not specifically image the scene where the secondary boot image can be used.     Q4) What does it mean when the primary device fails to boot?                Could it be a hardware issue that prevents the emmc or sd card from being read?                What kind of failure cases are possible?     Q5) For example, if emmc is specified in the boot configuration pin and emmc fails to boot, what settings should be made to the secondary image boot loader?                 Does it mean that booting on sd card (different boot device) is set?                 Does it mean that booting on partition D (different boot partition) added on emmc is set?  Re: Details of the Secondary Image Boot feature in iMX8M Plus Hi @Y_K, I hope you are doing well. BOOT_PARTITION_ENABLE bits are used to select or disable boot partition for emmc. Please refer to Working with eMMC. Q1) Assuming the following partitions are built on eMMC, is it possible to change the boot image by changing BOOT_PARTITION_ENABLE? [Ans]: Secondry boot feature is not used like this. If booting from the device selected by the boot configuration pin or eFuse (Primary Device) fails, only then ROM will try to boot from the Secondary Image, the offset is relative to the beginning of the boot device. Secondry image offset can be set using IMG_CNTN_SET1_OFFSET (0x490[22:19]) fuse. Q2) Which document should I refer to for the flow of the Secondary Image Boot feature of iMX8M Plus? [Ans]: Please refer to 6.1.6.2 Secondary Image Boot and 6.1.6.4 Typical image placement in boot device in i.MX 8M Plus Applications Processor Reference Manual. Q3) What kind of triggers exist to determine that the primary partition is unreadable? [Ans]:  It is not required to create separate partitions for the Secondary Image Boot feature.  Please refer to Figure 6-21. Typical image placement in i.MX 8M Plus Applications Processor Reference Manual. Thanks & Regards, Dhruvit Vasavada
記事全体を表示
[Nexteer][S32K3] BistにおけるeMcemエラー注入に関する質問 こんにちは、チーム この質問は、Nexteer コミュニティのこの投稿から発生しました。 Nexteer では、SAF eMcem モジュールを使用して障害 73、74、75、および 76 を挿入するときに、不正な/一貫性のない動作が確認されています。eMcem ドライバーと API を使用して設定した後、挿入された障害をクリアしようとしても、HW レジスタではクリアされません。サポートして頂けますか? 私は、BIST に関して、eMcem モジュールを介して DCM レベルの FCCU 障害を注入しようとしています。これまでのところ、どの障害を注入しても障害番号 73 が引き続き発生するため、成功していません (73、74、75、76 を個別に注入しようとしています)。 eMcem文書を読んだ後、そこにはこう記されている これは、eMcem NMI コールアウト フックから障害 73 を取得していることは理にかなっています。ただし、NMI で eMcem に制御を渡す前に、73 と 75 で eMcem_ClearFaults を呼び出すと、DCMROD5 がゼロ (または少なくともテストしようとしているビット) にクリアされるはずです。しかし、それは起こりません。代わりに、ビット 11 はクリアできますが、ビット 9 はクリアできません。デバッガーでビット 9 を書き込むことを含め、何をしてもビット 9 をクリアできないようです。 これは私が初めてNMIに入ったときのスクリーンショットです しかし電話した後             eMcem_ClearFaults ( EMCEM_DCM_NCF_5_SYS_XFR_ERR );             eMcem_ClearFaults ( EMCEM_DCM_NCF_5_MBIST_BACKDOOR );             eMcem_ClearFaults ( EMCEM_DCM_NCF_5_LMBIST_USER_CF );             eMcem_ClearFaults ( EMCEM_DCM_NCF_5_STCU_NCF ); まだある つまり、コールアウトでは常に FaultId 73 が返されることになります。クリア関数をステップ実行し、ビット 9 に 1 を書き込もうとしていますが、レジスタはまだクリアされません。 ここで私が何を見逃しているか知っていますか?これは起こるはずのことでしょうか、それとも何か他のことが起こっているのでしょうか?これは、実際に障害が発生した場合に発生するものでしょうか、それとも、これらの障害を偽装注入した場合の副作用なのでしょうか?これらの障害を注入する場合、それは 1 回限りの注入ですか、それとも永続的な障害ですか? ありがとう、 ダニエル V. SAFETY_SW Re: [Nexteer][S32K3] Question Regarding eMcem Error Injection on Bist こんにちは、チームの皆さん。何か最新情報はありますか? Re: [Nexteer][S32K3] Question Regarding eMcem Error Injection on Bist こんにちは、ダニエル。 同じ動作を観察していることを確認できますが、eMcem の観点からは、これは他の障害と同じように処理されるため、eMcem コードにバグは見当たりません。 問題は、このNCF[5]グループがsCheckでカバーされていないことです。これらのメカニズム上の潜在的な障害をチェックする要件がないため、これらのメカニズムについてはLBISTカバレッジに頼る必要があります。 デバッガーが干渉して予期しない結果を引き起こす可能性があるため、これらの障害をデバッグするのは難しいと思います。 RM にはこれらの障害に関する情報がもうないため、HW チームと話し合うか、セーフティアーキテクトに、EIM を介して潜在的な障害チェックを実行する必要があるか、または LBIST に頼る必要があるかを尋ねる必要があると思います。 敬具、 ラドスラフ Re: [Nexteer][S32K3] Question Regarding eMcem Error Injection on Bist こんにちは、 @RadoslavB さん。 返信ありがとうございます。ハードウェアチームとセーフティ設計担当者に確認するため、内部SafeAssureコミュニティにフォローアップチケットを起票しました。https: //community.nxp.com/t5/INTERNAL-SafeAssure/Nexteer-S32K3-Question-Regarding-eMcem-Error-Injection-on-Bist/mp/2330980#M1741 もし私がソフトウェアの観点から必要な情報を見落としていたら、遠慮なく詳細を追加してください。 ありがとう、 ダニエル V.
記事全体を表示
FRDM-MCXN947 Ethernet Issue Hi NXP Community, I just purchased 3 FRDM-MCXN947 dev kits for a company project and I can't get the Ethernet port to pass data on one of them.  I am using Zephyr v4.3.0 and I have tested using the `http_server` sample.  This works on the other two but I can't get DHCP or static IPs to work on the remaining on.  The link lights are lit but it just times out trying to get a DHCP address and when static it's not routable.  The device also doesn't show up as a client in our network management tools. Thoughts on other tests I can run?  Has this happened before? Thanks in advance, Daz Communication & Control(I3C | I2C | SPI | FlexCAN | Ethernet | FlexIO) Development Board MCXN Re: FRDM-MCXN947 Ethernet Issue Hi @WestCoastDaz  May I ask if all three chips are the same? Has the board been reworked? I think you can also test the SDK lwIP demos. If lwIP also fails to get DHCP or cannot respond to ping, I think this may be a hardware issue. BR Harry Re: FRDM-MCXN947 Ethernet Issue Unfortunately I can't compare the chip versions as 2 of the DKs are being used in prototypes and I don't have access to them. The box on the non-working DK has a date code from 2429. I don't have MCUXsspresso SDK installed only Zephyr is there another Zephyr example I could try? Thanks, Re: FRDM-MCXN947 Ethernet Issue Hi @WestCoastDaz  If you don't have MCUXsspresso SDK installed. I think you can try to test the samples/net/sockets/echo_server/ or samples/net/dhcpv4_client BR Harry
記事全体を表示
841-RDFXWIN8USB - is it compatible with Windows 10? 841-RDFXWIN8USB - is it compatible with Windows 10? SensorFusion Re: 841-RDFXWIN8USB - is it compatible with Windows 10? Shelly, I'll have to do some research to determine the internal sampling interval. Given the nature of your questions, I think you might want to consider a different platform: specifically our Sensor Fusion for Kinetis MCUs library (nxp.com/sensorfusion) runs on a variety of ARM-based Freedom boards available at nxp.com/freedom.  Full source code is supplied, and you have total control.  The Windows 8 reference design was targeted at OEMs developing Windows-based computers and tablets.  The onlyY defined interface to the module is via the Windows 8 HID standard. What is your application? Mike Re: 841-RDFXWIN8USB - is it compatible with Windows 10? Hi Thank you for the information What is the minimum sampling interval possible? Is there a way to interrupt the MCU code? Thanks, Shelly Re:  841-RDFXWIN8USB - is it compatible with Windows 10? Shelly, The board is compatible with Microsoft's "HID Sensor Class. Here is the spec: https://msdn.microsoft.com/en-us/library/windows/hardware/dn613934(v=vs.85).aspx You can communicate with the HID sensor using the Accelerometer class in the Windows.Devices.Sensors namespace. For example, you can change the sample rate by setting the ReportInterval property. https://msdn.microsoft.com/library/windows/apps/windows.devices.sensors The RDFXWIN8USB isn't designed for general development use, but rather as a reference design for the HID interface.  So we're not supplying libraries as part of our general enablement. Mike Re:  841-RDFXWIN8USB - is it compatible with Windows 10? Hi, Thank you for your reply. Is there a way with RDFXWIN8USB to change the sampling frequency? The SpWin8View Demo sowtware output a log every 63mSec (15Hz). As for the accelerometer the MMA8451Q have ODR of 1.56 to 800Hz. Is there a way to write code and communicate with the with the MCF51Jx: ColdFire? Thank you, Shelly Re: 841-RDFXWIN8USB - is it compatible with Windows 10? Shelly, We haven't requalified against the Microsoft Windows 10 regression suite.  So technically, no. Regards, Mike
記事全体を表示
加速度センサの補正 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> アドバイスを求めて書いています。   私はセンサフュージョン開発キット( FRDM-FXS-MULT2-BとFRDM-K64F)とUSBケーブル付きのウィンドウ用ツールボックスを使用しています。   センサーを使用する前に、他の加速度センサでは正しい0gを見つけるためにオフセット補正が必要ですが、2回目の補正なしで補正値を取得できます。 例えば、低速、高速、インラインキャリブレーション   センサーフュージョン開発における加速度計はすでにキャリブレーション済みですか?補正はどのように進んでいますか?   よろしくお願いします。 センサ・フュージョン Re: Accelerometers compensation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> どうもありがとう Re: Accelerometers compensation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 一般的に言えば、いいえ、それは良いアプローチではありません。 表示されるエラーは、次の 3 つの原因によって発生します。 - 最大のものはオフセット誤差です - 2番目に大きいのはゲインエラーです - 最も小さいのは、1 つの軸の刺激が別の軸に影響を及ぼす交差軸誤差です。 30 mg のエラーは 3 つのエラーすべての結果であるため、単純なオフセット減算は一般に適切ではありません。 Re: Accelerometers compensation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 静止状態で加速度センサの生の値が(0, 0, 1.03)の場合 加速度センサのオフセットを修正するには、OFF_Zレジスタ(0x31)に-30mgを書き込むだけでいいのでしょうか? Re: Accelerometers compensation <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> これまでのほとんどのアプリケーションでは、センサー フュージョンに使用される加速度センサの追加キャリブレーションは不要であることがわかっています。工場出荷時の調整は非常に良好で、レイアウト後のオフセットは加速ノイズ項によって吸収されます。例外となるのは、可能な限り最善の慣性航法が必要な場合です。私は通常、純粋な慣性航法を信じていませんが、さまざまなワイヤレステクノロジと組み合わせると、精度を維持しながらバッテリーの使用量を削減できます。そのような場合に備えて、私たちは追加の(独自の)ルーチンをいくつか用意しています。しかし、これまでのところ、それらは必要ありませんでした。 よろしくお願いいたします。 Mike
記事全体を表示
MPXV2053DP 差圧センサ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは。当社の設計では MPXV2053DP 差圧センサを使用しています。この圧力センサは長方形の接続タイプです。このセンサはストレート接続タイプが必要です。利用可能なセンサがあれば教えてください。 圧力センサ Re: MPXV2053DP Differential Pressure sensor <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、シヴァさん 残念ながら、上記の機能を備えているデバイスはMPX2053DP - ユニボディ パッケージ (MPX2053 シリーズ)のみです。 この情報が皆様のお役に立てれば幸いです。 ご質問を誤解していた場合は、遠慮なくお知らせください。喜んでお手伝いさせていただきます。 素晴らしい一日をお過ごしください。 デビッド・ディアス。 Re: MPXV2053DP Differential Pressure sensor <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、デビッド。 ご返信ありがとうございます。 理解を深めるために写真を添付しました。 ストレート接続タイプの差圧圧力センサを教えてください。 ありがとうございます シヴァ Re: MPXV2053DP Differential Pressure sensor <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、シヴァラマンさん。 「この圧力センサは長方形の接続タイプです。」とはどういう意味かわかりません。「ストレート接続タイプのこのセンサーが必要です」とありますが、以下の回答では、MPXV2053DPの特性を持つ差圧センサーが必要であると想定していますが、ケース/パッケージが異なるため、間違っている場合はお知らせください。 データシートの 2 ページ目にあるように、MPX2053 差圧センサーにはさまざまなパッケージがありますが、圧力ポートがあるのは 2 つだけです (両方とも特性は同じで、唯一の違いはパッケージです)。 そのうちの 1 つ (部品番号 MPXV2053DP) は、側面に圧力ポートを備えた小型の SMD 長方形パッケージ (CASE 1351-01) である「スモール アウトライン パッケージ (SOP)」です。 もう 1 つ (部品番号 MPX2053DP) は「ユニボディ パッケージ」で、上部に圧力ポートが付いた、より大型の「スルー ホール」パッケージ (CASE 344C-01) です。 MPX2053DP のデータシートは次の場所にあります。 http://www.nxp.com/files/sensors/doc/data_sheet/MPX2053.pdf これが役に立つことを願います。 デイビッド。
記事全体を表示
MPXV2053DP Differential Pressure sensor Hi, We are using MPXV2053DP Differential Pressure sensor in our design. This pressure sensor is rectangular connecting type. We need this sensor with straight connecting type. please let me know any sensor available. Pressure Sensors Re: MPXV2053DP Differential Pressure sensor Hello Siva, Unfortunately, the only device that has the features mentioned is MPX2053DP - Unibody Package (MPX2053 Series). I hope this information will be useful for you. If I misunderstood your question, feel free to let me know.  I will be glad to help. Have a great day. David Diaz. Re: MPXV2053DP Differential Pressure sensor Hi David, Thanks for your reply. Here i have attached picture for better understanding. Please let me know any differential pressure sensor with straight connecting type. Thanks, Siva Re: MPXV2053DP Differential Pressure sensor Hello Sivaraman, I’m not sure what you mean with “This pressure sensor is rectangular connecting type. We need this sensor with straight connecting type”, but for my answer below I’m assuming that you need a differential pressure sensor with the characteristics of the MPXV2053DP, but in a different case/package, please let me know if I am wrong. There are different packages for the MPX2053 differential pressure sensor as can be seen in page 2 of the datasheet but only 2 have pressure ports (both have the same characteristics, the only difference is the package): One of them (part number MPXV2053DP) is precisely a “Small Outline Package (SOP)” which is a small SMD rectangular package (Case 1351-01) with the pressure ports on the side. And the other (part number MPX2053DP) is a “Unibody Package” which is a bigger and “through hole” package (case 344C-01) with the pressure ports on top.  Please find the MPX2053DP datasheet at: http://www.nxp.com/files/sensors/doc/data_sheet/MPX2053.pdf I hope this helps. David.
記事全体を表示
MPL3115A2 温度変換 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 MPL3115A2 の温度読み取り値 (OUT_T_MSB、OUT_T_LSB) を正確に変換する方法がわかりません。次の機能を検討してください: インライン静的浮動小数点rawTemperature2Float(const uint8_t* const rt) { 戻り値 ((float)((int8_t)rt[0])) + (((rt[1] >> 4) & 0x0F) * 0.0625f); } rt[0] = OUT_T_MSB、rt[1] = OUT_T_LSBです。 質問は、MSB の符号ビットによって小数部の処理方法も決まるか、それとも常に正の値になるかということです。提示された関数では、常に小数部分を追加しています。しかし、符号が負の場合は、それを減算する(または -1 を掛ける)必要があるでしょうか?関数は次のようになりますか? インライン静的浮動小数点rawTemperature2Float(const uint8_t* const rt) { 浮動小数点数 = ((rt[1] >> 4) & 0x0F) * 0.0625f; (rt[0] & 0x80)の場合 { frac *= -1; // バリアント #1 //frac = (1.0f - frac) * -1; // バリアント #2      } ((float)((int8_t)rt[0])) + fracを返します。 } もしそうなら、if のどの変種ですか? このアプローチでは同様の結果が得られます (すべてのビットが 2 の補数変換用にスレッド化されます)。 インライン静的浮動小数点rawTemperature2Float(const uint8_t* const rt) { int32_t temp = (((int32_t)rt[0]) << 4) | (rt[1] >> 4); if (温度 & 0x800) 温度 = (0x1000 - 温度) * -1; 戻り値 ((float)(temp)) / 16.0f; } 皆様のご助力に感謝いたします。 圧力センサ Re: MPL3115A2 temperature conversion <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、トーマスさん。ご回答ありがとうございます。 コード的には、あなたの方法は私が最後に試したものと同じで、うまくいきました。しかし、あなたのものの方が最適化されています。助かりました。これですべてが明らかになりました。 Re: MPL3115A2 temperature conversion <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ルカスさん。 返事が遅れたことをお詫び申し上げます。先週は出張しており、コミュニティの質問に回答する時間が限られていました。 私のコードでは次の式を使用します。 温度 = ( float ) (( short )((RawData[3] << 😎 | (RawData[4] & 0xF0)) >> 4) * 0.0625;   RawData[3] = OUT_T_MSB = FFおよびRawData[4] = OUT_T_LSB = F0の場合、-0.0625を取得する必要があります。 明日オフィスに戻ったら再度テストしますが、私の記憶が正しければ、0xFFF0 に対して実際には -0.0625 が得られました。 よろしくお願いいたします。 トーマス PS: この回答が質問の解決に役立った場合は、「正解」または「役に立った」とマークしてください。ありがとう。
記事全体を表示
mma8451& FIFO buffer Hi, I'm using the MMA8451 to make a tilt sensor. Everything is Arduino based using the classic ATmega328P. My intention is to use the FIFO buffer to get it full with 32 samples @ 800HZ in active mode without any sleep function. In the setup function I set the register like this:   writeRegister8(MMA8451_REG_CTRL_REG2, 0x40); // reset   while (readRegister8(MMA8451_REG_CTRL_REG2) & 0x40);   writeRegister8(MMA8451_REG_CTRL_REG1, 0x00);     // Standby mode (DEACTIVE) @ 800Hz   writeRegister8(MMA8451_REG_FIFO_SETUP, 0x60);    // FIFO in circular buffer. watermark set to 32   writeRegister8(MMA8451_REG_CTRL_REG2, 0x02);     // High resolution   writeRegister8(MMA8451_REG_CTRL_REG3, 0x02);     // push-pull active-high   writeRegister8(MMA8451_REG_CTRL_REG4, 0x40);     // FIFO interrupt enabled   writeRegister8(MMA8451_REG_CTRL_REG5, 0x40);     // Interrupt is routed to INT1 pin   writeRegister8(MMA8451_REG_CTRL_REG1, 0x01);     // Active mode and reduced noise mode. ODR = 800Hz   attachInterrupt(0, INT0_ISR, RISING);      // for the accelerometer FIFO register reading and at the beginning I have the interrupt where I would have to read all the 32 samples. void INT0_ISR() {   // For an I2C bit rate of 400 kHz, FIFORead(32) + 3 μs = 4.878 ms.   for (byte i=1; i<=OSR; i++)   {     // Read the 'raw' data in 14-bit counts     readAcceleration(&x, &y, &z);   } But anything works because I'm not able to get the buffer empty reading all the values. Basically the interrupt pin stays high forever. Even I tried to clear the flag interrupt without success   readRegister8(MMA8451_REG_INT_SOURCE);   readRegister8(MMA8451_REG_FIFO_STATUS); Then anyone is able to help me ? Thanks in advance to everyone who spends time for this. Accelerometers Re: mma8451& FIFO buffer Hi Alessio, I would recommend you to take a look at my example code. It is written for the FXLS8471, but it should be identical for the MMA8451Q. I hope it helps. Best regards, Tomas
記事全体を表示
About FXTH87 Family Hi I came across this product from your site when searching for sensors for tpms. https://www.nxp.com/products/sensors/pressure-sensors/tire-pressure-monitoring-sensors/high-pressure-tire-pressure-monitoring-sensor-tpms-family:FXTH8715 Please see the attached photo.I can't find it this way as a module.Can you help me? Have a good day Re: About FXTH87 Family Has the two-axis version of the FXTH8715 made it into a commercially available TPMS sensor?  Re: About FXTH87 Family Thank you very much for your reply. I think I will need a buyer to realize this project. How can I do that? Re: About FXTH87 Family Hi Yasin, This evaluation board is not sold via NXP website or distributors. It is usually provided free of charge by NXP TPMS Application team. In order to ask for the EVB, please create a standard ticket with the following information included: - Brief description of your application, estimated volume and start of production.  - Desired pressure (450kPa, 900kPa or 1500kPa) and desired frequency (315MHz or 434MHz).  - Name, address and phone number of the person who will receive the evaluation board + VAT number of the company. You can also download the gerber files (GRB-TPMS-FXTH871511-434 or GRB-TPMS-FXTH871511-315) from this website. Best regards, Tomas
記事全体を表示
在 -20 英寸汞柱 - 25 磅/平方英寸范围内使用哪种 NXP 压力传感器可以补偿海拔高度的变化? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 基本上,需要能测量 -20 英寸汞柱 - 25 磅/平方英寸范围内的真空和压力,并能对海拔高度进行补偿。范围可以扩大。至少 0.1 分辨率。 价格是一个因素,因为这将在生产板上使用。如果可能,输出范围为 0-4.7V。(可以选择数字化,但不是首选)。 我对压力传感器的了解不多。看来我可能需要通风设备?我们目前在设计中使用 MPXH6400,但它是密封的,据我所知,它不能补偿大气的变化。 请同时链接 3d STEP 模型。(我真希望知道你们是怎么找到这些东西的)。 干杯 -马特 压力传感器 Re: Which NXP pressure sensor to use for -20 in hg - 25 psi that will compensate for changes in altitude? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,马特、 对于延迟回复,我个人深表歉意。 当您说需要一个从-20 in hg 到 25 positive psi 的传感器时,您指的是从 -67.72 kPa 到 172.369 kPa,对吗?您是指 0 至 172.369 千帕吗?为什么使用不同的单位? 您可以参考以下建议: - MPXx4115 : -115 至 115kPa 真空集成压力传感器 -MPXx2200:差压、表压和绝对压力传感器(0 至 200kPa) 请告诉我是否理解了您的问题。我很乐意帮助您找到正确的设备。 此致, 戴维 Re: Which NXP pressure sensor to use for -20 in hg - 25 psi that will compensate for changes in altitude? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 请赶紧回复。 需要一个可在 -20 英寸汞柱至 25 正磅/平方英寸范围内工作的传感器。它必须是差分或仪表的(因为我们显示的是大气的升压/真空参考)。 我试过了 MPX4250DP,但只能达到 -2 英寸(.072v),这不适用于我们的设备。 先行致谢。 -马特 Re: Which NXP pressure sensor to use for -20 in hg - 25 psi that will compensate for changes in altitude? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 感谢大卫的回复!很抱歉,我认为我的问题歪曲了一些信息。 我想从 -20 in hg 到 25 psi。 例如,我想测量发动机的增压和真空度。 在这种情况下,MPX4250DP 可以工作吗? 感谢您发送 STEP 模型链接!!非常感谢。恩智浦 FTW 谢谢  -马特 Re: Which NXP pressure sensor to use for -20 in hg - 25 psi that will compensate for changes in altitude? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,马特、 感谢您的来信。 实际上,MPXH6400 是一种绝对压力传感器,这意味着压力施加在传感器的端口 P1 上,而传感器的端口 P2 是真空密封的参考。   通常,测量真空的一种方法是使用压差传感器,将压力侧(P1)置于大气压力下,并在真空侧(P2)施加真空压力。   您只需记住,要保持 P1> P2。       如果您需要使用大气压力作为参考,则可以使用表压传感器,例如: MPXV6115V、-115 至 0 kPa、压力表和绝对压力传感器。   请在此处找到有关推荐设备的更多信息。       关于您的最后一个请求,请通过以下链接查看恩智浦社区提供的 3D STEP 模型:   3D STEP 模型:一体式软件包箱 344-15 3D STEP 模型:带轴向单端口外壳的一体式软件包 867F-03 3D STEP 模型:带双侧端口的一体式封装外壳 867C-05 3D STEP 模型:带侧端口的一体式封装外壳 867B-04 3D STEP 模型:MPL3115a2 LGA 8 封装 3D STEP 模型:SSOP 轴向端口软件包 1317A 3D STEP 模型:SOP 双侧口封装_1351-01 3D STEP 模型:SOP 顶部侧端口包装_1369-01 3D STEP 模型:SOP 轴向端口封装_482A-01   希望这些信息对你有用。如果您需要更详细的信息,请告诉我。 此致, 戴维
記事全体を表示
MMA8452Q-单TAP/双击检测存在误触发信号问题 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好 我能够设置芯片以进行TAP或TAP-TAP检测,但我发现存在严重的误触发问题(仅通过摇动设备就会导致芯片产生点击或TAP事件)。 以下是我使用的寄存器配置: ODR=200Hz(芯片在低功耗电源模式下工作) LNOISE=1 启用降噪模式 (0x2A) PULSE_HPF_BYP=0; PULSE_LPF_EN=0 (0x0F) HPF 截止频率 =2Hz(0x0F) DPA=1,ELE=1 & 脉冲检测仅适用于 Z 轴 (0x21) PULSE_THSZ=1.5g(0X25) PULSE_TMLT=25ms (0X26) PULSE_LTCY=125ms (0X27) 脉冲风速=150ms (0X28) 此外,我还注意到 当 LNOISE=1 时,即使将 PULSE_THSZ 设置为 6.36g(规范),也很容易发生错误触发信号。提到的动态范围将减小到 4g)。 当 LNOISE=0 时,即使 PULSE_THSZ 设置为 7.938g,也很容易发生错误触发。 在我看来,脉冲检测算法中的 PULSE_THSZ 因子无法正常工作。 如果有人能帮助解决这个问题或给出任何建议,我将不胜感激。 谢谢! 约瑟夫 加速度传感器 Re: MMA8452Q - False Trigger Issue With Single/Double-Tap Detection <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,乔希、 感谢您的回复,很抱歉回复晚了。 我现在正在准备 CES 样品,之后会再来评估您的建议。 为了便于您参考,我们想在手表中添加TAP/TAP感应功能,这将用作按键输入,因此我们只关心来自人类的TAP/TAP输入。 有一款iOS应用程序可以记录100Hz的acc数据,它用于捕获TAP-TAP模式。 所以我做了 tap-tap 模拟,我观察到了 3 件事: 1) 单次TAP的持续时间为 < 50ms 2) 2 个 TAP 之间的间隔约为 180 毫秒 3) 点击时跳跃的脉冲约为 1.5g 这就是选择这些值的原因。 你有没有试过自己,看看无论为 PULSE_THS 设置了什么值(必须低于 8g),单次 TAP 都很容易出现错误触发? 谢谢! 约瑟夫 Re: MMA8452Q - False Trigger Issue With Single/Double-Tap Detection <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,肖恩-吴、 您可以通过将 1 写入 PULSE_CFG 寄存器 (0x21) 的 DPA 位来暂时禁用双击检测,但不幸的是,您无法瞬时禁用单脉冲检测。 您可以将 xdpeFE(启用双脉冲事件标志)设置为检测双脉冲,_OR_ xSpefe(启用单脉冲事件标志),但不能同时设置两者。设置这两个位与只设置 xSPEFE 位的效果相同。也就是说,在给定的轴上,你必须事先决定你是在寻找单脉冲还是双脉冲。 如果您同时需要两者,则需要读取状态寄存器以确定是否设置了双脉冲状态寄存器,否则无法检测事件是单TAP还是双击。 希望对您有帮助! 乔希 Re: MMA8452Q - False Trigger Issue With Single/Double-Tap Detection <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 亲爱的先生 我尝试了6.3配置,以启用单击和双击。当我双击时,它会检测到单点TAP然后检测到双击(SRC_PULSE 两次将是 1)。 当我只想检测双击时如何避免点击,而且我还需要单点点击功能。 谢谢。 BR、 肖恩-吴 Re: MMA8452Q - False Trigger Issue With Single/Double-Tap Detection <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,约瑟夫、 感谢您使用我们的社区。我注意到的问题是你在脉冲之间设置的时间间隔很短(125mS),而且 PULSE_WIND 非常短(150mS)而且阈值很小,这就是为什么很容易触发双击。你的应用程序是什么?这些时间需要吗? 我建议您尝试配置 6.2,如下文第 15 页所示: http://cache.freescale.com/files/sensors/doc/app_note/AN4072.pdf 启用双击检测功能后,您可以对其进行自定义。 希望对你有所帮助。 乔希
記事全体を表示
MMA8452Q - False Trigger Issue With Single/Double-Tap Detection Hello, I am able to setup the chip for tap or tap-tap detection, but I found there was serious false trigger issue (simply by shaking the unit will cause the chip to generate tap or tap-tap event). Here is the register configuration I am using: ODR=200Hz (chip work in low power mode) LNOISE=1 reduced noise mode enabled (0x2A) PULSE_HPF_BYP=0; PULSE_LPF_EN=0 (0x0F) HPF cutoff freq.=2Hz (0x0F) DPA=1, ELE=1 & pulses detection for Z axis only (0x21) PULSE_THSZ=1.5g (0X25) PULSE_TMLT=25ms (0X26) PULSE_LTCY=125ms (0X27) PULSE WIND=150ms (0X28) In addition, I observed that: When LNOISE=1, it is very easy for the false trigger to happen even when PULSE_THSZ is set to 6.36g (the spec. mentioned the dynamic range will be reduced to 4g). When LNOISE=0, it is very easy for the false trigger to happen even when PULSE_THSZ is set to 7.938g. It seems to me that the PULSE_THSZ factor in the pulse detection algorithm is not working correctly. I appreciate if someone could help to solve the problem or give any suggestion. Thank You! Joseph Accelerometers Re: MMA8452Q - False Trigger Issue With Single/Double-Tap Detection Hello Josh, Thank you for your reply and sorry for the late respond. I am now preparing the CES samples and will come back to evaluate your suggestion after that. For your information, we want to add the tap/tap-tap sensing to a watch and this will act as a key input, so we just care about tap/tap-tap input from human. There is an iOS apps which can log the acc data at 100Hz and this is used to capture the tap-tap pattern. So I did the tap-tap simulation and I observed 3 things: 1) the duration of a single tap is <50ms 2) the separation between the 2 taps is ~180ms 3) the pulse that jump up at the moment of tapping is ~1.5g These are the reasons those values are chosen. Did you ever try yourself and see no matter what value (have to be under 8g) is set for PULSE_THS, it is very easy to get false trigger with single tap? Thank you! Joseph Re: MMA8452Q - False Trigger Issue With Single/Double-Tap Detection Hello Sean Wu, You can momentary disable double tap detection by writing 1 into the DPA bit into the PULSE_CFG register (0x21) but, unfortunately, you cannot momentary disable single pulse detection. You can either set xDPEFE (Double Pulse Event Flag Enable) to detect double pulses, _OR_ xSPEFE (Single Pulse Event Flag Enable) but not both. Setting both bits has the same effect as setting xSPEFE bit only. i.e. on a given axis, you must decide beforehand whether you are looking for a single pulse or a double pulse. If you need both at the same time, you would need to read the status register to determine if the double pulse status register is set or not, otherwise there is no way to detect if the event was a single or double tap. Hope it helps! Josh Re: MMA8452Q - False Trigger Issue With Single/Double-Tap Detection Dear sir,     I tried the configuration 6.3 to enable single and double tapping. When I double tap, it will detect single tap and then detect double tap(SRC_PULSE will be 1 twice). How to avoid the single tap when I just want to detect double tap, and I also need the single tap feature. Thanks. BR, Sean Wu Re: MMA8452Q - False Trigger Issue With Single/Double-Tap Detection Hello Joseph, Thanks for using our community. The problem that I noticed is that you’re setting a very short time period between the pulses (125mS), also the PULSE_WIND is very short (150mS) and the threshold is very small, that’s why is very easy to trigger a double tap. What is your application? are those time required? I would recommend you to try configuration 6.2, shown in page 15 of the following document: http://cache.freescale.com/files/sensors/doc/app_note/AN4072.pdf Once you have the Double Tap detection working you can customize it. Hope it helps. Josh
記事全体を表示
Which NXP pressure sensor to use for -20 in hg - 25 psi that will compensate for changes in altitude? Basically, needing something that will measure vacuum and pressure in the -20 in hg - 25 psi range, and will also compensate for altitude. The range can be expanded. At least 0.1 resolution. Price is a factor as this will used on a production board. 0-4.7v output range if possible. (Digital is an option but not preferred) My pressure sensor knowledge is not that great. Seems I may want vented? We currently use the MPXH6400 in our design but it is sealed, which from what I can tell does not compensate for changes in atmosphere. Please also link the 3d STEP model as well. (I wish I knew how you guys were finding these) Cheers! -Matt Pressure Sensors Re: Which NXP pressure sensor to use for -20 in hg - 25 psi that will compensate for changes in altitude? Hello Matt, I have to personally apologies for the delayed response. When you say that you need a sensor to work from -20 in hg up to 25 positive psi you mean from -67.72 kPa to 172.369 kPa right? Do you mean 0 to 172.369 kPa? Why are you using different units? You may refer to the suggestions below: - MPXx4115: -115 to 115kPa Vacuum Integrated Pressure Sensor - MPXx2200: Differential, Gauge and Absolute Pressure Sensor (0 to 200kPa) Please let me know if I understood your question. I will be glad to help you finding the correct device. Regards, David Re: Which NXP pressure sensor to use for -20 in hg - 25 psi that will compensate for changes in altitude? Bump for reply please. Need a sensor that will work from -20 in hg up to 25 positive psi. It needs to be differential or gauge (because we are showing boost/vac reference to atmosphere. I tried the MPX4250DP and will only go to -2 inhg (.072v), which will not work for our device.  Thanks in advance. -Matt Re: Which NXP pressure sensor to use for -20 in hg - 25 psi that will compensate for changes in altitude? Thank you David for your reply! I am sorry my question I think misrepresented some information. I am looking to go from -20 in hg through 25 psi. For example, I want to measure an engine in both boost and vacuum.  Would the MPX4250DP work in this case?  Thanks for sending over those STEP model links!! Greatly appreciated. NXP FTW Thanks  -Matt Re: Which NXP pressure sensor to use for -20 in hg - 25 psi that will compensate for changes in altitude? Hello Matt, Thank you for writing. Indeed, the MPXH6400 is an absolute pressure sensor, which means that pressure is applied on Port P1 of the sensor while the Port P2 of the sensor is a vacuum sealed reference.   Usually, one way to measure vacuum would be using a differential pressure sensor leaving pressure Side (P1) at atmosphere pressure and applying vacuum pressure at Vacuum Side (P2).   You just have to keep in mind that to keep P1 > P2.       If you need to use the atmospheric pressure as a reference, you may use a gauge pressure sensor such as: MPXV6115V, -115 to 0 kPa, Gauge, and Absolute Pressure Sensor.   Please find more information about the device recommended here.       In regard with your last request, please review the 3D STEP models from the NXP communities at the following links:   3D STEP model: Unibody Package Case 344-15 3D STEP model: Unibody Package with Axial Single Port Case 867F-03 3D STEP model: Unibody Packge with Dual Side Port Case 867C-05 3D STEP model: Unibody Packge with Side Port Case 867B-04 3D STEP model:MPL3115A2 LGA 8 Package 3D STEP model: SSOP Axial Port Package 1317A 3D STEP model: SOP Dual Side Port Package_1351-01 3D STEP model: SOP Top Side Port Package_1369-01 3D STEP model: SOP Axial Port Package_482A-01   I hope this information will be useful for you. Please let me know if you need more detailed information. Regards, David
記事全体を表示
Getting started with MPXV6115V for Arduino I've just received a MPXV6115V and am trying to use it to measure internal pressure of a suction device. There doesn't seem to be any resources on how to use this with an Arduino so I wanted to ask if anyone could provide a link to some example code or help with setting this sensor up? Thanks Re: Getting started with MPXV6115V for Arduino Hi James, It should be easy to connect this sensor to Arduino boards. It is a 5V, temperature compensated and calibrated vacuum pressure sensor. The full-scale output (no pressure difference between P1 and P2) is typ. 4.6V and the output is 38.26mV per kPa. Considering Arduino's typical 10-bit ADC powered at 5V, each ADC step corresponds to ~4.88mV (5V/1024) or 127.5Pa.   The pins are numbered as follows: So connect Arduino 5V to sensor pin 2. Arduino GND to sensor pin 3. Arduino analog input (for example A0) to sensor pin 4. Read the analog value and write it to the serial monitor: http://arduino.cc/en/Tutorial/ReadAnalogVoltage  If that is working, you can start to calculate the actual pressure. Hope it helps. Best regards, Tomas
記事全体を表示