MPU9250 icon indicating copy to clipboard operation
MPU9250 copied to clipboard

MPU9250 (GY-91) driver for STM32 with HAL using SPI

Results 3 MPU9250 issues
Sort by recently updated
recently updated
newest added

As seen in the code you have stored External Sensor data into Magnetometer array: MagData But actually as per my understanding we need to read AK8963 Register HXL Please can...

Would it be possible to extend this to also read the barometer data over SPI?

Hi,In function MPU_SPI_Read(), line: HAL_SPI_Receive(&MPU9250_SPI, pBuffer, NumByteToRead, HAL_MAX_DELAY); need read one more byte ,as spi read dump byte , pBuffer[1] as first read byte. Please check it ,Thanks.