cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

VlKh_2251656
Contributor II

Good Day.

Please, tell me

We are now using a video camera developed on the basis of a Denebola reference board (CX3 and OV5640).

But our quartz oscillator (RefClk source) has a frequency of 27 MHz, and not 19.2 MHz as in Denebola. Other quartz is analogue as Denebola.

Tell me. What exactly should be changed in the source code in order for everything to work correctly?

Mipi settings ? How ? What value ?

I2C, SPI settings ?

PLL ?

Many thanks.

0 Likes
1 Solution
YangyangC_06
Employee

Hello,

Please configure CX3 using the same parameters in the screenshot below.

BaiduShurufa_2019-4-15_17-26-13.bmp

Ensure that your project inlcludes the library ov5640.a

BaiduShurufa_2019-4-15_17-28-32.bmp

View solution in original post

6 Replies
YangyangC_06
Employee

You need to adjust the parameters inside red box below.

BaiduShurufa_2019-4-12_12-17-51.bmp

VlKh_2251656
Contributor II

Dear,

Anything similar to this?

// Configuration parameters for VGA for the OV5640 sensor

CyU3PMipicsiCfg_t cfgUvcVgaNoMclk_HS =  {

    CY_U3P_CSI_DF_YUV422_8_2,       // dataFormat

    1,                            // numDataLanes

    0x1,                          // pllPrd

    90,                            // pllFbd

    CY_U3P_CSI_PLL_FRS_125_250M,    // pllFrs

    CY_U3P_CSI_PLL_CLK_DIV_2,     // csiRxClkDiv

    CY_U3P_CSI_PLL_CLK_DIV_8,     // parClkDiv

    0x00,                         // mclkCtl

    CY_U3P_CSI_PLL_CLK_DIV_8,     // mClkRefDiv

    640,                          // hResolution

    0x01                          // fifoDelay

};

PLL settings ?

Only in this place?

Nowhere else?

Many thanks.

Doesn't it make it difficult for you to send a ready-made configuration file?

At least for modes 640*480 for connections USB2 and USB3 ?

I can't make MIPI calculator work ...

0 Likes
YangyangC_06
Employee

Hello,

Please configure CX3 using the same parameters in the screenshot below.

BaiduShurufa_2019-4-15_17-26-13.bmp

Ensure that your project inlcludes the library ov5640.a

BaiduShurufa_2019-4-15_17-28-32.bmp

View solution in original post

VlKh_2251656
Contributor II

Yes, many thanks.

But I not understand, how I can compile its configuration file and add it  (or replace old file) for apply new 27 MHz settings ?

Please, tell me.

0 Likes
VlKh_2251656
Contributor II

Many thanks!

0 Likes