embedded systems developers tools, cross compilers
  Home  |   SwiftX Archive  |   SwiftForth Archive  |

Re: Dallas one - wire on avr

From: Matthew Karas <THX1170_at_netscape.net>
Date: Thu, 18 Nov 2004 07:40:55 -0500

The problem I'm having so far is that the fastest I can toggle a bit with forth on the atmega16 running at 4MHz is only 25 uSec. I need to toggle bits much faster than that. So far the code I'm using looks like

:TOGGLE
  FF PORTA C!
  00 PORTA C!
;

Is there a divide down for the avr's data bus? Or is the interpreter really taking that long to execute the code?

How much faster would
:TOGGLE
  00 PORTA FF PORTA C! C!
;
be?

Should I just write these bits in assembler?

Thanks,
Matthew Karas

Frank Boon <fboon_at_runbox.com> wrote:

>I am implementing a 1-wire master with a DS2480B, because it can control
>the slew-rates.
>Not fully implented yet...
>
>Frank Boon,
>Metatronics
>
>Matthew Karas wrote:
>
>>Has anyone implemented one wire routines using Atmel's avr318 appnote?
>>
>>__________________________________________________________________
>>Switch to Netscape Internet Service.
>>As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
>>
>>Netscape. Just the Net You Need.
>>
>>New! Netscape Toolbar for Internet Explorer
>>Search from anywhere on the Web and block those annoying pop-ups.
>>Download now at http://channels.netscape.com/ns/search/install.jsp
>>----------------------------------------------------------------------
>>swiftx_at_forth.com The SwiftX programming discussion email list
>>To unsubscribe, send subject "unsubscribe" to swiftx-request_at_forth.com
>>For list command help, send subject "help" to swiftx-request_at_forth.com
>>Message archives are located at http://www.forth.com/archive/swiftx
>>----------------------------------------------------------------------
>>This list is a forum for SwiftX users. For product support and bug
>>reports, please send email to support_at_forth.com
>>----------------------------------------------------------------------
>>
>>
>>
>>
>
>----------------------------------------------------------------------
>swiftx_at_forth.com The SwiftX programming discussion email list
>To unsubscribe, send subject "unsubscribe" to swiftx-request_at_forth.com
>For list command help, send subject "help" to swiftx-request_at_forth.com
>Message archives are located at http://www.forth.com/archive/swiftx
>----------------------------------------------------------------------
>This list is a forum for SwiftX users. For product support and bug
>reports, please send email to support_at_forth.com
>----------------------------------------------------------------------
>
>

-- 
Why don't you give yourself a nice big
round of applause!
__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
----------------------------------------------------------------------
swiftx_at_forth.com          The SwiftX programming discussion email list
To unsubscribe, send subject "unsubscribe" to swiftx-request_at_forth.com
For list command help, send subject "help" to swiftx-request_at_forth.com
Message archives are located at http://www.forth.com/archive/swiftx
----------------------------------------------------------------------
This list is a forum for SwiftX users.  For product support and bug 
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Thu Nov 18 2004 - 04:43:51 PST

This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:49 PST