SWRU543B January 2019 – June 2025 CC3230S , CC3230SF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
The camera interface uses the CAM_P_HS and CAM_P_VS signal to detect when the data is valid. This configuration can work with 8-bit data. No assumptions are made on the data format.
The pixel data is presented on CAM_P_DATA one pixel for every CAM_P_CLK rising edge (or falling, depending on the configuration of CAM_P_CLK polarity, defined in CC_CTRL.PAR_CLK_POL).
There are additional pixel times between rows that represent a blanking period. The active pixels are identified by a combination of two additional timing signals: horizontal synchronization (CAM_P_HS) and vertical synchronization (CAM_P_VS). During the image sensor readout, these signals define when a row of valid data begins and ends, and when a frame starts and ends. A bit field sets the CAM_P_HS polarity (NOBT_HS_POL) and CAM_P_VS polarity (NOBT_VS_POL). See Figure 1-1.
The clock CAM_P_CLK is running during blanking periods (CAM_P_HS and CAM_P_VS inactive), and at least 10 clock cycles are required between two consecutive CAM_P_VS active for proper operations when the line is not a multiple of 12 bytes. Otherwise, one clock cycle is enough to detect CAM_P_VS and work properly. See Figure 14-3.
The acquisition can start either on a beginning of a new frame (CAM_P_VS inactive and then active) or immediately in function of the CC_CTRL.NOBT_SYNCHRO register bit. Set CC_CTRL.NOBT_SYNCHRO to 1 to ensure a clean acquisition of the frame.
Data is accepted as long as CAM_P_HS and CAM_P_VS are both active (when CC_CTRL.NOBT_SYNCHRO is cleared 0). See Figure 14-4.
The camera core module supports decimation from the image sensor where CAM_P_HS toggles between pixels (see Figure 14-5).
Image data is stored differently in the FIFO, depending on the setting of the PAR_ORDERCAM bit, as shown in Figure 14-7.
The module automatically removes the blanking period.