right here's a few little files:
http://rhombus-tech.net/community_ideas/kde_tablet/csivoltages.py http://rhombus-tech.net/community_ideas/kde_tablet/axp209.py http://rhombus-tech.net/community_ideas/kde_tablet/gpio_up.sh
in case anyone ever needs to program the AXP209 from userspace, the axp209.py (GPLv2, taken from u-boot, thanks to henrik, cut/paste conversion from c to python) file is capable of setting the LDO2, LDO3 and LDO4 voltages.
the gpio_up.sh is a little script which pulls the relevant GPIO pins for BOOT0 and RESET on the STM32F.
l.
root@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.
arm-netbook@lists.phcomp.co.uk