Interfacing STM32G030F6P6TR with INA219 for current sense for 2 slaves

Heena09

Junior Member level 3
Joined
Jan 21, 2022
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Visit site
Activity points
240
Hi all,

I am working on Current sensing concept with the STM32G030F6P6TR and INA219 ic.

I tried all this with the STM32G030F6P6TR and INA219 module.
  1. https://robu.in/product/cjmcu-219-i...ional-current-power-monitoring-sensor-module/
  2. https://evelta.com/7semi-stm32g050f...GHH7koPUqg-xGXKoJI3JmXyrPku_f2XUaAiKTEALw_wcB

Its working successfully, but when i integrated the hardware it . But the I2c addresses are not detected. and i am using UART to get the address of both the IC
I am attaching my design .Let me know if any issue
 

Attachments

  • DOCK_V7.pdf
    217.6 KB · Views: 74

Power supply scheme is wrong. You can't operate INA219 with 5V when I2C has 3.3V supply. Either need I2C level translator or should supply INA219 by 3.3 - 3.6 V.
 

Hi,

when there is a functional problem ... it´s good to have the information about the modules you use.
BUT more important are the datasheets of the IC you used. Only the datsheets tell you the signal timing an levels.

Klaus
 

OK
. Ok write now we are having both designs. one where STM32 work on 3.3 & INA219-3.3 V and another one where STM32 - 3.3V and INA219-5V. I successfully done it with 3.3 for both the chip & and for the second option, we are trying to find the address of I2C. but fail in one
 

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…