FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-29-2007, 07:49 PM
Mad I.D.
Guest
 
Posts: n/a
Default DS18B20 connection on FPGA?

Hello all.
I'm new to FPGA and I need a little help with connecting Dallas 1-wire
temperture DS18B20 sensor.

I used that sensor many times with ARM and AVR MCU but never with
FPGA. What I want to know is how to connect it?
DS needs to have an external pull up resistor. So sometimes I need to
release line so that line is pulled high. DS and FPGA can only drive
line low, high must come from pull up.

So..how to do that? How to use IN/OUT pin that I can "realase"? To MCU
I would simple say "pin input" and it would be released, but in VHDL I
define in entity
pin : inout STD_LOGIC;

Hmm..any ideas?

Thanks.

Reply With Quote
  #2 (permalink)  
Old 04-30-2007, 06:08 AM
Jeff Cunningham
Guest
 
Posts: n/a
Default Re: DS18B20 connection on FPGA?

Mad I.D. wrote:
> Hello all.
> I'm new to FPGA and I need a little help with connecting Dallas 1-wire
> temperture DS18B20 sensor.
>
> I used that sensor many times with ARM and AVR MCU but never with
> FPGA. What I want to know is how to connect it?
> DS needs to have an external pull up resistor. So sometimes I need to
> release line so that line is pulled high. DS and FPGA can only drive
> line low, high must come from pull up.
>
> So..how to do that? How to use IN/OUT pin that I can "realase"? To MCU
> I would simple say "pin input" and it would be released, but in VHDL I
> define in entity
> pin : inout STD_LOGIC;
>
> Hmm..any ideas?
>
> Thanks.
>


pin <= '0' when driveitlow = '1' else 'Z';
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FPGA MAC for Point to Point Connection [email protected] FPGA 0 04-20-2007 05:01 PM
CREATE FPGA-PC CONNECTION (LWIP, XILNET) Pablo FPGA 0 01-08-2007 11:20 AM
Connection between FSL and XCL Marco T. FPGA 1 01-29-2006 11:41 PM
Pin connection doubts RobertP FPGA 6 12-01-2004 12:30 AM
Hve to know the pin connection between cpld and fpga in my design senthil FPGA 0 10-12-2004 03:48 PM


All times are GMT +1. The time now is 01:16 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved