Skip to content

CAN ISR#248

Merged
VihanJ merged 74 commits intomainfrom
CAN_ISR
Mar 15, 2026
Merged

CAN ISR#248
VihanJ merged 74 commits intomainfrom
CAN_ISR

Conversation

@VihanJ
Copy link
Copy Markdown
Contributor

@VihanJ VihanJ commented Feb 23, 2026

CAN ISR

Problem and Scope

  • CAN library to handle circular buffer logic for tx (may implement rx later, if needed)

Description

Gotchas and Limitations

  • may need to use a hardware timer for draining TX_buffer
  • Only supports STM32G474xx, no other families are supported.

Testing

  • HOOTL testing
  • HITL testing
  • Human tested

Testing Details

  • unit tests for can_init, can_release, and can_start are partially completed

  • need to write tests for can_stop, other tests may be needed as well.

Larger Impact

Additional Context and Ticket

@VihanJ VihanJ requested a review from dchansen06 as a code owner February 23, 2026 02:58
@dchansen06 dchansen06 changed the title Can isr CAN ISR Feb 23, 2026
@dchansen06 dchansen06 added Enhancement New feature or request 2 PRIORITY Important and a priority, but less than URGENT Big Fry Something that is complex and/or large Peripheral Related to or involving a peripheral including abstractions labels Feb 23, 2026
@dchansen06 dchansen06 linked an issue Feb 23, 2026 that may be closed by this pull request
@dchansen06 dchansen06 marked this pull request as draft February 23, 2026 04:32
@dchansen06 dchansen06 removed the 2 PRIORITY Important and a priority, but less than URGENT label Feb 23, 2026
ahoysal and others added 8 commits March 12, 2026 20:36
(probably merge shenanagains)

Co-authored-by: Daniel Hansen <105574022+dchansen06@users.noreply.github.com>
Signed-off-by: Aagrim Hoysal <36976269+ahoysal@users.noreply.github.com>
Co-authored-by: Daniel Hansen <105574022+dchansen06@users.noreply.github.com>
Signed-off-by: Aagrim Hoysal <36976269+ahoysal@users.noreply.github.com>
@VihanJ VihanJ marked this pull request as ready for review March 13, 2026 17:50
Copy link
Copy Markdown
Contributor Author

@VihanJ VihanJ left a comment

Choose a reason for hiding this comment

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

lgtm

dchansen06
dchansen06 previously approved these changes Mar 15, 2026
Copy link
Copy Markdown
Contributor

@dchansen06 dchansen06 left a comment

Choose a reason for hiding this comment

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

Lgtm, pending external test

@dchansen06 dchansen06 self-requested a review March 15, 2026 19:39
Copy link
Copy Markdown
Contributor

@dchansen06 dchansen06 left a comment

Choose a reason for hiding this comment

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

Lgtm, pending external test

@dchansen06 dchansen06 self-requested a review March 15, 2026 19:39
Copy link
Copy Markdown
Contributor

@dchansen06 dchansen06 left a comment

Choose a reason for hiding this comment

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

Lgtm, pending external test

@dchansen06 dchansen06 self-requested a review March 15, 2026 19:40
@dchansen06 dchansen06 dismissed their stale review March 15, 2026 19:41

Lgtm, pending external test

Copy link
Copy Markdown
Contributor Author

@VihanJ VihanJ left a comment

Choose a reason for hiding this comment

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

  • Only supports STM32G474xx, no other families are supported.

Copy link
Copy Markdown
Contributor

@dchansen06 dchansen06 left a comment

Choose a reason for hiding this comment

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

Lgtm, pending external test

@VihanJ VihanJ merged commit 128f431 into main Mar 15, 2026
33 checks passed
@VihanJ VihanJ deleted the CAN_ISR branch March 15, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 URGENT Urgent issue that needs a quick action and resolution Big Fry Something that is complex and/or large CMake Anything related to or dealing with CMake Documentation Improvements or additions to documentation Enhancement New feature or request Peripheral Related to or involving a peripheral including abstractions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CAN Peripheral Abstractions

4 participants