In DRA7xx_EVM i am accessing CAN , i was able to open a socket ,send the data using the socket and also able to read the data with another socket and also verified receiving data with masking and all in loopback mode.. But I am not getting the data on hardware pins to communicate with real device outside ..
In dtsi file,
dcan1: d_can@4AE3C000 {
compatible = "bosch,d_can";
ti,hwmods = "dcan1";
clocks = <&dcan1_sys_clk_mux>;
clock-names = "fck";
reg = <0x4AE3C000 0x2000
0x4a002558 0x4>;
flags = <0x5>;
interrupts = <0 81 0x4>;
status = "disabled";
};
In dts file..
dcan1_default: dcan1_default_pins {
pinctrl-single,pins = <
0x3D0 0x40000 /* dcan1_tx */
0x3D4 0x60000 /* dcan1_rx */
>;
};
&dcan1 {
pinctrl-names = "default";
pinctrl-0 = <&dcan1_default>;
status = "okay";
};
We shorted the resistor R611 at CAN_RX pin also..I have modified for CAN in dtsi as well as dts file....Am i wrong some where??
Regards,
Ganesh