MEMS (sensors)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to implement repeated start for I2C?

Hi all,i have to readout temperature and humidity of a dhc3021 sensor. Therefore, an Arduino code section is already given: Wire.beginTransmission(HDC_ADDR); // Readout temp and rh data Wire.write(0xE0); Wire.write(0x00); Wire.endTransmission(fa...

NGros by Associate III
  • 647 Views
  • 1 replies
  • 0 kudos

I am using MotionDI library with sensortile (STEVAL-STLKT01V1).I modified the existing 'DataLog' application to include MotionDI_update function. But the MotionDI_update function halts after giving the rotation and acceleration once. How to resolve this?

rptr = evt.value.p;   if(LoggingInterface == USB_Datalog) { /*** Using Dynamic Inclinometer algorithm ***/ //Timer_OR_DataRate_Interrupt_Handler() //{ MDI_input_t data_in; MDI_output_t data_out; /* ...

0693W00000JPWeiQAH.png
QAbba.1 by Associate II
  • 477 Views
  • 4 replies
  • 0 kudos

Resolved! Interleave mode, register 0x5F, interrupt on QVAR value?

In AN5755 it says: "If the user wants to read both pressure and Qvar, the interleaved mode should be enabled with bit QVAR_AUTO_EN in register 12h: • write(0x12, 0xA0); // QVAR_enable in interleaved mode In this mode the output registers are filled o...

KWine by Senior
  • 506 Views
  • 3 replies
  • 1 kudos