Home    Bloggers    Messages    Webinars    Resources   
Tw  |  Fb  |  In  |  Rss
Duane Benson

Discovering FPGAs: Using the SPI Interface, Part 4

Duane Benson
Page 1 / 2   >   >>
hash.era
hash.era
1/30/2013 10:09:39 AM
User Rank
Clever Clogs
Re: Third time's a charm
Duane: Is it ? Even I had to try many times in many occassions but as a practice I try to limit it to 2 or 3 the most.

50%
50%
hamster
hamster
1/24/2013 4:50:16 PM
User Rank
Blogger
A pretty generic I2C master in VHDL.
Duane, If you want to check out a pretty generic I2C write-only master  in VHDL have a look at http://hamsterworks.co.nz/mediawiki/index.php/Zedboard_HDMI#i2c_sender.vhd

Mike

50%
50%
Duane Benson
Duane Benson
12/21/2012 2:35:11 PM
User Rank
Blogger
Re: Third time's a charm
In my case, three times all too often isn't enough, so I had to fork the proverb and add one more cycle to it.

50%
50%
hash.era
hash.era
12/20/2012 4:12:38 AM
User Rank
Clever Clogs
Re: Third time's a charm
True brian. There is no one to monitor the count but for me I feel 2nd or 3rd time would be ideal.

50%
50%
Duane Benson
Duane Benson
12/18/2012 12:10:31 AM
User Rank
Blogger
Re: "discovered" as in re-discovered
Brian: I'm glad you're getting something out of this.

I remember watching my kids when they were just getting old enough to learn how to use computers. I wanted to see why kids have a reputation for being able to learn technology so much faster than oldsters (like me). I'm sure there's a lot more too it, but the most prominent aspect of their activity that I noticed was that they would try anything without fear of breaking something. They'd just try any and every key or do things in every which random way until making something work.

Someone who'd been around the block a few times (like me), on the other hand, would tend to be reluctant to press a key without pre-knowing the outcome to minimize the risk of breaking something. When I was young errors and mistakes were discouraged but I think today's culture is pretty much on the way to the opposite view. By watching them, I learned to enjoy, embrace or respect mistakes. - And that's a good thing because I make a lot of them.

50%
50%
Duane Benson
Duane Benson
12/17/2012 11:52:34 PM
User Rank
Blogger
Re: It's almost working Duane
re: "make clean" - So there are some things that are like a microcontroller. I don't think I've had this problem in the FPGA world yet, but I've recently run across it with an ARM processor I'm working with. Drove me nuts to keep changing things and not see any changes in the results.

50%
50%
Brian
Brian
12/17/2012 6:42:12 PM
User Rank
Guru
Third time's a charm
 

Re: "The fourth time's a charm." Or maybe it's "The fifth time's a charm."

The proverb is "third time's a charm", but who's keeping track (since this is Part 4 :-)

 

50%
50%
Brian
Brian
12/17/2012 6:40:46 PM
User Rank
Guru
"discovered" as in re-discovered
 

Hi Duane,

Re: "discovered" (as in re-discovered after having read it before)

Too funny - I hate it when that happens! :-)

Re: if a portion of the code is never executed, the hardware behind it won't be built.

Thanks!  I learn something with every blog.  I, like you, would have assumed it would be like software - still in memory.

It is so much more enjoyable reading how you made the errors that I would have surely made in the same efforts! :-)

 

50%
50%
Duane Benson
Duane Benson
12/17/2012 3:56:16 PM
User Rank
Blogger
Re: It's almost working Duane
I think I passed the point at which I should have started using simulation a few months ago. Getting started there might be a good topic for my next blog series.

50%
50%
rfindley
rfindley
12/17/2012 3:42:11 PM
User Rank
Blogger
Re: It's almost working Duane
Ahh yes, the famous "make clean" (and its GUI kin).  :-)

50%
50%
Page 1 / 2   >   >>
More Blogs from Duane Benson
Duane has decided that the time is ripe to get his ZedBoard bolted onto his robot with a Linux distribution up and running. That was the ultimate plan anyway, so why wait?
Now it's time to delve deeper into the state machine I'm using to control my I2C interface.
The three states associated with bi-directional "inout" pins can cause confusion for the unwary.
It's time to jump into unexplored territory -- the state machine that will control Duane Benson's I2C interface.
We're now ready for the I2C master to transmit a command set to a remote device.
flash poll
follow us on twitter
follow Xilinx on twitter
like us on facebook
like Xilinx on facebook
All Programmable Planet     About Us     Contact Us     Help     Register     Twitter     Facebook     RSS