Difference between revisions of "BLACK-PILL-HUB"

From Land Boards Wiki
Jump to navigation Jump to search
Line 147: Line 147:
 
=== H3, H4, H5, H6 - I2C Power ===
 
=== H3, H4, H5, H6 - I2C Power ===
  
* Select the power to/from the I2C interface
+
* Select the power to/from the (4) I2C interfaces
 
* Install in one of the two positions to power the external I2C interface from the board
 
* Install in one of the two positions to power the external I2C interface from the board
 
* Remove if power comes in from external I2C interface
 
* Remove if power comes in from external I2C interface

Revision as of 15:51, 29 January 2021

Black-Pill-Hub P1383-720px.jpg

Features

Black Pill Module

Not pin compatible with Blue Pill due to power pin locations

BlackPillBoard-720px.png

Connectors

J1 - 5V power

  • DC jack
  • 5V
  • Center positive

J4 - 5V Power

  • 5mm terminal block

J7 - I2C

  • The I2C interface that goes to the I2C hub part
  1. SCL (PB6)
  2. SDA (PB7)
  3. 3.3V
  4. GND

P1 - 5V

  • 2x4 header with 5V from H2 (Rev 4 card)

P2 - Vbattery

  • Battery power to the Black Pill board
  1. GND
  2. Vbat

P3 - FTDI connector (Rev X1-X3)

  • To cable to FTDI wires swap pins 4 and 5 in cable
  • FTDI card jumper has to be set to 3.3V since STM32 has 3.3V signal levels
  1. GND
  2. N/C
  3. VCC (to H8 pin 2)
  4. TX (to Black Pill RX) (PA10 pin on STM32)
  5. RX (to Black Pill Tx) (PA9 pin on STM32)
  6. RESET*

FTDI rot.jpg

P3 - FTDI Module (Rev 4 or higher)

  • Cheap FT232 module pinout

FTDI rot.jpg

P4, P5, P6, P7 - I2C Interfaces #0-#3

  1. INT*
  2. SCL
  3. SDA
  4. VCC
  5. GND

P8 - SPI

  1. PA6 (MISO)
  2. 3.3V
  3. PA5 (SCK)
  4. PA7 (MOSI)
  5. RES
  6. GND

P11/P12 - GVS Connector

  • Ground, Power, Signal pins
  1. PC13
  2. PC14
  3. PC15
  4. NA
  5. PA0
  6. PA1
  7. PA2
  8. PA3
  9. PA4
  10. PA5/SCK1
  11. PA6/MISO1
  12. PA7/MOSI1
  13. PB0
  14. PB1
  15. PB2
  16. PB10

P12/P13 - GVS Connector

  • Ground, Power, Signal pins
  1. GND
  2. PB9
  3. I2C_INT (PB8)
  4. I2C_SDA (PB7)
  5. I2C_SCL (PB6)
  6. PB5
  7. PB4
  8. PB3
  9. PA15
  10. PA12
  11. PA11
  12. RX
  13. TX
  14. PA8
  15. PB15
  16. PB14
  17. PB13
  18. PB12

Headers

H1 - 3.3V source select

  • 1-2 power from 5V to 3.3V regulator
  • 2-3 Power from Black Pill board 3.3V regulator

H2 - 5V Power Source

  • T-shaped header
  • Up - Power 5V from FTDI 5V
  • Down - Power 5V from Black Pill Hub USB power
  • Left - Power 5V from DC Jack

H3, H4, H5, H6 - I2C Power

  • Select the power to/from the (4) I2C interfaces
  • Install in one of the two positions to power the external I2C interface from the board
  • Remove if power comes in from external I2C interface
  1. 3.3V
  2. 5V

H9 - Hub Chip Address

  • Select the 3-bit (A0-A2) address of the PCA9544A I2C hub
  • Remove for 1, install for 0

Switches

SW1 - Reset Switch

  • Press to reset Black Pill board

SW2 - Switch on/off J1, J4 power source

Schematic

Software

Testing

DFU Programming

Arduino-Programming-Tools-Dropdown.png

Other Programming

SerialPropogramming (AN3155).PNG

PCB

Black-Pill-Hub P1385-720px.jpg

Assembly Sheet