stm32/boards/B_L072Z_LRWAN1: Add pin definitions for internal SX1262.
Includes fixing the SCK connection pin. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
parent
cb31c0ae9c
commit
3aabdf2f6b
@ -40,8 +40,9 @@
|
||||
#define MICROPY_HW_I2C1_SDA (pin_B9)
|
||||
|
||||
// SPI buses
|
||||
// SPI1 on the CMWX1ZZABZ module is connected internally to the SX1276
|
||||
#define MICROPY_HW_SPI1_NSS (pin_A15)
|
||||
#define MICROPY_HW_SPI1_SCK (pin_A5)
|
||||
#define MICROPY_HW_SPI1_SCK (pin_B3)
|
||||
#define MICROPY_HW_SPI1_MISO (pin_A6)
|
||||
#define MICROPY_HW_SPI1_MOSI (pin_A7)
|
||||
#define MICROPY_HW_SPI2_NSS (pin_B12)
|
||||
|
@ -29,17 +29,26 @@ LED_RED,PB7
|
||||
,PA3
|
||||
,PA4
|
||||
,PA5
|
||||
,PA6
|
||||
,PA7
|
||||
SX_MISO,PA6
|
||||
SX_MOSI,PA7
|
||||
,PA8
|
||||
,PA9
|
||||
,PA10
|
||||
,PA11
|
||||
,PA12
|
||||
SX_TCXO_VCC,PA12
|
||||
# Note about SX_TCXO_VCC: Unlike all of the other SX_ pins, PA12 is only
|
||||
# connected to TCXO_VCC on the Discovery Board and will have a different
|
||||
# connection on custom hardware using the same Murata module.
|
||||
#
|
||||
# By default it also does nothing, need to move jumper JP9 to make it control
|
||||
# TCXO_VCC at all. Note PA12 is by default also USB DP so need to disable
|
||||
# USB - call pyb.usb_mode(None) or rebuild without MICROPY_HW_ENABLE_USB -
|
||||
# in order to use it at all.
|
||||
,PA13
|
||||
,PA14
|
||||
,PA15
|
||||
SX_CS,PA15
|
||||
,PB2
|
||||
SX_SCK,PB3
|
||||
,PB5
|
||||
,PB6
|
||||
,PB7
|
||||
@ -49,3 +58,8 @@ LED_RED,PB7
|
||||
,PB13
|
||||
,PB14
|
||||
,PB15
|
||||
SX_RESET,PC0
|
||||
SX_DIO0,PB4
|
||||
SX_DIO1,PB1
|
||||
SX_DIO2,PB0
|
||||
SX_DIO3,PC13
|
||||
|
Can't render this file because it has a wrong number of fields in line 40.
|
Loading…
Reference in New Issue
Block a user