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

STM32F1 CAN: Incorrect AF number for PB_8/PB_9 CAN pins #3474

Closed
bcostm opened this issue Dec 20, 2016 · 0 comments
Closed

STM32F1 CAN: Incorrect AF number for PB_8/PB_9 CAN pins #3474

bcostm opened this issue Dec 20, 2016 · 0 comments

Comments

@bcostm
Copy link
Contributor

bcostm commented Dec 20, 2016

Description


Bug

Target
NUCLEO_F103RB

Toolchain:
ALL

Expected behavior
CAN is working when PB_8/PB_9 pins are used.

Actual behavior
PB_8/PB_9 pins are not connected to the CAN peripheral.


Enhancement

Change the AF number to 10 instead of 1 on PB_8/PB_9 pins in PinMap_CAN_RD/TD tables in PeripheralPins.c file.

Add "case 10" in pin_function() in pinmap.c

See Bill's answer in
https://developer.mbed.org/questions/76094/how-to-use-STM32F103RB-CAN/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants