Set sensor PLL to 6x and reduce extclk.

* OMV2-F4 extclk = 8MHz * 6 = 48MHz
* OMV3-F7 extclk = 9MHz * 6 = 54MHz
This commit is contained in:
iabdalkader 2017-05-13 04:10:04 +02:00
parent 832819eede
commit 103bb27f83
3 changed files with 5 additions and 5 deletions

View File

@ -18,10 +18,10 @@
#define OMV_XCLK_TIM (1U)
// Sensor external clock source.
#define OMV_XCLK_SOURCE (OMV_XCLK_MCO)
#define OMV_XCLK_SOURCE (OMV_XCLK_TIM)
// Sensor external clock timer frequency.
#define OMV_XCLK_FREQUENCY (12000000)
#define OMV_XCLK_FREQUENCY (8000000)
// Have built-in RGB->LAB table.
#define OMV_HAVE_LAB_TABLE

View File

@ -18,10 +18,10 @@
#define OMV_XCLK_TIM (1U)
// Sensor external clock source.
#define OMV_XCLK_SOURCE (OMV_XCLK_MCO)
#define OMV_XCLK_SOURCE (OMV_XCLK_TIM)
// Sensor external clock timer frequency.
#define OMV_XCLK_FREQUENCY (12000000)
#define OMV_XCLK_FREQUENCY (9000000)
// Have built-in RGB->LAB table.
#define OMV_HAVE_LAB_TABLE

View File

@ -19,7 +19,7 @@ static const uint8_t default_regs[][2] = {
{COM3, COM3_SWAP_YUV},
{COM7, COM7_RES_VGA | COM7_FMT_RGB565 | COM7_FMT_RGB},
{COM4, 0x41}, /* PLL x4 */
{COM4, 0x81}, /* PLL x6 */
{CLKRC, 0xC0}, /* Res/Bypass pre-scalar */
// VGA Window Size