I have a windows app that transmits pwm information to a Teensy 3.2 (it is a replacement for an older board)
i was finding some delays in the Teensy outputting the desired pwm and discovered the problem was related to the volume of data
by slowing down the transmission of data from the windows app the Teensy is happy and outputting clean pwm
however the delays have ruined the response of the app
you can see the discussion about it here -- https://forum.pjrc.com/threads/56198-analogWriteResolution
---------------------------------------------------------------------------------------------
from what i understand a uart port will make sure the latest data is sent and the previously sent data can get lost
the usb serial makes sure all data arrives in order - is this what is causing my delays
what is a good strategy for sending serial data and not getting delays
( i did try the Teensy with a UART port connected to pins 9 and 10 and there was no improvement, i do not seem to be able to get the uart to wok on high serial speeds ie 115200 )
i was finding some delays in the Teensy outputting the desired pwm and discovered the problem was related to the volume of data
by slowing down the transmission of data from the windows app the Teensy is happy and outputting clean pwm
however the delays have ruined the response of the app
you can see the discussion about it here -- https://forum.pjrc.com/threads/56198-analogWriteResolution
---------------------------------------------------------------------------------------------
from what i understand a uart port will make sure the latest data is sent and the previously sent data can get lost
the usb serial makes sure all data arrives in order - is this what is causing my delays
what is a good strategy for sending serial data and not getting delays
( i did try the Teensy with a UART port connected to pins 9 and 10 and there was no improvement, i do not seem to be able to get the uart to wok on high serial speeds ie 115200 )