Hi, Felix,
I've updated my RFM69 library to 1.4.1 and can compile my sketches using it (after changing promiscuous -> spyMode). But I can't change the SPI clock frequency by modifying RFM69.cpp like I used to (like this):
#ifdef defined(__SAMD51__)
//_spi->setClockDivider(SPI_CLOCK_DIV16);
_spi->setClockDivider(SPI_CLOCK_DIV2); // JD - speed up SPI clock for Moteino M0
#else
_spi->setClockDivider(SPI_CLOCK_DIV2);
#endif
No matter what I setClockDivider to the scope always displays an 8 Mhz SCK.
It turns out that 8 MHz is what I want but, why can't I change it any more?
If I ever need to adjust the SPI clock in the future, I would prefer to do it from my sketch instead of by editing the RFM69 library. If this is possible, would you please tell me how to do it?
Thanks!
JD