cancel
Showing results for 
Search instead for 
Did you mean: 

Changing I2C Address for Accelerometer Sensor and Initialization Query

Azad
Visitor

I have a BMA5 accelerometer sensor and I want to change its I2C address. I have enabled I2C1 in cubemx and set pull-up for SDA and SCK lines. I need guidance on the program algorithm and cubemx setting for this task as I am new to this field. Also, I would like to know, do I have to initialize the I2C1_init() again after setting the new address. Thank you.

0 REPLIES 0