Shop OBEX P1 Docs P2 Docs Learn Events
Propeller/Mouse Interference — Parallax Forums

Propeller/Mouse Interference

GeofPriceGeofPrice Posts: 16
edited 2013-07-02 06:20 in Propeller 1
I am running a fairly simple Propeller application that uses one of the counters to measure the resistance of a thermistor via an RC decay, converts the resistance measurement to temperature, then outputs the temperature to the serial port using the Parallax Serial Terminal. The routine uses the f32math routines as well as the Parallax Serial terminal. What has happened to me is that my mouse almost goes dead when the serial terminal is running. What I mean by almost dead is that the mouse has to be moved huge distances to get the pointer to move even a bit, and button clicks are delayed several seconds. When I disable the serial terminal, the mouse functions normally. There seems to be some kind of interference between the mouse and Propeller com ports? Also, I am not tying up the serial port with tons of data; the temperature reading and output to the serial port is done only once each second and it steams out only about 20 characters per measurement. I have written several Propeller programs for various purposes and used the serial terminal in the past with no problems. Any ideas what might be going on?

Comments

  • Cluso99Cluso99 Posts: 18,069
    edited 2013-07-01 16:39
    I think you need to post your program. But here goes anyway...
    What serial speed are you using? The FullDuplexSerial driver has 16 bytes of buffer (not sure about PST). I posted a modified FDX (FullDuplexSerial_rr004.spin IIRC) that permits the buffers to be lengthened simply. If you are filling the buffer, spin will wait until it can put all the characters into the buffer. Perhaps this is the problem?
  • GeofPriceGeofPrice Posts: 16
    edited 2013-07-02 06:20
    Thanks, Cluso99. I wound up shutting everything down and rebooting my computer, and I have not experienced the problem since. I think I will chalk this one up to (believe it or not) a Microsoft Windows anomaly.
Sign In or Register to comment.