2400

2400 baudrate

Thu, 2015-11-05 01:17--YuanhangWu

Hi all,
Is there baudrate can be low to 2400?
#定义UART_BAUDRATE_2K4 417 / / = 16000000 / (16* 2400), actual baud rate = 2398.082, error = -0.08%

I see the baudrate set is this :
SetWord16(UART_IER_DLH_REG, (baudr&0xFF>>0x8));
SetWord16(UART_RBR_THR_DLL_REG,baudr&0xFF);

So, if I set buadrate is 2400,the baudr should be 2400: baudr =UART_BAUDRATE_2K4 ;
I test it,but not success.

Can you help me ?

thanks.

Subscribe to RSS - 2400