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

CAN driver #66

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open

CAN driver #66

wants to merge 6 commits into from

Conversation

MohnishDe
Copy link

Using the charger data sheet, implemented different CAN messages. There are some TODOs left. These include finding the actual charging current. The CAN_charging_driver is not completed yet (it is up to the reviewer's discretion to add it or not).

@MohnishDe MohnishDe linked an issue Jul 13, 2024 that may be closed by this pull request
can_message1 message_13;
can_message1 message_14;

message_10.id = id1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Make messages 10 to 14 have global variable pointers, then initialize them in this function. We need to be able to access these CAN messages outside of the init function, and right now they'd be deleted at the end of it.

*/

#include "can.h"
#include "can_driver.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be can_charger_driver.h

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.

Develop Charger Driver
2 participants