Lora-net / lora_gateway

Driver/HAL to build a gateway using a concentrator board based on Semtech SX1301 multi-channel modem and SX1257/SX1255 RF transceivers.
Other
925 stars 746 forks source link

QCA9531's GPIO bitbang problem for cs_change #12

Closed sheenhx closed 8 years ago

sheenhx commented 8 years ago

I successfully connect the IMST's lora gateway board to MT7628 with native SPI.

However, when it comes to the QCA9531 which doesn't port native SPI pins, it didn't work.

I tried SPI-GPIO bitbang, and it works for the other devices. But when I use the lora gateway,the CS pin behaves really wired.

So I disabled cs_change then. It works!!

https://github.com/sheenhx/lora_gateway/commit/403f82099b04c4a5d286df5732d4ff2e01115df5

Is there anyone who can tell me why did this happen?

Environment: OpenWrt CC15.05 Kernel 3.18.27

JiapengLi commented 8 years ago

Refer to #10

mcoracin commented 8 years ago

Duplicate of #10, I close this one