Software Archive
Read-only legacy content
Annonces
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Serial port communications

Intel_C_Intel
Employé
511 Visites
We have developed a small application which uses serial ports to connect to othr hardware. The code uses SPORT_CONNECT, SPORT_CANCEL_IO, SPORT_SET_STATE, SPORT_SET_TIMEOUTS, SPORT_WRITE_LINE, SPORT_READ_LINE and SPORT_RELEASE on COM1 and COM2. It runs much slower than desired, about 1/10th of the baud rates of 38.4k and 19.2k. Other apps on the same PC transfer data to the ports much faster. Any ideas?
0 Compliments
2 Réponses
durisinm
Novice
511 Visites
How did you configure the port parameters? How do you measure your application's performance so that you know it is running slowly? What other applications are running faster?

Mike Durisin
0 Compliments
Intel_C_Intel
Employé
511 Visites
This has now been fixed by upgrading from VF6.5 to VF6.5a. Performance now seems O.K. though I haven't yet mad precise measurements.
0 Compliments
Répondre