HelloI am very very green to altera and i am facing a difficult problem . I Need to create communication link between DE2 board to laptop.(basically i am simulating transmitter and receiver laptop is transmitter and fpga (DE2 board) is receiver.) What is the eseyest way to do it?from what i red at DE2 datasheet there is an usb connector so i was thinking to connect usb to usb cable from laptop to DE2. Laptop will see it as a virtual com but what will see the DE2 and how do i recive the data? Thx.
If there is an FTDI usb to com converter, your laptop will be able to send/receive com port data's on the virtual com port,in your fpga you can then use/drive the uart lines.
Thx,So bsicly from what i understand i need to buy a cable tha on side will be usb that i will see on my laptop as virtual com and on another side it will be rs232 that will be connected to fpga DE2,Do i need to use nyos2 for reading data from the uart that operating RS232 on the DE2 board or i can read it like in micro controllers evaluation board with already build drivers something like include uart.h and then just use red and write ? Thx!!!!!
The DE2 board already has a serial interface (RS232).Your NIOS system needs to instantiate a UART, and that UART can be used to communicate with your PC. The data bandwidth over the link will be limited by the UART BAUD rate, eg., 115.2kbaud. If you need a faster data rate, then look at using the network interface. If you can deal with a slower interface, then look at using the JTAG interface http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial Cheers, Dave