Hi egoodii I still need to read up on the clock configuration in the K22F and K64F to get a better understanding of things. But yesterday, my test of setting UART1 to max baud rate and then sending 0x55 in a tight loop yielded a bitrate of 3.68MHz, which is about half of the expected speed. I suppose one way of looking at this is that it's at least not off by a couple of orders of magnitude. :smileyhappy:
I did look over the assembly code, and the KSDK methods for setting and clearing bits cost about 36 instructions each! 120MHz / 36 * 2 means I should see a toggling frequency of about 1.67MHz. Again, my actual frequency of about 760kHz is roughly half of the expected, and at least this would explain the huge difference in actual speed vs. the expected. Thanks again for suggesting that I dig into the assembly -- it would have taken a bit more convincing on my own before I would have reached that conclusion.
With this information, would you guess that there is an incorrect prescaler setting somewhere? In addition, I take it you wrote an optimized function for doing GPIO operations? Do you think my process outlined here is valid?