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!
Hi Jack
I am not finding BSP34 . Please use latest BSP35
Thanks
Tushar
Hi Jack
Are you using custom bard or EVK board likeRDB2 ?
Thanks
Tushar
大哥,搞定了没