This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Multiple VIC channels for CAN on LPC23xx

The user manual for the LPC23xx series (UM10211, 29 oct 2007) says in paragraph 7.3 of the CAN chapter:

"Each Receive and Transmit interrupt request from each controller is assigned its own channel in the Vectored Interrupt Controller (VIC), and can have its own interrupt service routine. The 'other status' interrupts from all of the CAN controllers, and the Acceptance Filter LUTerr condition, are ORed into one VIC channel."

This seems to indicate that I can have five (or possibly three) ISR for CAN. Is this really true?

Chapter 7, table 7-79, only describes the VIC as having a single channel (23) for all CAN interrupts.

What makes it extra interesting is that the uVision dialog for the VIC shows 5 channels named 20 - Brown-out, Can1 Tx, Can1 Rx, Can2 Tx and Can2 Rx. This besides the CAN channel at 23.

Parents
  • It was just a confusing element. The LPC21xx has multiple channels, and one paragraph of the LPC23xx user manual suggests that the LPC23xx series also has it. The VIC chapter says it doesn't. Then the Keil dialog says it does.

    If the NXP manual had been correct, I would not have cared about the extra lines in the dialog, but as it was, the dialog suggested that Keil knew something that I could not deduce from the manuals.

Reply
  • It was just a confusing element. The LPC21xx has multiple channels, and one paragraph of the LPC23xx user manual suggests that the LPC23xx series also has it. The VIC chapter says it doesn't. Then the Keil dialog says it does.

    If the NXP manual had been correct, I would not have cared about the extra lines in the dialog, but as it was, the dialog suggested that Keil knew something that I could not deduce from the manuals.

Children
No data