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 15:13] – [Application] darronboards:wl55 [2024/09/19 23:55] (current) – [Resources] 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. Two demo boards exist, the JC1 and JC2. The former is for high band RF and the latter low band RF.
Line 117: Line 117:
 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 the [[:boards:wl55readme|LoRAWAN end node]] demo.+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.
 +</code>
  
    * Open STM32CubeMX    * Open STM32CubeMX
Line 126: 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
-   * 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 140: Line 145:
 </code> </code>
  
-The demo uses the following protocol+Program using the [[tools:stm32prog|STM32CubeProgrammer]] GUI for convenience. 
 + 
 +===Log===
  
 <code> <code>
-Link Layer TS001-1.0.4 + Regional Parameters RP002-1.0.1+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> </code>
 +
 +===LoRaWAN firmware===
 +
 +The I-CUBE LoRaWAN demo has been updated to support GNU make [[https://hg.kewl.org/pub/LauraWAN|here]].
  
  
Line 157: Line 220:
 [[https://www.st.com/en/microcontrollers-microprocessors/stm32wl55jc.html|MCU product page]] [[https://www.st.com/en/microcontrollers-microprocessors/stm32wl55jc.html|MCU product page]]
  
-[[https://www.st.com/en/embedded-software/stm32cubewl.html|Software page]]+[[https://www.st.com/en/embedded-software/stm32cubewl.html|STM32CubeWL software page]] 
 + 
 +[[https://github.com/STMicroelectronics/STM32CubeWL|STM32CubeWL software repository]]
  
-[[https://github.com/STMicroelectronics/STM32CubeWL|Software repository]]+[[https://www.st.com/resource/en/user_manual/um2643-getting-started-with-stm32cubewl-for-stm32wl-series-stmicroelectronics.pdf|STM32CubeWL user manual]]
  
-[[https://www.st.com/resource/en/user_manual/um2643-getting-started-with-stm32cubewl-for-stm32wl-series-stmicroelectronics.pdf|Software guide]]+[[https://www.st.com/resource/en/application_note/an5406-how-to-build-a-lora-application-with-stm32cubewl-stmicroelectronics.pdf|STM32CubeWL application note]]
  
-[[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|STM32CubeWL LoRaWAN_End_Node HOWTO]]