Updated Firmware Compatibility (markdown)

Candas1
2022-03-30 11:43:41 +02:00
parent 9317ad5aec
commit c584500c50

@@ -16,44 +16,45 @@ It could be that your mainboard was designed differently, please check if the pi
## Pin Mapping
This is the pin mapping this firmware is using, you might have to adapt it to your board variant in [defines.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/defines.h) file
|Port|Pin|Alternate Mapping|
|---|---|---|
|SWCLK|PA14||
|SWDIO|PA13||
|TX/ADC1|PA2||
|RX/ADC2/PPM|PA3||
|TX/SCL|PB10||
|RX/SDA|PB11||
|LED|PB2||
|BUZZER|PA4|PC13|
|HALL LEFT U|PB5||
|HALL LEFT V|PB6||
|HALL LEFT W|PB7||
|HALL RIGHT U|PC10||
|HALL RIGHT V|PC11||
|HALL RIGHT W|PC12||
|LEFT UH|PC6||
|LEFT UL|PA7||
|LEFT VH|PC7||
|LEFT VL|PB0||
|LEFT WH|PC8||
|LEFT WL|PB1||
|RIGHT UH|PA8||
|RIGHT UL|PB13||
|RIGHT VH|PA9||
|RIGHT VL|PB14||
|RIGHT WH|PA10||
|RIGHT WL|PB15||
|LEFT_DC_CUR|PC0||
|LEFT_U_CUR|PA0||
|LEFT_V_CUR|PC3||
|RIGHT_DC_CUR|PC1||
|RIGHT_U_CUR|PC4||
|RIGHT_V_CUR|PC5||
|OFF|PA5|PC15|
|BUTTON|PA1|PB9|
|CHARGER|PA12|PA11|
|BATTERY|PC2|PA1|
|Port|Pin|Alternate Mapping|Comment|
|---|---|---|---|
|SWCLK|PA14||Used for programming|
|SWDIO|PA13||Used for programming|
|TX/ADC1|PA2||Left sensor cable|
|RX/ADC2/PPM|PA3||Left sensor cable|
|TX/SCL|PB10||Right sensor cable|
|RX/SDA|PB11||Right sensor cable|
|LED|PB2||Some boards are missing the led|
|BUZZER|PA4|PC13|Might not be populated on some boards|
|HALL LEFT U|PB5|||
|HALL LEFT V|PB6|||
|HALL LEFT W|PB7|||
|HALL RIGHT U|PC10|||
|HALL RIGHT V|PC11|||
|HALL RIGHT W|PC12|||
|LEFT UH|PC6|||
|LEFT UL|PA7|||
|LEFT VH|PC7|||
|LEFT VL|PB0|||
|LEFT WH|PC8|||
|LEFT WL|PB1|||
|RIGHT UH|PA8|||
|RIGHT UL|PB13|||
|RIGHT VH|PA9|||
|RIGHT VL|PB14|||
|RIGHT WH|PA10|||
|RIGHT WL|PB15|||
|LEFT_DC_CUR|PC0||Not populated on some boards, so no dc current limitation|
|LEFT_U_CUR|PA0|||
|LEFT_V_CUR|PC3|||
|RIGHT_DC_CUR|PC1||Not populated on some boards, so no dc current limitation|
|RIGHT_U_CUR|PC4|||
|RIGHT_V_CUR|PC5|||
|DCLINK|PC2|PA1|For Battery voltage measurement|
|OFF|PA5|PC15||
|BUTTON|PA1|PB9||
|CHARGER|PA12|PA11||
# Other boards
## Artery boards