Multi Source Translation Content

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi Source Translation Content

讨论

排序依据:
how to know the dsi module is enabled? Is there any specific commands are available? please let me know that Re: how to know the dsi module is enabled? Hello Manu, What is the device that you are using? Regards, David
查看全文
こんにちは。圧力センサ MPX5010DP または MOXV5010DP を使用して、圧力を加えたときに亀裂が発生する圧力を監視したいと考えています。センサーをどのように接続すればよいですか? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 圧力を測定するためにセンサをどのように接続すればよいですか? 圧力センサ Re: Hi,i want to use the pressure sensor MPX5010DP OR MOXV5010DP to monitor the pressure at which a crack develop on the application of the pressure.How do i connect the sensor? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちはピーター、 最初の回答が明確でなかった場合はお詫び申し上げます。 MPX5010DP デバイスの接続に関する詳細については、次の投稿を参照してください。 圧力センサのドキュメントにおけるさまざまなピン スタイル。パート2 この推奨事項にもかかわらず、さらに詳細な情報が必要な場合はお知らせください。 素晴らしい一日をお過ごしください。 デビッド・ディアス。 注: この投稿で質問が解決した場合は、「正解」ボタンをクリックしてください。ありがとう! Re: Hi,i want to use the pressure sensor MPX5010DP OR MOXV5010DP to monitor the pressure at which a crack develop on the application of the pressure.How do i connect the sensor? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、David Diaz さん。メールをありがとうございます。接続方法がわかる写真やビデオを送っていただくことは可能でしょうか。よろしくお願いします。 ピーター Re: Hi,i want to use the pressure sensor MPX5010DP OR MOXV5010DP to monitor the pressure at which a crack develop on the application of the pressure.How do i connect the sensor? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちはピーター、 MPX5010DP の電気接続については、特にピン スタイルについては次の図を参照してください。 取り付けテクニックに関しては、次のアプリケーション ノートを参照してください。 AN936 - MPXシリーズ圧力センサの取り付け技術、リードフォーミング、およびテスト さらに、はんだ付けの推奨事項に関する詳しい情報については、次のアプリケーション ノートを参照してください。 AN3150 - 圧力センサデバイスのはんだ付け推奨事項 この情報が皆様のお役に立てれば幸いです。 ご質問を誤解していた場合は、遠慮なくお知らせください。喜んでお手伝いさせていただきます。 素晴らしい一日をお過ごしください。 デビッド・ディアス。 注: この投稿で質問が解決した場合は、「正解」ボタンをクリックしてください。ありがとう!
查看全文
Problem with the KBI of the MPXY8300 TPMS kit Hi, I have a problem with the generation of a KBI on the TX module of the mpxy8300 kit. The TPMS has a microprocessor of the HCS08 family. I followed the instructions in the kit manual writing this code: main() ...    PTADD=0x00;    //configure pins as input    KBISC=0x00;    //KBI disable    KBIES=0x00;    //select falling edge/low level    PTAPE=0x2C;    //configure pullup(1)/pulldown(0)    KBIPE=0x2C;    //enable PTA2-3-5 as KBI    KBISC=0x04;    //clear KBF    KBISC=0x02;    //enable KBI and set edges-only detection mode for(;;);     //infinite loop to test the KBI the interrupt function associated to the KBI is: void interrupt USER_15_INTERRUPT(void) {     KBISC_KBACK=1;  // clear ACK    //then  I put a function that send something to the RX module } In this way I see that the PTA pins are connected correctly to ground using an internal pulldown resistance as described in the datasheet. My problem is that when I connect the PTA pin to ground using a wire, KBI is not called and the module doesn't send anything. Has anyone the same problem?? thank you! Re: Problem with the KBI of the MPXY8300 TPMS kit Hi Riccardo, Sadly the reference manual was not really of use for the KBI related information. Unless someone from Freescale can give the magic answer you need then it's probably time to start testing the software on another S08 chip (if you have one!). This would indicate if the MPXY8300 hardware is faulty or if the software doesn't work on a different S08, that the software is wrong. Otherwise I am running out of suggestions to make 😞 Thanks, Ian Re: Problem with the KBI of the MPXY8300 TPMS kit I checked also this but it seems that the clock is always enabled to the KBI module. You can find the reference manual of the HCS08 that is the processor of the TX module of the MPXY8300 kit on this link: http://cache.freescale.com/files/microcontrollers/doc/ref_manual/HCS08RMV1.pdf Re: Problem with the KBI of the MPXY8300 TPMS kit Hi Riccardo, The behaviour is very odd!! Are there any system options registers that control the clock to the KBI module? Can you post the reference manual as I can't find it on the Freescale website? Thanks, Ian Re: Problem with the KBI of the MPXY8300 TPMS kit I checked everything, I used a loop in which I send some data if the register is set correctly and I discovered that the problem is the KBI FLAG. What I have is this:      PTA2 pin is connected with a pullup and I measure 3V correctly.      Pins are sensitive to a falling edge.      The pin is enabled as KBI as also the KBIE pin is enabled.      When I connect the PTA2 pin to ground, reading PTAD register I see this and all work correctly.      The KBF is never set. If I read the KBISC_KBF bit, I read always 0. In the datasheet there are no explanations on how it is set and nothing about the SINCHRONIZER block there is in the scheme of the KBI. And also I can't force the KBF to 1. What can I do? thanks, Riccardo Re: Problem with the KBI of the MPXY8300 TPMS kit Hi Riccardo, Hmm! It seems like you are setting everything up correctly. Might be worth checking other implementations to see if you have missed something? App notes AN2900, AN4875, http://cache.freescale.com/files/microcontrollers/doc/user_guide/QE128QRUG.pdf?&Parent_nodeId=&Parent_pageType= and any errata for your device. Thanks, Ian Re: Problem with the KBI of the MPXY8300 TPMS kit with the instruction: PTAPE=0x2C; I configure the pullup for the pin PTA 5-3-2, the others are disabled. The KBI interrupt is the numer 15 in the interrupt vector table and it is defined. In fact I put the function that sends me something in this routine. KBIMOD in the KBISC register is set using this line: KBISC=0x04; I put it at 0 to select only the edges, but I tried also with the KBIMOD at 1 and the result is the same. I have already read this PDF, I will check again. Thanks, Riccardo Re: Problem with the KBI of the MPXY8300 TPMS kit Hi Riccardo, Yes the EnableInterrupts macro takes care of the global mask, so that can be ruled out now. Are all the selected KBI pins using a pull up resistor (and externally high) and the others disabled? Is the KBI interrupt defined in the vector table? I don't think you need the PTA* lines. You might need to set KBIMOD in the KBISC register? You could check HCS08QRUG.PDF document which gives examples of using the S08 peripherals. Thanks, Ian Re: Problem with the KBI of the MPXY8300 TPMS kit yes, at the beginning of the main there is the macro: EnableInterrupts; I started from the code that there was in the kit and this macro was already written. In the datasheet I read there is a global mask for interrupt that is the first bit of the CCR (Condition code register) and it has to be set to 0 to enable interrupt. I think this macro has this rule, because I didn't find any function to write on that register. The KBIE bit is enabled with the last statement -> KBISC=0x02; Before it was clear to avoid false interrupts. Other interrupts work so I don't understand what is the problem. Thanks, Riccardo Re: Problem with the KBI of the MPXY8300 TPMS kit Hello Riccardo, I'll start by stating the obvious but have you enabled global interrupts? I think you also have to enable the KBIE bit in the KBISC register. It looks like you currently have the KBI interrupt request disabled? Thanks, Ian
查看全文
フリースケール センサ フュージョン ツールボックス: カンマをドットに変更する <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Freescale センサ フュージョン ツールボックス。   データを csv ファイルに記録する方法があります。問題は、プログラムがコンマを使用して値を測定することです。csv ではカンマを使用します。SO、彼らの間には問題が生じることになります。測定値をドット値に変更する方法があります。   10,5 ==> 10.5 センサ・フュージョン Re: Freescale sensor fusion toolbox: change commas to dots <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ヨーロッパにいる場合は、この問題が発生します。標準的なヨーロッパではコンマが使用され、米国ではドットが使用されます。SO、コンピュータの設定を英語と米国に変更する必要があります。=> 問題は修正されました
查看全文
MMA8450Q 代替部品 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 皆様 私のお客様の 1 社は、TELIT GMS モジュールで推奨されている MMA8450Q をデザインに使用したいと考えています。MMA8450Q の供給電圧が 1.71 V ~ 1.89 V であることが主な懸念事項であるためです。 私の知る限り、当社は新しい設計に MMA8452Q を推進していますが、この部品は 1.95V ~ 3.6V の電源電圧を消費するため、お客様はこの部品を使用することができません。 車載追跡アプリケーションで使用できる低電力、低 G 3 軸加速度センサを提案していただきますようお願いいたします。顧客を説得するために、供給電圧を下げる選択肢がない場合もお知らせください。 あなたのヒントは役に立ちます... よろしくお願いします... よろしくお願いします。 ミトゥン FAE 加速度センサ Re: MMA8450Q Alternative Part <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ミトゥンさん。 インターフェース電源電圧の範囲は 1.62V ~ 3.6V ですが、すべての MMA8451/2/3Q、MMA865xFC、および MMA8491Q 加速度センサでは主電源 (VDD) が 1.95V 未満にならないようにしてください。 お客様が単一電源動作を希望する場合、MMA8450Q はお客様のアプリケーションに適した唯一の加速度センサです。 よろしくお願いいたします。 トーマス
查看全文
MPX2100D: 定格リーク率はどれくらいですか? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> タイトルを参照してください。 圧力センサ Re: MPX2100D: What is the rated leak rate? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、スティーブ・クラークさん。 漏れは指定されていないため、当社のデバイスのパフォーマンス特性として保証されるものではありません。ただし、Freescale は組み立て後にすべてのポート付きデバイスに対して 100% のリーク テストを実行します。FSL のテスト機能の目的/範囲は、漏れを cc/秒のパフォーマンス特性として定量化するものではなく、総漏れ量 (漏れテストの制限外のデバイス) を識別するための製造品質ツール/ゲージとして使用することです。 ポート付き圧力センサを使用する場合の追加の推奨事項として、漏れや緩みを防ぐためにホース クランプを使用することをお勧めします。ホース クランプはセンサー ポートへの接続を強化します。説明したアプリケーションで使用するために推奨されるクランプは、Newage Industries の Oetiker Two-Ear クランプ、Oetiker One-Ear クランプ、および Special Clamp です。 AN1513: MPXシリーズ圧力センサの取り付け技術と配管オプション http://www.freescale.com/files/sensors/doc/app_note/AN1513.pdf すてきな一日を、 ホセ・レイエス ----------------------------------------------------------------------------------------------------------------------- 注: この投稿で質問が解決した場合は、「正解」ボタンをクリックしてください。ありがとう! -----------------------------------------------------------------------------------------------------------------------
查看全文
The differential pressure sensor MP3V5004DP CASE 1351 has two pin layouts listed on page 8 of the datasheet. Does it use "Style 1" or "Style 2"? http://cache.freescale.com/files/sensors/doc/data_sheet/MP3V5004G.pdf  ^datasheet to this part series Thanks for any help! Pressure Sensors Re: The differential pressure sensor MP3V5004DP CASE 1351 has two pin layouts listed on page 8 of the datasheet. Does it use "Style 1" or "Style 2"? Hi, The difference between style 1 and style 2 in the package dimensions is due to the two main families of pressure sensors NXP offers. Style 1 is usually applicable for all MPXx10, MPXx53 and MPXx2000-series SOP Type package pressure sensors featuring differential outputs (For compensated and un-compensated pressure sensor families). Style 2 is applicable for all MPXx4000-series, MPXx5000-series, MPXx6000-series, MPXx7000-series integrated devices in surface mount packages featuring single ended outputs (Integrated type pressure sensor families). For this specific case using the MP3V5004DP, you should use “Style 2” pinout as mentioned in Figure 1 on page 3 of the MP3V5004DP datasheet. Have a great day, Jose ----------------------------------------------------------------------------------------------------------------------- Note: If this post answers your question, please click the Correct Answer button. Thank you! -----------------------------------------------------------------------------------------------------------------------
查看全文
加速度センサ:MMA845x vs FXLS8962 こんにちは、 現在 MMA8451QT と MMA8452QR を使用している顧客を FXLS8962AF に移行する予定ですが、SDK ドライバ レベルで、移行プロセスが簡単に行えるかどうかを知りたいです。両者は異なることは承知していますが、SDK ドライバを使用してもユーザー レベルでは困難になる可能性があると考えています。 ありがとう、 アツェル・コラゾ Re: Accelerometers: MMA845x vs FXLS8962 こんにちは、アミットさん。 MMA845x から FXLS8962 までのユーザー ドライバの互換性はどの程度ですか?お客様が MMA845x から FXLS8962 に移行する場合、スムーズな移行が期待できますか? それとも最初からやり直す必要がありますか? よろしくお願いいたします アツェル・コラゾ Re: Accelerometers: MMA845x vs FXLS8962 こんにちは、 @TomasVaverkaと@atzelcollazo 、 FXLS8962AF は ISSDK でサポートされており、MCUXpresso で利用できます。FXLS8962AF センサ キットは FRDM-K22F-AGMP03 であり、ユーザーは mcuxpresso.nxp.com の SDK ビルダー ページからこのキット SDK を生成/ダウンロードできます。 よろしくお願いいたします。 アミット・プロヒト。 Re: Accelerometers: MMA845x vs FXLS8962 こんにちは@AmitPurohitさん、 このリクエストにご協力いただけますでしょうか?FXLS8962AF は ISSDK でサポートされていますか? よろしくお願いいたします。 トーマス
查看全文
NTM88 TPMS と U-MULTILINK 間の接続ボードを入手/回路図化するにはどうすればよいですか? TPMS NTM88チップの記録マニュアルを読んでみると、U-MULTILINKに加えて接続ボードが必要であることがわかりました。回路図を入手したり、このボードを購入するにはどうすればよいですか?   Re: How to get/schematic the connection board between the NTM88 TPMS with the U-MULTILINK? 回答ありがとうございます!おめでとうございます! Re: How to get/schematic the connection board between the NTM88 TPMS with the U-MULTILINK? こんにちは、 israelfelixさん すべてが順調であることを願っています。NXP コミュニティをご利用いただきありがとうございます。 添付の文書をデザインの参考としてご利用いただけます。 この情報がお役に立てれば幸いです。 よろしくお願いいたします。 デビッド
查看全文
8451 的传感器融合 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我不知道这里是否适合问这个问题,但还是来了:   正在尝试在 FRDM-KL25Z 板上使用传感器 Fusion 5。上面有一个 MMA8451。 传感器融合装置认为需要 MMA8652   有人有 MMA8451 所需的模组这样我就能在这个板上运行吗?   TIA、   rjl 传感器融合 Re: sensor fusion for 8451 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 以下是将 8451 纳入代码的编辑内容。 它与 8652 分开运行,不需要进行很多检查来确保它们没有同时开启之类的操作,因此使用时要小心谨慎。
查看全文
MAG3110 offset jumps Dear community, i'm using the magnetometer MAG3110 to monitoring the occupancy of parking places. The algorithm that calculates the occupancy, computes a value  that has to follow the measurement of RAW when the parking place is free. It has a temperature compensation to be able to follow the RAW measure of the axis. General information CTRL_REG1 = 0x1A: CTRL_REG3 = 0xA0: The data acquisition is made every cycle (cycle time can be 8 [s] up to ~1 minute). Between this "sleep period" the Microcontroller turn OFF the power of the sensor. Generally, the sequence is: Enable interrupt (to detect boot interrupt), Power ON Sensor, wait 10[ms] (datasheet spec.), disable interrupt, SET CTRL_REG2, SET CTRL_REG1, Start measure timer, Enable interrupt (to detect when measures are ready) , Set watchdog timer 120[ms] (100[ms] +20% of margin), Read Registers, Power OFF Sensor, Disable interrupt and general register Control  (and back to the initial state). Every cycle this procedure is made. Questions I take this opportunity to ask some questions: I noticed that during long periods, which rarely happens that some sensors have a jump  of the "offset" value (this can happen on the single axis until on all three). This causes a false detection and the algorithm requires time to react and understand that the change was not caused by the presence of a car. I observed that the jump of the offset, can be caused by an excessive magnetic field which "contaminates" the sensor. However on some sensors should not have been any strong field that caused this jump. What other possible reason can cause this phenomenon? The AUTO_MRST_EN reduces this kind of effect (offset jumps). The "manual" action Mag_RST has the same results as the AUTO_MRST_EN or it is "better" (acts in a different way) if it is exposed to an excessive magnetic field ?Example of jump: The power supply of the sensor is managed by a mosfet that turn ON/OFF  the MAG3110. I Observed some rare current peaks when the MOSFET switches ON (>100 [mA] for some [us]). Could these short current peaks cause offset jumps? It is recommended to remove the power to the sensor? If yes, with TM = 1 and AC = 0 (The ASIC will exit standby mode, perform one measurement cycle based on the programmed ODR and OSR setting, update the I2C data registers and re- enter standby mode.) is ideal in case you want to turn off the magnetometer? There is a most recommended configuration in the case we want to turn OFF the power ? The factory calibration has a temperature compensation. When i analyze data in a place without many changes of magnetic field i can see changing the measures of three axes with the temperature.Could be possible that I see changes with a delta of ~300 (temperature changes ~50 degrees). Example: Thanks for support and regards, Dennis G. Magnetic Sensors Re: MAG3110 offset jumps Hello Dan, In the "without metallic object" case, the TCO should be constant, so the slope (variation) would be about the same. For example if you have a TCO of 0.36 uT/°C on the X axis with a magnetic field of 50 uT at 25°C (ambient temperature), you should have  ((40-25)*0.36+50) => 55.4 uT at 40°C and ((-20-25)*0.36+50)=> 33.8 uT at -20°C. This is the temperature effect on the device's m-cell. This law does not really work in the "with metallic object" case. I mean, the TCO of the m-cell will be exactly the same, but unfortunately the magnetic strength of the ferromagnetic object also changes with the temperature. So you would probably not have the same behaviors in the 2 different cases. Anthony Re: MAG3110 offset jumps Hello Anthony, I have  one question : if I want to measure the variation of the magnitude without and in the presence of a metallic object at two different temperatures (+40/-20 celsius), the variation at +40 should be identical with the variation at -20? Re: MAG3110 offset jumps Hi Dan, The phenomenon you're seeing a quite normal, we called this Temperature Coefficient Offset. You need to characterize the TCOs (1 TCO per axis) of the MAG3110 to avoid the magnetic drift over temperature. Note that the TCOs changes for each device, so you can't apply a direct compensation formula to the raw measurement without one time calibration for each magnetometer. To calibrate the sensor, you need to record the temperature and the magnetic field of the 3 axis (OUT_x_x registers) at 2 different temperatures (DIE_TEMP register). Bigger is you temperature gradient, better will be the TCO calculation. Then use these formulas for the parameter computation: Once you've characterized the TCO parameters, I suggest you to register them into the MCU flash.  Finally, for each raw measurement (B_raw can be also your offet compensated data), you can apply the formulas below: Note that you need also to get the DIE_TEMP register value to compensate the magnetic value. Please find below an example  of the calibration effect improvements I got using this method: I hope it helps. For a car detection system, you can also not use the offset calibration (HardIron) and the TCO either. In fact you just need to detect the magnetic change in a pretty low timespan. Working with the vector magnitude (VECM) of the magnetic field ( sqrt(x²+y²+z²) ), you should be able to detect long drift (temperature effect) and quick magnetic drift (vehicle presence). I mean if between two measurements of the VECM (previous VECM - current VECM) with a data rate of lets say of 0.5Hz the magnetic value does not change a lot, you don't have any car there. This algorithm can be very simple and efficient, it does not care of the offset and temperature drift. But that's an other way of thinking. Have a great day, Anthony Re: MAG3110 offset jumps Hello Anthony, I am using the MAG3110 to develop a car detection system.I made my device to self calibrate when the MAG starts up and set the offsets, but when expose the MAG to temperatures from 13-41(as reported by the chip) the values on the 3 axis starts to modify like bellow: I this normal ? Is there a formula provided by NXP in order to compensate this? Regards, Dan  Re: MAG3110 offset jumps Hi Anthony, It make sense that depend on the characteristics of the specified sensor and his silicon ! Thanks for your support, it was helpful. Best regards, Dennis G. Re: MAG3110 offset jumps Hello Dennis, I'm sorry, but you don't have access to other registers except those written in the datasheet. For the Z axis TCO, in your plot, it looks very small so it's a good thing. But It is a lucky break, I mean, if you test an other sample, you will probably have different behaviors. This not depends of the factory calibration but to the silicon. Anthony Re: MAG3110 offset jumps Hello Anthony, Thanks for the example. A kind of TCO is already computed from the gateway, using RAW measures and temperatures of a long period for each sensor. About the factory calibration: "MAG3110 is factory calibrated for sensitivity and temperature coefficient of sensitivity. All factory calibration coefficients are automatically applied by the ASIC before a measurement is taken and the result written to registers 0x01 to 0x06" As you said, for the Temperature Coefficient Offset, it can be characterized for each magnetometer at the final assembly chain and compensated in the firmware. There is the possibility to have information about the factory calibration coefficients on a specific sensor, reading some registers on the device ? On some sensors I observed different behavior. For example in this case the Z axis (in blue) looks properly compensated: I suppose this depends from the factory calibration coefficients ? Greeting, Dennis G. Re: MAG3110 offset jumps Dennis, What I called TCO is not really an offset, but a slope expressed in uT/°C or in count/°C. So you can't use the OffsetUserCorrection register to calibrate the sensor. I attach example source files for TCO calibration Anthony Re: MAG3110 offset jumps Hi Anthony, About the capacitors, i agree with your observation. Perhaps also the rare peaks during the magnetometer power-ON are due to this (since the capacitors are discharged during power off). Regarding the temperature compensation, to reduce power consumption and resources only the RAW measurements and temperature are send from the "sensor device". Upstream it is still done the necessary temperature compensation. If I wanted to do the temperature correction on the device, I suppose I could use the Offset User Correction changing the offset value () for each axes (in function of the smart algorithm). Thanks for support and regards, Dennis G. Re: MAG3110 offset jumps Hi Dennis, "As i said, a mosfet is used to switch ON/OFF the sensor. "VDD connection and capacitors removed", it means that the capacitors should be downstream of the sensor power supply?"           The first setup does not power off the magnetometer until the caps are not unloaded so you will lose all the energy stored in it at each data collection.           The second configuration should consume less energy than the 1st one. For the Temperature Coefficient Offset, it can be characterized for each magnetometer at the final assembly chain and compensated in the firmware. For example, on the chart you shared with us, for this MAG3110 sample, the Z axis TCO is about 0.6uT/°C  (300count/50°C). You can also implement a smart algorithm to fix this problem (and avoid factory calibration) and work with relative measurements Thanks, Anthony Re: MAG3110 offset jumps Hello Anthony, Thanks for your answer was helpful ! Sorry but I din't found the application notes before, it confirmed some doubts. Only one thing regarding the figure 6 on the document (AN4984😞 As i said, a mosfet is used to switch ON/OFF the sensor. "VDD connection and capacitors removed", it means that the capacitors should be downstream of the sensor power supply? I mean, which of the following configurations (1 or 2) is correct? 1) 2) MAG_PWR is connected to the GPIO of the MCU. MAG VCC is connected to VDD. Just a question regarding your chart. Is the magnetometer axis in Count (LSB) ?      If I understand right the question, the Fast Read Mode is disabled, the complete 16-bit data are read (OUT_X_MSB,      OUT_X_LSB, OUT_Y_MSB, OUT_Y_LSB, OUT_Z_MSB, OUT_Z_LSB). Thanks and regards, Dennis G. Re: MAG3110 offset jumps Hello Dennis, We have an  application note (AN4984) on NXP magnetometer in one shot measurement. It should answer to some of your questions. The sensor is not totally temperature calibrated in factory as it is mentioned in the datasheet (2.1 Table 3 page5) on the Tcs/TCO row (+-0.1 %/°C) . Just a question regarding your chart. Is the magnetometer axis in Count (LSB)? Thanks, Anthony
查看全文
MAG3110オフセットジャンプ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 親愛なるコミュニティの皆様 駐車場の占有状況を監視するために 磁力計 MAG3110 を使用しています。 占有率を計算するアルゴリズムは、駐車場が空いているときの RAW の測定値に従う値を計算します。軸のRAW測定に追従できるように温度補正機能を備えています。 一般情報 CTRL_REG1 = 0x1A: CTRL_REG3 = 0xA0: データの取得はサイクルごとに行われます(サイクル時間は 8 [秒] から最大約 1 分まで)。この「スリープ期間」の間に、マイクロコントローラはセンサの電源をオフにします。 一般的な順序は次のとおりです。 割り込みを有効化(ブート割り込みを検出するため)、センサの電源をオン、10[ms]待機(データシート仕様)、割り込みを無効化、CTRL_REG2の設定、CTRL_REG1の設定、測定タイマーの開始、割り込みを有効化(測定の準備が完了したことを検出)、ウォッチドッグタイマーを120[ms]に設定(100[ms] + 20%のマージンの)、レジスタの読み取り、センサの電源をオフ、割り込みおよび汎用レジスタ制御を無効化(初期状態に戻す)。この手順は各サイクルごとに実行されます。 質問 この機会にいくつか質問させていただきます。 まれにしか起こらないことですが、長期間にわたって一部のセンサーの「オフセット」値が急上昇することに気づきました (これは 1 つの軸から 3 つの軸すべてまで発生する可能性があります)。これにより誤検出が発生し、アルゴリズムが反応して、変化が車の存在によって引き起こされたのではないことを理解するのに時間がかかります。オフセットの急上昇は、センサを「汚染」する過剰な磁場によって引き起こされる可能性があることに気づきました。しかし、一部のセンサーでは、この急上昇を引き起こすような強い磁場は発生していないはずです。他に考えられる原因は何でしょうか?AUTO_MRST_EN はこの種の効果 (オフセット ジャンプ) を軽減します。「手動」アクション Mag_RST は、AUTO_MRST_EN と同じ結果になりますか、それとも過剰な磁場にさらされた場合の方が「良い」(異なる方法で動作する) でしょうか?ジャンプの例: センサーの電源は、MAG3110 のオン/オフを切り替える MOSFET によって管理されます。MOSFET がスイッチがオンになったときに、まれに電流ピークが観測されました (数 [us] の間 >100 [mA])。これらの短い電流ピークによってオフセットジャンプが発生する可能性がありますか? センサーの電源を切ることをお勧めしますか?そうであれば、TM = 1、AC = 0 (ASIC はスタンバイ モードを終了し、プログラムされた ODR および OSR 設定に基づいて 1 つの測定サイクルを実行し、I2C データ レジスタを更新してスタンバイ モードに再度入ります)が、磁力計をオフにする場合に最適ですか?電源をオフにする場合に最も推奨される構成はありますか? 工場出荷時の校正には温度補正が含まれています。磁場の変化があまりない場所でデータを分析すると、3つの軸の測定値が温度によって変化しているのがわかります。おそらく、約300のデルタ(温度変化約50度)の変化が見られるかもしれません。例: サポートとご愛顧に感謝いたします。 デニス G. 磁気センサ Re: MAG3110 offset jumps <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ダン。 「金属物体なし」のCASE、TCO は一定であるSO、傾き (変動) はほぼ同じになります。例えば、X軸のTCOが0.36 uT/°Cで磁場が50 uT(周囲温度25°C )の場合、((40-25)*0.36+50)となります。=> 40°Cで55.4 uT 、((-20-25)*0.36+50)=>-20°C で 33.8 uT 。これはデバイスの m セルに対する温度の影響です。 この法則は、「金属物体がある場合」の場合には実際には機能しません。つまり、m セルの TCO はまったく同じですが、残念ながら強磁性体の磁気の強さも温度によって変化します。 したがって、おそらく 2 つの異なるケースで同じ動作は発生しないでしょう。 アンソニー Re: MAG3110 offset jumps <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、アンソニー。 質問が 1 つあります。2 つの異なる温度 (摂氏 +40 度 / -20 度) で金属物体がある場合とない場合の大きさの変化を測定する場合、+40 度での変化は -20 度での変化と同一であるべきでしょうか。 Re: MAG3110 offset jumps <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、ダン。 あなたが見ている現象はごく普通で、私たちはこれを温度係数オフセットと呼んでいます。 温度による磁気ドリフトを回避するには、MAG3110 の TCO (軸ごとに 1 TCO) を特性評価する必要があります。TCO はデバイスごとに異なるため、各磁力計に対して 1 回限りの校正を行わずに、生の測定値に直接補正式を適用することはできません。 センサをキャリブレーションするには、2 つの異なる温度 (DIE_TEMP レジスタ) で 3 軸の温度と磁場 (OUT_x_x レジスタ) を記録する必要があります。 温度勾配が大きいほど、TCO の計算精度は向上します。 次に、パラメータ計算に次の式を使用します。 TCO パラメータの特性を明らかにしたら、それを MCU フラッシュに登録することをお勧めします。 最後に、生の測定値(B_raw はオフセット補正データにもなります)ごとに、以下の数式を適用できます。 磁気値を補正するには、DIE_TEMP レジスタ値も取得する必要があることに注意してください。 以下に、この方法を使用して得られたキャリブレーション効果の改善の例を示します。 お役に立てれば幸いです。 車両検出システムの場合、オフセットキャリブレーション (HardIron) と TCO も使用できません。実際のところ、非常に短い時間間隔で磁気の変化を検出すればいいだけです。磁場のベクトル振幅 (VECM) ( sqrt(x²+y²+z²) ) を使用すると、長いドリフト (温度の影響) と急速な磁気ドリフト (車両の存在) を検出できるはずです。つまり、データ レートがたとえば 0.5Hz である VECM (以前の VECM - 現在の VECM) の 2 回の測定間で磁気値に大きな変化がない場合、そこに車は存在しません。このアルゴリズムは非常にシンプルで効率的であり、オフセットや温度ドリフトを気にする必要がありません。しかし、それは別の考え方です。 すてきな一日を、 アンソニー Re: MAG3110 offset jumps <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、アンソニー。 私はMAG3110を使用して車両検出システムを開発しています。MAGの起動時にデバイスが自動調整され、オフセットが設定されるようにしましたが、MAGを13〜41℃の温度(チップによって報告される)にさらすと、3軸の値が以下のように変化し始めます。 これは普通ですか?これを補うために NXP が提供している計算式はありますか? よろしくお願いいたします。 ダン Re: MAG3110 offset jumps <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、アンソニー。 指定されたセンサーとそのシリコンの特性に依存するのは理にかなっています。 サポートいただきありがとうございます、助かりました。 よろしくお願いいたします。 デニス G. Re: MAG3110 offset jumps <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、デニス。 申し訳ありませんが、データシートに記載されているレジスタ以外のレジスタにはアクセスできません。 Z 軸の TCO については、グラフでは非常に小さいように見えるので、これは良いことです。しかし、これは幸運なことです。つまり、別のサンプルをテストすると、おそらく異なる動作が得られるでしょう。これは工場の調整ではなくシリコンに依存します。 アンソニー Re: MAG3110 offset jumps <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、アンソニー。 例をありがとうございます。 ある種の TCO は、 各センサの RAW 測定値と長期間の温度 を使用して、ゲートウェイから すでに 計算されています。 工場出荷時の校正について: MAG3110 は、感度と感度の温度係数が工場で校正されています。すべての工場校正係数 測定が行われる前にASICによって自動的に適用され、結果はレジスタ0x01~0x06に書き込まれます。 ご指摘のとおり、温度係数オフセットについては、最終組み立てチェーンで各磁力計ごとに特性評価し、ファームウェアで補正することができます。 デバイス上のいくつかのレジスタを読み取ることで、特定のセンサの工場出荷時のキャリブレーション係数に関する情報を取得する可能性はありますか? 一部のセンサーでは異なる動作が見られました。例えば、この例ではZ軸(青)が適切に補正されているように見えます。 これは工場の校正係数に依存すると思いますか? 挨拶、 デニス G. Re: MAG3110 offset jumps <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> デニス、 私が TCO と呼んでいるものは、実際にはオフセットではなく、uT/°C または count/°C で表された傾きです。SO、OffsetUserCorrection レジスタを使用してセンサーを調整することはできません。TCOキャリブレーションのサンプルソースファイルを添付します。 アンソニー Re: MAG3110 offset jumps <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、アンソニー。 コンデンサについては、あなたの観察に同意します。おそらく、磁力計の電源オン時にまれにピークが発生するのも、このためです (電源オフ時にコンデンサが放電されるため)。 温度補正に関しては、電力消費とリソースを削減するために、「センサーデバイス」からは RAW 測定値と温度のみが送信されます。上流では必要な温度補正が行われます。デバイス上で温度補正を実行したい場合は、オフセット ユーザー補正を使用して、各軸のオフセット値 () を変更することができます (スマート アルゴリズムの機能)。 サポートとご愛顧に感謝いたします。 デニス G. Re: MAG3110 offset jumps <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、デニス。 「先ほど言ったように、センサのオン/オフを切り替えるために MOSFET が使用されます。「VDD 接続とコンデンサが削除されました」とは、コンデンサがセンサ電源の下流にある必要があることを意味しますか? 最初のセットアップでは、キャップが取り外されるまで磁力計の電源がオフにならないため、データ収集ごとに磁力計に蓄積されたエネルギーがすべて失われます。 2 番目の構成では、1 番目の構成よりも消費エネルギーが少なくなります。 温度係数オフセットについては、最終組み立てチェーンで各磁力計ごとに特性評価し、ファームウェアで補正することができます。たとえば、共有していただいたグラフでは、この MAG3110 サンプルの場合、Z 軸の TCO は約 0.6uT/°C (300 カウント/50°C) です。この問題を修正するスマートアルゴリズムを実装し(工場でのキャリブレーションを回避し)、相対的な測定で作業することもできます。 ありがとうございます アンソニー Re: MAG3110 offset jumps <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、アンソニー。 ご回答ありがとうございます。参考になりました!申し訳ありませんが、以前はアプリケーションノートを見つけられなかったので、いくつかの疑問が確認されました。 文書( AN4984 )の図6に関して1つだけ言えることがあります。 前述したように、センサのオン/オフを切り替えるために MOSFET が使用されます。「VDD 接続とコンデンサが削除」とは、コンデンサをセンサー電源の下流に配置する必要があることを意味しますか?つまり、次の構成のどちら (1 または 2) が正しいのでしょうか? 1) 2) MAG_PWR は MCU の GPIO に接続されます。 MAG VCC は VDD にコネクテッドです。 あなたのチャートに関して質問があります。磁力計軸はカウント(LSB)ですか? 質問を正しく理解していれば、高速読み取りモードは無効になっており、完全な 16 ビット データ (OUT_X_MSB、OUT_X_LSB、OUT_Y_MSB、OUT_Y_LSB、OUT_Z_MSB、OUT_Z_LSB) が読み取られます。 よろしくお願いいたします。 デニス G. Re: MAG3110 offset jumps <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、デニス。 ワンショット測定における NXP 磁力計に関するアプリケーションノート ( AN4984 ) があります。あなたの疑問のいくつかに答えてくれるはずです。 データシート (2.1 表 3、5 ページ) の Tcs/TCO 行 (+-0.1 %/°C) に記載されているように、センサは工場で完全に温度校正されていません。 あなたのチャートに関して質問があります。磁力計の軸はカウント (LSB) ですか? ありがとうございます アンソニー
查看全文
FXOS8700CQ Response to High Rate of Change of Magnetic Field Direction Hi. I have a question regarding the FXOS8700CQ 3-axis magentometer and accelerometer.  I am considering using this sensor to detect the Earth's magnetic field in a device that can rotate as fast as 7200 degrees/s.   Can the magnetometers respond fast enough to provide an accurate measurement when the magnetic field direction is changing this rapidly?  I do not see anything in the datasheet that addresses this.  Thanks. Accelerometers Magnetic Sensors Re: FXOS8700CQ Response to High Rate of Change of Magnetic Field Direction Tomas, Thanks for you response.  I have several follow-up questions on this topic. I see on the FXOS8700CQ datasheet where the output noise is specified at 1.5 uT rms at an 800 Hz ODR but can you explain how you calculated a 3 degree rms uncertainty based on a 1.5 uT rms noise level? Why does the noise increase with ODR? What limits the ODR to 800 Hz?  Is it the power consumption, the noise level, or something different?  SPI and I2C can communicate much faster than this so it doesn't seem to be a limitation of the communications interface.  I would like to be able to sample at 4 kHz but that doesn't seem likely with any of the 3-axis magnetometer sensors with digital (i.e. SPI or I2C) output interfaces that I have seen. Thanks! George Re: FXOS8700CQ Response to High Rate of Change of Magnetic Field Direction Hi George, The main limitation is the maximum ODR which is 800Hz in magnetometer mode only. Considering your device rotates as fast as 7200 degrees/s, 1 sample corresponds to 9 degrees (7200/800), so the output would be in steps of 9 degree rotation. Noise needs to be taken into account at this ODR, as it increases with ODR. At 800Hz it reaches a typical 1.5uT rms which translates into a 3° rms uncertainty. So the FXOS8700CQ could be a good solution if accuracy requirement is not too stringent.  Regards, Tomas PS: If my answer helps to solve your question, please mark it as "Correct" or “Helpful”. Thank you.
查看全文
MAP 传感器如何工作? 其工作原理是由 PCM(动力系统控制模块)向传感器提供 5 伏直流电。MAP 传感器内部有一个电阻器,它会随着进气歧管压力的变化而变化。电阻器可改变 1V 至 4.5V 之间的电压(取决于发动机负载),电压信号返回 PCM 以显示歧管压力(真空)。PCM 需要该信号来确定燃油输送量,有时也用于确定 EGR 阀是否正常工作。 压力传感器 歧管压力传感器用于诊断,因为它可以测量节气门性能、涡轮性能和进气歧管的泄漏情况。由于其位置的原因,除非涡轮增压器在增压,否则其读数应始终为负压。如下图所示。 Re: How does a MAP Sensor Works? 嗨,凯西、 好极了非常感谢您对歧管压力传感器功能描述的详细说明。 致以最崇高的敬意 约瑟夫
查看全文
Can't start MMA6900 accelerometer Hi, I'm using MMA6900KQ accelerometer and can't read acceleration data. I'm using SPI to read it.  First I'm trying to init accelerometer. Here commands which I send via SPI and answers on it: 1) MOSI: 0x1410;      MISO: 0xEA00;   (Command: Set pointer to Device Status Register; answer:  Critical/Reset Exception Response) 2) MOSI: 0x2000;      MISO: 0xF281;   (Command: DEVSTAT register data read; answer: 2 errors (IDE and DEVRES) 3) MOSI: 0x140E;      MISO: 0xEA00;   (Command: Set pointer to DEVCTL register; answer: Critical/Reset Exception Response) 4) MOSI: 0x3020;      MISO: 0xFA0E;   (Command: Register data write, data: Clear Error; answer: Critical/Reset Exception Response) 5) MOSI: 0x1410;      MISO: 0xEA00;   (Command: Set pointer to Device Status Register; answer:  Critical/Reset Exception Response) 6) MOSI: 0x2000;      MISO: 0xF680;   (Command: DEVSTAT register data read; answer: 1 error (IDE) And after it I'm trying to read acceleration data. As answer I've got 0x2047 acceleration always.  Help me, please, how to deal with this problem? Accelerometers Re: Can't start MMA6900 accelerometer Thank you very much, Tomas! It helped me! Re: Can't start MMA6900 accelerometer Hi Mikhail, The sequence for clearing errors looks correct, but we recommend using the soft reset sequence immediately after a power on to prevent issues due with the OTP readout after a power on. Could you try the sequence below?  MOSI     Expected MISO 0x1410  0xEA00 0x2000  0xF601 0x140E  0xEA00 // Set CE bit 0x3020  0xFA0E 0x1410  0x0800  // Read DEVSTAT 0x2000  0x1000 0x140E  0x0800  // Soft Reset 0x3080  0x180E 0x34C0  0x180E 0x3040  0x180E // Delay 5ms Minimum 0x1410  0xEA00  0x2000  0xF601 0x140E  0xEA00 // Set CE bit 0x3020  0xFA0E 0x1410  0x0800  // Read DEVSTAT 0x2000  0x1000 0x4000  0x3806  // Read X-Axis 0x8000  0x4802  // Read Y-Axis 0x4000  0x380C 0x8000  0x47FE 0x4000  0x280E 0x8000  0x57FC 0x4000  0x280E 0x8000  0x47FE 0x4000  0x280E 0x8000  0x57FC I hope it helps! Best regards, Tomas 
查看全文
we are using mma955l pedometer. We are also using Pic 16bit MC. The board has been designed as per the NXP suggestions, and we are able to check the regulated power supply . however the sensor is not responding. can u pls. suggest the selftest and how we are developing pedometer as wearable. Re: we are using mma955l pedometer. We are also using Pic 16bit MC. The board has been designed as per the NXP suggestions, and we are able to check the regulated power supply . however the sensor is not responding. can u pls. suggest the selftest and Hi, It is hard to say where the problem might be without knowing more details. A schematic as well as screnshots illustrating what is going on the bus would be useful. You can email me directly or create a standard ticket if you would like to keep them confidential. A couple of general hints. The MMA9555L is operating at a supply voltage of 1.8V +/-5%. This is also the nominal voltage for all digital I/O pins so please align your board supply tree accordingly. Which slave interface mode are you using: I 2 C or SPI? Keep in mind that the level of pin8 (RGPIO3) during reset determines which slave interface mode will be used by the device (set pin to high level for I2C mode). No specific settings for the host MCU, MMA9555L slave 7-bits I 2 C address is 0x4C (which gives 0x98/0x99 as I 2 C "8-bits address byte" content). I am attaching a PDF document that gives some insights about communication protocol with Mailbox. Again, more information such as the schematic and slave interface plot/log are desired to help you further. Regards, Tomas PS: If this answer helps to solve your question, please mark it as "Correct". Thank you.
查看全文
差压传感器规格 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 使用 0 - 10 kPa 压差传感器,能否测量 70 - 80 kPa 的压力变化,还是需要 0 - 100 kPa 传感器? 实际上,我曾在这种环境下使用过 MPXV5010DP(0 kPa 至 10 kPa)传感器,但效果并不尽如人意。 我想知道是否是传感器不合适。 我的压力是否过大? 我不确定压差规格是指在" 规定范围内的压差",还是指抵消压差,适合 10 kPa 范围。实际上,我需要 70 千帕到 71 千帕之间尽可能高的分辨率。 压力传感器 Re: Differential Pressure Sensor Specifications <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,杰夫、 不可以,MPXV5010DP(0 kPa 至 10 kPa)的最大压力范围为 40 kPa(P1>P2),因此无法测量高达>70 kPa 的压力;数据手册表 2 中规定了该值。 压差规格是指在传感器两侧(端口 P1 和端口 P2)施加压力的两点之间的测量值。 如果要测量 70 kPa 至 80 kPa 之间的压力,我们推荐使用 MPXV5100DP(0 kPa 至 100 kPa)压差传感器。它在 0 至 85 °C 范围内的最大误差为 2.5% 。更多信息,请访问https://www.nxp.com/products/sensors/pressure-sensors/differential-gauge-up-to-115-kpa/0-to-100kpa-differential-gauge-and-absolute-integrated-pressure-sensor:MPX5100 希望这些信息能有所帮助。 祝你愉快 Paulina
查看全文
FXAS21002C : Integration Query Hi I have reviewed the datasheet and information within freescale resources, I wish to query about the integrator/intergration of the gryo movement. It is used for navigation with Accel (3rd party precision) and Mag (FXOS) I currently have circular buffer 128 frame which take 2.4 second to populate (18.75mSec Sample rate). The FXAS take minimum 3.5mSec before data ready interrupt occurred but with other sensor and ADC constraint, the minimum rate is 18.75mSec. I wish to do away the circular buffer and take 2.5 second sample, so that MCU can be put to sleep for 2.5 second and then wake up for capture data and so on, this save power since it run on battery. However the minimum ODR is 12.5Hz for FXAS21002C which may not be possible. I'm quite unclear what internal integrator is doing for various output sample rate? Does it hold rate of change dps between output sample rate? or it basically snapshot of dps? As an example, I can put to 12.5 Hz sample rate (which is 80mSec) , if there is sudden change of 30deg/Sec say at 20mSec point and then no angular change (60mSec before data ready INT (say)), does it actually hold the 30deg/Sec reading (due to internal integrator) by the time it reach to output data buffer or I get 0deg/Sec readout, since it snapshoot. When sample it taken does it clear the old information? I'm open for suggestion, idea how to minimize power rather than constantly sampling the data all the time. Thank you for calcification. R. Update: Noting that FXAS has build in FIFO buffer which 32 frame of data is stored, this mean 80mSec sample rate which take 2.56Sec, This is perfect!!!. My question about integrator and sudden angular rate change remains... Gyroscope Re: FXAS21002C : Integration Query The FXAS21002 averages the angular velocity signal over the ODR period. The measurement noise therefore decreases as the ODR period increases and the ODR frequency reduces which would not be the case if it was taking a snapshot measurement.
查看全文
在 MPX2300DT1 损坏或超出规格之前,它能承受多大的真空度? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 该传感器仅用于感知压力,但偶尔会暴露在较小的真空压力下。这会影响压力读数的准确性吗?在传感器损坏或超出规格之前,真空度能达到多少? 压力传感器 Re: How much vacuum can a MPX2300DT1 withstand before it is damaged or out of spec? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,拉里、 部件内部的微机电系统不是为处理真空而设计的。即使负压很小或存在的时间很短,部件也会受到损坏,也许还不至于失去作用,但会逐渐停止正常工作。 由于这是一款一次性设备,可以选择将其暴露在真空中,但不幸的是,我们还没有确定它在损坏之前能抵抗负压多长时间。 达里奥 Re: How much vacuum can a MPX2300DT1 withstand before it is damaged or out of spec? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 达里奥 客户并不想测量真空度,只是想知道如果 P1 短时间暴露在真空中,是否会损坏零件。 你是说 P1 < P2 应该在任何时间和持续时间内入侵设备吗? Larry Re: How much vacuum can a MPX2300DT1 withstand before it is damaged or out of spec? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,拉里、 只要端口一的压力大于端口二的压力(P1>P2),MPX2300DT1就不会损坏。 该设备的背面被称为 P2(芯片裸露的地方)。这是设备通常暴露在环境中的一面。P1 被称为设备的正面。P1 为正压。P1 始终大于或等于 P2。如果这一条件被破坏,传感器的完整性就会受到影响,因此不建议对主端口施加真空。如果您想测量负压,我们还有其他一些可以处理负压的传感器,例如:MPXx5004、MPXx5050、MPXV7002 或 MPXV7007DP:MPXx5004、MPXx5050、MPXV7002 或 MPXV7007DP。 此致, 达里奥
查看全文
MMA8451 FIFO 自动递增 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 在 MMA8451 数据手册的寄存器说明表 12 中,FIFO 自动递增地址的寄存器映射显示,当读取 OUT_Z_LSB 寄存器 0x06 时,它会自动递增回状态寄存器 0x00。 我们对 FIFO 进行脉冲串读取,自动递增整个 FIFO 的 32 个采样数据。 根据以前在另一家制造商类似产品上的工作经验 我假定先进先出自动递增功能的操作如下: (a) 先读取最早的样本 X_MSB、X_LSB、Y_MSB、Y_LSB、Z_MSB、Z_LSB,然后读取下一个样本 X_MSB、X_LSB、Y_MSB 等。 从 X_MSB 开始阅读数据表 (b) 它将执行 X_MSB、X_LSB、Y_MSB、Y_LSB、Z_MSB、Z_LSB、STATUS,然后执行下一个采样 X_MSB、X_LSB、Y_MSB、Y_LSB、Z_MSB、Z_LSB、STATUS......等。 我的缓冲区数据显示,它是按照 (a) 运行的,并不像数据表显示的那样自动递增回寄存器 0x00 否则,我的数据就会出现混乱,缓冲区中每隔 7 个位置就会出现一个状态数据,而不是轴数据。 该产品已经过广泛测试,根据数据表,它根本不可能工作。 问题能否确认将寄存器 0x06 自动递增到 0x01 或 0x00 的操作? 致约翰-坎贝尔   Re: MMA8451 FIFO Auto Increment <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,约翰、 你说得对,启用 FIFO 后,寄存器 0x06 的自动递增地址是 0x01,而不是 0x00。 我们将在下一次数据表修订时更正。 顺祝商祺! 托马斯
查看全文