2014-02-06 09:30 AM
Dear Clive
i want to communicate two Board through is I2c1. sTm32f103zg MB6722. Stm32f103Rb Discovery boardfor this i Need address Of both the Devices ,can you support me in matter how to found the Address of a device. #stm32 #i2c #stm32 #i2c2014-02-06 10:03 AM
I2C really isn't something I'm in to. If you control the code on both devices, you can surely define whatever 7-bit address you want to the slave device, and then use that to initiate the request in the master device?
STM3210E-EVAL (MB672) ?You might want to review some of the samplesSTM32F10x_StdPeriph_Lib_V3.5.0\Project\STM32F10x_StdPeriph_Examples\I2C\There are probably other firmware examples demonstrating MASTER and SLAVE operation2014-02-06 08:09 PM
2014-02-06 09:12 PM
I saw that LM75 is addressed From 0x90 (where it came from ?)
It's implemented in the silicon of the part, and described in it's data sheet, page 5http://datasheets.maximintegrated.com/en/ds/LM75.pdf
If you're using one of your STM32 as a SLAVE device YOU get to define the address, and program it into the ''SLAVE ADDRESS REGISTER'' when you configure the I2C interface2014-02-06 11:39 PM
2014-02-07 06:29 AM
#define MY_SLAVE_ADDRESS (0x30)