Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
reliability data MPX4250 Hello We are using one of your components (MPX4250) in our designs. We do our calculations with data from studies of the components HTOL.May we have its reliability data (FIT, MTBF,...)? Thank you and best regards, Fernando López Bolós Indra Systems - Torrejon de Ardoz (Madrid, España) Ctra de Loeches 9 28850 +34 916271190 Pressure Sensors Re: reliability data MPX4250 Hello Fernando, Thank you very much for writing. In order to provide you the material requested, please submit a new case at the NXP web page. To submit a case, you need to log in to our NXP website and once log in, click on this link https://nxpcommunity.force.com/community/. It will redirect you to the case portal and you'll be able to submit the case. Please let me know if you have any further question. Saludos, David
View full article
你好,有没有办法保存 mma995xl 传感器模块的 i2c 免费可编程从属地址? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,有没有办法保存 mma995xl 传感器模块的 i2c 免费可编程从属地址? 加速度传感器 Re: Hi, is there a way to save the i2c free programmable slave address of MMA995xL sensor module ? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 好的,谢谢、 一种可能性是以编程方式执行此操作 " ":即添加一个在 MMA9550L 初始化期间更改从属端口地址的自定义应用程序(参见 mma955xl 硬件参考手册第 108 页中的 SP_ADDR 寄存器)。有关开发自定义用户应用程序的信息,请参阅 AN4129。 再见,雅克 Re: Hi, is there a way to save the i2c free programmable slave address of MMA995xL sensor module ? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> MMA9550L 谢谢! Re: Hi, is there a way to save the i2c free programmable slave address of MMA995xL sensor module ? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,恩里科、 是的,这应该是可行的。不过,我们需要您提供更多信息,更具体地说,您考虑的是哪个版本(MMA9550、MMA9551、MMA9553、MMA9555、MMA9559......),因为它们的固件不同,可能是限制因素。 再见,雅克
View full article
MMA8652 : 過渡割り込み閾値 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 親愛なるコミュニティの皆様 過渡割り込みしきい値を考慮します。 以下のようにレジスタ値を設定する場合、 一時割り込みはいつ発生しますか? 0x1F:TRANSIENT_THSレジスタTHS[6:0]を000_0000bに設定します。 0x1D:TRANSIENT_CFG レジスタ HPF_BYP を 1 に設定します。 過渡割り込みトリガーポイント値はどれですか? 「ゼロ G 以上」か「ゼロ G より大きい」か? よろしくお願いします、 坂上公一 加速度センサ Re: MMA8652 : Transient interrupt threshold value <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 光一様 最小しきい値解像度は 0.063g (TRANSIENT_THS = 0x01) です。当社の加速度センサはどれもこれより高い解像度を提供しません。 よろしくお願いいたします。 トーマス Re: MMA8652 :  Transient interrupt threshold value <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> トーマス様 お返事ありがとうございます。 > このような設定は何の役に立つのでしょうか? 0.063g 未満の過渡現象を検出したいと思います。 よろしくお願いします、 坂上公一 Re: MMA8652 : Transient interrupt threshold value <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 光一様 このような設定は何の役に立つのでしょうか?加速度が 0g を超えると割り込みが発生します。 よろしくお願いいたします。 トーマス
View full article
FXAS21002 显示 WHO_AM_I 为 0 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 您好。 我正在通过 I2C 接口查询 FXAS21002 陀螺仪的 WHO_AM_I 寄存器。以下是逻辑分析仪的屏幕截图。 在我看来有点奇怪的是,在传送第 9 位(ACK)后,SDA 在寄存器地址传送前的一段时间内没有变为高电平。这可能是我面临的问题吗? 如果没有,问题出在哪里? 非常感谢您。 陀螺仪 Re: FXAS21002 gives WHO_AM_I as 0 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,托马斯。 谢谢。你说得对。重复启动其实才是问题所在。看来 Raspberry Pi3 无法正确处理它。 此致敬礼, 埃夫西米奥斯 Re: FXAS21002 gives WHO_AM_I as 0 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,埃夫西米奥斯、 我想问题是你在第二个字节 (0x0C) 之后发送停止条件(SDA 从低到高的转换,而 SCL 为高电平),而不是发送重复的启动条件。因此,请尝试修改源代码,使 SDA 在 SCL 变为高电平之前过渡到高电平,以消除停止条件。 希望对你有所帮助。 顺祝商祺! 托马斯
View full article
タレ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 私たちはすでにいくつかのプロジェクトで Freescale センサ Fusion ライブラリを使用しています。現在、デバイスを人体やゴーグルにポジショニングした後、そのデバイスの風袋引きを行う必要があります。風袋引きとは、軸を被写体またはゼロ参照フレームに配置した後、軸が (0,0,0) になるように再配置することを意味します。V5.0 Fusion ライブラリの「参照フレーム」機能について読みましたが、これが本当に必要な機能であるかどうかはわかりません。これを行う最も簡単/最良の方法について何か提案はありますか...以下の詳細な説明を参照してください...VN-100 の側面は無視してください。これは必要とされるかなり一般的な機能だと思います...   次に、Fusion Library ドキュメントのセクション 3.4 に記載されている参照がいくつかあり、アクセスできません。「権限がありません」と表示されます。 http://blogs.freescale.com/iot/2012/10/orientation-representations-part-1/ そして、 http://blogs.freescale.com/sensors/2013/01/orientation-representations-part-2/ よろしくお願いいたします。 フランク センサ・フュージョン Re: Tare <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> フランク、 「Tare」機能のリクエストに応える前に、もう少し調査する必要があります。同意します。これはキット内の FoR 機能と同等ではありません。しかし、それは実行可能だと思います。おそらく、現在のライブラリの上に四元数計算が少し追加されるでしょう。もっと詳しい参考資料はありますか? 2 つのリンクに関しては、確かに、Freescale のブログが新しい NXP に正常に転送されないという問題が発生しました。私はまだその問題に取り組んでいるところです。その間に、両方を PDF に保存し、しばらくして別のエントリに投稿します。 よろしくお願いいたします。 Mike
View full article
Accel offset computation using 6 orientations I am trying to do an offset calibration of the MMA8451 using the six position test. According to AN4069, I should compute the offsets using the average of four 0g positions or the midpoint of the -1g and  1g positions. Why not average all six readings? Accelerometers
View full article
RFなしでFRDM-KW01評価ボードを使用してFXTH87からデータを取得しますか? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは。私は MCU プログラミングの初心者ですが、RF なしで FRDM-KW019032 を搭載した FXTH87 評価ボードからデータを取得できるかどうかを知りたいです。可能であれば、従うべき文書はありますか?どうすれば管理できますか?すべての例は、RF を使用してデータを取得することについてです。 アテシュ Re: Get data from FXTH87 with FRDM-KW01 evaluation board without RF? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、アテシュさん FXTH87 にはハードウェア SPI または C ブロックがないため、FXTH87 はソフトウェア SPI またはソフトウェア IIC を使用して別の MCU に情報を転送できます。 圧力/温度測定と SPI/IIC 転送をトリガーする方法はいくつかあります。たとえば、FXTH PWU ブロックを使用して定期的なウェイクアップによってトリガーしたり、FXTH GPIO の割り込みをトリガーする外部信号 (FXTH87 の KBI ブロックを使用) によってトリガーしたりできます。ただし、現在これを説明するコード例やドキュメントは存在しません。 よろしくお願いいたします。 トーマス
View full article
Get data from FXTH87 with FRDM-KW01 evaluation board without RF? Hi, I'm new to MCU programming and I want to know if getting data from FXTH87 evaluation board with FRDM-KW019032 without RF is possible. If it is possible, is there a document that I can follow? How can I manage it? All of the examples are about getting the data with RF. Ateş Re: Get data from FXTH87 with FRDM-KW01 evaluation board without RF? Hi Ateş, The FXTH87 can transfer information to another MCU using software SPI or software IIC, as there is no hardware SPI or C block in the FXTH87. There are several ways to trigger the Pressure/Temperature measurement and SPI/IIC transfer: for example, it can be triggered by a periodic wake up using the FXTH PWU block or by an external signal triggering an interrupt on a FXTH GPIO (using the KBI block of the FXTH87). However, currently there is no code example/document illustrating this available. Best regards, Tomas
View full article
MPX5700 安装时的最高温度 关于 MPX5700 传感器在焊炉中能承受的最高温度是多少? 我想将一块印刷电路板在 240°C 下烘烤 60 分钟。 这会损坏传感器吗? 数据表显示,它支持最高 125°C 的工作温度,我只是想在高温下焊接它,但使用温度不会太高。 Re: MPX5700 maximum temperature for mounting 谢谢 Tomas! Re: MPX5700 maximum temperature for mounting 你好,若昂、 正如您在本网站或AN3150 中看到的,MPX5700 在高于 220°C 的温度下暴露的时间不应超过 30 秒。 顺祝商祺! 托马斯
View full article
shelf life of MPX2300DT1 Hi. We are using the MPX2300DT1. Is anyhting known about the shelf life (limitations)? Is especially the gel coating susceptible to aging? Thanks in advance. Pressure Sensors Re: shelf life of MPX2300DT1 Hello Mathijs, NXP is not able to commit on life time of its pressure sensors, life time which is related to the operating environment and usage of the sensor. We do not recommend all our sensor to become in direct contact with any kind of liquid substance or corrosive gases which would damage the gel and cause the sensor to become out of specification. The strain gauge and the electronic circuitry for calibration and compensation are protected by a nitride layer but the aluminum bonding pads which provide electrical connections between the leadframe and the gauge are not protected, in order to make the bonding feasible. The complete die is also protected with a silicone gel. This gel is not fully hermetic, although we use much better gel for our newer types of pressure sensors, water or any other fluid can penetrate the gel and can reach the die.                     When the sensor die is in contact with water e.g., oxydoreduction reactions between Al/Al3+ and water start as soon as the sensor is biased. After some working hours, or maybe days, the aluminum pad of the supply pin is definitely destroyed, so that an open circuit on the Vcc pin occurs. This is an aluminum corrosion phenomena. But the corrosion phenomena is stopped when the sensor supply voltage is switched off. There are also some other failure causes like galvanic corrosion, but the Mean Time To Failure (MTTF) due to these other causes much longer than the MTTF caused by electrocorrosion of the Vcc pad. Therefore electrocorrosion is the major failure cause, and they are permanent. However, as you may know, our products are used in washing machine applications, which would expose the gel to a humid environment. In these applications, the device is located at the top of a measurement tube - so water level is indirectly measured through the water pushing a trapped air column up to the sensor. As you can see, the sensor does not have direct contact with water, but is separated by the air column. I would like to refer to the following application notes in case they are useful for you: AN1950: Water Level Monitoring AN1516: Liquid Level Control Using a Pressure Sensor We have also an application note about media compatibility: AN3728: Media Compatibility for IPS PRT Pressure Sensors 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. PS: If my answer helps to solve your question, please mark it as "Correct". Thank you.
View full article
传感器融合培训视频 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 所有、 我最近完成了一系列传感器融合库的培训视频。 您可以通过下面的链接访问它们。 尽情享受! Mike 1.轮换简介 2.旋转矩阵 3.四元数介绍 4.四元数旋转操作符 5.运动传感器简介 6.恩智浦传感器融合库简介 7.用于 Windows 的传感器融合工具箱 8.安卓传感器融合工具箱 9.开发工具和库 10.传感器融合库结构& 各种血腥细节 11.传感器融合代码审查 12。参考框架 13.磁校准 14.倾斜 电子罗盘& 虚拟陀螺仪 15.卡尔曼滤波器 传感器融合 Re: Sensor Fusion Training Videos <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 非常感谢!我从这些视频中学到了很多!我想向客户介绍,但我找不到 nxp 主页的链接。您能帮忙检查一下吗?
View full article
压差传感器适用于柴油还是石油燃料介质? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我正试图开发一个油位监测数据采集系统,因此我选择了 MPX2053 和类似的传感器,用于测量油箱中最多 4 米的油位高度。 我想知道的是,这些压差传感器是否适用于柴油和/或石油燃料? 如果没有,您能否建议我在应用中可以使用哪些替代传感器或方法? 一种选择是使用基于不锈钢的差压发射器(4 至 20 mA 输出)并将其连接到我的系统。这是一个现成的解决方案,但与基于离散传感器的系统相比,成本非常高。因此,我更倾向于使用恩智浦/飞思卡尔的传感器,因为我以前在不同的应用中使用过同样的传感器。 谢谢! 此致, Zeeshan 压力传感器 Re: Are the differential pressure sensors suited to be used with diesel or petro fuel mediums ? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,齐斯汉 请注意,对于所有恩智浦标准压力传感器产品,除干燥空气外的任何环境都会对产品的可靠性和使用寿命产生一定影响。恩智浦硅压力传感器与油、气、汽油、水或水蒸汽或化学品不兼容。 必须确定这种影响是否可以接受。这就意味着不能将我们的压力传感器用于可能与上述介质直接接触的应用中。工作一段时间后,设备可能会出现故障。 除了提供的信息和解决方案外,我想参考以下值得考虑的**应用笔记**: 1.AN3728:IPS PRT 压力传感器的介质兼容性 2.AN1516:使用压力传感器进行液位控制 3.AN1950:水位监测 希望这些信息对你有用。 如果我误解了你的问题,请随时告诉我。 我很乐意提供帮助。 祝您有美好的一天。 戴维-迪亚兹 PS:如果我的回答有助于解决您的问题,请标记为"正确" 。谢谢。
View full article
How to use on-board Accelerometer of FRDM-K-22F ? I am using FRDM-K22-F .it has on-board accelerometer FXOS8700CQ.I want to use it to read x,y,z axis information fro my application.Plz help me if anybody have done it ... Accelerometers Sensing Platforms Re: How to use on-board Accelerometer of FRDM-K-22F ? Hi Jagir, Please look at the FRDM-K22F-QSP Quick Start Package example that can be found at: FRDM-K22F|Freedom Development Board|Kinetis|Freescale Regards, David
View full article
How to understand the interrupt vectors of NTM88 Hello,everyone How does the user application interrupt vectors of NTM88 work? have any re-direct operation to make the vectors valid? so the irq fucntion in user code can be used. I want figure this out so I read the bootloader examples of NTM88 from NXP. I just find that: if (gu8BootAppMode == MODE_APP) (*USER_APP_INTERRUPT_TABLE[15])(); // JUMP TO USER APP main_app() Only the main function of app code is called. It's not a irq function and not called by a real IRQ. Who can help to explain this problem? Thanks Best regards Re: How to understand the interrupt vectors of NTM88 Hello Tomas. Thanks for you reply. I will check the AN5149. Best regards Frank Hill Re: How to understand the interrupt vectors of NTM88 Hi Frank, In the bootloader project, memory is divided into two sections: The bootloader section, which is always present and has a valid content (because it is never erased nor overwritten). The application section, which is not always present and not always valid (in case of issue during OTA reprogramming). After reset, the programs jumps into the main located bootloader section by default, and when an interrupt occurs the program accesses the interrupt vectors which are located in the bootloader section. Then, only if the application section is valid (i.e. program is in application mode) then the program jumps into the application (main_app) and application interrupt vectors. The program does not access the application section by default because it does not always have a valid content. This is illustrated in Figures 4 and 5 of the AN5149. Best regards, Tomas
View full article
how can i test Fusion Library ? hi im trying to port nxp fusion library to another MCU i did download sdk that have issdk in it  till now i dont have any sensor so i want to feed fusion library some data to see if it calculate right or not this is my feedeing value function like // sfg = pointer to top level (generally global) data structure for sensor fusion int8_t FXAS21002_Init(struct PhysicalSensor *sensor, SensorFusionGlobals *sfg) {     sfg->Gyro.iFIFOCount=0;     sensor->isInitialized = F_USING_GYRO;     sfg->Gyro.isEnabled = true;     return SENSOR_ERROR_NONE; } // read FXAS21002 gyro over I2C int8_t FXAS21002_Read(struct PhysicalSensor *sensor, SensorFusionGlobals *sfg) {     int16_t     sample[3];     // place the measurements read into the gyroscope buffer structure     sample[CHX] = 200;     sample[CHY] = 100;     sample[CHZ] = 100;     conditionSample(sample);  // truncate negative values to -32767     addToFifo((union FifoSensor*) &(sfg->Gyro), GYRO_FIFO_SIZE, sample);           return SENSOR_ERROR_NONE; } // sfg = pointer to top level (generally global) data structure for sensor fusion int8_t FXOS8700_Init(struct PhysicalSensor *sensor, SensorFusionGlobals *sfg) {     sfg->Accel.iFIFOCount=0;     sensor->isInitialized = F_USING_ACCEL;     sfg->Accel.isEnabled = true;     return SENSOR_ERROR_NONE; } // read FXAS21002 gyro over I2C int8_t FXOS8700_Read(struct PhysicalSensor *sensor, SensorFusionGlobals *sfg) {     int16_t     sample[3];     // place the measurements read into the gyroscope buffer structure     sample[CHX] = 300;     sample[CHY] = 100;     sample[CHZ] = 100;     conditionSample(sample);  // truncate negative values to -32767     addToFifo((union FifoSensor*) &(sfg->Accel), ACCEL_FIFO_SIZE, sample);           return SENSOR_ERROR_NONE; } // sfg = pointer to top level (generally global) data structure for sensor fusion int8_t MPL3115_Init(struct PhysicalSensor *sensor, SensorFusionGlobals *sfg) {     sfg->Mag.iFIFOCount=0;     sensor->isInitialized = F_USING_MAG;     sfg->Mag.isEnabled = true;     return SENSOR_ERROR_NONE; } // read FXAS21002 gyro over I2C int8_t MPL3115_Read(struct PhysicalSensor *sensor, SensorFusionGlobals *sfg) {     int16_t     sample[3];     // place the measurements read into the gyroscope buffer structure     sample[CHX] = 100;     sample[CHY] = 100;     sample[CHZ] = 200;     conditionSample(sample);  // truncate negative values to -32767     addToFifo((union FifoSensor*) &(sfg->Mag), MAG_FIFO_SIZE, sample);           return SENSOR_ERROR_NONE; } ‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍ and then in the rest of main.c // Global data structures SensorFusionGlobals sfg;                ///< This is the primary sensor fusion data structure struct ControlSubsystem controlSubsystem;      ///< used for serial communications struct StatusSubsystem statusSubsystem;        ///< provides visual (usually LED) status indicator struct PhysicalSensor sensors[3];              ///< This implementation uses up to 3 sensors registerDeviceInfo_t i2cBusInfo ; typedef struct _ARM_DRIVER_I2C {   char navid;                                                               ///< Pointer to \ref ARM_I2C_GetStatus : Get I2C status. } const ARM_DRIVER_I2C; int main(){      ARM_DRIVER_I2C* I2Cdrv ;;   // defined in the .h file            initializeControlPort(&controlSubsystem);                           // configure pins and ports for the control sub-system   initializeStatusSubsystem(&statusSubsystem);                        // configure pins and ports for the status sub-system   initSensorFusionGlobals(&sfg, &statusSubsystem, &controlSubsystem); // Initialize sensor fusion structures            sfg.installSensor(&sfg, &sensors[0], 0,  1, (void*) I2Cdrv, &i2cBusInfo, FXOS8700_Init,  FXOS8700_Read);      sfg.installSensor(&sfg, &sensors[1], 0, 1, (void*) I2Cdrv, &i2cBusInfo, FXAS21002_Init, FXAS21002_Read);      sfg.installSensor(&sfg, &sensors[2], 0,   1, (void*) I2Cdrv, &i2cBusInfo, MPL3115_Init,   MPL3115_Read);            sfg.initializeFusionEngine(&sfg);             // This will initialize sensors and magnetic calibration                                    int i = 0 ;            while(1){                      sfg.readSensors(&sfg, 1);           // Reads sensors, applies HAL and does averaging (if applicable)     sfg.conditionSensorReadings(&sfg);  // magCal is run as part of this     sfg.runFusion(&sfg);                // Run the actual fusion algorithms     sfg.applyPerturbation(&sfg);        // apply debug perturbation (testing only)     sfg.loopcounter++;                  // The loop counter is used to "serialize" mag cal operations          } }‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍ u see data that i feed is in sample variable in each sensor read function  when i watch sfg. SV_9DOF_GBY_KALMAN  all of the parameter is zero what valuse should i feed in accel and mag and gyro to see if it work right . do u have any sample to give me so i can try with it? my build.h  #define F_USING_ACCEL           0x0001  ///< nominally 0x0001 if an accelerometer is to be used, 0x0000 otherwise #define F_USING_MAG             0x0002  ///< nominally 0x0002 if an magnetometer  is to be used, 0x0000 otherwise #define F_USING_GYRO            0x0004  ///< nominally 0x0004 if a gyro           is to be used, 0x0000 otherwise #define F_USING_PRESSURE        0x0000  ///< nominally 0x0008 if altimeter        is to be used, 0x0000 otherwise #define F_USING_TEMPERATURE     0x0000  ///< nominally 0x0010 if temp sensor      is to be used, 0x0000 otherwise #define F_ALL_SENSORS           0x001F  ///< refers to all applicable sensor types for the given physical unit #define F_1DOF_P_BASIC             0x0000     ///< 1DOF pressure (altitude) and temperature algorithm selector  - 0x0100 to include, 0x0000 otherwise #define F_3DOF_G_BASIC             0x0200     ///< 3DOF accel tilt (accel) algorithm selector                   - 0x0200 to include, 0x0000 otherwise #define F_3DOF_B_BASIC             0x0400     ///< 3DOF mag eCompass (vehicle/mag) algorithm selector           - 0x0400 to include, 0x0000 otherwise #define F_3DOF_Y_BASIC             0x0800     ///< 3DOF gyro integration algorithm selector                     - 0x0800 to include, 0x0000 otherwise #define F_6DOF_GB_BASIC             0x1000     ///< 6DOF accel and mag eCompass algorithm selector               - 0x1000 to include, 0x0000 otherwise #define F_6DOF_GY_KALMAN        0x2000     ///< 6DOF accel and gyro (Kalman) algorithm selector              - 0x2000 to include, 0x0000 otherwise #define F_9DOF_GBY_KALMAN     0x4000     ///< 9DOF accel, mag and gyro algorithm selector                  - 0x4000 to include, 0x0000 otherwise ‍‍‍‍‍‍‍‍‍‍‍‍‍ thanks allot SensorFusion
View full article
Problem with FXOS8700CQ and FXAS21002 operating together Hello All, I have managed to get both sensors generate data ready interrupts, routed at INT2 pin of each sensor, with active low polarity. I am using a TM4C123 processor, with I2C3 connected to the gyro sensor, and I2C0 connected to accelmag sensor. Here are my ISRs: // gyro interrupt service routine void gyro_isr(void) {     MAP_GPIOPinWrite(GPIO_PORTA_BASE, GPIO_PIN_2, GPIO_PIN_2);     if(GPIOIntStatus(GPIO_PORTD_BASE, true) & GPIO_PIN_3) {         GPIOIntClear(GPIO_PORTD_BASE, GPIO_PIN_3);         gyro_data_ready = true;     }     GPIOIntStatus(GPIO_PORTD_BASE, false);     MAP_GPIOPinWrite(GPIO_PORTA_BASE, GPIO_PIN_2, 0x00); } // accelmag interrupt service routine void accelmag_isr(void) {     MAP_GPIOPinWrite(GPIO_PORTA_BASE, GPIO_PIN_3, GPIO_PIN_3);     if(GPIOIntStatus(GPIO_PORTB_BASE, true) & GPIO_PIN_5) {         GPIOIntClear(GPIO_PORTB_BASE, GPIO_PIN_5);         accelmag_data_ready = true;     }     GPIOIntStatus(GPIO_PORTB_BASE, false);     MAP_GPIOPinWrite(GPIO_PORTA_BASE, GPIO_PIN_3, 0x00); } And in my main loop: while(1) {     if(gyro_data_ready) {         GyroGetData(FXAS21002C_ADDRESS, &gyroRD);         gyro_data_ready = false;     }     if(accelmag_data_ready) {         AGGetData(FXOS8700_ADDRESS, &accelRD, &magRD);         accelmag_data_ready = false;     } } The system works, interrupts are generated, triggers the ISR's and data is read. But after a while, the accelmag sensor fails to deassert the interrupt. Thus never read again. Here is a scopecap of the failure: The top 4 (D0 to D3) is the gyro sensor, D0: interrupt D1: PA2, D2: SCL3, D3: SDA3 The bottom 4 (D4 to D7) is the accelmag sensor, D4: interrupt, D5: PA3, D6: SCL3, D7: SDA3 This is just where the accelmag sensor stops responding, near to the end, the interrupt line falls at D4, you see the spike at D5, and I2C data transfer takes place, but the interrupt line is never de-asserted again. The spikes indicate entering and exiting of the ISR. My aim is to syncronize the sensors. For making calculations to get orientation from gyro, accelmag with extended kalman filtering, it is of great importance that the dt does not jitter. At first I was reading gyro's data_ready interrupt, and then reading the accelmag sensor, but then I tried a 2 interrupt approach, and It works but only for few minutes, then I get this error. At higher speeds like 400hz it crashes within few seconds. Any comments on sycnronization of these sensors, and ideas/help on the problem greatly appreciated. Best regards, Can Accelerometers Gyroscope Magnetic Sensors
View full article
P3T1035x(temp sensor) How to read the pointer register in I3C mode Can the pointer register setting access with I3C communication? Because It aborts when receiving T bit after receiving data, sending Slave address and sending the pointer value,, it looks like I2C Ack/Nack is returned from the P3T1035x. it looks like the pointer register accesses in I2C mode in the spec sheet 7.5.1 .  Timing chart etc,. I want to know the correct spec. Regards, T Re: P3T1035x(temp sensor) How to read the pointer register in I3C mode Hi Tomas Thank you very much for replying. I understood it. I currently connect an i3c controller that based on the MIPI Alliance and the temp sensor. After accessing with ccc in i3c mode, in order to access the pointer byte, I need to switch to i2c mode. In other words, when switching to i2c mode, I need to start over from the initialization sequence of i2c mode, is that correct? Regards, T Re: P3T1035x(temp sensor) How to read the pointer register in I3C mode Hi, The pointer register access (pointer byte) is only applicable in I2C mode. BRs, Tomas
View full article
コンパスのキャリブレーションの問題 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 皆さん、こんにちは。   私はCOMPASSに3軸デジタル磁力計(MAG3110)と3軸デジタル加速度センサ(MMA8451Q)を使用しています。 Freescale が提供するアルゴリズムによれば、コンパスのキャリブレーション データ (硬鉄および軟鉄) はどこにも保存されないため、電源を入れるたびに再キャリブレーションが必要になります。 キャリブレーションされた値を保存し、次回の電源投入時にこれらの値を適用する方法はありますか?可能であれば、どのような値を保存する必要がありますか?   よろしくお願いいたします。 Kishore P センサ・フュージョン Re: Compass calibration Issue <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ヴィタリー、 技術的には、3 軸磁力計 (Freescale が販売しているもの) は、X、Y、Z の感知方向にそれぞれ 1 つずつ向けられた 3 つの個別のセンサです。3 次元で磁気キャリブレーションを行うには、少なくとも 3 つの軸が必要です。1 つのデバイスに 3 つ以上の軸があるデバイスについて質問されている場合、私はそのようなものについて知りません。 完璧なセンサーを使用していても、すぐ近くにある鉄材料によって測定対象の磁場が歪む可能性があることを理解する必要があります。フィールド自体が非理想的なものになります。磁気キャリブレーションは、その歪みに対する逆伝達関数を効果的に実装します。 よろしくお願いいたします。 Mike Re: Compass calibration Issue <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、マイケル! 1 つのデバイスに 2 つの磁力計が搭載されていることについてお聞きしたいです。私の知る限り、開発者の中には、電源投入後に磁力計を校正する必要を回避するために、2 つまたは 3 つの異なる軸に配置された 2 つまたは 3 つの磁力計を使用する人もいます。私はマガジンを 1 つ持っており、ソフトとアイアンの調整を実装しました。しかし、現在 2 つのマガジンを持っており、それをアルゴリズムにどのように実装すればよいかわかりません。 1 つのデバイスで複数のマガジンを使用することについてはどう思いますか?それは意味を成しますか? Re: Compass calibration Issue <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> キショア、 素晴らしい質問ですね!コードを書いたエンジニアに問い合わせたところ、次のような返答がありました。 キャリブレーション パラメータをリファレンス ソフトウェアに (デフォルトで) 保存しないという決定は、次の 2 つの理由により行われました。 マーケティングの観点から、フリースケールは、事前に保存された値を使用するよりも、コールド スタート後のキャリブレーション アルゴリズムの動作をデモンストレーションする方が価値があると考えました。 キャリブレーション係数は温度に依存しており、その間に周囲温度または電子機器の温度が変化すると、最後の電源オフ時に保存された係数は最適ではなくなります。 したがって、最も安全な方法は、電子コンパスの電源を入れるたびにキャリブレーションを再計算することです。 これが不便な場合は、次の方法を使用する必要があります。 硬鉄の較正ベクトル(fV)、軟鉄の逆マトリックス(finvW)、地磁気の強度(fB)は、 MagCalibration構造体は電源オフ時に保存され、次回電源オン時に構造体にコピーされる必要があります。これは、これらのパラメータは前回の電源オフ以降の温度変化により不正確になる可能性があるものの、ヌルキャリブレーションよりは精度が良いという考え方に基づいています。 磁気バッファの内容は保存しないでください。ここでの論理は、これらの測定値は異なる動作温度で取得された可能性があり、新しい動作温度で電源を入れた後に新しいキャリブレーションを計算する際に邪魔になるだけであるというものです。 フィット エラーのパーセンテージ (MagCalibration 構造体の fFitErrorpc) は保存されず、電源投入時に 10% (Freescale デモ ユーザー インターフェースの 3 つの緑色のバーに対応) または 12% (2 つの緑色のバーに対応) などの値に初期化される必要があります。これにより、新しい測定値が磁気バッファに取り込まれると、以前に保存されたキャリブレーションがすぐに置き換えられます。これにより、たとえば 1% の適合誤差を持つ優れたキャリブレーションが適合誤差とともに電源オフ時に保存され、新しい動作温度ではより正確である可能性があるものの、(依然として優れた) 2% のキャリブレーション適合しか達成できない新しいキャリブレーションがロックアウトされるという問題が回避されます。 それが役に立つことを願います。 よろしくお願いいたします。 マイク・スタンリー
View full article
MPXV5004G 灵敏度和误差百分比 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我使用的是 MPXV5004G 压力传感器。 我希望记录 我的呼吸发生了敏感变化。 我把它连接到 10 位模数转换器,典型呼吸为 移动的输出值可能最多只有 1 点。 我希望提高灵敏度,但我注意到 MPXV5004G 的误差为 1.5% 或 2.5% 。 这似乎是说 输出值误差大于 1 个百分点。 1024 个值,所以即使我放大了变化,我能否 相信他们吗? 压力传感器
View full article
Sensor schematic symbols/library files for Altium? Hi, I am moving a design from EAGLE to Altium. I am looking for reference designs and more importantly a library file for the MMA8452Q. Does this exist? Where can I download it? Accelerometers Re: Sensor schematic symbols/library files for Altium? Hi George, Please see if the attached files help. We use Cadence Allegro tools, but there may be a converter to support Altium. You can also find the recommended land pattern and footprint in the AN4077. I hope it helps. Regards, Tomas PS: If my answer helps to solve your question, please mark it as "Correct" or “Helpful”. Thank you.
View full article