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

Problems with Rx/Tx CAN Messages #5

Open
digget opened this issue Aug 26, 2021 · 2 comments
Open

Problems with Rx/Tx CAN Messages #5

digget opened this issue Aug 26, 2021 · 2 comments

Comments

@digget
Copy link

digget commented Aug 26, 2021

Hi Ben,
First of all, thanks for the great work with your controllers!

We produced two of your motorcontrollers for testing and ran into an issue with the CAN bus.
The interrupt of the CAN receiver doesn't fire and if we try to send messages manually from the controller, it's not visible on the bus.
As it turns out, by measuring with an oscilloscope, the CAN transceiver works just fine and produces a correct signal on the Rx line. Adding a can message to the tx buffer, results in a recessive bus on the Tx line, nothing happens.

Did you ever experience similar behavior with your controllers? We measured all connections from the stm32 to the transceiver and they are connected correctly. We couldn't pinpoint the problem down, and we don't know if our hardware is defective or if it's an issue with the software. Both of our boards have the same behavior.

Maybe you have an idea what's going on.

@yulinwuya
Copy link

I have encountered similar problems. Later, it was found that it was caused by CAN and CAN interrupt not being turned on.I thought stm32cubemx would open it for me, but it didn't...

@fabioardiani
Copy link

fabioardiani commented Aug 4, 2023

Hi, if I understood well it is the same problem I had, and it was solved by configuring the Rx pin as an internal PULL-UP on the stm32.

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

No branches or pull requests

3 participants