Yes, I did try the code. After changing the SCI2s to SCI0s I was unable to get it to work either. I noticed that there was a read of SCI0_S1 (which clears the flags) just before the while that waits for the flag to clear in the example that you linked. I put that in my code and it appears to work.
Thank you!