diff options
author | Markus Fritsche <37203914+marfrit@users.noreply.github.com> | 2022-10-20 23:29:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-20 14:29:57 -0700 |
commit | dbce41cb6be91005c529bd906dfe22ac55da192f (patch) | |
tree | 26c41c247de72a94e51055d9c316f1bd1ddcd789 /docs/platformdev_blackpill_f411.md | |
parent | d13f5f0d662175a2d7b4fc93941dc996bfa92ff2 (diff) |
[Docs] Update platformdev_blackpill_f411.md (#18666)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'docs/platformdev_blackpill_f411.md')
-rw-r--r-- | docs/platformdev_blackpill_f411.md | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/docs/platformdev_blackpill_f411.md b/docs/platformdev_blackpill_f411.md deleted file mode 100644 index 9026768a01..0000000000 --- a/docs/platformdev_blackpill_f411.md +++ /dev/null @@ -1,48 +0,0 @@ -# WeAct Blackpill (STM32F411) - -The WeAct Blackpill is a popular choice for handwired boards, as it offers a powerful micro controller, USB Type C, a good number of pins to use, and a large amount of firmware space. All for a ~$6 USD price tag. - -* [WeAct GitHub for F411 Blackpill](https://github.com/WeActTC/MiniSTM32F4x1) - * Unfortunately, due to supply issues official WeAct F411 based blackpills may not be available. - -![Blackpill F411](https://i.imgur.com/nCgeolTh.png) - - -## Pin Usage Limitations - -While the Blackpill is a great choice to use in your keyboard, there are a number of caveats in regards to using them. The first is that a number of exposed pins cannot be used, or have special considerations/hardware tweaks that are required for proper opertion. - -### Unusable pins -* Pins `A11` and `A12` are not useable because they're used for USB connection, and cannot be shared. - * In theory, these pins can be used. However, doing so may disable USB connectivity, outright, if used for anything other than a USB port -* Pin `B2` is used by `BOOT1` and cannot be used, without causing problems. -* `VBAT` is not a usable pin. -* `NRST` is not a usable pin. - -### Pins to be avoided -* Pin `A9` is meant for VBUS Sense and should not be used, if it can be avoided. It has an internal pull-down resesitor, which may cause issues with usage. However, a pull-up resistor can work (~5.1k), but should be avoided. -* Pin `A10` can be used, but should be avoided. Any connection on this pin can prevent the bootloader from entering the proper mode for DFU flashing. A pull-up resistor (~22k) on this pin fixes the bootloader issue. - -### Shared Usage -* Pin `A0` is shared with the User Key (button) on the controller. It can be used. -* Pin `C13` is shared with the onboard LED indicator, and is connected to +3.3V. This can be used, but may cause the LED to blink intermittently, depending on activity on the pin. - * -* Pins `A4`, `A5`, `A6` and `A7` are used by the SOI8 footprint on the back of the controller, that can be used for either an SPI Flash chip, or an SPI EEPROM chip. `A4` is the Chip Select pin, and cannot be shared. However, `A5`, `A6`, and `A7` are the `SCK`, `MISO`, and `MOSI` pins, respectively, and can be shared with other SPI devices. - -### Limited Usage -* Pins `C13`, `C14`, and `C15` have limits on output current. They should be used only as input. Eg, they should not be used for row pins in COL2ROW matrix configurations, but can be used as column pins. - * This is because the column pins (in COL2ROW) are pulled up (the pullup strength is independant of the current sourcing limitation) and the ROW is driven low and sinks current, then we check the state of the COLs to look for keypresses. - -* Pins `A0` and `B5` are not 5V tolerant, and should only be used with 3.3V compatible functionality. - -## Additional Information - -### Bootloader issuse - -Due to the use of a 25MHz crystal, the controller may have issues entering the bootloader. Heating up the controller can help with this issue. - -Also, if pin `A10` is connected to anything at all, it needs to have a pullup resistor (see [Pins to be avoided](#pins-to-be-avoided), above) - -### Tiny UF2 Support - -There is [tinyuf2 support for the WeAct Blackpill](https://github.com/adafruit/tinyuf2/tree/master/ports/stm32f4/boards/stm32f411ce_blackpill). Instructions on how to compile the bootloadr can be found [here](https://github.com/adafruit/tinyuf2#build-and-flash). Setting `BOOTLOADER = tinyuf2` will enable support for this user bootloader, and the correct configuration to prevent it from being overwritten when flashing firmware. |