I2c Address Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-02-06 9: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 #i2c- Labels:
-
I2C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-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 operationUp vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-02-06 8:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-02-06 9: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 interfaceUp vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-02-06 11:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-02-07 6:29 AM
#define MY_SLAVE_ADDRESS (0x30)
Up vote any posts that you find helpful, it shows what's working..
