Commit Graph

  • f8fcd77449 Update pcb_render.yml Gabriel Koppenstein 2024-11-26 15:27:15 +01:00
  • cb6669992f Update pcb_render.yml Gabriel Koppenstein 2024-11-26 15:11:52 +01:00
  • c65afef54f Update pcb_render.yml Gabriel Koppenstein 2024-11-26 15:08:04 +01:00
  • d862355199 Add rendered PCB images github-actions 2024-11-26 14:02:56 +00:00
  • 7779207858 fix file extension and pcb path gab-k 2024-11-26 15:01:44 +01:00
  • 0736054a49 Update pcb_render.yaml Gabriel Koppenstein 2024-11-26 14:58:20 +01:00
  • b765f80048 Update action workflows gab-k 2024-11-26 14:54:02 +01:00
  • cc81e4ed4c Update render-pcbdraw.yml Gabriel Koppenstein 2024-11-25 23:37:38 +01:00
  • 5d82d0c3f7 Update render-pcbdraw.yml Gabriel Koppenstein 2024-11-25 23:15:11 +01:00
  • 42d6fe3ef6 Update render-pcbdraw.yml Gabriel Koppenstein 2024-11-25 23:11:19 +01:00
  • 6d04cfb8b3 Update render-pcbdraw.yml Gabriel Koppenstein 2024-11-25 23:07:53 +01:00
  • a83f53d3d8 Update render-pcbdraw.yml Gabriel Koppenstein 2024-11-25 23:03:36 +01:00
  • fc8653ad74 Update render-pcbdraw.yml Gabriel Koppenstein 2024-11-25 22:54:33 +01:00
  • c6ee7b2564 Create render-pcbdraw.yml Gabriel Koppenstein 2024-11-25 22:47:03 +01:00
  • 0380b398fc modify gitignore gab-k 2024-11-25 22:41:54 +01:00
  • 201d521be8 add auto generate .svg python scripts gab-k 2024-11-25 20:52:21 +01:00
  • dc53d98fda Moving some components on the schematic gab-k 2024-11-25 20:46:09 +01:00
  • a9c3c60b81 Changed 'LCSC Part Number' Field to 'LCSC Part #' gab-k 2024-11-24 23:23:50 +01:00
  • 78187ec19f Add LCSC Part numbers gab-k 2024-11-24 22:59:27 +01:00
  • 9240e5b1a7 New 4-Layer Board with USB; Update gitignore; Change Speed Table Comment; gab-k 2024-11-24 19:45:49 +01:00
  • bfa58bf5d6 Replace PJ75AL33SA with HT7533S gab-k 2024-01-27 12:51:50 +01:00
  • 626edd3a73 Add note regarding U1 / PJ75AL33SA LDO / Issue 23 to schematic; Update KiCad Project to version 7; Change C16 and C17 to 10pF gab-k 2024-01-09 21:48:46 +01:00
  • d417235df5 remove measure_base_pwm; add comments gab-k 2024-01-09 21:30:32 +01:00
  • c1564feb4b Mostly renaming, remove control_parameter_t.output, add control_parameter_t.startup.level, ... gab-k 2024-01-06 22:56:31 +01:00
  • f3ffb73b62 Copy code from flash to ram in order to not use XIP allowing writing to flash memory while both cores are running; Motor control now operates with two states/modes; Extended Default CV Range to 1024 - refers to NMRA/RCN standards gab-k 2024-01-05 00:37:21 +01:00
  • 577bc5dd5c Merge branch 'main' into dev gab-k 2024-01-03 12:05:45 +01:00
  • 93006b2b58 deploy: 9b8906f476 gab-k 2024-01-03 08:45:27 +00:00
  • 9b8906f476 Replace '≙' with '=' gab-k 2024-01-03 09:44:56 +01:00
  • baf9ea6081 Update .gitignore gab-k 2024-01-02 22:15:45 +01:00
  • 2433a6c53c deploy: 1810541e48 gab-k 2024-01-02 17:40:40 +00:00
  • 1810541e48 Update Doxyfile Gabriel Koppenstein 2024-01-02 18:40:23 +01:00
  • 88632c6b1d deploy: b5b5de89dd gab-k 2024-01-02 17:39:53 +00:00
  • b5b5de89dd Update doxygen-gh-pages.yml Gabriel Koppenstein 2024-01-02 18:39:38 +01:00
  • 1168d1faaa deploy: 3ef7fb99c7 gab-k 2024-01-02 17:30:32 +00:00
  • 3ef7fb99c7 Update doxygen-gh-pages.yml Gabriel Koppenstein 2024-01-02 18:30:19 +01:00
  • 1a8be495c3 deploy: 461f65c88d gab-k 2024-01-02 17:15:10 +00:00
  • 461f65c88d Update doxygen-gh-pages.yml Gabriel Koppenstein 2024-01-02 18:14:56 +01:00
  • 7f870bcf71 Merge remote-tracking branch 'origin/main' gk6394s 2024-01-02 17:07:35 +01:00
  • 38ec9bf60d Change Doxyfile paths to relative paths gk6394s 2024-01-02 17:07:18 +01:00
  • f529859eff Create doxygen-gh-pages.yml Gabriel Koppenstein 2024-01-02 16:33:38 +01:00
  • e0c0424f87 Refactor Motor PWM init and ADC init; Added doxygen documentation for some functions; Changed some settings in Doxyfile gk6394s 2024-01-02 16:10:00 +01:00
  • 8fb10e212e Simplify get_speed_step_table_index_of_speed_step(); Removed unnecessary parameter from adjust_pwm_level function; Removed some redundant else statements and redundant "== true" from some expressions; Fixed reset_message_check() function; Added const to some function parameters and local variables; gk6394s 2024-01-02 12:56:25 +01:00
  • 9ee13b67e7 Merge local branch 'changes' into main. gab-k 2024-01-01 21:55:27 +01:00
  • df9b0ba633 Reformatting and renaming some functions; replaced get_direction() with get_direction_of_speed_step() in order to simplify handling of direction; additional explanation comment in CV.h; add doxygen config file; gab-k 2024-01-01 19:21:47 +01:00
  • df009a5430 Update cmake-single-platform.yml r3drock 2023-12-31 21:21:25 +00:00
  • 0ca6f2ca13 Update cmake-single-platform.yml r3drock 2023-12-31 21:20:04 +00:00
  • 3f27046838 Create cmake-single-platform.yml r3drock 2023-12-31 21:18:26 +00:00
  • 5f0b51b043 Merge pull request #21 from gab-k/const r3drock 2023-12-31 21:13:17 +00:00
  • 02e1fdf156 make more variables const r3drock 2023-12-31 22:12:07 +01:00
  • 5ae65b301d Merge pull request #20 from gab-k/warnings r3drock 2023-12-31 20:23:51 +00:00
  • 78123663ce remove some warnings r3drock 2023-12-31 21:20:51 +01:00
  • d7f4621b96 Completly remove .idea files and update .gitignore accordingly gab-k 2023-12-30 17:48:24 +01:00
  • 3364793a6f Completly remove .idea files and update .gitignore accordingly gab-k 2023-12-30 17:46:43 +01:00
  • 6df051019d Modified .gitignore gab-k 2023-12-30 16:09:45 +01:00
  • 9cf7301af7 Update .gitignore gab-k 2023-12-30 16:01:01 +01:00
  • 5ec8f953b4 Merge branch 'main' into dev gab-k 2023-12-30 15:37:54 +01:00
  • 52ec79105d Revert changes to LOG macro gab-k 2023-12-30 15:37:38 +01:00
  • 4b125c3488 Merge branch 'main' into dev gab-k 2023-12-30 15:25:10 +01:00
  • 12e54994a8 PCB routing gab-k 2023-12-30 15:23:39 +01:00
  • c8b75ee71f Fix missing Bitmask in F0-F4 function evaluation, Handle NULL-pointer in get_direction(), CMakelists.txt disable optimizing, Upload CLion config gab-k 2023-12-26 18:59:58 +01:00
  • 27d68d3d24 Merge pull request #19 from gab-k/refactorlogging Gabriel Koppenstein 2023-12-23 18:13:34 +01:00
  • 626e20fa5f add more lines r3drock 2023-12-23 18:07:08 +01:00
  • 992d6ae800 always append a new line to log r3drock 2023-12-23 17:58:42 +01:00
  • 721e5d5a65 PCB Routing gab-k 2023-12-20 18:35:24 +01:00
  • f28e594051 USB PCB routing, minor changes to schematic gab-k 2023-12-14 21:41:58 +01:00
  • 4c1be24278 added pcb constraints, changed designators, updated footprints and 3d-models, created board outline gab-k 2023-12-05 23:27:29 +01:00
  • 1ce384943e Changes to schematic, Created PCB gab-k 2023-12-04 21:00:05 +01:00
  • 07b792ac13 created USB and non-USB folders; added USB schematic gab-k 2023-12-04 19:54:08 +01:00
  • f0a23c208e corrected .gitignore gab-k 2023-12-04 19:18:19 +01:00
  • 570401489b fixed wrong parameter in measure() function call v0.3 gab-k 2023-10-15 14:46:59 +02:00
  • 10fbcb5815 Merge pull request #10 from questor/main Gabriel Koppenstein 2023-07-15 11:27:28 +02:00
  • 562258e433 remove ALL logging if not enabled questor/Inter 2023-05-27 22:41:52 +02:00
  • 36f20a8ca3 some more comments questor/Inter 2023-05-27 22:04:56 +02:00
  • 8877e4862d disable logging by default, added comments how to enable it and what are the consequences questor/Inter 2023-05-12 21:05:48 +02:00
  • 995dca15c8 more debug printfs, disabled function usage of gpio0/1, disabled usb interface to save some 25kb in the firmware image questor/Inter 2023-05-08 22:50:19 +02:00
  • 23b69d6823 more debug output questor/Inter 2023-04-27 23:07:19 +02:00
  • a0408c28ed some refactoring questor 2023-04-27 15:53:59 +02:00
  • a57295817e Merge pull request #2 from WolfgangGitHub/main Gabriel Koppenstein 2023-01-11 22:28:15 +01:00
  • 3a3dbb4b63 fix writing CV_1 - the default case was missing Wolfgang 2023-01-08 22:07:59 -05:00
  • 39056097d9 Update README.md Gabriel Koppenstein 2022-08-11 23:25:32 +02:00
  • 8f1f5cf915 - added/changed files for documentation - added comment regarding CV array addresses 1nct 2022-08-06 13:54:26 +02:00
  • 15a46b9dee - added files for documentation - fixed undesired behaviour for direction change while decelerating - adjusted default value for CV_54 & CV_55 v0.1 1nct 2022-08-06 11:01:29 +02:00
  • 0219963dd7 - Minor changes to variable names, comments & formatting - Removed obsolete parameter previously used in program_mode - Added correction constant regarding base pwm measurement - Revised GPIO definitions (shared.h) 1nct 2022-08-03 19:19:14 +02:00
  • bae6fff659 - Added GPIO svg 1nct 2022-08-02 20:51:29 +02:00
  • 1cb5ddbae0 - Added long address svg - Direction is now preserved on packet timeout - Address > 127 can no longer be written to flash as it is not valid 1nct 2022-08-02 15:02:45 +02:00
  • 64561d622b - Updated svg files (transparent bg) 1nct 2022-08-02 00:24:58 +02:00
  • c8eece795f - Added and updated svg files used in docs - minor change in speed_table calculation 1nct 2022-08-01 21:28:06 +02:00
  • 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 1nct 2022-08-01 17:20:05 +02:00
  • f09c4ff136 - Reduced amount of global variables. Many variables are now initialized in main() and core1_entry() respectively and then passed as pointer. - Updates in speed steps are passed via multicore fifo. - Pointer to direction variable is also passed from core1 to core0 via multicore fifo - PID parameter struct definition moved to core1.h - Implemented variable Proportional gain function - Implemented function to determine base pwm level - Minor changes regarding variable names - Added more comments to roughly describe functionality of functions 1nct 2022-07-28 14:33:48 +02:00
  • 15f67f6c8c Change to Pin assignements in shared.h 1nct 2022-07-18 13:33:42 +02:00
  • 1d687b1fd9 Add files via upload Gabriel Koppenstein 2022-05-27 14:57:08 +02:00
  • 9e68c5b3ec AUX GPIO are now 24-27, ADC GPIO are now 28 and 29 DCC_IN is now 21 - Board Revision is now "0.3" - Omitted Rev. in Kicad filenames unknown 2022-05-02 20:39:42 +02:00
  • ad570fba35 - remove m_pwm_offset_adjustment; - offset now adjusted in pid_control loop; - pid sampling time depends on speed step; - speed table implemented & and init function; 1nct 2022-03-12 10:23:51 +01:00
  • 330d42a17e - changes to ADC offset adjustment; - changes to output set function; - cv_setup_check() now waits for core1 to launch also after programming 1nct 2022-03-06 01:03:17 +01:00
  • 65250846f9 - improved PIN_MASK definitions; -implemented adc offset adjustment; - implemented startup checks for: factory flash setting, adc offset adjustment, motor offset adjustment; - implemented adc_offset CVs; - implemented CV_65 as indication for flash factory condition; -fixed core0.h 1nct 2022-03-05 14:46:48 +01:00
  • a6fa9ef249 -updated readme, -modified F0-F31 handling, - implemented pwm for F0-F31 1nct 2022-03-05 01:41:40 +01:00
  • 4f5283521d readme update & docs/png update (PCB Front png) 1nct 2022-03-02 09:12:17 +01:00
  • 47d1543109 -updated docs/png 1nct 2022-03-02 08:53:32 +01:00
  • efa3622e80 -updated docs/png -slight change to f.silkscreen 1nct 2022-03-02 08:49:10 +01:00
  • 9f9b7f74d5 updated svg 1nct 2022-03-01 22:02:48 +01:00