kw41

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

kw41

2,067 Views
koonlee
Contributor I

Hi,

What is the max baud rate for KW41's UART?

Thanks,

Koon

Tags (1)
0 Kudos
Reply
6 Replies

1,900 Views
koonlee
Contributor I

Hi Estephania,

I have an external 32MHz xtal connected to pin 21 and 22. I can change the schematic/configuration to facilitate the higher baud rate. The datasheet mentions about 115200 baud rate and I need at least 230400. Would be great if we can achieve higher.

Thanks,

Koon

0 Kudos
Reply

1,900 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

Using the examples with and without the wireless connectivity framework it was possible to set the frequency of your interest in the KW41. For example, if you are trying to use it in the wireless uart demo you will need to modify the following files. 

9795F978.PNG

Regards, 

Estephania

0 Kudos
Reply

1,900 Views
sensenthuran
Contributor IV

estephania_martinez‌ 

If we are using the FSCI interface, in the following file 

UARTConfiguration.h

the speed 230400 is not defined. What we should do in this case?

/**
* @brief Baudrate values for opening a UART device.
*/
typedef enum {
BR110,
BR300,
BR600,
BR1200,
BR2400,
BR4800,
BR9600,
BR19200,
BR38400,
BR57600,
BR115200,
BR921600,
} Baudrate;

0 Kudos
Reply

1,900 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

You can check in the serial manager the following definitions where the 230400 it's included. 

pastedImage_1.png

Regards, 

Estephania 

1,900 Views
koonlee
Contributor I

Hi Estephania,

serialUartBaudRate_t only define up to gUARTBaudRate230400_c. Is it possible to run at 230400x2 => 460800?

Thanks,

Koon

0 Kudos
Reply

1,900 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

It will depend on the clock configuration you are using, could you please provide more details ? 

Regards ,
Estephania 

0 Kudos
Reply