Skip to main content
APand.7
Associate II
April 26, 2023
Solved

STM32_I2C_BMP_280

Hello Everyone, I am trying to interface BMP280 sensor using I2C with STM32F401 Discovery Board. My code gets compiled without any error and i have declared two global variable, Temperature and Pressure . when i debug using ST Link GDB sever I cannot see those variable and their values on STM 32 cube IDE.

Please help Thanks

This topic has been closed for replies.
Wijeden RHIMI
Wijeden RHIMIBest answer
ST Employee
April 27, 2023

Hello @APand.7​ 

 Please mark your response as answered by selecting Select as best, as also explained here. This will help other users find that answer faster.

Thanks,

Wijeden,

3 replies

Wijeden RHIMI
ST Employee
April 27, 2023

Hello@ APand.7

Do you use STM32Cube IDE 1.12 version ?

Thanks,

Wijeden,

APand.7
APand.7Author
Associate II
April 27, 2023

Good afternoon Mrs RHIMI

Thanks for your mail. I have already solved the problem. There was problem in my pin connection.

and its working fine.

Thanks for your help and support

Best Regards

Pandey

Wijeden RHIMI
Wijeden RHIMIBest answer
ST Employee
April 27, 2023

Hello @APand.7​ 

 Please mark your response as answered by selecting Select as best, as also explained here. This will help other users find that answer faster.

Thanks,

Wijeden,