Skip to main content
EPora.1
Associate III
May 1, 2022
Question

STM32 + LoRa sx1278

Hi!

I'm trying to get a connection between the stm32f411ce and the LoRa sx1278.

The first comm fails because I read 0x45 on the RegVersion register on the LoRa(which is addresed at 0x42). From the documentation I read that it should be 0x12. does anyone know if it's OK? maybe it's a sign of a fake chip?

Thanks!

Eyal Porat

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
May 1, 2022

Real hard to make much of any determination from the info presented.

Probably at least as likely that you've got it configured or connected wrong.

Custom HW?

How's everything connected?

Minimal project to probe SPI connection to SX1278 and output via a UART?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
EPora.1
EPora.1Author
Associate III
May 2, 2022

Thanks for your reply!

I'm using a custom board. the SPI bus is connected to an SD card and a flash chip as well. each one with its own CS pin. The SD and flash work so I assumed that's not the problem. I'm programming the board with an STlink V2 and reading the data like so.

EPora.1
EPora.1Author
Associate III
May 3, 2022

CLOSED problem with the SPI driver...