Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:bl072z [2022/11/29 13:09] – [Murata CMWX1ZZABZ-091] darron | boards:bl072z [2024/09/17 17:07] (current) – [LoRaWAN firmware] darron | ||
---|---|---|---|
Line 6: | Line 6: | ||
</ | </ | ||
- | The B-L072Z-LRWAN1 board contains a Murata radio module | + | The B-L072Z-LRWAN1 board contains a Murata |
- | Arduino style layout. | + | with an Arduino style layout. |
- | MCU and SEMTECH SX1276. | + | MCU and a SEMTECH SX1276. |
This development board is designed to deliver LoRa applications | This development board is designed to deliver LoRa applications | ||
- | based on the ST platform | + | based on the ST platform |
The STM32Cube package is the only source of information regarding the | The STM32Cube package is the only source of information regarding the | ||
Line 25: | Line 25: | ||
Arduino compatible headers | Arduino compatible headers | ||
- | | + | PB8 |
- | PB9 | + | |
- | | + | AVDD |
- | NC | + | NC GND |
- | IOREF | + | IOREF PA5/PB13 D13 |
- | NRST PB14 | + | NRST |
- | 3V3 | + | 3V3 PB15 D11 SPI2 MOSI |
- | 5V PB6 D10 SPI2 CS | + | 5V |
- | GND | + | GND PB12 D9 |
- | GND | + | GND PA9 D8 |
VIN | VIN | ||
- | | + | PA8 D7 |
- | PB2 D6 | + | |
- | A0 PA0 PB7 D5 | + | A0 PA0 |
- | A1 PA1/ | + | A1 PA1/ |
- | A2 PA4 PB13/ | + | A2 PA4 |
- | A3 PA4/ | + | A3 PA4/ |
- | A4 PH1/ | + | A4 PH1/ |
- | A5 PH0/ | + | A5 PH0/ |
- | PB2 B1 | + | PB2 B1 |
- | PA5 LD2 GREEN | + | PA5 LD2 GREEN (CENTRE) |
PB5 LD1 GREEN | PB5 LD1 GREEN | ||
PB6 LD3 BLUE | PB6 LD3 BLUE | ||
Line 57: | Line 57: | ||
The device contains a STM32L072CZ MCU, SX1276 LoRa IC, antenna switch and | The device contains a STM32L072CZ MCU, SX1276 LoRa IC, antenna switch and | ||
- | a STSAFE-A100 module. | + | a STSAFE-A100 module |
- | The internal connections are documented in the ST source code as follows. | + | The internal connections are documented in the ST source code and the external ones in the user guide. |
==SPI== | ==SPI== | ||
Line 82: | Line 82: | ||
GPIO PA5 DIO4 (enabled with SB26) | GPIO PA5 DIO4 (enabled with SB26) | ||
GPIO PA4 DIO5 (enabled with SB27) | GPIO PA4 DIO5 (enabled with SB27) | ||
- | GPIO PA12 TXCO VCC | + | GPIO PA11 STSAFE RESET (JP10) |
+ | GPIO PA12 TXCO VCC (JP9) | ||
GPIO PA1 ANT SWITCH RX | GPIO PA1 ANT SWITCH RX | ||
GPIO PC1 ANT SWITCH TX BOOST | GPIO PC1 ANT SWITCH TX BOOST | ||
GPIO PC2 ANT SWITCH TX RFO | GPIO PC2 ANT SWITCH TX RFO | ||
+ | </ | ||
+ | |||
+ | ==JUMPERS== | ||
+ | |||
+ | Various jumpers exist, here are ones connected to GPIOs. | ||
+ | |||
+ | __JP9__ | ||
+ | |||
+ | < | ||
+ | 1+2 TXCO VCC connected to PA12 | ||
+ | 2+3 TXCO VCC always on (default) | ||
+ | </ | ||
+ | __JP10__ | ||
+ | |||
+ | < | ||
+ | 1+2 STSAFE reset tied to MCU reset (default) | ||
+ | 2+3 STSAFE reset connected to PA11 | ||
</ | </ | ||
Line 142: | Line 160: | ||
===Programming=== | ===Programming=== | ||
- | I prefer to use J-Link for ST the st-link is slow and unreliable. | + | OpenOCD with ST-LINK is very unreliable |
+ | flash the debugger with [[tools: | ||
- | ==J-Link== | + | ==Command file== |
- | + | ||
- | __Command file__ | + | |
This command file just resets the controller state. | This command file just resets the controller state. | ||
Line 159: | Line 176: | ||
</ | </ | ||
- | __Command__ | + | ==JLink== |
< | < | ||
Line 237: | Line 254: | ||
... | ... | ||
</ | </ | ||
+ | ===LoRaWAN firmware=== | ||
+ | |||
+ | The I-CUBE LoRaWAN demo has been updated to support GNU make [[https:// | ||
+ | |||
=== Resources === | === Resources === | ||