An efficient, lightweight, and professional C library for the Kionix KX032-1021 accelerometer, specifically designed for STM32 microcontrollers using the Low-Layer (LL) APIs.
for this repository this code is used: https://github.com/nguyenmanhthao996tn/Kionix_KX023
- Performance: Built with STM32 LL drivers for minimal memory footprint and high execution speed.
- Platform: Optimized for STM32 (tested on F4).
- Functionality: Full support for G-range selection, Output Data Rate (ODR) configuration, and I2C communication.
- Portability: Easy to integrate into STM32CubeIDE, Keil uVision, or IAR.
- STM32CubeIDE or any toolchain supporting STM32 LL.
- An STM32 microcontroller with an available I2C interface.
- KX032 sensor module.
- Clone this repository into your project's
Drivers/Hardwarefolder:git clone [https://github.com/JavidTahery/KX032-STM32.git](https://github.com/JavidTahery/KX032-STM32.git)
- Include
kx032_ll.hin yourmain.c. - Add the source files to your IDE project path.
#include "kx032_ll.h"
...