Commit graph

14 commits

Author SHA1 Message Date
Karl Palsson
da729ec691 adc-power: add parallel parent makefile
and fix the bugs it shows from me not maintaining this code!
2018-02-25 22:46:21 +00:00
Karl Palsson
cdd0a0c2e4 adc-power: include f1 tests 2016-09-11 23:38:55 +00:00
Karl Palsson
55cf5bcd76 adc-power: Calling adc_power_off twice should be safe
but, it's not on f3 at present.

See https://github.com/libopencm3/libopencm3/issues/654
and
https://github.com/libopencm3/libopencm3/pull/662
2016-09-09 22:16:45 +00:00
Karl Palsson
bcdf3f8943 adc: hacks to get it up and running for L4 2016-03-30 17:24:12 +00:00
Karl Palsson
614482176c adc: use single float literals
Dramatic performance improvement on m4f cores, ~1600->80 cycles
2016-03-30 17:15:06 +00:00
Karl Palsson
9b371b5189 fix l4 to run at 48Mhz and with a clock 2016-03-14 21:34:18 +00:00
Karl Palsson
f4ebd4a603 attempt actual adc on l4
(insufficient,needs clocks yet)
2016-03-04 00:43:41 +00:00
Karl Palsson
5e57c5b0c9 use new names for SMPRx defines 2016-03-04 00:43:41 +00:00
Karl Palsson
19a85ae45b f0 working (one fixme)
need scan mode upstream?
2016-03-04 00:43:21 +00:00
Karl Palsson
c522c29dca WIP: f0 adc build 2015-11-03 23:53:42 +00:00
Karl Palsson
73e12bd0fd f3 temp sensor working 2015-11-03 23:21:44 +00:00
Karl Palsson
4a1f9d06d2 f4: proper float/int temp readings 2015-11-03 22:34:40 +00:00
Karl Palsson
26eeb48807 f3: wip continues 2015-10-28 18:55:56 +00:00
Karl Palsson
8d538b3935 stub adc on/off test code.
Needs a pot on PA0, should get the temperature input working as well.
2015-10-17 02:15:58 +00:00