FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5152 Discussions

Communication PC-De0 Nano with CP2102 TTL

Altera_Forum
Honored Contributor II
910 Views

Hello everyone, 

I need to make a GUI that could communicate between pc and my De0 nano. 

I could make the GUI with QT but I don't know how the communication work. 

I have CP2102 TTL but I don't know how to connect my De0 nano, ı don't know also have my board RX, TX pins. 

Is there anyone to help? 

Thank you everyone. 

 

EDİT: I am using verilog if ıts necessary
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
136 Views

Hi, 

 

1.You can short tx and rx of CP2102 connect it to PC, Now you can use hyper terminal and check the basic communication. 

2.From KIT you can use GPIO pin's and connect the CP2102 rx and tx pins.(take care on power). 

 

Best Regards, 

Anand Raj Shankar 

(This message was posted on behalf of Intel Corporation)
Altera_Forum
Honored Contributor II
136 Views

 

--- Quote Start ---  

Hi, 

 

1.You can short tx and rx of CP2102 connect it to PC, Now you can use hyper terminal and check the basic communication. 

2.From KIT you can use GPIO pin's and connect the CP2102 rx and tx pins.(take care on power). 

 

Best Regards, 

Anand Raj Shankar 

(This message was posted on behalf of Intel Corporation) 

--- Quote End ---  

 

 

 

 

 

 

If ıts not so much ı have one more question, 

ı have 32 bits output in total in fpga, how can ı send all these bits, should I send one by one or in a bound rate is ıt send a bits pocket (8 by 8 or 16 by 16)?
Altera_Forum
Honored Contributor II
136 Views

Hi, 

 

Can tell me which all IP you are using and how it is interfaced? 

You should use packet.(user data is communicating parallelly via avalone interface which is given to uart avalone interface after that IP converts tx/rx serially) 

Set proper baud rate in IP and your GUI. 

 

Best Regards, 

Anand Raj Shankar 

(This message was posted on behalf of Intel Corporation)
Altera_Forum
Honored Contributor II
136 Views

 

--- Quote Start ---  

Hi, 

 

Can tell me which all IP you are using and how it is interfaced? 

You should use packet.(user data is communicating parallelly via avalone interface which is given to uart avalone interface after that IP converts tx/rx serially) 

Set proper baud rate in IP and your GUI. 

 

Best Regards, 

Anand Raj Shankar 

(This message was posted on behalf of Intel Corporation) 

--- Quote End ---  

 

 

 

 

I am using Qt for ınterface with SerialPort Library. But ı decided to try communicate with already existing ınterface like Realterm or putty. And I guess, ı can not set proper baud rate. Something is wrong with clock in fpga. For ex, basicly for a led blinking code, ı define 2 one bit output. One for led , other for tx. And I turn on the led for 3 sec. Also turn of 3 sec too. But when the led turn off, my ttl send to pc turn on data. I can see the another led on ttl. When led which is on fpga is turn off, ttl led is turn on. It works reverse.
Altera_Forum
Honored Contributor II
136 Views

Hi 

 

Check your design. 

led are active high configuration in you board. 

 

Best Regards, 

Anand Raj Shankar 

(This message was posted on behalf of Intel Corporation)
Reply