- Fri Apr 30, 2010 1:54 pm
#99852
I am trying to configure the SPI - UART baud rate to something above 9600.
struct SPI_UART_cfg SPI_Uart_config = {
0x50,0x00,0x03,0x10};
Doing the math with the crystal that is being used I cant come up with much. I tried using
struct SPI_UART_cfg SPI_Uart_config = {
0x20,0x00,0x03,0x10};
To get 38400 and even that is unreliable.
Am I missing something or does anyone have any suggestions?
struct SPI_UART_cfg SPI_Uart_config = {
0x50,0x00,0x03,0x10};
Doing the math with the crystal that is being used I cant come up with much. I tried using
struct SPI_UART_cfg SPI_Uart_config = {
0x20,0x00,0x03,0x10};
To get 38400 and even that is unreliable.
Am I missing something or does anyone have any suggestions?