Code:
PortD =  %00000000
PORTD = %00000000               ; set to PORTD low
Are you sure that's enough?


Seriously, I've seen several comments about both TX and RX pins should be set to input in TRIS. USART then takes control and decides what they should be.


Code:
CCP2MX_ON_3H
Do you really need that feature enabled?

Robert