cancel
Showing results for 
Search instead for 
Did you mean: 

Hello guys. Could someone help me with an example or tutorial on how to use I²C interface slave mode on stm32f103c8t6. strong hug.

BRENO NASCIMENTO SANTOS1
Associate III
 
13 REPLIES 13

Slave mode for what interface? I2C, SPI, something else?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Where have you looked to far?

The Product Page lists loads of resources...

0693W00000Nq5fyQAB.png0693W00000Nq5h6QAB.pngThis part has been in production for over a decade, so lots of 3rd-party resources on the interwebs...

@Community member​ Yes exactly, inteface slave mode I²C.

BRENO NASCIMENTO SANTOS1
Associate III

@Andrew Neil​ Thanks.

You mean you want the STM32 to be a Slave?

ST have examples which connect 2 ports together - one Master, one Slave...

There should be examples in the CubeF1 board example trees

STM32Cube_FW_F1_V1.8.3\Projects\STM3210E_EVAL\Examples\I2C\I2C_TwoBoards_ComPolling

This and similar should deal with both ends, ie Master and Slave usage.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

@Andrew Neil​ example i want Arduino to be the master and STM32 to be the slave

@Community member​  I tried to implement it, on a stm32f103c8t6, ​​but I ran into difficulties.

BRENO NASCIMENTO SANTOS1
Associate III

@Community member​ @Andrew Neil​  Could you help me with an example?

thank you in advance for your support.