Hi all,
I need to set a baud rate of 9600 in TI28027.
When i calculate using the formula given in the reference manual
BRR = LSPCLK / (SCI Asynchronous Baud * 8) - 1
with LSPCLK as 10MHZ and SCI Asynchronous Baud as 9600 I am getting 208Ch
So the SCIHBAUD setting should be
SciaRegs.SCIHBAUD = 0x0020;
SciaRegs.SCILBAUD = 0x008C;
In this (SCI_Loopbac_interrupt) example its shown the following two lines.
SciaRegs.SCIHBAUD = 0x0000;
SciaRegs.SCILBAUD = SCI_PRD;
On further putting the mouse pointer near SCI_PRD and using macro_exapnsion its showing as
(40E6/4/(100E3*8))-1
This should mean that the baud rate is 100k right?
I want to know if whether 100K is the baud rate setting used in the default example program as generally, it mentioned that 100k baud rate will lead higher percentage of errors.
Also for 9600 Baudrate, my calculated value (208Ch) is right? Also, I want to know where is the description of macro SCI_PRD mentioned.