RX function problem

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

RX function problem

617 Views
金翅大鹏鸟
Contributor II

I met a problem about CAN receive problem on the platform MPC5744P;the code looks below.I can send many datas(a frame as a data) on CAN0, for example,I want to receive IDs( 0x18776260,0x18786260,0x18796260); but I can not find the mistakes. Can anyone help me to solve it ?Thank you!

Labels (1)
0 Kudos
2 Replies

562 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

given codes do not show how the RX MB is prepared, so hard to say. Also it looks you are using individual masking registers for acceptance filters (MCR[IRMQ] set), but nowhere those registers are initialized. Note this must be done in freeze mode.   

BR, Petr

0 Kudos

562 Views
金翅大鹏鸟
Contributor II

Hello,

   I have set etimer0_ch0_1 in cascaded mode OK . But I can not use a single channel(such as etimer0_ch0), I can not find the problem.Can you give me a sample? 

0 Kudos