Outils pour utilisateurs

Outils du site


adafruit_feather_stm32f405_express

Ceci est une ancienne révision du document !


Adafruit Feather STM32F405 Express

Carte de développement au Adafruit comprenant un micro-contrôleur STM32F405.

Pinout

Il n'y a pas de schéma de pinout classique sur le net pour cette board, donc je vais faire ça à la main. La première colonne correspond au label présent sur le pin correspondant de la board.

Pin label Names Use Alternate Use
RST Reset test2 test2
3.3 3.3V test2 test2
3.3 3.3V test2 test2
GND Ground test2 test2
A0 xx test2 test2
A1 xx test2 test2
A2 xx test2 test2
A3 xx test2 test2
A4 xx test2 test2
A5 xx test2 test2
SCK SCK / GPIO23 / PB13 test2 I2S2 Clock, CAN2 TX
MO MOSI / GPIO25 / PB15 test2 I2S2 SD
MI MISO / GPIO24 / PB14 test2 I2S2ext SD
RX RX / GPIO 0 / PB11 test2 I2C2 SDA
TX TX / GPIO 1 / PB10 test2 I2C2 SCL
B0 xx test2 test2
Bat xx test2 test2
En xx test2 test2
USB xx test2 test2
13 GPIO 13 / PC1 Connected to the red LED next to the USB jack No PWM or alternate uses
12 GPIO 12 / PC2 test2 I2S2ext SD, SPI2 MISO
11 GPIO 11 / PC3 test2 I2S2 SD, SPI2 MOSI
10 GPIO 10 / PB9 test2 CAN1 TX, I2C1 SDA
9 GPIO 9 / PB8 test2 CAN1 RX, I2C1 SCL
6 GPIO 6 / PC6 test2 USART6 TX, I2S2 MCK
5 GPIO 5 / PC7 test2 USART6 RX, I2S3 MCK
SCL SCL / GPIO 15 / PB6 test2 USART1 TX, CAN2 TX
SDA SDA / GPIO 14 / PB7 test2 USART1 RX

USART

IL existe 3 USART sur cette board : * USART1 RX=“SDA” / TX=“SCL” * USART3 RX=“RX” / TX=“TX” * USART6 RX=“5” / TX=“6”

C'est bien USART3 qui est utilisé pour le serial USB, et non l'USART1 !

PlatformIO

Pour un usage correct avec platform.io (Upload + Monitor), il est nécessaire que le fichier platformio.ini du projet soit configuré de manière spécifique, avec des build_flags tels qu'indiqué ci-dessous :

[env:adafruit_feather_f405]
platform = ststm32
board = adafruit_feather_f405
framework = arduino
build_flags = 
     -w
     -D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
     -D USBCON
     -D USBD_VID=0x0483
     -D USB_MANUFACTURER="Unknown"
     -D USB_PRODUCT="\"FEATHER_F405\""
upload_protocol = dfu
lib_deps = 
     Adafruit NeoPixel

Liens Externes

adafruit_feather_stm32f405_express.1617453558.txt.gz · Dernière modification : 2021/04/03 14:39 de 10.255.0.2