Вот минимальный набор, после которого у меня матрица завелась: i2c1_write_byte_to_page(MT9M_ADDR, 0x1b5, 0x0102); //Divides ratio context A i2c1_write_byte_to_page(MT9M_ADDR, 0x13a, 0x0800); //Enables embedding Rec. ITU-R BT.656 synchronization codes in the output data. i2c1_write_byte_to_page(MT9M_ADDR, 0x106, 0x700e); //disables auto exposure. i2c1_write_byte_to_page(MT9M_ADDR, 0x007, 0x00f3); //Horizontal blanking—context A i2c1_write_byte_to_page(MT9M_ADDR, 0x008, 0x0056); //Vertical blanking—context A i2c1_write_byte_to_page(MT9M_ADDR, 0x004, 0x04E0); //Window width
|