TI E2E Community
Stellaris® ARM® Microcontrollers
Stellaris® ARM® LM3S Microcontrollers Forum
I2C in EVALBOT
I wish to interface an IC using I2C module of EVALBOT. Unfortunately, I don't find any pins for I2C on EVALBOT. They have already been connected to LCD and the speaker.
Any possible solution? Please help.
I2C is available at the RF headers. You can get some of the samtec sockets and run jumpers to breakout UART1, RF_SPI and I2C0. Currently, I've done this to add my own homebrew CC2500 board to the evalbot as well as connect an I2C compass and barometric pressure sensor. For I2C software examples, I looked through the different dk examples provided in the full Stellaris driver library.
I believe that you were talking about I2C data and clock on pins 11 and 13 on J5. I see them connected to ASDA and ASCL, which I don't understand what they are. But the pins being available, I understand that I can use I2C interface.
Btw, could you tell me more about the Samtek connector you used. Does it have any special name, or is it just any 20pin Samtek Connector?
Yes, those the pins to use. Look at U1, ASDA and ASCL are connected to PB2 and PB3 which are I2C0SDA and I2C0SCL. My project doesn't have use for the audio at this time and since I2C1 is not broken out to pins and in use for the display, the only available I2C access is via I2C0. I'm not positive, but I believe the audio would still be available as multiple devices can exist on an I2C bus (127 devices?).
I had found the Samtec part number in the user's guide. The sockets are a bit expensive but I managed to get a few samples for experimenting. TI sells the EM2 Expansion Board (DK-LM3S9B96-EM2) which makes me believe the I2S and I2C can work together with no issues as it includes I2C memory on board.
Dear Grag, Thanks a lot.
I will order this http://www.samtec.com/ProductInformation/TechnicalSpecifications/Overview.aspx?series=SFM.
And I should write my program to have 2 devices on my I2C0 bus (I need audio too).
Could you also tell me how to build the platform on top of EVALBOT as you did.
Sure. I printed the gerber file and used it as a template for cutting a small piece of hardboard. Using some 1.25" 4-40 screws and some nylon spacers, I mounted the board to the motor mounting tabs (after removing the original screws first). Pretty simple to get some prototyping done.
Thanks a lot Greg. You made my life easy…!
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.