Hello,
I have additional questions regarding hte C5515 TI supplied demo application code.
While working with XDS5510 JTAG and CCS 4.2.3 version, I am reading through the CCS UART register values and they are different from what I write into those registers.
While reading those values by CPU and looking on to the variable value I get the correct value.
Is that a known problem?
One more additional question is: I do know about the CSL but I prefer to configure UART by myself on C5515.
The following is code doing that:
{
// Ensure UART has been resetted
while (SYS_PRCNTRLR & 0x0080)
;
// Ensure clock enabled for UART
SYS_PCGCR1 &= (~0x4);
// put both uart tx and rx into reset
UART_PWREMU_MGMT &= ~(0x6000);
// UART 8 least sig bits of divisor
UART_DLH = 0x41;
// UART 8 most significant bits of divisor
UART_DLH = 0;
UART_FCR = 1;
UART_LCR = 0x0003;
UART_MCR = 0;
UART_PWREMU_MGMT = 0x6001;
}
Then I write into the THR values and expecting to receive them on UART other side.
I do not see anything coming out...
The question is: suppose I set the system by teh help of the function TA_hal_Init_high_clk to the value of 115200 baudrate. What is wrong with my code that causes UART not to tx data?
Regards