Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHi,
Sorry for the delayed response. here are the ch7010 settings for VGA output. These settings are for the VGA resolution output 640x480 from the DVI port. i2c_write(base_address, 0xea>>1, 0x15, 0x00 ); i2c_write(base_address, 0xea>>1, 0x31, 0x00 ); // i2c_write(base_address, 0xea>>1, 0x32, 0x23 ); // i2c_write(base_address, 0xea>>1, 0x33, 0x08 ); // i2c_write(base_address, 0xea>>1, 0x34, 0x16 ); // i2c_write(base_address, 0xea>>1, 0x35, 0x30 ); // chrontel i2c_write(base_address, 0xea>>1, 0x36, 0x60 ); // i2c_write(base_address, 0xea>>1, 0x37, 0x00 ); // i2c_write(base_address, 0xea>>1, 0x49, 0xc0 ); // Set DVI MODE i2c_write(base_address, 0xea>>1, 0x21, 0x01 | 0x08 ); // DAC bypass i2c_write(base_address, 0xea>>1, 0x22, 0x16 ); // BCO = VSYNC i2c_write(base_address, 0xea>>1, 0x1c, 0x04 ); // Invert XCLK Polarity Hope this would help.