Commit Graph

36 Commits

Author SHA1 Message Date
Mario Hüttel 7be6047e04 Fix style warnings 2021-10-10 20:40:40 +02:00
Mario Hüttel e4ebf9ec3f Add CRC monitoring over ADC registers 2021-07-23 20:06:09 +02:00
Mario Hüttel 6ebd74cb31 Safety Bug: Add meas ADC timing flag to output of the pt1000 read function so it becomes invalid in this case. 2021-04-04 19:35:32 +02:00
Mario Hüttel 4c1797aa24 Issue #24: Make UNSTABLE flag only go away, if the PT1000 value stays within the stable region for a given amount of samples 2021-01-26 21:59:41 +01:00
Mario Hüttel 20a65fd7f9 Issue #24: Implement new handling for Unstable flag.
* Unstable flag will now be set, whenever the output of the moving average filter
  differs more than 10 Ohms from the measured prefilterd input.
2021-01-26 21:46:44 +01:00
Mario Hüttel a5c9350835 Fix typo 2021-01-26 21:26:58 +01:00
Mario Hüttel 69ff13a991 Add fast moving average filter for faster startup 2021-01-09 22:26:31 +01:00
Mario Hüttel daaf848e0c Renamed clock-enable manager to rcc manager and improve some header files with doxygen comments 2020-12-01 21:00:23 +01:00
Mario Hüttel 91d9db6a4e Make Safety ADC use sequnece feature of ADC and use DMA to write data 2020-11-30 00:01:26 +01:00
Mario Hüttel 11b84afca0 Issue #21: Change calibration apply function 2020-11-15 23:10:19 +01:00
Mario Hüttel eec15df271 Fix code style 2020-09-27 22:13:49 +02:00
Mario Hüttel 45c0625864 fixup style issues 2020-08-31 22:58:00 +02:00
Mario Hüttel ec117e0627 Change linker script and startup code.
This is my own code from my template. It is much cleaner than the old code.
2020-08-21 23:47:55 +02:00
Mario Hüttel 60e990632b Fix #10: Moved static and global variablöes that are 0 initialized to CCMRAM in order to make room and increase performance. 2020-08-18 19:57:13 +02:00
Mario Hüttel 58937b46f6 Improve code 2020-08-16 20:33:17 +02:00
Mario Hüttel 4ab91ace5f Remove redundant define macro 2020-08-11 23:37:26 +02:00
Mario Hüttel f6f01b0510 Improve sphinx 2020-08-03 21:13:04 +02:00
Mario Hüttel b65d94b0e8 Fix ADC measurement to run at 1000 Hz and fix wrong error handling for PT1000 Watchdog. Add function for flags to shell 2020-07-28 22:55:02 +02:00
Mario Hüttel 97fc04399e Fix recursion loop in safety controller 2020-07-28 21:00:37 +02:00
Mario Hüttel da96daa767 Reworked measurement ADC to use safety controller 2020-07-27 22:15:01 +02:00
Mario Hüttel dc8beefb63 Move PT1000 Measurement from ADC1 to ADC3 in order to make ADC1 free for Safety ADC implementation 2020-05-16 20:59:51 +02:00
Mario Hüttel 2d3b61550b Fix ADC Watchdog handling 2020-04-26 19:53:06 +02:00
Mario Hüttel ffe195d7b2 ADC Measurment: Introduce ADC_PT1000_WATCHDOG_SAMPLE_COUNT in order to filter out false Watchdog errors produces by EMI problems" 2020-04-26 18:09:39 +02:00
Mario Hüttel b5d4bf5528 Add stack checker module andf fix all license headers 2020-02-21 21:22:01 +01:00
Mario Hüttel c3be39b4e5 Add license header to all files 2020-02-15 22:09:55 +01:00
Mario Hüttel 5a00950589 Add deactivated PT1000 measurement as error flag, startcode for calibration routine 2020-02-15 01:04:40 +01:00
Mario Hüttel 1745a7e2b2 Fix coding in all files 2020-02-12 21:19:11 +01:00
Mario Hüttel f04a5c7930 Restructure include hierarchy 2020-02-12 21:00:35 +01:00
Mario Hüttel 69c00ff3d3 * Improve uart dma ring buffer. Sending dma still missing
* Add digio module for controlling LEDs, Loudspeaker, and the Digital IOs
* General code improvements
2020-02-10 22:40:37 +01:00
Mario Hüttel 48fea3d36e Make average calculation floating point. 2020-02-09 19:21:06 +01:00
Mario Hüttel 1f5a535076 Make average filtering of HF meas path an integer calculation 2020-02-08 19:18:47 +01:00
Mario Hüttel 3ac252db69 Add DMA ring buffer file for UART, Improve calculation of PT1000 resistance 2020-02-05 23:09:23 +01:00
Mario Hüttel 1e678c3ce8 Fix bug in clock manager and remove DMA sampling from ADC code. Will be rewritten in a different way 2020-02-03 19:40:59 +01:00
Mario Hüttel 850d84140e ADC PT1000 Measurement progress 2020-02-02 20:24:44 +01:00
Mario Hüttel 02a673546e Start implementation of PT1000 ADC measurement 2020-02-02 01:49:37 +01:00
Mario Hüttel e091ccf19c start firmware: Function definitions for ADC 2020-02-02 00:01:08 +01:00