Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
boards:wl55 [2024/07/27 13:52] – [Application] darronboards:wl55 [2024/09/17 17:07] (current) – [LoRaWAN firmware] darron
Line 1: Line 1:
-====NUCLEO WL55JC1====+====NUCLEO-WL55JC1====
  
 <wrap right> <wrap right>
Line 5: Line 5:
 </wrap> </wrap>
  
-This board uses a dual core STM32WL55JC MCU which contains both a Cortex-M4 and Cortex-M0+ CPU.+This is a LoRa radio board with a dual core STM32WL55JC MCU which contains both a Cortex-M4 and Cortex-M0+ CPU.
  
 +Two demo boards exist, the JC1 and JC2. The former is for high band RF and the latter low band RF.
 ===Pinout=== ===Pinout===
  
Line 115: Line 116:
  
 Checkout the software package from github into the STM32CubeMX project directory as STM32CubeWL Checkout the software package from github into the STM32CubeMX project directory as STM32CubeWL
 +
 +Create an [[:boards:wl55readme|LoRAWAN end node]] which will default to the following connection parameters
 +
 +<code>
 +EU_863_870 Default frequency plan for Europe
 +Link Layer TS001-1.0.4 + Regional Parameters RP002-1.0.1
 +</code>
  
    * Open STM32CubeMX    * Open STM32CubeMX
Line 123: Line 131:
    * Change toolchain to Makefile    * Change toolchain to Makefile
    * Change MCU and Firmware Location to the checkout directory STM32CubeWL    * Change MCU and Firmware Location to the checkout directory STM32CubeWL
-   Optionally setup LoRaWAN commissioning+   Setup [[tools:ttn|LoRaWAN commissioning]] (LoRaWAN/App/se-identity.h)
    * Generate code (ignore message about Platform settings)    * Generate code (ignore message about Platform settings)
  
Line 137: Line 145:
 </code> </code>
  
 +Program using the [[tools:stm32prog|STM32CubeProgrammer]] GUI for convenience.
  
 +===Log===
  
 +<code>
 +APPLICATION_VERSION: V1.3.0
 +MW_LORAWAN_VERSION:  V2.5.0
 +MW_RADIO_VERSION:    V1.3.0
 +L2_SPEC_VERSION:     V1.0.4
 +RP_SPEC_VERSION:     V2-1.0.1
 +###### AppKey:      xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
 +###### NwkKey:      xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
 +###### AppSKey:     xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
 +###### NwkSKey:     xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
 +###### DevEUI:      xx:xx:xx:xx:xx:xx:xx:xx
 +###### AppEUI:      01:01:01:01:01:01:01:01
 +###### DevAddr:     xx:xx:xx:xx
 +0s037:TX on freq 868500000 Hz at DR 0
 +1s522:MAC txDone
 +6s553:RX_1 on freq 868500000 Hz at DR 0
 +7s871:MAC rxDone
 +
 +###### = JOINED = OTAA =====================
 +###### U/L FRAME:JOIN | DR:0 | PWR:0
 +###### MCRootKey:   xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
 +###### MCKEKey:     xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
 +###### AppSKey:     xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
 +###### NwkSKey:     xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
 +###### DBIntKey:    xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
 +###### DevEUI:      xx:xx:xx:xx:xx:xx:xx:xx
 +###### AppEUI:      01:01:01:01:01:01:01:01
 +###### DevAddr:     xx:xx:xx:xx
 +
 +...
 +
 +###### ========== MCPS-Confirm =============
 +###### U/L FRAME:0010 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
 +110s118:VDDA: 254
 +110s118:temp: 25
 +110s118:Next Tx in  : ~49 second(s)
 +160s030:VDDA: 254
 +160s030:temp: 25
 +160s034:TX on freq 868500000 Hz at DR 0
 +160s037:SEND REQUEST
 +161s683:MAC txDone
 +162s714:RX_1 on freq 868500000 Hz at DR 0
 +162s913:IRQ_RX_TX_TIMEOUT
 +162s913:MAC rxTimeOut
 +163s714:RX_2 on freq 869525000 Hz at DR 0
 +163s913:IRQ_RX_TX_TIMEOUT
 +163s913:MAC rxTimeOut
 +
 +###### ========== MCPS-Confirm =============
 +###### U/L FRAME:0011 | PORT:2 | DR:0 | PWR:0 | MSG TYPE:UNCONFIRMED
 +170s038:VDDA: 254
 +170s038:temp: 25
 +170s038:Next Tx in  : ~154 second(s)
 +
 +</code>
 +
 +===LoRaWAN firmware===
 +
 +The I-CUBE LoRaWAN demo has been updated to support GNU make [[https://hg.kewl.org/pub/LauraWAN|here]].
  
  
Line 158: Line 227:
  
 [[https://community.st.com/t5/stm32-mcus/how-to-import-stm32cubewl-repository-projects-onto-different/ta-p/618854|STM32WL LoRaWAN_End_Node]] [[https://community.st.com/t5/stm32-mcus/how-to-import-stm32cubewl-repository-projects-onto-different/ta-p/618854|STM32WL LoRaWAN_End_Node]]
 +