2012-09-11, 13:19:43
The comment says RP7 but the code says RP15, which pin is tx connected to?
If RP15, you have not configure that pin to be digital, AN9, bit PCFG9 in register AD1PCFGL.
If RP15, you have not configure that pin to be digital, AN9, bit PCFG9 in register AD1PCFGL.