NOTE: I have not tried this, just trying to provide a quick "push into the right direction"... --- In lpc2000@yahoogroups.com, "balabh2000" <balabh2000@y...> wrote: > i have been working on the FULL CAN code provided in the files > section as an example. I am workin on MCB2100 boards and was > wondering if it was possible to configure the same in BASIC CAN mode. > > If i just try disabling the global acceptance filter using the > AFMR register the reciever interrupt does not seem to be working at > all. > > The LPC2129 user manual > (http://www.semiconductors.philips.com/acrobat/usermanuals/UM_LPC21XX_ > LPC22XX_2.pdf)also refers to enteries in the table of standard > identifier range table but some code segment would have been > extremely useful. AFAIK the receive acceptance filters always have to be used. However, those are very flexible and instead of selecting specific, single messages to receive you can also specify ranges - so the range you are probably looking for is something like 0x000 to 0x7FF to receive all standard CAN messages. The example you mentioned places ZERO entries into the "Standard Group" section of the table and several entries into the "Standard Individual Section". You would need to make one entry in the "Standard Group" section specifying the lower and the upper bound of what you want to receive. The entry format is described in Figure 36 "Entry in Standard Identifier Range Table" in the User Manual. Olaf Tutor at ESAcademy
Message
Re: LPC BASIC CAN ?
2004-07-07 by Tutors of ESAcademy
Attachments
- No local attachments were found for this message.