Hello....I am trying to communicate with the above subject but I am not sure what CPOL and CPHA should be set to. STM uses MODE1 - 4 but SPI talks about MODE 0 - 1. I have the following basic code to just try and read the WHO_AM_I Register (0x15) w...
I want to set a certain threshold on an accelerometer and have it generate an IRQ. Do both of these accelerometers allow me to do this?Is one better than the other for this application and if so why?Thank you
I want to use the sensor in on of out devices to measure the obtacle in a given threshold range and was wondering if it can be used outdoors, how about covering this sensor with some coated glass ? will that work? Please suggest so we can finalize ...
I have configured the LSM6SDM into continuous mode, 104Hz as is described in AN487, Example 1. I am reading first the number of words in the FIFO, and then the FIFO Pattern (from FIFO Status 3).Here are some code snippet for initialization:unsigned c...
I am attempting to use the LPF2 chain on the LSM6 accelerometers. The cut-off frequency is described as something like ODR_XL/100. I assume that means if you are running at 12.5 Hz the cutoff frequency is then .125 Hz. I am assuming that this is the ...
Hi,I want to configure the LSM6DSO to trigger an interrupt on INT2 when the device starts and stops moving. I used the following configuration, but I can only detect taps on the vertical axis: // LSM6DSO datasheet pg 74 // (00: stationary/motion-onl...
I am writing a driver to retrieve data from the I3G4250D gyroscope embedded in the STM32F411VE discovery board (MB1115D). When the sensor starts up, the first 1 second of data contains an invalid temperature value (typically showing -7). After one se...
Hi! We have been evaluating a few accelerometers from ST. So far we have seen reasonable results from H3LIS100 and H3LIS200 devices.However, H3LIS331DLTR is behaving contrary to our expectations.We have the H3LIS331DLTR device on a PCB, interfaced vi...