my board uses 51822. I am using 52DK to debug it. I have plugged my board with 52DK as following:
RX -> p0.08
TX -> p0.06
My question is, when I init UART in code, what should be the number for these 2 config of the pca10028.h:
#define RX_PIN_NUMBER
#define TX_PIN_NUMBER
Currently I set up as this:
#define RX_PIN_NUMBER 6
#define TX_PIN_NUMBER 8
But I couldn't find any output. I use screen -L cu.usbm... 115200 -L open a UART window on my mac.
Please help me out, thanks a lot.