Skip to main content
mahdi zamani
Associate III
January 25, 2017
Question

stm32f103 i2c

  • January 25, 2017
  • 1 reply
  • 937 views
Posted on January 25, 2017 at 06:35

hey 

I must connect between two micro controller with

https://community.st.com/tags♯/?tags=i2c

‌

i work with spl 

but i cant work whit i2c at stm32f103c8t6 and stm32f103c8t6 

I do not have to do this sample code .....

can give me sample code ?

please help me ...

thanks

#i2c
This topic has been closed for replies.

1 reply

Khouloud GARSI
Technical Moderator
January 26, 2017
Posted on January 26, 2017 at 09:31

Hello Mahdi,

Please refer to the I2C examples provided when downloading 

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32-standard-peripheral-libraries/stsw-stm32054.html

 .

Those examples are found under the path below:

STM32F10x_StdPeriph_Lib_V3.5.0\Project\STM32F10x_StdPeriph_Examples\I2C

Khouloud.

mahdi zamani
Associate III
January 28, 2017
Posted on January 28, 2017 at 05:44

you sure this link is correct  ?

this fo stm cube ....

Khouloud GARSI
Technical Moderator
January 28, 2017
Posted on January 28, 2017 at 08:19

Hi Mahdi,

Please refer to the link that I have already sent you and download the software below:

0690X00000606AbQAI.png

Khouloud.