FLEXCAN1 on DEVKIT-MPC5748G not ACKing external CAN frames (TJA1051T/3 Transceiver)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FLEXCAN1 on DEVKIT-MPC5748G not ACKing external CAN frames (TJA1051T/3 Transceiver)

Jump to solution
1,064 Views
Alex26
Contributor I

Hello everyone,

I'm working with the DEVKIT-MPC5748G and trying to configure the board as a middle-man CAN node, using two separate FLEXCAN modules.

  • FLEXCAN0 (with the onboard transceiver) works perfectly — it receives and acknowledges CAN frames from my Vector VN5650.

  • I'm trying to use FLEXCAN1 with an external TJA1051T/3 transceiver connected to PC10 (TX) and PC11 (RX).

The transceiver is supplied with 5 V and GND from the devkit, and the SLNT pin is pulled to GND to ensure it is in normal operating mode.

When I send a CAN frame from the Vector tool, I get a "no acknowledge" error.
To debug this, I connected a logic analyzer to PC11 (RX) and I can see the CAN frame clearly arriving at the pin — but the devkit does not ACK it.

This leads me to believe that my pin mux configuration or internal routing might be incorrect, despite appearing similar to the working setup for FLEXCAN0.

Working FLEXCAN 0 pin_mux.c config:

{
.base = SIUL2,
.pinPortIdx = 16u,
.mux = PORT_MUX_ALT1,
.outputBuffer = PORT_OUTPUT_BUFFER_ENABLED,
.openDrain = PORT_OPEN_DRAIN_DISABLED,
.slewRateCtrlSel = HALF_STRENGTH_WITH_SLEWRATE_CONTROL,
.hysteresisSelect = PORT_HYSTERESYS_DISABLED,
.safeMode = PORT_SAFE_MODE_DISABLED,
.analogPadCtrlSel = PORT_ANALOG_PAD_CONTROL_DISABLED,
.inputBuffer = PORT_INPUT_BUFFER_DISABLED,
.pullConfig = PORT_INTERNAL_PULL_NOT_ENABLED,
.gpioBase = PTB,
},
{
.base = SIUL2,
.pinPortIdx = 17u,
.mux = PORT_MUX_AS_GPIO,
.outputBuffer = PORT_OUTPUT_BUFFER_DISABLED,
.openDrain = PORT_OPEN_DRAIN_DISABLED,
.slewRateCtrlSel = HALF_STRENGTH_WITH_SLEWRATE_CONTROL,
.hysteresisSelect = PORT_HYSTERESYS_DISABLED,
.safeMode = PORT_SAFE_MODE_DISABLED,
.analogPadCtrlSel = PORT_ANALOG_PAD_CONTROL_DISABLED,
.inputBuffer = PORT_INPUT_BUFFER_ENABLED,
.pullConfig = PORT_INTERNAL_PULL_NOT_ENABLED,
.gpioBase = PTB,
.intConfig =
{
.intEdgeSel = SIUL2_INT_DISABLE
},
.inputMux[0] = PORT_INPUT_MUX_ALT2,
.inputMuxReg[0] = 188,
.inputMux[1] = PORT_INPUT_MUX_NO_INIT,
.inputMux[2] = PORT_INPUT_MUX_NO_INIT,
.inputMux[3] = PORT_INPUT_MUX_NO_INIT,
.inputMux[4] = PORT_INPUT_MUX_NO_INIT,
.inputMux[5] = PORT_INPUT_MUX_NO_INIT,
.inputMux[6] = PORT_INPUT_MUX_NO_INIT,
.inputMux[7] = PORT_INPUT_MUX_NO_INIT,
},

Not working FLEXCAN 1 pin_mux.c config:

{
    .base              = SIUL2,
    .pinPortIdx        = 42u,  // PC10 = GPIO42
    .mux               = PORT_MUX_ALT1,
    .outputBuffer      = PORT_OUTPUT_BUFFER_ENABLED,
    .inputBuffer       = PORT_INPUT_BUFFER_DISABLED,
    .openDrain         = PORT_OPEN_DRAIN_DISABLED,
    .slewRateCtrlSel   = HALF_STRENGTH_WITH_SLEWRATE_CONTROL,
    .hysteresisSelect  = PORT_HYSTERESYS_DISABLED,
    .safeMode          = PORT_SAFE_MODE_DISABLED,
    .analogPadCtrlSel  = PORT_ANALOG_PAD_CONTROL_DISABLED,
    .pullConfig        = PORT_INTERNAL_PULL_NOT_ENABLED,
    .gpioBase          = PTC,
},
 
{
    .base              = SIUL2,
    .pinPortIdx        = 43u,  // PC11 = GPIO43
    .mux               = PORT_MUX_AS_GPIO,
    .outputBuffer      = PORT_OUTPUT_BUFFER_DISABLED,
    .inputBuffer       = PORT_INPUT_BUFFER_ENABLED,
    .pullConfig        = PORT_INTERNAL_PULL_NOT_ENABLED,
    .gpioBase          = PTC,
    .intConfig         = { .intEdgeSel = SIUL2_INT_DISABLE },
    .inputMux[0]       = PORT_INPUT_MUX_ALT2,
    .inputMuxReg[0]    = 189,
    .inputMux[1]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[2]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[3]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[4]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[5]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[6]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[7]       = PORT_INPUT_MUX_NO_INIT,
},

I would appreciate, if someone has an idea, what I am doing wrong!

Thanks in advance!
 
Kind regards,
Alex
0 Kudos
Reply
1 Solution
1,048 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

for FlexCAN1 RX on PTC11 the IMCR189 must be 3

PetrS_0-1753852698879.png

So the config structure should be

{
    .base              = SIUL2,
    .pinPortIdx        = 43u,  // PC11 = GPIO43
    .mux               = PORT_MUX_AS_GPIO,
    .outputBuffer      = PORT_OUTPUT_BUFFER_DISABLED,
    .inputBuffer       = PORT_INPUT_BUFFER_ENABLED,
    .pullConfig        = PORT_INTERNAL_PULL_NOT_ENABLED,
    .gpioBase          = PTC,
    .intConfig         = { .intEdgeSel = SIUL2_INT_DISABLE },
    .inputMux[0]       = PORT_INPUT_MUX_ALT3,
    .inputMuxReg[0]    = 189,
    .inputMux[1]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[2]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[3]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[4]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[5]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[6]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[7]       = PORT_INPUT_MUX_NO_INIT,
},
 
BR, Petr

View solution in original post

0 Kudos
Reply
1 Reply
1,049 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

for FlexCAN1 RX on PTC11 the IMCR189 must be 3

PetrS_0-1753852698879.png

So the config structure should be

{
    .base              = SIUL2,
    .pinPortIdx        = 43u,  // PC11 = GPIO43
    .mux               = PORT_MUX_AS_GPIO,
    .outputBuffer      = PORT_OUTPUT_BUFFER_DISABLED,
    .inputBuffer       = PORT_INPUT_BUFFER_ENABLED,
    .pullConfig        = PORT_INTERNAL_PULL_NOT_ENABLED,
    .gpioBase          = PTC,
    .intConfig         = { .intEdgeSel = SIUL2_INT_DISABLE },
    .inputMux[0]       = PORT_INPUT_MUX_ALT3,
    .inputMuxReg[0]    = 189,
    .inputMux[1]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[2]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[3]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[4]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[5]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[6]       = PORT_INPUT_MUX_NO_INIT,
    .inputMux[7]       = PORT_INPUT_MUX_NO_INIT,
},
 
BR, Petr
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2142772%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFLEXCAN1%20on%20DEVKIT-MPC5748G%20not%20ACKing%20external%20CAN%20frames%20(TJA1051T%2F3%20Transceiver)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2142772%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20everyone%2C%3C%2FP%3E%3CP%3EI'm%20working%20with%20the%20DEVKIT-MPC5748G%20and%20trying%20to%20configure%20the%20board%20as%20a%20middle-man%20CAN%20node%2C%20using%20two%20separate%20FLEXCAN%20modules.%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3EFLEXCAN0%20(with%20the%20onboard%20transceiver)%20works%20perfectly%20%E2%80%94%20it%20receives%20and%20acknowledges%20CAN%20frames%20from%20my%20Vector%20VN5650.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EI'm%20trying%20to%20use%20FLEXCAN1%20with%20an%20external%20TJA1051T%2F3%20transceiver%20connected%20to%20PC10%20(TX)%20and%20PC11%20(RX).%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3EThe%20transceiver%20is%20supplied%20with%205%E2%80%AFV%20and%20GND%20from%20the%20devkit%2C%20and%20the%20SLNT%20pin%20is%20pulled%20to%20GND%20to%20ensure%20it%20is%20in%20normal%20operating%20mode.%3C%2FP%3E%3CP%3EWhen%20I%20send%20a%20CAN%20frame%20from%20the%20Vector%20tool%2C%20I%20get%20a%20%22no%20acknowledge%22%20error.%3CBR%20%2F%3ETo%20debug%20this%2C%20I%20connected%20a%20logic%20analyzer%20to%20PC11%20(RX)%20and%20I%20can%20see%20the%20CAN%20frame%20clearly%20arriving%20at%20the%20pin%20%E2%80%94%20but%20the%20devkit%20does%20not%20ACK%20it.%3C%2FP%3E%3CP%3EThis%20leads%20me%20to%20believe%20that%20my%20pin%20mux%20configuration%20or%20internal%20routing%20might%20be%20incorrect%2C%20despite%20appearing%20similar%20to%20the%20working%20setup%20for%20FLEXCAN0.%3CBR%20%2F%3E%3CBR%20%2F%3EWorking%20FLEXCAN%200%20pin_mux.c%20config%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%7B%3CBR%20%2F%3E.base%20%3D%20SIUL2%2C%3CBR%20%2F%3E.pinPortIdx%20%3D%2016u%2C%3CBR%20%2F%3E.mux%20%3D%20PORT_MUX_ALT1%2C%3CBR%20%2F%3E.outputBuffer%20%3D%20PORT_OUTPUT_BUFFER_ENABLED%2C%3CBR%20%2F%3E.openDrain%20%3D%20PORT_OPEN_DRAIN_DISABLED%2C%3CBR%20%2F%3E.slewRateCtrlSel%20%3D%20HALF_STRENGTH_WITH_SLEWRATE_CONTROL%2C%3CBR%20%2F%3E.hysteresisSelect%20%3D%20PORT_HYSTERESYS_DISABLED%2C%3CBR%20%2F%3E.safeMode%20%3D%20PORT_SAFE_MODE_DISABLED%2C%3CBR%20%2F%3E.analogPadCtrlSel%20%3D%20PORT_ANALOG_PAD_CONTROL_DISABLED%2C%3CBR%20%2F%3E.inputBuffer%20%3D%20PORT_INPUT_BUFFER_DISABLED%2C%3CBR%20%2F%3E.pullConfig%20%3D%20PORT_INTERNAL_PULL_NOT_ENABLED%2C%3CBR%20%2F%3E.gpioBase%20%3D%20PTB%2C%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%7B%3CBR%20%2F%3E.base%20%3D%20SIUL2%2C%3CBR%20%2F%3E.pinPortIdx%20%3D%2017u%2C%3CBR%20%2F%3E.mux%20%3D%20PORT_MUX_AS_GPIO%2C%3CBR%20%2F%3E.outputBuffer%20%3D%20PORT_OUTPUT_BUFFER_DISABLED%2C%3CBR%20%2F%3E.openDrain%20%3D%20PORT_OPEN_DRAIN_DISABLED%2C%3CBR%20%2F%3E.slewRateCtrlSel%20%3D%20HALF_STRENGTH_WITH_SLEWRATE_CONTROL%2C%3CBR%20%2F%3E.hysteresisSelect%20%3D%20PORT_HYSTERESYS_DISABLED%2C%3CBR%20%2F%3E.safeMode%20%3D%20PORT_SAFE_MODE_DISABLED%2C%3CBR%20%2F%3E.analogPadCtrlSel%20%3D%20PORT_ANALOG_PAD_CONTROL_DISABLED%2C%3CBR%20%2F%3E.inputBuffer%20%3D%20PORT_INPUT_BUFFER_ENABLED%2C%3CBR%20%2F%3E.pullConfig%20%3D%20PORT_INTERNAL_PULL_NOT_ENABLED%2C%3CBR%20%2F%3E.gpioBase%20%3D%20PTB%2C%3CBR%20%2F%3E.intConfig%20%3D%3CBR%20%2F%3E%7B%3CBR%20%2F%3E.intEdgeSel%20%3D%20SIUL2_INT_DISABLE%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E.inputMux%5B0%5D%20%3D%20PORT_INPUT_MUX_ALT2%2C%3CBR%20%2F%3E.inputMuxReg%5B0%5D%20%3D%20188%2C%3CBR%20%2F%3E.inputMux%5B1%5D%20%3D%20PORT_INPUT_MUX_NO_INIT%2C%3CBR%20%2F%3E.inputMux%5B2%5D%20%3D%20PORT_INPUT_MUX_NO_INIT%2C%3CBR%20%2F%3E.inputMux%5B3%5D%20%3D%20PORT_INPUT_MUX_NO_INIT%2C%3CBR%20%2F%3E.inputMux%5B4%5D%20%3D%20PORT_INPUT_MUX_NO_INIT%2C%3CBR%20%2F%3E.inputMux%5B5%5D%20%3D%20PORT_INPUT_MUX_NO_INIT%2C%3CBR%20%2F%3E.inputMux%5B6%5D%20%3D%20PORT_INPUT_MUX_NO_INIT%2C%3CBR%20%2F%3E.inputMux%5B7%5D%20%3D%20PORT_INPUT_MUX_NO_INIT%2C%3CBR%20%2F%3E%7D%2C%3CBR%20%2F%3E%3CBR%20%2F%3ENot%20working%20FLEXCAN%201%20pin_mux.c%20config%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CDIV%3E%7B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.base%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20SIUL2%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.pinPortIdx%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%2042u%2C%26nbsp%3B%20%2F%2F%20PC10%20%3D%20GPIO42%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.mux%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_MUX_ALT1%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.outputBuffer%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20PORT_OUTPUT_BUFFER_ENABLED%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputBuffer%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_BUFFER_DISABLED%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.openDrain%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_OPEN_DRAIN_DISABLED%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.slewRateCtrlSel%26nbsp%3B%20%26nbsp%3B%3D%20HALF_STRENGTH_WITH_SLEWRATE_CONTROL%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.hysteresisSelect%26nbsp%3B%20%3D%20PORT_HYSTERESYS_DISABLED%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.safeMode%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20PORT_SAFE_MODE_DISABLED%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.analogPadCtrlSel%26nbsp%3B%20%3D%20PORT_ANALOG_PAD_CONTROL_DISABLED%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.pullConfig%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20PORT_INTERNAL_PULL_NOT_ENABLED%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.gpioBase%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20PTC%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7D%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.base%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20SIUL2%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.pinPortIdx%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%2043u%2C%26nbsp%3B%20%2F%2F%20PC11%20%3D%20GPIO43%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.mux%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_MUX_AS_GPIO%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.outputBuffer%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20PORT_OUTPUT_BUFFER_DISABLED%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputBuffer%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_BUFFER_ENABLED%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.pullConfig%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20PORT_INTERNAL_PULL_NOT_ENABLED%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.gpioBase%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20PTC%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.intConfig%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20%7B%20.intEdgeSel%20%3D%20SIUL2_INT_DISABLE%20%7D%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B0%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_ALT2%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMuxReg%5B0%5D%26nbsp%3B%20%26nbsp%3B%20%3D%20189%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B1%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_NO_INIT%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B2%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_NO_INIT%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B3%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_NO_INIT%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B4%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_NO_INIT%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B5%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_NO_INIT%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B6%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_NO_INIT%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B7%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_NO_INIT%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7D%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3EI%20would%20appreciate%2C%20if%20someone%20has%20an%20idea%2C%20what%20I%20am%20doing%20wrong!%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20in%20advance!%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EKind%20regards%2C%3CBR%20%2F%3EAlex%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2143216%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FLEXCAN1%20on%20DEVKIT-MPC5748G%20not%20ACKing%20external%20CAN%20frames%20(TJA1051T%2F3%20Transceiver)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2143216%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3Efor%20FlexCAN1%20RX%20on%20PTC11%20the%20IMCR189%20must%20be%203%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PetrS_0-1753852698879.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PetrS_0-1753852698879.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350156i1EF7077A5F73B568%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22PetrS_0-1753852698879.png%22%20alt%3D%22PetrS_0-1753852698879.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESo%20the%20config%20structure%20should%20be%3C%2FP%3E%0A%3CDIV%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.base%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20SIUL2%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.pinPortIdx%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%2043u%2C%26nbsp%3B%20%2F%2F%20PC11%20%3D%20GPIO43%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.mux%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_MUX_AS_GPIO%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.outputBuffer%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20PORT_OUTPUT_BUFFER_DISABLED%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputBuffer%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_BUFFER_ENABLED%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.pullConfig%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20PORT_INTERNAL_PULL_NOT_ENABLED%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.gpioBase%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20PTC%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.intConfig%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20%7B%20.intEdgeSel%20%3D%20SIUL2_INT_DISABLE%20%7D%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B0%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20%3CSTRONG%3EPORT_INPUT_MUX_ALT3%3C%2FSTRONG%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMuxReg%5B0%5D%26nbsp%3B%20%26nbsp%3B%20%3D%20189%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B1%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_NO_INIT%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B2%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_NO_INIT%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B3%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_NO_INIT%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B4%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_NO_INIT%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B5%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_NO_INIT%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B6%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_NO_INIT%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20.inputMux%5B7%5D%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20PORT_INPUT_MUX_NO_INIT%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%7D%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3EBR%2C%20Petr%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E