ardupilot/libraries/AP_OpticalFlow/AP_OpticalFlow_Pixart_SROM.h

365 lines
22 KiB
C
Raw Normal View History

/*
SROM for Pixart flow, converted from data supplied by Pixart (thanks to Fish for conversion)
*/
const uint8_t AP_OpticalFlow_Pixart::srom_id = 0xED;
2017-03-09 19:45:01 -04:00
// SROM data for 3900
const uint8_t AP_OpticalFlow_Pixart::srom_data[] =
{
0x03, 0xed, 0xb5, 0x32, 0x26, 0xfc, 0x1e, 0xbe, 0xd8, 0x1d, 0xb8, 0xd3, 0x05, 0x88, 0x73, 0x45,
0x08, 0x92, 0xa6, 0xce, 0x1e, 0xba, 0xfe, 0x71, 0x5f, 0x1d, 0xb8, 0xf2, 0x66, 0x2f, 0xdc, 0x1b,
0x95, 0xa8, 0xb3, 0xe4, 0x2b, 0xb5, 0xe8, 0x52, 0x26, 0xce, 0xff, 0x5d, 0x38, 0xf2, 0x66, 0x4e,
0xff, 0x5d, 0x38, 0xd3, 0x05, 0x6f, 0x31, 0xe0, 0x42, 0x06, 0x8e, 0x7f, 0x7c, 0x5b, 0x34, 0xcb,
0xf5, 0x68, 0x52, 0x26, 0xce, 0xff, 0x7c, 0x7a, 0x76, 0x6e, 0x3f, 0xdd, 0x19, 0xb3, 0xc3, 0x06,
0x8a, 0x96, 0x8f, 0x9c, 0x9b, 0x95, 0x81, 0x90, 0x83, 0x84, 0x6a, 0x54, 0x0b, 0x75, 0x49, 0x10,
0x83, 0x60, 0x41, 0x18, 0x8c, 0x61, 0x34, 0xfe, 0x68, 0xe6, 0xa1, 0x61, 0x44, 0x81, 0x7d, 0xc3,
0xc7, 0xcf, 0x96, 0x11, 0x65, 0x14, 0x2d, 0xa7, 0xe1, 0x91, 0xe6, 0xfa, 0x99, 0x04, 0x65, 0x1d,
0x57, 0x98, 0x7c, 0xce, 0x9a, 0xe2, 0x41, 0xd5, 0x0e, 0x3b, 0x51, 0xed, 0x0f, 0x55, 0x45, 0xc0,
0xbc, 0x32, 0x00, 0xcb, 0x3e, 0x84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3f, 0xdd, 0x19, 0x91, 0xa0,
0xa3, 0xa5, 0xc8, 0x12, 0x87, 0x8c, 0x9a, 0xb6, 0xcf, 0xfd, 0x78, 0x53, 0x24, 0xca, 0x16, 0xae,
0xbf, 0xfc, 0x5b, 0x34, 0xcb, 0xf5, 0x68, 0x33, 0xc5, 0xe9, 0x50, 0x22, 0xc6, 0x0e, 0x7f, 0x5d,
0x38, 0xf2, 0x66, 0x2f, 0xbd, 0xd9, 0x11, 0xa0, 0xa3, 0xa5, 0xa9, 0xb1, 0xe0, 0x23, 0xa5, 0xa9,
0xb1, 0xc1, 0xe1, 0x21, 0xa1, 0xc0, 0x02, 0x67, 0x2d, 0xb9, 0xd1, 0x20, 0xc2, 0x06, 0x6f, 0x3d,
0xd9, 0x30, 0xc3, 0x04, 0x6b, 0x35, 0xc9, 0xf1, 0x60, 0x23, 0xc4, 0xeb, 0x35, 0xc9, 0x10, 0xa2,
0xa7, 0xcc, 0xfb, 0x55, 0x28, 0xd2, 0x26, 0xaf, 0xbd, 0xf8, 0x72, 0x47, 0xed, 0x39, 0xd1, 0x20,
0xa3, 0xc4, 0xeb, 0x35, 0xe8, 0x52, 0x26, 0xaf, 0xdc, 0x3a, 0xf6, 0x4f, 0xfd, 0x59, 0x30, 0xe2,
0x46, 0x0e, 0x7f, 0x5d, 0x19, 0x91, 0x81, 0x61, 0x21, 0xc0, 0xe3, 0x25, 0xa9, 0xb1, 0xe0, 0x42,
0x06, 0x6f, 0x3d, 0xf8, 0x72, 0x47, 0x0c, 0x7b, 0x74, 0x4b, 0x14, 0x8b, 0x75, 0x49, 0x10, 0x83,
0x84, 0x6b, 0x54, 0x0b, 0x94, 0x8b, 0x94, 0xaa, 0xb7, 0xec, 0xa2, 0xc7, 0x77, 0xd9,
};
/*
2017-03-09 19:45:01 -04:00
initialisation data (register config) for 3900
*/
2017-03-09 19:45:01 -04:00
const AP_OpticalFlow_Pixart::RegData AP_OpticalFlow_Pixart::init_data_3900[] =
{
{ 0x30, 0x44 },
{ 0x31, 0xe9 },
{ 0x32, 0x82 },
{ 0x33, 0xdf },
{ 0x31, 0xea },
{ 0x32, 0x82 },
{ 0x33, 0xff },
{ 0x31, 0xeb },
{ 0x32, 0x82 },
{ 0x33, 0xdf },
{ 0x31, 0xec },
{ 0x32, 0x82 },
{ 0x33, 0xff },
{ 0x31, 0xed },
{ 0x32, 0x82 },
{ 0x33, 0xdf },
{ 0x31, 0xee },
{ 0x32, 0x82 },
{ 0x33, 0xff },
{ 0x31, 0xdd },
{ 0x32, 0x82 },
{ 0x33, 0xfe },
{ 0x31, 0xde },
{ 0x32, 0x82 },
{ 0x33, 0x0b },
{ 0x31, 0xdf },
{ 0x32, 0x82 },
{ 0x33, 0xfe },
{ 0x31, 0xe0 },
{ 0x32, 0x82 },
{ 0x33, 0x0b },
{ 0x31, 0xe1 },
{ 0x32, 0x82 },
{ 0x33, 0xfe },
{ 0x31, 0xe2 },
{ 0x32, 0x82 },
{ 0x33, 0x0b },
{ 0x47, 0x00 },
{ 0x10, 0x08 },
{ 0x0f, 0x28 },
{ 0x2b, 0x08 },
{ 0x2c, 0x10 },
{ 0x2e, 0x1f },
{ 0x49, 0x40 },
{ 0x4a, 0x60 },
{ 0x4b, 0x3F },
{ 0x10, 0x08 },
{ 0x30, 0x00 },
{ 0x45, 0x8b },
{ 0x46, 0x02 },
{ 0x53, 0x07 },
{ 0x52, 0x10 },
};
2017-03-09 19:45:01 -04:00
// init data for 3901
const AP_OpticalFlow_Pixart::RegData AP_OpticalFlow_Pixart::init_data_3901_1[] =
{
{ 0x7F, 0x00 },
{ 0x61, 0xAD },
{ 0x7F, 0x03 },
{ 0x40, 0x00 },
{ 0x7F, 0x05 },
{ 0x41, 0xB3 },
{ 0x43, 0xF1 },
{ 0x45, 0x14 },
{ 0x5B, 0x32 },
{ 0x5F, 0x34 },
{ 0x7B, 0x08 },
{ 0x7F, 0x06 },
{ 0x44, 0x1B },
{ 0x40, 0xBF },
{ 0x4E, 0x3F },
{ 0x7F, 0x08 },
{ 0x65, 0x20 },
{ 0x6A, 0x18 },
{ 0x7F, 0x09 },
{ 0x4F, 0xAF },
{ 0x5F, 0x40 },
{ 0x48, 0x80 },
{ 0x49, 0x80 },
{ 0x57, 0x77 },
{ 0x60, 0x78 },
{ 0x61, 0x78 },
{ 0x62, 0x08 },
{ 0x63, 0x50 },
{ 0x7F, 0x0A },
{ 0x45, 0x60 },
{ 0x7F, 0x00 },
{ 0x4D, 0x11 },
{ 0x55, 0x80 },
{ 0x74, 0x1F },
{ 0x75, 0x1F },
{ 0x4A, 0x78 },
{ 0x4B, 0x78 },
{ 0x44, 0x08 },
{ 0x45, 0x50 },
{ 0x64, 0xFF },
{ 0x65, 0x1F },
{ 0x7F, 0x14 },
{ 0x65, 0x60 },
{ 0x66, 0x08 },
{ 0x63, 0x78 },
{ 0x7F, 0x15 },
{ 0x48, 0x58 },
{ 0x7F, 0x07 },
{ 0x41, 0x0D },
{ 0x43, 0x14 },
{ 0x4B, 0x0E },
{ 0x45, 0x0F },
{ 0x44, 0x42 },
{ 0x4C, 0x80 },
{ 0x7F, 0x10 },
{ 0x5B, 0x02 },
{ 0x7F, 0x07 },
{ 0x40, 0x41 },
{ 0x70, 0x00 }
};
// Delay 100 ms before resuming the below register writes
const AP_OpticalFlow_Pixart::RegData AP_OpticalFlow_Pixart::init_data_3901_2[] =
{
{ 0x32, 0x44 },
{ 0x7F, 0x07 },
{ 0x40, 0x40 },
{ 0x7F, 0x06 },
{ 0x62, 0xF0 },
{ 0x63, 0x00 },
{ 0x7F, 0x0D },
{ 0x48, 0xC0 },
{ 0x6F, 0xD5 },
{ 0x7F, 0x00 },
{ 0x5B, 0xA0 },
{ 0x4E, 0xA8 },
{ 0x5A, 0x50 },
{ 0x40, 0x80 },
};