How do I enable UART2 in S32G2

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

How do I enable UART2 in S32G2

1,984件の閲覧回数
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,923件の閲覧回数
nxf92355
NXP Employee
NXP Employee

Hi Jack 

I am not finding BSP34 . Please use latest BSP35

Thanks 

Tushar 

0 件の賞賛
返信

1,934件の閲覧回数
nxf92355
NXP Employee
NXP Employee

Hi Jack 

Are you using custom bard or EVK board likeRDB2 ?

Thanks 

Tushar 

0 件の賞賛
返信

1,951件の閲覧回数
mz_001
Contributor I

大哥,搞定了没

0 件の賞賛
返信