Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kevin/bms/imd decoding fix #1424

Merged
merged 2 commits into from
Jan 14, 2025
Merged

Kevin/bms/imd decoding fix #1424

merged 2 commits into from
Jan 14, 2025

Conversation

KelmLelm
Copy link
Contributor

Changelist

Changed the trigger source for tim1 from ti1fp2 to ti1fp1 since we switched the channels 1 and 2 functionality from thruna to quadruna. Also changed the user constants for the tim1 frequency to the value of the clk config.

Testing Done

Tested with function generator and oscilloscope to confirm readings were accurate.

Resolved Tickets

FIRM-221

@@ -74,7 +74,7 @@ extern "C"
#define TIMx_FREQUENCY 512000000
#define IWDG_RESET_FREQUENCY 5
#define TASK1KHZ_STACK_SIZE 512
#define TIM1_FREQUENCY 512000000
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@will-chaba "small bug left behind"
Cough Cough "IMD Quadruna never working" Cough Cough

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

85b4a7a 👀

Copy link
Contributor

@DJ90864 DJ90864 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@DJ90864 DJ90864 merged commit c53d212 into master Jan 14, 2025
29 checks passed
@DJ90864 DJ90864 deleted the kevin/BMS/IMDDecodingFix branch January 14, 2025 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants