GrumpyOldPizza/ArduinoCore-stm32l0

spi1

tcpipchip opened this issue · 13 comments

Hi
Is it working ?

SPI1.begin();

He's. If the variant you are using supports it ... However I would think that none of the variants exposes a SPI1 for STM32L0.

yes, no support in the variants to SPI1 in STM32L073 :(
I will have to add the SPI1, because i use the LOM204 module, a STM32L073 module with SX1276 in SPI...i will have to add a ENC28CJ60 on SPI1...

Btw, i did a blog using RADIOHEAD...reference to your ARDUINO CORE STML0 lib :)
https://lom204-cli-wisol.blogspot.com/2022/11/lom204a-criando-uma-rede-mesh-com.html

I see. The way this code works with LoRaWAN is to basically bypass the Arduino layer and talk to SPI directly internally. There is code in ArduinoCore-stm32l0/tree/master/system/STM32L0xx/Source/LoRa/Boards that does that.

I have not been able to find any docs for LOM204 at all ...

UT2UH commented

@tcpipchip - can you share LOM204 docs? And the price/availability as well. I will add its support both to the core fork and RadioHead.

@tcpipchip - can you share LOM204 docs? And the price/availability as well. I will add its support both to the core fork and RadioHead.

About RadioHead fork, can you make it compatible with STM32 ARDUINO GITHUB ?
https://github.com/stm32duino/Arduino_Core_STM32
Because we want to make compatible with https://github.com/khoih-prog STM32L0 examples :), where i was a collaborator...

UT2UH commented

let me know if you need more info about LOM204...
Do you have MCU-SX1276 pinout?

UT2UH commented

About RadioHead fork, can you make it compatible with STM32 ARDUINO GITHUB ?
Sorry, no. I use RadioHead but only with this core.

have you done some gateway with RADIOHEAD on STM32 ?
Wifi, ethernet, GSM, etc
Today i use only the UART

UT2UH commented

have you done some gateway with RADIOHEAD on STM32 ? Wifi, ethernet, GSM, etc
Sorry, no.