Hello everybody. I have a problem with blackfin 533. I want to use the video input example but it doesn't work. The problem is that it doesn't enter the ISR routine. I use Visual DSP++ 3.5 with blackfin 533 ezlite . I don't know what to do, the PPI register is correctly configured, and also DMA0_PPI_ISR is registered as desired. The code of Init_Interrupts() is like that proposed by Analog Devices in his example; /***************************************************/ // configure interrupt *pSIC_IAR0 = *pSIC_IAR0 & 0xffffffff | 0x00000000; *pSIC_IAR1 = *pSIC_IAR1 & 0xffffffff | 0x00000001; // map DMA0 PPI Interrupt -> IVG8 *pSIC_IAR2 = *pSIC_IAR2 & 0xffffffff | 0x00000000; register_handler(ik_ivg8, DMA0_PPI_ISR); // assign DMA0 PPI ISR to interrupt vector *pSIC_IMASK=0x00000100; // all interrupts 0=disabled but DMA0 PPI interrupt enabled /***************************************************/ is there someone that can explain me what happens? Thanks ___________________________________ Nuovo Yahoo! Messenger: E' molto pidivertente: Audibles, Avatar, Webcam, Giochi, Rubrica Scaricalo ora! http://it.messenger.yahoo.it |
interrupts doesn't work
Started by ●January 24, 2005
Reply by ●January 24, 20052005-01-24
Hello everybody. I have a problem with blackfin 533. I want to use the video input example but it doesn't work. The problem is that it doesn't enter the ISR routine. I use Visual DSP++ 3.5 with blackfin 533 ezlite . I don't know what to do, the PPI register is correctly configured, and also DMA0_PPI_ISR is registered as desired. The code of Init_Interrupts() is like that proposed by Analog Devices in his example; /***************************************************/ // configure interrupt *pSIC_IAR0 = *pSIC_IAR0 & 0xffffffff | 0x00000000; *pSIC_IAR1 = *pSIC_IAR1 & 0xffffffff | 0x00000001; // map DMA0 PPI Interrupt -> IVG8 *pSIC_IAR2 = *pSIC_IAR2 & 0xffffffff | 0x00000000; register_handler(ik_ivg8, DMA0_PPI_ISR); // assign DMA0 PPI ISR to interrupt vector *pSIC_IMASK=0x00000100; // all interrupts 0=disabled but DMA0 PPI interrupt enabled /***************************************************/ is there someone that can explain me what happens? Thanks |
Reply by ●February 10, 20052005-02-10
Hi There should be couple of Video examples in VisualDSP++ installation. If you are using Blackfin EZ-kit you can easily try it out. However your interrupt set up looks OK. Also check whether you received any data or not. --- In , Giovanni <giovanniparodi79@y...> wrote: > > Hello everybody. I have a problem with blackfin 533. I > want to use the video input example but it doesn't > work. The problem is that it doesn't enter the ISR > routine. I use Visual DSP++ 3.5 with blackfin 533 > ezlite . I don't know what to do, the PPI register is > correctly configured, and also DMA0_PPI_ISR is > registered as desired. > The code of Init_Interrupts() is like that proposed by > Analog Devices in his example; > > /***************************************************/ > // configure interrupt > *pSIC_IAR0 = *pSIC_IAR0 & 0xffffffff | 0x00000000; > *pSIC_IAR1 = *pSIC_IAR1 & 0xffffffff | 0x00000001; // > map DMA0 PPI Interrupt -> IVG8 > *pSIC_IAR2 = *pSIC_IAR2 & 0xffffffff | 0x00000000; > register_handler(ik_ivg8, DMA0_PPI_ISR); // assign > DMA0 PPI ISR to interrupt vector > > *pSIC_IMASK=0x00000100; // all interrupts 0=disabled > but DMA0 PPI interrupt enabled > /***************************************************/ > > is there someone that can explain me what happens? Thanks |