-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Pin missing from PeripheralPins.c #4894
Comments
Hi As an example , you can see it in |
@brandonboesch - one more question, are you facing an actual issue ?
|
Thanks for the clarification. Using SPI_CS as SW GPIO will work fine for my purposes. Closing the issue. |
… CS pinmap, but rather the DigitalIO pinmap, per response of issue that I raised here: ARMmbed/mbed-os#4894
… the cs pin in the CS pinmap, but rather the DigitalIO pinmap, per response of issue that I raised here: ARMmbed/mbed-os#4894
Description
Target
STM32F401 Nucleo
mbed-os sha:
f4864dc Merge pull request #3930 from ARMmbed/release-candidate
Issue
The issue is in regards to PeripheralPins.c for the STM32F401 Nucleo board which can be found at :
targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/TARGET_NUCLEO_F401RE/PeripheralPins.c
In this file, the pinmap for SPI_SSEL is missing its default arduino header pin that is defined in PinNames.h The image below shows two different pin maps for the device from PeripheralPins.c, SPI_SCLK and SPI_SSEL. Notice how SPI_SCLK has the arduino pin commented on, and that SPI_SSEL does not.
Now look at PinNames.h found at: /targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F401xE/TARGET_NUCLEO_F401RE/PinNames.h
You will notice that the default SPI_CS pin is PB_6 (as highlighted in the image below), which is not added to the PinMap in PerphiralPins.c. I have not checked whether other STM Nucleo boards have similar issues as well.
The text was updated successfully, but these errors were encountered: