mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
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:
parent
832819eede
commit
103bb27f83
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user