Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/16/10 11:38
Read: times


 
#176722 - Timing just depends on OS and where the data is sampled
Responding to: ???'s previous message
With the user-space UART API in Windows, I get 32ms timing resolution (this is the normal timeslice length for the Windows scheduler) which can be a problem for faster protocols that are character-based and not packet based, or that is running concurrent transfers.

Running kernel-space drivers in Linux or running MS-DOS (or writing a driver for Windows), it's possible to handle timing with magnitudes better resolution, making it easy to keep track of individual characters in full-duplex transfers. An ISR isn't limited by the timeslice granularity of any OS, but just by how long the OS or other drivers may block interrupts from getting serviced. A PC with a PCI board with two or four UART is a very good solution. And having way more RAM - and also disk - means it can not only detect received characters or toggled handshake signals with good resolution. It can also save very large logs for later post-processing.

I also have access to PPC-based embedded platforms where I can turn off the FIFO and process the data for two external ports directly in the ISR. No significant difference from a PC, except that they are more the size of a small network switch and consumes way less power than a PC.

List of 23 messages in thread
TopicAuthorDate
Serial Port monitor software            01/01/70 00:00      
   Docklight            01/01/70 00:00      
      I use...            01/01/70 00:00      
   monitor and control            01/01/70 00:00      
      br@y terminal??            01/01/70 00:00      
         But that's "just" (sic?) another terminal, surely?            01/01/70 00:00      
      RE: Portmon from Sysinternals            01/01/70 00:00      
         "pi" cable and two serial ports to log rx and tx            01/01/70 00:00      
            OK for simple data logging...            01/01/70 00:00      
               timing etc is just a question of program and OS            01/01/70 00:00      
            Command-response sync?            01/01/70 00:00      
               Don't blame windows here!            01/01/70 00:00      
                  Don't blame the driver or the adapter            01/01/70 00:00      
                     Eh?            01/01/70 00:00      
                        Huge FIFO because max baudrate also much higher            01/01/70 00:00      
                  USB-Windows-drivers            01/01/70 00:00      
                     Digressing: Multiple USB-to-Serial            01/01/70 00:00      
                        Digressing Further...            01/01/70 00:00      
                        Nice            01/01/70 00:00      
                           RE: It's a shame I can't tell the service guys what to buy            01/01/70 00:00      
               8052-based analyser            01/01/70 00:00      
               Timing just depends on OS and where the data is sampled            01/01/70 00:00      
      Scripting for development and testing            01/01/70 00:00      

Back to Subject List