Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: 2294 CAN Interrupt Vectors

2004-11-16 by mahlerweb

Hi,

maybe you have an old Datasheet. I use one from May 03,2004 it tells 
me:   

VIC-Channel 20 CAN1 Tx
VIC-Channel 21 CAN2 Tx
VIC-Channel 22 CAN3 Tx (LPC2194/2292/2294 only, otherwise Reserved)
VIC-Channel 23 CAN4 Tx (LPC2194/2292/2294 only, otherwise Reserved)
VIC-Channel 24-25 Reserved
VIC-Channel 26 CAN1 Rx
VIC-Channel 27 CAN2 Rx
VIC-Channel 28 CAN3 Rx (LPC2194/2292/2294 only, otherwise Reserved)
VIC-Channel 29 CAN4 Rx (LPC2194/2292/2294 only, otherwise Reserved)
VIC-Channel30-31 Reserved

....and it seems to work.

Regards,

Peter


--- In lpc2000@yahoogroups.com, Robert Wood <robert.wood@a...> wrote:
> Hi folks,
> 
> Can anyone shed any light on the interrupt vectors for the 2294? (I 
suspect 
> this question would be valid for all devices with CAN on board 
actually). 
> 
> The datasheet, to me, indicates that:
> 
> CAN1 and CAN2: 2x(Tx int, Rx int) are assigned to VIC channels 20-
23 and
> CAN3 and CAN4: 2x(Tx int, Rx int) are assigned to VIC  channels 24-
27.
> 
> I would have thought that means CAN1 Tx interrupt is on channel 20, 
its Rx 
> interrupt is on channel 21; channel 2 Tx interrupt is channel 22 
and so on.
> 
> So, I set that up and got no interrupts. (CAN was definitely 
working because 
> polling the appropriate bit showed messages were received.) Looking 
at some 
> of the example files posted on the Yahoo database, the examples 
seemed to 
> indicated Channel 1's Rx VIC channel is 26. So, I changed the 
appropriate 
> values and found the interrupt worked! 
> 
> Is the datasheet just wrong (I can't see anything in the errata 
sheet) or am I 
> just reading it [the datasheet] incorrectly?
> 
> Cheers,
> 
> Rob

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.