Other Parts Discussed in Thread: AM6442, TCA6424
AM6442 SDK 07_03_01_006 can0 can1 are control by R-core.
AM6442 SDK 08.00.00.21 can0 can1 are control by A-core.
My software is update to 08.00.00.21,but I don't want to use can0 can1 by A-core.
How can I change code?
1.I have changed k2-am642-evm.dts
&main_mcan0 {
status = "disabled";
};
&main_mcan1 {
status = "disabled";
};
then,can0 can1 are disappeared in A-core,but can0 can1 can't receive msgs.
&main_i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&main_i2c1_pins_default>;
clock-frequency = <400000>;
exp1: gpio@22 {
compatible = "ti,tca6424";
reg = <0x22>;
gpio-controller;
#gpio-cells = <2>;
gpio-line-names = "GPIO_eMMC_RSTn", "CAN_MUX_SEL",
"GPIO_CPSW1_RST", "GPIO_RGMII1_RST",
"GPIO_RGMII2_RST", "GPIO_PCIe_RST_OUT",
"MCAN0_STB_3V3", "MCAN1_STB_3V3",
MCAN0_STB_3V3 MCAN1_STB_3V3 are high level.
I think the lines of i2c are setted like that:
main_i2c1_pins_default: main-i2c1-pins-default {
pinctrl-single,pins = <
AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */
AM64X_IOPAD(0x026c, PIN_INPUT_PULLUP, 0) /* (B19) I2C1_SDA */
>;
};
Do you agree with me?
I don't know that MCAN0_STB_3V3 MCAN0_STB_3V3 reg. Can you tell me ?
