Yahoo Groups archive

AVR-Chat

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

Thread

Atmega and Dallas RTC

Atmega and Dallas RTC

2004-06-09 by Nunya

anyone ever married an Atmega32 to a Dallas RTC?



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/

RE: [AVR-Chat] Atmega and Dallas RTC

2004-06-10 by joseph torelli

Yes I have.
I started with a "AT90S2313 Development Board" from Futurlec. And moved up
to the "ATMega(32) Development Board" from the same. They both use a DS1307
on the I2C buss. It has 56 bytes of ram and is battery backup.
I also have an IO expander (MPC23016) on the same buss. But it is not pretty
when the Avr is talking to the RTC and the MCP interrupts.
I used software I2C and Bascom.

JoeT
Show quoted textHide quoted text
-----Original Message-----
From: Nunya [mailto:dactie2000@yahoo.com]
Sent: Tuesday, June 08, 2004 8:39 PM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] Atmega and Dallas RTC


anyone ever married an Atmega32 to a Dallas RTC?

Re: [AVR-Chat] Atmega and Dallas RTC

2004-06-10 by James Wagner

You need a status flag or state byte.

If one interrupt happens while the other is active, you
wait to service the request until the first task is
complete.

Jim Wagner

On Wed, 9 Jun 2004 23:59:47 -0500
 "joseph torelli" <joetorelli@intergate.com> wrote:
> 
> 
> 
> 
> Yes I have.
> I started with a "AT90S2313 Development Board"
> from Futurlec. And moved up
> to the "ATMega(32) Development Board" from the
> same. They both use a DS1307
> on the I2C buss. It has 56 bytes of ram and is battery
> backup.
> I also have an IO expander (MPC23016) on the same buss.
> But it is not pretty
> when the Avr is talking to the RTC and the MCP
> interrupts.
> I used software I2C and Bascom.
> 
> JoeT
> 
> -----Original Message-----
> From: Nunya [mailto:dactie2000@yahoo.com]
> Sent: Tuesday, June 08, 2004 8:39 PM
> To: AVR-Chat@yahoogroups.com
> Subject: [AVR-Chat] Atmega and Dallas RTC
> 
> 
> anyone ever married an Atmega32 to a Dallas RTC?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Sponsor
> 
> 
>   ADVERTISEMENT 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> To visit your group on the web, go
> to:http://groups.yahoo.com/group/AVR-Chat/ 
> To unsubscribe from this group, send an email
> to:AVR-Chat-unsubscribe@yahoogroups.com 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms
> of Service.
> 
> 
> 
> 
> 
> 
> 
> 
> 

Preview Mac OS X "Tiger" v10.4 at WWDC 2004.
http://developer.apple.com/wwdc/applelinks.html
---------------------------------------------------------------
---------------------------------------------------------------
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---------------------------------------------------------------
---------------------------------------------------------------

Re: [AVR-Chat] Atmega and Dallas RTC

2004-06-10 by David VanHorn

At 11:35 AM 6/10/2004 -0400, James Wagner wrote:

>You need a status flag or state byte.
>
>If one interrupt happens while the other is active, you
>wait to service the request until the first task is
>complete.


>> I also have an IO expander (MPC23016) on the same buss.
>> But it is not pretty
>> when the Avr is talking to the RTC and the MCP
>> interrupts.
>> I used software I2C and Bascom.


Why would you not just CLI while the RTC is in progress, and SEI when it's done?

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.