Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Re: i2c DS1307 check out CodeVisionAVR

Re: i2c DS1307 check out CodeVisionAVR

2009-05-25 by brewski922

CodeVisionAVR 
http://www.hpinfotech.ro/html/download.htm
has support for the DS1307.
The Evaluation copy has a 2kbytes code size limitation. I believe that is the only differance between that and the commercial version. Oh, there is no support. Support is available on the Yahoo "CodeVisionAVR" discussion group.

One of the best features of cvAVR is the CodeWizard. With it you can tell the compiler what micro you are using, how you will be using the ports, in/out things like that, timers, an LCD and cvAVR will setup the code to initilize most, if not all, of the micro. If you select that the DS1307 will be used with it and give the port number cvAVR will setup the init code. There probably is a code included to take your DS1307 for a test drive. How would that be?

Mike
Show quoted textHide quoted text
>
> Dear all 
> �
> please help me once more time,
> �
> i have problem with i2c communication for Serial RTC DS 1307,
> i try to follow the instruction� i2c protocol from datasheet, but it not success
> �
> is there someone could explain me more ?( about� device address, register , etc ).
> i use the assembly language
> �
> Rgds, 
> �
> 4mir
> 
> 
>       
> 
> [Non-text portions of this message have been removed]
>

Re: i2c DS1307

2009-05-25 by Brian

I have used the I2C comms with the DS1307. I use C programming with CodeVision. Not much of an assembly programmer. I learned from the datasheets, include files, the DS1307 lib file and helpfiles.

Brian

--- In AVR-Chat@yahoogroups.com, Muhammad Amiruddin <amiruddin.muhammad@...> wrote:
Show quoted textHide quoted text
>
> Dear all 
>  
> please help me once more time,
>  
> i have problem with i2c communication for Serial RTC DS 1307,
> i try to follow the instruction  i2c protocol from datasheet, but it not success
>  
> is there someone could explain me more ?( about  device address, register , etc ).
> i use the assembly language
>  
> Rgds, 
>  
> 4mir
> 
> 
>       
> 
> [Non-text portions of this message have been removed]
>

i2c DS1307

2009-05-25 by Muhammad Amiruddin

Dear all 
 
please help me once more time,
 
i have problem with i2c communication for Serial RTC DS 1307,
i try to follow the instruction  i2c protocol from datasheet, but it not success
 
is there someone could explain me more ?( about  device address, register , etc ).
i use the assembly language
 
Rgds, 
 
4mir


      

[Non-text portions of this message have been removed]

Re: [AVR-Chat] i2c DS1307

2009-05-25 by John Samperi

At 12:33 PM 25/05/2009, you wrote:
>is there someone could explain me more ?( about  device address, 
>register , etc ).
>i use the assembly language

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=31230&start=0

Scroll down to the second last post.


Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

RE: [AVR-Chat] i2c DS1307

2009-05-25 by Julian Higginson

I got simple I2C working on an AVR to control an I2C device ages ago (forget
what the actual IC number was - it was an RTC with some EEPROM) but
implementation based on a demo example was absolutely trivial - worked first
go!

Though again - no assembly - 
I used AVR GCC, which is free to use, and Peter Fleury's free GCC I2C
library
http://homepage.hispeed.ch/peterfleury/avr-software.html
Show quoted textHide quoted text
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of Muhammad Amiruddin
Sent: Monday, 25 May 2009 12:34 PM
To: AVR-chat@yahoogroups.com
Subject: [AVR-Chat] i2c DS1307

Dear all 
 
please help me once more time,
 
i have problem with i2c communication for Serial RTC DS 1307,
i try to follow the instruction  i2c protocol from datasheet, but it not
success
 
is there someone could explain me more ?( about  device address, register ,
etc ).
i use the assembly language
 
Rgds, 
 
4mir


      

[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.