SPI speed set up using RadioLib #1168
Replies: 2 comments 4 replies
-
This may help: https://github.com/jgromes/RadioLib/wiki/Basics#non-standard-spi-setup |
Beta Was this translation helpful? Give feedback.
-
I'm guessing you're using some resistor dividers to decrease the MOSI, CLK and NSS voltage levels from 5V to 3.3V. As @HeadBoffin pointed out, there's a wiki page that shows how to configure the SPI settings. However, just for my curiosity, where does the 0.5 MHz SPI speed come from though? The default 2 MHz speed should be slow enough for most cases. Also, I would like to point out that the Arduino Nano is using ATmega328 microcontroller, which is rather limited in program and data memory, so I would not recommend it for new designs. |
Beta Was this translation helpful? Give feedback.
-
I am using an SX1268-based radio module by EBYTE (E22 400M22S) on an Arduino Nano. 5.1k resistors are used to match the signal levels. Therefore, the SPI speed should be reduced to 0.5 MHz. Is it possible to do this using RadioLib or should I use <SPI.h>?
Beta Was this translation helpful? Give feedback.
All reactions