Commit Graph
14 Commits
Author SHA1 Message Date
questor/Inter 995dca15c8 more debug printfs, disabled function usage of gpio0/1, disabled usb interface to save some 25kb in the firmware image 2023-05-08 22:50:19 +02:00
1nct fd017ea685 - added shared.c file containing functions that can be accessed from both cores
- revised CV programming especially writing
- Core 1 is only started when valid package with correct address is received
- Extended addresses are now correctly verified and implemented
- Base PWM measurement is now done on core0 and checked for automatically in cv_setup_check()
- Moved Motor PWM, GPIO, ADC to core0
- Implemented inverted direction mode (CV_29) according to DCC-Standards
- Limited feed-forward parameters y_2 to max_output/y_1
- k_p gain slopes are now calculated on initialization
- k_p gain parameters are also in pid parameter struct now
- Revised init_pid()
- Implemented Packet timeout check (CV_11)
- 16Bit and 32Bit CVs now always have the highest bytes as the lowest array index to accommodate get_XXbit_CV() functions
2022-08-01 17:20:05 +02:00
1nct 1334f9c540 -Added Multiplier to lengthen XOSC startup delay 2022-02-17 00:28:44 +01:00
1nct 594f693b9f - Correction for Zener Diode Voltage
- Changes to Header Files
2022-01-27 01:09:06 +01:00
1nct ebdc57e90a - divided decoder.c in core0.c & core1.c
- improvements on set_outputs()
2022-01-09 11:30:32 +01:00
GabrielKoppenstein f81cf7fb0b - renamed multicore.c to decoder.c and header files respectively
- several changes to pid_control and speed_helper
- measurements are now being "filtered" (x smallest and y biggest values will be discarded to counteract noisy measurements)
- irq priority for core1 adjusted (pid_control irq now has highest priority)
2022-01-06 20:34:44 +01:00
GabrielKoppenstein 6070af4b10 Deprecated files, not needed anymore 2022-01-04 21:47:38 +01:00
GabrielKoppenstein df9a1848e4 Updated CV_ARRAY, added save to Flash function, changed various small things 2021-09-24 12:56:28 +02:00
GabrielKoppenstein 072f380b1d Removede FIFO Irq, Addded function for measuring and controlling motor speed 2021-09-22 17:04:16 +02:00
GabrielKoppenstein fc639b765e Removede FIFO Irq, Addded function for measuring and controlling motor speed 2021-09-19 10:17:45 +02:00
GabrielKoppenstein 47101afbf8 function evaluation & CV & ... 2021-08-27 18:00:16 +02:00
nct d4cbf5c401 array änderungen + neuer automat 2021-08-24 15:16:10 +02:00
nct 642ea3ddfb SIZE angepasst 2021-08-22 22:52:31 +02:00
Philipp Koppenstein d116e0a2ac basispaket erkennen 2021-08-22 22:19:49 +02:00