Home

EMMA Mobile1 Application Note Camera Interface

image

Contents

1. M 32 Application Note S19892EJ1VOANOO INDEX 5 51 3 6 Example of Reduction Function oocccccccocccnncccnonncnncnononnnnnnnnancnnnononnnrnnnononancnnnnnnnnnrnnnnnnnnennnnss 33 3 6 IOQperatienm ao PEU 33 2 0 2 Operation Deltalliaseiissine edad 34 APPENDIX A Camera Driver Function esses eei KAAEEEnnnnnnEEEmnznnnnn 36 A A 36 Az Global Variable Dementia enla del id 36 AS Si ciure Dejta tirarla 37 E P P A 37 Roe emi Cam SI O Cuad doc d da 37 5 99 8T cam ifa e U i ie tada ida 37 AS em Can Sensor PA 38 AS em cam data la i iaa cda 38 AAF UNCON DELAS coronen dew a adela 39 A4A Camera Initialization FUNCHON sd 39 A 4 2 Camera Gain Offset Setting Function errar nnn 40 A 4 3 Camera Gain Offset Setting Function ccccccccooocnnnccnnncccnonanncnnnnnnnononanncnnnnnnnnnnannnnnnnnnos 41 A 4 4 Camera Frame Setting Function pruriens asiaa ea a a 42 Ads Camera Timing Sewing FUNCION sieh sadia cado sabado cassia oit lela roda ala ais 43 A 4 6 Camera Mirror Setting Function inaina aeaeaie 44 A 4 7 Enable Disable Camera Interface Function enennnnnzznnnnnnzznnnnnzzzznannnnnnnnnnna 45 A40 Camera DMA Start PUNCH OM saec best cod snc dao ca ei dica dida 46 A49 Camera DMA Stop FUNCHOM deep tene all dls 47 A 4 10 Camera Interrupt Open Function sessi 48 A 4 11 Camera Interrupt Close Function sese 49
2. NTC ITO IENO SEC ITO IENSO CA ENCLR CA FFCLR None Flow Chart Start E Disable camera interrupt Mask all camera interrupt Clear all camera interrupt End D Figure A 10 Open Camera Interrupt Note None Application Note S19892EJ1VOANOO 49 51 APPENDIX A Camera Driver Function A 4 12 Camera Interrupt Handler Function Function Name INT cam irg Format void INT cam irq void Argument None Function Return None Flow Chart q Start D Read interrupt status and clear CA STATUS interrupt CA FFCLR Yes rame transfer complete interrupt Count frame number Print interrupt type 1 End Figure A 12 Camera Interrupt Handler Note None Application Note S19892EJ1VOANOO 50 51 ANNEX Modification History 51 51 ANNEX Modification History Application Note S19892EJ1VOANOO
3. DATA DET 0 CA CSR CLK DEGE 0 CA CSR Sampling mode Enable signal sampling SYNCTYPE 2 0 CA CSR SYNCMODE 1 CA CSR Signal polarity Positive logic For VS VS POL 0 CA CSR For HS HS POL 0 CA_CSR Limit value of Conforms to ITU R BT 656 LIMITSEL 0 CA CSR YUV y data Y 16 to 235 U and V 16 to 240 Data sampling Rising edge 3 Set Input Output Size Table 3 3 shows the description of input output size setting Table 3 3 Description of Camera Input Output Size Setting item Description Related Register Input size Input width 640 CA X1R 2 0 CA X2R 1280 Input height 480 CA X3R 1280 CA Y1R 20 CA Y2R 640 Output size Output width 640 CA DMAX MAIN 640 Output height 480 CA DMAY MAIN 480 CA LINESIZE MAIN 640 4 Set Frame Address Table 3 4 shows the description of frame address setting Table 3 4 Description of Frame Address Setting Data Format Frame Address YUV 420 Planar YPLANE_A 0x32000000 YPLANE_B 0x32100000 UVPLANE_A 0x3204B000 UVPLANE B 0x3214B000 VPLANE_A 0x3205DC00 VPLANE B 0x3215DC00 Application Note S19892EJ1VOANOO Chapter 3 Example of Camera Interface Operation 27 51 5 Set Reduction Because the input size is same with output size reduction function is not used as default The related register setting is as following CA DMAOCNTT 3 Ob does not resize main frames 6 Set Transfer Processing Table 3 5 shows the description of trans
4. 2 Camera interface initialization EMMA Mobile 1 camera interface initialization including following sequences e Switch pins to camera function Register list CHG PINSEL GOO CHG PINSEL G64 CHG PINSEL SD1 CHG PINSEL G80 e Enable input function and pull down setting for camera pins Register list CHG PULL G72 CHG PULL2 CHG PULL G88 e Driver capability setting Register list CHG_DRIVEO CHG_DRIVE1 CHG_DRIVE2 e Clock setting Register list ASMU_GCLKCTRLO ASMU_AHBCLKCTRLO ASMU_APBCLKCTRLO ASMU_DIVCAMSCLK Note The source clock of CAM_SCLK can be selected as PLL2 default value is 499 712MHz or PLL3 default value is 229 376MHz feam_sclk source DIV The DIV range is from 1 to 32 Application Note S19892EJ1VOANOO Chapter 2 Usage of Camera Interface 13 51 e Reset and cancel reset camera Register list ASMU RESETREQOENA ASMU RESETREQO Application Note S19892EJ1VOANOO Chapter 2 Usage of Camera Interface 14 51 2 3 2 Set Camera Timing The camera timing of EMMA Mobile 1 should be setting according to connected sensor module s features About mainly parameters of camera timing please refer Table 2 5 Table 2 5 Parameters of Camera Timing Hem Description RelatedRegister Input data format We DATA ID 1 CA CSR Output data YUV 422 Interleave PIXELMODE 1 CA CSR format N PIXEL YUV 0 CA CSR YUV 422 Semi Planar PIXELMODE O CA CSR PIXEL YUV 1 CA CSR PIXEL YU
5. 9 5 et OC CUICHO Mex ita doct eant cien aoc P e a eder a i 19 2 9 5 oet Irauster PROCESSING satis eu cect rig a dioe HH cU CA Moh 20 2 94 et Level A Dna db cUm aet diat a a beats 21 2 3 8 Open Camera InterrUpt ccooocnnccnnnccccccnonnncnnconononnncnnnnnonononnnnnnnnnnnnnnnonnncnnnnnonenannnnnnnnnns 21 2 99 Slat DMA TEatislel sse toda qi dd uiv bonu DS Utm END T P Ud 21 2 9 10 IMO EGD Setting for DISDIay o pata 22 2 3 11 Camera DMA Transfer o icon ei si rb hls o 22 259 le Stop MA Cg HE 22 2 9 19 OSO Camera MU e e a a 22 2 09 14 stop LOD Display os dida tt 22 Chapter 3 Example of Camera Interface Operation ssnnnnnzznnnnnnnnnennznnnnnnnnnnnennznznnnnnnnnnzzn 23 Sil Hardware COmMent a 23 AAA IZA MON A ENDE EA EAS A S 24 21 Operation FIOTT A ina 24 de 2 Operatlom Detall at PEE 25 3 2 2 1 Config Camera Interface as Default niini e r E A 25 32 22 Ini Camera sensor Module bos lo 28 3 2 20 INE IMG EC DOr DISDIAY asia dl EE 28 3 3 Example of PEEVIEM FUNCION ki ga a l Aun e A 29 EO Operation FO Wes sic a i ia i 29 9 2 2 Operatlom Detall P A iet ti 30 3 92 1 Preview SII TT UTI NL mum 30 COSA PreVIEW SOD ONERE ot a T t g ata tata eee 30 SA Exampierot Miror FUNCION caridad ada 31 SA Operation FOW MR 31 394 2 Operation Detall iii iii NE TU Kan a 31 3 5 Example of Level Adjustment Function cessere nne 32 SJ Opera lO gi Re c r 32 3 0 2 Operation Detall s sigriet i
6. Mobile 1 s Evaluation Board and Camera Board Note For evaluation of EMMA Mobile 1 camera interface the original EMMA Mobile 1 evaluation board has been modified Please confirm the number of evaluation board is bigger than 50 Application Note S19892EJ1VOANOO Chapter 3 Example of Camera Interface Operation 24 51 3 2 Initialization 3 2 1 Operation Flow Figure 3 2 shows the operation flow of initialization before test 1 Start B Y Config Camera Interface as Default y Init Camera Sensor Module Init IMC LCD for Display ICI Figure 3 2 Initialization before Test Application Note S19892EJ1VOANOO Chapter 3 Example of Camera Interface Operation 25 51 3 2 2 Operation Detail 3 2 2 1 Config Camera Interface as Default This step will init camera interface set camera timing set input output size set reduction set frame address set transfer processing set level adjustment and open camera interrupt 1 Init Camera Interface Table 3 1 shows the description of camera interface initialization Table 3 1 Description of Camera Interface Initialization Registers Description 1 Switch pins to CHG PINSEL G00 9 8 11b CAM SCLK camera function CHG PINSEL G64 31 22 1111 1111 11b CAM VUVI4 0 CHG PINSEL SD1 1 0 10b CAM YUV 7 5 CAM VS CAM HS CHG PINSEL G80 25 24 10b CAM CLKI 2 Enable pins input CHG PULL G72 31 12 0100 0100 0100 0100 0100
7. Y2 Y3 aaa 2 Select the range of UO VO U1 V1 un For YUV 420 422 Planar Y BYTELANE 1 Select the range of YO Y1 Y2 Y3 BL E 2 Select the range of UO VO U1 V1 mE U2 V2 U3 V3 Note More details about the data format and byte lane switch please refer to 4 10 Data Format of EMMA Mobile 1 Camera Interface User s Manual Register list CA CSHR CA DMACNT CA OD BYTELANE CA OD BYTELANE2 Application Note 819892EJ1VOANOO Chapter 2 Usage of Camera Interface 16 51 2 3 3 Set Input Output Size Table 2 6 shows the description of input output size Table 2 6 Discription of Input Output Size tem o Description For VS HS sync signal sampling When rising or falling edge CA X1R HS blank 2 CA X2H CA X1R input width 2 CA Y1R VS blank CA Y2R CA Y1R input height When both edge CA X1R HS blank CA X2R CA X1R input width CA Y1R VS blank CA Y2R CA Y1R input height Note The value set to CA X3R is ignored More details please refer to 4 9 1 Vertical horizontal synchronization signal sampling of EMMA Mobile 1 Camera Interface User s Manual For enable signal sampling Normal When rising or falling edge CA X1R 0 CA X2R inputwidth 2 CA X3R input width 2 CA Y1R 20 CA Y2R input height When both edge CA X1R 0 CA X2R input width CA X3R input width CA Y1R 20 CA Y2R input height For enable signal sampling Cropping When rising or falling edge CA X1R Cropping st
8. but Renesas Electronics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas Electronics products are classified according to the following three quality grades Standard High Quality and Specific The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application categorized as Specific without the prior written consent of Renesas Electronics Further you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas Electronics product is Standard unless otherwise expressly specified in a Renesas Electronics data sheets or data books etc Standard Computers of
9. of camera sensor module 3 2 2 3 Init IMC LCD for Display In this sample LCD and IMC module will be called to display the rotated image So need to initialize LCD and IMC module More detail about these two modules please refer to EMMA Mobile 1 IMC Application Note and EMMA Mobile 1 LCDC Application Note Application Note S19892EJ1VOANOO Chapter 3 Example of Camera Interface Operation 29 51 3 3 Example of Preview Function 3 3 1 Operation Flow q Start Yes Preview Start Have Previewed l No Enable Camera Interface call em1 cam enable function Ww NO Start LCD Display Preview Stop Yes Preview Stop ave Stoppeo Preview No Disable Camera Interface call em1 cam enable function Y gt Yes nd Ss No Figure 3 3 Operation Flow of Preview Start Function More details about the functions used in this example please refer to APPENDIX A Camera Driver Function Application Note S19892EJ1VOANOO Chapter 3 Example of Camera Interface Operation 30 51 3 3 2 Operation Detail 3 3 2 1 Preview Start 1 Enable Camera Interface It will call tem1 cam enable function In this function following operations are executed Step 1 cancel camera hardware reset CA MODULECONT 0x01 Step 2 Start camera DMA transfer CA DMAREQ 0x01 2 Start L
10. 4 6 Level Adjustment of EMMA Mobile 1 Camera Interface User s Manual Register list CA BNZR CA BNGR CA CBZR CA CBGR CA CRZR CA CRGR 2 3 8 Open Camera Interrupt Camera interrupt of EMMA Mobile 1 has 4 types 1 main frame overrun 2 main frame transfer completion 3 transfer error 4 vertical synchronization More details about camera interrupt please refer to 3 2 1 Interrupt registers of EMMA Mobile 1 Camera Interface User s Manual Register list CA ENSET CA ENCLR CA FFCLR INTC ITO IENO SEC ITO IENSO Remark More details about INTC ITO IENO and SEC ITO IENSO register please refer to EMMA Mobile 1 One Chip User s Manual 2 3 9 Start DMA Transfer Issue camera DMA request to start DMA transfer Register list CA DMAREQ Application Note 819892EJ 1VOANOO Chapter 2 Usage of Camera Interface 22 51 2 3 10 IMC LCD Setting for Display Through IMC LCD setting camera image data will be displayed on LCD panel Remark More detail about IMC and LCD setting please refer to EMMA Mobile 1 IMC User s Manual and EMMA Mobile 1 LCDC User s Manual 2 3 11 Camera DMA Transfer After issue camera DMA request camera interface will start to capture image data from external camera sensor module and save data in specified frame address In this step some interrupts should be issued and registered interrupt handler function will be called to handle issued interrupt Register list CA_STATUS CA_FFCLR 2 3 12 S
11. A 4 12 Camera Interrupt Handler Function cccccccccoconccnnnccccnnononccnnnncnnonancnnnnnnononenancnnnnnnnnos 50 ANNEX Modification HISTORY uico ooo de d nnmnnn nnna 51 Application Note 819892EJ1VOANOO INDEX 6 51 LIST OF TABLES Table 1 1 Hardware Environment 5 o dio penes keel riales 8 Table 1 2 Software ENvirOnMent ccccccccccccccceeeseeceeeeeceseseeceeeeseeeesseeeeeeesssaaageeeeeeeseaas 8 Table 2 1 Basie C apre FUNCI N dis 9 Table 2 2 Reduction FUNCION 0 ate bo rete CUu a DU urn Ss 9 Table 2 9 FiO DING FUNCIONE aet eri cita a itis ola aed ie nde e eta 9 Table 2 4 Level Adjustment Function ss esssennnnnnnennnnnznnnnnzznnznznznnznnzzznnenzznnnnzzznnnnnzna 10 Table 2 5 Parameters of Camera TlMiNQ oooccccnncccncccnonncnnncnnnnnannnnnnnnonononannnnnnnnnnonananenoss 14 Table 2 6 Discription oi Inpui QUIpUL SIZE ass ie tera chennai cies Trova aa da el veo T EUR 16 Table 2 7 Description of Frame Address eterna eserreaerrenaado 17 Table 2 8 Description of Transfer ProCessSinQ cccccccocnnconcccnonncononononnconononnnncnnononnanennnnnnnns 20 Table 3 1 Description of Camera Interface Initialization eeesssssesee 25 Table 3 2 Description of Camera Timing Setting eee 26 Table 3 3 Description of Camera Input Output Size Setting 26 Table 3 4 Description of Frame Address Setting erre 26 Table 3 5 Description of Transfer P
12. CD Display This step will call em1 lcd start function More detail about this function please refer to EMMA Mobile 1 LCDC Application Note 3 3 2 2 Preview Stop In this step will call em1 cam enable function In this function following operations are executed Step 1 wait until DMA transfer stop Read the CA DMAREQ register If register bito is O it means that DMA transfer has been stopped otep 2 camera hardware reset CA MODULECONT 0x0 Application Note 819892EJ1VOANOO Chapter 3 Example of Camera Interface Operation 31 51 3 4 Example of Mirror Function 3 4 1 Operation Flow Modify Mirror Value and Setup Camera Mirror Cm Figure 3 4 Operation Flow of Mirror Function Note Please confirm that preview has been started before mirror function test 3 4 2 Operation Detail Mirror function of EMMA Mobile 1 Camera Interface has 4 types 1 No flip 2 Horizonial flip 3 Vertical flip 4 Horizontal and vertical flip 180 rotation In this example users will choose the mirror type and then call em1 cam set mirror function to setup camera mirror In this function will set following registers CA MIRRORI3 2 set flip mode 00b No flip 01b Horizontal flip 10b Vertical flip 11b Horizontal and vertical flip 180 rotation CA UPDATE 0x01 update flip mode setting Application Note S19892EJ1VOANOO Chapter 3 Example of Camera Interfa
13. Kyoto Microcomputer Co Ltd e Software used in this project is listed as below Table 1 2 Software Environment Version GNUARM Toolchain V4 3 2 GNU WJETSET ARM V5 10a Kyoto Microcomputer Co Ltd Application Note S19892EJ1VOANOO Chapter 2 Usage of Camera Interface 9 51 Chapter 2 Usage of Camera Interface 2 1 Camera Interface Function EMMA Mobile 1 Camera interface supports following function 1 Basic capture function Table 2 1 Basic Capture Function Item Description Max 4088 pixels horizontal x 4092 pixels vertical Input data format YUV422 Support two orders UOYOVOY1 or YOUOY1 V0 Output data format YUV 422 Interleave YUV 420 422 Semi Planar YUV 420 422 Planar Data sampling Rising edge Falling edge Both edges Sampling mode Vertical horizontal sync signal sampling Enable signal sampling ITU R BT 656 encoding Byte lane switch Big little endian or 32 bit units specification 2 Reduction Table 2 2 Reduction Function lem Description Sampling method Nearest neighbor sampling 1 to 1 16 can be set to any size 3 Horizontal vertical flip Table 2 3 Flipping Function mem Description Flipping mode No flip Horizontal flip Vertical flip Horizontal and vertical flip 180 rotation Application Note 819892EJ1VOANOO Chapter 2 Usage of Camera Interface 10 51 4 Level adjustment Table 2 4 Level Adjustment Function hem Description Gain range
14. SETREQO ASMU RESETREQOENA Init global variable for frame count q End Figure A 1 Camera Controller Initialization Note None Application Note 819892EJ 1VOANOO 39 51 APPENDIX A Camera Driver Function A 4 2 Camera Gain Offset Setting Function Function Name em cam set gain Format void emi cam set gain em1 cam gain t gain Argument emi cam gain t gain the structure pointer for gain offset parameters Function Return None Flow Chart NL l CA BNGR CA CBGR CA CRGR Set gain offset value CA BNZR CA CBZR CA CRZR Set update register CA UPDATE Cm Figure A 2 Camera Gain Offset Setting Note None Application Note S19892EJ1VOANOO 40 51 APPENDIX A Camera Driver Function 41 51 A 4 3 Camera Input Output Size Setting Function Function Name emi cam set size Format uchar emi cam set sizefemi cam data t cam Argument emi cam data t cam the structure pointer for camera parameters Function Return DRV OK DRV ERR PARAM Flow Chart Start B Return DRV ERR PARAM CA XIR CA X2R Set input window CA X3R CA Y1R l CA V2R CA LINESIZE MAIN Set output window CA DMAX MAIN CA DMAY MAIN CA DMACNT Set reduction CA XRATIO MAIN CA YRATIO MAIN CA DMACNT Set transfer mode and skip mode CA FRAME Set update regi
15. To our customers Old Company Name in Catalogs and Other Documents On April 1 2010 NEC Electronics Corporation merged with Renesas Technology Corporation and Renesas Electronics Corporation took over all the business of both companies Therefore although the old company name remains in this document it is a valid Renesas Electronics document We appreciate your understanding Renesas Electronics website http www renesas com April 1 2010 Renesas Electronics Corporation Issued by Renesas Electronics Corporation http www renesas com Send any inquiries to http www renesas com inquiry 24 NE S AS 8 10 11 12 Notice All information included in this document is current as of the date this document is issued Such information however is subject to change without anv prior notice Before purchasing or using anv Renesas Electronics products listed herein please confirm the latest product information with a Renesas Electronics sales office Also please pav regular and careful attention to additional and different information to be disclosed bv Renesas Electronics such as that disclosed through our website Renesas Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document No license express implied or otherwise is
16. V 0 CA_CSR Data sampling Rising edge VS_DET 0 CA_CSR CLK_DEGE 0 CA_CSR DATA_DET 1 CA_CSR HS DET 0 CA CSR Enable signal sampling SYNCTYPE 0 CA CSR SYNCMODE 1 CA CSR VS POL 0 CA CSR MAINYUV 0 CA DMACNT PIXEL YUV 0 CA CSR MAINYUV 0 CA DMACNT YUV 422 Planar MAINYUV 0 CA DMACNT YUV 420 Semi Planar PIXELMODE O CA CSR MAINYUV 1 CA DMACNT YUV 420 Planar PIXEL YUV 1 CA CSR MAINYUV 1 CA DMACNT HS DET 0 CA CSR DATA DET O CA CSR Falling edge VS DET 1 CA CSR HS DET 1 CA CSR CLK DEGE 0 CA CSH Both edges VS DET O CA GSR CLK DEGE 1 CA CSR Sampling mode VS HS signal sampling SYNCTYPE 0 CA CSR SYNCMODE O CA CSR ITU R BT 656 encoding SYNCTYPE 1 CA CSR SYNCMODE O CA CSR Signal polarity Positive logic For VS For HS HS POL 0 CA CSR Negative logic For VS VS POL 1 CA_CSR For HS HS POL 1 CA_CSR Limit value of Conforms to ITU R BT 656 LIMITSEL 0 CA_CSR YUV output data Y 16 to 235 U and V 16 to 240 Application Note S19892EJ1VOANOO Chapter 2 Usage of Camera Interface 15 51 ltem Description Related Register All 8 bits are valid LIMITSEL 1 CA CSR Y U and V 0 to 255 Byte lane For YUV 422 Interleave YUV OD BYTELANE switch Select the range of YO Y1 UO VO CA_OD_BYTELANE2 Y_BYTELANE CA_OD_BYTELANE2 For YUV 420 422 Semi Planar DATA_OD CA_CSR 1 Select the range of YO Y1
17. Y gain O to 255 128 Ugain O to 255 128 Vaain O to 255 128 Offset range Yotiser 128 to 127 Uottset 128 to 127 Vottset 128 to 127 Note Following formulary shows the relationship between input Y U V value and output Y U V value Y out Yin Y gain Yotiset Vout Vin Ugain Uottsei Vout Vin V gain Vottset Application Note 819892EJ1VOANOO Chapter 2 Usage of Camera Interface 11 51 2 2 Operation Flow Following figure shows the flow chart of camera IO Camera Initialization Open Camera Interrupt Set Camera Timing Start DMA Transfer Set Input Output Size IMC LCD Setting for Display Y l INT occur Set Frame Address Camera DMA Transfer g INT Handle Set Reduction Function Stop DMA Transfer Set Transfer Processing Function Set Level Adjustment Function Stop LCD Display NomalEnd Figure 2 1 Flow Chart of Camera Operation Clear Camera Interrupt Application Note S19892EJ1VOANOO Chapter 2 Usage of Camera Interface 12 51 2 3 Details 2 3 1 Camera Initialization Camera initialization progress includes two steps 1 Camera module initialization This step is different according to the type of camera module For details please refer the User s Manual of camera sensor module
18. arting pixel 2 CA X2R Cropped image X size 2 CA X3R Effective image X size 2 CA Y1R Cropping starting line CA Y2R Cropped image Y size CA Y1R When both edge CA X1R Cropping starting pixel CA X2R Cropped image X size CA X3R Effective image X size CA Y1R Cropping starting line CA Y2R Cropped image Y size CA Y1R Note Be sure to set CA X3R More details please refer to 4 9 2 Enable signal sampling of EMMA Mobile 1 Camera Interface User s Manual For ITU R BT 656 signal sampling When NTSC CA X1R 2 272 CA X2R 1712 CA Y1R 0 CA_Y2R 243 When PAL CA X1R 2 284 CA X2R 2 1724 CA Y1R 0 CA Y2R 288 Note The value set to CA X3R is ignored More details please refer to 4 9 3 ITU R BT 656 signal sampling of EMMA Mobile 1 Camer a Interface User s Manual Application Note 819892EJ 1VOANOO Chapter 2 Usage of Camera Interface 17 51 Mem o Description 0 0 Output CA DMAX MAIN output width size ete CA DMAY MAIN output height For YUV 422 Interleave mode CA LINESIZE MAIN output width 2 For YUV Semi Planar and YUV Planar mode CA LINESIZE MAIN output width Note More details about input size setting please refer to 4 9 Restrictions on Data Transfer Range Values of EMMA Mobile 1 Camera Interface User s Manual More details about output size setting please refer to 4 8 Data Transfer Range Specification of EMMA Mobile 1 Camera Interface User s Manual Register
19. ation Note S19892EJ1VOANOO PREFACE Disclaimers The information contained in this document is subject to change without prior notice in the future Refer to the latest applicable data sheet s and user manual when designing a product for mass production No part of this document may be copied or reproduced in any form or by any means without the prior written consent of NEC Electronics NEC Electronics assumes no responsibility for any errors that may appear in this document NEC Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of NEC Electronics products listed in this documents or any other liability arising from the use of such products No license express implied or otherwise is granted under any patents copyrights or other intellectual property rights of NEC Electronics or others Descriptions of circuits software and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples The incorporation of these circuits software and information in the design of a customers equipment shall be done under the full responsibility of the customer NEC Electronics assume no responsibility for any losses incurred by customers or third parties arising from the use of these circuits software and information While NEC Electronics endeavors to enhance the qualit
20. b function CAM YUV 4 0 CHG PULL2 23 12 0100 0100 0100b CAM YUV 7 5 CAM VS CAM HS CHG PULL G88 19 16 2 0100b CAM CLKI 3 Driver capability Set driver capability to max value setting CHG DRIVEO 29 28 11b CHG DRIVE1 21 20 11b CHG DRIVE1 13 12 11b CHG DRIVE2 1 0 11b 4 Clock setting e Setdivision of CAM SCLK ASMU DIVCAMSCLK 0x113 bit 9 8 01b Set PLL3 229 376MHz as source clock bit 4 0 0x13 Division ratio is 20 fram sex 229 376MHz 20 11 468MHz e close camera clock ASMU AHBCLKCTRLO 12 Ob disable automatic control of CAMLP ASMU APBCLKCTRLO S 2 Ob disable automatic control of CAMPCLKLP ASMU GCLKCTRLO 22 20 000b stop clock supply for camera interface open camera clock ASMU GCLKCTRLO 22 20 111b supply clock for camera interface ASMU AHBCLKCTRLO 12 1b enable automatic control of CAMLP ASMU APBCLKCTRLO 3 1b enable automatic control of CAMPCLKLP 5 reset camera ASMU RESETREQOENA 12 1b enable camera reset ASMU RESETREQO 12 Ob reset camera ASMU RESETREQO 12 1b cancel reset of camera ASMU RESETREQOENA 12 Ob disable camera reset Application Note 819892EJ 1VOANOO Chapter 3 Example of Camera Interface Operation 26 51 2 Set Camera Timing Table 3 2 shows the description of camera timing setting Table 3 2 Description of Camera Timing Setting Mem Description RelatedRegister MAINYUV 1 CA DMACNT VS DET 0 CA CSR HS DET 0 CA_CSR
21. cam dma start void Argument None Function Return None Flow Chart Start D Start DMA transfer CA DMAREQ End E Figure A 8 Camera DMA Start Note None Application Note S19892EJ1VOANOO 46 51 APPENDIX A Camera Driver Function A 4 9 Camera DMA Stop Function Function Name emi cam dma stop Format void em1 cam dma stop void Argument None Function Return None Flow Chart Start Stop DMA transfer CA DMASTOP DMA stopped No CA DMAREQ Clear camera interrupt CA FFCLR C End D Figure A 9 Camera DMA Stop Note None Application Note S19892EJ1VOANOO 47 51 APPENDIX A Camera Driver Function A 4 10 Camera Interrupt Open Function Function Name em cam set INT on Format void em1 cam set INT on void Argument None Function Return None Flow Chart C Start 3 Cancel camera interrupt mask CA ENSET Clear all camera interrupt CA FFCLR NTC ITO IENO Enable camera interrupt SEC ITO IENSO C End 3 Figure A 10 Open Camera Interrupt Note None Application Note S19892EJ1VOANOO 48 51 APPENDIX A Camera Driver Function A 4 11 Camera Interrupt Close Function Function Name em cam set INT off Format void emi cam set INT off void Argument None Function Return
22. ce Operation 32 51 3 5 Example of Level Adjustment Function 3 5 1 Operation Flow ange gain offse value Modify Gain Offset Value and Setup Level Adjustment Yes Ce Figure 3 5 Operation Flow of Level Adjustment Function Note Please confirm that preview has been started before level adjustment function test 3 5 2 Operation Detail About the range value of gain offset please refer to Table 2 4 Level Adjustment Function In this example users will change the gain offset value and then call em1 cam set gain function to setup level adjustment In this function will set following registers CA BNZR CA BNGR CA CBZR CA CBGR CA CRZR CA CRGR CA UPDATE 0x01 update gain offset setting Application Note S19892EJ1VOANOO Chapter 3 Example of Camera Interface Operation 3 6 Example of Reduction Function 3 6 1 Operation Flow Reduction Operation Yes Modify Output Size Y Hide display of camera image Y Stop Camera DMA Transfer Y Setup Output Size Y Start Camera DMA Transfer y Show Display of Camera Image Ne qu gt Yes ICI Figure 3 6 Operation Flow of Scale Down Function Note Please confirm that preview has been started before scale down function test Application Note S19892EJ1VOANOO 33 51 Chapter 3 Exampl
23. der certain use conditions Further Renesas Electronics products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or system manufactured by you Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas El
24. e Frame parameters setting structure Sensor parameters setting structure emi cam data t Camera parameters setting structure A 3 1 em1 cam gain t Table A 4 Structure of em1 cam gain t Member eta 3 3 A 3 2 em1 cam size t Table A 5 Structure of em1 cam size t int width Width size int height Height size A 3 3 em1 cam frame t Table A 5 Structure of em1 cam frame t The number of total frame uint A y addr Y data address of A frame uint A uv addr UV data address of A frame Application Note 819892EJ1VOANOO APPENDIX A Camera Driver Function 38 51 A 3 4 em1 cam sensor t Membr Detil 5353 gt A 3 5 emi cam data t Member Detail 5535353 ETET Application Note S19892EJ1VOANOO APPENDIX A Camera Driver Function A 4 Function Details A 4 1 Camera Initialization Function Function Name emi cam init Format void em1 cam init void Argument None Function Return None Flow Chart q Start b CHG PINSEL GOO HG PINSEL G64 Switch pins to Camera function A a CHG_PINSEL_G80 CHG PULL G72 Setting input enable for Camera CHG PULL 2 CHG PULL G88 CHG DRIVEO Driver ability configuration CHG_DRIVE1 CHG_DRIVE2 Setting Camera output clock ASMU DIVCAMSLCLK frequency x ASMU GCLKCTRLOENA ASMU GCLKCTRLO Clock and Reset setting about ASMU AHBCLKCTRLO ASMU RE
25. e of Camera Interface Operation 34 51 3 6 2 Operation Detail 1 Modify Output Size About the reduction range please refer to Table 2 2 Reduction Function In this example the limit value of output size is as following Max width 640 max height 480 Min width 128 min height 96 Width step 32 height step 24 2 Hide Display of Camera Image This step will call em1_imc_hide function and em1_imc_refresh function More detail about this function please refer to EMMA Mobile 1 IMC Application Note 3 Stop Camera DMA Transfer This step will call em1_cam_dma_stop function In this function will set following registers e CA DMASTOP 0x01 stop DMA transfer e Read the CA_DMAREQ register until DMA transfer has been stopped If register bitO is 0 it means DMA transfer have been stopped e CA FFCLR OxOF clear all interrupt 4 Setup Output Size This step will set reduction function and following registers are used e CA DMAX MAIN set the number of horizontal pixels to be transferred CA DMAX MAIN output width e CA DMAY MAIN set the number of lines to be transferred vertically CA DMAY MAIN output height eo CA XRATIO MAIN set the reduction ratio in the horizontal direction XRATIO 64 input width output size 64 e CA YRATIO MAIN set the reduction ratio in the vertical direction YRATIO 64 input height output height 64 e CA LINESIZE MAIN set the number of horizontal pixels to be t
26. ectronics products or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics ENESAS Application Note Multimedia Processor for Mobile Applications Camera Interface EMMA Mobile1 Document No S19892EJ1VOANOO Date Published Aug 2009 NEC Electronics Corporation 2009 Printed in Japan PREFACE PREFACE Purpose The purpose of this document is to specify the usage of EMMA Mobile Camera interface Organization This document includes the following e Introduction e Usage of Camera Interface e Example of Camera Interface Operation e Camera Driver Function Notation Here explains the meaning of following words in text Note Explanation of item indicated in the text Caution Information to which user should afford special attention Remark Supplementary information Related document The following tables list related documents Reference Document Document Name Description S19265EJ1VOUMOO ASMUGIO pdf SMU amp GPIO user s manual S19268EJ1VOUMOO 1chip pdf 1 chip user s manual S19285EJ1 VOUMOO CAMERA pdf NL manual S19907EJ1V0ANO0 GD pdf GD Spec S 19905EJ1VOANOO I2C pdf Application Note S19899EJ1VOANOO LCD pdf Application Note S19906EJ1 VOANOO IMC pdf Application Note Applic
27. fer processing setting Table 3 5 Description of Transfer Processing Setting hem Description Related Register Frame skipping No skipping PCULLR 00b CA DMACNT Repeat transfer double MAINMODE 11b CA DMACNT Flip control No flip MAIN MIRROR 00b CA MIRROR 7 Set Level Adjustment Table 3 6 shows the description of level adjustment setting Table 3 6 Description of Level Adjustment tem Description Related Register Gain value Y gain Uan Vgain 128 CA BNGR 0x80 CA CBGR 0x80 CA CRGR 0x80 Offset value Votes Uattset V offset 0 CA BNZR 0 CA_CBZR 0 CA_CRZR 0 8 Open camera Interrupt This step will cancel camera interrupt masking clear camera interrupt and enable camera interrupt The setting of related registers is as following CA_ENSET 0x0E cancel overrun transfer completion transfer error interrupt masking CA FFCLR OxOF clear all interrupt INTC ITO IENO 21 Ob amp SEC ITO IENSO 21 Ob enable camera interrupt Application Note 819892EJ1VOANOO Chapter 3 Example of Camera Interface Operation 28 51 3 2 2 2 Init Camera Sensor Module For initialization of camera sensor module IIC2 interface of EMMA Mobile 1 is used to write read registers of camera sensor module About the usage of IIC2 interface of EMMA Mobile 1 please refer to EMMA Mobile 1 IIC Application Note More details about registers of camera sensor module please refer to the User s Manual
28. fice equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems safety equipment and medical equipment not specifically designed for life support Specific Aircraft aerospace equipment submersible repeaters nuclear reactor control systems medical equipment or systems for life support e g artificial life support devices or systems surgical implantations or healthcare intervention e g excision etc and any other applications or purposes that pose a direct threat to human life You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions un
29. granted hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information When exporting the products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military including but not limited to the development of weapons of mass destruction Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or regulations Renesas Electronics has used reasonable care in preparing the information included in this document
30. list CA X1R CA X2H CA X3R CA VIR CA Y2H CA DMAX MAIN CA DMAY MAIN CA LINESIZE MAIN 2 3 4 Set Frame Address Camera Interface of EMMA Mobile 1 supports two frames A B frame The parameters of frame address include YPLANE A B the transfer destination address of Y plane data UVPLANE A B the transfer destination address of UV plane data and VPLANE A B the transfer destination address of V plane data Table 2 7 shows the description of frame address setting according to data format type Table 2 7 Description of Frame Address Data Format Frame Address YUV422 interleave Only set VPLANE A B YUV 420 422 Semi Planar Need set YPLANE A B and UVPLANE A B YUV 420 422 Planar Need set YPLANE A B UVPLANE A B and VPLANE A B Register list CA YPLANE A CA YPLANE B CA UVPLANE A CA UVPLANE B Application Note S19892EJ1VOANOO Chapter 2 Usage of Camera Interface 18 51 CA VPLANE A CA VPLANE B CA MAINFRM Remark More details about frame address setting please refer to 4 10 2 Memory mapping of EMMA Mobile 1 Camera Interface User s Manual Application Note S19892EJ1VOANOO Chapter 2 Usage of Camera Interface 19 51 2 3 5 Set Reduction The reduction method of EMMA Mobile 1 is nearest neighbor sampling which copies the nearest neighbor pixels of an original image to the pixel positions of a reduced image Following show the reduction formulary Output size Input size 64 64 RATIO The range of RATIO is 0
31. nononcnonnnonononanncnnnonnnonannnnnnnnnnns 40 Figure A 3 Camera Gain Offset Setting ccooconcccnnnccccononnncnnnnncnononannncnnnnnnonannnnnnnnnnnos 41 Figure A 4 Camera Frame Selling io ce d et deat ee ILU beo i don ee 42 Figure A 5 Gamera Timing Selling o eder da e eee e epe eee averte e Lada uela ve coeds 43 Figure A 6 Camera Mirror Setting kona enne 44 Application Note S19892EJ1VOANOO INDEX 7 51 Figure A 7 Camera Interface Enable Disable Setting a 45 Figure A S Camera DMA Safe icone oe eei ea or Ia eet ave b e erp b Sa gu da ad 46 Figure A 9 Camera DMA SIOD sitet aaa a au sacos aio tates es n 47 Figure A 10 Open Camera Interrupt erre nnne nnne 48 Figure A 10 Open Camera Interrupt eee nn rnnn anna tnnnzznnznnnnnata 49 Figure A 12 Camera Interrupt Handler a eeeeererrrreeanada 50 Application Note S19892EJ1VOANOO Chapter 1 Introduction 8 51 Chapter 1 Introduction 1 1 Outline This document will show users how to operate Camera interface on EMMA Mobile1 evaluation board More details about Camera interface feature please refer to EMMA Mobile 1 Camera interface user s manual 1 2 Development Environment e Hardware environment of this project is listed as below Table 1 1 Hardware Environment Name version Maker EMMA Mobile 1 evaluation board PSKCH2Y NEC Electronics S 0016 01 PARTNER Jet ICE ARM
32. on Function Name em cam set mirror Format void emi cam set mirror uchar mirror Argument uchar mirror mirror mode Function Return None Flow Chart Start B Set mirror value CA MIRROR Set update register CA UPDATE q End D Figure A 6 Camera Mirror Setting Note None Application Note S19892EJ1VOANOO 44 51 APPENDIX A Camera Driver Function 45 51 A 4 7 Enable Disable Camera Interface Function Function Name emi cam enable Format void em1 cam enable BOOL flag Argument BOOL flag enable disable flag Function Return None Flow Chart C Start b nable camera interface Yes No CA DMASTOP Cancel camera hardware reset CA MODULECONT Siege Dhu rrt CA DMAREQ call em1 cam dma stop function CA FFCLR Start DMA transfer C A DMAREQ Hardware fe about call em1 cam dma start function Camera interface Ca Figure A 7 Camera Interface Enable Disable Setting CA MODULECONT Note About em1_cam_dma_start function and em1_cam_dma_stop function please refer A 4 8 Camera DMA Start Function and A 4 9 Camera DMA Stop Function Application Note S19892EJ1VOANOO APPENDIX A Camera Driver Function A 4 8 Camera DMA Start Function Function Name emi cam dma start Format void em1
33. ransferred Because the data format of camera sensor module is YUV 420 Planar mode set the value of output width to CA LINESIZE MAIN e CA DMAONTT S set resize or doesn t resize It the output size is same with input size set CA DMACNTT S to Ob It the output size is smaller than input size set CA DMACNTT S to 1b 5 Start Camera DMA Transfer This step will call em1 cam dma start function In this function will set following register e CA DMAREQ 0x01 start DMA transfer Application Note S19892EJ1VOANOO Chapter 3 Example of Camera Interface Operation 35 51 6 Show Display of Camera Image This step will call em1 imc I2x config function em1_imc_show function and em1 imc refresh function More detail about this function please refer to EMMA Mobile 1 IMC Application Note Application Note 819892EJ1VOANOO APPENDIX A Camera Driver Function 36 51 APPENDIX A Camera Driver Function A 1 Function List The following table shows the camera driver interface functions Table A 1 LCD Driver Function List External function A 2 Global Variable Define Table A 2 Global Variable Define Variable Name Detal O S Count the frame number of camera DMA transfer Application Note S19892EJ1VOANOO APPENDIX A Camera Driver Function 37 51 A 3 Structure Define Table A 3 Structure Define Structure Name Detail Gain offset parameters setting structure Input output size parameters setting structur
34. rocessing Setting erre 27 Table 3 6 Description of Level Adjustment cccoocccccccncnncccnnnnccconnnconononnononnnnconanononanennnnnos 27 Table A t ECD Driver Function EISE aieo iia 36 Table A 2 Global Variable Define esee 36 Tabl A 3 otracture Dele ee ion oit cti robe Sota a ee a aS oid ie a eunte 37 Table A 4 Structure Oem cam gal sam raise a ree DO Mors rere cta 37 Table A 5 Stri cture of emit cam Size f uude ie ga roue ed in ntes p pem m idades c rS RU 37 Table A 5 Str cture oft emi cam d raltie T i ao estie ia asas Deo talis oet qu umts 37 LIST OF FIGURES Figure 2 1 Display Progress When Use IMC cccccccccsseeeeeeeeeeeeeeeeseeeeeeeeaaaeneeeeeeeeeeaaas 11 Figure 3 1 Connection between EMMA Mobile 1 s Evaluation Board and Camera Board23 Figure 3 2 Initialization before G8 ei um di a a 24 Figure 3 3 Operation Flow of Preview Start Function sese 29 Figure 3 4 Operation Flow of Mirror Function oooccccnnncccccconnnccnnnncnnononanccnnnnnonononennnnnnnnos 31 Figure 3 5 Operation Flow of Level Adjustment Function ss ennnnnnnnnnnnnzennznnzznna 32 Figure 3 6 Operation Flow of Scale Down Function ccccccccnnccnnnccccccnonnccnnnncnnnnnnancnnnnnnos 33 Figure A 1 Camera Controller Initialization ccccccooccnnnccnnnccnnonoonnncnnnnononannncnnnnnnnos 39 Figure A 2 Camera Gain Offset Setting ccccoooncccnnncccco
35. ster CA UPDATE q Return DRV OK gt Figure A 3 Camera Gain Offset Setting Note None Application Note S19892EJ1VOANOO APPENDIX A Camera Driver Function 42 51 A 4 4 Camera Frame Setting Function Function Name emi cam set frame Format void emi cam set frame emi cam frame t frame Argument emi cam frame t frame the structure pointer for frame parameters Function Return None Flow Chart 1 Start CA VPLANE A Set Frame A CA UVPLANE A CA VPLANE A ES CA YPLANE B Use two Frames Set Frame B CA UVPLANE B CA VPLANE B Return DRV ERR PARAM Figure A 4 Camera Frame Setting Note None Application Note S19892EJ1VOANOO APPENDIX A Camera Driver Function 43 51 A 4 5 Camera Timing Setting Function Function Name emi cam set timing Format uchar em1 cam set timing em1 cam sensor t sensor Argument emi cam sensor t sensor the structure pointer for sensor parameters Function Return None Flow Chart q Start Jj Return DRV ERR PARAM Set Camera control register CA CSR Set Camera transfer control register CA DMACNT CA OD BYTELANE Set byte lane control register CA OD BYTELANE2 Return DRV OK E Figure A 5 Camera Timing Setting Note None Application Note S19892EJ1VOANOO APPENDIX A Camera Driver Function A 4 6 Camera Mirror Setting Functi
36. to 959 so the reduction ratio is 1 to 1 16 Register list CA_XRATIO_MAIN CA_YRATIO_MAIN CA_DMACNT Remark More details about reduction setting please refer to 4 7 Reduction Method of EMMA Mobile 1 Camera Interface User s Manual Application Note S19892EJ1VOANOO Chapter 2 Usage of Camera Interface 20 51 2 3 6 Set Transfer Processing The transfer processing of EMMA Mobile 1 includes 3 functions frame skipping transfer mode and horizontal vertical flip control Table 2 8 shows the description of transfer processing setting Table 2 8 Description of Transfer Processing Function Description Frame skipping Including 4 types 1 No skipping 2 1 2 skipping 3 1 3 skipping 4 1 4 skipping Transfer mode Including 3 types 1 Single transfer 2 Repeat transfer frame fixed 3 Repeat transfer double Horizontal vertical flip control Including 4 types 1 No flip 2 Horizontal flip 3 Vertical flip 4 Horizontal and vertical flip 180 rotation Register list CA DMACNT CA MIRROR Remark More details about transfer processing setting please refer to 4 11 Transfer Processing of EMMA Mobile 1 Camera Interface User s Manual Application Note S19892EJ1VOANOO Chapter 2 Usage of Camera Interface 21 51 2 3 7 Set Level Adjustment Level adjustment function is used to adjust gain and offset for the input data level More details about lever adjustment please refer to
37. top DMA Transfer Cancel camera DMA request to stop DMA transfer Register list CA_DMASTOP 2 3 13 Close Camera Interrupt This step will clear all camera interrupts Register list CA_ENSET CA_ENCLR CA_FFCLR INTC_ITO_IENO SEC_ITO_IENSO 2 3 14 Stop LCD Display This step will stop LCD display Remark More detail about LCD setting please refer to EMMA Mobile 1 LCDC User s Manual Application Note S19892EJ1VOANOO Chapter 3 Example of Camera Interface Operation 23 51 Chapter 3 Example of Camera Interface Operation This chapter will show users how to realize following functions e Preview function e Mirror function e Level adjustment function e Reduction function 3 1 Hardware Connection On EMMA Mobile 1 evaluation board PSKCH2Y S 0016 01 there is a JP11 connection which includes all pins of camera interface For camera evaluation EMMA Mobile 1 camera board is designed This board includes 1 an external camera sensor module 2 power supply circuit for sensor module 3 aconnection which is suitable for JP11 Figure 3 1 shows the connection of EMMA Mobile 1 evaluation board and EMMA Mobile camera board EMMA Mobile 1 EMMA Mobile 1 Evaluation Board Camera Board CAM YUVI7 0 DATA 7 0 CAM HS rt VSYNC CAM VS ra HSYNC CAM CLKI jq PIXCLK CAM SCLK SCLK IC2 SCL SCL IC2 SDA q me SDA A RESETB RESET VP5RO VDD 5RO Figure 3 1 Connection between EMMA
38. y reliability and safety of NEC Electronics products customers agree and acknowledge that possibility of defects thereof cannot be eliminated entirely To minimize risks of damage to property or injury including death to persons arising from defects in NEC Electronics products customers must incorporate sufficient safety measures in their design such as redundancy fire containment and anti failure features Note 1 NEC Electronics as used in this document means NEC Electronics Corporation and also includes its majority owned subsidiaries NEC Electronics products means any product developed or manufactured by or for NEC Electronics as defined above All trademarks or registered trademarks are the property of their respective owners Registered trademarks 6 and trademarks M are not noted in this document Application Note S19892EJ1VOANOO INDEX 4 51 CONTENTS Chapter 1 Introductio uitio UR RR A RO RA RARA 8 A e AP a E E 8 12 Development Envio MEN L ia ad ridu nibda a a eitc 8 Chapter 2 Usage of Camera Interface e eee Le eeeeeeeece n eene nennen nnn n hann anna 9 2A Camera internace FUACHON ER a ta aa 9 2 2 Operation FIOW rr 11 ZEB III me TN 12 2 Sod GAME AZ TI T TT 12 2 3 2 Set Camera TiMING cccccccsccesceeccecccccesseceeeeesccceesseeeesenssccesceseccesscsceeseneeessecscessaseeeessenes 14 2 9 9 Del In DUDOBHEIDUE SIZE ans tati do 16 2 3 4 Seb brammeAAddI 65S usto sbodp a ten 17 2

Download Pdf Manuals

image

Related Search

Related Contents

Sprint Owners' Manual  I_IIIE  Samsung RT-F250G TMF với Công nghệ Biến tần Số Digital Inverter, 255 L Hướng dẫn sử dụng  TY-CR60 - 取扱説明書ダウンロード  FB-3000, FR, ver1.0.indd  別添113 衝突被害軽減制動制御装置の技術基準 1. 適用範囲 この技術    Handbuch für sicheres und angenehmes Arbeiten  Tech air Adelphi 17"  

Copyright © All rights reserved.
Failed to retrieve file