MSP430FR5739
9600波特率
用4MHZ晶振作为ACLK,怎么设置波特率...我用波特率计算器算的UBR1=0X01;UBR0=0XA0;UCA0MCTLW=0XC000;
但是书上说小数部分,4000000/9600=416.66666
那么0.666*8=5
那5的话,MCTLW应该是0x6b才是啊...为什么是0XC0;
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
MSP430FR5739
9600波特率
用4MHZ晶振作为ACLK,怎么设置波特率...我用波特率计算器算的UBR1=0X01;UBR0=0XA0;UCA0MCTLW=0XC000;
但是书上说小数部分,4000000/9600=416.66666
那么0.666*8=5
那5的话,MCTLW应该是0x6b才是啊...为什么是0XC0;