cancel
Showing results for 
Search instead for 
Did you mean: 

IFRL & IFRH buffer (interrupt ) is not generating for second & third can channel

ppate.16
Associate II

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.

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

0690X0000088sEPQAY.pngHello ,

You can find some example in SPC5STudio

SPC560Bxx_RLA CAN Test Application for Discovery

Have you configured correctly the Pinmap Wizard ?

Best regards

Erwan

View solution in original post

3 REPLIES 3
Erwan YVIN
ST Employee

0690X0000088sEPQAY.pngHello ,

You can find some example in SPC5STudio

SPC560Bxx_RLA CAN Test Application for Discovery

Have you configured correctly the Pinmap Wizard ?

Best regards

Erwan

ppate.16
Associate II

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

ppate.16
Associate II

thanks sir, its working fine