Jimbo,
The pic can transmit at that rate but you might run into trouble receiving.
921K is only 10us/byte, so you'll have to be able to handle incoming data at that rate.
I've run 460K baud...
Type: Posts; User: tumbleweed; Keyword(s):
Jimbo,
The pic can transmit at that rate but you might run into trouble receiving.
921K is only 10us/byte, so you'll have to be able to handle incoming data at that rate.
I've run 460K baud...
That's probably not too bad, considering you have to send packet requests to get data.
Doing that's a good idea... I was worried you were just going to stream 256MB out the pic and expect the PC...
Most PC serial ports will run at 230400 baud.
The J53 will... just set:
BRG16=1
BRGH=0
SPBRGH=0
SPBRG=5
That might shave it down to under 4 hrs.
Make sure the MAX232 (or whatever you're...
At 115K it takes ~22ms to send 256 bytes assuming back to back transfers. At 9600 it's over 10x longer than that.
You could use background serial transfers while you do something to read that...
richard's code has some merits, but in almost all cases interrupts just add overhead... they rarely speed things up if that's what you're looking for.
Here's another version of the code I posted...
If you're looking for more efficient then drop the formatting entirely and just send the binary data.
If you format 256MB of data using HEX2 you end up with twice the number of bytes to transfer...