Hi,
Previously i have used MCF521x controller & there i use to select the GPIO to activate CAN bus Pins of Flexcan in this way.
#define FLEXCAN_GPIO_INIT() MCF_GPIO_PUCPAR = 0 | MCF_GPIO_PUCPAR_URXD2_CANRX | MCF_GPIO_PUCPAR_UTXD2_CANTX;
Do we have to Activate CAN Bus pins in I-max6 solo controller also ?
I am JUst going through the DataSheet for the Imax6 Solo processor.
i.MX6 Solo Reference Manual
And found that there is multiplexing for CAN1 TX/RX pins. On Page -315 it tells about FLEXCAN1_RX & FLEXCAN1_TX pins Multiplexing.
Also tells how to activate these PIN.
For CAN_1 transmit pin, FLEXCAN1_TX, there are three PADS :----
Pads(Pins) Registers
GPIO_7 (ALT3) IOMUXC_SW_MUX_CTL_PAD_GPIO07
KEY_COL2 (ALT2) IOMUXC_SW_MUX_CTL_PAD_KEY_COL2
SD3_CMD (ALT2) IOMUXC_SW_MUX_CTL_PAD_SD3_CMD
Now I am having a question how can a single controller FlexCAN_1 can have its TX pin enabled on 3 PADS ?
Does it means :----
Same CAN TX signal CAN be routed to Three different PAD's ?
or I-MAX6 solo comes in 3 different types of controller with diffrent Pads/Pin configuration ?
Any suggestion will be welcomed .
//Kees