File tree Expand file tree Collapse file tree
variants/STM32C5xx/C593C(E-G)(T-U)_C5A3CG(T-U) Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ const PinName digitalPin[] = {
1515 PB_6 , // D5 / I2C1_SCL
1616 PA_9 , // D6 / USART1_TX
1717 PA_10 , // D7 / USART1_RX
18- PA_15 , // D8
19- PB_0 , // D9
20- PB_15 , // D10
18+ PE_2 , // D8 / SPI3_SCK
19+ PB_0 , // D9 / SPI3_MISO
20+ PB_15 , // D10 / SPI3_MOSI
2121 PB_8 , // D11 / FDCAN1_RX
2222 PB_9 , // D12 / FDCAN1_TX
2323 PB_5 , // D13 / FDCAN2_RX
Original file line number Diff line number Diff line change 1313#define PB6 5
1414#define PA9 6
1515#define PA10 7
16- #define PA15 8
16+ #define PE2 8
1717#define PB0 9
1818#define PB15 10
1919#define PB8 11
3636 #define LED_BUILTIN PB12
3737#endif
3838
39- /* SPI is intentionally not advertised until the connector SPI route is fixed
40- * and validated on production hardware . */
39+ /* SPI3: D8/SCK (PE2), D9/MISO (PB0), D10/MOSI (PB15).
40+ * No board-default chip-select is assigned; sketches control device CS . */
4141#define PIN_SPI_SS NUM_DIGITAL_PINS
4242#define PIN_SPI_SS1 NUM_DIGITAL_PINS
4343#define PIN_SPI_SS2 NUM_DIGITAL_PINS
4444#define PIN_SPI_SS3 NUM_DIGITAL_PINS
45- #define PIN_SPI_MOSI NUM_DIGITAL_PINS
46- #define PIN_SPI_MISO NUM_DIGITAL_PINS
47- #define PIN_SPI_SCK NUM_DIGITAL_PINS
45+ #define PIN_SPI_MOSI PB15
46+ #define PIN_SPI_MISO PB0
47+ #define PIN_SPI_SCK PE2
4848
4949#define PIN_WIRE_SDA PB7
5050#define PIN_WIRE_SCL PB6
You can’t perform that action at this time.
0 commit comments