Content originally posted in LPCWare by tridentsx on Tue Dec 06 20:04:31 MST 2011
Well that is only for 11 bit CAN.
With a higher layer protocol such as ISOBUS, J1939, nmea200 etc ... usingy 29 bit CAN ID's where bits 0 - 7 is the source address, and bits 8 - 15 is the destination address then it gets complicated.
I want to add a filter to accept one PGN from all 256 sources I would need one explicit range filter, and that would only work if I assumed the priority to be constant.
If I wanted to accept the same PGN broad casted I would need another explicit filter.
In j1939 there are at least 4 network management messages + hundreds of PGN's without bit masking function in the acceptance filter (as possible in LPC18) filtering in h/w is not possible.
I have started building a s/w implementation instead but that is just a stop gap measure until I can lift my application to LPC1850.
Regards /// Carl