home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / hardware / 22319 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  2.1 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!news.ccs.queensu.ca!qucdn!leek
  2. Organization: Queen's University at Kingston
  3. Date: Sun, 3 Jan 1993 14:46:51 EST
  4. From: <LEEK@QUCDN.QueensU.CA>
  5. Message-ID: <93003.144651LEEK@QUCDN.QueensU.CA>
  6. Newsgroups: comp.sys.amiga.hardware
  7. Subject: 2.0 UNIT_MICROHZ timer questions...
  8. Lines: 40
  9.  
  10. I have just installed the 2.04 ROM into my A1000.  I have read that 2.04
  11. "fixes" some of the timer problems - namely the time delays are more
  12. accurate than the 1.3, right ?
  13.  
  14. I am having some timing problems with the GAL programmer I designed and
  15. built.  The programmer works fine under 1.3 and only 25% of the chips get
  16. programmed properly under 2.04.  I can only assume that timing problems
  17. are ones to blame.
  18.  
  19. For timing that are less than 100uS, I am using a CPU timing loop that
  20. reads off a memory location in the peripheral chip area.  Since these
  21. delays are for minimum time delays for some of the signals, the actual
  22. delay time does not matter as long as the minimum delay criteria is
  23. met.  The 8250 peripheral chip are clocked to 716KHz E clock and read
  24. cycles are at least 1.4uS long reguardless of CPU speed.  I have
  25. previously checked the timing of 100uS delay and it came out to be
  26. 100.5uS on my 18MHz 68020 system.  The speed of this routine is
  27. independent of OS version.
  28.  
  29. For the more critical programming pulses, I am using the UNIT_MICROHZ
  30. timer for time delays from 10mS to 100mS.  The actual programming
  31. routine runs at priority of 10.  To verify that the OS overhead wasn't
  32. the problem, I have just tried setting all the system tasks to 9 and it
  33. doesn't help.
  34.  
  35. Are the timing accurately enough to +/- 10% ? ie +/- 1mS for 10mS delays
  36. and +/- 10mS for 100mS.  BTW I do have the full programming specs from
  37. the manufacturer.
  38.  
  39. The hardware runs on the parallel port.  I opened the parallel.device
  40. from the OS before poking the 8250 registers.
  41.  
  42. Are there anythings I have overlooked ?  Anything that might affect the
  43. parallel port or the time delays ?  For now I guess I'll program
  44. stuff under 1.3.
  45.  
  46. Thanks in advance.
  47.  
  48. K. C. Lee
  49. Elec. Eng. Grad. Student
  50.