(with-spi ... divider option not working on itsybitsy m4?


#1

Hi David

I’m trying to lower the spi-clock on the itsybitsy m4.
But whatever I do fails
I’ve tried (with-spi (2 5 nil 0) …
But the spi clock always stays 5Mhz.
parameter 5 should divide the clock by 32 , but this doesn’t seem to happen.
Can you confirm this please ?

Kind regards,
Ronny


#2

I think the logic I’m using to calculate the divider is only appropriate for the AVR platforms. How would you set the divider from a C program, using SPI.setClockDivider(), on an ItsyBitsy M4?


#3

David

I will look at it asap.
I keep you posted.

Ronny