AVR32 video processing and printing

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi All,

I need to do the following:
1) Receive digital video from a PAL decoder chip
2) Store frames in SDRAM in a circular buffer
3) Send those frames to a PAL video encoder real time
4) Freeze the video on demand and display the frozen image

Few questions:
1) Can the AVR32 receive digital video and put the data frame by frame into its SDRAM?

2) Can the AVR32's LCD port be used to send data to a video encoder chip? If not, any other way of getting video out suitable for PAL encoders?

3) Does the 16bit wide SDRAM interface have sufficient bandwidth to support PAL video in and out simultaneously?

4) Can I have both SRAM and SDRAM interfaces together using the different chip selects to select them? (I'm guessing the data lines are common, but these usually have tight timing constraints so intersting PCB layout).

Any help on this much appreciated.

Mark.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

As far as I can see, this all comes down to a question of whether the AVR32 is fast enough to handle the required data rates. I have no experience with digital video (only digital audio), so I couldn't tell you what the required data rates would be. Do you know what the required data rates would be in your application?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

keith_is_here_2004 wrote:
As far as I can see, this all comes down to a question of whether the AVR32 is fast enough to handle the required data rates. I have no experience with digital video (only digital audio), so I couldn't tell you what the required data rates would be. Do you know what the required data rates would be in your application?

A standard PAL data rate is something like 27Mbytes/sec (double pixel clock rate, assumes 16bits per pixel). The SDRAM has to store those frames, and also send to a video encoder. Post processing can be done during freeze frame and not real time. So at a bare minimum I'd say 60Mbytes/sec sustained bandwidth from the SDRAM needed. I believe the SDRAM is 16bits wide, so that's 30MHz SDRAM clock.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It's possible to connect the avr32 to it's memory using 32bits bus.

But I guess the hammerhead guys had a good idea. (search google hammerhead avr32)
They connected the avr32 to a fpga, who has it's own memory, exactly to process video, then you can get the processed results from avr32 to use in your application.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you for that. Excellent little dev board, could come in very handy!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

mapelec

Im struggling a bit with using the AP7000 (on NGW100) for video processing (BT-656 video -composite in and out). In a similar manner:

Quote:

I need to do the following:
1) Receive digital video from a PAL decoder chip
2) Store frames in SDRAM in a circular buffer
3) Send those frames to a PAL video encoder real time

Was wondering how you got along with your project? What encoder did you use? (im using ADV7171).

Did you use that hammerheadboard?

Cheers,
K