I would only use the first myself, but that has nothing to do with grammar, just the fact that "spoke" is easier to say than "talked". Actually, come to think of it, "talked" isn't used all that much, probably also for this reason. You usually hear it before words that begin with a vowel (like "about" or "as"), which really helps make it easier to say because you can basically transfer the T-sound from "ed" over to the next word (e.g. talked about -> talk tabout, talked as -> talk taz) and it both sounds very natural and flows nicely. At least, that's what I find I do. Otherwise, it's quite common to just substitute the easier-to-say "spoke".