2022-05-01 01:03 PM
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
2022-05-01 02:14 PM
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?
2022-05-01 09:44 PM
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.
2022-05-01 09:47 PM
Also I probed the SPI lines with a pretty crap multimeter/scope and all I can tell is the lines are moving. I don't have a logic analyzer.
2022-05-03 06:57 AM
CLOSED problem with the SPI driver...