STM32L476RET6 + SX1262 (Ebyte E22)
- February 15, 2020
- 5 replies
- 4898 views
Hello everyone,
it seems like it is very hard to get an answer in any lora issues. I give it a shot anyway :D
I've watched all the lectures in udemy to get familar with stm32 MCU and i have learned a lot, but unfortunately not enough to get a LoRa-Node working. Hate it!
I purchased a STM32L476 MCU and a sx1262 by EBYTE, milled my own pcb and soldered all components together. The sx1262 module is connected to SPI1 of the MCU. I have attached the schematic, if someone wanna take look on it.
The LED works pretty well! :)
I downloaded the "STM32CubeExpansion_LRWAN_V1.3.1", read the "UM2073" and moved the folder "LoRaWAN", which is located in "Middlewares -> Third_Party", to my own project. All files in the "Conf" folder were named as "template". I have deleted the "template" remark in the filenames, did the #includes in my project and hit the build icon. You guessed right, it ends up in an error. And there is my first question, Why? The IDE can't find the header file "hw.h" (Screenshot: STM32CubeIDE)
I'm using the STM32CubeIDE, do i have to do something additionally to add the LoRaWAN library to my project, i thought just copy->paste were enough :(