Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
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
Sensor Fusion Version 6.0 Hi Mike,   When are you going to release the sensor fusion version 6.0? What is the new functions included in? In Version 6.0, do you have the function to detect the movement based on ACC+MAG to cancel GYRO drifting? In this way, when in stationary, there will be no YAW change even in IMU mode, right?   Thanks, Christie SensorFusion Re: Sensor Fusion Version 6.0 Just that, measure the gyro outputs at rest and then use those values as a correction going forward. Licensing details are still TBD.   We still expect to release source, but the new version may be restricted to NXP silicon.  No firm decision has been made either way.  And of course, no change to libraries already released. Mike Re: Sensor Fusion Version 6.0 Hi Mike, Thanks. Could you explain more about "a zero movement yaw initialization"? What is the licensing details? Regards, Christie Re: Sensor Fusion Version 6.0 Good question.  We actually have two threads of development underway right now.  Version 6.00 adds a number of features and is designed to run bare metal (no RTOS).  Version 7.00 (derived from 6.00) will support both bare-metal AND RTOS implementations.  It will no longer include Processor Expert support, but instead will be based on the Kinetis SDK.  We probably will NOT field 6.00 at all.  We're not planning to include the exact feature you mention, but we will be adding a zero movement yaw initialization that has much the same effect.  It will be 2nd quarter before you see V7.00.  Licensing details are still under discussion.
View full article
MPL3115A2 割り込み問題 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 MPL3115A2 を使用していますが、ウィンドウ付きの高度計しきい値で INT1 を使用する際に問題が発生します。割り込みが発生すると、INT_SOURCE レジスタを読み取りますが、常に空です。構成は次のとおりです。 センサを有効にします: 値 0x00 を reg 0x26 に書き込みます。0x26 値 0x00 を読み取ります。0x26 値 0x00 を読み取ります。 値 0x00 を reg 0x27 に書き込みます。 値 0x20 を reg 0x28 に書き込みます。 値 0x00 を reg 0x29 に書き込みます。 値 0x00 を reg 0x2A に書き込みます。0x27 値 0x00 を読み取ります。 値 0x98 を reg 0x26 に書き込みます。0x26 値を 0x98 で読み取ります。 値 0x05 を reg 0x13 に書き込みます。0x12 値 0x05 を読み取ります。0x26 値を 0x98 で読み取ります。 値 0x1A をレジスタ 0x26 に書き込みます。0x26 値 0x1A を読み取ります。0x26 値を 0x18 で読み取ります。0x00 値 0xB0 を読み取り 次に割り込みをアクティブにします。 値 0x00 を reg 0x26 に書き込みます。0x26 値 0x00 を読み取ります。0x26 値 0x00 を読み取ります。 値 0x00 を reg 0x16 に書き込みます。 値 0x00 を reg 0x17 に書き込みます。 値 0x00 を reg 0x19 に書き込みます。 値 0x00 を reg 0x1A に書き込みます。 値 0x00 を reg 0x27 に書き込みます。 値 0x20 を reg 0x28 に書き込みます。 値 0x28 を reg 0x29 に書き込みます。 値 0x28 を reg 0x2A に書き込みます。 値 0x28 を reg 0x27 に書き込みます。 値 0xA9 を reg 0x26 に書き込みます。0x26 値 0xA9 を読み取ります。 値 0x05 を reg 0x13 に書き込みます。0x12 値 0x05 を読み取ります。0x26 値 0xA9 を読み取ります。0x26 値 0xA9 を読み取ります。 値 0xA9 を reg 0x26 に書き込みます。0x26 値 0x2B を読み取ります。0x26 値 0x2B を読み取ります。 値 0x29 を reg 0x26 に書き込みます。0x00 値 0x40 を読み取ります。 割り込みが発生すると、INT_SOURCE レジスタが読み取られ、常に値 0x00 が取得されます。 圧力センサ Re: MPL3115A2 Interrupt problem <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 失敗はここにありました: 値 0xA9 を reg 0x26 に書き込みます。0x26 値 0xA9 を読み取ります。 それは次のようになります: 値0x81をレジスタ0x26に書き込む
View full article
Dead Reckoning precision requirements Hi We have a GPS product with NXP sensor MMA8652FC (acceleromoeter), FXAS21002C (gyroscope) and MAG3110 (Magnometer)   We want to use these sensors to perform dead reckoning if GPS coverage is lost. My guess is that the software algorithm for dead reckoning with these 3 sensors is some months development time and before we start this process I would like to do a preliminary calculation or educated guess on what level of dead reckoning precision we can from the last known GPS position if our GPS speed and GPS heading direction data was 100%correct at last know GPS position.   Can anyone say something roughly about the estimated preicison we might get here with these sensors? Maybe 5 or 10% from distance traveled?   BR Øystein SensorFusion Re: Dead Reckoning precision requirements I touched on this some time back in the posting at Position Reckoning . That posting looked only at double integration errors associated with accelerometer offset.  There's also the issue or triple integration errors associated with gyro outputs.  Having said all this, you can probably improve performance above these numbers by running a higher level fusion function which incorporates your GPS data.
View full article
Toolbox for android Hello. I have a question about bluetooth between android and K64F.   I followed the step.but it didn't work.   1. install sensor fusion app 2. K64F turn on(2 jumper was installed, binary file was downloaded) 3. (in app)preferences -> Automatically enable Bluetooth on entry 4. reset app and board 5. (in app)select Local 9-axis   (in app) if board image was changed into K64F board , it means that bluetooth work well??? I shake the phone or board but the board image is not moving.   Thank you   SensorFusion Re: Toolbox for android selecting 'Local 9 xis ' was error. I select Remote 9 axis and it works well Thank you. Re: Toolbox for android Obvious question but you didn't mention whether you have a MULTI-B or MULT2-B bluetooth board connected to the FRDM-K64F. Assuming you do, make sure the jumper by the Bluetooth module (the silver square on the Bluetooth board) is in place. After you flash the K64F and power cycle you should see a flashing green LED. If the red LED is on then the software power on tests ave failed to communicate with the sensors. You've also selected "Local 9 axis" which selects the sensors on your Android tablet. You need to select "Remote 9 axis" to talk to the K64F board over Bluetooth.
View full article
使用 MP3H6115 测量压差 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 您好, 我目前使用两台 MP3H6115a 来测量压差。我用这个压力来计算气流速度。 问题是,我的压差在一段时间内并不恒定。我今天评估了传感器,因为速度出现了问题。我整天把传感器放在桌子上,记下每个传感器的估计压力,随着时间的推移,差值从 0.05kPa 到 0.01kPa。变化的频率非常缓慢,而且长期保持不变(约 2 小时)。 也许值得注意的是,气压整天都在下降。 有人有这方面的经验吗?这在意料之中吗? / 汤姆 Re: Differential pressure using MP3H6115 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,安德烈斯。 谢谢你的回答,我从来没有认真看过这个数据,因为我以前使用过这种传感器,而且效果很好。我不得不对它们进行校准,但效果还不错!但我现在使用的这台仪器的压力输出是非线性的,因此无法进行校准。 你能指出使用飞思卡尔传感器确定动态和静态压力的更可靠设置的方向吗? 最好的 汤姆 Re: Differential pressure using MP3H6115 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,汤姆 6115 的预期误差为 1.5% ,即大约 1.5 千帕。0.05 至 0.01 千帕的变化是正常的。 有关详细信息,请参阅http://cache.freescale.com/files/sensors/doc/data_lib/DL200.pdf?fsrch=1& sr=1(第 3-176 页),压力误差带。 祝您好运! Andres
View full article
NTM88 Hi NXP Engineer I would like to know if I can burn the APS library when I burn the bootloader. Thank you for your help. Re: NTM88 Or is there a viable way to pre-build it in first. Then the aftermarket side only burns the application. Re: NTM88 Discuss this need of yours currently we have no corresponding program. Re: NTM88 It's the aftermarket on the customer's side that wants to burn in the BOOT along with some libraries. Then just burn an app when their customer installs it. Is there any program like this? Re: NTM88 Can you repeat your question, didn't quite read it?
View full article
FXOS8700CQ is not generating Data ready interrupt on INT1 Hi, I am using Hexiwear development kit. I have configured FXOS8700CQ to generate Data ready interrupt on INT1 (PTC1). But the INT1 interrupt never triggered. FXOS8700CQ configuration is mentioned below. Please let me know, am i missing some thing? fxos_status_t FXOS_Init( handleFXOS_t* fxosHandle, const settingsFXOS_t* fxosSettings ) { /** * initialize intern structures, * which will be used from now on */ uint8_t chip_ID = 0x00; uint8_t tmp[1] = {0}; memcpy( (void*)&self, (void*)fxosHandle, sizeof(self) ); memcpy( (void*)&settings, (void*)fxosSettings, sizeof(settings) ); statusI2C_t status = I2C_Init( &(self.protocol), settings.address, settings.baudRate_kbps ); if ( STATUS_I2C_SUCCESS != status ) { return status; } else { statusI2C_t devStatus = STATUS_I2C_SUCCESS; devStatus |= I2C_ReadReg( &(self.protocol), WHO_AM_I_REG, &chip_ID); if(kFXOS_WHO_AM_I_Device_ID == chip_ID) { /** go to standby */ devStatus |= I2C_ReadReg(&(self.protocol), FXOS_CTRL_REG1, tmp); devStatus |= I2C_WriteReg(&(self.protocol), FXOS_CTRL_REG1, tmp[0] & (uint8_t)~ACTIVE_MASK); devStatus |= I2C_ReadReg(&(self.protocol), FXOS_CTRL_REG1, tmp); if ((tmp[0] & ACTIVE_MASK) == ACTIVE_MASK) { catch( CATCH_I2C ); } devStatus |= I2C_WriteReg(&(self.protocol), F_SETUP_REG, F_MODE_DISABLED); // Disable the FIFO devStatus |= I2C_WriteReg(&(self.protocol), FXOS_CTRL_REG2, MOD_HIGH_RES); // /* enable auto-sleep, low power in sleep, high res in wake */ devStatus |= I2C_WriteReg(&(self.protocol), FXOS_M_CTRL_REG1, (M_RST_MASK | M_OSR_MASK | M_HMS_MASK)); devStatus |= I2C_WriteReg(&(self.protocol), FXOS_M_CTRL_REG2, (M_HYB_AUTOINC_MASK)); devStatus |= I2C_WriteReg(&(self.protocol), XYZ_DATA_CFG_REG, FULL_SCALE_4G); // +/-4g range with 0.244mg/LSB devStatus |= I2C_WriteReg(&(self.protocol), FXOS_CTRL_REG4, 0x01); // Enable DRDY interrupt devStatus |= I2C_WriteReg(&(self.protocol), FXOS_CTRL_REG5, INT_CFG_DRDY_MASK); devStatus |= I2C_WriteReg(&(self.protocol), FXOS_CTRL_REG3, WAKE_FF_MT_MASK); devStatus |= I2C_WriteReg(&(self.protocol), FXOS_CTRL_REG1, HYB_ASLP_RATE_0_8HZ | HYB_DATA_RATE_100HZ | ACTIVE_MASK); devStatus |= I2C_ReadReg(&(self.protocol), FXOS_CTRL_REG1, tmp); if ((tmp[0] & ACTIVE_MASK) != ACTIVE_MASK) { catch( CATCH_I2C ); } if ( STATUS_I2C_SUCCESS != devStatus ) { catch( CATCH_I2C ); } } return devStatus; } } //Interrupt configuration /** create basic tasks */ status |= HostInterface_Init(); SIM_SCGC5 |= SIM_SCGC5_PORTC_MASK; // Turn on clock to Port C module PORTC_PCR1 |= (0|PORT_PCR_ISF_MASK |  PORT_PCR_MUX(0x1) |  PORT_PCR_IRQC(0xA)); // PC1 is configured for falling edge interrupts //Enable PORTC interrupt on NVIC NVIC_SetPriority( PORTC_IRQn, HEXIWEAR_TAP_IRQ_PRIO); Thanks, J. Chandra Sekhar Re: FXOS8700CQ is not generating Data ready interrupt on INT1 Hello Chandra, I do recommend performing the reset just writing 0x40 to the CTRL_REG2 register. Could you please make sure the INT1 pin is connected to your MCU/MPU input pin? Is your input pin configured for falling edge interrupts?                Regards, David Re: FXOS8700CQ is not generating Data ready interrupt on INT1 Hi, To perform Soft reset, i have used below code. But this command resulting the STATUS_I2C_ERROR. fxos_status_t FXOS_SoftReset() { statusI2C_t i2cStatus = I2C_WriteReg( &(self.protocol), FXOS_CTRL_REG2, RST_MASK ); if ( STATUS_I2C_SUCCESS != i2cStatus ) { return STATUS_FXOS_PROTOCOL_ERROR; } else { return STATUS_FXOS_SUCCESS; } } Thanks, J. Chandra Sekhar Re: FXOS8700CQ is not generating Data ready interrupt on INT1 Hello Chandra, Thank you for using the community.  Your device configuration seems correct. I just want to recommend applying a reset to all registers before device the configuration. Could you please make sure the INT1 pin is connected to your MCU/MPU input pin? Is your input pin configured for falling edge interrupts? Regards, David Re: FXOS8700CQ is not generating Data ready interrupt on INT1 Hi, Thanks for your response. I have checked the code and configured similarly in my Hexiwear board. But still the same, FXOS8700CQ sensor is not generating interrupt.   const gpio_input_pin_user_config_t Acc_cfg[] = { { .pinName = ACC_INT1, .config.isPullEnable = false, .config.pullSelect = kPortPullDown, .config.isPassiveFilterEnabled = false, .config.isDigitalFilterEnabled = false, .config.interrupt = kPortIntDisabled }, { .pinName = ACC_INT2, .config.isPullEnable = false, .config.pullSelect = kPortPullDown, .config.isPassiveFilterEnabled = false, .config.isDigitalFilterEnabled = false, .config.interrupt = kPortIntDisabled }, { .pinName = GPIO_PINS_OUT_OF_RANGE, } }; //Configured Pin 1 of PORTC as input GPIO_DRV_Init( Acc_cfg, NULL );  //Sensor configuration devStatus |= I2C_ReadReg( &(self.protocol), WHO_AM_I_REG, &chip_ID); if(kFXOS_WHO_AM_I_Device_ID == chip_ID) { /** go to standby */ FXOS_GotoStandby(); devStatus |= I2C_ReadReg(&(self.protocol), FXOS_CTRL_REG1, tmp); devStatus |= I2C_WriteReg(&(self.protocol), FXOS_CTRL_REG1, tmp[0] & (uint8_t)~ACTIVE_MASK); devStatus |= I2C_ReadReg(&(self.protocol), FXOS_CTRL_REG1, tmp); if ((tmp[0] & ACTIVE_MASK) == ACTIVE_MASK) { catch( CATCH_I2C ); } devStatus |= I2C_WriteReg(&(self.protocol), XYZ_DATA_CFG_REG, FULL_SCALE_2G); // +/-2g range with 0.244mg/LSB devStatus |= I2C_WriteReg(&(self.protocol), FXOS_M_CTRL_REG1, (0x1F)); // Hybrid mode (accelerometer + magnetometer), max OSR devStatus |= I2C_WriteReg(&(self.protocol), FXOS_M_CTRL_REG2, 0x20); // M_OUT_X_MSB register 0x33 follows the OUT_Z_LSB register 0x06 (used for burst read) devStatus |= I2C_WriteReg(&(self.protocol), FXOS_CTRL_REG2, 0x02); // High Resolution mode devStatus |= I2C_WriteReg(&(self.protocol), FXOS_CTRL_REG3, 0x00); // Push-pull, active low devStatus |= I2C_WriteReg(&(self.protocol), FXOS_CTRL_REG4, 0x01); // Enable DRDY interrupt devStatus |= I2C_WriteReg(&(self.protocol), FXOS_CTRL_REG5, 0x01); // DRDY interrupt routed to INT1 - PTC1 devStatus |= I2C_WriteReg(&(self.protocol), FXOS_CTRL_REG1, 0x35); // ODR = 3.125Hz, Reduced noise, Active mode FXOS_SetActive(); if ( STATUS_I2C_SUCCESS != devStatus ) { catch( CATCH_I2C ); } } //Interrupt handler void PORTC_IRQHandler(void) { PORT_HAL_ClearPortIntFlag(PORTC_BASE_PTR); /** Write your code here ... */ /* Unblock the task by releasing the semaphore. */ portBASE_TYPE taskToWake = pdFALSE; if (pdTRUE==xSemaphoreGiveFromISR(xReadRawDataSemaphore, &taskToWake)) { FXOS8700CQ_DataReady = 1; if (pdTRUE == taskToWake) { vPortYieldFromISR(); } } } //Task to read data from sensor void ReadRawData(task_param_t param) { xReadRawDataSemaphore = xSemaphoreCreateBinary(); if( xReadRawDataSemaphore == NULL ) { configASSERT(0); } for(;;) { /*Block waiting for the semaphore to become available. */ if( xSemaphoreTake( xReadRawDataSemaphore, LONG_TIME ) == pdTRUE ) { if(FXOS8700CQ_DataReady) { FXOS8700CQ_DataReady = 0; FXOS_ReadRawData(&AccelMagData[0]); } vPortYieldFromISR(); } } } Trying this from few days, but no luck. Request your support. Thanks, J. Chandra Sekhar Re: FXOS8700CQ is not generating Data ready interrupt on INT1 Hello Chandra, I hope all is great with you. Thank you for using the NXP communities. In this case, I highly recommend using the following bare metal project as a reference for your design: FXOS8700CQ - Bare metal example project I hope this information helps. Regards, David
View full article
How to implement the MMA8452 Linux Kernel Driver? Hello, I am working with an MMA8451Q accelerometer in an embedded Linux environment running kernel 4.19.94. The goal is to create a kernel module that will detect an interrupt from the accelerometer when the orientation changes, and then read the 0x10 register of the accelerometer to determine what the actual orientation is. So far, I have configured the MMA8451Q to send an interrupt when the orientation changes using i2cset and i2cget commands from userspace, and have created a kernel module that successfully detects this interrupt. My issue now is that I am in kernel space, so I can no longer use the simple i2cget command from the i2c-tools package in order to read the 0x10 register of the accelerometer. Instead, I have turned to the mma8452 kernel driver (which includes the MMA8451Q) in order to read the register without needing c libraries. Unfortunately, I cannot find any documentation or examples on how to use this driver. I have been able to successfully make and install the module into my kernel, as well as import the driver functions into my ISR kernel module, but cannot figure out how to implement said functions, or even what function I need. So, I am asking if anyone is aware of any documentation regarding the MMA8452 driver. Also, if there is another way to access the registers of the MMA8451Q through i2c without using c libraries (so it will function in a kernel module) that would work as well. Basically, creating my own driver to achieve one simple function: reading a register. Any help would be much appreciated!! Accelerometers Re: How to implement the MMA8452 Linux Kernel Driver? Hello, I am afraid that we do not have any further documentation or example. As mentioned before, this device is obsolete. Please accept my apologies. For further information about the I2C operation (single byte read for example), I do recommend reviewing the chapter 5.11.1 from the datasheet or using the example codes provided before as a reference. I hope this information helps. Regards, David Re: How to implement the MMA8452 Linux Kernel Driver? I have not seen the driver mentioned, no. It does seem to replace the driver provided by the Linux Kernel however and should work. As someone who is new to using kernel drivers however, is there some example usage or further documentation I can view in order to get a better understanding of how to actually call the "mma8x5x_read_data" function for example? Re: How to implement the MMA8452 Linux Kernel Driver? Hello, I hope all is great with you. Unfortunately I am not aware of such driver. Please accept my apologies. Have you considered using the drivers from the link below? NXP Sensor Drivers for Android™, Linux® and other OS Regards, David
View full article
mpl3115a2 可靠性 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 是否有 MPL3115A2 的公开可靠性报告?我看过设备数据手册,正在寻找更具体的关于这个传感器的东西。 压力传感器 Re: MPL3115A2 RELIABILITY <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,马修、 请创建一个私人票据(支持请求),以便我们的质量部门对此作出全面答复。 顺祝商祺! 托马斯
View full article
FXOS8700 PL 中断有时无法清除 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我曾参与过一个基于 STM32 和 FXOS8700 的项目。 一些信息 I2C @400kHz 启用自动休眠(但不中断) 混合模式 仅在 CTRL_REG4 中启用 int_en_lndprt,在 CTRL_REG5 中启用 int_cfg_lndprt 传感器设置为在改变方向时产生中断 (INT1)。在中断代码中,我读取了 PL_STATUS,并可以检查发生了哪个(端口/景观/前方/后方)移动。 但是,有时在读取 PL_STATUS 之后,INT1 引脚并没有清零。由于这个中断不可能像 freefall 或 vectormag 中断那样 " unlatched ",所以当这种情况发生时我无法再恢复IDLE状态了。 有人使用过这项功能并且效果良好吗? 加速度传感器 Re: FXOS8700 PL interrupt sometimes does not clear <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,罗伯托、 增加消抖计数器并不是真正的解决办法。这只是为了确保不会出现准永久性中断。它可以过滤一下中断。但是,如果触发条件仍然有效,则在清除 flag + debounce 时间后,中断将恢复到较高水平。 你可以看看应用笔记 AN4068。 我在等你的测试。让我知道你的进展! 此致, 安东尼 Re: FXOS8700 PL interrupt sometimes does not clear <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,安东尼、 我照你说的做了,看起来还行。但我会再等几天,因为问题是随机出现的。这很难再现。无论明天之前是否一切正常,我都需要减少消抖计数器,因为方向移动的响应时间增加了很多(将近 1.5 秒)。 我会让你知道我的测试结果。 谢谢! 罗伯托 Re: FXOS8700 PL interrupt sometimes does not clear <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,罗伯托斯、 我建议您使用消抖计数器,以确保 INT1 不会因其他事件而再次被设置。(使用大值来增加下一个事件发生前的死区时间)。 如果中断仍为高电平,则需要清除标记。如果下降了一段时间(去抖时间),则是阈值问题。 试试看,然后告诉我。 谢谢! 安东尼
View full article
MMA8452 Linux カーネル ドライバーを実装するにはどうすればよいでしょうか? こんにちは、 私はカーネル 4.19.94 を実行している組み込み Linux 環境で MMA8451Q 加速度センサを使用しています。目標は、方向が変わったときに加速度センサからの割り込みを検出し、加速度センサの 0x10 レジスタを読み取って実際の方向を判断するカーネル モジュールを作成することです。 これまで、ユーザー空間から i2cset コマンドと i2cget コマンドを使用して、方向が変わったときに割り込みを送信するように MMA8451Q を構成し、この割り込みを正常に検出するカーネル モジュールを作成しました。 現在の問題は、カーネル空間にいるため、加速度センサの 0x10 レジスタを読み取るために、i2c-tools パッケージの単純な i2cget コマンドを使用できなくなったことです。代わりに、C ライブラリを必要とせずにレジスタを読み取るために、 mma8452 カーネル ドライバ(MMA8451Q を含む) を使用しました。残念ながら、このドライバーの使用方法に関するドキュメントや例は見つかりません。モジュールを作成してカーネルにインストールし、ドライバ関数を ISR カーネル モジュールにインポートすることはできましたが、これらの関数をどのように実装すればよいのか、どのような関数が必要なのかさえわかりません。 そこで、MMA8452 ドライバーに関するドキュメントを知っている方がいるかどうかを尋ねています。 また、C ライブラリを使用せずに i2c を介して MMA8451Q のレジスタにアクセスする別の方法(カーネル モジュールで機能する)があれば、SO も機能します。基本的に、レジスタの読み取りという 1 つの単純な機能を実現するために独自のドライバーを作成します。 どなたか助けていただければ幸いです!! 加速度センサ Re: How to implement the MMA8452 Linux Kernel Driver? こんにちは、 残念ながら、これ以上のドキュメントや例はありません。前述のとおり、このデバイスは時代遅れです。申し訳ございません。 I2C 操作 (たとえば、単一バイト読み取り) の詳細については、 データシート の 5.11.1 章を確認するか、前で提供されているサンプル コードを参照として使用することをお勧めします。 この情報がお役に立てれば幸いです。 よろしくお願いいたします。 デビッド Re: How to implement the MMA8452 Linux Kernel Driver? いいえ、ドライバーについて言及されているのを見たことがありません。ただし、Linux カーネルによって提供されるドライバーを置き換えるようであり、動作するはずです。しかし、カーネル ドライバーの使用に慣れていない人として、たとえば「mma8x5x_read_data」関数を実際に呼び出す方法をよりよく理解するために参照できる使用例や詳細なドキュメントはありますか? Re: How to implement the MMA8452 Linux Kernel Driver? こんにちは、 すべてが順調であることを願っています。 残念ながら、私はそのようなドライバを知りません。申し訳ございません。 以下のリンクのドライバの使用を検討しましたか? Android ™ 、Linux ® 、その他のOS向けのNXPセンサードライバー よろしくお願いいたします。 デビッド
View full article
在 2g 模式下,测量加速度的偏移值是多少? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 在数据表中,4G 模式指定了这些偏移值,但 2G 模式没有。 经过测试,我发现在 4g 模式下给出的偏移值与在 2g 模式下测得的偏移值之间没有任何关联。 那么,我的问题是在 2g 模式下,测量加速度的偏移值是多少? 非常感谢你们的答复。 顺祝商祺! 马克-伯杰 加速度传感器 Re: In 2g mode, what is the offset values added to the measured accelerations? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 不客气,马克。 您的假设是正确的,在 ±2g 模式下的 100 计数。大家应该都能看到之前附上的文件,但我会通过另一条直接消息发送给您。关于 MTBF,请创建一个 SR。 此致, 托马斯 Re: In 2g mode, what is the offset values added to the measured accelerations? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,托马斯、 非常感谢您的答复! 现在一切都清楚了! 因此,我推测 2g 模式下的最低计数是 100,对吗? 对不起,我没有找到任何提供特征数据的附件文件? 能把这个文件发给我吗? 我还有一个问题:你知道三维加速计 MMA8451Q 的 MTBF 吗? 再次感谢您的帮助,它非常有用! 顺祝商祺! 马克 De : 托马斯-瓦韦尔卡 使者 : mercredi 11 mars 2015 10:21 À : BERGER Marc Objet :Re: - Re:在 2g 模式下,测量加速度的偏移值是多少? <> 关于在 2g 模式下,测量加速度时添加的偏移值是多少? Tomas Vaverka 的回复<> 在传感器 - 查看完整讨论<> Re: Re: In 2g mode, what is the offset values added to the measured accelerations? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,马克、 Z 轴自检输出与数据手册中规定的典型值不一致的原因是自检未在出厂前进行微调。内部规格为 XY 轴 50 至 1000 计数,Z 轴 50 至 6000 计数。本产品自检的目的只是检查传感器是否在移动以及信号链是否正常。一般来说,如果达到了最小变化量(±4g 模式下所有轴的 50 个计数),测试即为成功。我附上了特征数据以供参考。 此致, 托马斯 Re: In 2g mode, what is the offset values added to the measured accelerations? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,托马斯、 首先,非常感谢你的快速答复! 不幸的是,我没有完全理解... 您说 2g 模式自检输出是 4g 模式的 2 倍,是指增加的偏移量通常是 4g 模式的 2 倍吗? - X 轴为 362(而不是 MMA8451Q 数据表中 4g 模式下的 181) - Y 轴为 510(而不是 MMA8451Q 数据表中 4g 模式下的 255) - Y 轴为 3360(而不是 MMA8451Q 数据表中 4g 模式的 1680) 但你的措施与这些数据不符。 事实上,在 ST=0 的 2g 模式下,测得的加速度为 4108,而在 ST=1 的模式下,加速度值为 8169 ==> ,两者之差等于 8169 - 4108 = 4061。 这意味着测量值与预期值之间的差值大于 +20% ((4061 - 3360) / 3360)! 这种差异是否还在容许范围之内?如果回答为 "是",那么自检过程中添加的偏移量的最小值/最大值是多少? 另一个问题是:为什么在其他轴上要忽略自检控制? 正如您所看到的,我没有完全理解......但无论如何,还是非常感谢您的答复。 顺祝商祺! 马克 De : 托马斯-瓦韦尔卡 使节 : 2015年3月9日 星期二 13:25 À : BERGER Marc Objet :关于 - 在 2g 模式下,测量加速度的偏移值是多少? <> 在 2g 模式下,测量加速度的偏移值是多少? Tomas Vaverka 的回复<> 在传感器 - 查看完整讨论<> Re: In 2g mode, what is the offset values added to the measured accelerations? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,马克、 2G 模式自检输出是 4G 模式的 2 倍。8g 模式自检输出是 4g 模式的一半。我测量了以下不同灵敏度下的 Z 轴输出值: ST=0 ST=1 +/-2g: 4108 8169 +/-4g: 2050 4081 +/-8g: 1027 2040 正如您所看到的,Z 轴被修剪为偏转 ~1g(正)。 如果您还有其他问题,请告诉我。 此致, 托马斯 PS: 如果我的回答有助于解决您的问题,请标记为"正确" 或 "有帮助"。谢谢。
View full article
MC33774读取均衡状态 你好:   MC33774一颗芯片最多可以打开多少节的均衡,打开后怎么读取均衡的状态,看均衡是否打开,同时怎么关闭均衡。 是否该寄存器? Re: MC33774读取均衡状态 嗨,莎莉、 请确保您已登录nxp.com。如果您没有看到 AN968710,请单击 " 申请额外访问权限 " 或前往 “我的恩智浦 > 个人资料” 编辑您的安全访问权限。有关安全访问权限的更多信息,请参阅本网站: https://www.nxp.com/support/support/secure-access-rights:SEC-ACCESS BRs, Tomas Re: MC33774读取均衡状态 您好, 我没有翻译我遇到的问题,我感到非常抱歉。是的,问题是关于 MC33774A 的电池平衡。但我找不到您推荐的这个文件。 莎莉 Re: MC33774读取均衡状态 您好, 你能否将你的问题翻译成英文,以免在自动翻译过程中出现任何误解? 由于您的问题似乎与电池平衡有关,我建议您仔细阅读我们的应用笔记 AN968710-MC33774A 电池平衡模式。 请注意,本文件被列为安全文件(需签署保密协议),可从以下网址下载: https://www.nxp.com/products/power-management/battery-management/battery-cell-controllers/18-channel-li-ion-battery-cell-controller-ic-asil-d:MC33774 BRs, Tomas
View full article
使用 MP3H6115 测量压差 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 您好, 我目前使用两台 MP3H6115a 来测量压差。我用这个压力来计算气流速度。 问题是,我的压差在一段时间内并不恒定。我今天评估了传感器,因为速度出现了问题。我整天把传感器放在桌子上,记下每个传感器的估计压力,随着时间的推移,差值从 0.05kPa 到 0.01kPa。变化的频率非常缓慢,而且长期保持不变(约 2 小时)。 也许值得注意的是,气压整天都在下降。 有人有这方面的经验吗?这在意料之中吗? / 汤姆 Re: Differential pressure using MP3H6115 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,安德烈斯。 谢谢你的回答,我从来没有认真看过这个数据,因为我以前使用过这种传感器,而且效果很好。我不得不对它们进行校准,但效果还不错!但我现在使用的这台仪器的压力输出是非线性的,因此无法进行校准。 你能指出使用飞思卡尔传感器确定动态和静态压力的更可靠设置的方向吗? 最好的 汤姆 Re: Differential pressure using MP3H6115 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,汤姆 6115 的预期误差为 1.5% ,即大约 1.5 千帕。0.05 至 0.01 千帕的变化是正常的。 有关详细信息,请参阅http://cache.freescale.com/files/sensors/doc/data_lib/DL200.pdf?fsrch=1& sr=1(第 3-176 页),压力误差带。 祝您好运! Andres
View full article
MP3H6115を使用した差圧 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、 現在、差圧を測定するために 2 つの MP3H6115a を使用しています。この圧力を使って空気の速度を計算します。 問題は、差圧が時間の経過とともに一定ではないことです。速度に問題が発生したため、今日はセンサを評価してもらいました。私は一日中机の上にセンサを置いて、それぞれのセンサーからの推定圧力を書き留めていましたが、時間の経過とともにその差は 0.05kPa から 0.01kPa まで変化しました。変化の頻度は非常に遅く、長期間(約 2 時間)一定です。 おそらく注目すべきは、圧力が一日中下がっているということだ。 このマターについて経験のある方はいらっしゃいますか?これは予想通りのことでしょうか? / トム Re: Differential pressure using MP3H6115 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、アンドレス。 回答ありがとうございます。このセンサーは以前にも使用しており、良好な結果が得られているため、その数値を実際に確認したことはありませんでした。調整する必要がありましたが、問題なく動作しました。しかし、私が現在持っているものは圧力からの出力が非線形であるため、較正することが不可能です。 フリースケールのセンサーを使用して動的圧力と静的圧力を決定するための、より信頼性の高いセットアップ方法を教えていただけますか? 最高、 トム Re: Differential pressure using MP3H6115 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは、トム。 6115 の予想誤差は 1.5% で、これはおよそ 1.5kPa を意味します。0.05 ~ 0.01 kPa 程度の変動は正常です。 詳細については、 http://cache.freescale.com/files/sensors/doc/data_lib/DL200.pdf ?fsrch=1&sr=1 、3-176 ページの「圧力誤差帯域」を参照してください。 幸運を祈ります! アンドレス
View full article
LPC845+NBP8FD4ST1 在 NBP8FD4ST1 中,我需要验证 NBP8 和 LPC845 之间的通信。我读取了 SPIOPS (0x0038) 寄存器,收到了响应 0x0038 命令的 0x81F0。响应的二进制形式为 1000 0001 1111 0000 (0x81F0)。我从中提取出 SPIOPS 寄存器的值为 0x124。但预期值应该是 0x04。这样做对吗? 压力传感器 Re: LPC845+NBP8FD4ST1 你好,玛达维 从截图中可以看出,您发送和读取的是 LSB 先/MSB 后,而 NBP 实现的是 MSB 先/LSB 后。 因此,读取 SPIOPS 的命令应以 0x00E1 而不是 0xE100 发送。 有关 SPI 交流的资源,请参阅: - NBP 网页(https://www.nxp.com/products/NBP8-9x) 上的应用说明。它有一个相关文件,是一个用于编码和解码 SPI 命令和响应的 excel 工具。 - 用于 NBP8 的 KE15Z 主机应用程序用户指南,其中包括 SPI 通信截图。用户指南可在以下软件包中找到: https://www.nxp.com/webapp/Download?colCode=NBP8x_Application& app Type=License BRs, Tomas
View full article
Where to find MC9S08QE8.h for MMA8450Q driver code? I'm working with MMA8450Q, but I cannot find MC9S08QE8.h. Where should I find it? Accelerometers Re: Where to find MC9S08QE8.h for MMA8450Q driver code? Sorry that I had sth. to do during last days, and I could not reply you the time I saw your email. Thank you for replying me. However I cannot find the very folder...Thank you all the same! Re: Where to find MC9S08QE8.h for MMA8450Q driver code? Hi, This header file should be in the Include folder. Example: C:\Program Files\Freescale\Code Warrior for Microcontrollers V6.3\lib\hc08c\include Regards, Tomas
View full article
Differential pressure using MP3H6115 Hi, I'm currently using two MP3H6115a to meassure differential pressure. I'm using this pressure to calculate air speed. The problem is, that my differential pressure is not constant over time. I've been evaluated the sensors today after having problem with the speed. I've been having the sensors on my desk all day, writing down the estimated pressure from respective sensor, and over time the difference vary from 0.05kPa to 0.01kPa. The frequency of the change is very slow, and it have been constant for long periods (~2h). Maybe worth noting is that the pressure has been falling all day. Does anyone have experience on the matter? Is this to be expected? / Tom Re: Differential pressure using MP3H6115 Hi Andres. Thanks for the answer, I never really looked at that figure since i've used this sensor before and with good results. I had to calibrate them, and they've worked ok! But the ones I have now have non-linear output from pressure, so it is impossible to calibrate. Can you point me in the direction of a more reliable set up for determine dynamic and static pressure using freescale sensors? Best, Thom Re: Differential pressure using MP3H6115 Hi Tom, The 6115 has an expected error of 1.5%, which means roughly 1.5kPa. Variations in the order of .05 to .01 kPa, are normal. Refer to http://cache.freescale.com/files/sensors/doc/data_lib/DL200.pdf?fsrch=1&sr=1, page 3-176, Pressure Error Band for more info. Best of lucks! Andres
View full article
MPX5100 - 真空测量 你好,我想了解一些有关 MPX5100DP 传感器的信息。 我需要对一台电子医疗设备进行测量,这台设备会在连接到病人身上的吸盘内产生真空。 测量范围为 0kpa 至 -100kpa。 您能为此使用这个传感器吗? 谢谢! Re: MPX5100 - Vacuum Measurement 你好,罗伯托、 我相信您可以使用 MPX5100DP 来实现这一目的。 只要 P1 和 P2 之间的压差小于 100 千帕,并且 P1>P2,就不会有问题。 您还可以考虑使用MPXV6115VC6U真空计真空传感器。 顺祝商祺! 托马斯
View full article