How do I enable UART2 in S32G2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How do I enable UART2 in S32G2

1,985 次查看
jack_huang1
Contributor IV

Dear,

         Now we are using NXP S32G274 platform. BSP is based on BSP34 version. How to enable UART2 in BSP34? At present, some configuration information is added to kernel DTS (as follows), but it has no effect (unable to read and write data), specifically as follows:

         

 &pinctrl {

            .......

            uart2_pins: uart2 {

                  uart2_grp0 {

                          pinmux = <S32CC_PINMUX(64, FUNC2)>;

                          output-enable;

                          slew-rate = <S32CC_SLEW_83MHZ>;

                  };

                  uart2_grp1 {

                           pinmux = <S32CC_PINMUX(737, FUNC0)>;

                           input-enable;

                           slew-rate = <S32CC_SLEW_83MHZ>;

                  };

                  .......

            };

   };

 

    &uart2 {

              pinctrl-0 = <&uart2_pins>;

              pinctrl-names = "default";

              status = "okay";

    };

 

 Please check it,thank you!

 

 

 

标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

1,924 次查看
nxf92355
NXP Employee
NXP Employee

Hi Jack 

I am not finding BSP34 . Please use latest BSP35

Thanks 

Tushar 

0 项奖励
回复

1,935 次查看
nxf92355
NXP Employee
NXP Employee

Hi Jack 

Are you using custom bard or EVK board likeRDB2 ?

Thanks 

Tushar 

0 项奖励
回复

1,952 次查看
mz_001
Contributor I

大哥,搞定了没

0 项奖励
回复