Acc_data_rdy = 0

I try to read the correct acceleration data from the BMA530 with an STM32L412K8T6, I designed a flexPCB with the correct Connection Diagram in the BMA530 Data sheet. The two resistors are 4.7kOhm. I work with debbuger and the SWV ITM Data Console. The data communication is via I^2C in Standard mode, I2C Speed = 100 KHz. I got the correct Chip-ID from the BMA530 in the SWV ITM Data Console, but the acc_data_rdy is still zero and the while loop still continue... the starting code i use from the BMA530_Sensor_API from the platform GitHub.

I changed the coines commands to I^2C read functions for STM32 platform

I don´t know exatly why my code is not working. I´m happy for any advise or useful answers 🙂

Best regards

Michael

Sensor
BMA530
Application
Wearables
Use case
Testing, Prototyping
Development Platform
STM32CubeIDE
Project Phase
Evaluation
Label
Sensor API
1 reply
BMA530