Public Version
www.ti.com
Camera ISP Basic Programming Model
Read/write selective entries of the tables (have to program the
address separately for each read/write)
• WRITE (SET_TBL_ADDR, 11);
• READ (SET_TBL_DATA, value11);
• WRITE (SET_TBL_ADDR, 564);
• WRITE (SET_TBL_DATA, value564);
6.5.7.2
Camera ISP Preview Enable/Disable Hardware
Setting the
[0] ENABLE bit to 0x1 enables the preview engine. This must be done after all
required registers and tables are programmed.
When the input source is the memory, the preview engine always operates in one-shot mode. In other
words, after enabling the preview engine, the ENABLE bit is automatically turned off (set to 0) and only a
single frame is processed from memory. In this mode, fetching and processing of the frame begin
immediately on setting the ENABLE bit.
When the input source is the CCDC, the preview engine can be configured to operate in either one-shot
mode or continuous mode (
[3] ONESHOT). Processing of the frame is depends on the timing
of the CCDC. To ensure that data from the CCDC is not missed, the preview engine must be enabled
before the CCDC so that it waits for CCDC data.
NOTE:
In one-shot mode, on setting the ENABLE bit, the processing of the frame begins and the
ENABLE, ONESHOT, and SOURCE bits are reset to their reset values.
When the preview engine is in continuous mode, it can be disabled by clearing the ENABLE bit during the
processing of the last frame. The disable is latched in at the end of the frame in which it is written.
6.5.7.3
Camera ISP Preview Events and Status Checking
The preview engine generates an interrupt at the end of each frame.
The status of this interrupt can be checked by reading the
register (or
). When the read of the register
occurs (or
), the
register is not automatically reset. To reset the interrupt, a 1 must be written to the PRV_DONE_IRQ bit.
Each event that generates an interrupt can be individually mapped to ARM or DSP using the
register (or
). When a particular event is not enabled (for example
[x] = 0), the correspondent status (
[x] = 1) bit is flagged if the
correspondent event occurs. This has no effect on the interrupt line, but can be used by software to poll
the status.
The
[1] BUSY status bit is set when the start of frame occurs (if the
[0] ENABLE bit is
1 at that time). It is automatically reset to 0 at the end of a frame. The
[1] BUSY status bit may
be polled to determine end-of-frame status.
The
[31] DRK_FAIL status bit is set when dark-frame data fetched from memory arrives late.
This bit can be reset by writing a 1 to the bit.
6.5.7.4
Camera ISP Preview Register Accessibility During Frame Processing
There are three types of register access in the preview engine.
•
Shadow registers: These registers/fields can be read and written (if the field is writable) at any time.
However, the written values take effect only at the start of a frame. Reads return the most recent write,
even though the settings are not used until the next start of frame.
The shadowed registers are:
–
–
1283
SWPU177N – December 2009 – Revised November 2010
Camera Image Signal Processor
Copyright © 2009–2010, Texas Instruments Incorporated
Содержание OMAP36 Series
Страница 174: ...174 List of Tables SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 692: ...692 MPU Subsystem SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 1084: ...1084 IVA2 2 Subsystem SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 1990: ...1990 2D 3D Graphics Accelerator SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2334: ...2334 Memory Subsystem SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2700: ...2700 Memory Management Units SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2868: ...2868 HDQ 1 Wire SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2974: ...2974 UART IrDA CIR SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3054: ...3054 Multichannel SPI SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3462: ...3462 MMC SD SDIO Card Interface SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3508: ...3508 General Purpose Interface SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3584: ...3584 Initialization SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3648: ...3648 Debug and Emulation SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...