STM32G070RBT6 I2C communication with ESP32 S3 C1 devkit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-06 12:19 AM - edited ‎2023-07-06 12:20 AM
Hi, I am new to STM32, I am trying the i2c communication between stm32 and esp32. I am using STM32 as slave and ESP32 as Master. I am using Arduino IDE
I connected stm32 PB6-SCL, PB7-SDA to esp32 GPIO21-SDA, GPIO19-SCL.
i was not getting any response in the output. Can anyone help me with it.
Code is attached.
Thanks
Solved! Go to Solution.
- Labels:
-
STM32Cube MCU Packages
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-14 3:50 AM
Hello @RamyaD ,
Could you please connect GND to GND.
Take an oscilloscope to check SDA and SCL behavior.
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-14 3:50 AM
Hello @RamyaD ,
Could you please connect GND to GND.
Take an oscilloscope to check SDA and SCL behavior.
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-23 10:20 PM
HI @Foued_KH ,
It was done. Thanks for the replay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-23 10:39 PM
The Arduino IDE will mask a lot of things, the ideal would be to use the STM32CubeIDE for the STM32:
How to use I2C Communication in STM32 Microcontroller (Arduino IDE)
