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

Pd cc bms mci changes (new boards + new fsm) #275

Merged
merged 16 commits into from
May 4, 2024

Conversation

Akashem06
Copy link
Member

No description provided.

projects/centre_console/inc/pedal.h Outdated Show resolved Hide resolved
projects/centre_console/inc/steering.h Outdated Show resolved Hide resolved
projects/bms_carrier/inc/relays.h Outdated Show resolved Hide resolved
projects/bms_carrier/src/relays.c Show resolved Hide resolved
state = ((val2 & 8) != 0) ? GPIO_STATE_HIGH : GPIO_STATE_LOW;
gpio_set_state(&display->D2, state);
// state = ((val2 & 8) != 0) ? GPIO_STATE_HIGH : GPIO_STATE_LOW;
// gpio_set_state(&display->D2, state);
Copy link
Collaborator

Choose a reason for hiding this comment

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

These need the un-remap right?

Copy link
Member Author

Choose a reason for hiding this comment

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

yesh from what i understand debug logging uses PB7 (d2) which is already a remapped pin. Disabling the remap wont work either since those pins are used too (PA8/PA9 on datasheet). Maybe a smoke test without any logging/uart implementation would be useful to verify this? I do have a seg_display smoke but log is being initialized there. Best workaround for the future is probably asking Forest to remove that pin from the schematic so its never used again 😭

image

Copy link
Member Author

Choose a reason for hiding this comment

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

image

Copy link
Member Author

Choose a reason for hiding this comment

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

image

@mitchellostler mitchellostler merged commit 081c401 into main May 4, 2024
1 check passed
@mitchellostler mitchellostler deleted the pd_cc_bms_mci_changes branch May 4, 2024 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants