Part Number: MSP430F5438A
Tool/software: Code Composer Studio
Hi, I have trouble in calculating the USCI UART Baud rate Register values.
My Clock Speed is 25001984 Hz, the Baud Rate I want is 230400.
According to the user' guide, the calculation of the register values should be;
N=fBRCLK/Baudrate=25001984/230400=108.52
UCBR0=INT(N/16)=6
UCBRF0=round([(N/16)-INT(N/16)])*16)=round[(6.78222222-6)*16]=round(0.7822222*16)=round(12.5155556)=13
But when I calculate them on your website processors.wiki.ti.com/index.php/USCI_UART_Baud_Rate_Gen_Mode_Selection
the results are :Divider= 6.782222222222222; BRDIV= 6 S-Modulation UCBRSx= 2 F-Modulation UCBRFx= 11
So why the value of UCBRFx is different from what I calculated ? which one is right? 11 or 13?
And how can I calculate UCBRS0 by myself?