Skip to content
Discussion options

You must be logged in to vote

Hello all,

An update on this topic. In the end, I finally choose a solution in which I completely remove the interrupt and use
polling of the pin. I agree with you henrik, this is not a good way to do it. However, for now, this is a solution
that suits my needs.

I could not easily change the hardware, I don't need important CAN bitrate so that's fine. I don't think there's
any change to bring to zephyr code, it's quite easy to spot when you're using the hardware that you have a misconfiguration
using GPIO_LEVEL_INTERRUPTS.

Regarding one of my initial question: "Am I the first one ever who have tried to connect an STM32 (or EFR32 in my case) with an MCP251x CAN controller ?"

The answer is …

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@adri1mart1
Comment options

@henrikbrixandersen
Comment options

@adri1mart1
Comment options

@henrikbrixandersen
Comment options

Comment options

You must be logged in to vote
3 replies
@henrikbrixandersen
Comment options

@ndrs-pst
Comment options

@henrikbrixandersen
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by adri1mart1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants