Hi,
I am making my own pic programming software (only as a learning exercise). I bought an usb to ttl adapter. Unfortunately, I did not know that CLP2104 could be used as real gpio and ordered a CLP2102 (CLP2104 is ordered from china but will take 3-4 weeks to get there).
I made some tests using the CLP2102 as a com port using RXTX from java, or "directly" in C#, and if I toggle DTR and rts from 0 to 1 and then 1 to 0 (4 bits changes), I can reach the speed of 14 iterations per second. By optimizing things (toggling data only if needed) I can reach about 20 bit per second. The same code run 100+ times faster if I user my desktop's motherboard's uart.
Trying so send break is even slower than toggling rts/dtr
Can the CP2102 be switched faster by using the USBXpress and/or C code ? And the CP2104 (using GPIO mode) ?
Thanks you,
John.