Ceci est une ancienne révision du document !
Table des matières
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 | test1 | test2 |
|---|---|---|
| RST | RX / GPIO 0 / PB11 | test2 |
| 3.3 | TX / GPIO 1 / PB10 | test2 |
| 3.3 | test1 | test2 |
| GND | test1 | test2 |
| A0 | test1 | test2 |
| A1 | test1 | test2 |
| A2 | test1 | test2 |
| A3 | test1 | test2 |
| A4 | test1 | test2 |
| A5 | test1 | test2 |
| SCK | test1 | test2 |
| MO | test1 | test2 |
| MI | test1 | test2 |
| RX | test1 | test2 |
| TX | test1 | test2 |
| B0 | test1 | test2 |
| Bat | test1 | test2 |
| En | test1 | test2 |
| USB | test1 | test2 |
| 13 | test1 | test2 |
| 12 | test1 | test2 |
| 11 | test1 | 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
Produit : https://adafru.it/4382
Information produit : https://learn.adafruit.com/adafruit-stm32f405-feather-express