Commit Graph

28 Commits

Author SHA1 Message Date
copper280z
a0533926da add firmware control of current sense gain pins
add commented call to initialize current sense object
2024-03-05 20:55:03 -05:00
d1318f2d0b Update firmware defines to match hardware 2024-02-06 14:03:28 -05:00
copper280z
5554a35eea Changed initial motor setpoint to the current angle, so that motor doesn't make a violent move on startup 2024-01-13 12:58:35 -05:00
8ee5d11fe5 v3 fixes, appropriate inductor 2024-01-12 19:14:52 -05:00
2e4a91f061 remove OPA2 for rev 3 2023-12-04 20:51:47 -05:00
c825db4dd8 add DFU button. update defines for v3 2023-11-17 20:46:57 -05:00
7d617df636 Merge branch 'main' into currentsense
sync current sense to main
2023-11-17 20:37:24 -05:00
4495b5a61d rev3 documentation 2023-11-17 20:20:40 -05:00
copper280z
fef9087a00 fix opamp instance
fix voltage scale in utils.cpp
fix switch case for pins in _readADCVoltageInline

added commented out lines for my motor config, changed PID values, added global monitor variables near loop
2023-11-15 08:52:30 -05:00
37d5e4b64c oops msp deinit 2023-11-14 21:11:23 -05:00
25224f7b7e add vmotor pin in gpio init 2023-11-14 21:06:31 -05:00
06cc2f413d got current sense readings! 2023-11-14 21:03:05 -05:00
0dae513a2c tinker with dma 2023-11-14 12:18:41 -05:00
copper280z
404a390372 Fix calls to init opamp3 based on cubeMX. 2023-11-13 09:42:12 -05:00
54e705ad55 try unity gain 2023-11-12 18:19:09 -05:00
1c711e71dc get ADC trigger working 2023-11-12 15:38:01 -05:00
505e9bb7c2 fix clock tree 2023-11-12 12:45:13 -05:00
copper280z
d691329e86 Add some debug prints
fix function def for init ADC, so it overrides the weak generic version

fix caps in mt6835 include so gcc is happy
2023-11-10 22:44:04 -05:00
copper280z
5125602875 Change references to BLDCDriver to FOCDriver in current sense base class
change setPwm function in FOCDriver to accept 3 args, with a default value for the 3rd

Change stepper driver classes to use 3 arg setPwm, ignoring 3rd arg.

created InlineCurrentSenseSync class in lib/currentsense.

fixed timer bug in calibrate encoder, in main

defined a label for serialusb, to make it easier to swap out.
2023-11-10 21:49:39 -05:00
deea94b076 try to fix submodule 2023-11-09 19:02:15 -05:00
c1d45aa443 work on current sense 2023-11-09 18:50:34 -05:00
e76815fb03 redraw USB C connector with proper mounting holes 2023-11-09 01:15:15 -05:00
7e7f196408 bringup changes 2023-11-08 17:15:38 -05:00
1bec8bc5b7 start working on current sense 2023-11-06 18:22:35 -05:00
e2765ec727 start on firmware 2023-11-01 23:18:12 -04:00
e15533d740 fix bringup issues 2023-11-01 23:03:33 -04:00
4e71a6c509 update firmware defines to support pcb rev 2 2023-10-28 17:28:08 -04:00
2526e44378 firmware defines 2023-10-22 09:32:07 -04:00