lpc23xx Interrupt - No documentation for VICVectCntl

Hi !

From official doc for this device I cannot find the VICVectCntl definition :
http://www.keil.com/dd/docs/datashts/philips/lpc23xx_um.pdf

I see this register in Blinky Example code but dont't kown howto to handle it ?

Thanks for response.

Parents
  • I did use a code without settings this register and that works.
    note : In the interrupt ISR I have to set VICAddress to any value conforming to user manual (chap 6.5.11) but in fact this is the register 'VICVectAddr'

  • Please refer to the below URL.

    http://www.keil.com/forum/15990/

    Read Per Westermark's post at 25-Nov-2009 04:38 GMT


    Looks like code copied from a LPC21xx chip. They had a VICVectCntXX register that mapped what peripherial that was connected to each of the positions on the VIC. Expected value was 0x20 + the interrupt channel, where the 0x20 was to enable the slot. You controlled the priority of the different devices by selecting slot 0..15 and then you had to configure what device that used the slot.

    The LPC23xx has hard-coded indexing, so this register is now actually renamed to VICVectPriorityXX (but not renamed by Keil...) and instead of selecting a VIC slot to control priority, you now use the hard-coded slot for the device but configures the priority for the slot (interrupt source). Expected value is the priority as a value 0..31.

Reply
  • Please refer to the below URL.

    http://www.keil.com/forum/15990/

    Read Per Westermark's post at 25-Nov-2009 04:38 GMT


    Looks like code copied from a LPC21xx chip. They had a VICVectCntXX register that mapped what peripherial that was connected to each of the positions on the VIC. Expected value was 0x20 + the interrupt channel, where the 0x20 was to enable the slot. You controlled the priority of the different devices by selecting slot 0..15 and then you had to configure what device that used the slot.

    The LPC23xx has hard-coded indexing, so this register is now actually renamed to VICVectPriorityXX (but not renamed by Keil...) and instead of selecting a VIC slot to control priority, you now use the hard-coded slot for the device but configures the priority for the slot (interrupt source). Expected value is the priority as a value 0..31.

Children
More questions in this forum