On 2/19/14, 11:56 AM, "[email protected]" <[email protected]> wrote:
>John Syn <[email protected]> wrote: >> >> On 2/19/14, 10:25 AM, "[email protected]" <[email protected]> wrote: >> >> >Gerald Coley <[email protected]> wrote: >> >> [-- text/plain, encoding quoted-printable, charset: ISO-8859-1, 43 >> >>lines --] >> >> >> >> External. Or internal. Or whichever one you want to use. >> >> >> >So it's selectable by software? What does it default to using at >> >power on? I can't find any documentation about this in the BBB manual >> >and the processor manual is not much more forthcoming. The processor >> >manual told me that the ADC can use either internal or external >> >reference but I could find nothing further about it at all. >> If you know the register name that is used to select between internal >>and >> external ref, then use ³git grep <reg-name>² to find where that register >> gets used in the kernel source. If there is no reference to this >>register, >> then the default value will be used. >> >That's the problem, I can't find any documentation anywhere that tells >me about the internal/external switching. The whole of the ADC system >is shrouded in mystery! :-) drivers/iio/adc/ti_am335x_adc.c:#include <linux/platform_data/ti_am335x_adc.h> drivers/mfd/ti_am335x_tscadc.c:#include <linux/platform_data/ti_am335x_adc.h> drivers/misc/cape/beaglebone/bone-iio-helper.c:#include <linux/platform_data/ti_am335x_adc.h> drivers/misc/cape/beaglebone/cape-bone-geiger.c:#include <linux/platform_data/ti_am335x_adc.h> Regards, John > >-- >Chris Green >· > >-- >For more options, visit http://beagleboard.org/discuss >--- >You received this message because you are subscribed to the Google Groups >"BeagleBoard" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to [email protected]. >For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
