stm32-hal-libraries icon indicating copy to clipboard operation
stm32-hal-libraries copied to clipboard

sx1276 not working

Open francescoNoto opened this issue 4 months ago • 0 comments

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

francescoNoto avatar Mar 05 '24 15:03 francescoNoto