You might want to be a bit more specific, especially about the problems.
No reception, garbled messages, hardfault ?
Blocking function might cause problems. The transmission of a byte via takes a relatively long time, compared the the MCU's instruction speed.