Is There a Solution for High-Speed Data Transfer Using RS-232 Serial Port?

  • Thread starter Thread starter desmal
  • Start date Start date
  • Tags Tags
    Serial
Click For Summary

Discussion Overview

The discussion revolves around the challenges of using RS-232 serial connections for high-speed data transfer to an FPGA, specifically in the context of MATLAB settings and VHDL programming. Participants explore issues related to bit rates, data integrity, and alternative methods for data loading.

Discussion Character

  • Technical explanation, Debate/contested, Experimental/applied

Main Points Raised

  • One participant notes that changing the bit rate in MATLAB does not seem to affect the RS-232 connection, suggesting a potential issue with the settings not being applied correctly.
  • Another participant questions the certainty of the bit rate being correct, proposing that the protocol might have changed without the user’s knowledge, and emphasizes the importance of verifying the protocol and bit order.
  • A later post indicates that not all data rates for RS-232 are supported by the participant's PC, and expresses a need for alternative methods to load large data sets onto the FPGA board, which is identified as a Spartan-3 Digilent (X3S1000).

Areas of Agreement / Disagreement

Participants express uncertainty regarding the effectiveness of changing settings in MATLAB and whether the correct protocol is being used. There is no consensus on a solution for the data transfer issue or alternative methods for loading data.

Contextual Notes

Limitations include potential missing assumptions about the compatibility of MATLAB with RS-232 settings, the specific protocols being used, and the capabilities of the PC in relation to RS-232 data rates.

Who May Find This Useful

Individuals working with FPGA programming, RS-232 serial communication, or those seeking to optimize data transfer methods in embedded systems may find this discussion relevant.

desmal
Messages
23
Reaction score
0
Hi

I am using RS-232 connection to may FPGA, and I want to send information from matlap. Whan I set may VHDL program to the defult seting of the RS-232 which have 9600 bit/sec, then may FPGA show the data correctly. but whan I change the VHDL program and the matlap seting to anthor bit/rate,the data is shown wrong. what is interesting is that the old VHDL program with 9600 bit/sec still work which mean the computer still send at the old bit rate.
 
Engineering news on Phys.org
Sounds like Matlab's changing of the serial port settings is not taking effect. You could manually change the settings in the Control Panel for the PC, perhaps.
 
How do you know that it is still working? The bit rate might be correct but maybe you change the protocol without knowing it ... Double check that you still use the old protocol, and make sure the bits are in the correct order.
 
Hi again
I discover that not all of the data rate for RS-232 are providen by may PC. but still I have problem. The data that I want to load on may FPGA board is very larg and RS-232 have very low bit rates. May bord is spartan-3 digilent (X3S1000)
Do you have any other way to load these data from PC.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 19 ·
Replies
19
Views
7K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
25K
Replies
2
Views
5K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
5K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K