While this seems like it should work, it doesn’t. The PA7, PA6, PA5 pins can be set up for debugging. They only output the SPI that is going on between the processor and radio internally on the chip. It seems like there should be some virtual pins that could be used to adapt existing libraries to work the radio, but I have not found any. I did find this pull request that is a step in the right direction: add the STM32WL SUGGHZSPI to the SPI library by majbthrd · Pull Request #1803 · stm32duino/Arduino_Core_STM32 · GitHub
Unfortunately, the response so far seems to be – we are working on it…
Pls post if you find something that works. I have some IOT modules that use Arduino and RFM95 radios, but I would love to be able to do the same thing in one module with the LORA-E5.
Ahhh. I hadn’t checked that forum in a while. It looks like we are the only people that have much interest in this.
I have a home IOT system using MySensors code: https://www.mysensors.org/
It is done in Arduino because the whole idea is it is supposed to be accessible for beginners. They have support for RFM95 and SX126x radios, among others. So it seems like it would be easy to adapt for the LORA-E5 if subghzspi just worked with the Arduino SPI library.
I’ll keep looking for a solution and report if I find one.
The problem with this card is how to access the subghzspi.
Yesterday I tried to adapt the lorawan code ( GitHub - danak6jq/Seeed-LoRa-E5: LoRaWAN end node built from scratch using CubeMX for WLE5x in the LoRa-E5) to make it an example ping pong. I can compile the code with stm32cubeide, but the two boards cannot communicate.
In the other forum, I saw that a guy is trying to access debug pins, we hope he can do something, however I am continuing to try and search the internet.
The funny thing is that this morning with a Nucleo-32 board, an arduino nano board and 2 lora modules, I was able in a short time to get them to communicate with each other.