Programming lora-e5-mini with arduino

SPIClass SPI_2(PA7,PA6,PA5); //mosi,miso,clk

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.