Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: tonton81

Search: Search took 0.01 seconds.

  1. Replies
    25
    Views
    693

    you should be using SPI Transactions, the older...

    you should be using SPI Transactions, the older code is deprecated and may or may not be calculated same way

    replace:


    SPI2.setBitOrder(MSBFIRST);
    ...
  2. Replies
    25
    Views
    693

    when you change modes to synchronize the clock,...

    when you change modes to synchronize the clock, there was a post somewhere about it on the forums, send a dummy transfer after the cloco change (SPI.transfer(0xFF)) before asserting the chip...
Results 1 to 2 of 2