Picomite SPI (allowed values for Speed)


Author Message
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1045
Posted: 04:35am 11 Sep 2025      

Is there a post anywhere that indicates what are the allowed speeds in the
SPI OPEN speed command.
I had a quick look in the manual but did not see anything.
F4 H7FotSF4xGT

matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10582
Posted: 09:47am 11 Sep 2025      

The speeds that will actually be set are CPUspeed/2 divided by 1 to 256

disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1045
Posted: 03:01am 13 Sep 2025      

Thanks.

Suggested update to Appendix D
  Quote  
Appendix D - SPI Communications
‘speed’ is the requested speed for the SPI clock. Any value can be requested, the firmware will select the next speed that can be achieved that is equal to or slower than the speed requested. The speed that will actually be set is CPUspeed/2 divided by 1 to 256.