"
The communication protocol between the camera is 8-data-bit, 1-stop-bit SPI (mode 3). The pins, from right to left on the lens, are:
Canon EF mount pins[2][17]
Name Function Notes
VBat +6 volts to power internal lens focus motors
Present on all EOS bodies and lenses
P-Gnd Power ground
P-Gnd
VDD +5.5 volts Digital logic power
DCL Data from camera to the lens (MOSI)
DLC Data from the lens to the camera (MISO)
LCLK Camera body generated clock signal (SCLK, CPOL=1)
D-GND Digital logic ground
COM1 Teleconverter common[18][19][20]
Only on most L-series and some macro lenses
EXT0 Short to COM1 for 'Life Size Converter' and x1.4 teleconverter
EXT1 Short to COM1 for x2 and x1.4 teleconverter
"
http://en.wikipedia.org/wiki/Canon_EF_lens_mount#Stepping_motor