Commit Graph

221 Commits

Author SHA1 Message Date
whitequark
8a49dfc980 Add UART debug port. 2017-05-09 05:16:00 +00:00
9fdce3ac4c speed up ADC 2017-05-08 23:47:05 +08:00
252b8eeb28 put ADC in continuous sample mode 2017-05-08 23:24:23 +08:00
ecadb7c996 some PID tuning 2017-05-08 23:22:42 +08:00
whitequark
b07cd31572 Raise ADC clock to 32 MHz (maximum). 2017-05-08 13:28:25 +00:00
592aee4735 update dependencies 2017-05-08 10:08:16 +08:00
whitequark
ba37d13dae Enable FPU. 2017-05-07 17:32:53 +00:00
whitequark
3b7eb8bd9a Make ADC actually work. 2017-05-07 16:59:03 +00:00
whitequark
0ba8971aff Enable PLL at 320 MHz. 2017-05-07 16:28:03 +00:00
whitequark
d6bfba821e Unbreak ADC interrupt. 2017-05-06 16:00:01 +00:00
15c9bafb51 reset error latch at startup 2017-05-06 21:48:04 +08:00
0cb8d0c53d pid: use Option instead of NaN 2017-05-06 20:43:33 +08:00
a39c95e276 HV PID control (untested) 2017-05-06 17:17:41 +08:00
8abeff05a1 Report error pin status 2017-05-06 12:33:38 +08:00
1069944ea2 style 2017-05-06 12:32:13 +08:00
4da283648b get ADC samples as ints 2017-05-06 12:30:56 +08:00
63c65448b2 fix gitignore 2017-05-06 12:29:42 +08:00
whitequark
5431780700 Also set AFSEL bits for pins where AMSEL is set. 2017-05-05 12:05:19 +00:00
whitequark
afda70c2a0 Move README.md back where it belongs. 2017-05-05 11:32:22 +00:00
whitequark
5a011ea410 Implement ADC readout. 2017-05-05 11:31:12 +00:00
whitequark
e17658c8db Move firmware to firmware/. 2017-05-05 09:23:08 +00:00