ehong-tl / micropySX126X

Semtech SX126X LoRa driver for Micropython and CircuitPython.
MIT License
106 stars 22 forks source link

ERR_SPI_CMD_FAILED #11

Open pluzmedia opened 2 years ago

pluzmedia commented 2 years ago

I am using Ra-01s AI Thinker and using sx1268 but the following error occurred ERR_SPI_CMD_FAILED. MY pins configuration would be

sx = SX1268(spi_bus=1, clk=18, mosi=23, miso=19, cs=5, irq=26, rst=16, gpio=4)

Is my Ra-01s hardware damaged? I have 4 modules and all 4 got the same error. All your help would be much helpful to me. Thanks

ehong-tl commented 2 years ago

Can try set tcxoVoltage to 0 in the .begin() method?

pluzmedia commented 2 years ago

The initialization error fixed but the ERR_CHIP_NOT_FOUND error occurred when sending message frequently say about every 100 milliseconds.

ehong-tl commented 2 years ago

Could be hardware problem, have you tried the C++ radiolib library?