Solved
Hello
Please use the BSP driver for LSM303AGR to set your spi and read your data.
GitHub - STMicroelectronics/stm32-lsm303agr at 08a4454a5359e2e0dee283b6df8ebbbae6366f14
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
