MEMS (sensors)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! HAL_I2S_Receive gives incorrect data

Hi!I'm trying to get an SPH0645 microphone to send sound data to my STM32F411 with HAL_I2S_Receive(), but the data I receive is not correct. According to the data sheet, the microphone gives 24 bits data on a 32 bit frame, with 24 bits containing dat...

0693W00000aITeFQAW.jpg 0693W00000aIThiQAG.png
Chasar by Associate
  • 921 Views
  • 3 replies
  • 1 kudos

STM32F4 i2c vs LSM303DLHC i2c

Trying to match STM32F4 with LSM303DLHC and I cannot find for i2c addressing mode of type: Master: | ST | SAD + W | SAK | SUB | SAK | SR | SAD + R | SAK | ... any match in the STN32F4 7 or 10 bit addressing modes. I suppose using all those bits it is...

ACht.1 by Associate
  • 392 Views
  • 3 replies
  • 0 kudos

Resolved! How to activate auto-increment for lps25hb?

I'm using a nucleo f401re with a lps25hb. Currently I'm getting very wrong values, this is caused by the reading of the registers. For example when I call the registers of temperature which is composed by two bytes HAL_I2C_Mem_Read(&hi2c1, LPS25HB_I2...

YGail.2 by Associate III
  • 377 Views
  • 3 replies
  • 0 kudos

Resolved! How to get Estimated Angle Using Acoustic SL library?

Hello Everyone!I am working on a project with 4 mems microphone and I want to get the estimated angle (sound source localization) using Acoustic SL library, but I don't know how to get it?I have Nucleo-F401RE board and I want to locate sound source w...

Viki by Associate II
  • 511 Views
  • 1 replies
  • 0 kudos

Resolved! 2 PDM microphones data from SPI using PDM to PCM library?

Hello!I want to interface 4 PDM microphones with STM32F401RE's SPIs in stereo config(like in the pic above), I have a problem of how to get its data using pdm to pcm library. As the data will be alligned in this form(M1bit1, M2bit1, M1bit2, M2bit2......

0693W00000Y76ZqQAJ.png
Viki by Associate II
  • 577 Views
  • 1 replies
  • 0 kudos

Help in the configuration of pins for 2 microphones

Please help me. I am trying to configure pins for reading the data coming from 2 microphones mount in a X-NUCLEO-CCA02M2. To read the data I am using a NUCLEO-F401RE. I read all the documentation for tthe expansion but nothing is working. In this mom...

0693W00000WKhaQQAT.jpg 0693W00000WKhaUQAT.jpg 0693W00000WKhaPQAT.jpg
ATeli.1 by Associate III
  • 472 Views
  • 1 replies
  • 0 kudos

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 = in a integer. Since i want to stream via UART those bit how can i proc...

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