belyalov / stm32-hal-libraries

Useful libraries for STM32 HAL
MIT License
87 stars 18 forks source link

sx1276 not working #14

Open francescoNoto opened 7 months ago

francescoNoto commented 7 months ago

I tried the code, when I see the res value it gives me 0 when everything is configured, but I can't transmit or receive. My module is rfm95 (sx1276). I configured SPI and NSS as output and DIO_0 as interrupt. Does the module reset have to remain unplugged? if I leave the following line of code I don't read res: uint8_t res = lora_send_packet(&lora, (uint8_t *)"test", 4); if (res != LORA_OK) { // Send failed }

if I put res == 0 instead I continue but I don't transmit

ajinkyaraut7 commented 2 months ago

Were you able to get it to work? I am having the same issue.