uart support with up to 4Mbps

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

uart support with up to 4Mbps

ソリューションへジャンプ
843件の閲覧回数
alaskora_byk_mstang
Contributor I

MicrosoftTeams-image (1).png

I’m working on a project on custom board based on  IMX8MP in that I’m working with UART for data transfer. We are able to data pacages with 1.5Mbps i.e. with baud rate 1500000. As per the data sheet, UART can support up to 4Mbps and we would like to use it to the fullest. 

Could anyone help me with this. ?

MicrosoftTeams-image.png

0 件の賞賛
返信
1 解決策
825件の閲覧回数
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @alaskora_byk_mstang,

I hope you are doing well.

UART baudrate depende upon module clock of UART.

module_clock frequency must always be greater or equal to 16x the maximum baud rate.

default module_clock frequency is 24 MHz.

Please make below change in uart node to support 4Mbps baudrate.

&uart1 { /* BT */
      pinctrl-names = "default";
      pinctrl-0 = <&pinctrl_uart1>;
      assigned-clocks = <&clk IMX8MM_CLK_UART1>;
      assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>;
      fsl,uart-has-rtscts;
      status = "okay";
};
 
Thanks & Regards,
Dhruvit Vasavada

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
794件の閲覧回数
alaskora_byk_mstang
Contributor I

Thanks it is working as expected

0 件の賞賛
返信
826件の閲覧回数
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @alaskora_byk_mstang,

I hope you are doing well.

UART baudrate depende upon module clock of UART.

module_clock frequency must always be greater or equal to 16x the maximum baud rate.

default module_clock frequency is 24 MHz.

Please make below change in uart node to support 4Mbps baudrate.

&uart1 { /* BT */
      pinctrl-names = "default";
      pinctrl-0 = <&pinctrl_uart1>;
      assigned-clocks = <&clk IMX8MM_CLK_UART1>;
      assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>;
      fsl,uart-has-rtscts;
      status = "okay";
};
 
Thanks & Regards,
Dhruvit Vasavada
0 件の賞賛
返信