home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / ibm / pc / hardware / 20501 < prev    next >
Encoding:
Text File  |  1992-07-28  |  3.2 KB  |  81 lines

  1. Newsgroups: comp.sys.ibm.pc.hardware
  2. Path: sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!ph-meter.beckman.uiuc.edu!scott
  3. From: scott@ph-meter.beckman.uiuc.edu (Scott Ellis)
  4. Subject: prototype board and enabling 16 bit data access
  5. Message-ID: <scott.712347808@ph-meter.beckman.uiuc.edu>
  6. Summary: help
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Organization: University of Illinois at Urbana
  9. Date: Tue, 28 Jul 1992 18:23:28 GMT
  10. Keywords: 16 bit data enabling on a custom built board
  11. Lines: 68
  12.  
  13.  
  14. I don't think this made it through the 1st time....
  15. -----
  16.  
  17. Hi,
  18.  
  19. I have desgined and constructed a prototype board for a 386 ibm compatible
  20. machine.  I am having difficulty with enabling the 16 bit data transfer.
  21. The book I am using for my design indiactes that the only thing needed to
  22. do to enable the 16 bit data mode is to set bus line D2 low (I/O CS16 ACTIVE
  23. LOW) and voila it should work.  Of course this not the case.  If there is
  24. anyone out there in netland who can find an error in my design or who has
  25. been sucessful in building a card of their own I would appreciate your
  26. help.  (I'm desparate :)  )
  27.  
  28.  
  29. DETAILS OF DESIGN (if you havn't hit n by now )
  30.  
  31. I have tried 2 implementations of setting D2 low for 16 bit data transfers:
  32.  
  33. The address decoding consists of 74LS27 (3 input NOR gates) feeding a
  34. 74LS30 (8 input NAND gate).  The NAND gate going low indicates the card in
  35. being addressed.  
  36.  
  37. 1st method)  The first method I tried was to feed the card enable signal
  38. through a 74LS373 i/o buffer and enable the buffer when the card in
  39. enabled.
  40.  
  41. 2nd)  This method was to invert the card enable signal and connect it to a
  42. 74LS06 open-collector inverted.. as shown in a previous thesis...
  43.  
  44. In both cases, the scope shows that the D2 line goes low during the card
  45. enable.
  46.  
  47. SOFTWARE DEBUGGING:
  48.  
  49. The problem I have encountered leads me to believe that this is an
  50. implementation error rather than a wiring error.  The software routing I
  51. wrote to test the card works correctly for 2 other functions that do not
  52. need the 16 bit data transfer.  I am using Microsoft C 6.0.  When I execute
  53. a inpw I get 1111 1111 HHHH HHHH  where H represents the data being placed
  54. on the high address line (SD8-SD15)  i.e. it is reading the data correctly
  55. but placing it where the low byte should be.  When I use inp (to read 8
  56. bits) it reads the high byte as well (HHHH HHHH).
  57.  
  58. Now, just to make things interesting. I disconnected any line from the D2
  59. connection (i.e. card should operate in 8-bit mode) and it worked
  60. correctly.   inp() returns LLLL LLLL, the low-byte of data.
  61.  
  62. can anyone out there help me???? or at least point me a good source to
  63. figure this out.
  64.  
  65. btw, please send email as I don't have a lot of time to be reading news
  66. these days.
  67.  
  68. Scott
  69.  
  70. dse@uiuc.edu
  71. scott@uieea.ece.uiuc.edu
  72. scott@director.beckman.uiuc.edu
  73. ---------------------------------------------------------------------------
  74. Graduate Assistant            |  Graduate Research Assistant
  75. Beckman Institute             |  Bioacoustics Research Laboratory
  76. Systems Services              |  Dept of Electrical & Computer Eng. 
  77. 1714 Beckman Institute        |  University of Illinois at Urbana-Champaign
  78. 1-217-244-3062                |  1-217-244-6843/ FAX 1-217-244-0105
  79. ---------------------------------------------------------------------------
  80.  
  81.