Arduino Forum

Development => Other Hardware Development => Topic started by: adiredzic on Jan 26, 2016, 06:48 pm

Title: DE0-Nano (Not SoC) communication with Arduino Uno Rev3
Post by: adiredzic on Jan 26, 2016, 06:48 pm
Hey guys

Its my first post here so hello :)

Me and some friends are working on a project where we want to make our DE0-Nano FPGA communicate with Arduino Uno micro controller over i2c bus. We want to send bits of information to the Nano.

My question is; is it at all possible. I guess you can use the SDA and SCL pins from UNO directly to the GPIO pins on the Nano? The voltage problem is solved since Uno is slave and FPGA master, and the UNO has pull-up resistors so active high would be 0V and low 3.3V?

And if it`s a repost let me know :)
Title: Re: DE0-Nano (Not SoC) communication with Arduino Uno Rev3
Post by: liuzengqiang on Jan 27, 2016, 08:02 am
Quote
UNO has pull-up resistors so active high would be 0V and low 3.3V?
What does that mean?
Title: Re: DE0-Nano (Not SoC) communication with Arduino Uno Rev3
Post by: adiredzic on Jan 27, 2016, 10:37 am
What does that mean?
What does that mean?
Sorry that was wrong, Arduino does NOT have pull-up resistors. The data is transmitted by pulling the lines to 0V for a logic high, and pulling the lines high up to the rail supply line of 3.3V.
Title: Re: DE0-Nano (Not SoC) communication with Arduino Uno Rev3
Post by: liuzengqiang on Jan 27, 2016, 02:40 pm
A 0V in I2C is a 0 or low.
Title: Re: DE0-Nano (Not SoC) communication with Arduino Uno Rev3
Post by: adiredzic on Jan 29, 2016, 08:21 pm
I was a bit unread on the subject. But it should`t be a problem for the Uno to communicate with the Nano over i2c i think. But why use i2c? Why not just send the data over the pins?

Pin to pin?