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

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now