Nucleo wl55jc111/15/2023 #define LED2_GPIO_CLK_ENABLE() _HAL_RCC_GPIOB_CLK_ENABLE() #define LED1_GPIO_CLK_DISABLE() _HAL_RCC_GPIOB_CLK_DISABLE() #define LED1_GPIO_CLK_ENABLE() _HAL_RCC_GPIOB_CLK_ENABLE() In the stm32wlxx_nucleo.h file, modify the GPIO pins for the RGB LED: Double click on stm32wlxx_nucleo.c file and then in the Outline view double click on the stm32wlxx_nucleo.h file. In Project Explorer expand LoRaWAN_End_Node > Drivers > BSP > STM32WLxx_Nucleo. #define RF_SW_CTRL2_GPIO_CLK_DISABLE() _HAL_RCC_GPIOA_CLK_DISABLE() #define RF_SW_CTRL2_GPIO_CLK_ENABLE() _HAL_RCC_GPIOA_CLK_ENABLE() #define RF_SW_RX_GPIO_CLK_DISABLE() _HAL_RCC_GPIOA_CLK_DISABLE() #define RF_SW_CTRL1_GPIO_CLK_ENABLE() _HAL_RCC_GPIOA_CLK_ENABLE() #define RF_SW_CTR元_GPIO_CLK_DISABLE() _HAL_RCC_GPIOB_CLK_DISABLE() #define RF_SW_CTR元_GPIO_CLK_ENABLE() _HAL_RCC_GPIOB_CLK_ENABLE() Here is the pin mapping between NUCLEO-WL55JC and the Generic Node Sensor Edition. In the stm32wlxx_nucleo_radio.h file, modify the RF switch GPIOs to match with the Generic Node Sensor Edition (line 84 - 97). When you are done select the Apply button and then select the OK button.ĭouble click on stm32wlxx_nucleo_radio.c file and then in Outline view double click on stm32wlxx_nucleo_radio.h file. In the Properties window remove the Read-only attribute. Right-click on the selected files and select Properties from the menu.In System Explorer select the following files:.Right-click on the stm32wlxx_nucleo_radio.c file and from the shortcut menu select Show In > System Explorer. In Project Explorer expand LoRaWAN_End_Node > Drivers > BSP > STM32WLxx_Nucleo.#define ACTIVE_REGION LORAMAC_REGION_EU868 * LoraWAN application configuration (Mw is configured by lorawan_conf.h) */ Edit line 43 to match your LoRaWAN region.Then double click on the lora_app.h file. In Project Explorer, expand LoRaWAN_End_Node > includes > STM32Cube_FW_WL_V1.1.0\Projects\NUCLEO-WL55JC\Applications\LoRaWAN\LoRaWAN_End_Node\LoRaWAN\App. The Console window displays the results of the build.On the menu bar, choose Project > Build Project, or on the toolbar, select the hammer button.In Project Explorer, choose the project node, LoRaWAN_End_Node.In the System Explorer navigate to STM32Cube_FW_WL_V1.1.0\Projects\NUCLEO-WL55JC\Applications\ LoRaWAN\LoRaWAN_End_Node\STM32CubeIDE. Open the single-core project, LoRaWAN_End_Node which is a demo application that is found in the STM32CubeWL firmware library. DevEUI - use the DevEUI you retrieve from the above section.AppEUI - fill with zeros for testing purposes.Adding your Generic Node Sensor Edition to The Things Stackįollow the instructions on Adding Devices page to add your Generic Node Sensor Edition to The Things Stack. So you can write the DevEUI as 00 80 E1 15 05 01 XX XX which is in big-endian format. Note that the bytes are in little-endian format.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |