Hi,
I am learning how to use AM3359 ICE ver 1.0B. I have imported UARTecho example from am335x_sysbios_ind_sdk_1.0.0.9 and I can successfully compile it and debug it using ccs5. I realized that the serial console via the FTDI chip is connected to UART5.
My question is:
How can I change the setting of the UARTecho from using UART5 to using UART1?
I notices that there is a .c file "sys_uart.c" included. And it seems like it is for UART5 and UART3. Can I just change the number in this file for using UART1? What other changes should I make in order to use UART1?
Ex:
switch(instance)
{
case 3:
baseAddr = SOC_UART_3_REGS;
break;
// case 5:
// baseAddr = SOC_UART_5_REGS;
case 1:
baseAddr = SOC_UART_1_REGS;
break;
default:
return;
}
Thank you for the helps!
Chung-Ti