cancel
Showing results for 
Search instead for 
Did you mean: 

Changing I2C Address for Accelerometer Sensor and Initialization Query

Azad
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Jacob WOODRUFF
ST Employee

Hi Azad,

 

This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.

 

Regards,
Jake

ST Support

View solution in original post

2 REPLIES 2
Jacob WOODRUFF
ST Employee

Hi Azad,

 

This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.

 

Regards,
Jake

ST Support

Karl Yamashita
Lead II

There isn't a search result for a BMA5. You have a link to a datasheet?

 

If you find my answers useful, click the accept button so that way others can see the solution.