Igloo Nano I/O tri-state buffer

OP #2356579
Rate this post
• ▲ useful
▼ not useful
Hello Lothar,
Yes I did.
I perhaps wasn't clear enough in my post.Let me explain.
I did find tristate buffers in the Datasheet, but I also want them to be 
bidirectional.
I have one controller talking to another controller via a cpld(igloo 
nano). Now in this basic communication I want following scenario:

1: Device one sets a register field to 1 to send data. Other device gets 
ready to read data.
2:Device 2 communicates with device one in the same way.
3:Other wise both show high impedance at output.

This all shall be done using only two I/O pins.

Kamran Qureshi.
Moderator (Company: Titel) #2356701
Rate this post
• ▲ useful
▼ not useful
> I did find tristate buffers in the Datasheet, but I also want them
> to be bidirectional.
Thats usual behavior. In VHDL you write this and you will get a 
bidirectional buffer:
1
   portpin  <= signal_out when enable='1' else 'Z';
2
   signal_in <= portpin;

> 1: Device one sets a register field to 1 to send data.
>   Other device gets ready to read data.
> 2:Device 2 communicates with device one in the same way.
Hmhmhmmmmm...
This isn't very polished. How does this
> a register field
and
> This all shall be done using only two I/O pins.
fit together?

> This all shall be done using only two I/O pins.
Why not using a kind of RS232?

> 3: Other wise both show high impedance at output.
You always should/must have one driver (or at least a pullup/down 
resistor) on a tristate signal. Otherwise this signal can float and you 
will get a high current in both input stages.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.