gEDA-user: furnace controller I/O port again
ldoolitt at recycle.lbl.gov
ldoolitt at recycle.lbl.gov
Mon Nov 6 22:33:09 EST 2006
Friends -
On Mon, Nov 06, 2006 at 07:08:48PM -0500, DJ Delorie wrote:
> > DJ, Are you writing code for the Dallas 1-wire protocol? Neat.
> Lots of bit banging.
If anyone wants FPGA code for 1-Wire, I have some. You can
either click through the stupid (but innocuous) licence
agreement at http://recycle.lbl.gov/llc-suite/, or e-mail me.
I have two versions: one is a very simple one-bit transfer,
minimal gates, but takes the real-time burden off the host
computer. The other does enough sequencing to read a temperature
from a DS1822; all the computer has to do is write the "stimulus"
message to the FPGA at the beginning, wait 750 ms, and read the
"response" message at the end. With C code, tested in hardware,
and including a simulation test bench set up to do regression testing.
- Larry
More information about the geda-user
mailing list