2023-09-16 12:26 AM
Hello
I'm working on SPC560P and tried to receive CAN message as sample in examples discovery kits in spc5studio but still it's not working. I wrote below code:
void cfg0_Fifo_Rx(CANDriver *canp, CANRxFrame crfp){
if(crfp.ID == 0x811){
pal_lld_togglepad(PORT_A, Led_D5);
}
}
Would you please help me out with this.
Thanks.
Solved! Go to Solution.
2023-09-19 02:32 AM
Hello ,
Do you go with debugger in the function of it is a filter issue ?
void cfg0_Fifo_Rx(CANDriver *canp, CANRxFrame crfp)
Best Regards
Erwan
2023-09-19 02:32 AM
Hello ,
Do you go with debugger in the function of it is a filter issue ?
void cfg0_Fifo_Rx(CANDriver *canp, CANRxFrame crfp)
Best Regards
Erwan
2023-09-24 09:38 PM
Hello Erwan
I set the filter and it's ok now.
Thanks.
2023-10-10 01:03 AM
Hello DNewm,
Could you please tell, how did you set the filter.
Thank you