Author Topic: CAN Message extended id filtering  (Read 2132 times)

0 Members and 1 Guest are viewing this topic.

Offline ganeshredcobraTopic starter

  • Newbie
  • Posts: 4
CAN Message extended id filtering
« on: April 21, 2014, 10:50:21 am »
Hi,
I am trying to implement CAN Extended  Message ID Filtering.The code i tried is given below its not accepting the ID. What will be the issue?
I am using PIC18F25K80 and PIC C18 Compiler. I am trying to get the id "FFFF"

RXF0EIDL = 0xFF;
RXF0EIDH = 0x00;
RXF0SIDL = 0xE8;
RXF0SIDH = 0x1F;
 

Offline matkar

  • Regular Contributor
  • *
  • Posts: 153
  • Country: si
  • Sixty percent of the time it works EVERY time.
Re: CAN Message extended id filtering
« Reply #1 on: April 23, 2014, 08:00:46 am »
It is not clear what your problem is.
Are you able to receive CAN messages if you don't use filtering?
What are the values of CAN mask registers?
Do you use Mode 0 or Mode 1/2?


 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf