The PORTC UART pins on the K50 have analog capability, so try turning that off with ANSELC = 0