UART protocol Half duplex

Status
Not open for further replies.

Sindhiya C R

Newbie level 4
Joined
Sep 4, 2013
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
45
Hi
I am working on UART with half duplex serial communication

can anyone tell me how could be TX/RX collision(means direction) of UART is controlled via software if it is half duplexed?

Thanks!!
 

Between which systems are trying to do this serial communication... Please mention them if possible.
And from which side are you willing to control your communication?
And also mention weather the both side is programmable to you or only single end is in your control?
 


Actually I am in verification.I need to give input to UART Half duplex present in design for which TX/RX collision is controlled by software.So for that in testbench I have to use one Half duplex UART to give serial input to UARTpresent in RTL.I am having UART model with Full duplex mode..I need to convert into half duplex mode..I am very new to verilog design
my top level pins are
module uart_core (clk,rst,txrx,dir
tx_data,tx_data_valid,tx_data_ack,txd,rx_idle,tx_idle,
rx_data,rx_data_fresh,rxd);
//UART TX instantiation
//UART RX instantiation
input dir;
inout txrx ; //bidir signal
output txd ; //serial output
input rxd ; //serial input

assign txrx = (dir)?txd:1'bz;
assign rxd = dir? 1'bz:txrx;

Is this ok to make it as half duplex? or any other methods are there pls let me know


Thanks

- - - Updated - - -

Could you please provide some material on ISO7816 Complaint UART?
Thanks
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…