ArduinoCore-stm32l0 icon indicating copy to clipboard operation
ArduinoCore-stm32l0 copied to clipboard

spi1

Open tcpipchip opened this issue 2 years ago • 13 comments
trafficstars

Hi Is it working ?

SPI1.begin();

tcpipchip avatar Nov 22 '22 23:11 tcpipchip

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

GrumpyOldPizza avatar Nov 22 '22 23:11 GrumpyOldPizza

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

tcpipchip avatar Nov 23 '22 00:11 tcpipchip

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 ...

GrumpyOldPizza avatar Nov 23 '22 14:11 GrumpyOldPizza

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

UT2UH avatar Nov 27 '22 11:11 UT2UH

good morning!!!!!!! Datasheet_LOM204A_V0.1_20190715.pdf You can get in SOUTH AMERICA https://loja.smartcore.com.br/modem-lora-para-rede-publica-lorawan-wisol-lom204a-br00 Price, about $26,00 one piece

tcpipchip avatar Nov 27 '22 12:11 tcpipchip

let me know if you need more info about LOM204... Wisol - carta para acompanhar WSLOM204A02 - SmartCore - p2p -20220901.docx

tcpipchip avatar Nov 27 '22 12:11 tcpipchip

@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...

tcpipchip avatar Nov 27 '22 12:11 tcpipchip

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

UT2UH avatar Nov 27 '22 13:11 UT2UH

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

UT2UH avatar Nov 27 '22 13:11 UT2UH

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

tcpipchip avatar Nov 27 '22 13:11 tcpipchip

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

UT2UH avatar Nov 27 '22 13:11 UT2UH

OK

tcpipchip avatar Nov 27 '22 13:11 tcpipchip