Sections
You are here: Home Forum Devices and Hardware I2C connectivity?

I2C connectivity?

Up to Devices and Hardware

I2C connectivity?

Posted by John (EBo) David at October 24. 2007
I need to set up a prototype for a 4-channel 16-bit D/A converter that uses the I2C interface. I was hoping to us the MC for the first pass, but have been unable to find any I2C instructions, examples, or How-To's. The specs say that it can do SPI and I2C. Where are the connections? Are they brought out from the controller through the app board? Thanks, EBo --

I2C connectivity?

Posted by Liam Staskawicz at October 24. 2007
The SAM7X does I2C but due to a hardware design bug/oversight, the signals are not brought out the way the should have been on the Application Board. You can still get at them on the Controller Board (check the pinouts, etc.) although I haven't done this yet, so I haven't written up a how-to yet.

I2C connectivity?

Posted by John (EBo) David at October 25. 2007
Hmmm... I guess that might be another thing for app. board 2.0 ;) EBo -- ps: do you have any plans for a new version of the app. board with the various fixes?

I2C connectivity?

Posted by DARYLict at October 25. 2007
Hey there, I just want to throw my support out for app. board 2.0 ;) :tongue: (By support, I mean I'd buy one.) Features that I would be really interested in are: higher power handling for outputs, better i2c and spi support, a RTC with api support, and USB host capability. I'm still loving app board v1 though. DARYLict

I2C connectivity?

Posted by Liam Staskawicz at October 26. 2007
We don't have a hard timeframe for App Board 2.0 but it's in the cards, for sure :) Things we're planning to include: - a better power supply story - improved outputs - better I2C and SPI support We can't really justify the cost of an RTC for everybody who uses the App Board, and USB host is not an implementation issue - the SAM7X does not support it.

I2C connectivity?

Posted by DARYLict at October 26. 2007
Cool, sounds great. The RTC feature may not be such a big deal w/ the enhanced I2C and SPI support. --Ive been eyeing up these bad boys: http://www.sparkfun.com/commerce/product_info.php?products_id=99 Thanks for the info liamMT.

Re: I2C connectivity?

Posted by Mike Bergen at April 07. 2009

So is this now a reality with the current V2.0 boards?

Re: I2C connectivity?

Posted by Liam Staskawicz at April 07. 2009

The I2C signals do indeed come down off the Controller v2.0 board, but there's not good firmware support for it right at the moment.

I'm probably going to be trying to finish my push to transition the firmware over to c++ and then turn my attention to things like that.  Of course, if anybody else makes some progress please chime in!

Re: I2C connectivity?

Posted by Christian Islev-Andresen at July 20. 2009

Previously Liam Staskawicz wrote:

The I2C signals do indeed come down off the Controller v2.0 board, but there's not good firmware support for it right at the moment.

I'm probably going to be trying to finish my push to transition the firmware over to c++ and then turn my attention to things like that.  Of course, if anybody else makes some progress please chime in!

I'm still a bit confused about I2C, I have 2 Make Controller boards v2.0.

One on a Application board v1.0 and one on a Interface board v1.0.

Does any of these work with I2C without I have to make the alterations describes here:

http://makingthings.com/documentation/tutorial/using-i2c-on-the-make-contoller-board/tutorial-all-pages

How about TWI and SPI ?

regards

Christian

Re: I2C connectivity?

Posted by Liam Staskawicz at July 21. 2009

You no longer need to make hardware changes to use I2C (which is the same as TWI).  However, at the moment there is not much software support for I2C.

SPI should be fine.

Re: I2C connectivity?

Posted by Christian Islev-Andresen at July 22. 2009

Previously Liam Staskawicz wrote:

You no longer need to make hardware changes to use I2C (which is the same as TWI).  However, at the moment there is not much software support for I2C.

SPI should be fine.

So the Application board v1.0 and the Interface board v1.0 supports I2C without hardware changes ?

Is there any examples etc. on using the SPI ?

Re: I2C connectivity?

Posted by Liam Staskawicz at July 22. 2009

No, sorry - the changes for I2C rely on a hardware bug fix on the Controller Board v2.0.

The best place to look for SPI example code is in the EEPROM system, for example, which relies on it.

Re: I2C connectivity?

Posted by Christian Islev-Andresen at July 23. 2009

Previously Liam Staskawicz wrote:

No, sorry - the changes for I2C rely on a hardware bug fix on the Controller Board v2.0.

Just to be 100% correct, I have 2 controller boards v2.0, each respectively on a application board and an interface board, does any of these support I2C as they are now ?

If not, can they be altered to do it.

The best place to look for SPI example code is in the EEPROM system, for example, which relies on it.

Thanks, I will look at that.

 

Re: I2C connectivity?

Posted by Liam Staskawicz at July 23. 2009

Yes - Application Board v2.0 and Interface Boards support I2C.

Re: I2C connectivity?

Posted by Christian Islev-Andresen at July 23. 2009

Previously Liam Staskawicz wrote:

Yes - Application Board v2.0 and Interface Boards support I2C.

OK :(

As I have an Application board v1.0 it doesn't have I2C without me altering it.

Sorry for asking again, the interface board, does it also have to be v2.0, the one I have is Interface board v1.0 ?

 

Re: I2C connectivity?

Posted by Liam Staskawicz at July 26. 2009
Yes, the App Board v1.0 doesn't support that unfortunately.
 
There's only v1.0 for the Interface Board - you're all set :)

Re: I2C connectivity?

Posted by Christian Islev-Andresen at July 27. 2009

Previously Liam Staskawicz wrote:

Yes, the App Board v1.0 doesn't support that unfortunately.
 
There's only v1.0 for the Interface Board - you're all set :)

Thanks :)

Re: I2C connectivity?

Posted by RMZ at March 15. 2010

Hi!

 

Is there now any software available to communicate between an module which has an I2C/TWI interface and the Make Controller (located on an App. Board v.2.0)? Especially a subsystem which includes the required functions?

 

Ng

Powered by Ploneboard
Document Actions