Forum Discussion

ABola2's avatar
ABola2
Icon for New Contributor rankNew Contributor
6 years ago
Solved

NIOS II is not responding on DE0 Soc board

I've created a project to use some PIOs in DE0 SoC board as a serial transmitter and receiver but nothing come out from the board. Can you please help to know if there are some tricks I must do or ...
  • Ahmed_H_Intel1's avatar
    6 years ago
    Hi Amanda, Now I understand your design. Attached is a sample design for RS232 with NIOS II using two UARTs. I followed exactly the same Qsys design you have to make it easy to understand. This is based on DE0-Nano-SoC board. Sorry for having the code not commented, but it is simple enough to be clear for you. It sends data from one UART to another. on the board short the TX1 with RX2 to get the project function. In the TOP level change the assignments based on your board: RS232_1 u0 ( .clk_clk (FPGA_CLK1_50), // clk.clk .leds_ex_export (LED), // leds_ex.export .sw_ex_export (KEY), // sw_ex.export .uart_1_ex_RXD (RX_2), // uart_1_ex.RXD .uart_1_ex_TXD (TX_2), // .TXD .uart_0_ex_RXD (RX_1), // uart_0_ex.RXD .uart_0_ex_TXD (TX_1) // .TXD ); Please let me know if you still need support. Regards,