Welcome, Guest. Please login or register.

Author Topic: Interfacing serial RTC chip with serial port  (Read 3432 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Stedy

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 259
    • Show only replies by Stedy
    • http://www.ianstedman.co.uk
Re: Interfacing serial RTC chip with serial port
« Reply #14 from previous page: March 09, 2007, 08:50:54 PM »
Hi,

Yes, connecting DI, DO, CLK and ground to the parallel would be all you need to do. Power the chip from a 5V power supply, using perhaps a connection from your Amiga's power supply or a micropower regulator and a battery pack to retain the time when the power is off!

Another option but more involved would be to use a micrcontroller to interface to the chip and send the time to your Amiga via the serial port. This would have a lower CPU overhead.
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Interfacing serial RTC chip with serial port
« Reply #15 on: March 10, 2007, 08:25:32 AM »
Great, thanks for the info!

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline alexh

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 3645
    • Show only replies by alexh
    • http://thalion.atari.org
Re: Interfacing serial RTC chip with serial port
« Reply #16 on: March 10, 2007, 09:38:04 AM »
Quote
I don't always want to connect to the Internet because it causes problems with WHDLoad

The X-Surf is not a card which creates the spurious interrupts that are supposed to interfere with WHDload. Put it this way I've used my A4000 with X-Surf card constantly connected to my network using Miami for over 8 years with no issues.
 

Offline keropi

  • Hero Member
  • *****
  • Join Date: Sep 2004
  • Posts: 2466
    • Show only replies by keropi
Re: Interfacing serial RTC chip with serial port
« Reply #17 on: March 10, 2007, 09:40:20 AM »
also the ariadne 1 network card does not mess with whdload... numerous times I had genesis online and played whd games....
 

Offline patrik

Re: Interfacing serial RTC chip with serial port
« Reply #18 on: March 10, 2007, 10:46:39 AM »
It works fine as long as you dont receive any traffic (no interrupts are generated). Try pinging the amiga whilst playing.


/Patrik
 

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show only replies by Doobrey
    • http://www.doobreynet.co.uk
Re: Interfacing serial RTC chip with serial port
« Reply #19 on: March 10, 2007, 10:11:55 PM »
Quote

motorollin wrote:
@Others who have suggested NNTP or soldering battery...
I've already explained why I don't want to do those.


What about using a pair of probe clips to hook onto the +5v and GND pins of the RTC chip to attach the new battery? (IIRC, it needs a resistor to limit the charging current between the battery and the +5v, the A4000 schematics should show the value needed )

If you're still thinking of using an i2c RTC chip, have a look at i2clib (aminet), it has simple interfaces for parallel,serial and floppy ports, and the shared library takes care of all the bit banging.
On schedule, and suing