Re: Problem with 8255 PIO design




"Udo Giacomozzi" <jampy@xxxxxx> schreef in bericht
news:1188231039.260934.97650@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

we wanted to use the 8255 for a relatively simple design. It seemed
that the 8255 has three independent 8bit I/O ports so we used one port
for a (slow) bi-directional bus and the other ports for other
purposes. We already have the prototype but the design is invalid
because of this one little sentence in the whole data sheet:

"Any port programmed as an output port is initialized to all zeros
when the control word is written."

So, when we want to toggle the *direction* of port A (the one used for
the bidirectional bus), all *outputs* of ports B and C will be reset
as well! This makes the 8255 completely useless for our purposes (we
need the other outputs to stay unchanged).

Any can propose a workaround for this? Since we want to avoid adding
much additional logic: Is there a similar near-24 bit I/O chip that
would be useful for our needs?

The 8255 currently is controlled via the ISA bus of a PC/104 board.
Note we can't use an additional PC/104 doughter board because of lack
of space (and costs).

Thanks for any hint,
Udo


It has been quite some time I used a 8255 but I remember a port could be set
to bidirectional mode. Once you'd done so, there was no need to write to the
control register for changing input to output. Guess you have to study the
datasheet a little more carefull. Details are pretty well explained in it.

petrus bitbyter


.



Relevant Pages

  • Re: NEED C64 EXPANSION PORT INFO
    ... what if you ran a 4 port extender fully loaded? ... up to the limit of the connector that hasnt ... the power to the connector. ... I can't evaluate how feasible my design is without this info. Powering ...
    (comp.sys.cbm)
  • Re: Suggestions/Recommendations with CPLDs and Software
    ... My only issue with the ISE software is I need to ... I was hoping to find a design package that would already have ... >with the schematic design and layout. ...
    (comp.lang.vhdl)
  • Re: Trouble using DCMs in EDK 8.2
    ... to an external port in this design. ... INFO:NgdBuild:889 - Pad net ... is not connected to an external port in this design. ... Checking timing specifications ... ...
    (comp.arch.fpga)
  • Re: Specific card that can give LPT1 at 378?
    ... port, the system doesn't have one) and which can reside at the old ... This behavior is by design and is one of the reasons the WinNT family of operating systems is so much more stable than Win9x. ... Before wasting anymore time, money, or effort, contact the manufacturer of the application to see if any updates, patches, or upgrades are available. ... The philosopher has never killed any priests, whereas the priest has killed a great many philosophers. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Outside of calculator after a year of use
    ... But not at all is much slower. ... HP has convinced me with the HP 49G screen problems no IR port (they try to ... finally this HP49G+ monument to bad design it will be the last HP that I ... has been called and use it on improving the keyboard ...
    (comp.sys.hp48)