1
General Discussion / Problem communicating PC and FPGA with UM245R
« on: March 10, 2021, 11:53:41 pm »
Hi everyone,
I have been trying for days to communicate an FPGA and a PC through the UM245R. The programming language that I use in the FPGA is VHDL, and in the PC I use the LabWindows software that programs in C. I am wanting to transmit data from the PC to the FPGA, for which I am using the D2XX library for FIFO Asynchronous communication. I have already achieved communication and data transmission, but sometimes the transmission is cut off, that is, not all the bytes are transmitted (this happens quite frequently) and I don't know what might be happening. I have simulated the VHDL code in ModelSim and it behaves as expected, while I have relied on the Ft_Write function for data transmission in LabWindows, I have even used code examples provided by manuals and libraries, and this problem remains. Finally, I was looking at the behavior with an oscilloscope of the RXF signal and it never changes state (always remains high) during the transmission of multiple bytes, but when the transmission is truncated this signal goes low. If you could explain any reason for this behavior, I would appreciate it.
I have been trying for days to communicate an FPGA and a PC through the UM245R. The programming language that I use in the FPGA is VHDL, and in the PC I use the LabWindows software that programs in C. I am wanting to transmit data from the PC to the FPGA, for which I am using the D2XX library for FIFO Asynchronous communication. I have already achieved communication and data transmission, but sometimes the transmission is cut off, that is, not all the bytes are transmitted (this happens quite frequently) and I don't know what might be happening. I have simulated the VHDL code in ModelSim and it behaves as expected, while I have relied on the Ft_Write function for data transmission in LabWindows, I have even used code examples provided by manuals and libraries, and this problem remains. Finally, I was looking at the behavior with an oscilloscope of the RXF signal and it never changes state (always remains high) during the transmission of multiple bytes, but when the transmission is truncated this signal goes low. If you could explain any reason for this behavior, I would appreciate it.