RAKWireless / rak_common_for_gateway

215 stars 126 forks source link

SPI frequency still to high #7

Closed joau-mms closed 2 years ago

joau-mms commented 4 years ago

Hi, compared to the very aggressive 8MHz SPI frequency of the Lora reference implementation from Lora-net github repo you choose 2MHz. That is an improvement but after using the SPI stress test of the reference implementation my RAK 2245 still had errors on the bus. Only by lowering the frequency to 1MHz the test was able to run without errors for hours. I tested with a logic analyzer, the SPI signals coming from my Master devices are clean, but the SX1301 still throws some errors. Tested with RaspberryPi 3 and 4 on standard Raspbian with kernel version: 4.19