Analog sampling over long lines freezes ARM chip

The other thing you might do is to wrap the cable a couple of times round a toroidal ferrite ring.