Hi, just a small error. Both examples are the same.
Fui a su casa para hablar con él.I went to his house to talk to him.
Here, we could have used the preposition "a"with the same intention:
Fui a su casa a hablar con él.I went to his house to talk to him.