2025-05-16 2:30 PM
Using a custom board.
Used CubeMX and CubeIDE to develop the code which is attached to this post.
A read of WHO_AM_I_A results with the command in rxData[0] and nothing in rxData[1].
Same thing happens when reading registers.
Solved! Go to Solution.
2025-05-17 2:27 PM
Hello @JBonn
Please use the BSP driver for LSM303AGR to set your spi and read your data.
GitHub - STMicroelectronics/stm32-lsm303agr at 08a4454a5359e2e0dee283b6df8ebbbae6366f14
2025-05-17 2:27 PM
Hello @JBonn
Please use the BSP driver for LSM303AGR to set your spi and read your data.
GitHub - STMicroelectronics/stm32-lsm303agr at 08a4454a5359e2e0dee283b6df8ebbbae6366f14