// JP opened flex table

Click to See Complete Forum and Search --> : setting Baud Rates


gadi
January 7th, 2003, 01:48 AM
As i understood the Baud Rate of serial Data is determined by :
1.8432MHz/ Divisor*16 so that how we get the following vals.:
110,300,600,1200,2400.... but as i see (checked on scope ) i can send Data with other baud Rates WHY?
PLZ its Urgent!

Caprice
January 9th, 2003, 06:08 AM
So you intent that you can set a baud rate, for example, 50000?
How you did it?
If we're talking about Windows API you can find there constants like CBR_110, CBR_300, ..., CBR_19200, ..., CBR_256000 and we have a structure DCB and a few functions, for exmaple, SetCommState.
OK. I not remember that I performed such tests, but I could not set a wrong baud rate.
That looks like your questions about CTS - yes, we can get the event EV_CTS, for example, but we must have a valid handle of serial port.
OK. Really, I'm sure, that some one can do it. It will be interested enough. Try to search something on the web of SysInternal.

//JP added flex table