I wouldn't consider this really a grammar question, but more of a question of usage.
That aside, "speak" and "talk" are often interchangeable, that's true. Nevertheless, "speak" is a bit more formal than "talk". The President speaks before Congress. I talk to my friends on the phone.
We say...