Hi! I am trying to work with dspic30f4011 UART capability. When the setting was in XT only, the UART was working. But when I edited it to XT with PLL 8x, no output came out from UART terminal.
void main() {
TRISB = 0xFFFE;
ADPCFG = 0xFFFF;
UART1_Init_Advanced(9600,_UART_8BIT_NOPARITY,_UART_ONE_STOPBIT);
UART1_Write_Text("Hello");
Delay_ms(100);
}
My code is the one above. I have no idea what to change. I tried to change Baud rate from 9600 to 19200 but does not work. The settings are the following:
Primary Oscillator Mode: XT w/ PLL 8x
Oscillator Source: Primary Oscillator
Oscillator Frequency: 7.37MHz
Thank you in advance!