Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

VPIF Interrupts

$
0
0

hi,

I am using L138 on CCS4 for capturing Image from a camera in 8bit Raw Data Capture mode.Image size of 752X480

I am trying to capture 4 frames of images with four buffer addresses and Mapped the Interrupt into an ISR on the Armside.

I am filling the buffer before capture with a pattern "A5". I have configured the Interrupt Interval to 480 for the entire frame and DMA Request to 256 bytes

In the ISR once i get the First frame interrupt i am changing the base address of vedio data in the TLUMA register to 0xC1000000for the second frame to be captured.

 and again for the second frame interrupt iam changing the TLUMA register to address 0xC2000000 for the third frame to be captured.

similarly for the Fourth and Fifth frame interrupts i am changing the address to 0xC3000000 and 0xC4000000 respectively.

The interrupt is hitting the ISR and i am getting four interrupts but I am not able to see the captured data:it is the same pattern that i have filled.

strange thing is if I put a breakpoint into the ISR the buffers are being filled with the Image capture happening properly. but if i remove the breakpoints and run the code

the  buffers are not written into .

Can anyone just tellme what is that i am doing wrong .

TIA

 


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>