Commit Graph

53 Commits

Author SHA1 Message Date
Sebastien Bourdeauducq ad447cd5f9 use PID for FV, print all debug messages 2017-05-12 11:07:35 +08:00
Sebastien Bourdeauducq df335865b7 update errata 2017-05-12 11:05:37 +08:00
Sebastien Bourdeauducq 0ff950128c add license note 2017-05-11 23:15:12 +08:00
Sebastien Bourdeauducq 44d95973ca add electrometer, introduce *Status objects 2017-05-11 23:15:01 +08:00
Sebastien Bourdeauducq c676102b33 handle protection, print current/voltage values 2017-05-11 14:55:00 +08:00
Sebastien Bourdeauducq 1c516ca357 update FD_ADC_GAIN for new value of R234 2017-05-11 10:54:32 +08:00
Sébastien Bourdeauducq 3cbbd124b3 fix resistor number in errata 2017-05-10 18:29:03 +08:00
Sebastien Bourdeauducq fd507cb6fb average emission current samples, implement emission_ready 2017-05-10 00:29:52 +08:00
Sebastien Bourdeauducq 8975f8c240 compute emission current, filament voltage and bias voltage 2017-05-10 00:10:52 +08:00
Sebastien Bourdeauducq 9662570999 print message on protection latch 2017-05-10 00:10:16 +08:00
Sebastien Bourdeauducq 0d0c09b074 errata: glitches are ok, R234 should be changed 2017-05-09 20:13:39 +08:00
Sebastien Bourdeauducq f993e65fca fix elapsed counter 2017-05-09 19:08:16 +08:00
Sebastien Bourdeauducq caec6f1a3b compute FV and FBV 2017-05-09 19:07:59 +08:00
Sebastien Bourdeauducq c7f4dba53a remove unnecessary mut 2017-05-09 19:06:42 +08:00
Sebastien Bourdeauducq e4f513d444 reorganize 2017-05-09 15:58:06 +08:00
whitequark 8a49dfc980 Add UART debug port. 2017-05-09 05:16:00 +00:00
Sebastien Bourdeauducq 9fdce3ac4c speed up ADC 2017-05-08 23:47:05 +08:00
Sebastien Bourdeauducq 252b8eeb28 put ADC in continuous sample mode 2017-05-08 23:24:23 +08:00
Sebastien Bourdeauducq 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
Sebastien Bourdeauducq 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 8353ffbe98 Update errata. 2017-05-06 19:08:27 +00:00
whitequark d6bfba821e Unbreak ADC interrupt. 2017-05-06 16:00:01 +00:00
Sebastien Bourdeauducq 15c9bafb51 reset error latch at startup 2017-05-06 21:48:04 +08:00
Sebastien Bourdeauducq 0cb8d0c53d pid: use Option instead of NaN 2017-05-06 20:43:33 +08:00
Sebastien Bourdeauducq a39c95e276 HV PID control (untested) 2017-05-06 17:17:41 +08:00
Sebastien Bourdeauducq 8abeff05a1 Report error pin status 2017-05-06 12:33:38 +08:00
Sebastien Bourdeauducq 1069944ea2 style 2017-05-06 12:32:13 +08:00
Sebastien Bourdeauducq 4da283648b get ADC samples as ints 2017-05-06 12:30:56 +08:00
Sebastien Bourdeauducq 63c65448b2 fix gitignore 2017-05-06 12:29:42 +08:00
Sebastien Bourdeauducq 3393d9e3be add Ethernet TVS and error latch errata 2017-05-06 12:28:12 +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 87e97c4894 Add schematics. 2017-05-05 09:25:01 +00:00
whitequark e17658c8db Move firmware to firmware/. 2017-05-05 09:23:08 +00:00
whitequark 8fa7ba9a8d Add missing wait for GPIO ready. 2017-05-05 07:53:12 +00:00
Sebastien Bourdeauducq 3bbccdce58 add relay errata 2017-05-05 00:21:00 +08:00
Sebastien Bourdeauducq 14b4d0a496 add GDT200 errata 2017-05-04 23:03:05 +08:00
Sebastien Bourdeauducq 67bee0ec06 set emission range 2017-05-04 23:00:22 +08:00
Sebastien Bourdeauducq 64b20aa335 set some FB potential 2017-05-04 22:07:43 +08:00
whitequark 4274d5e69b Add FBV_PWM pin handling. 2017-05-04 13:41:57 +00:00
Sebastien Bourdeauducq 070152c82f use PWM functions 2017-05-04 21:12:39 +08:00
Sebastien Bourdeauducq 2bb6be415d drive both flyback PWMs 2017-05-04 19:42:22 +08:00
Sebastien Bourdeauducq d458a337df LED access function 2017-05-04 18:59:43 +08:00
Sebastien Bourdeauducq 492b1e3668 hello world 2017-05-04 17:45:15 +08:00
Sebastien Bourdeauducq a214a1c6e0 work around picture cache problems 2017-05-04 16:25:32 +08:00