MEMS (sensors)

Ask questions and find answers on ST MEMS sensors, such as the LSM6DSV and the LSM6DSL. Learn how to use the SensorTile.Box, and STEVAL kits.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

LSM303AGR 3-wire SPI interface the STM32WB MCUs

We trying to implement the SPI -3 wire communication with the HAL-APIs i.e, HAL_SPI transmit, HAL_SPI_receive, while trying to read data from LSM303 we are receiving the device ID as 0xFFwe are using the LSM303 Accelerometer + Compass Breakout board ...

0693W00000WKnLzQAL.jpg
na.1 by Associate II
  • 1211 Views
  • 1 replies
  • 0 kudos

How many sensor can I connect on a single MCU SPI Line?

Hi, I'm building a system where a STM32 MCU needs to be connected to 5 sensors in SPI.The sensors are 5 chip MAX31856 or similar.My doubt is, can I connect 5 sensors to a single SPI line of the MCU? Are there any limits on how many sensors can be con...

How to convert data coming from SPI

Hi, I connect X-NUCLEO-CCA02M1 to my NUCLEO-F401RE. I am using SPI1 for the communication between devices. For what I have understood the function below convert N bit (for me N = 8) in a integer. Since i want to stream via UART those bit how can i pr...

ATeli.1 by Associate III
  • 1484 Views
  • 2 replies
  • 1 kudos

Resolved! STPM33 : VREF1 and VREF2

Hi,I'm working on a design with a STPM33. The application only needs to measure current on a single phase but, as STPM33 seems cheaper than STPM32, this was the chosen IC.  Could I remove C27 and C28 if the second channel is not used? If yes, could I...

0693W00000WKWHvQAP.png
carton by Associate II
  • 956 Views
  • 1 replies
  • 0 kudos

Resolved! Hi there I am using a lsm6dsr to measure acceleration and gyrodata. I programed the write, read, delay and print functions ans validated them. But unfortunatly i can no get any values or activityfunctions from it.

I initialize the sensor like this:uint8_t rst; dev_ctx.write_reg = platform_write; dev_ctx.read_reg = platform_read; dev_ctx.handle = &SENSOR_BUS; static uint8_t whoamI; /* Wait sensor boot time */ platform_delay(1000); /* Check device ID */ lsm6dsr_...

HWäck.1 by Associate
  • 1527 Views
  • 5 replies
  • 0 kudos

Timing Accuracy of LPS28DFW

What is the tolerance/accuracy on the sample rate for the LPS28DFW. I do not see this information in the datasheet.

Doug_NPD by Associate
  • 736 Views
  • 1 replies
  • 0 kudos

I am currently working on an analog vibration sensor I have to recover 5 harmonics with my Stm32wle5jc I would like to know how to do a simple fft without DMA at first then with? because I am a beginner in the field

I tried to integrate an example of fft on my existing code and I have a problem "undefined reference to `arm_cfft_radix4_f32'" knowing that I just put the file arm_math.h and after I also tried to put the library DSP and lib arm_cortexM4lf_math.lib a...