[Arm-netbook] [flying squirrel] TODO list

luke.leighton luke.leighton at gmail.com
Sat Oct 12 16:39:34 BST 2013


root at debian:~# i2cdetect  -y 1 0x20 0x2f
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:
10:
20: -- 21 -- -- -- -- -- -- -- -- -- -- -- -- -- --
30:

oleeeeee!  that's the correct address of the gc0609 CSI camera!

the trick is that MCO (master clock out) is an ALT (alternative)
function, once i'd set that correctly, it was up.

    gpio_set_mode(GPIOA, GPIO_MODE_OUTPUT_50_MHZ,
              GPIO_CNF_OUTPUT_ALTFN_PUSHPULL, GPIO8);
    rcc_set_mco(RCC_CFGR_MCO_HSECLK);

a quick "soft reset" call and i managed to read the chip version: 0xa.  woo!

l.



More information about the arm-netbook mailing list