1
Discussion - Software / Re: Best practices for low-latency, low-data-rate writes from PC to device
« on: December 01, 2021, 08:02:30 PM »
Thank you, I'd love to get a copy of the draft app note. I'll email shortly.
Yes, I'm familiar with Purge(). In this instance, I'm not looking to discard anything, though as a general rule we do Purge() the RX and TX buffers upon first connecting to the device just to minimize consumption of stale data at both ends of the cable.
To the docs thing: That would be great also. I'll often scratch my head while reading the datasheets and app notes when I come across terms like "transmit" and "receive," because they obviously mean very different things according to whether you're talking about the host PC or the chip, and if the chip, then whether you're talking about the USB side or the UART/parallel/etc. side. Sometimes the context is enough to disambiguate, but often times it's not, at least not for me. I'm all for excessive explicitness when it comes to these things. (Then I don't have to come here and ask possibly dumb questions either!
Yes, I'm familiar with Purge(). In this instance, I'm not looking to discard anything, though as a general rule we do Purge() the RX and TX buffers upon first connecting to the device just to minimize consumption of stale data at both ends of the cable.
To the docs thing: That would be great also. I'll often scratch my head while reading the datasheets and app notes when I come across terms like "transmit" and "receive," because they obviously mean very different things according to whether you're talking about the host PC or the chip, and if the chip, then whether you're talking about the USB side or the UART/parallel/etc. side. Sometimes the context is enough to disambiguate, but often times it's not, at least not for me. I'm all for excessive explicitness when it comes to these things. (Then I don't have to come here and ask possibly dumb questions either!