LEDN
New Contributor
3 years agoUART
HELLO
How can i assign in "Pin Planner" the pins GPIO[0] = Tx, GPIO[1]= Rx , and GND on DE10-LITE
I wan to send data over UART.
my code similar like this
module UART_RX
#(parameter CLKS_PER_BIT = 217)
(
input CLOCK_50,
input i_RX_Serial,
output o_RX_DV,
output [7:0] o_RX_Byte
);
module UART_TX
#(parameter CLKS_PER_BIT = 217)
(
input [1:0] KEY,
input CLOCK_50,
input i_TX_DV,
input [7:0] i_TX_Byte,
output reg o_TX_Active,
output reg o_TX_Serial,
output reg o_TX_Done
);
where can i change Pin Planner in my software? ( GPIO[0] where can i set in UART_TX?, is it input or output? Same as RX. ). Im a new uart i try to understand uart.
Thanks.