Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By freedom2000
#29375 Hi,

I try to use SPI bus at a different speed than default settings.

I use the following code to set up the MaxSpeed

Code: Select allvoid setup()
{

  // initialize SPI:
  SPI.beginTransaction(SPISettings(100000, MSBFIRST, SPI_MODE0));
  SPI.begin();


The compilation is OK but it has no effect on the clock frequency which is still 1MHz

SPI_freq.jpg


Could you please help me ?
Thanks
JP
You do not have the required permissions to view the files attached to this post.
Last edited by freedom2000 on Fri Sep 18, 2015 4:18 pm, edited 1 time in total.