It's a little bit of an apples to oranges comparison. There are two factors:
1) The basic communication rate
2) The response latency (between the end of a request and the beginning of a response)
The SSM sequence to request and receive a parameter is roughly equivalent for the two protocols, so that overhead is the same.
for K-line:
baud = 4800 (effectively 480 bytes/sec)
SSM latency = 4ms
for CAN
baud = 500000 (effectively ~25k bytes/sec for ISO15765)
SSM latency = 5ms
So, to read 20 parameters (3 bytes/param to request, 1 byte/param received + 2tx/1rx header bytes (CAN) or 6tx/5rx header/checksum bytes (K)) it works out like this
K: (20*(3+1)+6+5)/480 + 4ms = 194ms (5Hz)
CAN: (20*(3+1)+2+1)/25000 + 5ms = 8.3ms (120Hz)
So CAN is 24x faster. There are some other protocol issues can make CAN a little slower than this calculated value, but you get the idea.
Mart wrote:Colby,
SSM CAN logging is faster than K-LINE logging? By a factor of?