mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 11:52:44 +01:00
051a1f1e32
The peripheral configuration has been completely reworked to resolve pin conflicts while provided as much of the peripherals as possible. The changes include: - Move `I2C_DEV(0)` from PB6/PB7 to PB8/PB9 to solve pin conflict with `QDEC_DEV(2)`. - Use pins PB0, PB1, PB4, and PB5 for PWM instead PA8, PA9, PA10, and PA11 - PA9 and PA10 is in pin conflict with `UART_DEV(0)` which is used for stdio with `stdio_uart`, PA8 was in conflict with `QDEC_DEV(0)`, PA11 was in conflict with USB D- - Use PB6, PB7 as `QDEC_DEV(0)` (previously `QDEC_DEV(2)`), as this is the only completely conflict free setting - Use PB4/PB5 instead of PA6/PA7 for QDEC_DEV(1) - This fixes a pin conflict with `SPI_DEV(0)` MISO (and `ADC_LINE(4)`) - Only provide QDEC at PB4/PB5 when PWM is not used to avoid conflict - Only provide QDEC at PA8/PA9 when UART is not used to avoid conflict - Use SPI2 (PB15, PB14, PB13, PB12) as `SPI_DEV(0)` instead of SPI1, use SPI1 (PA7, PA6, PA5, PA4) as `SPI_DEV(1)` - Only provide `SPI_DEV(1)` if the ADC is not in used to resolve a pin conflict - Move PB0 and PB1 at the end of the ADC lines (previously `ADC_LINE(6)` and `ADC_LINE(7)`, now `ADC_LINE(8)` and `ADC_LINE(9)`) - Only provide them when PWM is not in use (to resolve pin conflict with PWM) - Also do not provide them for the Blackpill boards, which are missing pins PB0 and PB1 on the headers To make life of users easier, a Pinout diagram with the new configuration was added.
7.0 KiB
7.0 KiB
1 | LABELS | DEFAULT | TYPE | GROUP | Name | Official Name | GPIO | Analog 1 | Analog 2 | RTC | Func 1 | Func 2 | Func 3 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2 | FILL COLOR | white | white | white | deepskyblue | gray | green | purple | yellow | orange | red | gold | brown |
3 | OPACITY | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
4 | BOXES | STD | PIN BOX | NAME BOX | SKEWED | SKEWED | SKEWED | SKEWED | SKEWED | SKEWED | SKEWED | ||
5 | BOX | STD | black | 1 | white | 0 | 1 | 100 | 55 | 2 | 2 | 0 | 0 |
6 | BOX | PIN BOX | black | 1 | white | 0 | 1 | 80 | 55 | 5 | 5 | -10 | 0 |
7 | BOX | NAME BOX | black | 1 | white | 0 | 1 | 125 | 55 | 5 | 5 | -10 | 0 |
8 | BOX | SKEWED | black | 1 | white | 0 | 1 | 125 | 55 | 5 | 5 | -10 | 0 |
9 | BOX | PAGE BORDER | black | 1 | white | 1 | 50 | 100 | 100 | 0 | 0 | 0 | 0 |
10 | BOX | DETAIL BOX | darkblue | 1 | white | 0 | 3 | 250 | 200 | 15 | 15 | 0 | 0 |
11 | PIN | DIGITAL | INPUT | NONE | PB 7 | QDEC0-B | |||||||
12 | PIN | DIGITAL | INPUT | NONE | PB 6 | QDEC0-A | |||||||
13 | PIN | PWM | IO | NONE | PB 4 | PWM0 | QDEC1-A | ||||||
14 | PIN | DIGITAL | INPUT | NONE | PB 3 | QDEC1-B | |||||||
15 | PIN | DIGITAL | INPUT | NONE | PA 9 | stdio | RX0 | QDEC2-A | |||||
16 | PIN | DIGITAL | IO | NONE | PA 8 | QDEC2-B |