The maximum flash sync speed of the 40D is 1/250. You need to turn on the high speed sync of your flash to allow faster shutter speed. I don't know if the 220 has that function.