2019-03-20 10:03 PM
i am using SPC560B54L5 EVK board . i have implemented code for 3 CAN in project first can channel is working fine but second & third channel is not working.when i am sending message through PCAN then respective IFRL & IFRH buffer (interrupt ) has not generated.
please give me proper solution thanks in advance.
Solved! Go to Solution.
2019-03-26 02:21 AM
Hello ,
You can find some example in SPC5STudio
SPC560Bxx_RLA CAN Test Application for Discovery
Have you configured correctly the Pinmap Wizard ?
Best regards
Erwan
2019-03-26 02:21 AM
Hello ,
You can find some example in SPC5STudio
SPC560Bxx_RLA CAN Test Application for Discovery
Have you configured correctly the Pinmap Wizard ?
Best regards
Erwan
2019-03-26 03:12 AM
i have checked with configuration still not working but i am testing only can 2 channel or any setting required for pin mapping? thanks in advanced
this setting for board.c
{(int32_t)PCR(PORT_B, PIN_CAN1TX), PAL_LOW, (iomode_t)(PAL_MODE_OUTPUT_ALTERNATE(1))},
{(int32_t)PCR(PORT_B, PIN_CAN1RX), PAL_LOW, (iomode_t)(PAL_MODE_INPUT)},
this for board.h
#define PIN_CAN1TX 10U
#define PIN_CAN1RX 11U
2019-03-26 03:25 AM
thanks sir, its working fine