stm32/boards/NUCLEO_H743ZI: Enable SPI3 on this board.

This commit is contained in:
iabdalkader 2019-05-14 15:56:40 +02:00 committed by Damien George
parent 1646eff864
commit 746fcea7f8
2 changed files with 6 additions and 4 deletions

View File

@ -43,10 +43,10 @@ void NUCLEO_H743ZI_board_early_init(void);
#define MICROPY_HW_I2C2_SDA (pin_F0)
// SPI
//#define MICROPY_HW_SPI2_NSS (pin_I0)
//#define MICROPY_HW_SPI2_SCK (pin_I1)
//#define MICROPY_HW_SPI2_MISO (pin_B14)
//#define MICROPY_HW_SPI2_MOSI (pin_B15)
#define MICROPY_HW_SPI3_NSS (pin_A4)
#define MICROPY_HW_SPI3_SCK (pin_B3)
#define MICROPY_HW_SPI3_MISO (pin_B4)
#define MICROPY_HW_SPI3_MOSI (pin_B5)
// USRSW is pulled low. Pressing the button makes the input go high.
#define MICROPY_HW_USRSW_PIN (pin_C13)

View File

@ -20,6 +20,8 @@ D12,PB14
D13,PI1
D14,PB9
D15,PB8
D22,PB5
D23,PB3
DAC1,PA4
DAC2,PA5
LED1,PB0

1 A0 PA0
20 D13 PI1
21 D14 PB9
22 D15 PB8
23 D22 PB5
24 D23 PB3
25 DAC1 PA4
26 DAC2 PA5
27 LED1 PB0