Hi..I've been trying to get my serial communication on the dsPIC to work. I need to be able to transmit and receive at least one character but all I seem to get is an junk transmission. I'm not sure if my code is right. I've tried a max232 circuit and an off the shelf usb-to-serial bridge. Both give the same output. I've also made sure the baud rates are correct. Please help.
Here's my code:
//------------------------------------------- Defines
#include <p30f4011.h>
#include <xc.h>...
Serial Communication with dsPIC30F4011
Here's my code:
//------------------------------------------- Defines
#include <p30f4011.h>
#include <xc.h>...
Serial Communication with dsPIC30F4011