
a54adefbc38de987eb8e71e4e496345f.ppt
- Количество слайдов: 17
NS 9750 - Training Hardware
Print Engine Controller NS 9775
Overview Print Engine Controller Module Block Diagram
Print Engine Controller • • • 4 JBIG decoders to support tandem, 4 -pass, and monochrome engines Supports synchronous and asynchronous engines Maximum synchronous clock rate is 200 MHz Maximum asynchronous clock rate is 100 MHz JBIG decoders can be bypassed if the image is not compressed Automatic or manual JBIG header processing Maximum horizontal resolution and page width is 2400 dpi and 13. 6 inches Output FIFO can hold one line at max resolution 4 DMA independent DMA channels Multiple interrupts available to track the status of a print job through module Supports big or little endian modes on AHB bus
Performance Calculations (Page Per Minute) Monochrome/Tandem printer performance calculation in Pages Per Minutes (PPM) Assumptions • horizontal/vertical resolution (hres and vres) is 2400 dpi x 600 dpi • video clock rate (fvclk) is 100 MHz • horizontal/vertical correction factors (hcorr and vcorr) are 0. 6872/0. 7353 • page size (hsize and vsize) is 8. 5 in x 11 inches PPM = (fvclk x hcorr x vcorr x 60 sec) / (hres x vres x hsize x vsize ) = (100 x 106 x 0. 6872 x 0. 7353 x 60) / (2400 x 600 x 8. 5 x 11) = 22. 5 Note, for 4 -Pass printers divide the Monochrome/Tandem result by 4
Performance Calculations (AHB Bus Bandwidth) The AHB bus bandwidth requirement for the Tandem engine from previous example is shown next. Bus bandwidth (bytes/sec) = (PPM x hres x vres x hsize x vsize x 4 planes) / (8 bits x 60 sec/min) = (22. 5 x 2400 x 600 x 8. 5 x 11 x 4) / (8 x 60) = 25. 245 Mbytes/sec For 4 -pass and monochrome printers, divide the result by 4.
Video PLL & Clock Configuration Variables • Reference oscillator clock frequency: fref (must be between 20 MHz and 40 MHz) • PLL frequency: fpll (must be between 400 MHz and 800 MHz) • PLL multiplier setting: PLLND • PLL divider setting: PLLFS • VCO frequency: fvco • Clock Generator Divider setting: DVR • Determine the horizontal synchronization resolution factor – hres. The minimum for most applications is ¼ pixel. This determines the DVR setting.
Video PLL & Clock Configuration Assumptions • The required video pixel clock frequency for this example is 52. 8 MHz. Formulas fvco = fvclk / hres fpll = fvco x PLLFS fref = fpll / PLLND = 52. 8 MHz / 4 = 211. 2 MHz x 2 = 422. 4 MHz / 16 = 211. 2 MHz = 422. 4 MHz = 26. 4 MHz All of the requirements have been met, fpll is between 400 Mhz and 800 MHz and fref is between 20 MHz and 4 MHz.
Setup Procedure Async Tandem Printer • • Take the Print Engine Controller module out of reset. Configure the Video PLL Configuration register to provide the correct video pixel clock rate. • Read the Video PLL configuration register to determine if the PLL has locked. This should take approximately 4 milliseconds. • Write to the Gen. Config register to take the sub-modules out of reset. • Setup the buffer descriptors for the 4 image planes in external memory by writing to Dma. Ch. NInit. Bd. Ptr and Dma. Ch. NCurr. Bd. Ptr, where N is 0 -3. • Configure interrupts in the Interrupt Enable register. 1. See example in Hardware Users Guide for more detail.
Setup Procedure Async Tandem Printer • Write the image line length, in 16 -bit words to the Output. Fifo. Ready. Threshold register. • Enable automatic JBIG header processing by writing to the Auto Header Enable register for all 4 JBIG decoders. • Configure the Output Fifo Ready Interrupt Control and Status register for all 4 planes. • Configure the Print Engine Interface module for asynchronous operation and for all other specific print engine operating characteristics. • Configure the Video Vertical Margin and Data register with the paper vertical dimension and margin information. • Configure the Video Horizontal Margin and Data register with the paper horizontal dimension and margin information. 1. See example in Hardware Users Guide for more detail.
Setup Procedure Async Tandem Printer • Write to the Gen. Config register to enable all 4 DMA engines. • Wait for the Output FIFO ready interrupt, to indicate a full line has been decoded and placed in the Output FIFO for all 4 planes. • Write to the Video Control register to begin printing on all 4 planes. • Wait for the all 4 planes to finish printing. This is when all 4 end-ofplane interrupts have been received. 1. See example in Hardware Users Guide for more detail.
Setup Procedure Sync Tandem Printer • Take the Print Engine Controller module out of reset. • Write to the Gen. Config register to take the sub-modules out of reset. • Setup the buffer descriptors for the 4 image planes in external memory by writing to Dma. Ch. NInit. Bd. Ptr and Dma. Ch. NCurr. Bd. Ptr, where N is 0 -3. • Configure interrupts in the Interrupt Enable register. • Write the image line length, in 16 -bit words to the Output. Fifo. Ready. Threshold register. • Enable automatic JBIG header processing by writing to the Auto Header Enable register for all 4 JBIG decoders. 1. See example in Hardware Users Guide for more detail.
Setup Procedure Sync Tandem Printer • Configure the Output Fifo Ready Interrupt Control and Status register for all 4 planes. • Configure the Print Engine Interface module for synchronous operation and for all other specific print engine operating characteristics. • Configure the Video Vertical Margin and Data register with the paper vertical dimension and margin information. • Configure the Video Horizontal Margin and Data register with the paper horizontal dimension and margin information. • Write to the Gen. Config register to enable all 4 DMA engines. 1. See example in Hardware Users Guide for more detail.
Setup Procedure Sync Tandem Printer • Wait for the Output FIFO ready interrupt, to indicate a full line has been decoded and placed in the Output FIFO for all 4 planes. • Write to the Video Control register to begin printing on all 4 planes. • Wait for the all 4 planes to finish printing. This is when all 4 end-ofplane interrupts have been received. 1. See example in Hardware Users Guide for more detail.
Sync Printer Timing Diagram The printer provides the clock directly in synchronous mode.
Async Printer Timing Diagram The NS 9775 provides the clock in asynchronous mode based on an external crystal and the internal PLL/clock generator. The internal video clock is synchronized to the active edge of hsync.
Hints & Kinks • Where can I find the JBIG standard? - The JBIG standard is an ITU specification, ITU-T T. 82. The ITU web site is: http: //www. itu. int