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

Specify can individual can pins from program #1

Closed
phoenixs3 opened this issue May 8, 2022 · 2 comments
Closed

Specify can individual can pins from program #1

phoenixs3 opened this issue May 8, 2022 · 2 comments

Comments

@phoenixs3
Copy link

While having default and alternate pin preset declarations is useful, for certain applications (such as mine) I use PB5 and PB13 for can 2. This is not possible without a library modification currently.

Ideally functionality would be: STM32_CAN Can2(CAN2, PB_5, PB_13);

@pazi88
Copy link
Owner

pazi88 commented May 9, 2022

Didn't even know that you can mix the CAN TX and RX alternative pins like that. At least with F103 the RX and TX pins come in those predefined "pairs". Though for other ones that might be possible to do, but I haven't tested at all. If it works, I can add function for that.

@pazi88
Copy link
Owner

pazi88 commented Jan 23, 2025

Closed via #45

@pazi88 pazi88 closed this as completed Jan 23, 2025
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

2 participants