Analog sampling over long lines freezes ARM chip

Ah,
You are just asking for trouble using 1M resistors, and with no pull ups how can it possibly work anyway. Can you post a schematic?