File tree Expand file tree Collapse file tree 2 files changed +20
-5
lines changed
ports/stm32/boards/B_L072Z_LRWAN1 Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 40
40
#define MICROPY_HW_I2C1_SDA (pin_B9)
41
41
42
42
// SPI buses
43
+ // SPI1 on the CMWX1ZZABZ module is connected internally to the SX1276
43
44
#define MICROPY_HW_SPI1_NSS (pin_A15)
44
- #define MICROPY_HW_SPI1_SCK (pin_A5 )
45
+ #define MICROPY_HW_SPI1_SCK (pin_B3 )
45
46
#define MICROPY_HW_SPI1_MISO (pin_A6)
46
47
#define MICROPY_HW_SPI1_MOSI (pin_A7)
47
48
#define MICROPY_HW_SPI2_NSS (pin_B12)
Original file line number Diff line number Diff line change @@ -29,17 +29,26 @@ LED_RED,PB7
29
29
,PA3
30
30
,PA4
31
31
,PA5
32
- ,PA6
33
- ,PA7
32
+ SX_MISO ,PA6
33
+ SX_MOSI ,PA7
34
34
,PA8
35
35
,PA9
36
36
,PA10
37
37
,PA11
38
- ,PA12
38
+ SX_TCXO_VCC,PA12
39
+ # Note about SX_TCXO_VCC: Unlike all of the other SX_ pins, PA12 is only
40
+ # connected to TCXO_VCC on the Discovery Board and will have a different
41
+ # connection on custom hardware using the same Murata module.
42
+ #
43
+ # By default it also does nothing, need to move jumper JP9 to make it control
44
+ # TCXO_VCC at all. Note PA12 is by default also USB DP so need to disable
45
+ # USB - call pyb.usb_mode(None) or rebuild without MICROPY_HW_ENABLE_USB -
46
+ # in order to use it at all.
39
47
,PA13
40
48
,PA14
41
- ,PA15
49
+ SX_CS ,PA15
42
50
,PB2
51
+ SX_SCK,PB3
43
52
,PB5
44
53
,PB6
45
54
,PB7
@@ -49,3 +58,8 @@ LED_RED,PB7
49
58
,PB13
50
59
,PB14
51
60
,PB15
61
+ SX_RESET,PC0
62
+ SX_DIO0,PB4
63
+ SX_DIO1,PB1
64
+ SX_DIO2,PB0
65
+ SX_DIO3,PC13
You can’t perform that action at this time.
0 commit comments