Thanks for your inquiry.
SMI230 is a 6-axis IMU (inertial measurement unit) sensor that has 3-axis accelerometer and 3-axis gyroscope inside. It has standard SPI and I2C interface to external processor. So you can use STM32 MCU to talk to SMI230 through SPI or I2C interface.
Thank you for the reply
I have found the linux driver for the SMI230, in my use case i am going to use STM32 MCU which cannot run linux OS, so "I need a driver which uses generic C API's which i port it to the STM32 environment" .