Hello everyone,
I am new here and I got my hands on an imx8mp µC.
On the µC I want to run an application which needs two CANs.
For this µC are CAN demo implementations available, which I am able to run on my Hardware.
To run one of this examples on FLEXCAN2 instead of FLEXCAN1 the board configuration has to change.
In particular I added the PIN and Clock config for FLEXCAN2.
Currently the initialization for FLEXCAN1 is running fine, but the initialization of FLEXCAN2 is stuck while disabling the FLEXCAN Module.
Within the Demo Code is a init for an specific GPIO pin.
/* GPIO5_IO05 is used to control CAN1_STBY which is ebaled active high */
gpio_pin_config_t config = {kGPIO_DigitalOutput, 1, kGPIO_NoIntmode};
GPIO_PinInit(GPIO5, 5U, &config);
I do not set an GPIO for CAN2 and I think there is my issue.
Does anyone know where I can find the information which GPIO I have to use for CAN2?
Thanks for your help in advance.
Greetings
schwammal