Skip to content

Initial test technique for CAN messages -- Random messages #7

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

YVishere
Copy link
Contributor

The idea is to initialise data so that it can be sent through CAN. I decided to create a function the assigns random values and we will verify if those values are reliably sent over. Other techniques can be defined with different values of DEBUG_TECHNIQUE

Copy link
Contributor

@bquan0 bquan0 left a comment

Choose a reason for hiding this comment

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

Overall, looks pretty good! Just a few small things to fix.

@bquan0
Copy link
Contributor

bquan0 commented Mar 9, 2025

The latest commit 867ef3e is NOT working. It's because of the MCU_MC_ON pin PA2, which coincides with UART TX 2, which is the default UART for the L432KC. This should be fixed by changing the pins to the latest schematics since the latest schematics don't use PA2.

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.

2 participants