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

Fix:Hangup issue when sending. #118

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

kouuta
Copy link
Contributor

@kouuta kouuta commented Mar 20, 2023

Problem

When the bus is in an unstable state, sending packets will cause a hang-up.

Solution

Change the description of waiting in the while statement until the TX Complete register switches to an if statement.
Change the function return value to determine whether the register has switched.

Verification

Confirm that communication can be resumed even when the CAN High/Low is shorted.

Notification

This PR will solve the issue #60

@kouuta kouuta marked this pull request as draft March 20, 2023 05:30
@kouuta kouuta changed the title 送信時のハングアップ対策 Fix:Hangup issue when sending. Mar 20, 2023
@kouuta kouuta marked this pull request as ready for review March 20, 2023 13:41
@kouuta kouuta mentioned this pull request Mar 20, 2023
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.

1 participant