Unfortunately , I have no experience with dsPIC, but know something
about gibberish responses. 8-P
If you have a scope, check system clock first as it might not be what
you expect.
Getting 140 MHz from 20 MHz with all the pre and postscaler options
looks like a slippery slope.
Then check the "gibberish response" with a scope. Different UART chips
react differently to out of sync characters.
Third, check parity, handshake etc.
Best regards,
Zdravko
|