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
3.3 3.3V test2
3.3 3.3V test2
GND Ground test2
A0 xx test2
A1 xx test2
A2 xx test2
A3 xx test2
A4 xx test2
A5 xx test2
SCK SCK / GPIO23 / PB13 test2
MO MOSI / GPIO25 / PB15 test2
MI MISO / GPIO24 / PB14 test2
RX RX / GPIO 0 / PB11 test2
TX TX / GPIO 1 / PB10 test2
B0 xx test2
Bat xx test2
En xx test2
USB xx test2
13 GPIO 13 / PC1 test2
12 GPIO 12 / PC2 test2
11 GPIO 11 / PC3 test2
10 GPIO 10 / PB9 test2
9 GPIO 9 / PB8 test2
6 GPIO 6 / PC6 test2
5 GPIO 5 / PC7 test2
SCL SCL / GPIO 15 / PB6 test2
SDA SDA / GPIO 14 / PB7 test2

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.1617453350.txt.gz · Dernière modification : 2021/04/03 14:35 de 10.255.0.2